@signalk/freeboard-sk 3.2.1 → 3.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +276 -276
- package/package.json +17 -14
- package/plugin/vitest.config.mjs +1 -0
- package/public/assets/features/anchor-watch-1.jpg +0 -0
- package/public/assets/features/anchor-watch-2.jpg +0 -0
- package/public/assets/features/anchor-watch-3.jpg +0 -0
- package/public/assets/features/bearing-distance-1.jpg +0 -0
- package/public/assets/features/collision-alarm-display-1.jpg +0 -0
- package/public/assets/features/collision-alarm-display-2.jpg +0 -0
- package/public/assets/features/extension-panels-3.jpg +0 -0
- package/public/assets/features/radar-guard-zones-1.jpg +0 -0
- package/public/assets/features/radar-guard-zones-2.jpg +0 -0
- package/public/assets/features/radar-overlay-2.jpg +0 -0
- package/public/assets/features/radar-overlay-3.jpg +0 -0
- package/public/assets/features/route-planning-3.jpg +0 -0
- package/public/assets/features/route-planning-4.jpg +0 -0
- package/public/assets/features-corpus.json +1 -1
- package/public/assets/help/index.html +56 -126
- package/public/assets/img/bearing-distance.svg +5 -0
- package/public/chunk-2MIQQV2V.js +1 -0
- package/public/{chunk-3HSIX7SC.js → chunk-45ZTFAA5.js} +1 -1
- package/public/chunk-5OVWWF5M.js +1 -0
- package/public/{chunk-3LS56QZI.js → chunk-62WHV6CJ.js} +11 -11
- package/public/{chunk-LNNAK44C.js → chunk-6E2BDKCH.js} +1 -1
- package/public/{chunk-VQDXDSU7.js → chunk-AQKT2J2C.js} +1 -1
- package/public/chunk-BXGNCKBA.js +1 -0
- package/public/{chunk-TWWDZIBY.js → chunk-FT544SHF.js} +1 -1
- package/public/{chunk-IUPTBCPS.js → chunk-HZKV2PFE.js} +1 -1
- package/public/chunk-I33LU6L4.js +1 -0
- package/public/{chunk-VAI3YHUS.js → chunk-ISXARX6U.js} +1 -1
- package/public/chunk-J6MIIPAV.js +1 -0
- package/public/{chunk-IAPJVEYW.js → chunk-MX5HWKAH.js} +1 -1
- package/public/{chunk-IQZW2T75.js → chunk-MYBGWSLC.js} +1 -1
- package/public/{chunk-7Z7GI4ZY.js → chunk-PAHYECKY.js} +1 -1
- package/public/{chunk-JWBOMKMB.js → chunk-PD55PKQG.js} +2 -2
- package/public/chunk-QDGLJETB.js +4170 -0
- package/public/chunk-QDLU24KL.js +1 -0
- package/public/{chunk-IWEZGJPC.js → chunk-R63U3Z2W.js} +1 -1
- package/public/{chunk-DBGL657U.js → chunk-RG7WQ7O2.js} +15 -15
- package/public/{chunk-NO274VZU.js → chunk-T7ZWMXKZ.js} +1 -1
- package/public/{chunk-XUGRUSQE.js → chunk-X6D4D6EN.js} +1 -1
- package/public/{chunk-DX34XOH2.js → chunk-YSHHABBQ.js} +1 -1
- package/public/{chunk-ZU72P2HZ.js → chunk-YZN4NRWW.js} +1 -1
- package/public/chunk-ZYTWCAFS.js +1 -0
- package/public/index.html +2 -2
- package/public/main-4CNNLPXH.js +468 -0
- package/public/{styles-YRQUZIIZ.css → styles-BRU77GKR.css} +1 -1
- package/public/worker-E75PSRY4.js +12 -0
- package/public/worker-PCWM7FLK.js +3 -0
- package/public/{worker-BFPH3XRP.js → worker-UJD2XPGR.js} +6 -6
- package/public/worker-W3UMLYIU.js +12 -0
- package/public/chunk-3HHS54E4.js +0 -1
- package/public/chunk-4GN5KO3L.js +0 -1
- package/public/chunk-5UXNTYSY.js +0 -4372
- package/public/chunk-HVGGQ65L.js +0 -1
- package/public/chunk-OS23ZF5N.js +0 -1
- package/public/chunk-PPBXI4I6.js +0 -1
- package/public/chunk-UBTZRPVO.js +0 -1
- package/public/chunk-YROCNGFN.js +0 -1
- package/public/main-BZXS6MPD.js +0 -468
- package/public/worker-5LIQ6F6U.js +0 -12
- package/public/worker-DYC3TMVW.js +0 -3
- package/public/worker-SUE26ZZI.js +0 -12
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import{a as E,b as U,g as vn}from"./chunk-NCEQPEJE.js";function Zr(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 em=Zr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function F(e){return typeof e=="function"}var Ks=Zr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
2
2
|
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function tr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var j=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(F(r))try{r()}catch(i){n=i instanceof Ks?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{tm(i)}catch(s){n=n??[],s instanceof Ks?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ks(n)}}add(n){var t;if(n&&n!==this)if(this.closed)tm(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)&&tr(t,n)}remove(n){let{_finalizers:t}=this;t&&tr(t,n),n instanceof e&&n._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var uu=j.EMPTY;function Xs(e){return e instanceof j||e&&"closed"in e&&F(e.remove)&&F(e.add)&&F(e.unsubscribe)}function tm(e){F(e)?e():e.unsubscribe()}var bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kr={setTimeout(e,n,...t){let{delegate:r}=Kr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Kr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Qs(e){Kr.setTimeout(()=>{let{onUnhandledError:n}=bt;if(n)n(e);else throw e})}function li(){}var nm=du("C",void 0,void 0);function rm(e){return du("E",void 0,e)}function om(e){return du("N",e,void 0)}function du(e,n,t){return{kind:e,value:n,error:t}}var nr=null;function Xr(e){if(bt.useDeprecatedSynchronousErrorHandling){let n=!nr;if(n&&(nr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=nr;if(nr=null,t)throw r}}else e()}function im(e){bt.useDeprecatedSynchronousErrorHandling&&nr&&(nr.errorThrown=!0,nr.error=e)}var rr=class extends j{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Xs(n)&&n.add(this)):this.destination=hC}static create(n,t,r){return new Dt(n,t,r)}next(n){this.isStopped?hu(om(n),this):this._next(n)}error(n){this.isStopped?hu(rm(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?hu(nm,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()}}},dC=Function.prototype.bind;function fu(e,n){return dC.call(e,n)}var pu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Js(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Js(r)}else Js(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Js(t)}}},Dt=class extends rr{constructor(n,t,r){super();let o;if(F(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&bt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&fu(n.next,i),error:n.error&&fu(n.error,i),complete:n.complete&&fu(n.complete,i)}):o=n}this.destination=new pu(o)}};function Js(e){bt.useDeprecatedSynchronousErrorHandling?im(e):Qs(e)}function fC(e){throw e}function hu(e,n){let{onStoppedNotification:t}=bt;t&&Kr.setTimeout(()=>t(e,n))}var hC={closed:!0,next:li,error:fC,complete:li};function pC(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Dt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new em)}});e.subscribe(i)})}var Qr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Et(e){return e}function sm(e){return e.length===0?Et:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var R=(()=>{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=gC(t)?t:new Dt(t,r,o);return Xr(()=>{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=am(r),new r((o,i)=>{let s=new Dt({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)}[Qr](){return this}pipe(...t){return sm(t)(this)}toPromise(t){return t=am(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 am(e){var n;return(n=e??bt.Promise)!==null&&n!==void 0?n:Promise}function mC(e){return e&&F(e.next)&&F(e.error)&&F(e.complete)}function gC(e){return e&&e instanceof rr||mC(e)&&Xs(e)}function mu(e){return F(e?.lift)}function L(e){return n=>{if(mu(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 P(e,n,t,r,o){return new ui(e,n,t,r,o)}var ui=class extends rr{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 cm(){return L((e,n)=>{let t=null;e._refCount++;let r=P(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 di=class extends R{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,mu(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 j;let t=this.getSubject();n.add(this.source.subscribe(P(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=j.EMPTY)}return n}refCount(){return cm()(this)}};var Jr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Jr;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new j(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Jr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Jr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var lm=Zr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var w=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ea(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new lm}next(t){Xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Xr(()=>{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(){Xr(()=>{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?uu:(this.currentObservers=null,i.push(t),new j(()=>{this.currentObservers=null,tr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new R;return t.source=this,t}}return e.create=(n,t)=>new ea(n,t),e})(),ea=class extends w{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:uu}};var or=class extends w{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 fi={now(){return(fi.delegate||Date).now()},delegate:void 0};var yn=class extends w{constructor(n=1/0,t=1/0,r=fi){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 gu=class extends w{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(n){let{hasError:t,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;t?n.error(i):(s||a)&&(r&&n.next(o),n.complete())}next(n){this.isStopped||(this._value=n,this._hasValue=!0)}complete(){let{_hasValue:n,_value:t,_isComplete:r}=this;r||(this._isComplete=!0,n&&super.next(t),super.complete())}};var ta=class extends j{constructor(n,t){super()}schedule(n,t=0){return this}};var hi={setInterval(e,n,...t){let{delegate:r}=hi;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=hi;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var _n=class extends ta{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 hi.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&&hi.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,tr(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var vC=1,vu,yu={};function um(e){return e in yu?(delete yu[e],!0):!1}var dm={setImmediate(e){let n=vC++;return yu[n]=!0,vu||(vu=Promise.resolve()),vu.then(()=>um(n)&&e()),n},clearImmediate(e){um(e)}};var{setImmediate:yC,clearImmediate:_C}=dm,pi={setImmediate(...e){let{delegate:n}=pi;return(n?.setImmediate||yC)(...e)},clearImmediate(e){let{delegate:n}=pi;return(n?.clearImmediate||_C)(e)},delegate:void 0};var na=class extends _n{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=pi.setImmediate(n.flush.bind(n,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&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(pi.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var eo=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)}};eo.now=fi.now;var bn=class extends eo{constructor(n,t=eo.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 ra=class extends bn{flush(n){this._active=!0;let 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 _u=new ra(na);var ir=new bn(_n),fm=ir;var oa=class extends _n{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=Jr.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&&(Jr.cancelAnimationFrame(t),n._scheduled=void 0)}};var ia=class extends bn{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 bu=new ia(oa);var mi=new R(e=>e.complete());function sa(e){return e&&F(e.schedule)}function Du(e){return e[e.length-1]}function aa(e){return F(Du(e))?e.pop():void 0}function Lt(e){return sa(Du(e))?e.pop():void 0}function hm(e,n){return typeof Du(e)=="number"?e.pop():n}function mm(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 pm(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 sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function gm(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(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(v){return new Promise(function(_,D){i.push([p,v,_,D])>1||c(p,v)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(v){h(i[0][3],v)}}function l(p){p.value instanceof sr?Promise.resolve(p.value.v).then(u,d):h(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function vm(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 pm=="function"?pm(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 ca=e=>e&&typeof e.length=="number"&&typeof e!="function";function la(e){return F(e?.then)}function ua(e){return F(e[Qr])}function da(e){return Symbol.asyncIterator&&F(e?.[Symbol.asyncIterator])}function fa(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 bC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ha=bC();function pa(e){return F(e?.[ha])}function ma(e){return gm(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield sr(t.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{t.releaseLock()}})}function ga(e){return F(e?.getReader)}function ee(e){if(e instanceof R)return e;if(e!=null){if(ua(e))return DC(e);if(ca(e))return EC(e);if(la(e))return CC(e);if(da(e))return ym(e);if(pa(e))return wC(e);if(ga(e))return IC(e)}throw fa(e)}function DC(e){return new R(n=>{let t=e[Qr]();if(F(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function EC(e){return new R(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function CC(e){return new R(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Qs)})}function wC(e){return new R(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function ym(e){return new R(n=>{SC(e,n).catch(t=>n.error(t))})}function IC(e){return ym(ma(e))}function SC(e,n){var t,r,o,i;return mm(this,void 0,void 0,function*(){try{for(t=vm(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 ze(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 va(e,n=0){return L((t,r)=>{t.subscribe(P(r,o=>ze(r,e,()=>r.next(o),n),()=>ze(r,e,()=>r.complete(),n),o=>ze(r,e,()=>r.error(o),n)))})}function ya(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function _m(e,n){return ee(e).pipe(ya(n),va(n))}function bm(e,n){return ee(e).pipe(ya(n),va(n))}function Dm(e,n){return new R(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Em(e,n){return new R(t=>{let r;return ze(t,n,()=>{r=e[ha](),ze(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)}),()=>F(r?.return)&&r.return()})}function _a(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{ze(t,n,()=>{let r=e[Symbol.asyncIterator]();ze(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Cm(e,n){return _a(ma(e),n)}function wm(e,n){if(e!=null){if(ua(e))return _m(e,n);if(ca(e))return Dm(e,n);if(la(e))return bm(e,n);if(da(e))return _a(e,n);if(pa(e))return Em(e,n);if(ga(e))return Cm(e,n)}throw fa(e)}function ct(e,n){return n?wm(e,n):ee(e)}function pe(...e){let n=Lt(e);return ct(e,n)}function Eu(e,n){let t=F(e)?e:()=>e,r=o=>o.error(t());return new R(n?o=>n.schedule(r,0,o):r)}function Zt(e){return!!e&&(e instanceof R||F(e.lift)&&F(e.subscribe))}function Im(e){return e instanceof Date&&!isNaN(e)}function Q(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:MC}=Array;function TC(e,n){return MC(n)?e(...n):e(n)}function ba(e){return Q(n=>TC(e,n))}var{isArray:xC}=Array,{getPrototypeOf:AC,prototype:NC,keys:RC}=Object;function Da(e){if(e.length===1){let n=e[0];if(xC(n))return{args:n,keys:null};if(OC(n)){let t=RC(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function OC(e){return e&&typeof e=="object"&&AC(e)===NC}function Ea(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Cu(...e){let n=Lt(e),t=aa(e),{args:r,keys:o}=Da(e);if(r.length===0)return ct([],n);let i=new R(kC(r,n,o?s=>Ea(o,s):Et));return t?i.pipe(ba(t)):i}function kC(e,n,t=Et){return r=>{Sm(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Sm(n,()=>{let l=ct(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Sm(e,n,t){e?ze(t,e,n):n()}function Mm(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let _=!1;ee(t(v,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let D=c.shift();s?ze(n,s,()=>m(D)):m(D)}h()}catch(D){n.error(D)}}))};return e.subscribe(P(n,p,()=>{d=!0,h()})),()=>{a?.()}}function to(e,n,t=1/0){return F(n)?to((r,o)=>Q((i,s)=>n(r,i,o,s))(ee(e(r,o))),t):(typeof n=="number"&&(t=n),L((r,o)=>Mm(r,o,e,t)))}function Ca(e=1/0){return to(Et,e)}function Tm(){return Ca(1)}function no(...e){return Tm()(ct(e,Lt(e)))}function gi(e){return new R(n=>{ee(e()).subscribe(n)})}function vi(...e){let n=aa(e),{args:t,keys:r}=Da(e),o=new R(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;ee(t[u]).subscribe(P(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ea(r,a):a),i.complete())}))}});return n?o.pipe(ba(n)):o}function yi(e=0,n,t=fm){let r=-1;return n!=null&&(sa(n)?t=n:r=n),new R(o=>{let i=Im(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 FC(e=0,n=ir){return e<0&&(e=0),yi(e,e,n)}function wu(...e){let n=Lt(e),t=hm(e,1/0),r=e;return r.length?r.length===1?ee(r[0]):Ca(t)(ct(r,n)):mi}function Ce(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function xm(e){return L((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(P(t,l=>{r=!0,o=l,i||ee(e(l)).subscribe(i=P(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function ro(e,n=ir){return xm(()=>yi(e,n))}function _i(e){return L((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=ee(e(s,_i(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Am(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(P(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 PC(e,n){return L(Am(e,n,arguments.length>=2,!1,!0))}function Iu(e,n){return F(n)?to(e,n,1):to(e,1)}function Dn(e,n=ir){return L((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(P(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 Ge(e){return e<=0?()=>mi:L((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function LC(e){return Q(()=>e)}function ar(e,n=Et){return e=e??VC,L((t,r)=>{let o,i=!0;t.subscribe(P(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function VC(e,n){return e===n}function oo(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function jC(e,n,t,r){return L((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:t,element:s,connector:r}=n;let a=new Map,c=m=>{a.forEach(m),m(i)},l=m=>c(v=>v.error(m)),u=0,d=!1,h=new ui(i,m=>{try{let v=e(m),_=a.get(v);if(!_){a.set(v,_=r?r():new w);let D=p(v,_);if(i.next(D),t){let k=P(_,()=>{_.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(v));h.add(ee(t(D)).subscribe(k))}}_.next(s?s(m):m)}catch(v){l(v)}},()=>c(m=>m.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(h);function p(m,v){let _=new R(D=>{u++;let k=v.subscribe(D);return()=>{k.unsubscribe(),--u===0&&d&&h.unsubscribe()}});return _.key=m,_}})}function Su(){return L((e,n)=>{let t,r=!1;e.subscribe(P(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function bi(e={}){let{connector:n=()=>new w,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let v=s;p(),v?.unsubscribe()};return L((v,_)=>{l++,!d&&!u&&h();let D=c=c??n();_.add(()=>{l--,l===0&&!d&&!u&&(a=Mu(m,o))}),D.subscribe(_),!s&&l>0&&(s=new Dt({next:k=>D.next(k),error:k=>{d=!0,h(),a=Mu(p,t,k),D.error(k)},complete:()=>{u=!0,h(),a=Mu(p,r),D.complete()}}),ee(v).subscribe(s))})(i)}}function Mu(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Dt({next:()=>{r.unsubscribe(),e()}});return ee(n(...t)).subscribe(r)}function Tu(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,bi({connector:()=>new yn(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Di(e){return Ce((n,t)=>e<=t)}function Vt(...e){let n=Lt(e);return L((t,r)=>{(n?no(e,t,n):no(e,t)).subscribe(r)})}function io(e,n){return L((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;ee(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kt(e){return L((n,t)=>{ee(e).subscribe(P(t,()=>t.complete(),li)),!t.closed&&n.subscribe(t)})}function xu(e,n=!1){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function En(e,n,t){let r=F(e)||n||t?{next:e,error:n,complete:t}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(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)}))}):Et}var Ne=null,wa=!1,Au=1,BC=null,me=Symbol("SIGNAL");function S(e){let n=Ne;return Ne=e,n}function Ia(){return Ne}var Cn={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 wn(e){if(wa)throw new Error("");if(Ne===null)return;Ne.consumerOnSignalRead(e);let n=Ne.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=Ne.recomputing;if(r&&(t=n!==void 0?n.nextProducer:Ne.producers,t!==void 0&&t.producer===e)){Ne.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ne&&(!r||UC(o,Ne)))return;let i=co(Ne),s={producer:e,consumer:Ne,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ne.producersTail=s,n!==void 0?n.nextProducer=s:Ne.producers=s,i&&km(e,s)}function Nm(){Au++}function ur(e){if(!(co(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Au)){if(!e.producerMustRecompute(e)&&!ao(e)){so(e);return}e.producerRecomputeValue(e),so(e)}}function Nu(e){if(e.consumers===void 0)return;let n=wa;wa=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||HC(r)}}finally{wa=n}}function Ru(){return Ne?.consumerAllowSignalWrites!==!1}function HC(e){e.dirty=!0,Nu(e),e.consumerMarkedDirty?.(e)}function so(e){e.dirty=!1,e.lastCleanEpoch=Au}function Xt(e){return e&&Rm(e),S(e)}function Rm(e){e.producersTail=void 0,e.recomputing=!0}function In(e,n){S(n),e&&Om(e)}function Om(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(co(e))do t=Ou(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function ao(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(ur(t),r!==t.version))return!0}return!1}function Sn(e){if(co(e)){let n=e.producers;for(;n!==void 0;)n=Ou(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function km(e,n){let t=e.consumersTail,r=co(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)km(o.producer,o)}function Ou(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,!co(n)){let i=n.producers;for(;i!==void 0;)i=Ou(i)}return t}function co(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ei(e){BC?.(e)}function UC(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 Ci(e,n){return Object.is(e,n)}function wi(e,n){let t=Object.create($C);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(ur(t),wn(t),t.value===jt)throw t.error;return t.value};return r[me]=t,Ei(t),r}var cr=Symbol("UNSET"),lr=Symbol("COMPUTING"),jt=Symbol("ERRORED"),$C=U(E({},Cn),{value:cr,dirty:!0,error:null,equal:Ci,kind:"computed",producerMustRecompute(e){return e.value===cr||e.value===lr},producerRecomputeValue(e){if(e.value===lr)throw new Error("");let n=e.value;e.value=lr;let t=Xt(e),r,o=!1;try{r=e.computation(),S(null),o=n!==cr&&n!==jt&&r!==jt&&e.equal(n,r)}catch(i){r=jt,e.error=i}finally{In(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function zC(){throw new Error}var Fm=zC;function Pm(e){Fm(e)}function ku(e){Fm=e}var GC=null;function Fu(e,n){let t=Object.create(Ii);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Lm(t);return r[me]=t,Ei(t),[r,s=>dr(t,s),s=>Sa(t,s)]}function Lm(e){return wn(e),e.value}function dr(e,n){Ru()||Pm(e),e.equal(e.value,n)||(e.value=n,WC(e))}function Sa(e,n){Ru()||Pm(e),dr(e,n(e.value))}var Ii=U(E({},Cn),{equal:Ci,value:void 0,kind:"signal"});function WC(e){e.version++,Nm(),Nu(e),GC?.(e)}var Pu=U(E({},Cn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Lu(e){if(e.dirty=!1,e.version>0&&!ao(e))return;e.version++;let n=Xt(e);try{e.cleanup(),e.fn()}finally{In(e,n)}}var Vu;function Ma(){return Vu}function Bt(e){let n=Vu;return Vu=e,n}var Vm=Symbol("NotFound");function lo(e){return e===Vm||e?.name==="\u0275NotFound"}function ju(e,n,t){let r=Object.create(qC);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(ur(r),wn(r),r.value===jt)throw r.error;return r.value};return i[me]=r,Ei(r),i}function jm(e,n){ur(e),dr(e,n),so(e)}function Bm(e,n){if(ur(e),e.value===jt)throw e.error;Sa(e,n),so(e)}var qC=U(E({},Cn),{value:cr,dirty:!0,error:null,equal:Ci,kind:"linkedSignal",producerMustRecompute(e){return e.value===cr||e.value===lr},producerRecomputeValue(e){if(e.value===lr)throw new Error("");let n=e.value;e.value=lr;let t=Xt(e),r,o=!1;try{let i=e.source(),s=n!==cr&&n!==jt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,S(null),o=s&&r!==jt&&e.equal(n,r)}catch(i){r=jt,e.error=i}finally{In(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Hm(e){let n=S(null);try{return e()}finally{S(n)}}var Fa="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,t){super(Nn(n,t)),this.code=n}};function YC(e){return`NG0${Math.abs(e)}`}function Nn(e,n){return`${YC(e)}${n?": "+n:""}`}var lt=globalThis;function ne(e){for(let n in e)if(e[n]===ne)return n;throw Error("")}function Wm(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pa(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Pa).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 La(e,n){return e?n?`${e} ${n}`:e:n||""}var ZC=ne({__forward_ref__:ne});function Te(e){return e.__forward_ref__=Te,e}function we(e){return Qu(e)?e():e}function Qu(e){return typeof e=="function"&&e.hasOwnProperty(ZC)&&e.__forward_ref__===Te}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function G(e){return{providers:e.providers||[],imports:e.imports||[]}}function Va(e){return KC(e,ja)}function KC(e,n){return e.hasOwnProperty(n)&&e[n]||null}function XC(e){let n=e?.[ja]??null;return n||null}function Hu(e){return e&&e.hasOwnProperty(Aa)?e[Aa]:null}var ja=ne({\u0275prov:ne}),Aa=ne({\u0275inj:ne}),g=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=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ju(e){return e&&!!e.\u0275providers}var Oi=ne({\u0275cmp:ne}),ki=ne({\u0275dir:ne}),ed=ne({\u0275pipe:ne});var Mi=ne({\u0275fac:ne}),gr=ne({__NG_ELEMENT_ID__:ne}),Um=ne({__NG_ENV_ID__:ne});function Jt(e){return nd(e,"@Component"),e[Oi]||null}function Fi(e){return nd(e,"@Directive"),e[ki]||null}function td(e){return nd(e,"@Pipe"),e[ed]||null}function nd(e,n){if(e==null)throw new b(-919,!1)}function vr(e){return typeof e=="string"?e:e==null?"":String(e)}var qm=ne({ngErrorCode:ne}),QC=ne({ngErrorMessage:ne}),JC=ne({ngTokenPath:ne});function rd(e,n){return Ym("",-200,n)}function Ba(e,n){throw new b(-201,!1)}function Ym(e,n,t){let r=new b(n,e);return r[qm]=n,r[QC]=e,t&&(r[JC]=t),r}function ew(e){return e[qm]}var Uu;function Zm(){return Uu}function Le(e){let n=Uu;return Uu=e,n}function od(e,n,t){let r=Va(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;Ba(e,"")}var tw={},fr=tw,nw="__NG_DI_FLAG__",$u=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=hr(t)||0;try{return this.injector.get(n,r&8?null:fr,r)}catch(o){if(lo(o))return o;throw o}}};function rw(e,n=0){let t=Ma();if(t===void 0)throw new b(-203,!1);if(t===null)return od(e,void 0,n);{let r=ow(n),o=t.retrieve(e,r);if(lo(o)){if(r.optional)return null;throw o}return o}}function T(e,n=0){return(Zm()||rw)(we(e),n)}function f(e,n){return T(e,hr(n))}function hr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ow(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function zu(e){let n=[];for(let t=0;t<e.length;t++){let r=we(e[t]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=iw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(T(o,i))}else n.push(T(r))}return n}function iw(e){return e[nw]}function Tn(e,n){let t=e.hasOwnProperty(Mi);return t?e[Mi]:null}function Km(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 Xm(e){return e.flat(Number.POSITIVE_INFINITY)}function Ha(e,n){e.forEach(t=>Array.isArray(t)?Ha(t,n):n(t))}function id(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Pi(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Qm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Jm(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 Li(e,n,t){let r=fo(e,n);return r>=0?e[r|1]=t:(r=~r,Jm(e,r,n,t)),r}function Ua(e,n){let t=fo(e,n);if(t>=0)return e[t|1]}function fo(e,n){return sw(e,n,1)}function sw(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 wt={},Re=[],Rn=new g(""),sd=new g("",-1),ad=new g(""),Ti=class{get(n,t=fr){if(t===fr){let o=Ym("",-201);throw o.name="\u0275NotFound",o}return t}};function ho(e){return{\u0275providers:e}}function eg(...e){return{\u0275providers:$a(!0,e),\u0275fromNgModule:!0}}function $a(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Ha(n,s=>{let a=s;Na(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&tg(o,i),t}function tg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];cd(o,i=>{n(i,r)})}}function Na(e,n,t,r){if(e=we(e),!e)return!1;let o=null,i=Hu(e),s=!i&&Jt(e);if(!i&&!s){let c=e.ngModule;if(i=Hu(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)Na(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Ha(i.imports,u=>{Na(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&tg(l,n)}if(!a){let l=Tn(o)||(()=>new o);n({provide:o,useFactory:l,deps:Re},o),n({provide:ad,useValue:o,multi:!0},o),n({provide:Rn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;cd(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function cd(e,n){for(let t of e)Ju(t)&&(t=t.\u0275providers),Array.isArray(t)?cd(t,n):n(t)}var aw=ne({provide:String,useValue:ne});function ng(e){return e!==null&&typeof e=="object"&&aw in e}function cw(e){return!!(e&&e.useExisting)}function lw(e){return!!(e&&e.useFactory)}function pr(e){return typeof e=="function"}function rg(e){return!!e.useClass}var Vi=new g(""),Ta={},$m={},Bu;function po(){return Bu===void 0&&(Bu=new Ti),Bu}var de=class{},mr=class extends de{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,Wu(n,s=>this.processProvider(s)),this.records.set(sd,uo(void 0,this)),o.has("environment")&&this.records.set(de,uo(void 0,this));let i=this.records.get(Vi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ad,Re,{self:!0}))}retrieve(n,t){let r=hr(t)||0;try{return this.get(n,fr,r)}catch(o){if(lo(o))return o;throw o}}destroy(){Si(this),this._destroyed=!0;let n=S(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(),S(n)}}onDestroy(n){return Si(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Si(this);let t=Bt(this),r=Le(void 0),o;try{return n()}finally{Bt(t),Le(r)}}get(n,t=fr,r){if(Si(this),n.hasOwnProperty(Um))return n[Um](this);let o=hr(r),i,s=Bt(this),a=Le(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=pw(n)&&Va(n);u&&this.injectableDefInScope(u)?l=uo(Gu(n),Ta):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===fr?null:t,c.get(n,t)}catch(c){let l=ew(c);throw l===-200||l===-201?new b(l,null):c}finally{Le(a),Bt(s)}}resolveInjectorInitializers(){let n=S(null),t=Bt(this),r=Le(void 0),o;try{let i=this.get(Rn,Re,{self:!0});for(let s of i)s()}finally{Bt(t),Le(r),S(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=we(n);let t=pr(n)?n:we(n&&n.provide),r=dw(n);if(!pr(n)&&n.multi===!0){let o=this.records.get(t);o||(o=uo(void 0,Ta,!0),o.factory=()=>zu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=S(null);try{if(t.value===$m)throw rd("");return t.value===Ta&&(t.value=$m,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&hw(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{S(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=we(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 Gu(e){let n=Va(e),t=n!==null?n.factory:Tn(e);if(t!==null)return t;if(e instanceof g)throw new b(-204,!1);if(e instanceof Function)return uw(e);throw new b(-204,!1)}function uw(e){if(e.length>0)throw new b(-204,!1);let t=XC(e);return t!==null?()=>t.factory(e):()=>new e}function dw(e){if(ng(e))return uo(void 0,e.useValue);{let n=ld(e);return uo(n,Ta)}}function ld(e,n,t){let r;if(pr(e)){let o=we(e);return Tn(o)||Gu(o)}else if(ng(e))r=()=>we(e.useValue);else if(lw(e))r=()=>e.useFactory(...zu(e.deps||[]));else if(cw(e))r=(o,i)=>T(we(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=we(e&&(e.useClass||e.provide));if(fw(e))r=()=>new o(...zu(e.deps));else return Tn(o)||Gu(o)}return r}function Si(e){if(e.destroyed)throw new b(-205,!1)}function uo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function fw(e){return!!e.deps}function hw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function pw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wu(e,n){for(let t of e)Array.isArray(t)?Wu(t,n):t&&Ju(t)?Wu(t.\u0275providers,n):n(t)}function mo(e,n){let t;e instanceof mr?(Si(e),t=e):t=new $u(e);let r,o=Bt(t),i=Le(void 0);try{return n()}finally{Bt(o),Le(i)}}function og(){return Zm()!==void 0||Ma()!=null}var It=0,I=1,A=2,_e=3,ut=4,Ve=5,yr=6,go=7,ge=8,je=9,St=10,te=11,vo=12,ud=13,_r=14,Be=15,On=16,br=17,Ht=18,en=19,dd=20,Qt=21,za=22,xn=23,et=24,Dr=25,kn=26,X=27,ig=1,Fn=6,Pn=7,ji=8,Er=9,fe=10;function tn(e){return Array.isArray(e)&&typeof e[ig]=="object"}function Mt(e){return Array.isArray(e)&&e[ig]===!0}function fd(e){return(e.flags&4)!==0}function Ut(e){return e.componentOffset>-1}function yo(e){return(e.flags&1)===1}function Tt(e){return!!e.template}function _o(e){return(e[A]&512)!==0}function Ln(e){return(e[A]&256)===256}var K=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(K||{}),xa,xi="svg",hd="math";function sg(){return xa||(xa={},Mn(K.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Mn(K.STYLE,void 0,[["*",["style"]]]),Mn(K.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Mn(K.URL,hd,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Mn(K.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Mn(K.URL,xi,[["a",["href","xlink:href"]]]),Mn(K.ATTRIBUTE_NO_BINDING,xi,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Mn(K.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),xa}function Mn(e,n,t){for(let[r,o]of t){let i=n&&r!=="unknown"?`:${n}:${r}`:r;i=i.toLowerCase();for(let s of o)xa[`${i}|${s.toLowerCase()}`]=e}}function ag(e,n,t){let r=sg(),o=e.toLowerCase(),i=n.toLowerCase(),s=t&&o!=="*"&&o!=="unknown"?r[`:${t}:${o}|${i}`]:void 0,a=t?r[`:${t}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??K.NONE}function dt(e){for(;Array.isArray(e);)e=e[It];return e}function pd(e,n){return dt(n[e])}function tt(e,n){return dt(n[e.index])}function bo(e,n){return e.data[n]}function Do(e,n){return e[n]}function Bi(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function ft(e,n){let t=n[e];return tn(t)?t:t[It]}function cg(e){return(e[A]&4)===4}function Ga(e){return(e[A]&128)===128}function lg(e){return Mt(e[_e])}function nt(e,n){return n==null?null:e[n]}function md(e){e[br]=0}function gd(e){e[A]&1024||(e[A]|=1024,Ga(e)&&Cr(e))}function ug(e,n){for(;e>0;)n=n[_r],e--;return n}function Hi(e){return!!(e[A]&9216||e[et]?.dirty)}function Wa(e){e[St].changeDetectionScheduler?.notify(8),e[A]&64&&(e[A]|=1024),Hi(e)&&Cr(e)}function Cr(e){e[St].changeDetectionScheduler?.notify(0);let n=An(e);for(;n!==null&&!(n[A]&8192||(n[A]|=8192,!Ga(n)));)n=An(n)}function qa(e,n){if(Ln(e))throw new b(911,!1);e[Qt]===null&&(e[Qt]=[]),e[Qt].push(n)}function vd(e,n){if(e[Qt]===null)return;let t=e[Qt].indexOf(n);t!==-1&&e[Qt].splice(t,1)}function An(e){let n=e[_e];return Mt(n)?n[_e]:n}function yd(e){return e[go]??=[]}function _d(e){return e.cleanup??=[]}function dg(e,n,t,r){let o=yd(n);o.push(t),e.firstCreatePass&&_d(e).push(r,o.length-1)}var V={lFrame:wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qu=!1;function fg(){return V.lFrame.elementDepthCount}function hg(){V.lFrame.elementDepthCount++}function bd(){V.lFrame.elementDepthCount--}function Ya(){return V.bindingsEnabled}function Dd(){return V.skipHydrationRootTNode!==null}function Ed(e){return V.skipHydrationRootTNode===e}function Cd(){V.skipHydrationRootTNode=null}function C(){return V.lFrame.lView}function J(){return V.lFrame.tView}function pg(e){return V.lFrame.contextLView=e,e[ge]}function mg(e){return V.lFrame.contextLView=null,e}function he(){let e=wd();for(;e!==null&&e.type===64;)e=e.parent;return e}function wd(){return V.lFrame.currentTNode}function gg(){let e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function wr(e,n){let t=V.lFrame;t.currentTNode=e,t.isParent=n}function Id(){return V.lFrame.isParent}function Sd(){V.lFrame.isParent=!1}function Md(){return V.lFrame.contextLView}function Td(){return qu}function Ai(e){let n=qu;return qu=e,n}function $t(){let e=V.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function vg(){return V.lFrame.bindingIndex}function yg(e){return V.lFrame.bindingIndex=e}function nn(){return V.lFrame.bindingIndex++}function Za(e){let n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function _g(){return V.lFrame.inI18n}function bg(e,n){let t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ka(n)}function Dg(){return V.lFrame.currentDirectiveIndex}function Ka(e){V.lFrame.currentDirectiveIndex=e}function Eg(e){let n=V.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Xa(){return V.lFrame.currentQueryIndex}function Ui(e){V.lFrame.currentQueryIndex=e}function mw(e){let n=e[I];return n.type===2?n.declTNode:n.type===1?e[Ve]:null}function xd(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=mw(i),o===null||(i=i[_r],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=V.lFrame=Cg();return r.currentTNode=n,r.lView=e,!0}function Qa(e){let n=Cg(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Cg(){let e=V.lFrame,n=e===null?null:e.child;return n===null?wg(e):n}function wg(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 Ig(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ad=Ig;function Ja(){let e=Ig();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 Sg(e){return(V.lFrame.contextLView=ug(e,V.lFrame.contextLView))[ge]}function ht(){return V.lFrame.selectedIndex}function Vn(e){V.lFrame.selectedIndex=e}function Ir(){let e=V.lFrame;return bo(e.tView,e.selectedIndex)}function Mg(){V.lFrame.currentNamespace=xi}function Tg(){gw()}function gw(){V.lFrame.currentNamespace=null}function Nd(){return V.lFrame.currentNamespace}var xg=!0;function ec(){return xg}function $i(e){xg=e}function Yu(e,n=null,t=null,r){let o=Ag(e,n,t,r);return o.resolveInjectorInitializers(),o}function Ag(e,n=null,t=null,r,o=new Set){let i=[t||Re,eg(e)],s;return new mr(i,n||po(),s||null,o)}var O=class e{static THROW_IF_NOT_FOUND=fr;static NULL=new Ti;static create(n,t){if(Array.isArray(n))return Yu({name:""},t,n,"");{let r=n.name??"";return Yu({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>T(sd)});static __NG_ELEMENT_ID__=-1},x=new g(""),We=(()=>{class e{static __NG_ELEMENT_ID__=vw;static __NG_ENV_ID__=t=>t}return e})(),Ra=class extends We{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Ln(this._lView)}onDestroy(n){let t=this._lView;return qa(t,n),()=>vd(t,n)}};function vw(){return new Ra(C())}var Rd=!1,Ng=new g(""),jn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new or(!1);debugTaskTracker=f(Ng,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(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),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(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=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zu=class extends w{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,og()&&(this.destroyRef=f(We,{optional:!0})??void 0,this.pendingTasks=f(jn,{optional:!0})??void 0)}emit(n){let t=S(null);try{super.next(n)}finally{S(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 j&&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)}})}}},$=Zu;function Oa(...e){}function Od(e){let n,t;function r(){e=Oa;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Rg(e){return queueMicrotask(()=>e()),()=>{e=Oa}}var kd="isAngularZone",Ni=kd+"_ID",yw=0,M=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Rd}=n;if(typeof Zone>"u")throw new b(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,Dw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(kd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,_w,Oa,Oa);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)}},_w={};function Fd(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 bw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Od(()=>{e.callbackScheduled=!1,Ku(e),e.isCheckStableRunning=!0,Fd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Ku(e)}function Dw(e){let n=()=>{bw(e)},t=yw++;e._inner=e._inner.fork({name:"angular",properties:{[kd]:!0,[Ni]:t,[Ni+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ew(c))return r.invokeTask(i,s,a,c);try{return zm(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Gm(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return zm(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Cw(c)&&n(),Gm(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ku(e),Fd(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 Ku(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function zm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gm(e){e._nesting--,Fd(e)}var Ri=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;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 Ew(e){return Og(e,"__ignore_ng_zone__")}function Cw(e){return Og(e,"__scheduler_tick__")}function Og(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Oe=class{_console=console;handleError(n){this._console.error("ERROR",n)}},rn=new g("",{factory:()=>{let e=f(M),n=f(de),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Oe),t.handleError(r))})}}}),kg={provide:Rn,useValue:()=>{let e=f(Oe,{optional:!0})},multi:!0};function ae(e,n){let[t,r,o]=Fu(e,n?.equal),i=t,s=i[me];return i.set=r,i.update=o,i.asReadonly=zi.bind(i),i}function zi(){let e=this[me];if(e.readonlyFn===void 0){let n=()=>this();n[me]=e,e.readonlyFn=n}return e.readonlyFn}var Eo=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=ww}return e})();function ww(){return new Eo(C(),he())}var Ct=class{},Co=new g("",{factory:()=>!0});var tc=new g(""),Bn=(()=>{class e{internalPendingTasks=f(jn);scheduler=f(Ct);errorHandler=f(rn);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=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),nc=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new Xu})}return e})(),Xu=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}},ka=class{[me];constructor(n){this[me]=n}destroy(){this[me].destroy()}};function Sr(e,n){let t=n?.injector??f(O),r=n?.manualCleanup!==!0?t.get(We):null,o,i=t.get(Eo,null,{optional:!0}),s=t.get(Ct);return i!==null?(o=Mw(i.view,s,e),r instanceof Ra&&r._lView===i.view&&(r=null)):o=Tw(e,t.get(nc),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ka(o)}var Fg=U(E({},Pu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Ai(!1);try{Lu(this)}finally{Ai(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(e)}}}),Iw=U(E({},Fg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Sw=U(E({},Fg),{consumerMarkedDirty(){this.view[A]|=8192,Cr(this.view),this.notifier.notify(13)},destroy(){if(Sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[xn]?.delete(this)}});function Mw(e,n,t){let r=Object.create(Sw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Pg(r,t),e[xn]??=new Set,e[xn].add(r),r.consumerMarkedDirty(r),r}function Tw(e,n,t){let r=Object.create(Iw);return r.fn=Pg(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Pg(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function ts(e){return{toString:e}.toString()}function Lw(e){return typeof e=="function"}function Mv(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var hc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},He=(()=>{let e=()=>Tv;return e.ngInherit=!0,e})();function Tv(e){return e.type.prototype.ngOnChanges&&(e.setInput=jw),Vw}function Vw(){let e=Av(this),n=e?.current;if(n){let t=e.previous;if(t===wt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function jw(e,n,t,r,o){let i=this.declaredInputs[r],s=Av(e)||Bw(e,{previous:wt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new hc(l&&l.currentValue,t,c===wt),Mv(e,n,o,t)}var xv="__ngSimpleChanges__";function Av(e){return e[xv]||null}function Bw(e,n){return e[xv]=n}var Lg=[];var Y=function(e,n=null,t){for(let r=0;r<Lg.length;r++){let o=Lg[r];o(e,n,t)}},z=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(z||{});function Hw(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Tv(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 Nv(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 ac(e,n,t){Rv(e,n,3,t)}function cc(e,n,t,r){(e[A]&3)===t&&Rv(e,n,t,r)}function Pd(e,n){let t=e[A];(t&3)===n&&(t&=16383,t+=1,e[A]=t)}function Rv(e,n,t,r){let o=r!==void 0?e[br]&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[br]+=65536),(a<i||i==-1)&&(Uw(e,t,n,c),e[br]=(e[br]&4294901760)+c+2),c++}function Vg(e,n){Y(z.LifecycleHookStart,e,n);let t=S(null);try{n.call(e)}finally{S(t),Y(z.LifecycleHookEnd,e,n)}}function Uw(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[A]>>14<e[br]>>16&&(e[A]&3)===n&&(e[A]+=16384,Vg(a,i)):Vg(a,i)}var Io=-1,Tr=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 $w(e){return(e.flags&8)!==0}function zw(e){return(e.flags&16)!==0}function Gw(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];Ww(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Ov(e){return e===3||e===4||e===6}function Ww(e){return e.charCodeAt(0)===64}function Mo(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?jg(e,t,o,null,n[++r]):jg(e,t,o,null,null))}}return e}function jg(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 kv(e){return e!==Io}function pc(e){return e&32767}function qw(e){return e>>16}function mc(e,n){let t=qw(e),r=n;for(;t>0;)r=r[_r],t--;return r}var Zd=!0;function gc(e){let n=Zd;return Zd=e,n}var Yw=256,Fv=Yw-1,Pv=5,Zw=0,zt={};function Kw(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(gr)&&(r=t[gr]),r==null&&(r=t[gr]=Zw++);let o=r&Fv,i=1<<o;n.data[e+(o>>Pv)]|=i}function vc(e,n){let t=Lv(e,n);if(t!==-1)return t;let r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Ld(r.data,e),Ld(n,null),Ld(r.blueprint,null));let o=kf(e,n),i=e.injectorIndex;if(kv(o)){let s=pc(o),a=mc(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Ld(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Lv(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function kf(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=Uv(o),r===null)return Io;if(t++,o=o[_r],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Io}function Kd(e,n,t){Kw(e,n,t)}function Xw(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(Ov(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 Vv(e,n,t){if(t&8||e!==void 0)return e;Ba(n,"NodeInjector")}function jv(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[je],i=Le(void 0);try{return o?o.get(n,r,t&8):od(n,r,t&8)}finally{Le(i)}}return Vv(r,n,t)}function Bv(e,n,t,r=0,o){if(e!==null){if(n[A]&2048&&!(r&2)){let s=tI(e,n,t,r,zt);if(s!==zt)return s}let i=Hv(e,n,t,r,zt);if(i!==zt)return i}return jv(n,t,r,o)}function Hv(e,n,t,r,o){let i=Jw(t);if(typeof i=="function"){if(!xd(n,e,r))return r&1?Vv(o,t,r):jv(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ba(t);else return s}finally{Ad()}}else if(typeof i=="number"){let s=null,a=Lv(e,n),c=Io,l=r&1?n[Be][Ve]:null;for((a===-1||r&4)&&(c=a===-1?kf(e,n):n[a+8],c===Io||!Hg(r,!1)?a=-1:(s=n[I],a=pc(c),n=mc(c,n)));a!==-1;){let u=n[I];if(Bg(i,a,u.data)){let d=Qw(a,n,t,s,r,l);if(d!==zt)return d}c=n[a+8],c!==Io&&Hg(r,n[I].data[a+8]===l)&&Bg(i,a,n)?(s=u,a=pc(c),n=mc(c,n)):a=-1}}return o}function Qw(e,n,t,r,o,i){let s=n[I],a=s.data[e+8],c=r==null?Ut(a)&&Zd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=lc(a,s,t,c,l);return u!==null?Zi(n,s,u,a,o):zt}function lc(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,h=o?a+u:l;for(let p=d;p<h;p++){let m=s[p];if(p<c&&t===m||p>=c&&m.type===t)return p}if(o){let p=s[c];if(p&&Tt(p)&&p.type===t)return c}return null}function Zi(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Tr){let a=i;if(a.resolving)throw rd("");let c=gc(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Le(a.injectImpl):null,h=xd(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Hw(t,s[t],n)}finally{d!==null&&Le(d),gc(c),a.resolving=!1,Ad()}}return i}function Jw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(gr)?e[gr]:void 0;return typeof n=="number"?n>=0?n&Fv:eI:n}function Bg(e,n,t){let r=1<<e;return!!(t[n+(e>>Pv)]&r)}function Hg(e,n){return!(e&2)&&!(e&1&&n)}var Mr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Bv(this._tNode,this._lView,n,hr(r),t)}};function eI(){return new Mr(he(),C())}function xe(e){return ts(()=>{let n=e.prototype.constructor,t=n[Mi]||Xd(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mi]||Xd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xd(e){return Qu(e)?()=>{let n=Xd(we(e));return n&&n()}:Tn(e)}function tI(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[A]&2048&&!_o(s);){let a=Hv(i,s,t,r|2,zt);if(a!==zt)return a;let c=i.parent;if(!c){let l=s[dd];if(l){let u=l.get(t,zt,r&-5);if(u!==zt)return u}c=Uv(s),s=s[_r]}i=c}return o}function Uv(e){let n=e[I],t=n.type;return t===2?n.declTNode:t===1?e[Ve]:null}function Ff(e){return Xw(he(),e)}function nI(){return ko(he(),C())}function ko(e,n){return new B(tt(e,n))}var B=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=nI}return e})();function $v(e){return e instanceof B?e.nativeElement:e}function rI(){return this._results[Symbol.iterator]()}var on=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 w}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=Xm(n);(this._changesDetected=!Km(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]=rI};function zv(e){return(e.flags&128)===128}var Pf=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Pf||{}),Gv=new Map,oI=0;function iI(){return oI++}function sI(e){Gv.set(e[en],e)}function Qd(e){Gv.delete(e[en])}var Ug="__ngContext__";function To(e,n){tn(n)?(e[Ug]=n[en],sI(n)):e[Ug]=n}function Wv(e){return Yv(e[vo])}function qv(e){return Yv(e[ut])}function Yv(e){for(;e!==null&&!Mt(e);)e=e[ut];return e}var Jd;function Lf(e){Jd=e}function Zv(){if(Jd!==void 0)return Jd;if(typeof document<"u")return document;throw new b(210,!1)}var zn=new g("",{factory:()=>aI}),aI="ng";var Sc=new g(""),Or=new g("",{providedIn:"platform",factory:()=>"unknown"}),ns=new g(""),kr=new g("",{factory:()=>f(x).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kv="r";var Vf="di",jf="s";var Xv=!1,Qv=new g("",{factory:()=>Xv});var Jv=new g("");var $g=new WeakMap;function cI(e,n){if(e==null||typeof e!="object")return;let t=$g.get(e);t||(t=new WeakSet,$g.set(e,t)),t.add(n)}var lI=(e,n,t,r)=>{};function uI(e,n,t,r){lI(e,n,t,r)}var ey=new g("");function Mc(e){return(e.flags&32)===32}var dI=()=>null;function ty(e,n,t=!1){return dI(e,n,t)}function Bf(e){return e.get(Jv,!1,{optional:!0})}function ny(e,n){let t=e.contentQueries;if(t!==null){let r=S(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];Ui(i),a.contentQueries(2,n[s],s)}}}finally{S(r)}}}function ef(e,n,t){Ui(0);let r=S(null);try{n(e,t)}finally{S(r)}}function Hf(e,n,t){if(fd(n)){let r=S(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{S(r)}}}var At=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(At||{});var fI="svg",hI="math",pI={"http://www.w3.org/2000/svg":fI,"http://www.w3.org/1998/Math/MathML":hI},rc;function mI(){if(rc===void 0&&(rc=null,lt.trustedTypes))try{rc=lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return rc}function Tc(e){return mI()?.createHTML(e)||e}var oc;function ry(){if(oc===void 0&&(oc=null,lt.trustedTypes))try{oc=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return oc}function zg(e){return ry()?.createHTML(e)||e}function Gg(e){return ry()?.createScriptURL(e)||e}var sn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fa})`}},tf=class extends sn{getTypeName(){return"HTML"}},nf=class extends sn{getTypeName(){return"Style"}},rf=class extends sn{getTypeName(){return"Script"}},of=class extends sn{getTypeName(){return"URL"}},sf=class extends sn{getTypeName(){return"ResourceURL"}};function rt(e){return e instanceof sn?e.changingThisBreaksApplicationSecurity:e}function Wt(e,n){let t=oy(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Fa})`)}return t===n}function oy(e){return e instanceof sn&&e.getTypeName()||null}function Uf(e){return new tf(e)}function $f(e){return new nf(e)}function zf(e){return new rf(e)}function Gf(e){return new of(e)}function Wf(e){return new sf(e)}function gI(e){let n=new cf(e);return vI()?new af(n):n}var af=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Tc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},cf=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=Tc(n),t}};function vI(){try{return!!new window.DOMParser().parseFromString(Tc(""),"text/html")}catch(e){return!1}}var yI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rs(e){return e=String(e),e.match(yI)?e:"unsafe:"+e}function an(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function os(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var iy=an("area,br,col,hr,img,wbr"),sy=an("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ay=an("rp,rt"),_I=os(ay,sy),bI=os(sy,an("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")),DI=os(ay,an("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")),Wg=os(iy,bI,DI,_I),cy=an("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),EI=an("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"),CI=an("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"),wI=os(cy,EI,CI),II=an("script,style,template"),lf=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=TI(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=MI(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=qg(n).toLowerCase();if(!Wg.hasOwnProperty(t))return this.sanitizedSomething=!0,!II.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(!wI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;cy[a]&&(c=rs(c)),this.buf.push(" ",s,'="',Yg(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=qg(n).toLowerCase();Wg.hasOwnProperty(t)&&!iy.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Yg(n))}};function SI(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function MI(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw ly(n);return n}function TI(e){let n=e.firstChild;if(n&&SI(e,n))throw ly(n);return n}function qg(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function ly(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var xI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,AI=/([^\#-~ |!])/g;function Yg(e){return e.replace(/&/g,"&").replace(xI,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(AI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ic;function xc(e,n){let t=null;try{ic=ic||gI(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 lf().sanitizeChildren(Zg(t)||t);return Tc(a)}finally{if(t){let r=Zg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Zg(e){return"content"in e&&NI(e)?e.content:null}function NI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var RI=/^>|^->|<!--|-->|--!>|<!-$/g,OI=/(<|>)/g,kI="\u200B$1\u200B";function FI(e){return e.replace(RI,n=>n.replace(OI,kI))}function PI(e,n){return e.createText(n)}function LI(e,n,t){e.setValue(n,t)}function VI(e,n){return e.createComment(FI(n))}function uy(e,n,t){return e.createElement(n,t)}function yc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function dy(e,n,t){e.appendChild(n,t)}function Kg(e,n,t,r,o){r!==null?yc(e,n,t,r,o):dy(e,n,t)}function fy(e,n,t,r){e.removeChild(null,n,t,r)}function jI(e,n,t){e.setAttribute(n,"style",t)}function BI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function hy(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&Gw(e,n,r),o!==null&&BI(e,n,o),i!==null&&jI(e,n,i)}function HI(e,n=!0){if(e[0]!=":")return[null,e];let t=e.indexOf(":",1);if(t===-1){if(n)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,t),e.slice(t+1)]}function UI(e,n,t){if(n!==void 0&&t!==void 0&&GI(n,t)!==K.HTML)return e;let r=qf();return r?zg(r.sanitize(K.HTML,e)||""):Wt(e,"HTML")?zg(rt(e)):xc(Zv(),vr(e))}function $I(e){let n=qf();return n?n.sanitize(K.URL,e)||"":Wt(e,"URL")?rt(e):rs(vr(e))}function zI(e){let n=qf();if(n)return Gg(n.sanitize(K.RESOURCE_URL,e)||"");if(Wt(e,"ResourceURL"))return Gg(rt(e));throw new b(904,!1)}function qf(){let e=C();return e&&e[St].sanitizer}function GI(e,n){let[t,r]=WI(e);return ag(r,n,t)}function WI(e){e=e.toLowerCase();let n=HI(e,!1);if(n[0])return n;let r=ht()===-1?null:Ir(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=tt(r,C());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&pI[s]}}return[o,e]}function qI(e){return e.ownerDocument}function YI(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 py="ng-template";function ZI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&YI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Yf(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 Yf(e){return e.type===4&&e.value!==py}function KI(e,n,t){let r=e.type===4&&!t?py:e.value;return n===r}function XI(e,n,t){let r=4,o=e.attrs,i=o!==null?eS(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!xt(r)&&!xt(c))return!1;if(s&&xt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!KI(e,c,t)||c===""&&n.length===1){if(xt(r))return!1;s=!0}}else if(r&8){if(o===null||!ZI(e,o,c,t)){if(xt(r))return!1;s=!0}}else{let l=n[++a],u=QI(c,o,Yf(e),t);if(u===-1){if(xt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(xt(r))return!1;s=!0}}}}return xt(r)||s}function xt(e){return(e&1)===0}function QI(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 tS(n,e)}function my(e,n,t=!1){for(let r=0;r<n.length;r++)if(XI(e,n[r],t))return!0;return!1}function JI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function eS(e){for(let n=0;n<e.length;n++){let t=e[n];if(Ov(t))return n}return e.length}function tS(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 nS(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 Xg(e,n){return e?":not("+n.trim()+")":n}function rS(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!==""&&!xt(s)&&(n+=Xg(i,o),o=""),r=s,i=i||!xt(r);t++}return o!==""&&(n+=Xg(i,o)),n}function oS(e){return e.map(rS).join(",")}function iS(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(!xt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Ue={};function Zf(e,n,t,r,o,i,s,a,c,l,u){let d=X+r,h=d+o,p=sS(d,h),m=typeof l=="function"?l():l;return p[I]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function sS(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ue);return t}function aS(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Zf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Kf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[It]=o,d[A]=r|4|128|8|64|1024,(l!==null||e&&e[A]&2048)&&(d[A]|=2048),md(d),d[_e]=d[_r]=e,d[ge]=t,d[St]=s||e&&e[St],d[te]=a||e&&e[te],d[je]=c||e&&e[je]||null,d[Ve]=i,d[en]=iI(),d[yr]=u,d[dd]=l,d[Be]=n.type==2?e[Be]:d,d}function cS(e,n,t){let r=tt(n,e),o=aS(t),i=e[St].rendererFactory,s=Xf(e,Kf(e,o,null,gy(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function gy(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function vy(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 Xf(e,n){return e[vo]?e[ud][ut]=n:e[vo]=n,e[ud]=n,n}function Qf(e=1){yy(J(),C(),ht()+e,!1)}function yy(e,n,t,r){if(!r)if((n[A]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ac(n,i,t)}else{let i=e.preOrderHooks;i!==null&&cc(n,i,0,t)}Vn(t)}var Ac=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ac||{});function uf(e,n,t,r){let o=S(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ac.SignalBased)!==0&&(c=n[i][me]),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):Mv(n,c,i,r)}finally{S(o)}}var Gt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Gt||{}),lS;function Jf(e,n){return lS(e,n)}var sH=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var df=new WeakMap,Wi=new WeakSet;function uS(e,n){let t=df.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),Wi.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function dS(e,n){let t=df.get(e);t?t.includes(n)||t.push(n):df.set(e,[n])}var xr=new Set,Nc=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Nc||{}),Nt=new g(""),Qg=new Set;function qt(e){Qg.has(e)||(Qg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Rc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),eh=[0,1,2,3],th=(()=>{class e{ngZone=f(M);scheduler=f(Ct);errorHandler=f(Oe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Nt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&Y(z.AfterRenderHooksStart),this.executing=!0;for(let r of eh)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&&Y(z.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Dr]??=[]).push(t),Cr(r),r[A]|=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(Nc.AFTER_NEXT_RENDER,t):t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ki=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?.[Dr];n&&(this.view[Dr]=n.filter(t=>t!==this))}};function Rt(e,n){let t=n?.injector??f(O);return qt("NgAfterNextRender"),hS(e,t,n,!0)}function fS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function hS(e,n,t,r){let o=n.get(Rc);o.impl??=n.get(th);let i=n.get(Nt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(We):null,a=n.get(Eo,null,{optional:!0}),c=new Ki(o.impl,fS(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var _y=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(de)})});function by(e,n,t){let r=e.get(_y);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function pS(e,n){let t=e.get(_y);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function mS(e,n){for(let[t,r]of n)by(e,r.animateFns)}function Jg(e,n,t,r){let o=e?.[kn]?.enter;n!==null&&o&&o.has(t.index)&&mS(r,o)}function wo(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;Mt(o)?c=o:tn(o)&&(l=!0,o=o[It]);let u=dt(o);e===0&&r!==null?(Jg(a,r,i,t),s==null?dy(n,r,u):yc(n,r,u,s||null,!0)):e===1&&r!==null?(Jg(a,r,i,t),yc(n,r,u,s||null,!0),uS(i,u)):e===2?(a?.[kn]?.leave?.has(i.index)&&dS(i,u),Wi.delete(u),ev(a,i,t,d=>{if(Wi.has(u)){Wi.delete(u);return}fy(n,u,l,d)})):e===3&&(Wi.delete(u),ev(a,i,t,()=>{n.destroyNode(u)})),c!=null&&SS(n,e,t,c,i,r,s)}}function gS(e,n){Dy(e,n),n[It]=null,n[Ve]=null}function vS(e,n,t,r,o,i){r[It]=o,r[Ve]=n,kc(e,r,t,1,o,i)}function Dy(e,n){n[St].changeDetectionScheduler?.notify(9),kc(e,n,n[te],2,null,null)}function yS(e){let n=e[vo];if(!n)return Vd(e[I],e);for(;n;){let t=null;if(tn(n))t=n[vo];else{let r=n[fe];r&&(t=r)}if(!t){for(;n&&!n[ut]&&n!==e;)tn(n)&&Vd(n[I],n),n=n[_e];n===null&&(n=e),tn(n)&&Vd(n[I],n),t=n&&n[ut]}n=t}}function nh(e,n){let t=e[Er],r=t.indexOf(n);t.splice(r,1)}function Oc(e,n){if(Ln(n))return;let t=n[te];t.destroyNode&&kc(e,n,t,3,null,null),yS(n)}function Vd(e,n){if(Ln(n))return;let t=S(null);try{n[A]&=-129,n[A]|=256,n[et]&&Sn(n[et]),DS(e,n),bS(e,n),n[I].type===1&&n[te].destroy();let r=n[On];if(r!==null&&Mt(n[_e])){r!==n[_e]&&nh(r,n);let o=n[Ht];o!==null&&o.detachView(e)}Qd(n)}finally{S(t)}}function ev(e,n,t,r){let o=e?.[kn];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&xr.add(e[en]),by(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),_S(e,r)}else e&&xr.delete(e[en]),r(!1)},o)}function _S(e,n){let t=e[kn]?.running;if(t){t.then(()=>{e[kn].running=void 0,xr.delete(e[en]),n(!0)});return}n(!1)}function bS(e,n){let t=e.cleanup,r=n[go];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[go]=null);let o=n[Qt];if(o!==null){n[Qt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[xn];if(i!==null){n[xn]=null;for(let s of i)s.destroy()}}function DS(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 Tr)){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];Y(z.LifecycleHookStart,a,c);try{c.call(a)}finally{Y(z.LifecycleHookEnd,a,c)}}else{Y(z.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(z.LifecycleHookEnd,o,i)}}}}}function Ey(e,n,t){return ES(e,n.parent,t)}function ES(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[It];if(Ut(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===At.None||o===At.Emulated)return null}return tt(r,t)}function Cy(e,n,t){return wS(e,n,t)}function CS(e,n,t){return e.type&40?tt(e,t):null}var wS=CS,tv;function rh(e,n,t,r){let o=Ey(e,r,n),i=n[te],s=r.parent||n[Ve],a=Cy(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Kg(i,o,t[c],a,!1);else Kg(i,o,t,a,!1);tv!==void 0&&tv(i,r,n,t,o)}function qi(e,n){if(n!==null){let t=n.type;if(t&3)return tt(n,e);if(t&4)return ff(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return qi(e,r);{let o=e[n.index];return Mt(o)?ff(-1,o):dt(o)}}else{if(t&128)return qi(e,n.next);if(t&32)return Jf(n,e)()||dt(e[n.index]);{let r=wy(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=An(e[Be]);return qi(o,r)}else return qi(e,n.next)}}}return null}function wy(e,n){if(n!==null){let r=e[Be][Ve],o=n.projection;return r.projection[o]}return null}function ff(e,n){let t=fe+e+1;if(t<n.length){let r=n[t],o=r[I].firstChild;if(o!==null)return qi(r,o)}return n[Pn]}function oh(e,n,t,r,o,i,s){for(;t!=null;){let a=r[je];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&To(dt(c),r),t.flags|=2),!Mc(t))if(l&8)oh(e,n,t.child,r,o,i,!1),wo(n,e,a,o,c,t,i,r);else if(l&32){let u=Jf(t,r),d;for(;d=u();)wo(n,e,a,o,d,t,i,r);wo(n,e,a,o,c,t,i,r)}else l&16?Iy(e,n,r,t,o,i):wo(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function kc(e,n,t,r,o,i){oh(t,r,e.firstChild,n,o,i,!1)}function IS(e,n,t){let r=n[te],o=Ey(e,t,n),i=t.parent||n[Ve],s=Cy(i,t,n);Iy(r,0,n,t,o,s)}function Iy(e,n,t,r,o,i){let s=t[Be],c=s[Ve].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];wo(n,e,t[je],o,u,r,i,t)}else{let l=c,u=s[_e];zv(r)&&(l.flags|=128),oh(e,n,l,u,o,i,!0)}}function SS(e,n,t,r,o,i,s){let a=r[Pn],c=dt(r);a!==c&&wo(n,e,t,i,a,o,s);for(let l=fe;l<r.length;l++){let u=r[l];kc(u[I],u,e,n,i,a)}}function MS(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Gt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Gt.Important),e.setStyle(t,r,o,i))}}function Sy(e,n,t,r,o){let i=ht(),s=r&2;try{Vn(-1),s&&n.length>X&&yy(e,n,X,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;Y(a,o,t),t(r,o)}finally{Vn(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;Y(a,o,t)}}function Fc(e,n,t){RS(e,n,t),(t.flags&64)===64&&OS(e,n,t)}function is(e,n,t=tt){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 TS(e,n,t,r){let i=r.get(Qv,Xv)||t===At.ShadowDom||t===At.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return xS(s),s}function xS(e){AS(e)}var AS=()=>null;function NS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function My(e,n,t,r,o,i){let s=n[I];if(Pc(e,s,n,t,r)){Ut(e)&&xy(n,e.index);return}e.type&3&&(t=NS(t)),Ty(e,n,t,r,o,i)}function Ty(e,n,t,r,o,i){if(e.type&3){let s=tt(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function xy(e,n){let t=ft(n,e);t[A]&16||(t[A]|=64)}function RS(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ut(t)&&cS(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||vc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Zi(n,e,s,t);if(To(c,n),i!==null&&PS(n,s-r,c,a,t,i),Tt(a)){let l=ft(t.index,n);l[ge]=Zi(n,e,s,t)}}}function OS(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Dg();try{Vn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];Ka(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&kS(c,l)}}finally{Vn(-1),Ka(s)}}function kS(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function ih(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];my(n,i.selectors,!1)&&(r??=[],Tt(i)?r.unshift(i):r.push(i))}return r}function FS(e,n,t,r,o,i){let s=tt(e,n);Ay(n[te],s,i,e.value,t,r,o)}function Ay(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?vr(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function PS(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];uf(r,t,c,l)}}function sh(e,n,t,r,o){let i=X+t,s=n[I],a=o(s,n,e,r,t);n[i]=a,wr(e,!0);let c=e.type===2;return c?(hy(n[te],a,e),(fg()===0||yo(e))&&To(a,n),hg()):To(a,n),ec()&&(!c||!Mc(e))&&rh(s,n,a,e),e}function ah(e){let n=e;return Id()?Sd():(n=n.parent,wr(n,!1)),n}function ch(e,n){let t=e[je];if(!t)return;let r;try{r=t.get(rn,null)}catch(o){r=null}r?.(n)}function Pc(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];uf(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];uf(u,l,r,o),a=!0}return a}function LS(e,n){let t=ft(n,e),r=t[I];VS(r,t);let o=t[It];o!==null&&t[yr]===null&&(t[yr]=ty(o,t[je])),Y(z.ComponentStart);try{lh(r,t,t[ge])}finally{Y(z.ComponentEnd,t[ge])}}function VS(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function lh(e,n,t){Qa(n);try{let r=e.viewQuery;r!==null&&ef(1,r,t);let o=e.template;o!==null&&Sy(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ht]?.finishViewCreation(e),e.staticContentQueries&&ny(e,n),e.staticViewQueries&&ef(2,e.viewQuery,t);let i=e.components;i!==null&&jS(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[A]&=-5,Ja()}}function jS(e,n){for(let t=0;t<n.length;t++)LS(e,n[t])}function Fo(e,n,t,r){let o=S(null);try{let i=n.tView,a=e[A]&4096?4096:16,c=Kf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[On]=l;let u=e[Ht];return u!==null&&(c[Ht]=u.createEmbeddedView(i)),lh(i,c,t),c}finally{S(o)}}function Ar(e,n){return!n||n.firstChild===null||zv(e)}function Xi(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(dt(i)),Mt(i)&&Ny(i,r);let s=t.type;if(s&8)Xi(e,n,t.child,r);else if(s&32){let a=Jf(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=wy(n,t);if(Array.isArray(a))r.push(...a);else{let c=An(n[Be]);Xi(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Ny(e,n){for(let t=fe;t<e.length;t++){let r=e[t],o=r[I].firstChild;o!==null&&Xi(r[I],r,o,n)}e[Pn]!==e[It]&&n.push(e[Pn])}function Ry(e){if(e[Dr]!==null){for(let n of e[Dr])n.impl.addSequence(n);e[Dr].length=0}}var Oy=[];function BS(e){return e[et]??HS(e)}function HS(e){let n=Oy.pop()??Object.create($S);return n.lView=e,n}function US(e){e.lView[et]!==e&&(e.lView=null,Oy.push(e))}var $S=U(E({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Cr(e.lView)},consumerOnSignalRead(){this.lView[et]=this}});function zS(e){let n=e[et]??Object.create(GS);return n.lView=e,n}var GS=U(E({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=An(e.lView);for(;n&&!ky(n[I]);)n=An(n);n&&gd(n)},consumerOnSignalRead(){this.lView[et]=this}});function ky(e){return e.type!==2}function Fy(e){if(e[xn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[xn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[A]&8192)}}var WS=100;function Py(e,n=0){let r=e[St].rendererFactory,o=!1;o||r.begin?.();try{qS(e,n)}finally{o||r.end?.()}}function qS(e,n){let t=Td();try{Ai(!0),hf(e,n);let r=0;for(;Hi(e);){if(r===WS)throw new b(103,!1);r++,hf(e,1)}}finally{Ai(t)}}function YS(e,n,t,r){if(Ln(n))return;let o=n[A],i=!1,s=!1;Qa(n);let a=!0,c=null,l=null;i||(ky(e)?(l=BS(n),c=Xt(l)):Ia()===null?(a=!1,l=zS(n),c=Xt(l)):n[et]&&(Sn(n[et]),n[et]=null));try{md(n),yg(e.bindingStartIndex),t!==null&&Sy(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&ac(n,p,null)}else{let p=e.preOrderHooks;p!==null&&cc(n,p,0,null),Pd(n,0)}if(s||ZS(n),Fy(n),Ly(n,0),e.contentQueries!==null&&ny(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&ac(n,p)}else{let p=e.contentHooks;p!==null&&cc(n,p,1),Pd(n,1)}XS(e,n);let d=e.components;d!==null&&jy(n,d,0);let h=e.viewQuery;if(h!==null&&ef(2,h,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&ac(n,p)}else{let p=e.viewHooks;p!==null&&cc(n,p,2),Pd(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[za]){for(let p of n[za])p();n[za]=null}i||(Ry(n),n[A]&=-73)}catch(u){throw i||Cr(n),u}finally{l!==null&&(In(l,c),a&&US(l)),Ja()}}function Ly(e,n){for(let t=Wv(e);t!==null;t=qv(t))for(let r=fe;r<t.length;r++){let o=t[r];Vy(o,n)}}function ZS(e){for(let n=Wv(e);n!==null;n=qv(n)){if(!(n[A]&2))continue;let t=n[Er];for(let r=0;r<t.length;r++){let o=t[r];gd(o)}}}function KS(e,n,t){Y(z.ComponentStart);let r=ft(n,e);try{Vy(r,t)}finally{Y(z.ComponentEnd,r[ge])}}function Vy(e,n){Ga(e)&&hf(e,n)}function hf(e,n){let r=e[I],o=e[A],i=e[et],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&ao(i)),s||=!1,i&&(i.dirty=!1),e[A]&=-9217,s)YS(r,e,r.template,e[ge]);else if(o&8192){let a=S(null);try{Fy(e),Ly(e,1);let c=r.components;c!==null&&jy(e,c,1),Ry(e)}finally{S(a)}}}function jy(e,n,t){for(let r=0;r<n.length;r++)KS(e,n[r],t)}function XS(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)Vn(~o);else{let i=o,s=t[++r],a=t[++r];bg(s,i);let c=n[i];Y(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y(z.HostBindingsUpdateEnd,c)}}}}finally{Vn(-1)}}function Lc(e,n){let t=Td()?64:1088;for(e[St].changeDetectionScheduler?.notify(n);e;){e[A]|=t;let r=An(e);if(_o(e)&&!r)return e;e=r}return null}function By(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Hy(e,n){let t=fe+n;if(t<e.length)return e[t]}function Po(e,n,t,r=!0){let o=n[I];if(QS(o,n,e,t),r){let s=ff(t,e),a=n[te],c=a.parentNode(e[Pn]);c!==null&&vS(o,e[Ve],a,n,c,s)}let i=n[yr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function uh(e,n){let t=Qi(e,n);return t!==void 0&&Oc(t[I],t),t}function Qi(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t];if(r){let o=r[On];o!==null&&o!==e&&nh(o,r),n>0&&(e[t-1][ut]=r[ut]);let i=Pi(e,fe+n);gS(r[I],r);let s=i[Ht];s!==null&&s.detachView(i[I]),r[_e]=null,r[ut]=null,r[A]&=-129}return r}function QS(e,n,t,r){let o=fe+r,i=t.length;r>0&&(t[o-1][ut]=n),r<i-fe?(n[ut]=t[o],id(t,fe+r,n)):(t.push(n),n[ut]=null),n[_e]=t;let s=n[On];s!==null&&t!==s&&Uy(s,n);let a=n[Ht];a!==null&&a.insertView(e),Wa(n),n[A]|=128}function Uy(e,n){let t=e[Er],r=n[_e];if(tn(r))e[A]|=2;else{let o=r[_e][Be];n[Be]!==o&&(e[A]|=2)}t===null?e[Er]=[n]:t.push(n)}var Un=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[I];return Xi(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[ge]}set context(n){this._lView[ge]=n}get destroyed(){return Ln(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[_e];if(Mt(n)){let t=n[ji],r=t?t.indexOf(this):-1;r>-1&&(Qi(n,r),Pi(t,r))}this._attachedToViewContainer=!1}Oc(this._lView[I],this._lView)}onDestroy(n){qa(this._lView,n)}markForCheck(){Lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[A]&=-129}reattach(){Wa(this._lView),this._lView[A]|=128}detectChanges(){this._lView[A]|=1024,Py(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=_o(this._lView),t=this._lView[On];t!==null&&!n&&nh(t,this._lView),Dy(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let t=_o(this._lView),r=this._lView[On];r!==null&&!t&&Uy(r,this._lView),Wa(this._lView)}};var Ye=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=JS;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=Fo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Un(i)}}return e})();function JS(){return Vc(he(),C())}function Vc(e,n){return e.type&4?new Ye(n,e,ko(e,n)):null}function Fr(e,n,t,r,o){let i=e.data[n];if(i===null)i=eM(e,n,t,r,o),_g()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=gg();i.injectorIndex=s===null?-1:s.injectorIndex}return wr(i,!0),i}function eM(e,n,t,r,o){let i=wd(),s=Id(),a=s?i:i&&i.parent,c=e.data[n]=nM(e,a,t,n,r,o);return tM(e,c,i,s),c}function tM(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 nM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Dd()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Nd(),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}}function rM(e){let n=e[Fn]??[],r=e[_e][te],o=[];for(let i of n)i.data[Vf]!==void 0?o.push(i):oM(i,r);e[Fn]=o}function oM(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Kv];for(;t<o;){let i=r.nextSibling;fy(n,r,!1),r=i,t++}}}var iM=()=>null,sM=()=>null;function _c(e,n){return iM(e,n)}function $y(e,n,t){return sM(e,n,t)}var zy=class{},jc=class{},pf=class{resolveComponentFactory(n){throw new b(917,!1)}},Bc=class{static NULL=new pf},Se=class{},Ke=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>aM()}return e})();function aM(){let e=C(),n=he(),t=ft(n.index,e);return(tn(t)?t:e)[te]}var Gy=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();var uc={},So=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,uc,r);return o!==uc||t===uc?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=La(o,a);else if(i==2){let c=a,l=n[++s];r=La(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function H(e,n=0){let t=C();if(t===null)return T(e,n);let r=he();return Bv(r,t,we(e),n)}function cM(){let e="invalid";throw new Error(e)}function Wy(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}dM(e,n,t,a,i,c,l)}i!==null&&r!==null&&lM(t,r,i)}function lM(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 b(-301,!1);r.push(n[o],i)}}function uM(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function dM(e,n,t,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&Tt(p)&&(c=p,uM(e,t,h)),Kd(vc(t,n),e,p.type)}vM(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=vy(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(t.mergedAttrs=Mo(t.mergedAttrs,p.hostAttrs),hM(e,t,n,d,p),gM(d,p,o),s!==null&&s.has(p)){let[v,_]=s.get(p);t.directiveToIndex.set(p.type,[d,v+t.directiveStart,_+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let m=p.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++}fM(e,t,i)}function fM(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))nv(0,n,o,r),nv(1,n,o,r),ov(n,r,!1);else{let i=t.get(o);rv(0,n,i,r),rv(1,n,i,r),ov(n,r,!0)}}}function nv(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),qy(n,i)}}function rv(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),qy(n,s)}}function qy(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function ov(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Yf(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 hM(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Tn(o.type,!0)),s=new Tr(i,Tt(o),H,null);e.blueprint[r]=s,t[r]=s,pM(e,n,r,vy(e,t,o.hostVars,Ue),o)}function pM(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;mM(s)!=a&&s.push(a),s.push(t,r,i)}}function mM(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function gM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Tt(n)&&(t[""]=e)}}function vM(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function dh(e,n,t,r,o,i,s,a){let c=n[I],l=c.consts,u=nt(l,s),d=Fr(c,e,t,r,u);return i&&Wy(c,n,d,nt(l,a),o),d.mergedAttrs=Mo(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 fh(e,n){Nv(e,n),fd(n)&&e.queries.elementEnd(n)}function yM(e,n,t,r,o,i){let s=n.consts,a=nt(s,o),c=Fr(n,e,t,r,a);if(c.mergedAttrs=Mo(c.mergedAttrs,c.attrs),i!=null){let l=nt(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 hh(e){return Zy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Yy(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 Zy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Lo(e,n,t){return e[n]=t}function Ky(e,n){return e[n]}function Ze(e,n,t){if(t===Ue)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function xo(e,n,t,r){let o=Ze(e,n,t);return Ze(e,n+1,r)||o}function _M(e,n,t,r,o){let i=xo(e,n,t,r);return Ze(e,n+2,o)||i}function Xy(e,n,t,r,o,i){let s=xo(e,n,t,r);return xo(e,n+2,o,i)||s}function dc(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&cI(o,i);let s=Ut(e)?ft(e.index,n):n;Lc(s,5);let a=n[ge],c=iv(n,a,t,o),l=r.__ngNextListenerFn__;for(;l;)c=iv(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function iv(e,n,t,r){let o=S(null);try{return Y(z.OutputStart,n,t),t(r)!==!1}catch(i){return ch(e,i),!1}finally{Y(z.OutputEnd,n,t),S(o)}}function Qy(e,n,t,r,o,i,s,a){let c=yo(e),l=!1,u=null;if(!r&&c&&(u=DM(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=tt(e,t),h=r?r(d):d;uI(t,h,i,a),r||(a.__ngNativeEl__=d);let p=o.listen(h,i,a);if(!bM(i)){let m=r?v=>r(dt(v[e.index])):e.index;Jy(m,n,t,i,a,p,!1)}}return l}function bM(e){return e.startsWith("animation")||e.startsWith("transition")}function DM(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[go],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Jy(e,n,t,r,o,i,s){let a=n.firstCreatePass?_d(n):null,c=yd(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function sv(e,n,t,r,o,i){let s=n[t],a=n[I],l=a.data[t].outputs[r],d=s[l].subscribe(i);Jy(e.index,a,n,o,i,d,!0)}var mf=Symbol("BINDING");function e_(e){return e.debugInfo?.className||e.type.name||null}var gf=class extends Bc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Jt(n);return new Ao(t,this.ngModule)}};function EM(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ac.SignalBased)!==0};return o&&(i.transform=o),i})}function CM(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function wM(e,n,t){let r=n instanceof de?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new So(t,r):t}function IM(e){let n=e.get(Se,null);if(n===null)throw new b(407,!1);let t=e.get(Gy,null),r=e.get(Ct,null),o=e.get(Nt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function SM(e,n){let t=t_(e);return uy(n,t,t==="svg"?xi:t==="math"?hd:null)}function MM(e){if(e?.toLowerCase()==="script")throw new b(905,!1)}function t_(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ao=class extends jc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=EM(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=CM(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=oS(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){Y(z.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,l=wM(c,o||this.ngModule,n),u=IM(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(e_(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{S(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=TM(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?TS(l,o,a.encapsulation,t):SM(a,l);MM(u?.tagName);let d=s?.some(av)||i?.some(m=>typeof m!="function"&&m.bindings.some(av)),h=Kf(null,c,null,512|gy(a),null,null,n,l,t,null,ty(u,t,!0));h[X]=u,Qa(h);let p=null;try{let m=dh(X,h,2,"#host",()=>c.directiveRegistry,!0,0);hy(l,u,m),To(u,h),Fc(c,h,m),Hf(c,m,h),fh(c,m),r!==void 0&&AM(m,this.ngContentSelectors,r),p=ft(m.index,h),h[ge]=p[ge],lh(c,h,null)}catch(m){throw p!==null&&Qd(p),Qd(h),m}finally{Y(z.DynamicComponentEnd),Ja()}return new Dc(this.componentType,h,!!d)}};function TM(e,n,t,r){let o=e?["ng-version","21.2.23"]:iS(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[mf].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[mf].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(i??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Fi(d);c.push(h)}return Zf(0,null,xM(i,s),1,a,c,null,null,null,[o],null)}function xM(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 av(e){let n=e[mf].kind;return n==="input"||n==="twoWay"}var Dc=class extends zy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=bo(t[I],X),this.location=ko(this._tNode,t),this.instance=ft(this._tNode.index,t)[ge],this.hostView=this.changeDetectorRef=new Un(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=Pc(r,o[I],o,n,t);this.previousInputValues.set(n,t);let s=ft(r.index,o);Lc(s,1)}get injector(){return new Mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function AM(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 ot=(()=>{class e{static __NG_ELEMENT_ID__=NM}return e})();function NM(){let e=he();return n_(e,C())}var vf=class e extends ot{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return ko(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){let n=kf(this._hostTNode,this._hostLView);if(kv(n)){let t=mc(n,this._hostLView),r=pc(n),o=t[I].data[r+8];return new Mr(o,t)}else return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=cv(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-fe}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=_c(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Ar(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Lw(n),l;if(c)l=t;else{let _=t||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?n:new Ao(Jt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(de,null);D&&(i=D)}let h=Jt(u.componentType??{}),p=_c(this._lContainer,h?.id??null),m=p?.firstChild??null,v=u.create(d,o,m,i,s,a);return this.insertImpl(v.hostView,l,Ar(this._hostTNode,p)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(lg(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[_e],l=new e(c,c[Ve],c[_e]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Po(s,o,i,r),n.attachToViewContainerRef(),id(jd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=cv(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Qi(this._lContainer,t);r&&(Pi(jd(this._lContainer),t),Oc(r[I],r))}detach(n){let t=this._adjustIndex(n,-1),r=Qi(this._lContainer,t);return r&&Pi(jd(this._lContainer),t)!=null?new Un(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function cv(e){return e[ji]}function jd(e){return e[ji]||(e[ji]=[])}function n_(e,n){let t,r=n[e.index];return Mt(r)?t=r:(t=By(r,n,null,e),n[e.index]=t,Xf(n,t)),OM(t,n,e,r),new vf(t,e,n)}function RM(e,n){let t=e[te],r=t.createComment(""),o=tt(n,e),i=t.parentNode(o);return yc(t,i,r,t.nextSibling(o),!1),r}var OM=FM,kM=()=>!1;function r_(e,n,t){return kM(e,n,t)}function FM(e,n,t,r){if(e[Pn])return;let o;t.type&8?o=dt(r):o=RM(n,t),e[Pn]=o}var yf=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},_f=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++)mh(n,t).matches!==null&&this.queries[t].setDirty()}},Ec=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=BM(n):this.predicate=n}},bf=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)}},Df=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,PM(t,i)),this.matchTNodeWithReadOption(n,t,lc(t,n,i,!1,!1))}else r===Ye?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,lc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===B||o===ot||o===Ye&&t.type&4)this.addMatch(t.index,-2);else{let i=lc(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 PM(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 LM(e,n){return e.type&11?ko(e,n):e.type&4?Vc(e,n):null}function VM(e,n,t,r){return t===-1?LM(n,e):t===-2?jM(e,n,r):Zi(e,e[I],t,n)}function jM(e,n,t){if(t===B)return ko(n,e);if(t===Ye)return Vc(n,e);if(t===ot)return n_(n,e)}function o_(e,n,t,r){let o=n[Ht].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(VM(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Ef(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=o_(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=fe;d<u.length;d++){let h=u[d];h[On]===h[_e]&&Ef(h[I],h,l,r)}if(u[Er]!==null){let d=u[Er];for(let h=0;h<d.length;h++){let p=d[h];Ef(p[I],p,l,r)}}}}}return r}function ph(e,n){return e[Ht].queries[n].queryList}function i_(e,n,t){let r=new on((t&4)===4);return dg(e,n,r,r.destroy),(n[Ht]??=new _f).queries.push(new yf(r))-1}function s_(e,n,t){let r=J();return r.firstCreatePass&&(c_(r,new Ec(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),i_(r,C(),n)}function a_(e,n,t,r){let o=J();if(o.firstCreatePass){let i=he();c_(o,new Ec(n,t,r),i.index),HM(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return i_(o,C(),t)}function BM(e){return e.split(",").map(n=>n.trim())}function c_(e,n,t){e.queries===null&&(e.queries=new bf),e.queries.track(new Df(n,t))}function HM(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 mh(e,n){return e.queries.getByIndex(n)}function l_(e,n){let t=e[I],r=mh(t,n);return r.crossesNgTemplate?Ef(t,e,n,[]):o_(t,e,r,n)}function gh(e,n,t){let r,o=wi(()=>{r._dirtyCounter();let i=UM(r,e);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[me],r._dirtyCounter=ae(0),r._flatValue=void 0,o}function vh(e){return gh(!0,!1,e)}function yh(e){return gh(!0,!0,e)}function _h(e){return gh(!1,!1,e)}function u_(e,n){let t=e[me];t._lView=C(),t._queryIndex=n,t._queryList=ph(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function UM(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[A]&4)return n?void 0:Re;let o=ph(t,r),i=l_(t,r);return o.reset(i,$v),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var $n=class{};var Ji=class extends $n{injector;componentFactoryResolver=new gf(this);instance=null;constructor(n){super();let t=new mr([...n.providers,{provide:$n,useValue:this},{provide:Bc,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 bh(e,n,t=null){return new Ji({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var $M=(()=>{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=$a(!1,t.type),o=r.length>0?bh([r],this._injector,""):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=y({token:e,providedIn:"environment",factory:()=>new e(T(de))})}return e})();function ce(e){return ts(()=>{let n=d_(e),t=U(E({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get($M).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||At.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&qt("NgStandalone"),f_(t);let r=e.dependencies;return t.directiveDefs=lv(r,zM),t.pipeDefs=lv(r,td),t.id=qM(t),t})}function zM(e){return Jt(e)||Fi(e)}function q(e){return ts(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function GM(e,n){if(e==null)return wt;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=Ac.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function WM(e){if(e==null)return wt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function N(e){return ts(()=>{let n=d_(e);return f_(n),n})}function Hc(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 d_(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||wt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:GM(e.inputs,n),outputs:WM(e.outputs),debugInfo:null}}function f_(e){e.features?.forEach(n=>n(e))}function lv(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 qM(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 Dh(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=YM,t.hostDirectives=r?e.map(Cf):[e]):r?t.hostDirectives.unshift(...e.map(Cf)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function YM(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,h_(s,n,r),o.set(s,[a,n.length-1])}i===0&&Tt(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 h_(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)uv(Cf(i),n,t)}else uv(r,n,t)}function uv(e,n,t){let r=Fi(e.directive);ZM(r.declaredInputs,e.inputs),h_(r,n,t),t.set(r,e),n.push(r)}function Cf(e){return typeof e=="function"?{directive:we(e),inputs:wt,outputs:wt}:{directive:we(e.directive),inputs:dv(e.inputs),outputs:dv(e.outputs)}}function dv(e){if(e===void 0||e.length===0)return wt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function ZM(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function KM(e){return Object.getPrototypeOf(e.prototype).constructor}function W(e){let n=KM(e.type),t=!0,r=[e];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,Oi)?n[Oi]:void 0,s=Object.hasOwn(n,ki)?n[ki]:void 0;if(Tt(e))o=i??s;else{if(i)throw new b(903,!1);o=s}if(o){if(t){r.push(o);let c=e;c.inputs=Bd(e.inputs),c.declaredInputs=Bd(e.declaredInputs),c.outputs=Bd(e.outputs);let l=o.hostBindings;l&&tT(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&JM(e,u),d&&eT(e,d),XM(e,o),Wm(e.outputs,o.outputs),Tt(o)&&o.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===W&&(t=!1)}}n=Object.getPrototypeOf(n)}QM(r)}function XM(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 QM(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=Mo(o.hostAttrs,t=Mo(t,o.hostAttrs))}}function Bd(e){return e===wt?{}:e===Re?[]:e}function JM(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function eT(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function tT(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function p_(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Mo(e.mergedAttrs,e.attrs);let u=e.tView=Zf(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),wr(e,!1);let c=rT(t,n,e,r);ec()&&rh(t,n,c,e),To(c,n);let l=By(c,n,c,e);n[r+X]=l,Xf(n,l),r_(l,e,n)}function nT(e,n,t,r,o,i,s,a,c,l,u){let d=t+X,h;return n.firstCreatePass?(h=Fr(n,d,4,s||null,a||null),Ya()&&Wy(n,e,h,nt(n.consts,l),ih),Nv(n,h)):h=n.data[d],p_(h,e,n,t,r,o,i,c),yo(h)&&Fc(n,e,h),l!=null&&is(e,h,u),h}function Nr(e,n,t,r,o,i,s,a,c,l,u){let d=t+X,h;if(n.firstCreatePass){if(h=Fr(n,d,4,s||null,a||null),l!=null){let p=nt(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[d];return p_(h,e,n,t,r,o,i,c),l!=null&&is(e,h,u),h}function Vo(e,n,t,r,o,i,s,a){let c=C(),l=J(),u=nt(l.consts,i);return nT(c,l,e,n,t,r,o,u,void 0,s,a),Vo}function m_(e,n,t,r,o,i,s,a){let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,void 0,s,a),m_}var rT=oT;function oT(e,n,t,r){return $i(!0),n[te].createComment("")}var qe=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(qe||{}),fv=0,iT=1,be=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(be||{}),g_=(function(e){return e[e.Initial=-1]="Initial",e})(g_||{}),sT=0,Uc=1;var aT=4,cT=5,lT=6,uT=7,Hd=8,dT=9,Eh=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Eh||{});function v_(e,n,t){let r=__(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function fc(e,n){let t=__(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function y_(e){fc(1,e),fc(0,e),fc(2,e)}function __(e){let n=aT;return e===1?n=cT:e===2&&(n=dT),n}function $c(e){return e+1}function jo(e,n){let t=e[I],r=$c(n.index);return e[r]}function fT(e,n,t){let r=e[I],o=$c(n);e[o]=t}function Bo(e,n){let t=$c(n.index);return e.data[t]}function hT(e,n,t){let r=$c(n);e.data[r]=t}function pT(e,n,t){let r=n[I],o=Bo(r,t);switch(e){case be.Complete:return o.primaryTmplIndex;case be.Loading:return o.loadingTmplIndex;case be.Error:return o.errorTmplIndex;case be.Placeholder:return o.placeholderTmplIndex;default:return null}}function hv(e,n){return n===be.Placeholder?e.placeholderBlockConfig?.[fv]??null:n===be.Loading?e.loadingBlockConfig?.[fv]??null:null}function mT(e){return e.loadingBlockConfig?.[iT]??null}function pv(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function gT(e,n){let t=n.primaryTmplIndex+X;return bo(e,t)}function vT(e,n){let t=n.get(bT),r=()=>t.remove(e);return t.add(e),r}var yT=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,_T=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,bT=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=f(M);requestIdleCallbackFn=yT().bind(globalThis);cancelIdleCallbackFn=_T().bind(globalThis);add(t){(this.executingCallbacks?this.deferred:this.current).add(t),this.idleId===null&&this.scheduleIdleCallback()}remove(t){let{current:r,deferred:o}=this;r.delete(t),o.delete(t),r.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let t=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(t))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();var DT=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?bh(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e})}return e})();var b_=new g("");function Ud(e,n,t){return e.get(DT).getOrCreateInjector(n,e,t,"")}function ET(e,n,t){if(e instanceof So){let o=e.injector,i=e.parentInjector,s=Ud(i,n,t);return new So(o,s)}let r=e.get(de);if(r!==e){let o=Ud(r,n,t);return new So(e,o)}return Ud(e,n,t)}function Hn(e,n,t,r=!1){let o=t[_e],i=o[I];if(Ln(o))return;let s=jo(o,n),a=s[Uc],c=s[uT];if(!(c!==null&&e<c)&&mv(a,e)&&mv(s[sT]??-1,e)){let l=Bo(i,n),d=!r&&!0&&(mT(l)!==null||hv(l,be.Loading)!==null||hv(l,be.Placeholder))?ST:wT;try{d(e,s,t,n,o)}catch(h){ch(o,h)}}}function CT(e,n){let t=e[Fn]?.findIndex(o=>o.data[jf]===n[Uc])??-1;return{dehydratedView:t>-1?e[Fn][t]:null,dehydratedViewIx:t}}function wT(e,n,t,r,o){Y(z.DeferBlockStateStart);let i=pT(e,o,r);if(i!==null){n[Uc]=e;let s=o[I],a=i+X,c=bo(s,a),l=0;uh(t,l);let u;if(e===be.Complete){let m=Bo(s,r),v=m.providers;v&&v.length>0&&(u=ET(o[je],m,v))}let{dehydratedView:d,dehydratedViewIx:h}=CT(t,n),p=Fo(o,c,null,{injector:u,dehydratedView:d});if(Po(t,p,l,Ar(c,d)),Lc(p,2),h>-1&&t[Fn]?.splice(h,1),(e===be.Complete||e===be.Error)&&Array.isArray(n[Hd])){for(let m of n[Hd])m();n[Hd]=null}}Y(z.DeferBlockStateEnd)}function mv(e,n){return e<n}function IT(e,n){let t=e[n.index];Hn(be.Placeholder,n,t)}function gv(e,n,t){e.loadingPromise.then(()=>{e.loadingState===qe.COMPLETE?Hn(be.Complete,n,t):e.loadingState===qe.FAILED&&Hn(be.Error,n,t)})}var ST=null;function Ho(e){return typeof e=="function"&&e[me]!==void 0}function Ch(e){return Ho(e)&&typeof e.set=="function"}var wh=new g("");function Uo(e){return!!e&&typeof e.then=="function"}function Ih(e){return!!e&&typeof e.subscribe=="function"}var D_=new g("");var Sh=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=f(D_,{optional:!0})??[];injector=f(O);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=mo(this.injector,o);if(Uo(i))t.push(i);else if(Ih(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),E_=new g("");function C_(){ku(()=>{let e="";throw new b(600,e)})}function w_(e){return e.isBoundToModule}var MT=10;var it=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(rn);afterRenderManager=f(Rc);zonelessEnabled=f(Co);rootEffectScheduler=f(nc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new w;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(jn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Q(t=>!t))}constructor(){f(Nt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=f(de);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=O.NULL){return this._injector.get(M).run(()=>{Y(z.BootstrapComponentStart);let s=t instanceof jc;if(!this._injector.get(Sh).done){let m="";throw new b(405,m)}let c;s?c=t:c=this._injector.get(Bc).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=w_(c)?void 0:this._injector.get($n),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(wh,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Yi(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),Y(z.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Nc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(z.ChangeDetectionEnd),new b(101,!1);let t=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(t),this.afterTick.next(),Y(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Se,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<MT;){Y(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(z.ChangeDetectionSyncEnd)}}}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&&!Hi(o))continue;let i=r&&!this.zonelessEnabled?0:1;Py(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})=>Hi(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;Yi(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(E_,[]).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),()=>Yi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new b(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yi(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function TT(e){let n=C(),t=he();if(IT(n,t),!S_(0,n))return;let r=n[je],o=jo(n,t),i=e(()=>xT(0,n,t),r);v_(0,o,i)}function I_(e,n,t){let r=n[je],o=n[I];if(e.loadingState!==qe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=jo(n,t),s=gT(o,e);e.loadingState=qe.IN_PROGRESS,fc(1,i);let a=e.dependencyResolverFn,c=r.get(Bn).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,h=[],p=[];for(let m=0;m<l.length;m++){let v=l[m];if(v.status==="fulfilled"){let _=v.value,D=Jt(_)||Fi(_);if(D)h.push(D);else{let k=td(_);k&&p.push(k)}}else{u=!0,d=v.reason instanceof Error?v.reason:new Error(String(v.reason));break}}if(u){if(e.loadingState=qe.FAILED,e.errorTmplIndex===null){let v="",_=new b(-750,v);ch(n,_)}}else{e.loadingState=qe.COMPLETE;let m=s.tView;if(h.length>0){m.directiveRegistry=pv(m.directiveRegistry,h);let v=h.map(D=>D.type),_=$a(!1,...v);e.providers=_}p.length>0&&(m.pipeRegistry=pv(m.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=qe.COMPLETE,c()}),e.loadingPromise)}function S_(e,n){return n[je].get(b_,null,{optional:!0})?.behavior!==Eh.Manual}function xT(e,n,t){let r=n[I],o=n[t.index];if(!S_(e,n))return;let i=jo(n,t),s=Bo(r,t);switch(y_(i),s.loadingState){case qe.NOT_STARTED:Hn(be.Loading,t,o),I_(s,n,t),s.loadingState===qe.IN_PROGRESS&&gv(s,t,o);break;case qe.IN_PROGRESS:Hn(be.Loading,t,o),gv(s,t,o);break;case qe.COMPLETE:Hn(be.Complete,t,o);break;case qe.FAILED:Hn(be.Error,t,o);break;default:}}function AT(e,n,t){return e===0?vv(n,t):e===2?!vv(n,t):!0}function NT(e){return e!=null&&(e&1)===1}function vv(e,n){let t=e[je],r=Bo(e[I],n),o=Bf(t),i=NT(r.flags),a=jo(e,n)[lT]!==null;return!(i&&a&&o)}function RT(e,n,t,r,o,i,s,a,c,l){let u=C(),d=J(),h=e+X,p=Nr(u,d,e,null,0,0),m=u[je],v=Bf(m);if(d.firstCreatePass){qt("NgDefer");let _t={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:qe.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,_t,a,s),hT(d,h,_t)}let _=u[h];r_(_,p,u);let D=null,k=null;if(_[Fn]?.length>0){let _t=_[Fn][0].data;k=_t[Vf]??null,D=_t[jf]}let Me=[null,g_.Initial,null,null,null,null,k,D,null,null];fT(u,h,Me);let ue=null;k!==null&&v&&(ue=m.get(ey),ue.add(k,{lView:u,tNode:p,lContainer:_}));let gn=()=>{y_(Me),k!==null&&ue?.cleanup([k])};v_(0,Me,()=>vd(u,gn)),qa(u,gn)}function OT(){let e=C(),n=he();AT(0,e,n)&&TT(vT)}function M_(e,n){let t=C(),r=nn();if(Ze(t,r,n)){let o=J(),i=Ir();if(Pc(i,o,t,e,n))Ut(i)&&xy(t,i.index);else{let a=tt(i,t);Ay(t[te],a,null,i.value,e,n,null)}}return M_}function ke(e,n,t,r){let o=C(),i=nn();if(Ze(o,i,n)){let s=J(),a=Ir();FS(a,o,e,n,t,r)}return ke}var wf=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 $d(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function kT(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){S(r);let l=n.length-1;for(S(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],h=$d(s,u,s,d,t);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),m=n[l],v=$d(a,p,l,m,t);if(v!==0){v<0&&e.updateValue(a,m),a--,l--;continue}let _=t(s,u),D=t(a,p),k=t(s,d);if(Object.is(k,D)){let Me=t(l,m);Object.is(Me,_)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Cc,i??=_v(e,s,a,t),If(e,o,s,k))e.updateValue(s,d),s++,a++;else if(i.has(k))o.set(_,e.detach(s)),a--;else{let Me=e.create(s,n[s]);e.attach(s,Me),s++,a++}}for(;s<=l;)yv(e,o,t,s,n[s]),s++}else if(n!=null){S(r);let l=n[Symbol.iterator]();S(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),h=u.value,p=$d(s,d,s,h,t);if(p!==0)p<0&&e.updateValue(s,h),s++,u=l.next();else{o??=new Cc,i??=_v(e,s,a,t);let m=t(s,h);if(If(e,o,s,m))e.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,h)),s++,a++,u=l.next();else{let v=t(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)yv(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function If(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function yv(e,n,t,r,o){if(If(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function _v(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 Cc=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 FT(e,n,t,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,256,s,a),Mh}function Mh(e,n,t,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,512,s,a),Mh}function PT(e,n){qt("NgControlFlow");let t=C(),r=nn(),o=t[r]!==Ue?t[r]:-1,i=o!==-1?wc(t,X+o):void 0,s=0;if(Ze(t,r,e)){let a=S(null);try{if(i!==void 0&&uh(i,s),e!==-1){let c=X+e,l=wc(t,c),u=xf(t[I],c),d=$y(l,u,t),h=Fo(t,u,n,{dehydratedView:d});Po(l,h,s,Ar(u,d))}}finally{S(a)}}else if(i!==void 0){let a=Hy(i,s);a!==void 0&&(a[ge]=n)}}var Sf=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-fe}};function LT(e){return e}function VT(e,n){return n}var Mf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function jT(e,n,t,r,o,i,s,a,c,l,u,d,h){qt("NgControlFlow");let p=C(),m=J(),v=c!==void 0,_=C(),D=a?s.bind(_[Be][ge]):s,k=new Mf(v,D);_[X+e]=k,Nr(p,m,e+1,n,t,r,o,nt(m.consts,i),256),v&&Nr(p,m,e+2,c,l,u,d,nt(m.consts,h),512)}var Tf=class extends wf{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-fe}at(n){return this.getLView(n)[ge].$implicit}attach(n,t){let r=t[yr];this.needsIndexUpdate||=n!==this.length,Po(this.lContainer,t,n,Ar(this.templateTNode,r)),HT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,UT(this.lContainer,n),$T(this.lContainer,n)}create(n,t){let r=_c(this.lContainer,this.templateTNode.tView.ssrId);return Fo(this.hostLView,this.templateTNode,new Sf(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Oc(n[I],n)}updateValue(n,t){this.getLView(n)[ge].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ge].$index=n}getLView(n){return zT(this.lContainer,n)}};function BT(e){let n=S(null),t=ht();try{let r=C(),o=r[I],i=r[t],s=t+1,a=wc(r,s);if(i.liveCollection===void 0){let l=xf(o,s);i.liveCollection=new Tf(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(kT(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=nn(),u=c.length===0;if(Ze(r,l,u)){let d=t+2,h=wc(r,d);if(u){let p=xf(o,d),m=$y(h,p,r),v=Fo(r,p,void 0,{dehydratedView:m});Po(h,v,0,Ar(p,m))}else o.firstUpdatePass&&rM(h),uh(h,0)}}}finally{S(n)}}function wc(e,n){return e[n]}function HT(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t],o=r?r[kn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[je];pS(i,o),xr.delete(r[en]),o.detachedLeaveAnimationFns=void 0}}function UT(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t],o=r?r[kn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function $T(e,n){return Qi(e,n)}function zT(e,n){return Hy(e,n)}function xf(e,n){return bo(e,n)}function T_(e,n,t){let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();My(s,r,e,n,r[te],t)}return T_}function Af(e,n,t,r,o){Pc(n,e,t,o?"class":"style",r)}function No(e,n,t,r){let o=C(),i=o[I],s=e+X,a=i.firstCreatePass?dh(s,o,2,n,ih,Ya(),t,r):i.data[s];if(Ut(a)){let c=o[St].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(e_(l),()=>(bv(e,n,o,a,r),No))}}return bv(e,n,o,a,r),No}function bv(e,n,t,r,o){if(sh(r,t,e,n,A_),yo(r)){let i=t[I];Fc(i,t,r),Hf(i,r,t)}o!=null&&is(t,r)}function ss(){let e=J(),n=he(),t=ah(n);return e.firstCreatePass&&fh(e,t),Ed(t)&&Cd(),bd(),t.classesWithoutHost!=null&&$w(t)&&Af(e,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&zw(t)&&Af(e,t,C(),t.stylesWithoutHost,!1),ss}function x_(e,n,t,r){return No(e,n,t,r),ss(),x_}function cn(e,n,t,r){let o=C(),i=o[I],s=e+X,a=i.firstCreatePass?yM(s,i,2,n,t,r):i.data[s];return sh(a,o,e,n,A_),r!=null&&is(o,a),cn}function ln(){let e=he(),n=ah(e);return Ed(n)&&Cd(),bd(),ln}function Xe(e,n,t,r){return cn(e,n,t,r),ln(),Xe}var A_=(e,n,t,r,o)=>($i(!0),uy(n[te],r,Nd()));function Th(e,n,t){let r=C(),o=r[I],i=e+X,s=o.firstCreatePass?dh(i,r,8,"ng-container",ih,Ya(),n,t):o.data[i];if(sh(s,r,e,"ng-container",GT),yo(s)){let a=r[I];Fc(a,r,s),Hf(a,s,r)}return t!=null&&is(r,s),Th}function xh(){let e=J(),n=he(),t=ah(n);return e.firstCreatePass&&fh(e,t),xh}function N_(e,n,t){return Th(e,n,t),xh(),N_}var GT=(e,n,t,r,o)=>($i(!0),VI(n[te],""));function WT(){return C()}function as(e,n,t){let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();Ty(s,r,e,n,r[te],t)}return as}var Gi=void 0;function qT(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var YT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Gi,[["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"]],Gi,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Gi,Gi,Gi],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",qT],zd=Object.create(null);function st(e){let n=ZT(e),t=Dv(n);if(t)return t;let r=n.split("-")[0];if(t=Dv(r),t)return t;if(r==="en")return YT;throw new b(701,!1)}function Dv(e){if(!(e in zd)){let n=lt.ng&<.ng.common&<.ng.common.locales&<.ng.common.locales[e];return n!==void 0&&(zd[e]=n),n}return zd[e]}var ve=(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})(ve||{});function ZT(e){return e.toLowerCase().replace(/_/g,"-")}var cs="en-US";var KT=cs;function R_(e){typeof e=="string"&&(KT=e.toLowerCase().replace(/_/g,"-"))}function Gn(e,n,t){let r=C(),o=J(),i=he();return k_(o,r,r[te],i,e,n,t),Gn}function O_(e,n,t){let r=C(),o=J(),i=he();return(i.type&3||t)&&Qy(i,o,r,t,r[te],e,n,dc(i,r,n)),O_}function k_(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=dc(r,n,i),Qy(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 h=u[d],p=u[d+1];c??=dc(r,n,i),sv(r,n,h,p,o,c)}if(l&&l.length)for(let d of l)c??=dc(r,n,i),sv(r,n,d,o,o,c)}}function XT(e=1){return Sg(e)}function QT(e,n){let t=null,r=JI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?my(e,i,!0):nS(r,i))return o}return t}function Ot(e){let n=C()[Be][Ve];if(!n.projection){let t=e?e.length:1,r=n.projection=Qm(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?QT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Ae(e,n=0,t,r,o,i){let s=C(),a=J(),c=r?e+1:null;c!==null&&Nr(s,a,c,r,o,i,null,t);let l=Fr(a,X+e,16,null,t||null);l.projection===null&&(l.projection=n),Sd();let d=!s[yr]||Dd();s[Be][Ve].projection[l.projection]===null&&c!==null?JT(s,a,c):d&&!Mc(l)&&IS(a,s,l)}function JT(e,n,t){let r=X+t,o=n.data[r],i=e[r],s=_c(i,o.tView.ssrId),a=Fo(e,o,void 0,{dehydratedView:s});Po(i,a,0,Ar(o,s))}function F_(e,n,t,r){return a_(e,n,t,r),F_}function $o(e,n,t){return s_(e,n,t),$o}function ls(e){let n=C(),t=J(),r=Xa();Ui(r+1);let o=mh(t,r);if(e.dirty&&cg(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=l_(n,r);e.reset(i,$v),e.notifyOnChanges()}return!0}return!1}function us(){return ph(C(),Xa())}function P_(e,n,t,r,o){return u_(n,a_(e,t,r,o)),P_}function L_(e,n,t,r){return u_(e,s_(n,t,r)),L_}function e0(e=1){Ui(Xa()+e)}function t0(e){let n=Md();return Do(n,X+e)}function sc(e,n){return e<<17|n<<2}function Rr(e){return e>>17&32767}function n0(e){return(e&2)==2}function r0(e,n){return e&131071|n<<17}function Nf(e){return e|2}function Ro(e){return(e&131068)>>2}function Gd(e,n){return e&-131069|n<<2}function o0(e){return(e&1)===1}function Rf(e){return e|1}function i0(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Rr(s),c=Ro(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||fo(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let h=Rr(e[a+1]);e[r+1]=sc(h,a),h!==0&&(e[h+1]=Gd(e[h+1],r)),e[a+1]=r0(e[a+1],r)}else e[r+1]=sc(a,0),a!==0&&(e[a+1]=Gd(e[a+1],r)),a=r;else e[r+1]=sc(c,0),a===0?a=r:e[c+1]=Gd(e[c+1],r),c=r;l&&(e[r+1]=Nf(e[r+1])),Ev(e,u,r,!0),Ev(e,u,r,!1),s0(n,u,e,r,i),s=sc(a,c),i?n.classBindings=s:n.styleBindings=s}function s0(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&fo(i,n)>=0&&(t[r+1]=Rf(t[r+1]))}function Ev(e,n,t,r){let o=e[t+1],i=n===null,s=r?Rr(o):Ro(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];a0(c,n)&&(a=!0,e[s+1]=r?Rf(l):Nf(l)),s=r?Rr(l):Ro(l)}a&&(e[t+1]=r?Nf(o):Rf(o))}function a0(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?fo(e,n)>=0:!1}var Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function V_(e){return e.substring(Ie.key,Ie.keyEnd)}function c0(e){return e.substring(Ie.value,Ie.valueEnd)}function l0(e){return H_(e),j_(e,Oo(e,0,Ie.textEnd))}function j_(e,n){let t=Ie.textEnd;return t===n?-1:(n=Ie.keyEnd=d0(e,Ie.key=n,t),Oo(e,n,t))}function u0(e){return H_(e),B_(e,Oo(e,0,Ie.textEnd))}function B_(e,n){let t=Ie.textEnd,r=Ie.key=Oo(e,n,t);return t===r?-1:(r=Ie.keyEnd=f0(e,r,t),r=Cv(e,r,t,58),r=Ie.value=Oo(e,r,t),r=Ie.valueEnd=h0(e,r,t),Cv(e,r,t,59))}function H_(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function Oo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function d0(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function f0(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 Cv(e,n,t,r){return n=Oo(e,n,t),n<t&&n++,n}function h0(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=wv(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=wv(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function wv(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 zc(e,n,t){return U_(e,n,t,!1),zc}function De(e,n){return U_(e,n,null,!0),De}function p0(e){$_(W_,m0,e,!1)}function m0(e,n){for(let t=u0(n);t>=0;t=B_(n,t))W_(e,V_(n),c0(n))}function ds(e){$_(E0,g0,e,!0)}function g0(e,n){for(let t=l0(n);t>=0;t=j_(n,t))Li(e,V_(n),!0)}function U_(e,n,t,r){let o=C(),i=J(),s=Za(2);if(i.firstUpdatePass&&G_(i,e,s,r),n!==Ue&&Ze(o,s,n)){let a=i.data[ht()];q_(i,a,o,o[te],e,o[s+1]=w0(n,t),r,s)}}function $_(e,n,t,r){let o=J(),i=Za(2);o.firstUpdatePass&&G_(o,null,i,r);let s=C();if(t!==Ue&&Ze(s,i,t)){let a=o.data[ht()];if(Y_(a,r)&&!z_(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=La(c,t||"")),Af(o,a,s,t,r)}else C0(o,a,s,s[te],s[i+1],s[i+1]=D0(e,n,t),r,i)}}function z_(e,n){return n>=e.expandoStartIndex}function G_(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[ht()],s=z_(e,t);Y_(i,r)&&n===null&&!s&&(n=!1),n=v0(o,i,n,r),i0(o,i,n,t,s,r)}}function v0(e,n,t,r){let o=Eg(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Wd(null,e,n,t,r),t=es(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Wd(o,e,n,t,r),i===null){let c=y0(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Wd(null,e,n,c[1],r),c=es(c,n.attrs,r),_0(e,n,r,c))}else i=b0(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function y0(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Ro(r)!==0)return e[Rr(r)]}function _0(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Rr(o)]=r}function b0(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=es(r,s,t)}return es(r,n.attrs,t)}function Wd(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=es(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function es(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]),Li(e,s,t?!0:n[++i]))}return e===void 0?null:e}function D0(e,n,t){if(t==null||t==="")return Re;let r=[],o=rt(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,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 W_(e,n,t){Li(e,n,rt(t))}function E0(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Li(e,r,t)}function C0(e,n,t,r,o,i,s,a){o===Ue&&(o=Re);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 h=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,m=null,v;u===d?(c+=2,l+=2,h!==p&&(m=d,v=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,v=p),m!==null&&q_(e,n,t,r,m,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function q_(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=o0(l)?Iv(c,n,t,o,Ro(l),s):void 0;if(!Ic(u)){Ic(i)||n0(l)&&(i=Iv(c,null,t,o,a,s));let d=pd(ht(),t);MS(r,s,d,o,i)}}function Iv(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,h=t[o+1];h===Ue&&(h=d?Re:void 0);let p=d?Ua(h,r):u===r?h:void 0;if(l&&!Ic(p)&&(p=Ua(c,r)),Ic(p)&&(a=p,s))return a;let m=e[o+1];o=s?Rr(m):Ro(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ua(c,r))}return a}function Ic(e){return e!==void 0}function w0(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Pa(rt(e)))),e}function Y_(e,n){return(e.flags&(n?8:16))!==0}function I0(e,n=""){let t=C(),r=J(),o=e+X,i=r.firstCreatePass?Fr(r,o,1,n,null):r.data[o],s=S0(r,t,i,n);t[o]=s,ec()&&rh(r,t,s,i),wr(i,!1)}var S0=(e,n,t,r)=>($i(!0),PI(n[te],r));function Z_(e,n,t,r=""){return Ze(e,nn(),t)?n+vr(t)+r:Ue}function M0(e,n,t,r,o,i=""){let s=vg(),a=xo(e,s,t,o);return Za(2),a?n+vr(t)+r+vr(o)+i:Ue}function K_(e){return Ah("",e),K_}function Ah(e,n,t){let r=C(),o=Z_(r,e,n,t);return o!==Ue&&Q_(r,ht(),o),Ah}function X_(e,n,t,r,o){let i=C(),s=M0(i,e,n,t,r,o);return s!==Ue&&Q_(i,ht(),s),X_}function Q_(e,n,t){let r=pd(n,e);LI(e[te],r,t)}function J_(e,n,t){Ch(n)&&(n=n());let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();My(s,r,e,n,r[te],t)}return J_}function T0(e,n){let t=Ch(e);return t&&e.set(n),t}function eb(e,n){let t=C(),r=J(),o=he();return k_(r,t,t[te],o,e,n),eb}var tb={};function nb(e){qt("NgLet");let n=J(),t=C(),r=e+X,o=Fr(n,r,128,null,null);return wr(o,!1),Bi(n,t,r,tb),nb}function x0(e){let n=J(),t=C(),r=ht();return Bi(n,t,r,e),e}function A0(e){let n=Md(),t=Do(n,X+e);if(t===tb)throw new b(314,!1);return t}function N0(e,n,t=""){return Z_(C(),e,n,t)}function Sv(e,n,t){let r=J();r.firstCreatePass&&rb(n,r.data,r.blueprint,Tt(e),t)}function rb(e,n,t,r,o){if(e=we(e),Array.isArray(e))for(let i=0;i<e.length;i++)rb(e[i],n,t,r,o);else{let i=J(),s=C(),a=he(),c=pr(e)?e:we(e.provide),l=ld(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(pr(e)||!e.multi){let p=new Tr(l,o,H,null),m=Yd(c,n,o?u:u+h,d);m===-1?(Kd(vc(a,s),i,c),qd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{let p=Yd(c,n,u+h,d),m=Yd(c,n,u,u+h),v=p>=0&&t[p],_=m>=0&&t[m];if(o&&!_||!o&&!v){Kd(vc(a,s),i,c);let D=k0(o?O0:R0,t.length,o,r,l,e);!o&&_&&(t[m].providerFactory=D),qd(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=ob(t[o?m:p],l,!o&&r);qd(i,e,p>-1?p:m,D)}!o&&r&&_&&t[m].componentProviders++}}}function qd(e,n,t,r){let o=pr(n),i=rg(n);if(o||i){let c=(i?we(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 ob(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Yd(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function R0(e,n,t,r,o){return Of(this.multi,[])}function O0(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Zi(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),Of(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Of(i,s);return s}function Of(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function k0(e,n,t,r,o,i){let s=new Tr(e,t,H,null);return s.multi=[],s.index=n,s.componentProviders=0,ob(s,o,r&&!t),s}function Fe(e,n){return t=>{t.providersResolver=(r,o)=>Sv(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Sv(r,o?o(n):n,!0))}}function F0(e,n){let t=$t()+e,r=C();return r[t]===Ue?Lo(r,t,n()):Ky(r,t)}function P0(e,n,t){return ib(C(),$t(),e,n,t)}function L0(e,n,t,r){return sb(C(),$t(),e,n,t,r)}function V0(e,n,t,r,o){return ab(C(),$t(),e,n,t,r,o)}function j0(e,n,t,r,o,i,s){return H0(C(),$t(),e,n,t,r,o,i)}function B0(e,n,t,r,o,i,s,a){let c=$t()+e,l=C(),u=Xy(l,c,t,r,o,i);return xo(l,c+4,s,a)||u?Lo(l,c+6,n(t,r,o,i,s,a)):Ky(l,c+6)}function Gc(e,n){let t=e[n];return t===Ue?void 0:t}function ib(e,n,t,r,o,i){let s=n+t;return Ze(e,s,o)?Lo(e,s+1,i?r.call(i,o):r(o)):Gc(e,s+1)}function sb(e,n,t,r,o,i,s){let a=n+t;return xo(e,a,o,i)?Lo(e,a+2,s?r.call(s,o,i):r(o,i)):Gc(e,a+2)}function ab(e,n,t,r,o,i,s,a){let c=n+t;return _M(e,c,o,i,s)?Lo(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Gc(e,c+3)}function H0(e,n,t,r,o,i,s,a,c){let l=n+t;return Xy(e,l,o,i,s,a)?Lo(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Gc(e,l+4)}function U0(e,n){let t=J(),r,o=e+X;t.firstCreatePass?(r=$0(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=Tn(r.type,!0)),s,a=Le(H);try{let c=gc(!1),l=i();return gc(c),Bi(t,C(),o,l),l}finally{Le(a)}}function $0(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function z0(e,n,t){let r=e+X,o=C(),i=Do(o,r);return Nh(o,r)?ib(o,$t(),n,i.transform,t,i):i.transform(t)}function G0(e,n,t,r){let o=e+X,i=C(),s=Do(i,o);return Nh(i,o)?sb(i,$t(),n,s.transform,t,r,s):s.transform(t,r)}function W0(e,n,t,r,o){let i=e+X,s=C(),a=Do(s,i);return Nh(s,i)?ab(s,$t(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function Nh(e,n){return e[I].data[n].pure}function q0(e,n){return Vc(e,n)}var cb=(()=>{class e{applicationErrorHandler=f(rn);appRef=f(it);taskService=f(jn);ngZone=f(M);zonelessEnabled=f(Co);tracing=f(Nt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ni):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(tc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Rg:Od;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ni+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.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lb(){return[{provide:Ct,useExisting:cb},{provide:M,useClass:Ri},{provide:Co,useValue:!0}]}function Y0(){return typeof $localize<"u"&&$localize.locale||cs}var fs=new g("",{factory:()=>f(fs,{optional:!0,skipSelf:!0})||Y0()});var Wc=class{destroyed=!1;listeners=null;errorHandler=f(Oe,{optional:!0});destroyRef=f(We);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(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(Nn(953,!1));return}if(this.listeners===null)return;let t=S(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{S(t)}}};function le(e){return Hm(e)}function Qe(e,n){return wi(e,n?.equal)}var Z0=e=>e;function Rh(e,n){if(typeof e=="function"){let t=ju(e,Z0,n?.equal);return ub(t,n?.debugName)}else{let t=ju(e.source,e.computation,e.equal);return ub(t,e.debugName)}}function ub(e,n){let t=e[me],r=e;return r.set=o=>jm(t,o),r.update=o=>Bm(t,o),r.asReadonly=zi.bind(e),r}function K0(e){let n=e.request,t=e.params??n??(()=>null);return new qc(t,Q0(e),e.defaultValue,e.equal?X0(e.equal):void 0,e.debugName,e.injector??f(O))}var Oh=class{value;isLoading;constructor(n,t){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=zi,this.isLoading=Qe(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Qe(()=>this.status()==="error");update(n){this.set(n(le(this.value)))}isValueDefined=Qe(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Qe(()=>{let n=this.status();return n==="error"?{status:"error",error:this.error()}:{status:n,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},qc=class extends Oh{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,t,r,o,i,s,a){super(Qe(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!kh(c))throw new Yc(this.error());return c.value},{equal:o}),i),this.loaderFn=t,this.equal=o,this.debugName=i,this.extRequest=Rh({source:n,computation:c=>({request:c,reload:0})}),this.state=Rh({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:db(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=Sr(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Bn),this.unregisterOnDestroy=s.get(We).onDestroy(()=>this.destroy()),this.status=Qe(()=>db(this.state()),void 0),this.error=Qe(()=>{let c=this.state().stream?.();return c&&!kh(c)?c.error:void 0},void 0)}set(n){if(this.destroyed)return;let t=le(this.error),r=le(this.state);if(!t){let o=le(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:ae({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=le(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 vn(this,null,function*(){let n=this.extRequest(),{status:t,previousStatus:r}=le(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 le(()=>this.loaderFn({params:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:ae({error:Ph(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){le(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function X0(e){return(n,t)=>n===void 0||t===void 0?n===t:e(n,t)}function Q0(e){return J0(e)?e.stream:n=>vn(null,null,function*(){try{return ae({value:yield e.loader(n)},void 0)}catch(t){return ae({error:Ph(t)},void 0)}})}function J0(e){return!!e.stream}function db(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return kh(e.stream())?"resolved":"error";default:return e.status}}function kh(e){return e.error===void 0}function Ph(e){return ex(e)?e:new Fh(e)}function ex(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Yc=class extends Error{constructor(n){super(n.message,{cause:n})}},Fh=class extends Error{constructor(n){super(String(n),{cause:n})}};var yb=Symbol("InputSignalNode#UNSET"),fx=U(E({},Ii),{transformFn:void 0,applyValueToInputSignal(e,n){dr(e,n)}});function _b(e,n){let t=Object.create(fx);t.value=e,t.transformFn=n?.transform;function r(){if(wn(t),t.value===yb){let o=null;throw new b(-950,o)}return t.value}return r[me]=t,r}var Kc=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ff(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},A8=(()=>{let e=new g("");return e.__NG_ELEMENT_ID__=n=>{let t=he();if(t===null)throw new b(-204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new b(-204,!1)},e})();function N8(e){return new Wc}function fb(e,n){return _b(e,n)}function hx(e){return _b(yb,e)}var R8=(fb.required=hx,fb);function hb(e,n){return vh(n)}function px(e,n){return yh(n)}var O8=(hb.required=px,hb);function k8(e,n){return _h(n)}function pb(e,n){return vh(n)}function mx(e,n){return yh(n)}var F8=(pb.required=mx,pb);function P8(e,n){return _h(n)}var gx=(()=>{class e{zone=f(M);changeDetectionScheduler=f(Ct);applicationRef=f(it);applicationErrorHandler=f(rn);_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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vx=new g("",{factory:()=>!1});function yx({ngZoneFactory:e,scheduleInRootZone:n}){return e??=()=>new M(U(E({},bb()),{scheduleInRootZone:n})),[{provide:Co,useValue:!1},{provide:M,useFactory:e},{provide:Rn,multi:!0,useFactory:()=>{let t=f(gx,{optional:!0});return()=>t.initialize()}},{provide:Rn,multi:!0,useFactory:()=>{let t=f(_x);return()=>{t.initialize()}}},{provide:tc,useValue:n??Rd}]}function L8(e){let n=e?.scheduleInRootZone,t=yx({ngZoneFactory:()=>{let r=bb(e);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&qt("NgZone_CoalesceEvent"),new M(r)},scheduleInRootZone:n});return ho([{provide:vx,useValue:!0},t])}function bb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var _x=(()=>{class e{subscription=new j;initialized=!1;zone=f(M);pendingTasks=f(jn);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(()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{M.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vh=new g(""),bx=new g("");function hs(e){return!e.moduleRef}function Dx(e){let n=hs(e)?e.r3Injector:e.moduleRef.injector,t=n.get(M);return t.run(()=>{hs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(rn),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),hs(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Vh);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Vh);s.add(i),e.moduleRef.onDestroy(()=>{Yi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Cx(r,t,()=>{let i=n.get(jn),s=i.add(),a=n.get(Sh);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(fs,cs);if(R_(c||cs),!n.get(bx,!0))return hs(e)?n.get(it):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(hs(e)){let u=n.get(it);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Ex?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Ex;function Cx(e,n,t){try{let r=t();return Uo(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Zc=null;function wx(e=[],n){return O.create({name:n,providers:[{provide:Vi,useValue:"platform"},{provide:Vh,useValue:new Set([()=>Zc=null])},...e]})}function Ix(e=[]){if(Zc)return Zc;let n=wx(e);return Zc=n,C_(),Sx(n),n}function Sx(e){let n=e.get(Sc,null);mo(e,()=>{n?.forEach(t=>t())})}function V8(){return!1}var Mx=1e4;var j8=Mx-1e3;var Pr=(()=>{class e{static __NG_ELEMENT_ID__=Tx}return e})();function Tx(e){return xx(he(),C(),(e&16)===16)}function xx(e,n,t){if(Ut(e)&&!t){let r=ft(e.index,n);return new Un(r,r)}else if(e.type&175){let r=n[Be];return new Un(r,n)}return null}var jh=class{supports(n){return hh(n)}create(n){return new Bh(n)}},Ax=(e,n)=>n,Bh=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||Ax}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<mb(r,o,i)?t:r,a=mb(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 h=0;h<l;h++){let p=h<i.length?i[h]:i[h]=0,m=p+h;u<=m&&m<l&&(i[h]=p+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=[]),!hh(n))throw new b(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,Yy(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 Hh(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 Xc),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 Xc),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}},Hh=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}},Uh=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}},Xc=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Uh,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 mb(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}function gb(){return new Qc([new jh])}var Qc=(()=>{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:gb});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:()=>{let r=f(e,{optional:!0,skipSelf:!0});return e.create(t,r||gb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new b(901,!1)}}return e})();function Db(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;Y(z.BootstrapApplicationStart);try{let i=o?.injector??Ix(r),s=[lb(),kg,...t||[]],a=new Ji({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Dx({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Y(z.BootstrapApplicationEnd)}}function oe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Eb(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Lh=Symbol("NOT_SET"),Cb=new Set,Nx=U(E({},Ii),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Lh,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!==Lh&&!ao(this))return this.signal;try{for(let o of this.cleanup??Cb)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Xt(this),r;try{r=this.userFn.apply(null,n)}finally{In(this,t)}return(this.value===Lh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),$h=class extends Ki{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(We),s),this.scheduler=o;for(let a of eh){let c=t[a];if(c===void 0)continue;let l=Object.create(Nx);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(wn(l),l.value),l.signal[me]=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(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??Cb)t()}finally{Sn(n)}}};function B8(e,n){let t=n?.injector??f(O),r=t.get(Ct),o=t.get(Rc),i=t.get(Nt,null,{optional:!0});o.impl??=t.get(th);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Eo,null,{optional:!0}),c=new $h(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function Jc(e,n){let t=Jt(e),r=n.elementInjector||po();return new Ao(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var wb=null;function pt(){return wb}function zh(e){wb??=e}var ps=class{},zo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(Ib),providedIn:"platform"})}return e})();var Ib=(()=>{class e extends zo{_location;_history;_doc=f(x);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pt().getBaseHref(this._doc)}onPopState(t){let r=pt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=pt().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=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Tb(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Sb(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Wn(e){return e&&e[0]!=="?"?`?${e}`:e}var el=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(Ox),providedIn:"root"})}return e})(),Rx=new g(""),Ox=(()=>{class e extends el{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(x).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 Tb(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Wn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Wn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Wn(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)(T(zo),T(Rx,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tl=(()=>{class e{_subject=new w;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=Px(Sb(Mb(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+Wn(r))}normalize(t){return e.stripTrailingSlash(Fx(this._basePath,Mb(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+Wn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Wn(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=Wn;static joinWithSlash=Tb;static stripTrailingSlash=Sb;static \u0275fac=function(r){return new(r||e)(T(el))};static \u0275prov=y({token:e,factory:()=>kx(),providedIn:"root"})}return e})();function kx(){return new tl(T(el))}function Fx(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Mb(e){return e.replace(/\/index\.html$/,"")}function Px(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Pe=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Pe||{}),re=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(re||{}),Je=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Je||{}),dn={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 Nb(e){return st(e)[ve.LocaleId]}function Rb(e,n,t){let r=st(e),o=[r[ve.DayPeriodsFormat],r[ve.DayPeriodsStandalone]],i=mt(o,n);return mt(i,t)}function Ob(e,n,t){let r=st(e),o=[r[ve.DaysFormat],r[ve.DaysStandalone]],i=mt(o,n);return mt(i,t)}function kb(e,n,t){let r=st(e),o=[r[ve.MonthsFormat],r[ve.MonthsStandalone]],i=mt(o,n);return mt(i,t)}function Fb(e,n){let r=st(e)[ve.Eras];return mt(r,n)}function ms(e,n){let t=st(e);return mt(t[ve.DateFormat],n)}function gs(e,n){let t=st(e);return mt(t[ve.TimeFormat],n)}function vs(e,n){let r=st(e)[ve.DateTimeFormat];return mt(r,n)}function ys(e,n){let t=st(e),r=t[ve.NumberSymbols][n];if(typeof r>"u"){if(n===dn.CurrencyDecimal)return t[ve.NumberSymbols][dn.Decimal];if(n===dn.CurrencyGroup)return t[ve.NumberSymbols][dn.Group]}return r}function Pb(e){if(!e[ve.ExtraData])throw new b(2303,!1)}function Lb(e){let n=st(e);return Pb(n),(n[ve.ExtraData][2]||[]).map(r=>typeof r=="string"?Gh(r):[Gh(r[0]),Gh(r[1])])}function Vb(e,n,t){let r=st(e);Pb(r);let o=[r[ve.ExtraData][0],r[ve.ExtraData][1]],i=mt(o,n)||[];return mt(i,t)||[]}function mt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new b(2304,!1)}function Gh(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var Lx=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nl={},Vx=/((?:[^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]*)/,jx=256;function jb(e,n,t,r){let o=Zx(e);Bx(n),n=un(t,n)||n;let s=[],a;for(;n;)if(a=Vx.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=Hb(r,c),o=Yx(o,r));let l="";return s.forEach(u=>{let d=Wx(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Bx(e){if(e.length>jx)throw new b(2300,!1)}function al(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function un(e,n){let t=Nb(e);if(nl[t]??={},nl[t][n])return nl[t][n];let r="";switch(n){case"shortDate":r=ms(e,Je.Short);break;case"mediumDate":r=ms(e,Je.Medium);break;case"longDate":r=ms(e,Je.Long);break;case"fullDate":r=ms(e,Je.Full);break;case"shortTime":r=gs(e,Je.Short);break;case"mediumTime":r=gs(e,Je.Medium);break;case"longTime":r=gs(e,Je.Long);break;case"fullTime":r=gs(e,Je.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=rl(vs(e,Je.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=rl(vs(e,Je.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),l=un(e,"longDate");r=rl(vs(e,Je.Long),[c,l]);break;case"full":let u=un(e,"fullTime"),d=un(e,"fullDate");r=rl(vs(e,Je.Full),[u,d]);break}return r&&(nl[t][n]=r),r}function rl(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function kt(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 Hx(e,n){return kt(e,3).substring(0,n)}function Ee(e,n,t=0,r=!1,o=!1){return function(i,s){let a=Ux(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return Hx(a,n);let c=ys(s,dn.MinusSign);return kt(a,n,c,r,o)}}function Ux(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 b(2301,!1)}}function ie(e,n,t=Pe.Format,r=!1){return function(o,i){return $x(o,i,e,n,t,r)}}function $x(e,n,t,r,o,i){switch(t){case 2:return kb(n,o,r)[e.getMonth()];case 1:return Ob(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=Lb(n),u=Vb(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,v=s>=p.hours&&a>=p.minutes,_=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(v&&_)return!0}else if(v||_)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Rb(n,o,r)[s<12?0:1];case 3:return Fb(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new b(2302,!1)}}function ol(e){return function(n,t,r){let o=-1*r,i=ys(t,dn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+kt(s,2,i)+kt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+kt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var zx=0,sl=4;function Gx(e){let n=al(e,zx,1).getDay();return al(e,0,1+(n<=sl?sl:sl+7)-n)}function Bb(e){let n=e.getDay(),t=n===0?-3:sl-n;return al(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Wh(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=Bb(t),s=Gx(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return kt(o,e,ys(r,dn.MinusSign))}}function il(e,n=!1){return function(t,r){let i=Bb(t).getFullYear();return kt(i,e,ys(r,dn.MinusSign),n)}}var qh={};function Wx(e){if(qh[e])return qh[e];let n;switch(e){case"G":case"GG":case"GGG":n=ie(3,re.Abbreviated);break;case"GGGG":n=ie(3,re.Wide);break;case"GGGGG":n=ie(3,re.Narrow);break;case"y":n=Ee(0,1,0,!1,!0);break;case"yy":n=Ee(0,2,0,!0,!0);break;case"yyy":n=Ee(0,3,0,!1,!0);break;case"yyyy":n=Ee(0,4,0,!1,!0);break;case"Y":n=il(1);break;case"YY":n=il(2,!0);break;case"YYY":n=il(3);break;case"YYYY":n=il(4);break;case"M":case"L":n=Ee(1,1,1);break;case"MM":case"LL":n=Ee(1,2,1);break;case"MMM":n=ie(2,re.Abbreviated);break;case"MMMM":n=ie(2,re.Wide);break;case"MMMMM":n=ie(2,re.Narrow);break;case"LLL":n=ie(2,re.Abbreviated,Pe.Standalone);break;case"LLLL":n=ie(2,re.Wide,Pe.Standalone);break;case"LLLLL":n=ie(2,re.Narrow,Pe.Standalone);break;case"w":n=Wh(1);break;case"ww":n=Wh(2);break;case"W":n=Wh(1,!0);break;case"d":n=Ee(2,1);break;case"dd":n=Ee(2,2);break;case"c":case"cc":n=Ee(7,1);break;case"ccc":n=ie(1,re.Abbreviated,Pe.Standalone);break;case"cccc":n=ie(1,re.Wide,Pe.Standalone);break;case"ccccc":n=ie(1,re.Narrow,Pe.Standalone);break;case"cccccc":n=ie(1,re.Short,Pe.Standalone);break;case"E":case"EE":case"EEE":n=ie(1,re.Abbreviated);break;case"EEEE":n=ie(1,re.Wide);break;case"EEEEE":n=ie(1,re.Narrow);break;case"EEEEEE":n=ie(1,re.Short);break;case"a":case"aa":case"aaa":n=ie(0,re.Abbreviated);break;case"aaaa":n=ie(0,re.Wide);break;case"aaaaa":n=ie(0,re.Narrow);break;case"b":case"bb":case"bbb":n=ie(0,re.Abbreviated,Pe.Standalone,!0);break;case"bbbb":n=ie(0,re.Wide,Pe.Standalone,!0);break;case"bbbbb":n=ie(0,re.Narrow,Pe.Standalone,!0);break;case"B":case"BB":case"BBB":n=ie(0,re.Abbreviated,Pe.Format,!0);break;case"BBBB":n=ie(0,re.Wide,Pe.Format,!0);break;case"BBBBB":n=ie(0,re.Narrow,Pe.Format,!0);break;case"h":n=Ee(3,1,-12);break;case"hh":n=Ee(3,2,-12);break;case"H":n=Ee(3,1);break;case"HH":n=Ee(3,2);break;case"m":n=Ee(4,1);break;case"mm":n=Ee(4,2);break;case"s":n=Ee(5,1);break;case"ss":n=Ee(5,2);break;case"S":n=Ee(6,1);break;case"SS":n=Ee(6,2);break;case"SSS":n=Ee(6,3);break;case"Z":case"ZZ":case"ZZZ":n=ol(0);break;case"ZZZZZ":n=ol(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ol(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=ol(2);break;default:return null}return qh[e]=n,n}function Hb(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function qx(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function Yx(e,n,t){let o=e.getTimezoneOffset(),i=Hb(n,o);return qx(e,-1*(i-o))}function Zx(e){if(xb(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(Lx))return Kx(r)}let n=new Date(e);if(!xb(n))throw new b(2311,!1);return n}function Kx(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 xb(e){return e instanceof Date&&!isNaN(e.valueOf())}var Yh=/\s+/,Ab=[],Xx=(()=>{class e{_ngEl;_renderer;initialClasses=Ab;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Yh):Ab}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Yh):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(Yh).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)(H(B),H(Ke))};static \u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Qx=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(O);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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.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)(H(ot))};static \u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[He]})}return e})();function Jx(e,n){return new b(2100,!1)}var eA="mediumDate",Ub=new g(""),$b=new g(""),tA=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??eA,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return jb(t,s,i||this.locale,a)}catch(s){throw Jx(e,s.message)}}static \u0275fac=function(r){return new(r||e)(H(fs,16),H(Ub,24),H($b,24))};static \u0275pipe=Hc({name:"date",type:e,pure:!0})}return e})();var nA=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Hc({name:"json",type:e,pure:!1})}return e})();var zb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();function _s(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 Lr=class{};var Zh="browser";function Gb(e){return e===Zh}var bs=class{_doc;constructor(n){this._doc=n}manager},cl=(()=>{class e extends bs{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)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),dl=new g(""),Jh=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof cl));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof cl);i&&this._plugins.push(i)}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 b(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(T(dl),T(M))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Kh="ng-app-id";function Wb(e){for(let n of e)n.remove()}function qb(e,n){let t=n.createElement("style");return t.textContent=e,t}function oA(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Kh}="${n}"],link[${Kh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Kh),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 Qh(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var ep=(()=>{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,oA(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,qb);r?.forEach(o=>this.addUsage(o,this.external,Qh))}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&&(Wb(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Wb(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,qb(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Qh(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)(T(x),T(zn),T(kr,8),T(Or))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Xh={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"},tp=/%COMP%/g;var Zb="%COMP%",iA=`_nghost-${Zb}`,sA=`_ngcontent-${Zb}`,aA=!0,cA=new g("",{factory:()=>aA});function lA(e){return sA.replace(tp,e)}function uA(e){return iA.replace(tp,e)}function Kb(e,n){return n.map(t=>t.replace(tp,e))}var np=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Ds(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof ul?o.applyToHost(t):o instanceof Es&&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.tracingService;switch(r.encapsulation){case At.Emulated:i=new ul(c,l,r,this.appId,u,s,a,d);break;case At.ShadowDom:return new ll(c,t,r,s,a,this.nonce,d,l);case At.ExperimentalIsolatedShadowDom:return new ll(c,t,r,s,a,this.nonce,d);default:i=new Es(c,l,r,u,s,a,d);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)(T(Jh),T(ep),T(zn),T(cA),T(x),T(M),T(kr),T(Nt,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Ds=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Xh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Yb(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Yb(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 b(-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=Xh[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Xh[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&(Gt.DashCase|Gt.Important)?n.style.setProperty(t,r,o&Gt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Gt.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=pt().getGlobalEventTarget(this.doc,n),!n))throw new b(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 Yb(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ll=class extends Ds{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Kb(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Qh(d,o);s&&h.setAttribute("nonce",s),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&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Es=class extends Ds{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Kb(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&xr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ul=class extends Es{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=lA(l),this.hostAttr=uA(l)}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 fl=class e extends ps{supportsDOMEvents=!0;static makeCurrent(){zh(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=dA();return t==null?null:fA(t)}resetBaseElement(){Cs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _s(document.cookie,n)}},Cs=null;function dA(){return Cs=Cs||document.head.querySelector("base"),Cs?Cs.getAttribute("href"):null}function fA(e){return new URL(e,document.baseURI).pathname}var hA=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Xb=["alt","control","meta","shift"],pA={"\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"},mA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Qb=(()=>{class e extends bs{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(()=>pt().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."),Xb.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=pA[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"),Xb.forEach(s=>{if(s!==o){let a=mA[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)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function gA(e,n,t){return vn(this,null,function*(){let r=E({rootComponent:e},vA(n,t));return Db(r)})}function vA(e,n){return{platformRef:n?.platformRef,appProviders:[...EA,...e?.providers??[]],platformProviders:DA}}function yA(){fl.makeCurrent()}function _A(){return new Oe}function bA(){return Lf(document),document}var DA=[{provide:Or,useValue:Zh},{provide:Sc,useValue:yA,multi:!0},{provide:x,useFactory:bA}];var EA=[{provide:Vi,useValue:"root"},{provide:Oe,useFactory:_A},{provide:dl,useClass:cl,multi:!0},{provide:dl,useClass:Qb,multi:!0},np,ep,Jh,{provide:Se,useExisting:np},{provide:Lr,useClass:hA},[]];var qn=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();for(let[t,r]of n.headers.entries())this.headers.set(t,r),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)||[]).slice():[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(i===void 0)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(t);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}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 pl=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()}},ml=class{encodeKey(n){return Jb(n)}encodeValue(n){return Jb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function CA(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 wA=/%(\d[a-f0-9])/gi,IA={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Jb(e){return encodeURIComponent(e).replace(wA,(n,t)=>IA[t]??n)}function hl(e){return`${e}`}var fn=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new ml,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=CA(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(hl):[hl(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(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,t]of this.cloneFrom.map.entries())this.map.set(n,t);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=n.op==="a"?(this.map.get(n.param)||[]).slice():[];t.push(hl(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),o=r.indexOf(hl(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}}};function SA(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function eD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tD(e){return typeof Blob<"u"&&e instanceof Blob}function nD(e){return typeof FormData<"u"&&e instanceof FormData}function MA(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var rD="Content-Type",oD="Accept",sD="text/plain",aD="application/json",TA=`${aD}, ${sD}, */*`,Go=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(SA(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 b(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new qn,this.context??=new pl,!this.params)this.params=new fn,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"||eD(this.body)||tD(this.body)||nD(this.body)||MA(this.body)?this.body:this.body instanceof fn?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||nD(this.body)?null:tD(this.body)?this.body.type||null:eD(this.body)?null:typeof this.body=="string"?sD:this.body instanceof fn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?aD: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.referrer??this.referrer,h=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,k=n.reportProgress??this.reportProgress,Me=n.headers||this.headers,ue=n.params||this.params,gn=n.context??this.context;return n.setHeaders!==void 0&&(Me=Object.keys(n.setHeaders).reduce((_t,er)=>_t.set(er,n.setHeaders[er]),Me)),n.setParams&&(ue=Object.keys(n.setParams).reduce((_t,er)=>_t.set(er,n.setParams[er]),ue)),new e(t,r,_,{params:ue,headers:Me,context:gn,reportProgress:k,responseType:o,withCredentials:D,transferCache:m,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},Vr=(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})(Vr||{}),qo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new qn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},gl=class e extends qo{constructor(n={}){super(n)}type=Vr.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})}},ws=class e extends qo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Vr.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,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Wo=class extends qo{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}},xA=200,AA=204;var NA=new g("");var RA=/^\)\]\}',?\n/;var op=(()=>{class e{xhrFactory;tracingService=f(Nt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return pe(null).pipe(io(()=>new R(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((_,D)=>s.setRequestHeader(_,D.join(","))),t.headers.has(oD)||s.setRequestHeader(oD,TA),!t.headers.has(rD)){let _=t.detectContentTypeHeader();_!==null&&s.setRequestHeader(rD,_)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let _=t.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let _=s.statusText||"OK",D=new qn(s.getAllResponseHeaders()),k=s.responseURL||t.url;return c=new gl({headers:D,status:s.status,statusText:_,url:k}),c},u=this.maybePropagateTrace(()=>{let{headers:_,status:D,statusText:k,url:Me}=l(),ue=null;D!==AA&&(ue=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=ue?xA:0);let gn=D>=200&&D<300;if(t.responseType==="json"&&typeof ue=="string"){let _t=ue;ue=ue.replace(RA,"");try{ue=ue!==""?JSON.parse(ue):null}catch(er){ue=_t,gn&&(gn=!1,ue={error:er,text:ue})}}gn?(i.next(new ws({body:ue,headers:_,status:D,statusText:k,url:Me||void 0})),i.complete()):i.error(new Wo({error:ue,headers:_,status:D,statusText:k,url:Me||void 0}))}),d=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new Wo({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(k)}),h=d;t.timeout&&(h=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new Wo({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(k)}));let p=!1,m=this.maybePropagateTrace(_=>{p||(i.next(l()),p=!0);let D={type:Vr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),v=this.maybePropagateTrace(_=>{let D={type:Vr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),i.next(D)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:Vr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Lr))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OA=new g("",{factory:()=>!0}),kA="XSRF-TOKEN",FA=new g("",{factory:()=>kA}),PA="X-XSRF-TOKEN",LA=new g("",{factory:()=>PA}),VA=(()=>{class e{cookieName=f(FA);doc=f(x);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=_s(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(VA),o},providedIn:"root"})}return e})();function lD(e,n){if(!f(OA)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=f(zo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch(o){return n(e)}let t=f(cD).getToken(),r=f(LA);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}function uD(e,n){return n(e)}function jA(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function BA(e,n,t){return(r,o)=>mo(t,()=>n(r,i=>e(i,o)))}var dD=new g(""),ip=new g("",{factory:()=>[lD]}),fD=new g(""),sp=new g("",{factory:()=>!0});function HA(){let e=null;return(n,t)=>{e===null&&(e=(f(dD,{optional:!0})??[]).reduceRight(jA,uD));let r=f(Bn);if(f(sp)){let i=r.add();return e(n,t).pipe(oo(i))}else return e(n,t)}}var ap=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(op),o},providedIn:"root"})}return e})();var vl=(()=>{class e{backend;injector;chain=null;pendingTasks=f(Bn);contributeToStability=f(sp);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=this.injector.get(yl,null,{skipSelf:!0}),o=r!==null&&this.backend===r,i=this.injector.get(fD,[],o?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(ip),...i]));this.chain=s.reduceRight((a,c)=>BA(a,c,this.injector),uD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(oo(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(ap),T(de))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(vl),o},providedIn:"root"})}return e})();function rp(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,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var _l=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Go)i=t;else{let c;o.headers instanceof qn?c=o.headers:c=new qn(o.headers);let l;o.params&&(o.params instanceof fn?l=o.params:l=new fn({fromObject:o.params})),i=new Go(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,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=pe(i).pipe(Iu(c=>this.handler.handle(c)));if(t instanceof Go||o.observe==="events")return s;let a=s.pipe(Ce(c=>c instanceof ws));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Q(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(Q(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(Q(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(Q(c=>c.body))}case"response":return a;default:throw new b(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 fn().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,rp(o,r))}post(t,r,o={}){return this.request("POST",t,rp(o,r))}put(t,r,o={}){return this.request("PUT",t,rp(o,r))}static \u0275fac=function(r){return new(r||e)(T(yl))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cp=(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})(cp||{});function UA(e,n){return{\u0275kind:e,\u0275providers:n}}function $A(...e){let n=[_l,vl,{provide:yl,useExisting:vl},{provide:ap,useFactory:()=>f(NA,{optional:!0})??f(op)},{provide:ip,useValue:lD,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return ho(n)}var iD=new g("");function zA(){return UA(cp.LegacyInterceptors,[{provide:iD,useFactory:HA},{provide:ip,useExisting:iD,multi:!0}])}var Is=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(WA),o},providedIn:"root"})}return e})(),WA=(()=>{class e extends Is{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case K.NONE:return r;case K.HTML:return Wt(r,"HTML")?rt(r):xc(this._doc,String(r)).toString();case K.STYLE:return Wt(r,"Style")?rt(r):r;case K.SCRIPT:if(Wt(r,"Script"))return rt(r);throw new b(5200,!1);case K.URL:return Wt(r,"URL")?rt(r):rs(String(r));case K.RESOURCE_URL:if(Wt(r,"ResourceURL"))return rt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(t){return Uf(t)}bypassSecurityTrustStyle(t){return $f(t)}bypassSecurityTrustScript(t){return zf(t)}bypassSecurityTrustUrl(t){return Gf(t)}bypassSecurityTrustResourceUrl(t){return Wf(t)}static \u0275fac=function(r){return new(r||e)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ss(e){return e.buttons===0||e.detail===0}function Ms(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 lp;function hD(){if(lp==null){let e=typeof document<"u"?document.head:null;lp=!!(e&&(e.createShadowRoot||e.attachShadow))}return lp}function up(e){if(hD()){let n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function jr(){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 $e(e){return e.composedPath?e.composedPath()[0]:e.target}var dp;try{dp=typeof Intl<"u"&&Intl.v8BreakIterator}catch(e){dp=!1}var se=(()=>{class e{_platformId=f(Or);isBrowser=this._platformId?Gb(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||dp)&&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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ts;function pD(){if(Ts==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ts=!0}))}finally{Ts=Ts||!1}return Ts}function Yo(e){return pD()?e:!!e.capture}function Ft(e,n=0){return mD(e)?Number(e):arguments.length===2?n:0}function mD(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function gt(e){return e instanceof B?e.nativeElement:e}var gD=new g("cdk-input-modality-detector-options"),vD={ignoreKeys:[18,17,224,91,16]},yD=650,fp={passive:!0,capture:!0},_D=(()=>{class e{_platform=f(se);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new or(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(r=>r===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$e(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<yD||(this._modality.next(Ss(t)?"keyboard":"mouse"),this._mostRecentTarget=$e(t))};_onTouchstart=t=>{if(Ms(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$e(t)};constructor(){let t=f(M),r=f(x),o=f(gD,{optional:!0});if(this._options=E(E({},vD),o),this.modalityDetected=this._modality.pipe(Di(1)),this.modalityChanged=this.modalityDetected.pipe(ar()),this._platform.isBrowser){let i=f(Se).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,fp),i.listen(r,"mousedown",this._onMousedown,fp),i.listen(r,"touchstart",this._onTouchstart,fp)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xs=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(xs||{}),bD=new g("cdk-focus-monitor-default-options"),bl=Yo({passive:!0,capture:!0}),Zo=(()=>{class e{_ngZone=f(M);_platform=f(se);_inputModalityDetector=f(_D);_origin=null;_lastFocusOrigin=null;_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(x);_stopInputModalityDetector=new w;constructor(){let t=f(bD,{optional:!0});this._detectionMode=t?.detectionMode||xs.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let r=$e(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=gt(t);if(!this._platform.isBrowser||o.nodeType!==1)return pe();let i=up(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new w,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let r=gt(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=gt(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===xs.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===xs.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?yD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,r){let o=this._elementInfo.get(r),i=$e(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,bl),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,bl)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Kt(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,bl),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,bl),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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YA=(()=>{class e{_elementRef=f(B);_focusMonitor=f(Zo);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new $;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?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();var Dl=new WeakMap,vt=(()=>{class e{_appRef;_injector=f(O);_environmentInjector=f(de);load(t){let r=this._appRef=this._appRef||this._injector.get(it),o=Dl.get(r);o||(o={loaders:new Set,refs:[]},Dl.set(r,o),r.onDestroy(()=>{Dl.get(r)?.refs.forEach(i=>i.destroy()),Dl.delete(r)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(Jc(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden {
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function tr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var j=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(F(r))try{r()}catch(i){n=i instanceof Ks?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{tm(i)}catch(s){n=n??[],s instanceof Ks?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ks(n)}}add(n){var t;if(n&&n!==this)if(this.closed)tm(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)&&tr(t,n)}remove(n){let{_finalizers:t}=this;t&&tr(t,n),n instanceof e&&n._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var uu=j.EMPTY;function Xs(e){return e instanceof j||e&&"closed"in e&&F(e.remove)&&F(e.add)&&F(e.unsubscribe)}function tm(e){F(e)?e():e.unsubscribe()}var bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kr={setTimeout(e,n,...t){let{delegate:r}=Kr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Kr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Qs(e){Kr.setTimeout(()=>{let{onUnhandledError:n}=bt;if(n)n(e);else throw e})}function li(){}var nm=du("C",void 0,void 0);function rm(e){return du("E",void 0,e)}function om(e){return du("N",e,void 0)}function du(e,n,t){return{kind:e,value:n,error:t}}var nr=null;function Xr(e){if(bt.useDeprecatedSynchronousErrorHandling){let n=!nr;if(n&&(nr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=nr;if(nr=null,t)throw r}}else e()}function im(e){bt.useDeprecatedSynchronousErrorHandling&&nr&&(nr.errorThrown=!0,nr.error=e)}var rr=class extends j{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Xs(n)&&n.add(this)):this.destination=hC}static create(n,t,r){return new Dt(n,t,r)}next(n){this.isStopped?hu(om(n),this):this._next(n)}error(n){this.isStopped?hu(rm(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?hu(nm,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()}}},dC=Function.prototype.bind;function fu(e,n){return dC.call(e,n)}var pu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Js(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Js(r)}else Js(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Js(t)}}},Dt=class extends rr{constructor(n,t,r){super();let o;if(F(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&bt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&fu(n.next,i),error:n.error&&fu(n.error,i),complete:n.complete&&fu(n.complete,i)}):o=n}this.destination=new pu(o)}};function Js(e){bt.useDeprecatedSynchronousErrorHandling?im(e):Qs(e)}function fC(e){throw e}function hu(e,n){let{onStoppedNotification:t}=bt;t&&Kr.setTimeout(()=>t(e,n))}var hC={closed:!0,next:li,error:fC,complete:li};function pC(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Dt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new em)}});e.subscribe(i)})}var Qr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Et(e){return e}function sm(e){return e.length===0?Et:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var R=(()=>{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=gC(t)?t:new Dt(t,r,o);return Xr(()=>{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=am(r),new r((o,i)=>{let s=new Dt({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)}[Qr](){return this}pipe(...t){return sm(t)(this)}toPromise(t){return t=am(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 am(e){var n;return(n=e??bt.Promise)!==null&&n!==void 0?n:Promise}function mC(e){return e&&F(e.next)&&F(e.error)&&F(e.complete)}function gC(e){return e&&e instanceof rr||mC(e)&&Xs(e)}function mu(e){return F(e?.lift)}function L(e){return n=>{if(mu(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 P(e,n,t,r,o){return new ui(e,n,t,r,o)}var ui=class extends rr{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 cm(){return L((e,n)=>{let t=null;e._refCount++;let r=P(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 di=class extends R{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,mu(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 j;let t=this.getSubject();n.add(this.source.subscribe(P(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=j.EMPTY)}return n}refCount(){return cm()(this)}};var Jr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Jr;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new j(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Jr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Jr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var lm=Zr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var w=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ea(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new lm}next(t){Xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Xr(()=>{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(){Xr(()=>{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?uu:(this.currentObservers=null,i.push(t),new j(()=>{this.currentObservers=null,tr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new R;return t.source=this,t}}return e.create=(n,t)=>new ea(n,t),e})(),ea=class extends w{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:uu}};var or=class extends w{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 fi={now(){return(fi.delegate||Date).now()},delegate:void 0};var yn=class extends w{constructor(n=1/0,t=1/0,r=fi){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 gu=class extends w{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(n){let{hasError:t,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;t?n.error(i):(s||a)&&(r&&n.next(o),n.complete())}next(n){this.isStopped||(this._value=n,this._hasValue=!0)}complete(){let{_hasValue:n,_value:t,_isComplete:r}=this;r||(this._isComplete=!0,n&&super.next(t),super.complete())}};var ta=class extends j{constructor(n,t){super()}schedule(n,t=0){return this}};var hi={setInterval(e,n,...t){let{delegate:r}=hi;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=hi;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var _n=class extends ta{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 hi.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&&hi.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,tr(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var vC=1,vu,yu={};function um(e){return e in yu?(delete yu[e],!0):!1}var dm={setImmediate(e){let n=vC++;return yu[n]=!0,vu||(vu=Promise.resolve()),vu.then(()=>um(n)&&e()),n},clearImmediate(e){um(e)}};var{setImmediate:yC,clearImmediate:_C}=dm,pi={setImmediate(...e){let{delegate:n}=pi;return(n?.setImmediate||yC)(...e)},clearImmediate(e){let{delegate:n}=pi;return(n?.clearImmediate||_C)(e)},delegate:void 0};var na=class extends _n{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=pi.setImmediate(n.flush.bind(n,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&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(pi.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var eo=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)}};eo.now=fi.now;var bn=class extends eo{constructor(n,t=eo.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 ra=class extends bn{flush(n){this._active=!0;let 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 _u=new ra(na);var ir=new bn(_n),fm=ir;var oa=class extends _n{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=Jr.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&&(Jr.cancelAnimationFrame(t),n._scheduled=void 0)}};var ia=class extends bn{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 bu=new ia(oa);var mi=new R(e=>e.complete());function sa(e){return e&&F(e.schedule)}function Du(e){return e[e.length-1]}function aa(e){return F(Du(e))?e.pop():void 0}function Lt(e){return sa(Du(e))?e.pop():void 0}function hm(e,n){return typeof Du(e)=="number"?e.pop():n}function mm(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 pm(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 sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function gm(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(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(v){return new Promise(function(_,D){i.push([p,v,_,D])>1||c(p,v)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(v){h(i[0][3],v)}}function l(p){p.value instanceof sr?Promise.resolve(p.value.v).then(u,d):h(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function vm(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 pm=="function"?pm(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 ca=e=>e&&typeof e.length=="number"&&typeof e!="function";function la(e){return F(e?.then)}function ua(e){return F(e[Qr])}function da(e){return Symbol.asyncIterator&&F(e?.[Symbol.asyncIterator])}function fa(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 bC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ha=bC();function pa(e){return F(e?.[ha])}function ma(e){return gm(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield sr(t.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{t.releaseLock()}})}function ga(e){return F(e?.getReader)}function ee(e){if(e instanceof R)return e;if(e!=null){if(ua(e))return DC(e);if(ca(e))return EC(e);if(la(e))return CC(e);if(da(e))return ym(e);if(pa(e))return wC(e);if(ga(e))return IC(e)}throw fa(e)}function DC(e){return new R(n=>{let t=e[Qr]();if(F(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function EC(e){return new R(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function CC(e){return new R(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Qs)})}function wC(e){return new R(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function ym(e){return new R(n=>{SC(e,n).catch(t=>n.error(t))})}function IC(e){return ym(ma(e))}function SC(e,n){var t,r,o,i;return mm(this,void 0,void 0,function*(){try{for(t=vm(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 ze(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 va(e,n=0){return L((t,r)=>{t.subscribe(P(r,o=>ze(r,e,()=>r.next(o),n),()=>ze(r,e,()=>r.complete(),n),o=>ze(r,e,()=>r.error(o),n)))})}function ya(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function _m(e,n){return ee(e).pipe(ya(n),va(n))}function bm(e,n){return ee(e).pipe(ya(n),va(n))}function Dm(e,n){return new R(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Em(e,n){return new R(t=>{let r;return ze(t,n,()=>{r=e[ha](),ze(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)}),()=>F(r?.return)&&r.return()})}function _a(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{ze(t,n,()=>{let r=e[Symbol.asyncIterator]();ze(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Cm(e,n){return _a(ma(e),n)}function wm(e,n){if(e!=null){if(ua(e))return _m(e,n);if(ca(e))return Dm(e,n);if(la(e))return bm(e,n);if(da(e))return _a(e,n);if(pa(e))return Em(e,n);if(ga(e))return Cm(e,n)}throw fa(e)}function ct(e,n){return n?wm(e,n):ee(e)}function pe(...e){let n=Lt(e);return ct(e,n)}function Eu(e,n){let t=F(e)?e:()=>e,r=o=>o.error(t());return new R(n?o=>n.schedule(r,0,o):r)}function Zt(e){return!!e&&(e instanceof R||F(e.lift)&&F(e.subscribe))}function Im(e){return e instanceof Date&&!isNaN(e)}function Q(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:MC}=Array;function TC(e,n){return MC(n)?e(...n):e(n)}function ba(e){return Q(n=>TC(e,n))}var{isArray:xC}=Array,{getPrototypeOf:AC,prototype:NC,keys:RC}=Object;function Da(e){if(e.length===1){let n=e[0];if(xC(n))return{args:n,keys:null};if(OC(n)){let t=RC(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function OC(e){return e&&typeof e=="object"&&AC(e)===NC}function Ea(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Cu(...e){let n=Lt(e),t=aa(e),{args:r,keys:o}=Da(e);if(r.length===0)return ct([],n);let i=new R(kC(r,n,o?s=>Ea(o,s):Et));return t?i.pipe(ba(t)):i}function kC(e,n,t=Et){return r=>{Sm(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Sm(n,()=>{let l=ct(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Sm(e,n,t){e?ze(t,e,n):n()}function Mm(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let _=!1;ee(t(v,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let D=c.shift();s?ze(n,s,()=>m(D)):m(D)}h()}catch(D){n.error(D)}}))};return e.subscribe(P(n,p,()=>{d=!0,h()})),()=>{a?.()}}function to(e,n,t=1/0){return F(n)?to((r,o)=>Q((i,s)=>n(r,i,o,s))(ee(e(r,o))),t):(typeof n=="number"&&(t=n),L((r,o)=>Mm(r,o,e,t)))}function Ca(e=1/0){return to(Et,e)}function Tm(){return Ca(1)}function no(...e){return Tm()(ct(e,Lt(e)))}function gi(e){return new R(n=>{ee(e()).subscribe(n)})}function vi(...e){let n=aa(e),{args:t,keys:r}=Da(e),o=new R(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;ee(t[u]).subscribe(P(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ea(r,a):a),i.complete())}))}});return n?o.pipe(ba(n)):o}function yi(e=0,n,t=fm){let r=-1;return n!=null&&(sa(n)?t=n:r=n),new R(o=>{let i=Im(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 FC(e=0,n=ir){return e<0&&(e=0),yi(e,e,n)}function wu(...e){let n=Lt(e),t=hm(e,1/0),r=e;return r.length?r.length===1?ee(r[0]):Ca(t)(ct(r,n)):mi}function _e(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function xm(e){return L((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(P(t,l=>{r=!0,o=l,i||ee(e(l)).subscribe(i=P(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function ro(e,n=ir){return xm(()=>yi(e,n))}function _i(e){return L((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=ee(e(s,_i(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Am(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(P(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 PC(e,n){return L(Am(e,n,arguments.length>=2,!1,!0))}function Iu(e,n){return F(n)?to(e,n,1):to(e,1)}function Dn(e,n=ir){return L((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(P(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 Ge(e){return e<=0?()=>mi:L((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function LC(e){return Q(()=>e)}function ar(e,n=Et){return e=e??VC,L((t,r)=>{let o,i=!0;t.subscribe(P(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function VC(e,n){return e===n}function oo(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function jC(e,n,t,r){return L((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:t,element:s,connector:r}=n;let a=new Map,c=m=>{a.forEach(m),m(i)},l=m=>c(v=>v.error(m)),u=0,d=!1,h=new ui(i,m=>{try{let v=e(m),_=a.get(v);if(!_){a.set(v,_=r?r():new w);let D=p(v,_);if(i.next(D),t){let k=P(_,()=>{_.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(v));h.add(ee(t(D)).subscribe(k))}}_.next(s?s(m):m)}catch(v){l(v)}},()=>c(m=>m.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(h);function p(m,v){let _=new R(D=>{u++;let k=v.subscribe(D);return()=>{k.unsubscribe(),--u===0&&d&&h.unsubscribe()}});return _.key=m,_}})}function Su(){return L((e,n)=>{let t,r=!1;e.subscribe(P(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function bi(e={}){let{connector:n=()=>new w,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let v=s;p(),v?.unsubscribe()};return L((v,_)=>{l++,!d&&!u&&h();let D=c=c??n();_.add(()=>{l--,l===0&&!d&&!u&&(a=Mu(m,o))}),D.subscribe(_),!s&&l>0&&(s=new Dt({next:k=>D.next(k),error:k=>{d=!0,h(),a=Mu(p,t,k),D.error(k)},complete:()=>{u=!0,h(),a=Mu(p,r),D.complete()}}),ee(v).subscribe(s))})(i)}}function Mu(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Dt({next:()=>{r.unsubscribe(),e()}});return ee(n(...t)).subscribe(r)}function Tu(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,bi({connector:()=>new yn(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Di(e){return _e((n,t)=>e<=t)}function Vt(...e){let n=Lt(e);return L((t,r)=>{(n?no(e,t,n):no(e,t)).subscribe(r)})}function io(e,n){return L((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;ee(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kt(e){return L((n,t)=>{ee(e).subscribe(P(t,()=>t.complete(),li)),!t.closed&&n.subscribe(t)})}function xu(e,n=!1){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function En(e,n,t){let r=F(e)||n||t?{next:e,error:n,complete:t}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(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)}))}):Et}var Ne=null,wa=!1,Au=1,BC=null,me=Symbol("SIGNAL");function S(e){let n=Ne;return Ne=e,n}function Ia(){return Ne}var Cn={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 wn(e){if(wa)throw new Error("");if(Ne===null)return;Ne.consumerOnSignalRead(e);let n=Ne.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=Ne.recomputing;if(r&&(t=n!==void 0?n.nextProducer:Ne.producers,t!==void 0&&t.producer===e)){Ne.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ne&&(!r||UC(o,Ne)))return;let i=co(Ne),s={producer:e,consumer:Ne,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ne.producersTail=s,n!==void 0?n.nextProducer=s:Ne.producers=s,i&&km(e,s)}function Nm(){Au++}function ur(e){if(!(co(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Au)){if(!e.producerMustRecompute(e)&&!ao(e)){so(e);return}e.producerRecomputeValue(e),so(e)}}function Nu(e){if(e.consumers===void 0)return;let n=wa;wa=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||HC(r)}}finally{wa=n}}function Ru(){return Ne?.consumerAllowSignalWrites!==!1}function HC(e){e.dirty=!0,Nu(e),e.consumerMarkedDirty?.(e)}function so(e){e.dirty=!1,e.lastCleanEpoch=Au}function Xt(e){return e&&Rm(e),S(e)}function Rm(e){e.producersTail=void 0,e.recomputing=!0}function In(e,n){S(n),e&&Om(e)}function Om(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(co(e))do t=Ou(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function ao(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(ur(t),r!==t.version))return!0}return!1}function Sn(e){if(co(e)){let n=e.producers;for(;n!==void 0;)n=Ou(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function km(e,n){let t=e.consumersTail,r=co(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)km(o.producer,o)}function Ou(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,!co(n)){let i=n.producers;for(;i!==void 0;)i=Ou(i)}return t}function co(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ei(e){BC?.(e)}function UC(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 Ci(e,n){return Object.is(e,n)}function wi(e,n){let t=Object.create($C);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(ur(t),wn(t),t.value===jt)throw t.error;return t.value};return r[me]=t,Ei(t),r}var cr=Symbol("UNSET"),lr=Symbol("COMPUTING"),jt=Symbol("ERRORED"),$C=U(E({},Cn),{value:cr,dirty:!0,error:null,equal:Ci,kind:"computed",producerMustRecompute(e){return e.value===cr||e.value===lr},producerRecomputeValue(e){if(e.value===lr)throw new Error("");let n=e.value;e.value=lr;let t=Xt(e),r,o=!1;try{r=e.computation(),S(null),o=n!==cr&&n!==jt&&r!==jt&&e.equal(n,r)}catch(i){r=jt,e.error=i}finally{In(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function zC(){throw new Error}var Fm=zC;function Pm(e){Fm(e)}function ku(e){Fm=e}var GC=null;function Fu(e,n){let t=Object.create(Ii);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Lm(t);return r[me]=t,Ei(t),[r,s=>dr(t,s),s=>Sa(t,s)]}function Lm(e){return wn(e),e.value}function dr(e,n){Ru()||Pm(e),e.equal(e.value,n)||(e.value=n,WC(e))}function Sa(e,n){Ru()||Pm(e),dr(e,n(e.value))}var Ii=U(E({},Cn),{equal:Ci,value:void 0,kind:"signal"});function WC(e){e.version++,Nm(),Nu(e),GC?.(e)}var Pu=U(E({},Cn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Lu(e){if(e.dirty=!1,e.version>0&&!ao(e))return;e.version++;let n=Xt(e);try{e.cleanup(),e.fn()}finally{In(e,n)}}var Vu;function Ma(){return Vu}function Bt(e){let n=Vu;return Vu=e,n}var Vm=Symbol("NotFound");function lo(e){return e===Vm||e?.name==="\u0275NotFound"}function ju(e,n,t){let r=Object.create(qC);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(ur(r),wn(r),r.value===jt)throw r.error;return r.value};return i[me]=r,Ei(r),i}function jm(e,n){ur(e),dr(e,n),so(e)}function Bm(e,n){if(ur(e),e.value===jt)throw e.error;Sa(e,n),so(e)}var qC=U(E({},Cn),{value:cr,dirty:!0,error:null,equal:Ci,kind:"linkedSignal",producerMustRecompute(e){return e.value===cr||e.value===lr},producerRecomputeValue(e){if(e.value===lr)throw new Error("");let n=e.value;e.value=lr;let t=Xt(e),r,o=!1;try{let i=e.source(),s=n!==cr&&n!==jt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,S(null),o=s&&r!==jt&&e.equal(n,r)}catch(i){r=jt,e.error=i}finally{In(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Hm(e){let n=S(null);try{return e()}finally{S(n)}}var Fa="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,t){super(Nn(n,t)),this.code=n}};function YC(e){return`NG0${Math.abs(e)}`}function Nn(e,n){return`${YC(e)}${n?": "+n:""}`}var lt=globalThis;function ne(e){for(let n in e)if(e[n]===ne)return n;throw Error("")}function Wm(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pa(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Pa).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 La(e,n){return e?n?`${e} ${n}`:e:n||""}var ZC=ne({__forward_ref__:ne});function Te(e){return e.__forward_ref__=Te,e}function we(e){return Qu(e)?e():e}function Qu(e){return typeof e=="function"&&e.hasOwnProperty(ZC)&&e.__forward_ref__===Te}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function G(e){return{providers:e.providers||[],imports:e.imports||[]}}function Va(e){return KC(e,ja)}function KC(e,n){return e.hasOwnProperty(n)&&e[n]||null}function XC(e){let n=e?.[ja]??null;return n||null}function Hu(e){return e&&e.hasOwnProperty(Aa)?e[Aa]:null}var ja=ne({\u0275prov:ne}),Aa=ne({\u0275inj:ne}),g=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=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ju(e){return e&&!!e.\u0275providers}var Oi=ne({\u0275cmp:ne}),ki=ne({\u0275dir:ne}),ed=ne({\u0275pipe:ne});var Mi=ne({\u0275fac:ne}),gr=ne({__NG_ELEMENT_ID__:ne}),Um=ne({__NG_ENV_ID__:ne});function Jt(e){return nd(e,"@Component"),e[Oi]||null}function Fi(e){return nd(e,"@Directive"),e[ki]||null}function td(e){return nd(e,"@Pipe"),e[ed]||null}function nd(e,n){if(e==null)throw new b(-919,!1)}function vr(e){return typeof e=="string"?e:e==null?"":String(e)}var qm=ne({ngErrorCode:ne}),QC=ne({ngErrorMessage:ne}),JC=ne({ngTokenPath:ne});function rd(e,n){return Ym("",-200,n)}function Ba(e,n){throw new b(-201,!1)}function Ym(e,n,t){let r=new b(n,e);return r[qm]=n,r[QC]=e,t&&(r[JC]=t),r}function ew(e){return e[qm]}var Uu;function Zm(){return Uu}function Le(e){let n=Uu;return Uu=e,n}function od(e,n,t){let r=Va(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;Ba(e,"")}var tw={},fr=tw,nw="__NG_DI_FLAG__",$u=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=hr(t)||0;try{return this.injector.get(n,r&8?null:fr,r)}catch(o){if(lo(o))return o;throw o}}};function rw(e,n=0){let t=Ma();if(t===void 0)throw new b(-203,!1);if(t===null)return od(e,void 0,n);{let r=ow(n),o=t.retrieve(e,r);if(lo(o)){if(r.optional)return null;throw o}return o}}function T(e,n=0){return(Zm()||rw)(we(e),n)}function f(e,n){return T(e,hr(n))}function hr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ow(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function zu(e){let n=[];for(let t=0;t<e.length;t++){let r=we(e[t]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=iw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(T(o,i))}else n.push(T(r))}return n}function iw(e){return e[nw]}function Tn(e,n){let t=e.hasOwnProperty(Mi);return t?e[Mi]:null}function Km(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 Xm(e){return e.flat(Number.POSITIVE_INFINITY)}function Ha(e,n){e.forEach(t=>Array.isArray(t)?Ha(t,n):n(t))}function id(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Pi(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Qm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Jm(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 Li(e,n,t){let r=fo(e,n);return r>=0?e[r|1]=t:(r=~r,Jm(e,r,n,t)),r}function Ua(e,n){let t=fo(e,n);if(t>=0)return e[t|1]}function fo(e,n){return sw(e,n,1)}function sw(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 wt={},Re=[],Rn=new g(""),sd=new g("",-1),ad=new g(""),Ti=class{get(n,t=fr){if(t===fr){let o=Ym("",-201);throw o.name="\u0275NotFound",o}return t}};function ho(e){return{\u0275providers:e}}function eg(...e){return{\u0275providers:$a(!0,e),\u0275fromNgModule:!0}}function $a(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Ha(n,s=>{let a=s;Na(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&tg(o,i),t}function tg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];cd(o,i=>{n(i,r)})}}function Na(e,n,t,r){if(e=we(e),!e)return!1;let o=null,i=Hu(e),s=!i&&Jt(e);if(!i&&!s){let c=e.ngModule;if(i=Hu(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)Na(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Ha(i.imports,u=>{Na(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&tg(l,n)}if(!a){let l=Tn(o)||(()=>new o);n({provide:o,useFactory:l,deps:Re},o),n({provide:ad,useValue:o,multi:!0},o),n({provide:Rn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;cd(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function cd(e,n){for(let t of e)Ju(t)&&(t=t.\u0275providers),Array.isArray(t)?cd(t,n):n(t)}var aw=ne({provide:String,useValue:ne});function ng(e){return e!==null&&typeof e=="object"&&aw in e}function cw(e){return!!(e&&e.useExisting)}function lw(e){return!!(e&&e.useFactory)}function pr(e){return typeof e=="function"}function rg(e){return!!e.useClass}var Vi=new g(""),Ta={},$m={},Bu;function po(){return Bu===void 0&&(Bu=new Ti),Bu}var de=class{},mr=class extends de{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,Wu(n,s=>this.processProvider(s)),this.records.set(sd,uo(void 0,this)),o.has("environment")&&this.records.set(de,uo(void 0,this));let i=this.records.get(Vi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ad,Re,{self:!0}))}retrieve(n,t){let r=hr(t)||0;try{return this.get(n,fr,r)}catch(o){if(lo(o))return o;throw o}}destroy(){Si(this),this._destroyed=!0;let n=S(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(),S(n)}}onDestroy(n){return Si(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Si(this);let t=Bt(this),r=Le(void 0),o;try{return n()}finally{Bt(t),Le(r)}}get(n,t=fr,r){if(Si(this),n.hasOwnProperty(Um))return n[Um](this);let o=hr(r),i,s=Bt(this),a=Le(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=pw(n)&&Va(n);u&&this.injectableDefInScope(u)?l=uo(Gu(n),Ta):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===fr?null:t,c.get(n,t)}catch(c){let l=ew(c);throw l===-200||l===-201?new b(l,null):c}finally{Le(a),Bt(s)}}resolveInjectorInitializers(){let n=S(null),t=Bt(this),r=Le(void 0),o;try{let i=this.get(Rn,Re,{self:!0});for(let s of i)s()}finally{Bt(t),Le(r),S(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=we(n);let t=pr(n)?n:we(n&&n.provide),r=dw(n);if(!pr(n)&&n.multi===!0){let o=this.records.get(t);o||(o=uo(void 0,Ta,!0),o.factory=()=>zu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=S(null);try{if(t.value===$m)throw rd("");return t.value===Ta&&(t.value=$m,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&hw(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{S(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=we(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 Gu(e){let n=Va(e),t=n!==null?n.factory:Tn(e);if(t!==null)return t;if(e instanceof g)throw new b(-204,!1);if(e instanceof Function)return uw(e);throw new b(-204,!1)}function uw(e){if(e.length>0)throw new b(-204,!1);let t=XC(e);return t!==null?()=>t.factory(e):()=>new e}function dw(e){if(ng(e))return uo(void 0,e.useValue);{let n=ld(e);return uo(n,Ta)}}function ld(e,n,t){let r;if(pr(e)){let o=we(e);return Tn(o)||Gu(o)}else if(ng(e))r=()=>we(e.useValue);else if(lw(e))r=()=>e.useFactory(...zu(e.deps||[]));else if(cw(e))r=(o,i)=>T(we(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=we(e&&(e.useClass||e.provide));if(fw(e))r=()=>new o(...zu(e.deps));else return Tn(o)||Gu(o)}return r}function Si(e){if(e.destroyed)throw new b(-205,!1)}function uo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function fw(e){return!!e.deps}function hw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function pw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wu(e,n){for(let t of e)Array.isArray(t)?Wu(t,n):t&&Ju(t)?Wu(t.\u0275providers,n):n(t)}function mo(e,n){let t;e instanceof mr?(Si(e),t=e):t=new $u(e);let r,o=Bt(t),i=Le(void 0);try{return n()}finally{Bt(o),Le(i)}}function og(){return Zm()!==void 0||Ma()!=null}var It=0,I=1,A=2,be=3,ut=4,Ve=5,yr=6,go=7,ge=8,je=9,St=10,te=11,vo=12,ud=13,_r=14,Be=15,On=16,br=17,Ht=18,en=19,dd=20,Qt=21,za=22,xn=23,et=24,Dr=25,kn=26,X=27,ig=1,Fn=6,Pn=7,ji=8,Er=9,fe=10;function tn(e){return Array.isArray(e)&&typeof e[ig]=="object"}function Mt(e){return Array.isArray(e)&&e[ig]===!0}function fd(e){return(e.flags&4)!==0}function Ut(e){return e.componentOffset>-1}function yo(e){return(e.flags&1)===1}function Tt(e){return!!e.template}function _o(e){return(e[A]&512)!==0}function Ln(e){return(e[A]&256)===256}var K=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(K||{}),xa,xi="svg",hd="math";function sg(){return xa||(xa={},Mn(K.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Mn(K.STYLE,void 0,[["*",["style"]]]),Mn(K.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Mn(K.URL,hd,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Mn(K.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Mn(K.URL,xi,[["a",["href","xlink:href"]]]),Mn(K.ATTRIBUTE_NO_BINDING,xi,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Mn(K.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),xa}function Mn(e,n,t){for(let[r,o]of t){let i=n&&r!=="unknown"?`:${n}:${r}`:r;i=i.toLowerCase();for(let s of o)xa[`${i}|${s.toLowerCase()}`]=e}}function ag(e,n,t){let r=sg(),o=e.toLowerCase(),i=n.toLowerCase(),s=t&&o!=="*"&&o!=="unknown"?r[`:${t}:${o}|${i}`]:void 0,a=t?r[`:${t}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??K.NONE}function dt(e){for(;Array.isArray(e);)e=e[It];return e}function pd(e,n){return dt(n[e])}function tt(e,n){return dt(n[e.index])}function bo(e,n){return e.data[n]}function Do(e,n){return e[n]}function Bi(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function ft(e,n){let t=n[e];return tn(t)?t:t[It]}function cg(e){return(e[A]&4)===4}function Ga(e){return(e[A]&128)===128}function lg(e){return Mt(e[be])}function nt(e,n){return n==null?null:e[n]}function md(e){e[br]=0}function gd(e){e[A]&1024||(e[A]|=1024,Ga(e)&&Cr(e))}function ug(e,n){for(;e>0;)n=n[_r],e--;return n}function Hi(e){return!!(e[A]&9216||e[et]?.dirty)}function Wa(e){e[St].changeDetectionScheduler?.notify(8),e[A]&64&&(e[A]|=1024),Hi(e)&&Cr(e)}function Cr(e){e[St].changeDetectionScheduler?.notify(0);let n=An(e);for(;n!==null&&!(n[A]&8192||(n[A]|=8192,!Ga(n)));)n=An(n)}function qa(e,n){if(Ln(e))throw new b(911,!1);e[Qt]===null&&(e[Qt]=[]),e[Qt].push(n)}function vd(e,n){if(e[Qt]===null)return;let t=e[Qt].indexOf(n);t!==-1&&e[Qt].splice(t,1)}function An(e){let n=e[be];return Mt(n)?n[be]:n}function yd(e){return e[go]??=[]}function _d(e){return e.cleanup??=[]}function dg(e,n,t,r){let o=yd(n);o.push(t),e.firstCreatePass&&_d(e).push(r,o.length-1)}var V={lFrame:wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qu=!1;function fg(){return V.lFrame.elementDepthCount}function hg(){V.lFrame.elementDepthCount++}function bd(){V.lFrame.elementDepthCount--}function Ya(){return V.bindingsEnabled}function Dd(){return V.skipHydrationRootTNode!==null}function Ed(e){return V.skipHydrationRootTNode===e}function Cd(){V.skipHydrationRootTNode=null}function C(){return V.lFrame.lView}function J(){return V.lFrame.tView}function pg(e){return V.lFrame.contextLView=e,e[ge]}function mg(e){return V.lFrame.contextLView=null,e}function he(){let e=wd();for(;e!==null&&e.type===64;)e=e.parent;return e}function wd(){return V.lFrame.currentTNode}function gg(){let e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function wr(e,n){let t=V.lFrame;t.currentTNode=e,t.isParent=n}function Id(){return V.lFrame.isParent}function Sd(){V.lFrame.isParent=!1}function Md(){return V.lFrame.contextLView}function Td(){return qu}function Ai(e){let n=qu;return qu=e,n}function $t(){let e=V.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function vg(){return V.lFrame.bindingIndex}function yg(e){return V.lFrame.bindingIndex=e}function nn(){return V.lFrame.bindingIndex++}function Za(e){let n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function _g(){return V.lFrame.inI18n}function bg(e,n){let t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ka(n)}function Dg(){return V.lFrame.currentDirectiveIndex}function Ka(e){V.lFrame.currentDirectiveIndex=e}function Eg(e){let n=V.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Xa(){return V.lFrame.currentQueryIndex}function Ui(e){V.lFrame.currentQueryIndex=e}function mw(e){let n=e[I];return n.type===2?n.declTNode:n.type===1?e[Ve]:null}function xd(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=mw(i),o===null||(i=i[_r],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=V.lFrame=Cg();return r.currentTNode=n,r.lView=e,!0}function Qa(e){let n=Cg(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Cg(){let e=V.lFrame,n=e===null?null:e.child;return n===null?wg(e):n}function wg(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 Ig(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ad=Ig;function Ja(){let e=Ig();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 Sg(e){return(V.lFrame.contextLView=ug(e,V.lFrame.contextLView))[ge]}function ht(){return V.lFrame.selectedIndex}function Vn(e){V.lFrame.selectedIndex=e}function Ir(){let e=V.lFrame;return bo(e.tView,e.selectedIndex)}function Mg(){V.lFrame.currentNamespace=xi}function Tg(){gw()}function gw(){V.lFrame.currentNamespace=null}function Nd(){return V.lFrame.currentNamespace}var xg=!0;function ec(){return xg}function $i(e){xg=e}function Yu(e,n=null,t=null,r){let o=Ag(e,n,t,r);return o.resolveInjectorInitializers(),o}function Ag(e,n=null,t=null,r,o=new Set){let i=[t||Re,eg(e)],s;return new mr(i,n||po(),s||null,o)}var O=class e{static THROW_IF_NOT_FOUND=fr;static NULL=new Ti;static create(n,t){if(Array.isArray(n))return Yu({name:""},t,n,"");{let r=n.name??"";return Yu({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>T(sd)});static __NG_ELEMENT_ID__=-1},x=new g(""),We=(()=>{class e{static __NG_ELEMENT_ID__=vw;static __NG_ENV_ID__=t=>t}return e})(),Ra=class extends We{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Ln(this._lView)}onDestroy(n){let t=this._lView;return qa(t,n),()=>vd(t,n)}};function vw(){return new Ra(C())}var Rd=!1,Ng=new g(""),jn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new or(!1);debugTaskTracker=f(Ng,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(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),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(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=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zu=class extends w{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,og()&&(this.destroyRef=f(We,{optional:!0})??void 0,this.pendingTasks=f(jn,{optional:!0})??void 0)}emit(n){let t=S(null);try{super.next(n)}finally{S(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 j&&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)}})}}},$=Zu;function Oa(...e){}function Od(e){let n,t;function r(){e=Oa;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Rg(e){return queueMicrotask(()=>e()),()=>{e=Oa}}var kd="isAngularZone",Ni=kd+"_ID",yw=0,M=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Rd}=n;if(typeof Zone>"u")throw new b(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,Dw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(kd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,_w,Oa,Oa);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)}},_w={};function Fd(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 bw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Od(()=>{e.callbackScheduled=!1,Ku(e),e.isCheckStableRunning=!0,Fd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Ku(e)}function Dw(e){let n=()=>{bw(e)},t=yw++;e._inner=e._inner.fork({name:"angular",properties:{[kd]:!0,[Ni]:t,[Ni+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ew(c))return r.invokeTask(i,s,a,c);try{return zm(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Gm(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return zm(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Cw(c)&&n(),Gm(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ku(e),Fd(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 Ku(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function zm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gm(e){e._nesting--,Fd(e)}var Ri=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;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 Ew(e){return Og(e,"__ignore_ng_zone__")}function Cw(e){return Og(e,"__scheduler_tick__")}function Og(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Oe=class{_console=console;handleError(n){this._console.error("ERROR",n)}},rn=new g("",{factory:()=>{let e=f(M),n=f(de),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Oe),t.handleError(r))})}}}),kg={provide:Rn,useValue:()=>{let e=f(Oe,{optional:!0})},multi:!0};function ae(e,n){let[t,r,o]=Fu(e,n?.equal),i=t,s=i[me];return i.set=r,i.update=o,i.asReadonly=zi.bind(i),i}function zi(){let e=this[me];if(e.readonlyFn===void 0){let n=()=>this();n[me]=e,e.readonlyFn=n}return e.readonlyFn}var Eo=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=ww}return e})();function ww(){return new Eo(C(),he())}var Ct=class{},Co=new g("",{factory:()=>!0});var tc=new g(""),Bn=(()=>{class e{internalPendingTasks=f(jn);scheduler=f(Ct);errorHandler=f(rn);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=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),nc=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new Xu})}return e})(),Xu=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}},ka=class{[me];constructor(n){this[me]=n}destroy(){this[me].destroy()}};function Sr(e,n){let t=n?.injector??f(O),r=n?.manualCleanup!==!0?t.get(We):null,o,i=t.get(Eo,null,{optional:!0}),s=t.get(Ct);return i!==null?(o=Mw(i.view,s,e),r instanceof Ra&&r._lView===i.view&&(r=null)):o=Tw(e,t.get(nc),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ka(o)}var Fg=U(E({},Pu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Ai(!1);try{Lu(this)}finally{Ai(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(e)}}}),Iw=U(E({},Fg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Sw=U(E({},Fg),{consumerMarkedDirty(){this.view[A]|=8192,Cr(this.view),this.notifier.notify(13)},destroy(){if(Sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[xn]?.delete(this)}});function Mw(e,n,t){let r=Object.create(Sw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Pg(r,t),e[xn]??=new Set,e[xn].add(r),r.consumerMarkedDirty(r),r}function Tw(e,n,t){let r=Object.create(Iw);return r.fn=Pg(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Pg(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function ts(e){return{toString:e}.toString()}function Lw(e){return typeof e=="function"}function Mv(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var hc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},He=(()=>{let e=()=>Tv;return e.ngInherit=!0,e})();function Tv(e){return e.type.prototype.ngOnChanges&&(e.setInput=jw),Vw}function Vw(){let e=Av(this),n=e?.current;if(n){let t=e.previous;if(t===wt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function jw(e,n,t,r,o){let i=this.declaredInputs[r],s=Av(e)||Bw(e,{previous:wt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new hc(l&&l.currentValue,t,c===wt),Mv(e,n,o,t)}var xv="__ngSimpleChanges__";function Av(e){return e[xv]||null}function Bw(e,n){return e[xv]=n}var Lg=[];var Y=function(e,n=null,t){for(let r=0;r<Lg.length;r++){let o=Lg[r];o(e,n,t)}},z=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(z||{});function Hw(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Tv(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 Nv(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 ac(e,n,t){Rv(e,n,3,t)}function cc(e,n,t,r){(e[A]&3)===t&&Rv(e,n,t,r)}function Pd(e,n){let t=e[A];(t&3)===n&&(t&=16383,t+=1,e[A]=t)}function Rv(e,n,t,r){let o=r!==void 0?e[br]&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[br]+=65536),(a<i||i==-1)&&(Uw(e,t,n,c),e[br]=(e[br]&4294901760)+c+2),c++}function Vg(e,n){Y(z.LifecycleHookStart,e,n);let t=S(null);try{n.call(e)}finally{S(t),Y(z.LifecycleHookEnd,e,n)}}function Uw(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[A]>>14<e[br]>>16&&(e[A]&3)===n&&(e[A]+=16384,Vg(a,i)):Vg(a,i)}var Io=-1,Tr=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 $w(e){return(e.flags&8)!==0}function zw(e){return(e.flags&16)!==0}function Gw(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];Ww(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Ov(e){return e===3||e===4||e===6}function Ww(e){return e.charCodeAt(0)===64}function Mo(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?jg(e,t,o,null,n[++r]):jg(e,t,o,null,null))}}return e}function jg(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 kv(e){return e!==Io}function pc(e){return e&32767}function qw(e){return e>>16}function mc(e,n){let t=qw(e),r=n;for(;t>0;)r=r[_r],t--;return r}var Zd=!0;function gc(e){let n=Zd;return Zd=e,n}var Yw=256,Fv=Yw-1,Pv=5,Zw=0,zt={};function Kw(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(gr)&&(r=t[gr]),r==null&&(r=t[gr]=Zw++);let o=r&Fv,i=1<<o;n.data[e+(o>>Pv)]|=i}function vc(e,n){let t=Lv(e,n);if(t!==-1)return t;let r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Ld(r.data,e),Ld(n,null),Ld(r.blueprint,null));let o=kf(e,n),i=e.injectorIndex;if(kv(o)){let s=pc(o),a=mc(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Ld(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Lv(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function kf(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=Uv(o),r===null)return Io;if(t++,o=o[_r],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Io}function Kd(e,n,t){Kw(e,n,t)}function Xw(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(Ov(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 Vv(e,n,t){if(t&8||e!==void 0)return e;Ba(n,"NodeInjector")}function jv(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[je],i=Le(void 0);try{return o?o.get(n,r,t&8):od(n,r,t&8)}finally{Le(i)}}return Vv(r,n,t)}function Bv(e,n,t,r=0,o){if(e!==null){if(n[A]&2048&&!(r&2)){let s=tI(e,n,t,r,zt);if(s!==zt)return s}let i=Hv(e,n,t,r,zt);if(i!==zt)return i}return jv(n,t,r,o)}function Hv(e,n,t,r,o){let i=Jw(t);if(typeof i=="function"){if(!xd(n,e,r))return r&1?Vv(o,t,r):jv(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ba(t);else return s}finally{Ad()}}else if(typeof i=="number"){let s=null,a=Lv(e,n),c=Io,l=r&1?n[Be][Ve]:null;for((a===-1||r&4)&&(c=a===-1?kf(e,n):n[a+8],c===Io||!Hg(r,!1)?a=-1:(s=n[I],a=pc(c),n=mc(c,n)));a!==-1;){let u=n[I];if(Bg(i,a,u.data)){let d=Qw(a,n,t,s,r,l);if(d!==zt)return d}c=n[a+8],c!==Io&&Hg(r,n[I].data[a+8]===l)&&Bg(i,a,n)?(s=u,a=pc(c),n=mc(c,n)):a=-1}}return o}function Qw(e,n,t,r,o,i){let s=n[I],a=s.data[e+8],c=r==null?Ut(a)&&Zd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=lc(a,s,t,c,l);return u!==null?Zi(n,s,u,a,o):zt}function lc(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,h=o?a+u:l;for(let p=d;p<h;p++){let m=s[p];if(p<c&&t===m||p>=c&&m.type===t)return p}if(o){let p=s[c];if(p&&Tt(p)&&p.type===t)return c}return null}function Zi(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Tr){let a=i;if(a.resolving)throw rd("");let c=gc(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Le(a.injectImpl):null,h=xd(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Hw(t,s[t],n)}finally{d!==null&&Le(d),gc(c),a.resolving=!1,Ad()}}return i}function Jw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(gr)?e[gr]:void 0;return typeof n=="number"?n>=0?n&Fv:eI:n}function Bg(e,n,t){let r=1<<e;return!!(t[n+(e>>Pv)]&r)}function Hg(e,n){return!(e&2)&&!(e&1&&n)}var Mr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Bv(this._tNode,this._lView,n,hr(r),t)}};function eI(){return new Mr(he(),C())}function xe(e){return ts(()=>{let n=e.prototype.constructor,t=n[Mi]||Xd(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mi]||Xd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xd(e){return Qu(e)?()=>{let n=Xd(we(e));return n&&n()}:Tn(e)}function tI(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[A]&2048&&!_o(s);){let a=Hv(i,s,t,r|2,zt);if(a!==zt)return a;let c=i.parent;if(!c){let l=s[dd];if(l){let u=l.get(t,zt,r&-5);if(u!==zt)return u}c=Uv(s),s=s[_r]}i=c}return o}function Uv(e){let n=e[I],t=n.type;return t===2?n.declTNode:t===1?e[Ve]:null}function Ff(e){return Xw(he(),e)}function nI(){return ko(he(),C())}function ko(e,n){return new B(tt(e,n))}var B=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=nI}return e})();function $v(e){return e instanceof B?e.nativeElement:e}function rI(){return this._results[Symbol.iterator]()}var on=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 w}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=Xm(n);(this._changesDetected=!Km(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]=rI};function zv(e){return(e.flags&128)===128}var Pf=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Pf||{}),Gv=new Map,oI=0;function iI(){return oI++}function sI(e){Gv.set(e[en],e)}function Qd(e){Gv.delete(e[en])}var Ug="__ngContext__";function To(e,n){tn(n)?(e[Ug]=n[en],sI(n)):e[Ug]=n}function Wv(e){return Yv(e[vo])}function qv(e){return Yv(e[ut])}function Yv(e){for(;e!==null&&!Mt(e);)e=e[ut];return e}var Jd;function Lf(e){Jd=e}function Zv(){if(Jd!==void 0)return Jd;if(typeof document<"u")return document;throw new b(210,!1)}var zn=new g("",{factory:()=>aI}),aI="ng";var Sc=new g(""),Or=new g("",{providedIn:"platform",factory:()=>"unknown"}),ns=new g(""),kr=new g("",{factory:()=>f(x).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kv="r";var Vf="di",jf="s";var Xv=!1,Qv=new g("",{factory:()=>Xv});var Jv=new g("");var $g=new WeakMap;function cI(e,n){if(e==null||typeof e!="object")return;let t=$g.get(e);t||(t=new WeakSet,$g.set(e,t)),t.add(n)}var lI=(e,n,t,r)=>{};function uI(e,n,t,r){lI(e,n,t,r)}var ey=new g("");function Mc(e){return(e.flags&32)===32}var dI=()=>null;function ty(e,n,t=!1){return dI(e,n,t)}function Bf(e){return e.get(Jv,!1,{optional:!0})}function ny(e,n){let t=e.contentQueries;if(t!==null){let r=S(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];Ui(i),a.contentQueries(2,n[s],s)}}}finally{S(r)}}}function ef(e,n,t){Ui(0);let r=S(null);try{n(e,t)}finally{S(r)}}function Hf(e,n,t){if(fd(n)){let r=S(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{S(r)}}}var At=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(At||{});var fI="svg",hI="math",pI={"http://www.w3.org/2000/svg":fI,"http://www.w3.org/1998/Math/MathML":hI},rc;function mI(){if(rc===void 0&&(rc=null,lt.trustedTypes))try{rc=lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return rc}function Tc(e){return mI()?.createHTML(e)||e}var oc;function ry(){if(oc===void 0&&(oc=null,lt.trustedTypes))try{oc=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return oc}function zg(e){return ry()?.createHTML(e)||e}function Gg(e){return ry()?.createScriptURL(e)||e}var sn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fa})`}},tf=class extends sn{getTypeName(){return"HTML"}},nf=class extends sn{getTypeName(){return"Style"}},rf=class extends sn{getTypeName(){return"Script"}},of=class extends sn{getTypeName(){return"URL"}},sf=class extends sn{getTypeName(){return"ResourceURL"}};function rt(e){return e instanceof sn?e.changingThisBreaksApplicationSecurity:e}function Wt(e,n){let t=oy(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Fa})`)}return t===n}function oy(e){return e instanceof sn&&e.getTypeName()||null}function Uf(e){return new tf(e)}function $f(e){return new nf(e)}function zf(e){return new rf(e)}function Gf(e){return new of(e)}function Wf(e){return new sf(e)}function gI(e){let n=new cf(e);return vI()?new af(n):n}var af=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Tc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},cf=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=Tc(n),t}};function vI(){try{return!!new window.DOMParser().parseFromString(Tc(""),"text/html")}catch(e){return!1}}var yI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rs(e){return e=String(e),e.match(yI)?e:"unsafe:"+e}function an(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function os(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var iy=an("area,br,col,hr,img,wbr"),sy=an("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ay=an("rp,rt"),_I=os(ay,sy),bI=os(sy,an("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")),DI=os(ay,an("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")),Wg=os(iy,bI,DI,_I),cy=an("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),EI=an("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"),CI=an("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"),wI=os(cy,EI,CI),II=an("script,style,template"),lf=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=TI(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=MI(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=qg(n).toLowerCase();if(!Wg.hasOwnProperty(t))return this.sanitizedSomething=!0,!II.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(!wI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;cy[a]&&(c=rs(c)),this.buf.push(" ",s,'="',Yg(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=qg(n).toLowerCase();Wg.hasOwnProperty(t)&&!iy.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Yg(n))}};function SI(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function MI(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw ly(n);return n}function TI(e){let n=e.firstChild;if(n&&SI(e,n))throw ly(n);return n}function qg(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function ly(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var xI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,AI=/([^\#-~ |!])/g;function Yg(e){return e.replace(/&/g,"&").replace(xI,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(AI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ic;function xc(e,n){let t=null;try{ic=ic||gI(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 lf().sanitizeChildren(Zg(t)||t);return Tc(a)}finally{if(t){let r=Zg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Zg(e){return"content"in e&&NI(e)?e.content:null}function NI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var RI=/^>|^->|<!--|-->|--!>|<!-$/g,OI=/(<|>)/g,kI="\u200B$1\u200B";function FI(e){return e.replace(RI,n=>n.replace(OI,kI))}function PI(e,n){return e.createText(n)}function LI(e,n,t){e.setValue(n,t)}function VI(e,n){return e.createComment(FI(n))}function uy(e,n,t){return e.createElement(n,t)}function yc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function dy(e,n,t){e.appendChild(n,t)}function Kg(e,n,t,r,o){r!==null?yc(e,n,t,r,o):dy(e,n,t)}function fy(e,n,t,r){e.removeChild(null,n,t,r)}function jI(e,n,t){e.setAttribute(n,"style",t)}function BI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function hy(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&Gw(e,n,r),o!==null&&BI(e,n,o),i!==null&&jI(e,n,i)}function HI(e,n=!0){if(e[0]!=":")return[null,e];let t=e.indexOf(":",1);if(t===-1){if(n)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,t),e.slice(t+1)]}function UI(e,n,t){if(n!==void 0&&t!==void 0&&GI(n,t)!==K.HTML)return e;let r=qf();return r?zg(r.sanitize(K.HTML,e)||""):Wt(e,"HTML")?zg(rt(e)):xc(Zv(),vr(e))}function $I(e){let n=qf();return n?n.sanitize(K.URL,e)||"":Wt(e,"URL")?rt(e):rs(vr(e))}function zI(e){let n=qf();if(n)return Gg(n.sanitize(K.RESOURCE_URL,e)||"");if(Wt(e,"ResourceURL"))return Gg(rt(e));throw new b(904,!1)}function qf(){let e=C();return e&&e[St].sanitizer}function GI(e,n){let[t,r]=WI(e);return ag(r,n,t)}function WI(e){e=e.toLowerCase();let n=HI(e,!1);if(n[0])return n;let r=ht()===-1?null:Ir(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=tt(r,C());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&pI[s]}}return[o,e]}function qI(e){return e.ownerDocument.defaultView}function YI(e){return e.ownerDocument}function ZI(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 py="ng-template";function KI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&ZI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Yf(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 Yf(e){return e.type===4&&e.value!==py}function XI(e,n,t){let r=e.type===4&&!t?py:e.value;return n===r}function QI(e,n,t){let r=4,o=e.attrs,i=o!==null?tS(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!xt(r)&&!xt(c))return!1;if(s&&xt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!XI(e,c,t)||c===""&&n.length===1){if(xt(r))return!1;s=!0}}else if(r&8){if(o===null||!KI(e,o,c,t)){if(xt(r))return!1;s=!0}}else{let l=n[++a],u=JI(c,o,Yf(e),t);if(u===-1){if(xt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(xt(r))return!1;s=!0}}}}return xt(r)||s}function xt(e){return(e&1)===0}function JI(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 nS(n,e)}function my(e,n,t=!1){for(let r=0;r<n.length;r++)if(QI(e,n[r],t))return!0;return!1}function eS(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function tS(e){for(let n=0;n<e.length;n++){let t=e[n];if(Ov(t))return n}return e.length}function nS(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 rS(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 Xg(e,n){return e?":not("+n.trim()+")":n}function oS(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!==""&&!xt(s)&&(n+=Xg(i,o),o=""),r=s,i=i||!xt(r);t++}return o!==""&&(n+=Xg(i,o)),n}function iS(e){return e.map(oS).join(",")}function sS(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(!xt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Ue={};function Zf(e,n,t,r,o,i,s,a,c,l,u){let d=X+r,h=d+o,p=aS(d,h),m=typeof l=="function"?l():l;return p[I]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function aS(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ue);return t}function cS(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Zf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Kf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[It]=o,d[A]=r|4|128|8|64|1024,(l!==null||e&&e[A]&2048)&&(d[A]|=2048),md(d),d[be]=d[_r]=e,d[ge]=t,d[St]=s||e&&e[St],d[te]=a||e&&e[te],d[je]=c||e&&e[je]||null,d[Ve]=i,d[en]=iI(),d[yr]=u,d[dd]=l,d[Be]=n.type==2?e[Be]:d,d}function lS(e,n,t){let r=tt(n,e),o=cS(t),i=e[St].rendererFactory,s=Xf(e,Kf(e,o,null,gy(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function gy(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function vy(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 Xf(e,n){return e[vo]?e[ud][ut]=n:e[vo]=n,e[ud]=n,n}function Qf(e=1){yy(J(),C(),ht()+e,!1)}function yy(e,n,t,r){if(!r)if((n[A]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ac(n,i,t)}else{let i=e.preOrderHooks;i!==null&&cc(n,i,0,t)}Vn(t)}var Ac=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ac||{});function uf(e,n,t,r){let o=S(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ac.SignalBased)!==0&&(c=n[i][me]),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):Mv(n,c,i,r)}finally{S(o)}}var Gt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Gt||{}),uS;function Jf(e,n){return uS(e,n)}var cH=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var df=new WeakMap,Wi=new WeakSet;function dS(e,n){let t=df.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),Wi.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function fS(e,n){let t=df.get(e);t?t.includes(n)||t.push(n):df.set(e,[n])}var xr=new Set,Nc=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Nc||{}),Nt=new g(""),Qg=new Set;function qt(e){Qg.has(e)||(Qg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Rc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),eh=[0,1,2,3],th=(()=>{class e{ngZone=f(M);scheduler=f(Ct);errorHandler=f(Oe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Nt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&Y(z.AfterRenderHooksStart),this.executing=!0;for(let r of eh)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&&Y(z.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Dr]??=[]).push(t),Cr(r),r[A]|=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(Nc.AFTER_NEXT_RENDER,t):t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ki=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?.[Dr];n&&(this.view[Dr]=n.filter(t=>t!==this))}};function Rt(e,n){let t=n?.injector??f(O);return qt("NgAfterNextRender"),pS(e,t,n,!0)}function hS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function pS(e,n,t,r){let o=n.get(Rc);o.impl??=n.get(th);let i=n.get(Nt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(We):null,a=n.get(Eo,null,{optional:!0}),c=new Ki(o.impl,hS(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var _y=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(de)})});function by(e,n,t){let r=e.get(_y);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function mS(e,n){let t=e.get(_y);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function gS(e,n){for(let[t,r]of n)by(e,r.animateFns)}function Jg(e,n,t,r){let o=e?.[kn]?.enter;n!==null&&o&&o.has(t.index)&&gS(r,o)}function wo(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;Mt(o)?c=o:tn(o)&&(l=!0,o=o[It]);let u=dt(o);e===0&&r!==null?(Jg(a,r,i,t),s==null?dy(n,r,u):yc(n,r,u,s||null,!0)):e===1&&r!==null?(Jg(a,r,i,t),yc(n,r,u,s||null,!0),dS(i,u)):e===2?(a?.[kn]?.leave?.has(i.index)&&fS(i,u),Wi.delete(u),ev(a,i,t,d=>{if(Wi.has(u)){Wi.delete(u);return}fy(n,u,l,d)})):e===3&&(Wi.delete(u),ev(a,i,t,()=>{n.destroyNode(u)})),c!=null&&MS(n,e,t,c,i,r,s)}}function vS(e,n){Dy(e,n),n[It]=null,n[Ve]=null}function yS(e,n,t,r,o,i){r[It]=o,r[Ve]=n,kc(e,r,t,1,o,i)}function Dy(e,n){n[St].changeDetectionScheduler?.notify(9),kc(e,n,n[te],2,null,null)}function _S(e){let n=e[vo];if(!n)return Vd(e[I],e);for(;n;){let t=null;if(tn(n))t=n[vo];else{let r=n[fe];r&&(t=r)}if(!t){for(;n&&!n[ut]&&n!==e;)tn(n)&&Vd(n[I],n),n=n[be];n===null&&(n=e),tn(n)&&Vd(n[I],n),t=n&&n[ut]}n=t}}function nh(e,n){let t=e[Er],r=t.indexOf(n);t.splice(r,1)}function Oc(e,n){if(Ln(n))return;let t=n[te];t.destroyNode&&kc(e,n,t,3,null,null),_S(n)}function Vd(e,n){if(Ln(n))return;let t=S(null);try{n[A]&=-129,n[A]|=256,n[et]&&Sn(n[et]),ES(e,n),DS(e,n),n[I].type===1&&n[te].destroy();let r=n[On];if(r!==null&&Mt(n[be])){r!==n[be]&&nh(r,n);let o=n[Ht];o!==null&&o.detachView(e)}Qd(n)}finally{S(t)}}function ev(e,n,t,r){let o=e?.[kn];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&xr.add(e[en]),by(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),bS(e,r)}else e&&xr.delete(e[en]),r(!1)},o)}function bS(e,n){let t=e[kn]?.running;if(t){t.then(()=>{e[kn].running=void 0,xr.delete(e[en]),n(!0)});return}n(!1)}function DS(e,n){let t=e.cleanup,r=n[go];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[go]=null);let o=n[Qt];if(o!==null){n[Qt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[xn];if(i!==null){n[xn]=null;for(let s of i)s.destroy()}}function ES(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 Tr)){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];Y(z.LifecycleHookStart,a,c);try{c.call(a)}finally{Y(z.LifecycleHookEnd,a,c)}}else{Y(z.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(z.LifecycleHookEnd,o,i)}}}}}function Ey(e,n,t){return CS(e,n.parent,t)}function CS(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[It];if(Ut(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===At.None||o===At.Emulated)return null}return tt(r,t)}function Cy(e,n,t){return IS(e,n,t)}function wS(e,n,t){return e.type&40?tt(e,t):null}var IS=wS,tv;function rh(e,n,t,r){let o=Ey(e,r,n),i=n[te],s=r.parent||n[Ve],a=Cy(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Kg(i,o,t[c],a,!1);else Kg(i,o,t,a,!1);tv!==void 0&&tv(i,r,n,t,o)}function qi(e,n){if(n!==null){let t=n.type;if(t&3)return tt(n,e);if(t&4)return ff(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return qi(e,r);{let o=e[n.index];return Mt(o)?ff(-1,o):dt(o)}}else{if(t&128)return qi(e,n.next);if(t&32)return Jf(n,e)()||dt(e[n.index]);{let r=wy(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=An(e[Be]);return qi(o,r)}else return qi(e,n.next)}}}return null}function wy(e,n){if(n!==null){let r=e[Be][Ve],o=n.projection;return r.projection[o]}return null}function ff(e,n){let t=fe+e+1;if(t<n.length){let r=n[t],o=r[I].firstChild;if(o!==null)return qi(r,o)}return n[Pn]}function oh(e,n,t,r,o,i,s){for(;t!=null;){let a=r[je];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&To(dt(c),r),t.flags|=2),!Mc(t))if(l&8)oh(e,n,t.child,r,o,i,!1),wo(n,e,a,o,c,t,i,r);else if(l&32){let u=Jf(t,r),d;for(;d=u();)wo(n,e,a,o,d,t,i,r);wo(n,e,a,o,c,t,i,r)}else l&16?Iy(e,n,r,t,o,i):wo(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function kc(e,n,t,r,o,i){oh(t,r,e.firstChild,n,o,i,!1)}function SS(e,n,t){let r=n[te],o=Ey(e,t,n),i=t.parent||n[Ve],s=Cy(i,t,n);Iy(r,0,n,t,o,s)}function Iy(e,n,t,r,o,i){let s=t[Be],c=s[Ve].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];wo(n,e,t[je],o,u,r,i,t)}else{let l=c,u=s[be];zv(r)&&(l.flags|=128),oh(e,n,l,u,o,i,!0)}}function MS(e,n,t,r,o,i,s){let a=r[Pn],c=dt(r);a!==c&&wo(n,e,t,i,a,o,s);for(let l=fe;l<r.length;l++){let u=r[l];kc(u[I],u,e,n,i,a)}}function TS(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Gt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Gt.Important),e.setStyle(t,r,o,i))}}function Sy(e,n,t,r,o){let i=ht(),s=r&2;try{Vn(-1),s&&n.length>X&&yy(e,n,X,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;Y(a,o,t),t(r,o)}finally{Vn(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;Y(a,o,t)}}function Fc(e,n,t){OS(e,n,t),(t.flags&64)===64&&kS(e,n,t)}function is(e,n,t=tt){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 xS(e,n,t,r){let i=r.get(Qv,Xv)||t===At.ShadowDom||t===At.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return AS(s),s}function AS(e){NS(e)}var NS=()=>null;function RS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function My(e,n,t,r,o,i){let s=n[I];if(Pc(e,s,n,t,r)){Ut(e)&&xy(n,e.index);return}e.type&3&&(t=RS(t)),Ty(e,n,t,r,o,i)}function Ty(e,n,t,r,o,i){if(e.type&3){let s=tt(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function xy(e,n){let t=ft(n,e);t[A]&16||(t[A]|=64)}function OS(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ut(t)&&lS(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||vc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Zi(n,e,s,t);if(To(c,n),i!==null&&LS(n,s-r,c,a,t,i),Tt(a)){let l=ft(t.index,n);l[ge]=Zi(n,e,s,t)}}}function kS(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Dg();try{Vn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];Ka(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&FS(c,l)}}finally{Vn(-1),Ka(s)}}function FS(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function ih(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];my(n,i.selectors,!1)&&(r??=[],Tt(i)?r.unshift(i):r.push(i))}return r}function PS(e,n,t,r,o,i){let s=tt(e,n);Ay(n[te],s,i,e.value,t,r,o)}function Ay(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?vr(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function LS(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];uf(r,t,c,l)}}function sh(e,n,t,r,o){let i=X+t,s=n[I],a=o(s,n,e,r,t);n[i]=a,wr(e,!0);let c=e.type===2;return c?(hy(n[te],a,e),(fg()===0||yo(e))&&To(a,n),hg()):To(a,n),ec()&&(!c||!Mc(e))&&rh(s,n,a,e),e}function ah(e){let n=e;return Id()?Sd():(n=n.parent,wr(n,!1)),n}function ch(e,n){let t=e[je];if(!t)return;let r;try{r=t.get(rn,null)}catch(o){r=null}r?.(n)}function Pc(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];uf(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];uf(u,l,r,o),a=!0}return a}function VS(e,n){let t=ft(n,e),r=t[I];jS(r,t);let o=t[It];o!==null&&t[yr]===null&&(t[yr]=ty(o,t[je])),Y(z.ComponentStart);try{lh(r,t,t[ge])}finally{Y(z.ComponentEnd,t[ge])}}function jS(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function lh(e,n,t){Qa(n);try{let r=e.viewQuery;r!==null&&ef(1,r,t);let o=e.template;o!==null&&Sy(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ht]?.finishViewCreation(e),e.staticContentQueries&&ny(e,n),e.staticViewQueries&&ef(2,e.viewQuery,t);let i=e.components;i!==null&&BS(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[A]&=-5,Ja()}}function BS(e,n){for(let t=0;t<n.length;t++)VS(e,n[t])}function Fo(e,n,t,r){let o=S(null);try{let i=n.tView,a=e[A]&4096?4096:16,c=Kf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[On]=l;let u=e[Ht];return u!==null&&(c[Ht]=u.createEmbeddedView(i)),lh(i,c,t),c}finally{S(o)}}function Ar(e,n){return!n||n.firstChild===null||zv(e)}function Xi(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(dt(i)),Mt(i)&&Ny(i,r);let s=t.type;if(s&8)Xi(e,n,t.child,r);else if(s&32){let a=Jf(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=wy(n,t);if(Array.isArray(a))r.push(...a);else{let c=An(n[Be]);Xi(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Ny(e,n){for(let t=fe;t<e.length;t++){let r=e[t],o=r[I].firstChild;o!==null&&Xi(r[I],r,o,n)}e[Pn]!==e[It]&&n.push(e[Pn])}function Ry(e){if(e[Dr]!==null){for(let n of e[Dr])n.impl.addSequence(n);e[Dr].length=0}}var Oy=[];function HS(e){return e[et]??US(e)}function US(e){let n=Oy.pop()??Object.create(zS);return n.lView=e,n}function $S(e){e.lView[et]!==e&&(e.lView=null,Oy.push(e))}var zS=U(E({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Cr(e.lView)},consumerOnSignalRead(){this.lView[et]=this}});function GS(e){let n=e[et]??Object.create(WS);return n.lView=e,n}var WS=U(E({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=An(e.lView);for(;n&&!ky(n[I]);)n=An(n);n&&gd(n)},consumerOnSignalRead(){this.lView[et]=this}});function ky(e){return e.type!==2}function Fy(e){if(e[xn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[xn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[A]&8192)}}var qS=100;function Py(e,n=0){let r=e[St].rendererFactory,o=!1;o||r.begin?.();try{YS(e,n)}finally{o||r.end?.()}}function YS(e,n){let t=Td();try{Ai(!0),hf(e,n);let r=0;for(;Hi(e);){if(r===qS)throw new b(103,!1);r++,hf(e,1)}}finally{Ai(t)}}function ZS(e,n,t,r){if(Ln(n))return;let o=n[A],i=!1,s=!1;Qa(n);let a=!0,c=null,l=null;i||(ky(e)?(l=HS(n),c=Xt(l)):Ia()===null?(a=!1,l=GS(n),c=Xt(l)):n[et]&&(Sn(n[et]),n[et]=null));try{md(n),yg(e.bindingStartIndex),t!==null&&Sy(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&ac(n,p,null)}else{let p=e.preOrderHooks;p!==null&&cc(n,p,0,null),Pd(n,0)}if(s||KS(n),Fy(n),Ly(n,0),e.contentQueries!==null&&ny(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&ac(n,p)}else{let p=e.contentHooks;p!==null&&cc(n,p,1),Pd(n,1)}QS(e,n);let d=e.components;d!==null&&jy(n,d,0);let h=e.viewQuery;if(h!==null&&ef(2,h,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&ac(n,p)}else{let p=e.viewHooks;p!==null&&cc(n,p,2),Pd(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[za]){for(let p of n[za])p();n[za]=null}i||(Ry(n),n[A]&=-73)}catch(u){throw i||Cr(n),u}finally{l!==null&&(In(l,c),a&&$S(l)),Ja()}}function Ly(e,n){for(let t=Wv(e);t!==null;t=qv(t))for(let r=fe;r<t.length;r++){let o=t[r];Vy(o,n)}}function KS(e){for(let n=Wv(e);n!==null;n=qv(n)){if(!(n[A]&2))continue;let t=n[Er];for(let r=0;r<t.length;r++){let o=t[r];gd(o)}}}function XS(e,n,t){Y(z.ComponentStart);let r=ft(n,e);try{Vy(r,t)}finally{Y(z.ComponentEnd,r[ge])}}function Vy(e,n){Ga(e)&&hf(e,n)}function hf(e,n){let r=e[I],o=e[A],i=e[et],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&ao(i)),s||=!1,i&&(i.dirty=!1),e[A]&=-9217,s)ZS(r,e,r.template,e[ge]);else if(o&8192){let a=S(null);try{Fy(e),Ly(e,1);let c=r.components;c!==null&&jy(e,c,1),Ry(e)}finally{S(a)}}}function jy(e,n,t){for(let r=0;r<n.length;r++)XS(e,n[r],t)}function QS(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)Vn(~o);else{let i=o,s=t[++r],a=t[++r];bg(s,i);let c=n[i];Y(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y(z.HostBindingsUpdateEnd,c)}}}}finally{Vn(-1)}}function Lc(e,n){let t=Td()?64:1088;for(e[St].changeDetectionScheduler?.notify(n);e;){e[A]|=t;let r=An(e);if(_o(e)&&!r)return e;e=r}return null}function By(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Hy(e,n){let t=fe+n;if(t<e.length)return e[t]}function Po(e,n,t,r=!0){let o=n[I];if(JS(o,n,e,t),r){let s=ff(t,e),a=n[te],c=a.parentNode(e[Pn]);c!==null&&yS(o,e[Ve],a,n,c,s)}let i=n[yr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function uh(e,n){let t=Qi(e,n);return t!==void 0&&Oc(t[I],t),t}function Qi(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t];if(r){let o=r[On];o!==null&&o!==e&&nh(o,r),n>0&&(e[t-1][ut]=r[ut]);let i=Pi(e,fe+n);vS(r[I],r);let s=i[Ht];s!==null&&s.detachView(i[I]),r[be]=null,r[ut]=null,r[A]&=-129}return r}function JS(e,n,t,r){let o=fe+r,i=t.length;r>0&&(t[o-1][ut]=n),r<i-fe?(n[ut]=t[o],id(t,fe+r,n)):(t.push(n),n[ut]=null),n[be]=t;let s=n[On];s!==null&&t!==s&&Uy(s,n);let a=n[Ht];a!==null&&a.insertView(e),Wa(n),n[A]|=128}function Uy(e,n){let t=e[Er],r=n[be];if(tn(r))e[A]|=2;else{let o=r[be][Be];n[Be]!==o&&(e[A]|=2)}t===null?e[Er]=[n]:t.push(n)}var Un=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[I];return Xi(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[ge]}set context(n){this._lView[ge]=n}get destroyed(){return Ln(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[be];if(Mt(n)){let t=n[ji],r=t?t.indexOf(this):-1;r>-1&&(Qi(n,r),Pi(t,r))}this._attachedToViewContainer=!1}Oc(this._lView[I],this._lView)}onDestroy(n){qa(this._lView,n)}markForCheck(){Lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[A]&=-129}reattach(){Wa(this._lView),this._lView[A]|=128}detectChanges(){this._lView[A]|=1024,Py(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=_o(this._lView),t=this._lView[On];t!==null&&!n&&nh(t,this._lView),Dy(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let t=_o(this._lView),r=this._lView[On];r!==null&&!t&&Uy(r,this._lView),Wa(this._lView)}};var Ye=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=eM;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=Fo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Un(i)}}return e})();function eM(){return Vc(he(),C())}function Vc(e,n){return e.type&4?new Ye(n,e,ko(e,n)):null}function Fr(e,n,t,r,o){let i=e.data[n];if(i===null)i=tM(e,n,t,r,o),_g()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=gg();i.injectorIndex=s===null?-1:s.injectorIndex}return wr(i,!0),i}function tM(e,n,t,r,o){let i=wd(),s=Id(),a=s?i:i&&i.parent,c=e.data[n]=rM(e,a,t,n,r,o);return nM(e,c,i,s),c}function nM(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 rM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Dd()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Nd(),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}}function oM(e){let n=e[Fn]??[],r=e[be][te],o=[];for(let i of n)i.data[Vf]!==void 0?o.push(i):iM(i,r);e[Fn]=o}function iM(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Kv];for(;t<o;){let i=r.nextSibling;fy(n,r,!1),r=i,t++}}}var sM=()=>null,aM=()=>null;function _c(e,n){return sM(e,n)}function $y(e,n,t){return aM(e,n,t)}var zy=class{},jc=class{},pf=class{resolveComponentFactory(n){throw new b(917,!1)}},Bc=class{static NULL=new pf},Se=class{},Ke=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>cM()}return e})();function cM(){let e=C(),n=he(),t=ft(n.index,e);return(tn(t)?t:e)[te]}var Gy=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();var uc={},So=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,uc,r);return o!==uc||t===uc?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=La(o,a);else if(i==2){let c=a,l=n[++s];r=La(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function H(e,n=0){let t=C();if(t===null)return T(e,n);let r=he();return Bv(r,t,we(e),n)}function lM(){let e="invalid";throw new Error(e)}function Wy(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}fM(e,n,t,a,i,c,l)}i!==null&&r!==null&&uM(t,r,i)}function uM(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 b(-301,!1);r.push(n[o],i)}}function dM(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function fM(e,n,t,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&Tt(p)&&(c=p,dM(e,t,h)),Kd(vc(t,n),e,p.type)}yM(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=vy(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(t.mergedAttrs=Mo(t.mergedAttrs,p.hostAttrs),pM(e,t,n,d,p),vM(d,p,o),s!==null&&s.has(p)){let[v,_]=s.get(p);t.directiveToIndex.set(p.type,[d,v+t.directiveStart,_+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let m=p.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++}hM(e,t,i)}function hM(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))nv(0,n,o,r),nv(1,n,o,r),ov(n,r,!1);else{let i=t.get(o);rv(0,n,i,r),rv(1,n,i,r),ov(n,r,!0)}}}function nv(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),qy(n,i)}}function rv(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),qy(n,s)}}function qy(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function ov(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Yf(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 pM(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Tn(o.type,!0)),s=new Tr(i,Tt(o),H,null);e.blueprint[r]=s,t[r]=s,mM(e,n,r,vy(e,t,o.hostVars,Ue),o)}function mM(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 vM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Tt(n)&&(t[""]=e)}}function yM(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function dh(e,n,t,r,o,i,s,a){let c=n[I],l=c.consts,u=nt(l,s),d=Fr(c,e,t,r,u);return i&&Wy(c,n,d,nt(l,a),o),d.mergedAttrs=Mo(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 fh(e,n){Nv(e,n),fd(n)&&e.queries.elementEnd(n)}function _M(e,n,t,r,o,i){let s=n.consts,a=nt(s,o),c=Fr(n,e,t,r,a);if(c.mergedAttrs=Mo(c.mergedAttrs,c.attrs),i!=null){let l=nt(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 hh(e){return Zy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Yy(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 Zy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Lo(e,n,t){return e[n]=t}function Ky(e,n){return e[n]}function Ze(e,n,t){if(t===Ue)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function xo(e,n,t,r){let o=Ze(e,n,t);return Ze(e,n+1,r)||o}function bM(e,n,t,r,o){let i=xo(e,n,t,r);return Ze(e,n+2,o)||i}function Xy(e,n,t,r,o,i){let s=xo(e,n,t,r);return xo(e,n+2,o,i)||s}function dc(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&cI(o,i);let s=Ut(e)?ft(e.index,n):n;Lc(s,5);let a=n[ge],c=iv(n,a,t,o),l=r.__ngNextListenerFn__;for(;l;)c=iv(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function iv(e,n,t,r){let o=S(null);try{return Y(z.OutputStart,n,t),t(r)!==!1}catch(i){return ch(e,i),!1}finally{Y(z.OutputEnd,n,t),S(o)}}function Qy(e,n,t,r,o,i,s,a){let c=yo(e),l=!1,u=null;if(!r&&c&&(u=EM(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=tt(e,t),h=r?r(d):d;uI(t,h,i,a),r||(a.__ngNativeEl__=d);let p=o.listen(h,i,a);if(!DM(i)){let m=r?v=>r(dt(v[e.index])):e.index;Jy(m,n,t,i,a,p,!1)}}return l}function DM(e){return e.startsWith("animation")||e.startsWith("transition")}function EM(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[go],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Jy(e,n,t,r,o,i,s){let a=n.firstCreatePass?_d(n):null,c=yd(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function sv(e,n,t,r,o,i){let s=n[t],a=n[I],l=a.data[t].outputs[r],d=s[l].subscribe(i);Jy(e.index,a,n,o,i,d,!0)}var mf=Symbol("BINDING");function e_(e){return e.debugInfo?.className||e.type.name||null}var gf=class extends Bc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Jt(n);return new Ao(t,this.ngModule)}};function CM(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ac.SignalBased)!==0};return o&&(i.transform=o),i})}function wM(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function IM(e,n,t){let r=n instanceof de?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new So(t,r):t}function SM(e){let n=e.get(Se,null);if(n===null)throw new b(407,!1);let t=e.get(Gy,null),r=e.get(Ct,null),o=e.get(Nt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function MM(e,n){let t=t_(e);return uy(n,t,t==="svg"?xi:t==="math"?hd:null)}function TM(e){if(e?.toLowerCase()==="script")throw new b(905,!1)}function t_(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ao=class extends jc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=CM(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=wM(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=iS(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){Y(z.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,l=IM(c,o||this.ngModule,n),u=SM(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(e_(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{S(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=xM(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?xS(l,o,a.encapsulation,t):MM(a,l);TM(u?.tagName);let d=s?.some(av)||i?.some(m=>typeof m!="function"&&m.bindings.some(av)),h=Kf(null,c,null,512|gy(a),null,null,n,l,t,null,ty(u,t,!0));h[X]=u,Qa(h);let p=null;try{let m=dh(X,h,2,"#host",()=>c.directiveRegistry,!0,0);hy(l,u,m),To(u,h),Fc(c,h,m),Hf(c,m,h),fh(c,m),r!==void 0&&NM(m,this.ngContentSelectors,r),p=ft(m.index,h),h[ge]=p[ge],lh(c,h,null)}catch(m){throw p!==null&&Qd(p),Qd(h),m}finally{Y(z.DynamicComponentEnd),Ja()}return new Dc(this.componentType,h,!!d)}};function xM(e,n,t,r){let o=e?["ng-version","21.2.25"]:sS(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[mf].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[mf].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(i??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Fi(d);c.push(h)}return Zf(0,null,AM(i,s),1,a,c,null,null,null,[o],null)}function AM(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 av(e){let n=e[mf].kind;return n==="input"||n==="twoWay"}var Dc=class extends zy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=bo(t[I],X),this.location=ko(this._tNode,t),this.instance=ft(this._tNode.index,t)[ge],this.hostView=this.changeDetectorRef=new Un(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=Pc(r,o[I],o,n,t);this.previousInputValues.set(n,t);let s=ft(r.index,o);Lc(s,1)}get injector(){return new Mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function NM(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 ot=(()=>{class e{static __NG_ELEMENT_ID__=RM}return e})();function RM(){let e=he();return n_(e,C())}var vf=class e extends ot{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return ko(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){let n=kf(this._hostTNode,this._hostLView);if(kv(n)){let t=mc(n,this._hostLView),r=pc(n),o=t[I].data[r+8];return new Mr(o,t)}else return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=cv(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-fe}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=_c(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Ar(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Lw(n),l;if(c)l=t;else{let _=t||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?n:new Ao(Jt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(de,null);D&&(i=D)}let h=Jt(u.componentType??{}),p=_c(this._lContainer,h?.id??null),m=p?.firstChild??null,v=u.create(d,o,m,i,s,a);return this.insertImpl(v.hostView,l,Ar(this._hostTNode,p)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(lg(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[be],l=new e(c,c[Ve],c[be]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Po(s,o,i,r),n.attachToViewContainerRef(),id(jd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=cv(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Qi(this._lContainer,t);r&&(Pi(jd(this._lContainer),t),Oc(r[I],r))}detach(n){let t=this._adjustIndex(n,-1),r=Qi(this._lContainer,t);return r&&Pi(jd(this._lContainer),t)!=null?new Un(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function cv(e){return e[ji]}function jd(e){return e[ji]||(e[ji]=[])}function n_(e,n){let t,r=n[e.index];return Mt(r)?t=r:(t=By(r,n,null,e),n[e.index]=t,Xf(n,t)),kM(t,n,e,r),new vf(t,e,n)}function OM(e,n){let t=e[te],r=t.createComment(""),o=tt(n,e),i=t.parentNode(o);return yc(t,i,r,t.nextSibling(o),!1),r}var kM=PM,FM=()=>!1;function r_(e,n,t){return FM(e,n,t)}function PM(e,n,t,r){if(e[Pn])return;let o;t.type&8?o=dt(r):o=OM(n,t),e[Pn]=o}var yf=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},_f=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++)mh(n,t).matches!==null&&this.queries[t].setDirty()}},Ec=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=HM(n):this.predicate=n}},bf=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)}},Df=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,LM(t,i)),this.matchTNodeWithReadOption(n,t,lc(t,n,i,!1,!1))}else r===Ye?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,lc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===B||o===ot||o===Ye&&t.type&4)this.addMatch(t.index,-2);else{let i=lc(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 LM(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 VM(e,n){return e.type&11?ko(e,n):e.type&4?Vc(e,n):null}function jM(e,n,t,r){return t===-1?VM(n,e):t===-2?BM(e,n,r):Zi(e,e[I],t,n)}function BM(e,n,t){if(t===B)return ko(n,e);if(t===Ye)return Vc(n,e);if(t===ot)return n_(n,e)}function o_(e,n,t,r){let o=n[Ht].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(jM(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Ef(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=o_(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=fe;d<u.length;d++){let h=u[d];h[On]===h[be]&&Ef(h[I],h,l,r)}if(u[Er]!==null){let d=u[Er];for(let h=0;h<d.length;h++){let p=d[h];Ef(p[I],p,l,r)}}}}}return r}function ph(e,n){return e[Ht].queries[n].queryList}function i_(e,n,t){let r=new on((t&4)===4);return dg(e,n,r,r.destroy),(n[Ht]??=new _f).queries.push(new yf(r))-1}function s_(e,n,t){let r=J();return r.firstCreatePass&&(c_(r,new Ec(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),i_(r,C(),n)}function a_(e,n,t,r){let o=J();if(o.firstCreatePass){let i=he();c_(o,new Ec(n,t,r),i.index),UM(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return i_(o,C(),t)}function HM(e){return e.split(",").map(n=>n.trim())}function c_(e,n,t){e.queries===null&&(e.queries=new bf),e.queries.track(new Df(n,t))}function UM(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 mh(e,n){return e.queries.getByIndex(n)}function l_(e,n){let t=e[I],r=mh(t,n);return r.crossesNgTemplate?Ef(t,e,n,[]):o_(t,e,r,n)}function gh(e,n,t){let r,o=wi(()=>{r._dirtyCounter();let i=$M(r,e);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[me],r._dirtyCounter=ae(0),r._flatValue=void 0,o}function vh(e){return gh(!0,!1,e)}function yh(e){return gh(!0,!0,e)}function _h(e){return gh(!1,!1,e)}function u_(e,n){let t=e[me];t._lView=C(),t._queryIndex=n,t._queryList=ph(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function $M(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[A]&4)return n?void 0:Re;let o=ph(t,r),i=l_(t,r);return o.reset(i,$v),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var $n=class{};var Ji=class extends $n{injector;componentFactoryResolver=new gf(this);instance=null;constructor(n){super();let t=new mr([...n.providers,{provide:$n,useValue:this},{provide:Bc,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 bh(e,n,t=null){return new Ji({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var zM=(()=>{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=$a(!1,t.type),o=r.length>0?bh([r],this._injector,""):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=y({token:e,providedIn:"environment",factory:()=>new e(T(de))})}return e})();function ce(e){return ts(()=>{let n=d_(e),t=U(E({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(zM).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||At.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&qt("NgStandalone"),f_(t);let r=e.dependencies;return t.directiveDefs=lv(r,GM),t.pipeDefs=lv(r,td),t.id=YM(t),t})}function GM(e){return Jt(e)||Fi(e)}function q(e){return ts(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function WM(e,n){if(e==null)return wt;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=Ac.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function qM(e){if(e==null)return wt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function N(e){return ts(()=>{let n=d_(e);return f_(n),n})}function Hc(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 d_(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||wt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:WM(e.inputs,n),outputs:qM(e.outputs),debugInfo:null}}function f_(e){e.features?.forEach(n=>n(e))}function lv(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 YM(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 Dh(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=ZM,t.hostDirectives=r?e.map(Cf):[e]):r?t.hostDirectives.unshift(...e.map(Cf)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function ZM(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,h_(s,n,r),o.set(s,[a,n.length-1])}i===0&&Tt(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 h_(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)uv(Cf(i),n,t)}else uv(r,n,t)}function uv(e,n,t){let r=Fi(e.directive);KM(r.declaredInputs,e.inputs),h_(r,n,t),t.set(r,e),n.push(r)}function Cf(e){return typeof e=="function"?{directive:we(e),inputs:wt,outputs:wt}:{directive:we(e.directive),inputs:dv(e.inputs),outputs:dv(e.outputs)}}function dv(e){if(e===void 0||e.length===0)return wt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function KM(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function XM(e){return Object.getPrototypeOf(e.prototype).constructor}function W(e){let n=XM(e.type),t=!0,r=[e];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,Oi)?n[Oi]:void 0,s=Object.hasOwn(n,ki)?n[ki]:void 0;if(Tt(e))o=i??s;else{if(i)throw new b(903,!1);o=s}if(o){if(t){r.push(o);let c=e;c.inputs=Bd(e.inputs),c.declaredInputs=Bd(e.declaredInputs),c.outputs=Bd(e.outputs);let l=o.hostBindings;l&&nT(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&eT(e,u),d&&tT(e,d),QM(e,o),Wm(e.outputs,o.outputs),Tt(o)&&o.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===W&&(t=!1)}}n=Object.getPrototypeOf(n)}JM(r)}function QM(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 JM(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=Mo(o.hostAttrs,t=Mo(t,o.hostAttrs))}}function Bd(e){return e===wt?{}:e===Re?[]:e}function eT(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function tT(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function nT(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function p_(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Mo(e.mergedAttrs,e.attrs);let u=e.tView=Zf(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),wr(e,!1);let c=oT(t,n,e,r);ec()&&rh(t,n,c,e),To(c,n);let l=By(c,n,c,e);n[r+X]=l,Xf(n,l),r_(l,e,n)}function rT(e,n,t,r,o,i,s,a,c,l,u){let d=t+X,h;return n.firstCreatePass?(h=Fr(n,d,4,s||null,a||null),Ya()&&Wy(n,e,h,nt(n.consts,l),ih),Nv(n,h)):h=n.data[d],p_(h,e,n,t,r,o,i,c),yo(h)&&Fc(n,e,h),l!=null&&is(e,h,u),h}function Nr(e,n,t,r,o,i,s,a,c,l,u){let d=t+X,h;if(n.firstCreatePass){if(h=Fr(n,d,4,s||null,a||null),l!=null){let p=nt(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[d];return p_(h,e,n,t,r,o,i,c),l!=null&&is(e,h,u),h}function Vo(e,n,t,r,o,i,s,a){let c=C(),l=J(),u=nt(l.consts,i);return rT(c,l,e,n,t,r,o,u,void 0,s,a),Vo}function m_(e,n,t,r,o,i,s,a){let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,void 0,s,a),m_}var oT=iT;function iT(e,n,t,r){return $i(!0),n[te].createComment("")}var qe=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(qe||{}),fv=0,sT=1,De=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(De||{}),g_=(function(e){return e[e.Initial=-1]="Initial",e})(g_||{}),aT=0,Uc=1;var cT=4,lT=5,uT=6,dT=7,Hd=8,fT=9,Eh=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Eh||{});function v_(e,n,t){let r=__(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function fc(e,n){let t=__(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function y_(e){fc(1,e),fc(0,e),fc(2,e)}function __(e){let n=cT;return e===1?n=lT:e===2&&(n=fT),n}function $c(e){return e+1}function jo(e,n){let t=e[I],r=$c(n.index);return e[r]}function hT(e,n,t){let r=e[I],o=$c(n);e[o]=t}function Bo(e,n){let t=$c(n.index);return e.data[t]}function pT(e,n,t){let r=$c(n);e.data[r]=t}function mT(e,n,t){let r=n[I],o=Bo(r,t);switch(e){case De.Complete:return o.primaryTmplIndex;case De.Loading:return o.loadingTmplIndex;case De.Error:return o.errorTmplIndex;case De.Placeholder:return o.placeholderTmplIndex;default:return null}}function hv(e,n){return n===De.Placeholder?e.placeholderBlockConfig?.[fv]??null:n===De.Loading?e.loadingBlockConfig?.[fv]??null:null}function gT(e){return e.loadingBlockConfig?.[sT]??null}function pv(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function vT(e,n){let t=n.primaryTmplIndex+X;return bo(e,t)}function yT(e,n){let t=n.get(DT),r=()=>t.remove(e);return t.add(e),r}var _T=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,bT=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,DT=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=f(M);requestIdleCallbackFn=_T().bind(globalThis);cancelIdleCallbackFn=bT().bind(globalThis);add(t){(this.executingCallbacks?this.deferred:this.current).add(t),this.idleId===null&&this.scheduleIdleCallback()}remove(t){let{current:r,deferred:o}=this;r.delete(t),o.delete(t),r.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let t=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(t))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();var ET=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?bh(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e})}return e})();var b_=new g("");function Ud(e,n,t){return e.get(ET).getOrCreateInjector(n,e,t,"")}function CT(e,n,t){if(e instanceof So){let o=e.injector,i=e.parentInjector,s=Ud(i,n,t);return new So(o,s)}let r=e.get(de);if(r!==e){let o=Ud(r,n,t);return new So(e,o)}return Ud(e,n,t)}function Hn(e,n,t,r=!1){let o=t[be],i=o[I];if(Ln(o))return;let s=jo(o,n),a=s[Uc],c=s[dT];if(!(c!==null&&e<c)&&mv(a,e)&&mv(s[aT]??-1,e)){let l=Bo(i,n),d=!r&&!0&&(gT(l)!==null||hv(l,De.Loading)!==null||hv(l,De.Placeholder))?MT:IT;try{d(e,s,t,n,o)}catch(h){ch(o,h)}}}function wT(e,n){let t=e[Fn]?.findIndex(o=>o.data[jf]===n[Uc])??-1;return{dehydratedView:t>-1?e[Fn][t]:null,dehydratedViewIx:t}}function IT(e,n,t,r,o){Y(z.DeferBlockStateStart);let i=mT(e,o,r);if(i!==null){n[Uc]=e;let s=o[I],a=i+X,c=bo(s,a),l=0;uh(t,l);let u;if(e===De.Complete){let m=Bo(s,r),v=m.providers;v&&v.length>0&&(u=CT(o[je],m,v))}let{dehydratedView:d,dehydratedViewIx:h}=wT(t,n),p=Fo(o,c,null,{injector:u,dehydratedView:d});if(Po(t,p,l,Ar(c,d)),Lc(p,2),h>-1&&t[Fn]?.splice(h,1),(e===De.Complete||e===De.Error)&&Array.isArray(n[Hd])){for(let m of n[Hd])m();n[Hd]=null}}Y(z.DeferBlockStateEnd)}function mv(e,n){return e<n}function ST(e,n){let t=e[n.index];Hn(De.Placeholder,n,t)}function gv(e,n,t){e.loadingPromise.then(()=>{e.loadingState===qe.COMPLETE?Hn(De.Complete,n,t):e.loadingState===qe.FAILED&&Hn(De.Error,n,t)})}var MT=null;function Ho(e){return typeof e=="function"&&e[me]!==void 0}function Ch(e){return Ho(e)&&typeof e.set=="function"}var wh=new g("");function Uo(e){return!!e&&typeof e.then=="function"}function Ih(e){return!!e&&typeof e.subscribe=="function"}var D_=new g("");var Sh=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=f(D_,{optional:!0})??[];injector=f(O);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=mo(this.injector,o);if(Uo(i))t.push(i);else if(Ih(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),E_=new g("");function C_(){ku(()=>{let e="";throw new b(600,e)})}function w_(e){return e.isBoundToModule}var TT=10;var it=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(rn);afterRenderManager=f(Rc);zonelessEnabled=f(Co);rootEffectScheduler=f(nc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new w;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(jn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Q(t=>!t))}constructor(){f(Nt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=f(de);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=O.NULL){return this._injector.get(M).run(()=>{Y(z.BootstrapComponentStart);let s=t instanceof jc;if(!this._injector.get(Sh).done){let m="";throw new b(405,m)}let c;s?c=t:c=this._injector.get(Bc).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=w_(c)?void 0:this._injector.get($n),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(wh,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Yi(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),Y(z.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Nc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(z.ChangeDetectionEnd),new b(101,!1);let t=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(t),this.afterTick.next(),Y(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Se,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<TT;){Y(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(z.ChangeDetectionSyncEnd)}}}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&&!Hi(o))continue;let i=r&&!this.zonelessEnabled?0:1;Py(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})=>Hi(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;Yi(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(E_,[]).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),()=>Yi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new b(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yi(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function xT(e){let n=C(),t=he();if(ST(n,t),!S_(0,n))return;let r=n[je],o=jo(n,t),i=e(()=>AT(0,n,t),r);v_(0,o,i)}function I_(e,n,t){let r=n[je],o=n[I];if(e.loadingState!==qe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=jo(n,t),s=vT(o,e);e.loadingState=qe.IN_PROGRESS,fc(1,i);let a=e.dependencyResolverFn,c=r.get(Bn).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,h=[],p=[];for(let m=0;m<l.length;m++){let v=l[m];if(v.status==="fulfilled"){let _=v.value,D=Jt(_)||Fi(_);if(D)h.push(D);else{let k=td(_);k&&p.push(k)}}else{u=!0,d=v.reason instanceof Error?v.reason:new Error(String(v.reason));break}}if(u){if(e.loadingState=qe.FAILED,e.errorTmplIndex===null){let v="",_=new b(-750,v);ch(n,_)}}else{e.loadingState=qe.COMPLETE;let m=s.tView;if(h.length>0){m.directiveRegistry=pv(m.directiveRegistry,h);let v=h.map(D=>D.type),_=$a(!1,...v);e.providers=_}p.length>0&&(m.pipeRegistry=pv(m.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=qe.COMPLETE,c()}),e.loadingPromise)}function S_(e,n){return n[je].get(b_,null,{optional:!0})?.behavior!==Eh.Manual}function AT(e,n,t){let r=n[I],o=n[t.index];if(!S_(e,n))return;let i=jo(n,t),s=Bo(r,t);switch(y_(i),s.loadingState){case qe.NOT_STARTED:Hn(De.Loading,t,o),I_(s,n,t),s.loadingState===qe.IN_PROGRESS&&gv(s,t,o);break;case qe.IN_PROGRESS:Hn(De.Loading,t,o),gv(s,t,o);break;case qe.COMPLETE:Hn(De.Complete,t,o);break;case qe.FAILED:Hn(De.Error,t,o);break;default:}}function NT(e,n,t){return e===0?vv(n,t):e===2?!vv(n,t):!0}function RT(e){return e!=null&&(e&1)===1}function vv(e,n){let t=e[je],r=Bo(e[I],n),o=Bf(t),i=RT(r.flags),a=jo(e,n)[uT]!==null;return!(i&&a&&o)}function OT(e,n,t,r,o,i,s,a,c,l){let u=C(),d=J(),h=e+X,p=Nr(u,d,e,null,0,0),m=u[je],v=Bf(m);if(d.firstCreatePass){qt("NgDefer");let _t={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:qe.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,_t,a,s),pT(d,h,_t)}let _=u[h];r_(_,p,u);let D=null,k=null;if(_[Fn]?.length>0){let _t=_[Fn][0].data;k=_t[Vf]??null,D=_t[jf]}let Me=[null,g_.Initial,null,null,null,null,k,D,null,null];hT(u,h,Me);let ue=null;k!==null&&v&&(ue=m.get(ey),ue.add(k,{lView:u,tNode:p,lContainer:_}));let gn=()=>{y_(Me),k!==null&&ue?.cleanup([k])};v_(0,Me,()=>vd(u,gn)),qa(u,gn)}function kT(){let e=C(),n=he();NT(0,e,n)&&xT(yT)}function M_(e,n){let t=C(),r=nn();if(Ze(t,r,n)){let o=J(),i=Ir();if(Pc(i,o,t,e,n))Ut(i)&&xy(t,i.index);else{let a=tt(i,t);Ay(t[te],a,null,i.value,e,n,null)}}return M_}function ke(e,n,t,r){let o=C(),i=nn();if(Ze(o,i,n)){let s=J(),a=Ir();PS(a,o,e,n,t,r)}return ke}var wf=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 $d(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function FT(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){S(r);let l=n.length-1;for(S(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],h=$d(s,u,s,d,t);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),m=n[l],v=$d(a,p,l,m,t);if(v!==0){v<0&&e.updateValue(a,m),a--,l--;continue}let _=t(s,u),D=t(a,p),k=t(s,d);if(Object.is(k,D)){let Me=t(l,m);Object.is(Me,_)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Cc,i??=_v(e,s,a,t),If(e,o,s,k))e.updateValue(s,d),s++,a++;else if(i.has(k))o.set(_,e.detach(s)),a--;else{let Me=e.create(s,n[s]);e.attach(s,Me),s++,a++}}for(;s<=l;)yv(e,o,t,s,n[s]),s++}else if(n!=null){S(r);let l=n[Symbol.iterator]();S(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),h=u.value,p=$d(s,d,s,h,t);if(p!==0)p<0&&e.updateValue(s,h),s++,u=l.next();else{o??=new Cc,i??=_v(e,s,a,t);let m=t(s,h);if(If(e,o,s,m))e.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,h)),s++,a++,u=l.next();else{let v=t(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)yv(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function If(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function yv(e,n,t,r,o){if(If(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function _v(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 Cc=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 PT(e,n,t,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,256,s,a),Mh}function Mh(e,n,t,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,512,s,a),Mh}function LT(e,n){qt("NgControlFlow");let t=C(),r=nn(),o=t[r]!==Ue?t[r]:-1,i=o!==-1?wc(t,X+o):void 0,s=0;if(Ze(t,r,e)){let a=S(null);try{if(i!==void 0&&uh(i,s),e!==-1){let c=X+e,l=wc(t,c),u=xf(t[I],c),d=$y(l,u,t),h=Fo(t,u,n,{dehydratedView:d});Po(l,h,s,Ar(u,d))}}finally{S(a)}}else if(i!==void 0){let a=Hy(i,s);a!==void 0&&(a[ge]=n)}}var Sf=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-fe}};function VT(e){return e}function jT(e,n){return n}var Mf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function BT(e,n,t,r,o,i,s,a,c,l,u,d,h){qt("NgControlFlow");let p=C(),m=J(),v=c!==void 0,_=C(),D=a?s.bind(_[Be][ge]):s,k=new Mf(v,D);_[X+e]=k,Nr(p,m,e+1,n,t,r,o,nt(m.consts,i),256),v&&Nr(p,m,e+2,c,l,u,d,nt(m.consts,h),512)}var Tf=class extends wf{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-fe}at(n){return this.getLView(n)[ge].$implicit}attach(n,t){let r=t[yr];this.needsIndexUpdate||=n!==this.length,Po(this.lContainer,t,n,Ar(this.templateTNode,r)),UT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,$T(this.lContainer,n),zT(this.lContainer,n)}create(n,t){let r=_c(this.lContainer,this.templateTNode.tView.ssrId);return Fo(this.hostLView,this.templateTNode,new Sf(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Oc(n[I],n)}updateValue(n,t){this.getLView(n)[ge].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ge].$index=n}getLView(n){return GT(this.lContainer,n)}};function HT(e){let n=S(null),t=ht();try{let r=C(),o=r[I],i=r[t],s=t+1,a=wc(r,s);if(i.liveCollection===void 0){let l=xf(o,s);i.liveCollection=new Tf(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(FT(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=nn(),u=c.length===0;if(Ze(r,l,u)){let d=t+2,h=wc(r,d);if(u){let p=xf(o,d),m=$y(h,p,r),v=Fo(r,p,void 0,{dehydratedView:m});Po(h,v,0,Ar(p,m))}else o.firstUpdatePass&&oM(h),uh(h,0)}}}finally{S(n)}}function wc(e,n){return e[n]}function UT(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t],o=r?r[kn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[je];mS(i,o),xr.delete(r[en]),o.detachedLeaveAnimationFns=void 0}}function $T(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t],o=r?r[kn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function zT(e,n){return Qi(e,n)}function GT(e,n){return Hy(e,n)}function xf(e,n){return bo(e,n)}function T_(e,n,t){let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();My(s,r,e,n,r[te],t)}return T_}function Af(e,n,t,r,o){Pc(n,e,t,o?"class":"style",r)}function No(e,n,t,r){let o=C(),i=o[I],s=e+X,a=i.firstCreatePass?dh(s,o,2,n,ih,Ya(),t,r):i.data[s];if(Ut(a)){let c=o[St].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(e_(l),()=>(bv(e,n,o,a,r),No))}}return bv(e,n,o,a,r),No}function bv(e,n,t,r,o){if(sh(r,t,e,n,A_),yo(r)){let i=t[I];Fc(i,t,r),Hf(i,r,t)}o!=null&&is(t,r)}function ss(){let e=J(),n=he(),t=ah(n);return e.firstCreatePass&&fh(e,t),Ed(t)&&Cd(),bd(),t.classesWithoutHost!=null&&$w(t)&&Af(e,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&zw(t)&&Af(e,t,C(),t.stylesWithoutHost,!1),ss}function x_(e,n,t,r){return No(e,n,t,r),ss(),x_}function cn(e,n,t,r){let o=C(),i=o[I],s=e+X,a=i.firstCreatePass?_M(s,i,2,n,t,r):i.data[s];return sh(a,o,e,n,A_),r!=null&&is(o,a),cn}function ln(){let e=he(),n=ah(e);return Ed(n)&&Cd(),bd(),ln}function Xe(e,n,t,r){return cn(e,n,t,r),ln(),Xe}var A_=(e,n,t,r,o)=>($i(!0),uy(n[te],r,Nd()));function Th(e,n,t){let r=C(),o=r[I],i=e+X,s=o.firstCreatePass?dh(i,r,8,"ng-container",ih,Ya(),n,t):o.data[i];if(sh(s,r,e,"ng-container",WT),yo(s)){let a=r[I];Fc(a,r,s),Hf(a,s,r)}return t!=null&&is(r,s),Th}function xh(){let e=J(),n=he(),t=ah(n);return e.firstCreatePass&&fh(e,t),xh}function N_(e,n,t){return Th(e,n,t),xh(),N_}var WT=(e,n,t,r,o)=>($i(!0),VI(n[te],""));function qT(){return C()}function as(e,n,t){let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();Ty(s,r,e,n,r[te],t)}return as}var Gi=void 0;function YT(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var ZT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Gi,[["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"]],Gi,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Gi,Gi,Gi],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",YT],zd=Object.create(null);function st(e){let n=KT(e),t=Dv(n);if(t)return t;let r=n.split("-")[0];if(t=Dv(r),t)return t;if(r==="en")return ZT;throw new b(701,!1)}function Dv(e){if(!(e in zd)){let n=lt.ng&<.ng.common&<.ng.common.locales&<.ng.common.locales[e];return n!==void 0&&(zd[e]=n),n}return zd[e]}var ve=(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})(ve||{});function KT(e){return e.toLowerCase().replace(/_/g,"-")}var cs="en-US";var XT=cs;function R_(e){typeof e=="string"&&(XT=e.toLowerCase().replace(/_/g,"-"))}function Gn(e,n,t){let r=C(),o=J(),i=he();return k_(o,r,r[te],i,e,n,t),Gn}function O_(e,n,t){let r=C(),o=J(),i=he();return(i.type&3||t)&&Qy(i,o,r,t,r[te],e,n,dc(i,r,n)),O_}function k_(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=dc(r,n,i),Qy(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 h=u[d],p=u[d+1];c??=dc(r,n,i),sv(r,n,h,p,o,c)}if(l&&l.length)for(let d of l)c??=dc(r,n,i),sv(r,n,d,o,o,c)}}function QT(e=1){return Sg(e)}function JT(e,n){let t=null,r=eS(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?my(e,i,!0):rS(r,i))return o}return t}function Ot(e){let n=C()[Be][Ve];if(!n.projection){let t=e?e.length:1,r=n.projection=Qm(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?JT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Ae(e,n=0,t,r,o,i){let s=C(),a=J(),c=r?e+1:null;c!==null&&Nr(s,a,c,r,o,i,null,t);let l=Fr(a,X+e,16,null,t||null);l.projection===null&&(l.projection=n),Sd();let d=!s[yr]||Dd();s[Be][Ve].projection[l.projection]===null&&c!==null?e0(s,a,c):d&&!Mc(l)&&SS(a,s,l)}function e0(e,n,t){let r=X+t,o=n.data[r],i=e[r],s=_c(i,o.tView.ssrId),a=Fo(e,o,void 0,{dehydratedView:s});Po(i,a,0,Ar(o,s))}function F_(e,n,t,r){return a_(e,n,t,r),F_}function $o(e,n,t){return s_(e,n,t),$o}function ls(e){let n=C(),t=J(),r=Xa();Ui(r+1);let o=mh(t,r);if(e.dirty&&cg(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=l_(n,r);e.reset(i,$v),e.notifyOnChanges()}return!0}return!1}function us(){return ph(C(),Xa())}function P_(e,n,t,r,o){return u_(n,a_(e,t,r,o)),P_}function L_(e,n,t,r){return u_(e,s_(n,t,r)),L_}function t0(e=1){Ui(Xa()+e)}function n0(e){let n=Md();return Do(n,X+e)}function sc(e,n){return e<<17|n<<2}function Rr(e){return e>>17&32767}function r0(e){return(e&2)==2}function o0(e,n){return e&131071|n<<17}function Nf(e){return e|2}function Ro(e){return(e&131068)>>2}function Gd(e,n){return e&-131069|n<<2}function i0(e){return(e&1)===1}function Rf(e){return e|1}function s0(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Rr(s),c=Ro(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||fo(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let h=Rr(e[a+1]);e[r+1]=sc(h,a),h!==0&&(e[h+1]=Gd(e[h+1],r)),e[a+1]=o0(e[a+1],r)}else e[r+1]=sc(a,0),a!==0&&(e[a+1]=Gd(e[a+1],r)),a=r;else e[r+1]=sc(c,0),a===0?a=r:e[c+1]=Gd(e[c+1],r),c=r;l&&(e[r+1]=Nf(e[r+1])),Ev(e,u,r,!0),Ev(e,u,r,!1),a0(n,u,e,r,i),s=sc(a,c),i?n.classBindings=s:n.styleBindings=s}function a0(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&fo(i,n)>=0&&(t[r+1]=Rf(t[r+1]))}function Ev(e,n,t,r){let o=e[t+1],i=n===null,s=r?Rr(o):Ro(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];c0(c,n)&&(a=!0,e[s+1]=r?Rf(l):Nf(l)),s=r?Rr(l):Ro(l)}a&&(e[t+1]=r?Nf(o):Rf(o))}function c0(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?fo(e,n)>=0:!1}var Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function V_(e){return e.substring(Ie.key,Ie.keyEnd)}function l0(e){return e.substring(Ie.value,Ie.valueEnd)}function u0(e){return H_(e),j_(e,Oo(e,0,Ie.textEnd))}function j_(e,n){let t=Ie.textEnd;return t===n?-1:(n=Ie.keyEnd=f0(e,Ie.key=n,t),Oo(e,n,t))}function d0(e){return H_(e),B_(e,Oo(e,0,Ie.textEnd))}function B_(e,n){let t=Ie.textEnd,r=Ie.key=Oo(e,n,t);return t===r?-1:(r=Ie.keyEnd=h0(e,r,t),r=Cv(e,r,t,58),r=Ie.value=Oo(e,r,t),r=Ie.valueEnd=p0(e,r,t),Cv(e,r,t,59))}function H_(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function Oo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function f0(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function h0(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 Cv(e,n,t,r){return n=Oo(e,n,t),n<t&&n++,n}function p0(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=wv(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=wv(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function wv(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 zc(e,n,t){return U_(e,n,t,!1),zc}function Ee(e,n){return U_(e,n,null,!0),Ee}function m0(e){$_(W_,g0,e,!1)}function g0(e,n){for(let t=d0(n);t>=0;t=B_(n,t))W_(e,V_(n),l0(n))}function ds(e){$_(C0,v0,e,!0)}function v0(e,n){for(let t=u0(n);t>=0;t=j_(n,t))Li(e,V_(n),!0)}function U_(e,n,t,r){let o=C(),i=J(),s=Za(2);if(i.firstUpdatePass&&G_(i,e,s,r),n!==Ue&&Ze(o,s,n)){let a=i.data[ht()];q_(i,a,o,o[te],e,o[s+1]=I0(n,t),r,s)}}function $_(e,n,t,r){let o=J(),i=Za(2);o.firstUpdatePass&&G_(o,null,i,r);let s=C();if(t!==Ue&&Ze(s,i,t)){let a=o.data[ht()];if(Y_(a,r)&&!z_(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=La(c,t||"")),Af(o,a,s,t,r)}else w0(o,a,s,s[te],s[i+1],s[i+1]=E0(e,n,t),r,i)}}function z_(e,n){return n>=e.expandoStartIndex}function G_(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[ht()],s=z_(e,t);Y_(i,r)&&n===null&&!s&&(n=!1),n=y0(o,i,n,r),s0(o,i,n,t,s,r)}}function y0(e,n,t,r){let o=Eg(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Wd(null,e,n,t,r),t=es(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Wd(o,e,n,t,r),i===null){let c=_0(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Wd(null,e,n,c[1],r),c=es(c,n.attrs,r),b0(e,n,r,c))}else i=D0(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function _0(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Ro(r)!==0)return e[Rr(r)]}function b0(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Rr(o)]=r}function D0(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=es(r,s,t)}return es(r,n.attrs,t)}function Wd(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=es(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function es(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]),Li(e,s,t?!0:n[++i]))}return e===void 0?null:e}function E0(e,n,t){if(t==null||t==="")return Re;let r=[],o=rt(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,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 W_(e,n,t){Li(e,n,rt(t))}function C0(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Li(e,r,t)}function w0(e,n,t,r,o,i,s,a){o===Ue&&(o=Re);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 h=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,m=null,v;u===d?(c+=2,l+=2,h!==p&&(m=d,v=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,v=p),m!==null&&q_(e,n,t,r,m,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function q_(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=i0(l)?Iv(c,n,t,o,Ro(l),s):void 0;if(!Ic(u)){Ic(i)||r0(l)&&(i=Iv(c,null,t,o,a,s));let d=pd(ht(),t);TS(r,s,d,o,i)}}function Iv(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,h=t[o+1];h===Ue&&(h=d?Re:void 0);let p=d?Ua(h,r):u===r?h:void 0;if(l&&!Ic(p)&&(p=Ua(c,r)),Ic(p)&&(a=p,s))return a;let m=e[o+1];o=s?Rr(m):Ro(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ua(c,r))}return a}function Ic(e){return e!==void 0}function I0(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Pa(rt(e)))),e}function Y_(e,n){return(e.flags&(n?8:16))!==0}function S0(e,n=""){let t=C(),r=J(),o=e+X,i=r.firstCreatePass?Fr(r,o,1,n,null):r.data[o],s=M0(r,t,i,n);t[o]=s,ec()&&rh(r,t,s,i),wr(i,!1)}var M0=(e,n,t,r)=>($i(!0),PI(n[te],r));function Z_(e,n,t,r=""){return Ze(e,nn(),t)?n+vr(t)+r:Ue}function T0(e,n,t,r,o,i=""){let s=vg(),a=xo(e,s,t,o);return Za(2),a?n+vr(t)+r+vr(o)+i:Ue}function K_(e){return Ah("",e),K_}function Ah(e,n,t){let r=C(),o=Z_(r,e,n,t);return o!==Ue&&Q_(r,ht(),o),Ah}function X_(e,n,t,r,o){let i=C(),s=T0(i,e,n,t,r,o);return s!==Ue&&Q_(i,ht(),s),X_}function Q_(e,n,t){let r=pd(n,e);LI(e[te],r,t)}function J_(e,n,t){Ch(n)&&(n=n());let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();My(s,r,e,n,r[te],t)}return J_}function x0(e,n){let t=Ch(e);return t&&e.set(n),t}function eb(e,n){let t=C(),r=J(),o=he();return k_(r,t,t[te],o,e,n),eb}var tb={};function nb(e){qt("NgLet");let n=J(),t=C(),r=e+X,o=Fr(n,r,128,null,null);return wr(o,!1),Bi(n,t,r,tb),nb}function A0(e){let n=J(),t=C(),r=ht();return Bi(n,t,r,e),e}function N0(e){let n=Md(),t=Do(n,X+e);if(t===tb)throw new b(314,!1);return t}function R0(e,n,t=""){return Z_(C(),e,n,t)}function Sv(e,n,t){let r=J();r.firstCreatePass&&rb(n,r.data,r.blueprint,Tt(e),t)}function rb(e,n,t,r,o){if(e=we(e),Array.isArray(e))for(let i=0;i<e.length;i++)rb(e[i],n,t,r,o);else{let i=J(),s=C(),a=he(),c=pr(e)?e:we(e.provide),l=ld(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(pr(e)||!e.multi){let p=new Tr(l,o,H,null),m=Yd(c,n,o?u:u+h,d);m===-1?(Kd(vc(a,s),i,c),qd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{let p=Yd(c,n,u+h,d),m=Yd(c,n,u,u+h),v=p>=0&&t[p],_=m>=0&&t[m];if(o&&!_||!o&&!v){Kd(vc(a,s),i,c);let D=F0(o?k0:O0,t.length,o,r,l,e);!o&&_&&(t[m].providerFactory=D),qd(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=ob(t[o?m:p],l,!o&&r);qd(i,e,p>-1?p:m,D)}!o&&r&&_&&t[m].componentProviders++}}}function qd(e,n,t,r){let o=pr(n),i=rg(n);if(o||i){let c=(i?we(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 ob(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Yd(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function O0(e,n,t,r,o){return Of(this.multi,[])}function k0(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Zi(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),Of(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Of(i,s);return s}function Of(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function F0(e,n,t,r,o,i){let s=new Tr(e,t,H,null);return s.multi=[],s.index=n,s.componentProviders=0,ob(s,o,r&&!t),s}function Fe(e,n){return t=>{t.providersResolver=(r,o)=>Sv(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Sv(r,o?o(n):n,!0))}}function P0(e,n){let t=$t()+e,r=C();return r[t]===Ue?Lo(r,t,n()):Ky(r,t)}function L0(e,n,t){return ib(C(),$t(),e,n,t)}function V0(e,n,t,r){return sb(C(),$t(),e,n,t,r)}function j0(e,n,t,r,o){return ab(C(),$t(),e,n,t,r,o)}function B0(e,n,t,r,o,i,s){return U0(C(),$t(),e,n,t,r,o,i)}function H0(e,n,t,r,o,i,s,a){let c=$t()+e,l=C(),u=Xy(l,c,t,r,o,i);return xo(l,c+4,s,a)||u?Lo(l,c+6,n(t,r,o,i,s,a)):Ky(l,c+6)}function Gc(e,n){let t=e[n];return t===Ue?void 0:t}function ib(e,n,t,r,o,i){let s=n+t;return Ze(e,s,o)?Lo(e,s+1,i?r.call(i,o):r(o)):Gc(e,s+1)}function sb(e,n,t,r,o,i,s){let a=n+t;return xo(e,a,o,i)?Lo(e,a+2,s?r.call(s,o,i):r(o,i)):Gc(e,a+2)}function ab(e,n,t,r,o,i,s,a){let c=n+t;return bM(e,c,o,i,s)?Lo(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Gc(e,c+3)}function U0(e,n,t,r,o,i,s,a,c){let l=n+t;return Xy(e,l,o,i,s,a)?Lo(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Gc(e,l+4)}function $0(e,n){let t=J(),r,o=e+X;t.firstCreatePass?(r=z0(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=Tn(r.type,!0)),s,a=Le(H);try{let c=gc(!1),l=i();return gc(c),Bi(t,C(),o,l),l}finally{Le(a)}}function z0(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function G0(e,n,t){let r=e+X,o=C(),i=Do(o,r);return Nh(o,r)?ib(o,$t(),n,i.transform,t,i):i.transform(t)}function W0(e,n,t,r){let o=e+X,i=C(),s=Do(i,o);return Nh(i,o)?sb(i,$t(),n,s.transform,t,r,s):s.transform(t,r)}function q0(e,n,t,r,o){let i=e+X,s=C(),a=Do(s,i);return Nh(s,i)?ab(s,$t(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function Nh(e,n){return e[I].data[n].pure}function Y0(e,n){return Vc(e,n)}var cb=(()=>{class e{applicationErrorHandler=f(rn);appRef=f(it);taskService=f(jn);ngZone=f(M);zonelessEnabled=f(Co);tracing=f(Nt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ni):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(tc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Rg:Od;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ni+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.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lb(){return[{provide:Ct,useExisting:cb},{provide:M,useClass:Ri},{provide:Co,useValue:!0}]}function Z0(){return typeof $localize<"u"&&$localize.locale||cs}var fs=new g("",{factory:()=>f(fs,{optional:!0,skipSelf:!0})||Z0()});var Wc=class{destroyed=!1;listeners=null;errorHandler=f(Oe,{optional:!0});destroyRef=f(We);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(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(Nn(953,!1));return}if(this.listeners===null)return;let t=S(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{S(t)}}};function le(e){return Hm(e)}function Qe(e,n){return wi(e,n?.equal)}var K0=e=>e;function Rh(e,n){if(typeof e=="function"){let t=ju(e,K0,n?.equal);return ub(t,n?.debugName)}else{let t=ju(e.source,e.computation,e.equal);return ub(t,e.debugName)}}function ub(e,n){let t=e[me],r=e;return r.set=o=>jm(t,o),r.update=o=>Bm(t,o),r.asReadonly=zi.bind(e),r}function X0(e){let n=e.request,t=e.params??n??(()=>null);return new qc(t,J0(e),e.defaultValue,e.equal?Q0(e.equal):void 0,e.debugName,e.injector??f(O))}var Oh=class{value;isLoading;constructor(n,t){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=zi,this.isLoading=Qe(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Qe(()=>this.status()==="error");update(n){this.set(n(le(this.value)))}isValueDefined=Qe(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Qe(()=>{let n=this.status();return n==="error"?{status:"error",error:this.error()}:{status:n,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},qc=class extends Oh{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,t,r,o,i,s,a){super(Qe(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!kh(c))throw new Yc(this.error());return c.value},{equal:o}),i),this.loaderFn=t,this.equal=o,this.debugName=i,this.extRequest=Rh({source:n,computation:c=>({request:c,reload:0})}),this.state=Rh({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:db(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=Sr(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Bn),this.unregisterOnDestroy=s.get(We).onDestroy(()=>this.destroy()),this.status=Qe(()=>db(this.state()),void 0),this.error=Qe(()=>{let c=this.state().stream?.();return c&&!kh(c)?c.error:void 0},void 0)}set(n){if(this.destroyed)return;let t=le(this.error),r=le(this.state);if(!t){let o=le(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:ae({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=le(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 vn(this,null,function*(){let n=this.extRequest(),{status:t,previousStatus:r}=le(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 le(()=>this.loaderFn({params:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:ae({error:Ph(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){le(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Q0(e){return(n,t)=>n===void 0||t===void 0?n===t:e(n,t)}function J0(e){return ex(e)?e.stream:n=>vn(null,null,function*(){try{return ae({value:yield e.loader(n)},void 0)}catch(t){return ae({error:Ph(t)},void 0)}})}function ex(e){return!!e.stream}function db(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return kh(e.stream())?"resolved":"error";default:return e.status}}function kh(e){return e.error===void 0}function Ph(e){return tx(e)?e:new Fh(e)}function tx(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Yc=class extends Error{constructor(n){super(n.message,{cause:n})}},Fh=class extends Error{constructor(n){super(String(n),{cause:n})}};var yb=Symbol("InputSignalNode#UNSET"),hx=U(E({},Ii),{transformFn:void 0,applyValueToInputSignal(e,n){dr(e,n)}});function _b(e,n){let t=Object.create(hx);t.value=e,t.transformFn=n?.transform;function r(){if(wn(t),t.value===yb){let o=null;throw new b(-950,o)}return t.value}return r[me]=t,r}var Kc=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ff(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},N8=(()=>{let e=new g("");return e.__NG_ELEMENT_ID__=n=>{let t=he();if(t===null)throw new b(-204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new b(-204,!1)},e})();function R8(e){return new Wc}function fb(e,n){return _b(e,n)}function px(e){return _b(yb,e)}var O8=(fb.required=px,fb);function hb(e,n){return vh(n)}function mx(e,n){return yh(n)}var k8=(hb.required=mx,hb);function F8(e,n){return _h(n)}function pb(e,n){return vh(n)}function gx(e,n){return yh(n)}var P8=(pb.required=gx,pb);function L8(e,n){return _h(n)}var vx=(()=>{class e{zone=f(M);changeDetectionScheduler=f(Ct);applicationRef=f(it);applicationErrorHandler=f(rn);_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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yx=new g("",{factory:()=>!1});function _x({ngZoneFactory:e,scheduleInRootZone:n}){return e??=()=>new M(U(E({},bb()),{scheduleInRootZone:n})),[{provide:Co,useValue:!1},{provide:M,useFactory:e},{provide:Rn,multi:!0,useFactory:()=>{let t=f(vx,{optional:!0});return()=>t.initialize()}},{provide:Rn,multi:!0,useFactory:()=>{let t=f(bx);return()=>{t.initialize()}}},{provide:tc,useValue:n??Rd}]}function V8(e){let n=e?.scheduleInRootZone,t=_x({ngZoneFactory:()=>{let r=bb(e);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&qt("NgZone_CoalesceEvent"),new M(r)},scheduleInRootZone:n});return ho([{provide:yx,useValue:!0},t])}function bb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var bx=(()=>{class e{subscription=new j;initialized=!1;zone=f(M);pendingTasks=f(jn);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(()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{M.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vh=new g(""),Dx=new g("");function hs(e){return!e.moduleRef}function Ex(e){let n=hs(e)?e.r3Injector:e.moduleRef.injector,t=n.get(M);return t.run(()=>{hs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(rn),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),hs(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Vh);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Vh);s.add(i),e.moduleRef.onDestroy(()=>{Yi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return wx(r,t,()=>{let i=n.get(jn),s=i.add(),a=n.get(Sh);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(fs,cs);if(R_(c||cs),!n.get(Dx,!0))return hs(e)?n.get(it):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(hs(e)){let u=n.get(it);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Cx?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Cx;function wx(e,n,t){try{let r=t();return Uo(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Zc=null;function Ix(e=[],n){return O.create({name:n,providers:[{provide:Vi,useValue:"platform"},{provide:Vh,useValue:new Set([()=>Zc=null])},...e]})}function Sx(e=[]){if(Zc)return Zc;let n=Ix(e);return Zc=n,C_(),Mx(n),n}function Mx(e){let n=e.get(Sc,null);mo(e,()=>{n?.forEach(t=>t())})}function j8(){return!1}var Tx=1e4;var B8=Tx-1e3;var Pr=(()=>{class e{static __NG_ELEMENT_ID__=xx}return e})();function xx(e){return Ax(he(),C(),(e&16)===16)}function Ax(e,n,t){if(Ut(e)&&!t){let r=ft(e.index,n);return new Un(r,r)}else if(e.type&175){let r=n[Be];return new Un(r,n)}return null}var jh=class{supports(n){return hh(n)}create(n){return new Bh(n)}},Nx=(e,n)=>n,Bh=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||Nx}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<mb(r,o,i)?t:r,a=mb(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 h=0;h<l;h++){let p=h<i.length?i[h]:i[h]=0,m=p+h;u<=m&&m<l&&(i[h]=p+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=[]),!hh(n))throw new b(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,Yy(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 Hh(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 Xc),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 Xc),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}},Hh=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}},Uh=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}},Xc=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Uh,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 mb(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}function gb(){return new Qc([new jh])}var Qc=(()=>{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:gb});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:()=>{let r=f(e,{optional:!0,skipSelf:!0});return e.create(t,r||gb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new b(901,!1)}}return e})();function Db(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;Y(z.BootstrapApplicationStart);try{let i=o?.injector??Sx(r),s=[lb(),kg,...t||[]],a=new Ji({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Ex({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Y(z.BootstrapApplicationEnd)}}function oe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Eb(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Lh=Symbol("NOT_SET"),Cb=new Set,Rx=U(E({},Ii),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Lh,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!==Lh&&!ao(this))return this.signal;try{for(let o of this.cleanup??Cb)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Xt(this),r;try{r=this.userFn.apply(null,n)}finally{In(this,t)}return(this.value===Lh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),$h=class extends Ki{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(We),s),this.scheduler=o;for(let a of eh){let c=t[a];if(c===void 0)continue;let l=Object.create(Rx);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(wn(l),l.value),l.signal[me]=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(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??Cb)t()}finally{Sn(n)}}};function H8(e,n){let t=n?.injector??f(O),r=t.get(Ct),o=t.get(Rc),i=t.get(Nt,null,{optional:!0});o.impl??=t.get(th);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Eo,null,{optional:!0}),c=new $h(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function Jc(e,n){let t=Jt(e),r=n.elementInjector||po();return new Ao(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var wb=null;function pt(){return wb}function zh(e){wb??=e}var ps=class{},zo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(Ib),providedIn:"platform"})}return e})();var Ib=(()=>{class e extends zo{_location;_history;_doc=f(x);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pt().getBaseHref(this._doc)}onPopState(t){let r=pt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=pt().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=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Tb(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Sb(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Wn(e){return e&&e[0]!=="?"?`?${e}`:e}var el=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(kx),providedIn:"root"})}return e})(),Ox=new g(""),kx=(()=>{class e extends el{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(x).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 Tb(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Wn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Wn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Wn(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)(T(zo),T(Ox,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tl=(()=>{class e{_subject=new w;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=Lx(Sb(Mb(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+Wn(r))}normalize(t){return e.stripTrailingSlash(Px(this._basePath,Mb(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+Wn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Wn(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=Wn;static joinWithSlash=Tb;static stripTrailingSlash=Sb;static \u0275fac=function(r){return new(r||e)(T(el))};static \u0275prov=y({token:e,factory:()=>Fx(),providedIn:"root"})}return e})();function Fx(){return new tl(T(el))}function Px(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Mb(e){return e.replace(/\/index\.html$/,"")}function Lx(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Pe=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Pe||{}),re=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(re||{}),Je=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Je||{}),dn={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 Nb(e){return st(e)[ve.LocaleId]}function Rb(e,n,t){let r=st(e),o=[r[ve.DayPeriodsFormat],r[ve.DayPeriodsStandalone]],i=mt(o,n);return mt(i,t)}function Ob(e,n,t){let r=st(e),o=[r[ve.DaysFormat],r[ve.DaysStandalone]],i=mt(o,n);return mt(i,t)}function kb(e,n,t){let r=st(e),o=[r[ve.MonthsFormat],r[ve.MonthsStandalone]],i=mt(o,n);return mt(i,t)}function Fb(e,n){let r=st(e)[ve.Eras];return mt(r,n)}function ms(e,n){let t=st(e);return mt(t[ve.DateFormat],n)}function gs(e,n){let t=st(e);return mt(t[ve.TimeFormat],n)}function vs(e,n){let r=st(e)[ve.DateTimeFormat];return mt(r,n)}function ys(e,n){let t=st(e),r=t[ve.NumberSymbols][n];if(typeof r>"u"){if(n===dn.CurrencyDecimal)return t[ve.NumberSymbols][dn.Decimal];if(n===dn.CurrencyGroup)return t[ve.NumberSymbols][dn.Group]}return r}function Pb(e){if(!e[ve.ExtraData])throw new b(2303,!1)}function Lb(e){let n=st(e);return Pb(n),(n[ve.ExtraData][2]||[]).map(r=>typeof r=="string"?Gh(r):[Gh(r[0]),Gh(r[1])])}function Vb(e,n,t){let r=st(e);Pb(r);let o=[r[ve.ExtraData][0],r[ve.ExtraData][1]],i=mt(o,n)||[];return mt(i,t)||[]}function mt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new b(2304,!1)}function Gh(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var Vx=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nl={},jx=/((?:[^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]*)/,Bx=256;function jb(e,n,t,r){let o=Kx(e);Hx(n),n=un(t,n)||n;let s=[],a;for(;n;)if(a=jx.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=Hb(r,c),o=Zx(o,r));let l="";return s.forEach(u=>{let d=qx(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Hx(e){if(e.length>Bx)throw new b(2300,!1)}function al(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function un(e,n){let t=Nb(e);if(nl[t]??={},nl[t][n])return nl[t][n];let r="";switch(n){case"shortDate":r=ms(e,Je.Short);break;case"mediumDate":r=ms(e,Je.Medium);break;case"longDate":r=ms(e,Je.Long);break;case"fullDate":r=ms(e,Je.Full);break;case"shortTime":r=gs(e,Je.Short);break;case"mediumTime":r=gs(e,Je.Medium);break;case"longTime":r=gs(e,Je.Long);break;case"fullTime":r=gs(e,Je.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=rl(vs(e,Je.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=rl(vs(e,Je.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),l=un(e,"longDate");r=rl(vs(e,Je.Long),[c,l]);break;case"full":let u=un(e,"fullTime"),d=un(e,"fullDate");r=rl(vs(e,Je.Full),[u,d]);break}return r&&(nl[t][n]=r),r}function rl(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function kt(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 Ux(e,n){return kt(e,3).substring(0,n)}function Ce(e,n,t=0,r=!1,o=!1){return function(i,s){let a=$x(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return Ux(a,n);let c=ys(s,dn.MinusSign);return kt(a,n,c,r,o)}}function $x(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 b(2301,!1)}}function ie(e,n,t=Pe.Format,r=!1){return function(o,i){return zx(o,i,e,n,t,r)}}function zx(e,n,t,r,o,i){switch(t){case 2:return kb(n,o,r)[e.getMonth()];case 1:return Ob(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=Lb(n),u=Vb(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,v=s>=p.hours&&a>=p.minutes,_=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(v&&_)return!0}else if(v||_)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Rb(n,o,r)[s<12?0:1];case 3:return Fb(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new b(2302,!1)}}function ol(e){return function(n,t,r){let o=-1*r,i=ys(t,dn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+kt(s,2,i)+kt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+kt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var Gx=0,sl=4;function Wx(e){let n=al(e,Gx,1).getDay();return al(e,0,1+(n<=sl?sl:sl+7)-n)}function Bb(e){let n=e.getDay(),t=n===0?-3:sl-n;return al(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Wh(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=Bb(t),s=Wx(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return kt(o,e,ys(r,dn.MinusSign))}}function il(e,n=!1){return function(t,r){let i=Bb(t).getFullYear();return kt(i,e,ys(r,dn.MinusSign),n)}}var qh={};function qx(e){if(qh[e])return qh[e];let n;switch(e){case"G":case"GG":case"GGG":n=ie(3,re.Abbreviated);break;case"GGGG":n=ie(3,re.Wide);break;case"GGGGG":n=ie(3,re.Narrow);break;case"y":n=Ce(0,1,0,!1,!0);break;case"yy":n=Ce(0,2,0,!0,!0);break;case"yyy":n=Ce(0,3,0,!1,!0);break;case"yyyy":n=Ce(0,4,0,!1,!0);break;case"Y":n=il(1);break;case"YY":n=il(2,!0);break;case"YYY":n=il(3);break;case"YYYY":n=il(4);break;case"M":case"L":n=Ce(1,1,1);break;case"MM":case"LL":n=Ce(1,2,1);break;case"MMM":n=ie(2,re.Abbreviated);break;case"MMMM":n=ie(2,re.Wide);break;case"MMMMM":n=ie(2,re.Narrow);break;case"LLL":n=ie(2,re.Abbreviated,Pe.Standalone);break;case"LLLL":n=ie(2,re.Wide,Pe.Standalone);break;case"LLLLL":n=ie(2,re.Narrow,Pe.Standalone);break;case"w":n=Wh(1);break;case"ww":n=Wh(2);break;case"W":n=Wh(1,!0);break;case"d":n=Ce(2,1);break;case"dd":n=Ce(2,2);break;case"c":case"cc":n=Ce(7,1);break;case"ccc":n=ie(1,re.Abbreviated,Pe.Standalone);break;case"cccc":n=ie(1,re.Wide,Pe.Standalone);break;case"ccccc":n=ie(1,re.Narrow,Pe.Standalone);break;case"cccccc":n=ie(1,re.Short,Pe.Standalone);break;case"E":case"EE":case"EEE":n=ie(1,re.Abbreviated);break;case"EEEE":n=ie(1,re.Wide);break;case"EEEEE":n=ie(1,re.Narrow);break;case"EEEEEE":n=ie(1,re.Short);break;case"a":case"aa":case"aaa":n=ie(0,re.Abbreviated);break;case"aaaa":n=ie(0,re.Wide);break;case"aaaaa":n=ie(0,re.Narrow);break;case"b":case"bb":case"bbb":n=ie(0,re.Abbreviated,Pe.Standalone,!0);break;case"bbbb":n=ie(0,re.Wide,Pe.Standalone,!0);break;case"bbbbb":n=ie(0,re.Narrow,Pe.Standalone,!0);break;case"B":case"BB":case"BBB":n=ie(0,re.Abbreviated,Pe.Format,!0);break;case"BBBB":n=ie(0,re.Wide,Pe.Format,!0);break;case"BBBBB":n=ie(0,re.Narrow,Pe.Format,!0);break;case"h":n=Ce(3,1,-12);break;case"hh":n=Ce(3,2,-12);break;case"H":n=Ce(3,1);break;case"HH":n=Ce(3,2);break;case"m":n=Ce(4,1);break;case"mm":n=Ce(4,2);break;case"s":n=Ce(5,1);break;case"ss":n=Ce(5,2);break;case"S":n=Ce(6,1);break;case"SS":n=Ce(6,2);break;case"SSS":n=Ce(6,3);break;case"Z":case"ZZ":case"ZZZ":n=ol(0);break;case"ZZZZZ":n=ol(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ol(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=ol(2);break;default:return null}return qh[e]=n,n}function Hb(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function Yx(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function Zx(e,n,t){let o=e.getTimezoneOffset(),i=Hb(n,o);return Yx(e,-1*(i-o))}function Kx(e){if(xb(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(Vx))return Xx(r)}let n=new Date(e);if(!xb(n))throw new b(2311,!1);return n}function Xx(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 xb(e){return e instanceof Date&&!isNaN(e.valueOf())}var Yh=/\s+/,Ab=[],Qx=(()=>{class e{_ngEl;_renderer;initialClasses=Ab;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Yh):Ab}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Yh):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(Yh).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)(H(B),H(Ke))};static \u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Jx=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(O);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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.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)(H(ot))};static \u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[He]})}return e})();function eA(e,n){return new b(2100,!1)}var tA="mediumDate",Ub=new g(""),$b=new g(""),nA=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??tA,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return jb(t,s,i||this.locale,a)}catch(s){throw eA(e,s.message)}}static \u0275fac=function(r){return new(r||e)(H(fs,16),H(Ub,24),H($b,24))};static \u0275pipe=Hc({name:"date",type:e,pure:!0})}return e})();var rA=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Hc({name:"json",type:e,pure:!1})}return e})();var zb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();function _s(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 Lr=class{};var Zh="browser";function Gb(e){return e===Zh}var bs=class{_doc;constructor(n){this._doc=n}manager},cl=(()=>{class e extends bs{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)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),dl=new g(""),Jh=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof cl));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof cl);i&&this._plugins.push(i)}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 b(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(T(dl),T(M))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Kh="ng-app-id";function Wb(e){for(let n of e)n.remove()}function qb(e,n){let t=n.createElement("style");return t.textContent=e,t}function iA(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Kh}="${n}"],link[${Kh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Kh),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 Qh(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var ep=(()=>{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,iA(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,qb);r?.forEach(o=>this.addUsage(o,this.external,Qh))}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&&(Wb(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Wb(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,qb(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Qh(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)(T(x),T(zn),T(kr,8),T(Or))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Xh={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"},tp=/%COMP%/g;var Zb="%COMP%",sA=`_nghost-${Zb}`,aA=`_ngcontent-${Zb}`,cA=!0,lA=new g("",{factory:()=>cA});function uA(e){return aA.replace(tp,e)}function dA(e){return sA.replace(tp,e)}function Kb(e,n){return n.map(t=>t.replace(tp,e))}var np=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Ds(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof ul?o.applyToHost(t):o instanceof Es&&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.tracingService;switch(r.encapsulation){case At.Emulated:i=new ul(c,l,r,this.appId,u,s,a,d);break;case At.ShadowDom:return new ll(c,t,r,s,a,this.nonce,d,l);case At.ExperimentalIsolatedShadowDom:return new ll(c,t,r,s,a,this.nonce,d);default:i=new Es(c,l,r,u,s,a,d);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)(T(Jh),T(ep),T(zn),T(lA),T(x),T(M),T(kr),T(Nt,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Ds=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Xh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Yb(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Yb(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 b(-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=Xh[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Xh[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&(Gt.DashCase|Gt.Important)?n.style.setProperty(t,r,o&Gt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Gt.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=pt().getGlobalEventTarget(this.doc,n),!n))throw new b(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 Yb(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ll=class extends Ds{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Kb(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Qh(d,o);s&&h.setAttribute("nonce",s),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&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Es=class extends Ds{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Kb(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&xr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ul=class extends Es{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=uA(l),this.hostAttr=dA(l)}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 fl=class e extends ps{supportsDOMEvents=!0;static makeCurrent(){zh(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=fA();return t==null?null:hA(t)}resetBaseElement(){Cs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _s(document.cookie,n)}},Cs=null;function fA(){return Cs=Cs||document.head.querySelector("base"),Cs?Cs.getAttribute("href"):null}function hA(e){return new URL(e,document.baseURI).pathname}var pA=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Xb=["alt","control","meta","shift"],mA={"\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"},gA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Qb=(()=>{class e extends bs{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(()=>pt().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."),Xb.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=mA[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"),Xb.forEach(s=>{if(s!==o){let a=gA[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)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function vA(e,n,t){return vn(this,null,function*(){let r=E({rootComponent:e},yA(n,t));return Db(r)})}function yA(e,n){return{platformRef:n?.platformRef,appProviders:[...CA,...e?.providers??[]],platformProviders:EA}}function _A(){fl.makeCurrent()}function bA(){return new Oe}function DA(){return Lf(document),document}var EA=[{provide:Or,useValue:Zh},{provide:Sc,useValue:_A,multi:!0},{provide:x,useFactory:DA}];var CA=[{provide:Vi,useValue:"root"},{provide:Oe,useFactory:bA},{provide:dl,useClass:cl,multi:!0},{provide:dl,useClass:Qb,multi:!0},np,ep,Jh,{provide:Se,useExisting:np},{provide:Lr,useClass:pA},[]];var qn=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();for(let[t,r]of n.headers.entries())this.headers.set(t,r),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)||[]).slice():[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(i===void 0)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(t);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}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 pl=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()}},ml=class{encodeKey(n){return Jb(n)}encodeValue(n){return Jb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function wA(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 IA=/%(\d[a-f0-9])/gi,SA={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Jb(e){return encodeURIComponent(e).replace(IA,(n,t)=>SA[t]??n)}function hl(e){return`${e}`}var fn=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new ml,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=wA(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(hl):[hl(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(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,t]of this.cloneFrom.map.entries())this.map.set(n,t);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=n.op==="a"?(this.map.get(n.param)||[]).slice():[];t.push(hl(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),o=r.indexOf(hl(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}}};function MA(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function eD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tD(e){return typeof Blob<"u"&&e instanceof Blob}function nD(e){return typeof FormData<"u"&&e instanceof FormData}function TA(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var rD="Content-Type",oD="Accept",sD="text/plain",aD="application/json",xA=`${aD}, ${sD}, */*`,Go=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(MA(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 b(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new qn,this.context??=new pl,!this.params)this.params=new fn,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"||eD(this.body)||tD(this.body)||nD(this.body)||TA(this.body)?this.body:this.body instanceof fn?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||nD(this.body)?null:tD(this.body)?this.body.type||null:eD(this.body)?null:typeof this.body=="string"?sD:this.body instanceof fn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?aD: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.referrer??this.referrer,h=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,k=n.reportProgress??this.reportProgress,Me=n.headers||this.headers,ue=n.params||this.params,gn=n.context??this.context;return n.setHeaders!==void 0&&(Me=Object.keys(n.setHeaders).reduce((_t,er)=>_t.set(er,n.setHeaders[er]),Me)),n.setParams&&(ue=Object.keys(n.setParams).reduce((_t,er)=>_t.set(er,n.setParams[er]),ue)),new e(t,r,_,{params:ue,headers:Me,context:gn,reportProgress:k,responseType:o,withCredentials:D,transferCache:m,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},Vr=(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})(Vr||{}),qo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new qn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},gl=class e extends qo{constructor(n={}){super(n)}type=Vr.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})}},ws=class e extends qo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Vr.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,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Wo=class extends qo{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}},AA=200,NA=204;var RA=new g("");var OA=/^\)\]\}',?\n/;var op=(()=>{class e{xhrFactory;tracingService=f(Nt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return pe(null).pipe(io(()=>new R(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((_,D)=>s.setRequestHeader(_,D.join(","))),t.headers.has(oD)||s.setRequestHeader(oD,xA),!t.headers.has(rD)){let _=t.detectContentTypeHeader();_!==null&&s.setRequestHeader(rD,_)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let _=t.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let _=s.statusText||"OK",D=new qn(s.getAllResponseHeaders()),k=s.responseURL||t.url;return c=new gl({headers:D,status:s.status,statusText:_,url:k}),c},u=this.maybePropagateTrace(()=>{let{headers:_,status:D,statusText:k,url:Me}=l(),ue=null;D!==NA&&(ue=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=ue?AA:0);let gn=D>=200&&D<300;if(t.responseType==="json"&&typeof ue=="string"){let _t=ue;ue=ue.replace(OA,"");try{ue=ue!==""?JSON.parse(ue):null}catch(er){ue=_t,gn&&(gn=!1,ue={error:er,text:ue})}}gn?(i.next(new ws({body:ue,headers:_,status:D,statusText:k,url:Me||void 0})),i.complete()):i.error(new Wo({error:ue,headers:_,status:D,statusText:k,url:Me||void 0}))}),d=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new Wo({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(k)}),h=d;t.timeout&&(h=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new Wo({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(k)}));let p=!1,m=this.maybePropagateTrace(_=>{p||(i.next(l()),p=!0);let D={type:Vr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),v=this.maybePropagateTrace(_=>{let D={type:Vr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),i.next(D)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:Vr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Lr))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kA=new g("",{factory:()=>!0}),FA="XSRF-TOKEN",PA=new g("",{factory:()=>FA}),LA="X-XSRF-TOKEN",VA=new g("",{factory:()=>LA}),jA=(()=>{class e{cookieName=f(PA);doc=f(x);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=_s(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(jA),o},providedIn:"root"})}return e})();function lD(e,n){if(!f(kA)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=f(zo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch(o){return n(e)}let t=f(cD).getToken(),r=f(VA);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}function uD(e,n){return n(e)}function BA(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function HA(e,n,t){return(r,o)=>mo(t,()=>n(r,i=>e(i,o)))}var dD=new g(""),ip=new g("",{factory:()=>[lD]}),fD=new g(""),sp=new g("",{factory:()=>!0});function UA(){let e=null;return(n,t)=>{e===null&&(e=(f(dD,{optional:!0})??[]).reduceRight(BA,uD));let r=f(Bn);if(f(sp)){let i=r.add();return e(n,t).pipe(oo(i))}else return e(n,t)}}var ap=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(op),o},providedIn:"root"})}return e})();var vl=(()=>{class e{backend;injector;chain=null;pendingTasks=f(Bn);contributeToStability=f(sp);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=this.injector.get(yl,null,{skipSelf:!0}),o=r!==null&&this.backend===r,i=this.injector.get(fD,[],o?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(ip),...i]));this.chain=s.reduceRight((a,c)=>HA(a,c,this.injector),uD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(oo(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(ap),T(de))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(vl),o},providedIn:"root"})}return e})();function rp(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,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var _l=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Go)i=t;else{let c;o.headers instanceof qn?c=o.headers:c=new qn(o.headers);let l;o.params&&(o.params instanceof fn?l=o.params:l=new fn({fromObject:o.params})),i=new Go(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,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=pe(i).pipe(Iu(c=>this.handler.handle(c)));if(t instanceof Go||o.observe==="events")return s;let a=s.pipe(_e(c=>c instanceof ws));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Q(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(Q(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(Q(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(Q(c=>c.body))}case"response":return a;default:throw new b(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 fn().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,rp(o,r))}post(t,r,o={}){return this.request("POST",t,rp(o,r))}put(t,r,o={}){return this.request("PUT",t,rp(o,r))}static \u0275fac=function(r){return new(r||e)(T(yl))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cp=(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})(cp||{});function $A(e,n){return{\u0275kind:e,\u0275providers:n}}function zA(...e){let n=[_l,vl,{provide:yl,useExisting:vl},{provide:ap,useFactory:()=>f(RA,{optional:!0})??f(op)},{provide:ip,useValue:lD,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return ho(n)}var iD=new g("");function GA(){return $A(cp.LegacyInterceptors,[{provide:iD,useFactory:UA},{provide:ip,useExisting:iD,multi:!0}])}var Is=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(qA),o},providedIn:"root"})}return e})(),qA=(()=>{class e extends Is{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case K.NONE:return r;case K.HTML:return Wt(r,"HTML")?rt(r):xc(this._doc,String(r)).toString();case K.STYLE:return Wt(r,"Style")?rt(r):r;case K.SCRIPT:if(Wt(r,"Script"))return rt(r);throw new b(5200,!1);case K.URL:return Wt(r,"URL")?rt(r):rs(String(r));case K.RESOURCE_URL:if(Wt(r,"ResourceURL"))return rt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(t){return Uf(t)}bypassSecurityTrustStyle(t){return $f(t)}bypassSecurityTrustScript(t){return zf(t)}bypassSecurityTrustUrl(t){return Gf(t)}bypassSecurityTrustResourceUrl(t){return Wf(t)}static \u0275fac=function(r){return new(r||e)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ss(e){return e.buttons===0||e.detail===0}function Ms(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 lp;function hD(){if(lp==null){let e=typeof document<"u"?document.head:null;lp=!!(e&&(e.createShadowRoot||e.attachShadow))}return lp}function up(e){if(hD()){let n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function jr(){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 $e(e){return e.composedPath?e.composedPath()[0]:e.target}var dp;try{dp=typeof Intl<"u"&&Intl.v8BreakIterator}catch(e){dp=!1}var se=(()=>{class e{_platformId=f(Or);isBrowser=this._platformId?Gb(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||dp)&&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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ts;function pD(){if(Ts==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ts=!0}))}finally{Ts=Ts||!1}return Ts}function Yo(e){return pD()?e:!!e.capture}function Ft(e,n=0){return mD(e)?Number(e):arguments.length===2?n:0}function mD(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function gt(e){return e instanceof B?e.nativeElement:e}var gD=new g("cdk-input-modality-detector-options"),vD={ignoreKeys:[18,17,224,91,16]},yD=650,fp={passive:!0,capture:!0},_D=(()=>{class e{_platform=f(se);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new or(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(r=>r===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$e(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<yD||(this._modality.next(Ss(t)?"keyboard":"mouse"),this._mostRecentTarget=$e(t))};_onTouchstart=t=>{if(Ms(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$e(t)};constructor(){let t=f(M),r=f(x),o=f(gD,{optional:!0});if(this._options=E(E({},vD),o),this.modalityDetected=this._modality.pipe(Di(1)),this.modalityChanged=this.modalityDetected.pipe(ar()),this._platform.isBrowser){let i=f(Se).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,fp),i.listen(r,"mousedown",this._onMousedown,fp),i.listen(r,"touchstart",this._onTouchstart,fp)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xs=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(xs||{}),bD=new g("cdk-focus-monitor-default-options"),bl=Yo({passive:!0,capture:!0}),Zo=(()=>{class e{_ngZone=f(M);_platform=f(se);_inputModalityDetector=f(_D);_origin=null;_lastFocusOrigin=null;_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(x);_stopInputModalityDetector=new w;constructor(){let t=f(bD,{optional:!0});this._detectionMode=t?.detectionMode||xs.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let r=$e(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=gt(t);if(!this._platform.isBrowser||o.nodeType!==1)return pe();let i=up(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new w,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let r=gt(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=gt(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===xs.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===xs.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?yD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,r){let o=this._elementInfo.get(r),i=$e(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,bl),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,bl)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Kt(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,bl),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,bl),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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ZA=(()=>{class e{_elementRef=f(B);_focusMonitor=f(Zo);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new $;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?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();var Dl=new WeakMap,vt=(()=>{class e{_appRef;_injector=f(O);_environmentInjector=f(de);load(t){let r=this._appRef=this._appRef||this._injector.get(it),o=Dl.get(r);o||(o={loaders:new Set,refs:[]},Dl.set(r,o),r.onDestroy(()=>{Dl.get(r)?.refs.forEach(i=>i.destroy()),Dl.delete(r)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(Jc(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden {
|
|
6
6
|
border: 0;
|
|
7
7
|
clip: rect(0 0 0 0);
|
|
8
8
|
height: 1px;
|
|
@@ -21,7 +21,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
21
21
|
left: auto;
|
|
22
22
|
right: 0;
|
|
23
23
|
}
|
|
24
|
-
`],encapsulation:2,changeDetection:0})}return e})(),El;function ZA(){if(El===void 0&&(El=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(El=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return El}function Br(e){return ZA()?.createHTML(e)||e}function DD(e,n,t){let r=t.sanitize(K.HTML,n);e.innerHTML=Br(r||"")}function Ko(e){return Array.isArray(e)?e:[e]}var ED=new Set,Hr,wl=(()=>{class e{_platform=f(se);_nonce=f(kr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):XA}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&KA(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function KA(e,n){if(!ED.has(e))try{Hr||(Hr=document.createElement("style"),n&&Hr.setAttribute("nonce",n),Hr.setAttribute("type","text/css"),document.head.appendChild(Hr)),Hr.sheet&&(Hr.sheet.insertRule(`@media ${e} {body{ }}`,0),ED.add(e))}catch(t){console.error(t)}}function XA(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var hp=(()=>{class e{_mediaMatcher=f(wl);_zone=f(M);_queries=new Map;_destroySubject=new w;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return CD(Ko(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=CD(Ko(t)).map(s=>this._registerQuery(s).observable),i=Cu(o);return i=no(i.pipe(Ge(1)),i.pipe(Di(1),Dn(0))),i.pipe(Q(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 R(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Vt(r),Q(({matches:s})=>({query:t,matches:s})),Kt(this._destroySubject)),mql:r};return this._queries.set(t,i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CD(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function QA(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 wD=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ID=(()=>{class e{_mutationObserverFactory=f(wD);_observedElements=new Map;_ngZone=f(M);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,r)=>this._cleanupObserver(r))}observe(t){let r=gt(t);return new R(o=>{let s=this._observeElement(r).pipe(Q(a=>a.filter(c=>!QA(c))),Ce(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 w,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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),D4=(()=>{class e{_contentObserver=f(ID);_elementRef=f(B);event=new $;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=Ft(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(Dn(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",oe],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),SD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[wD]})}return e})();var Sl=(()=>{class e{_platform=f(se);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return eN(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let r=JA(cN(t));if(r&&(MD(r)===-1||!this.isVisible(r)))return!1;let o=t.nodeName.toLowerCase(),i=MD(t);return t.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!sN(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 aN(t)&&!this.isDisabled(t)&&(r?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function JA(e){try{return e.frameElement}catch(n){return null}}function eN(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function tN(e){let n=e.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function nN(e){return oN(e)&&e.type=="hidden"}function rN(e){return iN(e)&&e.hasAttribute("href")}function oN(e){return e.nodeName.toLowerCase()=="input"}function iN(e){return e.nodeName.toLowerCase()=="a"}function AD(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let n=e.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function MD(e){if(!AD(e))return null;let n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function sN(e){let n=e.nodeName.toLowerCase(),t=n==="input"&&e.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function aN(e){return nN(e)?!1:tN(e)||rN(e)||e.hasAttribute("contenteditable")||AD(e)}function cN(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Il=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_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?Rt(n,{injector:this._injector}):setTimeout(n)}},Ml=(()=>{class e{_checker=f(Sl);_ngZone=f(M);_document=f(x);_injector=f(O);constructor(){f(vt).load(Cl)}create(t,r=!1){return new Il(t,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lN=(()=>{class e{_elementRef=f(B);_focusTrapFactory=f(Ml);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}autoCapture=!1;constructor(){f(se).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let r=t.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=jr(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",oe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",oe]},exportAs:["cdkTrapFocus"],features:[He]})}return e})(),ND=new g("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),RD=new g("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),uN=0,dN=(()=>{class e{_ngZone=f(M);_defaultOptions=f(RD,{optional:!0});_liveElement;_document=f(x);_sanitizer=f(Is);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=f(ND,{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(()=>{!t||typeof t=="string"?this._liveElement.textContent=t:DD(this._liveElement,t,this._sanitizer),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-${uN++}`,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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Yn=(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})(Yn||{}),TD="cdk-high-contrast-black-on-white",xD="cdk-high-contrast-white-on-black",pp="cdk-high-contrast-active",OD=(()=>{class e{_platform=f(se);_hasCheckedHighContrastMode=!1;_document=f(x);_breakpointSubscription;constructor(){this._breakpointSubscription=f(hp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Yn.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 Yn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Yn.BLACK_ON_WHITE}return Yn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(pp,TD,xD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Yn.BLACK_ON_WHITE?t.add(pp,TD):r===Yn.WHITE_ON_BLACK&&t.add(pp,xD)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mp=(()=>{class e{constructor(){f(OD)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[SD]})}return e})();var fN=200,Xo=class{_letterKeyStream=new w;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new w;selectedItem=this._selectedItem;constructor(n,t){let r=typeof t?.debounceInterval=="number"?t.debounceInterval:fN;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(En(t=>this._pressedLetters.push(t)),Dn(n),Ce(()=>this._pressedLetters.length>0),Q(()=>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 Zn(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Qo=class{_items;_activeItemIndex=ae(-1);_activeItem=ae(null);_wrap=!1;_typeaheadSubscription=j.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof on?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):Ho(n)&&(this._effectRef=Sr(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new w;change=new w;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 Xo(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||Zn(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 on?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 gp=class extends Qo{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var vp=class extends Qo{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function yp(e){return Zt(e)?e:pe(e)}var _p=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=j.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let t=this._items[n];t.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=t,this._typeahead?.setCurrentSelectedItemIndex(n),t.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,t){n instanceof on?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Zt(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof t.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=t.shouldActivationFollowFocus),t.horizontalOrientation&&(this._horizontalOrientation=t.horizontalOrientation),t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),t.trackBy&&(this._trackByFn=t.trackBy),typeof t.typeAheadDebounceInterval<"u"&&this._setTypeAhead(t.typeAheadDebounceInterval)}change=new w;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,t={}){t.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let o=this._items[r];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let i=this._activeItem;this._activeItem=o??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),i?.unfocus(),t.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let t=this._activeItem;if(!t)return;let r=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(t));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new Xo(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.focusItem(t)})}_findNextAvailableItemIndex(n){for(let t=n+1;t<this._items.length;t++)if(!this._skipPredicateFn(this._items[t]))return t;return n}_findPreviousAvailableItemIndex(n){for(let t=n-1;t>=0;t--)if(!this._skipPredicateFn(this._items[t]))return t;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?yp(this._activeItem.getChildren()).pipe(Ge(1)).subscribe(n=>{let t=n.find(r=>!this._skipPredicateFn(r));t&&this.focusItem(t)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),t;n?t=yp(n.getChildren()):t=pe(this._items.filter(r=>r.getParent()===null)),t.pipe(Ge(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},m5=new g("tree-key-manager",{providedIn:"root",factory:()=>(e,n)=>new _p(e,n)});var bp={},Yt=class e{_appId=f(zn);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,t=!1){return this._appId!=="ng"&&(n+=this._appId),bp.hasOwnProperty(n)||(bp[n]=0),`${n}${t?e._infix+"-":""}${bp[n]++}`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})};var FD=" ";function hN(e,n,t){let r=xl(e,n);t=t.trim(),!r.some(o=>o.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(FD)))}function pN(e,n,t){let r=xl(e,n);t=t.trim();let o=r.filter(i=>i!==t);o.length?e.setAttribute(n,o.join(FD)):e.removeAttribute(n)}function xl(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}var PD="cdk-describedby-message",Tl="cdk-describedby-host",Ep=0,T5=(()=>{class e{_platform=f(se);_document=f(x);_messageRegistry=new Map;_messagesContainer=null;_id=`${Ep++}`;constructor(){f(vt).load(Cl),this._id=f(zn)+"-"+Ep++}describe(t,r,o){if(!this._canBeDescribed(t,r))return;let i=Dp(r,o);typeof r!="string"?(kD(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=Dp(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(`[${Tl}="${this._id}"]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Tl);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,r){let o=this._document.createElement("div");kD(o,this._id),o.textContent=t,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Dp(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=xl(t,"aria-describedby").filter(o=>o.indexOf(PD)!=0);t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){let o=this._messageRegistry.get(r);hN(t,"aria-describedby",o.messageElement.id),t.setAttribute(Tl,this._id),o.referenceCount++}_removeMessageReference(t,r){let o=this._messageRegistry.get(r);o.referenceCount--,pN(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Tl)}_isElementDescribedByMessage(t,r){let o=xl(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dp(e,n){return typeof e=="string"?`${n||""}/${e}`:e}function kD(e,n){e.id||(e.id=`${PD}-${n}-${Ep++}`)}function Cp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ye(e){return e==null?"":typeof e=="string"?e:`${e}px`}var mN=new g("cdk-dir-doc",{providedIn:"root",factory:()=>f(x)}),gN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function LD(e){let n=e?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?gN.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var hn=(()=>{class e{get value(){return this.valueSignal()}valueSignal=ae("ltr");change=new $;constructor(){let t=f(mN,{optional:!0});if(t){let r=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(LD(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pt=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Pt||{}),Al,Ur;function Nl(){if(Ur==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ur=!1,Ur;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Ur=!0;else{let e=Element.prototype.scrollTo;e?Ur=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ur=!1}}return Ur}function Jo(){if(typeof document!="object"||!document)return Pt.NORMAL;if(Al==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),Al=Pt.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Al=e.scrollLeft===0?Pt.NEGATED:Pt.INVERTED),e.remove()}return Al}var Rl=class{};function VD(e){return e&&typeof e.connect=="function"&&!(e instanceof di)}var Ol=class extends Rl{_data;constructor(n){super(),this._data=n}connect(){return Zt(this._data)?this._data:pe(this._data)}disconnect(){}},As=(function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e})(As||{}),kl=class{viewCacheSize=20;_viewCache=[];applyChanges(n,t,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,t,o(s)),u=l?As.INSERTED:As.REPLACED}else c==null?(this._detachAndCacheView(a,t),u=As.REMOVED):(l=this._moveView(a,c,t,o(s)),u=As.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,t,r,o){let i=this._insertViewFromCache(t,r);if(i){i.context.$implicit=o;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,t){let r=t.detach(n);this._maybeCacheView(r,t)}_moveView(n,t,r,o){let i=r.get(n);return r.move(i,t),i.context.$implicit=o,i}_maybeCacheView(n,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=t.indexOf(n);r===-1?n.destroy():t.remove(r)}}_insertViewFromCache(n,t){let r=this._viewCache.pop();return r&&t.insert(r,n),r||null}};var at=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var vN=["contentWrapper"],yN=["*"],HD=new g("VIRTUAL_SCROLL_STRATEGY"),wp=class{_scrolledIndexChange=new w;scrolledIndexChange=this._scrolledIndexChange.pipe(ar());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,t,r){this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,t,r){r<t,this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,t){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),t={start:n.start,end:n.end},r=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),s=this._itemSize>0?i/this._itemSize:0;if(t.end>o){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,o-c));s!=l&&(s=l,i=l*this._itemSize,t.start=Math.floor(s)),t.end=Math.max(0,Math.min(o,t.start+c))}let a=i-t.start*this._itemSize;if(a<this._minBufferPx&&t.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);t.start=Math.max(0,t.start-c),t.end=Math.min(o,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=t.end*this._itemSize-(i+r);if(c<this._minBufferPx&&t.end!=o){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(t.end=Math.min(o,t.end+l),t.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*t.start)),this._scrolledIndexChange.next(Math.floor(s))}};function _N(e){return e._scrollStrategy}var bN=(()=>{class e{get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Ft(t)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Ft(t)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Ft(t)}_maxBufferPx=200;_scrollStrategy=new wp(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Fe([{provide:HD,useFactory:_N,deps:[Te(()=>e)]}]),He]})}return e})(),DN=20,Ns=(()=>{class e{_ngZone=f(M);_platform=f(se);_renderer=f(Se).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new w;_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=DN){return this._platform.isBrowser?new R(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(ro(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}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(Ce(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=gt(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rs=(()=>{class e{elementRef=f(B);scrollDispatcher=f(Ns);ngZone=f(M);dir=f(hn,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new w;_renderer=f(Ke);_cleanupScroll;_elementScrolled=new w;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&&Jo()!=Pt.NORMAL?(t.left!=null&&(t.right=r.scrollWidth-r.clientWidth-t.left),Jo()==Pt.INVERTED?t.left=t.right:Jo()==Pt.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;Nl()?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&&Jo()==Pt.INVERTED?t==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Jo()==Pt.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=N({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),EN=20,$r=(()=>{class e{_platform=f(se);_listeners;_viewportSize=null;_change=new w;_document=f(x);constructor(){let t=f(M),r=f(Se).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=EN){return t>0?this._change.pipe(ro(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jD=new g("VIRTUAL_SCROLLABLE"),CN=(()=>{class e extends Rs{constructor(){super()}measureViewportSize(t){let r=this.elementRef.nativeElement;return t==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,features:[W]})}return e})();function wN(e,n){return e.start==n.start&&e.end==n.end}var IN=typeof requestAnimationFrame<"u"?bu:_u,UD=new g("CDK_VIRTUAL_SCROLL_VIEWPORT"),SN=(()=>{class e extends CN{elementRef=f(B);_changeDetectorRef=f(Pr);_scrollStrategy=f(HD,{optional:!0});scrollable=f(jD,{optional:!0});_platform=f(se);_detachedSubject=new w;_renderedRangeSubject=new w;_renderedContentOffsetSubject=new w;get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new R(t=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(Ce(t=>t!==null),ar());_totalContentSize=0;_totalContentWidth=ae("");_totalContentHeight=ae("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=ae(!1);_runAfterChangeDetection=[];_viewportChanges=j.EMPTY;_injector=f(O);_isDestroyed=!1;constructor(){super();let t=f($r);this._scrollStrategy,this._viewportChanges=t.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=Sr(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:f(it).injector});f(We).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Vt(null),ro(0,IN),Kt(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(t){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(Kt(this._detachedSubject)).subscribe(r=>{let o=r.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){wN(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,r="to-start"){t=this.appendOnly&&r==="to-start"?0:t;let o=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",s=i?"X":"Y",c=`translate${s}(${Number((i&&o?-1:1)*t)}px)`;this._renderedContentOffset=t,r==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,r="auto"){let o={behavior:r};this.orientation==="horizontal"?o.start=t:o.top=t,this.scrollable.scrollTo(o)}scrollToIndex(t,r="auto"){this._scrollStrategy.scrollToIndex(t,r)}measureScrollOffset(t){let r;return this.scrollable==this?r=o=>super.measureScrollOffset(o):r=o=>this.scrollable.measureScrollOffset(o),Math.max(0,r(t??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(t){let r,o="left",i="right",s=this.dir?.value=="rtl";t=="start"?r=s?i:o:t=="end"?r=s?o:i:t?r=t:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let t=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),!le(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),Rt(()=>{this._changeDetectionNeeded.set(!1);let t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of t)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,o){if(r&1&&$o(vN,7),r&2){let i;ls(i=us())&&(o._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,o){r&2&&De("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",oe]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Fe([{provide:Rs,useFactory:()=>f(jD,{optional:!0})||f(e)},{provide:UD,useExisting:e}]),W],ngContentSelectors:yN,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,o){r&1&&(Ot(),cn(0,"div",1,0),Ae(2),ln(),Xe(3,"div",2)),r&2&&(Qf(3),zc("width",o._totalContentWidth())("height",o._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport {
|
|
24
|
+
`],encapsulation:2,changeDetection:0})}return e})(),El;function KA(){if(El===void 0&&(El=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(El=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return El}function Br(e){return KA()?.createHTML(e)||e}function DD(e,n,t){let r=t.sanitize(K.HTML,n);e.innerHTML=Br(r||"")}function Ko(e){return Array.isArray(e)?e:[e]}var ED=new Set,Hr,wl=(()=>{class e{_platform=f(se);_nonce=f(kr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):QA}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&XA(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XA(e,n){if(!ED.has(e))try{Hr||(Hr=document.createElement("style"),n&&Hr.setAttribute("nonce",n),Hr.setAttribute("type","text/css"),document.head.appendChild(Hr)),Hr.sheet&&(Hr.sheet.insertRule(`@media ${e} {body{ }}`,0),ED.add(e))}catch(t){console.error(t)}}function QA(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var hp=(()=>{class e{_mediaMatcher=f(wl);_zone=f(M);_queries=new Map;_destroySubject=new w;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return CD(Ko(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=CD(Ko(t)).map(s=>this._registerQuery(s).observable),i=Cu(o);return i=no(i.pipe(Ge(1)),i.pipe(Di(1),Dn(0))),i.pipe(Q(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 R(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Vt(r),Q(({matches:s})=>({query:t,matches:s})),Kt(this._destroySubject)),mql:r};return this._queries.set(t,i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CD(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function JA(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 wD=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ID=(()=>{class e{_mutationObserverFactory=f(wD);_observedElements=new Map;_ngZone=f(M);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,r)=>this._cleanupObserver(r))}observe(t){let r=gt(t);return new R(o=>{let s=this._observeElement(r).pipe(Q(a=>a.filter(c=>!JA(c))),_e(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 w,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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),E4=(()=>{class e{_contentObserver=f(ID);_elementRef=f(B);event=new $;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=Ft(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(Dn(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",oe],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),SD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[wD]})}return e})();var Sl=(()=>{class e{_platform=f(se);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return tN(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let r=eN(lN(t));if(r&&(MD(r)===-1||!this.isVisible(r)))return!1;let o=t.nodeName.toLowerCase(),i=MD(t);return t.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!aN(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 cN(t)&&!this.isDisabled(t)&&(r?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eN(e){try{return e.frameElement}catch(n){return null}}function tN(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function nN(e){let n=e.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function rN(e){return iN(e)&&e.type=="hidden"}function oN(e){return sN(e)&&e.hasAttribute("href")}function iN(e){return e.nodeName.toLowerCase()=="input"}function sN(e){return e.nodeName.toLowerCase()=="a"}function AD(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let n=e.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function MD(e){if(!AD(e))return null;let n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function aN(e){let n=e.nodeName.toLowerCase(),t=n==="input"&&e.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function cN(e){return rN(e)?!1:nN(e)||oN(e)||e.hasAttribute("contenteditable")||AD(e)}function lN(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Il=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_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?Rt(n,{injector:this._injector}):setTimeout(n)}},Ml=(()=>{class e{_checker=f(Sl);_ngZone=f(M);_document=f(x);_injector=f(O);constructor(){f(vt).load(Cl)}create(t,r=!1){return new Il(t,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),uN=(()=>{class e{_elementRef=f(B);_focusTrapFactory=f(Ml);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}autoCapture=!1;constructor(){f(se).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let r=t.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=jr(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",oe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",oe]},exportAs:["cdkTrapFocus"],features:[He]})}return e})(),ND=new g("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),RD=new g("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),dN=0,fN=(()=>{class e{_ngZone=f(M);_defaultOptions=f(RD,{optional:!0});_liveElement;_document=f(x);_sanitizer=f(Is);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=f(ND,{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(()=>{!t||typeof t=="string"?this._liveElement.textContent=t:DD(this._liveElement,t,this._sanitizer),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-${dN++}`,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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Yn=(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})(Yn||{}),TD="cdk-high-contrast-black-on-white",xD="cdk-high-contrast-white-on-black",pp="cdk-high-contrast-active",OD=(()=>{class e{_platform=f(se);_hasCheckedHighContrastMode=!1;_document=f(x);_breakpointSubscription;constructor(){this._breakpointSubscription=f(hp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Yn.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 Yn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Yn.BLACK_ON_WHITE}return Yn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(pp,TD,xD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Yn.BLACK_ON_WHITE?t.add(pp,TD):r===Yn.WHITE_ON_BLACK&&t.add(pp,xD)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mp=(()=>{class e{constructor(){f(OD)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[SD]})}return e})();var hN=200,Xo=class{_letterKeyStream=new w;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new w;selectedItem=this._selectedItem;constructor(n,t){let r=typeof t?.debounceInterval=="number"?t.debounceInterval:hN;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(En(t=>this._pressedLetters.push(t)),Dn(n),_e(()=>this._pressedLetters.length>0),Q(()=>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 Zn(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Qo=class{_items;_activeItemIndex=ae(-1);_activeItem=ae(null);_wrap=!1;_typeaheadSubscription=j.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof on?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):Ho(n)&&(this._effectRef=Sr(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new w;change=new w;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 Xo(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||Zn(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 on?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 gp=class extends Qo{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var vp=class extends Qo{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function yp(e){return Zt(e)?e:pe(e)}var _p=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=j.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let t=this._items[n];t.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=t,this._typeahead?.setCurrentSelectedItemIndex(n),t.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,t){n instanceof on?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Zt(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof t.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=t.shouldActivationFollowFocus),t.horizontalOrientation&&(this._horizontalOrientation=t.horizontalOrientation),t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),t.trackBy&&(this._trackByFn=t.trackBy),typeof t.typeAheadDebounceInterval<"u"&&this._setTypeAhead(t.typeAheadDebounceInterval)}change=new w;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,t={}){t.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let o=this._items[r];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let i=this._activeItem;this._activeItem=o??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),i?.unfocus(),t.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let t=this._activeItem;if(!t)return;let r=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(t));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new Xo(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.focusItem(t)})}_findNextAvailableItemIndex(n){for(let t=n+1;t<this._items.length;t++)if(!this._skipPredicateFn(this._items[t]))return t;return n}_findPreviousAvailableItemIndex(n){for(let t=n-1;t>=0;t--)if(!this._skipPredicateFn(this._items[t]))return t;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?yp(this._activeItem.getChildren()).pipe(Ge(1)).subscribe(n=>{let t=n.find(r=>!this._skipPredicateFn(r));t&&this.focusItem(t)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),t;n?t=yp(n.getChildren()):t=pe(this._items.filter(r=>r.getParent()===null)),t.pipe(Ge(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},g5=new g("tree-key-manager",{providedIn:"root",factory:()=>(e,n)=>new _p(e,n)});var bp={},Yt=class e{_appId=f(zn);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,t=!1){return this._appId!=="ng"&&(n+=this._appId),bp.hasOwnProperty(n)||(bp[n]=0),`${n}${t?e._infix+"-":""}${bp[n]++}`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})};var FD=" ";function pN(e,n,t){let r=xl(e,n);t=t.trim(),!r.some(o=>o.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(FD)))}function mN(e,n,t){let r=xl(e,n);t=t.trim();let o=r.filter(i=>i!==t);o.length?e.setAttribute(n,o.join(FD)):e.removeAttribute(n)}function xl(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}var PD="cdk-describedby-message",Tl="cdk-describedby-host",Ep=0,x5=(()=>{class e{_platform=f(se);_document=f(x);_messageRegistry=new Map;_messagesContainer=null;_id=`${Ep++}`;constructor(){f(vt).load(Cl),this._id=f(zn)+"-"+Ep++}describe(t,r,o){if(!this._canBeDescribed(t,r))return;let i=Dp(r,o);typeof r!="string"?(kD(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=Dp(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(`[${Tl}="${this._id}"]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Tl);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,r){let o=this._document.createElement("div");kD(o,this._id),o.textContent=t,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Dp(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=xl(t,"aria-describedby").filter(o=>o.indexOf(PD)!=0);t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){let o=this._messageRegistry.get(r);pN(t,"aria-describedby",o.messageElement.id),t.setAttribute(Tl,this._id),o.referenceCount++}_removeMessageReference(t,r){let o=this._messageRegistry.get(r);o.referenceCount--,mN(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Tl)}_isElementDescribedByMessage(t,r){let o=xl(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dp(e,n){return typeof e=="string"?`${n||""}/${e}`:e}function kD(e,n){e.id||(e.id=`${PD}-${n}-${Ep++}`)}function Cp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ye(e){return e==null?"":typeof e=="string"?e:`${e}px`}var gN=new g("cdk-dir-doc",{providedIn:"root",factory:()=>f(x)}),vN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function LD(e){let n=e?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?vN.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var hn=(()=>{class e{get value(){return this.valueSignal()}valueSignal=ae("ltr");change=new $;constructor(){let t=f(gN,{optional:!0});if(t){let r=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(LD(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pt=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Pt||{}),Al,Ur;function Nl(){if(Ur==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ur=!1,Ur;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Ur=!0;else{let e=Element.prototype.scrollTo;e?Ur=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ur=!1}}return Ur}function Jo(){if(typeof document!="object"||!document)return Pt.NORMAL;if(Al==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),Al=Pt.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Al=e.scrollLeft===0?Pt.NEGATED:Pt.INVERTED),e.remove()}return Al}var Rl=class{};function VD(e){return e&&typeof e.connect=="function"&&!(e instanceof di)}var Ol=class extends Rl{_data;constructor(n){super(),this._data=n}connect(){return Zt(this._data)?this._data:pe(this._data)}disconnect(){}},As=(function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e})(As||{}),kl=class{viewCacheSize=20;_viewCache=[];applyChanges(n,t,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,t,o(s)),u=l?As.INSERTED:As.REPLACED}else c==null?(this._detachAndCacheView(a,t),u=As.REMOVED):(l=this._moveView(a,c,t,o(s)),u=As.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,t,r,o){let i=this._insertViewFromCache(t,r);if(i){i.context.$implicit=o;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,t){let r=t.detach(n);this._maybeCacheView(r,t)}_moveView(n,t,r,o){let i=r.get(n);return r.move(i,t),i.context.$implicit=o,i}_maybeCacheView(n,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=t.indexOf(n);r===-1?n.destroy():t.remove(r)}}_insertViewFromCache(n,t){let r=this._viewCache.pop();return r&&t.insert(r,n),r||null}};var at=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var yN=["contentWrapper"],_N=["*"],HD=new g("VIRTUAL_SCROLL_STRATEGY"),wp=class{_scrolledIndexChange=new w;scrolledIndexChange=this._scrolledIndexChange.pipe(ar());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,t,r){this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,t,r){r<t,this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,t){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),t={start:n.start,end:n.end},r=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),s=this._itemSize>0?i/this._itemSize:0;if(t.end>o){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,o-c));s!=l&&(s=l,i=l*this._itemSize,t.start=Math.floor(s)),t.end=Math.max(0,Math.min(o,t.start+c))}let a=i-t.start*this._itemSize;if(a<this._minBufferPx&&t.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);t.start=Math.max(0,t.start-c),t.end=Math.min(o,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=t.end*this._itemSize-(i+r);if(c<this._minBufferPx&&t.end!=o){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(t.end=Math.min(o,t.end+l),t.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*t.start)),this._scrolledIndexChange.next(Math.floor(s))}};function bN(e){return e._scrollStrategy}var DN=(()=>{class e{get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Ft(t)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Ft(t)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Ft(t)}_maxBufferPx=200;_scrollStrategy=new wp(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Fe([{provide:HD,useFactory:bN,deps:[Te(()=>e)]}]),He]})}return e})(),EN=20,Ns=(()=>{class e{_ngZone=f(M);_platform=f(se);_renderer=f(Se).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new w;_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=EN){return this._platform.isBrowser?new R(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(ro(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}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(_e(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=gt(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rs=(()=>{class e{elementRef=f(B);scrollDispatcher=f(Ns);ngZone=f(M);dir=f(hn,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new w;_renderer=f(Ke);_cleanupScroll;_elementScrolled=new w;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&&Jo()!=Pt.NORMAL?(t.left!=null&&(t.right=r.scrollWidth-r.clientWidth-t.left),Jo()==Pt.INVERTED?t.left=t.right:Jo()==Pt.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;Nl()?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&&Jo()==Pt.INVERTED?t==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Jo()==Pt.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=N({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),CN=20,$r=(()=>{class e{_platform=f(se);_listeners;_viewportSize=null;_change=new w;_document=f(x);constructor(){let t=f(M),r=f(Se).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=CN){return t>0?this._change.pipe(ro(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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jD=new g("VIRTUAL_SCROLLABLE"),wN=(()=>{class e extends Rs{constructor(){super()}measureViewportSize(t){let r=this.elementRef.nativeElement;return t==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,features:[W]})}return e})();function IN(e,n){return e.start==n.start&&e.end==n.end}var SN=typeof requestAnimationFrame<"u"?bu:_u,UD=new g("CDK_VIRTUAL_SCROLL_VIEWPORT"),MN=(()=>{class e extends wN{elementRef=f(B);_changeDetectorRef=f(Pr);_scrollStrategy=f(HD,{optional:!0});scrollable=f(jD,{optional:!0});_platform=f(se);_detachedSubject=new w;_renderedRangeSubject=new w;_renderedContentOffsetSubject=new w;get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new R(t=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(_e(t=>t!==null),ar());_totalContentSize=0;_totalContentWidth=ae("");_totalContentHeight=ae("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=ae(!1);_runAfterChangeDetection=[];_viewportChanges=j.EMPTY;_injector=f(O);_isDestroyed=!1;constructor(){super();let t=f($r);this._scrollStrategy,this._viewportChanges=t.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=Sr(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:f(it).injector});f(We).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Vt(null),ro(0,SN),Kt(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(t){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(Kt(this._detachedSubject)).subscribe(r=>{let o=r.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){IN(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,r="to-start"){t=this.appendOnly&&r==="to-start"?0:t;let o=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",s=i?"X":"Y",c=`translate${s}(${Number((i&&o?-1:1)*t)}px)`;this._renderedContentOffset=t,r==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,r="auto"){let o={behavior:r};this.orientation==="horizontal"?o.start=t:o.top=t,this.scrollable.scrollTo(o)}scrollToIndex(t,r="auto"){this._scrollStrategy.scrollToIndex(t,r)}measureScrollOffset(t){let r;return this.scrollable==this?r=o=>super.measureScrollOffset(o):r=o=>this.scrollable.measureScrollOffset(o),Math.max(0,r(t??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(t){let r,o="left",i="right",s=this.dir?.value=="rtl";t=="start"?r=s?i:o:t=="end"?r=s?o:i:t?r=t:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let t=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),!le(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),Rt(()=>{this._changeDetectionNeeded.set(!1);let t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of t)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,o){if(r&1&&$o(yN,7),r&2){let i;ls(i=us())&&(o._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,o){r&2&&Ee("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",oe]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Fe([{provide:Rs,useFactory:()=>f(jD,{optional:!0})||f(e)},{provide:UD,useExisting:e}]),W],ngContentSelectors:_N,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,o){r&1&&(Ot(),cn(0,"div",1,0),Ae(2),ln(),Xe(3,"div",2)),r&2&&(Qf(3),zc("width",o._totalContentWidth())("height",o._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport {
|
|
25
25
|
display: block;
|
|
26
26
|
position: relative;
|
|
27
27
|
transform: translateZ(0);
|
|
@@ -78,7 +78,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
78
78
|
[dir=rtl] .cdk-virtual-scroll-spacer {
|
|
79
79
|
transform-origin: 100% 0;
|
|
80
80
|
}
|
|
81
|
-
`],encapsulation:2,changeDetection:0})}return e})();function BD(e,n,t){let r=t;if(!r.getBoundingClientRect)return 0;let o=r.getBoundingClientRect();return e==="horizontal"?n==="start"?o.left:o.right:n==="start"?o.top:o.bottom}var MN=(()=>{class e{_viewContainerRef=f(ot);_template=f(Ye);_differs=f(Qc);_viewRepeater=new kl;_viewport=f(UD,{skipSelf:!0});viewChange=new w;_dataSourceChanges=new w;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,VD(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new Ol(Zt(t)?t:Array.from(t||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(r,o)=>t(r+(this._renderedRange?this._renderedRange.start:0),o):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=Ft(t)}dataStream=this._dataSourceChanges.pipe(Vt(null),Su(),io(([t,r])=>this._changeDataSource(t,r)),Tu(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new w;constructor(){let t=f(M);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Kt(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&t.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(t,r){if(t.start>=t.end)return 0;t.start<this._renderedRange.start||t.end>this._renderedRange.end;let o=t.start-this._renderedRange.start,i=t.end-t.start,s,a;for(let c=0;c<i;c++){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){s=a=l.rootNodes[0];break}}for(let c=i-1;c>-1;c--){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){a=l.rootNodes[l.rootNodes.length-1];break}}return s&&a?BD(r,"end",a)-BD(r,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((t,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,r):r)),this._needsUpdate=!0)}_changeDataSource(t,r){return t&&t.disconnect(this),this._needsUpdate=!0,r?r.connect(this):pe()}_updateContext(){let t=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=t,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(i,s,a)=>this._getEmbeddedViewArgs(i,a),i=>i.item),t.forEachIdentityChange(i=>{let s=this._viewContainerRef.get(i.currentIndex);s.context.$implicit=i.item});let r=this._data.length,o=this._viewContainerRef.length;for(;o--;){let i=this._viewContainerRef.get(o);i.context.index=this._renderedRange.start+o,i.context.count=r,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(t){t.first=t.index===0,t.last=t.index===t.count-1,t.even=t.index%2===0,t.odd=!t.even}_getEmbeddedViewArgs(t,r){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return e})();var Ip=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})(),Sp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[at,Ip,at,Ip]})}return e})();var Os=class{_attachedHost=null;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}},ei=class extends Os{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,t,r,o,i){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Kn=class extends Os{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()}},Mp=class extends Os{element;constructor(n){super(),this.element=n instanceof B?n.nativeElement:n}},ti=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof ei)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Kn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Mp)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)}},Fl=class extends ti{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($n,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>t.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||O.NULL,i=o.get(de,r.injector);t=Jc(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||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]}},_q=(()=>{class e extends Kn{constructor(){let t=f(Ye),r=f(ot);super(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[W]})}return e})(),ks=(()=>{class e extends ti{_moduleRef=f($n,{optional:!0});_document=f(x);_viewContainerRef=f(ot);_isInitialized=!1;_attachedRef=null;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 $;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,bindings:t.bindings||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=N({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[W]})}return e})(),zr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var $D=Nl();function ri(e){return new Pl(e.get($r),e.get(x))}var Pl=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=ye(-this._previousScrollPosition.left),n.style.top=ye(-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"),$D&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$D&&(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 KD(e,n){return new Ll(e.get(Ns),e.get(M),e.get($r),n)}var Ll=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(Ce(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 Fs=class{enable(){}disable(){}attach(){}};function Tp(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 zD(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 Rp(e,n){return new Vl(e.get(Ns),e.get($r),e.get(M),n)}var Vl=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();Tp(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}},XD=(()=>{class e{_injector=f(O);constructor(){}noop=()=>new Fs;close=t=>KD(this._injector,t);block=()=>ri(this._injector);reposition=t=>Rp(this._injector,t);static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wr=class{positionStrategy;scrollStrategy=new Fs;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let t=Object.keys(n);for(let r of t)n[r]!==void 0&&(this[r]=n[r])}}};var jl=class{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}};var QD=(()=>{class e{_attachedOverlays=[];_document=f(x);_isAttached=!1;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()}canReceiveEvent(t,r,o){return o.observers.length<1?!1:t.eventPredicate?t.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JD=(()=>{class e extends QD{_ngZone=f(M);_renderer=f(Se).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--){let i=r[o];if(this.canReceiveEvent(i,t,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(t));break}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eE=(()=>{class e extends QD{_platform=f(se);_ngZone=f(M);_renderer=f(Se).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_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=$e(t)};_clickListener=t=>{let r=$e(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],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,t,c))){if(GD(a.overlayElement,r)||GD(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GD(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 tE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({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 {
|
|
81
|
+
`],encapsulation:2,changeDetection:0})}return e})();function BD(e,n,t){let r=t;if(!r.getBoundingClientRect)return 0;let o=r.getBoundingClientRect();return e==="horizontal"?n==="start"?o.left:o.right:n==="start"?o.top:o.bottom}var TN=(()=>{class e{_viewContainerRef=f(ot);_template=f(Ye);_differs=f(Qc);_viewRepeater=new kl;_viewport=f(UD,{skipSelf:!0});viewChange=new w;_dataSourceChanges=new w;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,VD(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new Ol(Zt(t)?t:Array.from(t||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(r,o)=>t(r+(this._renderedRange?this._renderedRange.start:0),o):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=Ft(t)}dataStream=this._dataSourceChanges.pipe(Vt(null),Su(),io(([t,r])=>this._changeDataSource(t,r)),Tu(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new w;constructor(){let t=f(M);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Kt(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&t.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(t,r){if(t.start>=t.end)return 0;t.start<this._renderedRange.start||t.end>this._renderedRange.end;let o=t.start-this._renderedRange.start,i=t.end-t.start,s,a;for(let c=0;c<i;c++){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){s=a=l.rootNodes[0];break}}for(let c=i-1;c>-1;c--){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){a=l.rootNodes[l.rootNodes.length-1];break}}return s&&a?BD(r,"end",a)-BD(r,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((t,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,r):r)),this._needsUpdate=!0)}_changeDataSource(t,r){return t&&t.disconnect(this),this._needsUpdate=!0,r?r.connect(this):pe()}_updateContext(){let t=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=t,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(i,s,a)=>this._getEmbeddedViewArgs(i,a),i=>i.item),t.forEachIdentityChange(i=>{let s=this._viewContainerRef.get(i.currentIndex);s.context.$implicit=i.item});let r=this._data.length,o=this._viewContainerRef.length;for(;o--;){let i=this._viewContainerRef.get(o);i.context.index=this._renderedRange.start+o,i.context.count=r,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(t){t.first=t.index===0,t.last=t.index===t.count-1,t.even=t.index%2===0,t.odd=!t.even}_getEmbeddedViewArgs(t,r){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return e})();var Ip=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})(),Sp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[at,Ip,at,Ip]})}return e})();var Os=class{_attachedHost=null;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}},ei=class extends Os{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,t,r,o,i){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Kn=class extends Os{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()}},Mp=class extends Os{element;constructor(n){super(),this.element=n instanceof B?n.nativeElement:n}},ti=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof ei)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Kn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Mp)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)}},Fl=class extends ti{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($n,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>t.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||O.NULL,i=o.get(de,r.injector);t=Jc(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||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]}},bq=(()=>{class e extends Kn{constructor(){let t=f(Ye),r=f(ot);super(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[W]})}return e})(),ks=(()=>{class e extends ti{_moduleRef=f($n,{optional:!0});_document=f(x);_viewContainerRef=f(ot);_isInitialized=!1;_attachedRef=null;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 $;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,bindings:t.bindings||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=N({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[W]})}return e})(),zr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var $D=Nl();function ri(e){return new Pl(e.get($r),e.get(x))}var Pl=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=ye(-this._previousScrollPosition.left),n.style.top=ye(-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"),$D&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$D&&(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 KD(e,n){return new Ll(e.get(Ns),e.get(M),e.get($r),n)}var Ll=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(_e(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 Fs=class{enable(){}disable(){}attach(){}};function Tp(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 zD(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 Rp(e,n){return new Vl(e.get(Ns),e.get($r),e.get(M),n)}var Vl=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();Tp(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}},XD=(()=>{class e{_injector=f(O);constructor(){}noop=()=>new Fs;close=t=>KD(this._injector,t);block=()=>ri(this._injector);reposition=t=>Rp(this._injector,t);static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wr=class{positionStrategy;scrollStrategy=new Fs;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let t=Object.keys(n);for(let r of t)n[r]!==void 0&&(this[r]=n[r])}}};var jl=class{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}};var QD=(()=>{class e{_attachedOverlays=[];_document=f(x);_isAttached=!1;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()}canReceiveEvent(t,r,o){return o.observers.length<1?!1:t.eventPredicate?t.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JD=(()=>{class e extends QD{_ngZone=f(M);_renderer=f(Se).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--){let i=r[o];if(this.canReceiveEvent(i,t,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(t));break}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eE=(()=>{class e extends QD{_platform=f(se);_ngZone=f(M);_renderer=f(Se).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_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=$e(t)};_clickListener=t=>{let r=$e(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],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,t,c))){if(GD(a.overlayElement,r)||GD(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GD(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 tE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({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 {
|
|
82
82
|
pointer-events: none;
|
|
83
83
|
top: 0;
|
|
84
84
|
left: 0;
|
|
@@ -217,14 +217,14 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
217
217
|
position: fixed;
|
|
218
218
|
z-index: auto;
|
|
219
219
|
}
|
|
220
|
-
`],encapsulation:2,changeDetection:0})}return e})(),Ps=(()=>{class e{_platform=f(se);_containerElement;_document=f(x);_styleLoader=f(vt);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||Cp()){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),Cp()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(tE)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xp=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()}};function Op(e){return e&&e.nodeType===1}var ni=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new w;_attachments=new w;_detachments=new w;_positionStrategy;_scrollStrategy;_locationChanges=j.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new w;_outsidePointerEvents=new w;_afterNextRenderRef;constructor(n,t,r,o,i,s,a,c,l,u=!1,d,h){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=h,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}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let t=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Rt(()=>{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(){if(this._disposed)return;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(),this._disposed=!0}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=E(E({},this._config),n),this._updateElementSize()}setDirection(n){this._config=U(E({},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=ye(this._config.width),n.height=ye(this._config.height),n.minWidth=ye(this._config.minWidth),n.minHeight=ye(this._config.minHeight),n.maxWidth=ye(this._config.maxWidth),n.maxHeight=ye(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Op(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new xp(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._config.usePopover?this._host.prepend(this._backdropRef.element):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._config.usePopover&&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=Ko(t||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Rt(()=>{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?.()}},WD="cdk-overlay-connected-position-bounding-box",xN=/([A-Za-z%]+)$/;function kp(e,n){return new Bl(n,e.get($r),e.get(x),e.get(se),e.get(Ps))}var Bl=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_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=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new w;_resizeSubscription=j.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";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(WD),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._getContainerRect();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&&Gr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(WD),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;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):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}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof B?this._origin.nativeElement:Op(this._origin)?this._origin:null}_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=YD(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,h=0-a,p=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),v=this._subtractOverflows(i.height,h,p),_=m*v;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:v===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=qD(this._overlayRef.getConfig().minHeight),a=qD(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=YD(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._getViewportMarginStart()?i.left-r.left-n.x:0,o.height<=i.height?d=c||-a:d=n.y<this._getViewportMarginTop()?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||!AN(this._lastScrollVisibility,r)){let o=new jl(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._getViewportMarginBottom();else if(t.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=r.height-a+this._getViewportMarginTop();else{let p=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=p*2,s=n.y-p,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,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,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="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=ye(r.width),o.height=ye(r.height),o.top=ye(r.top)||"auto",o.bottom=ye(r.bottom)||"auto",o.left=ye(r.left)||"auto",o.right=ye(r.right)||"auto",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=ye(i)),s&&(o.maxWidth=ye(s))}this._lastBoundingBoxSize=r,Gr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Gr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Gr(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();Gr(r,this._getExactOverlayY(t,n,u)),Gr(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=ye(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=ye(s.maxWidth):i&&(r.maxWidth="")),Gr(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=ye(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=ye(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:zD(n,r),isOriginOutsideView:Tp(n,r),isOverlayClipped:zD(t,r),isOverlayOutsideView:Tp(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._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+t-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:t-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_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&&Ko(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=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof B)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}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",t=this._overlayContainer.getContainerElement();n&&(t.style.display="block");let r=t.getBoundingClientRect();return n&&(t.style.display=""),r}};function Gr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function qD(e){if(typeof e!="number"&&e!=null){let[n,t]=e.split(xN);return!t||t==="px"?parseFloat(n):null}return e||null}function YD(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 AN(e,n){return e===n?!0:e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}var ZD="cdk-global-overlay-wrapper";function oi(e){return new Hl}var Hl=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(ZD),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,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",v="";c?v="flex-start":u==="center"?(v="center",h?m=d:p=d):h?u==="left"||u==="end"?(v="flex-end",p=d):(u==="right"||u==="start")&&(v="flex-start",m=d):u==="left"||u==="start"?(v="flex-start",p=d):(u==="right"||u==="end")&&(v="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,t.justifyContent=v,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(ZD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},nE=(()=>{class e{_injector=f(O);constructor(){}global(){return oi()}flexibleConnectedTo(t){return kp(this._injector,t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fp=new g("OVERLAY_DEFAULT_CONFIG");function Ls(e,n){e.get(vt).load(tE);let t=e.get(Ps),r=e.get(x),o=e.get(Yt),i=e.get(it),s=e.get(hn),a=e.get(Ke,null,{optional:!0})||e.get(Se).createRenderer(null,null),c=new Wr(n),l=e.get(Fp,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=r.createElement("div"),d=r.createElement("div");u.id=o.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),d.appendChild(u),c.usePopover&&(d.setAttribute("popover","manual"),d.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Op(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):t.getContainerElement().appendChild(d),new ni(new Fl(u,i,e),d,u,c,e.get(M),e.get(JD),r,e.get(tl),e.get(eE),n?.disableAnimations??e.get(ns,null,{optional:!0})==="NoopAnimations",e.get(de),a)}var rE=(()=>{class e{scrollStrategies=f(XD);_positionBuilder=f(nE);_injector=f(O);constructor(){}create(t){return Ls(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),NN=[{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"}],RN=new g("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>Rp(e)}}),Ap=(()=>{class e{elementRef=f(B);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),oE=new g("cdk-connected-overlay-default-config"),ON=(()=>{class e{_dir=f(hn,{optional:!0});_injector=f(O);_overlayRef;_templatePortal;_backdropSubscription=j.EMPTY;_attachSubscription=j.EMPTY;_detachSubscription=j.EMPTY;_positionSubscription=j.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(RN);_ngZone=f(M);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;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(t){typeof t!="string"&&this._assignConfig(t)}backdropClick=new $;positionChange=new $;attach=new $;detach=new $;overlayKeydown=new $;overlayOutsideClick=new $;constructor(){let t=f(Ye),r=f(ot),o=f(oE,{optional:!0}),i=f(Fp,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Kn(t,r),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}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._getWidth(),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=NN);let t=this._overlayRef=Ls(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&&!Zn(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=$e(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Wr({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(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).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let t=kp(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Ap?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ap?this.origin.elementRef.nativeElement:this.origin instanceof B?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let t=this._overlayRef;t.getConfig().hasBackdrop=this.hasBackdrop,t.updateSize({width:this._getWidth()}),t.hasAttached()||t.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=t.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(xu(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(t){this.origin=t.origin??this.origin,this.positions=t.positions??this.positions,this.positionStrategy=t.positionStrategy??this.positionStrategy,this.offsetX=t.offsetX??this.offsetX,this.offsetY=t.offsetY??this.offsetY,this.width=t.width??this.width,this.height=t.height??this.height,this.minWidth=t.minWidth??this.minWidth,this.minHeight=t.minHeight??this.minHeight,this.backdropClass=t.backdropClass??this.backdropClass,this.panelClass=t.panelClass??this.panelClass,this.viewportMargin=t.viewportMargin??this.viewportMargin,this.scrollStrategy=t.scrollStrategy??this.scrollStrategy,this.disableClose=t.disableClose??this.disableClose,this.transformOriginSelector=t.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=t.hasBackdrop??this.hasBackdrop,this.lockPosition=t.lockPosition??this.lockPosition,this.flexibleDimensions=t.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=t.growAfterOpen??this.growAfterOpen,this.push=t.push??this.push,this.disposeOnNavigation=t.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=t.usePopover??this.usePopover,this.matchWidth=t.matchWidth??this.matchWidth}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({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",oe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",oe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",oe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",oe],push:[2,"cdkConnectedOverlayPush","push",oe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",oe],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",oe],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[He]})}return e})(),Vs=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[rE],imports:[at,zr,Sp,Sp]})}return e})();function kN(e,n){}var Xn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var Lp=(()=>{class e extends ti{_elementRef=f(B);_focusTrapFactory=f(Ml);_config;_interactivityChecker=f(Sl);_ngZone=f(M);_focusMonitor=f(Zo);_renderer=f(Ke);_changeDetectorRef=f(Pr);_injector=f(O);_platform=f(se);_document=f(x);_portalOutlet;_focusTrapped=new w;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=f(Xn,{optional:!0})||new Xn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let r=this._ariaLabelledByQueue.indexOf(t);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),r}attachTemplatePortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),r}attachDomPortal=t=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(t);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,r){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{i(),s(),t.removeAttribute("tabindex")},i=this._renderer.listen(t,"blur",o),s=this._renderer.listen(t,"mousedown",o)})),t.focus(r)}_focusByCssSelector(t,r){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,r)}_trapFocus(t){this._isDestroyed||Rt(()=>{let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(t);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(t)||this._focusDialogContainer(t);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',t);break;default:this._focusByCssSelector(this._config.autoFocus,t);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,r=null;if(typeof t=="string"?r=this._document.querySelector(t):typeof t=="boolean"?r=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(r=t),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=jr(),i=this._elementRef.nativeElement;(!o||o===this._document.body||o===i||i.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(t){this._elementRef.nativeElement.focus?.(t)}_containsFocus(){let t=this._elementRef.nativeElement,r=jr();return t===r||t.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=jr()))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&$o(ks,7),r&2){let i;ls(i=us())&&(o._portalOutlet=i.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&ke("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&Vo(0,kN,0,0,"ng-template",0)},dependencies:[ks],styles:[`.cdk-dialog-container {
|
|
220
|
+
`],encapsulation:2,changeDetection:0})}return e})(),Ps=(()=>{class e{_platform=f(se);_containerElement;_document=f(x);_styleLoader=f(vt);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||Cp()){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),Cp()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(tE)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xp=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()}};function Op(e){return e&&e.nodeType===1}var ni=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new w;_attachments=new w;_detachments=new w;_positionStrategy;_scrollStrategy;_locationChanges=j.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new w;_outsidePointerEvents=new w;_afterNextRenderRef;constructor(n,t,r,o,i,s,a,c,l,u=!1,d,h){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=h,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}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let t=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Rt(()=>{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(){if(this._disposed)return;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(),this._disposed=!0}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=E(E({},this._config),n),this._updateElementSize()}setDirection(n){this._config=U(E({},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=ye(this._config.width),n.height=ye(this._config.height),n.minWidth=ye(this._config.minWidth),n.minHeight=ye(this._config.minHeight),n.maxWidth=ye(this._config.maxWidth),n.maxHeight=ye(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Op(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new xp(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._config.usePopover?this._host.prepend(this._backdropRef.element):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._config.usePopover&&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=Ko(t||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Rt(()=>{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?.()}},WD="cdk-overlay-connected-position-bounding-box",AN=/([A-Za-z%]+)$/;function kp(e,n){return new Bl(n,e.get($r),e.get(x),e.get(se),e.get(Ps))}var Bl=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_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=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new w;_resizeSubscription=j.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";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(WD),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._getContainerRect();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&&Gr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(WD),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;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):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}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof B?this._origin.nativeElement:Op(this._origin)?this._origin:null}_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=YD(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,h=0-a,p=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),v=this._subtractOverflows(i.height,h,p),_=m*v;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:v===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=qD(this._overlayRef.getConfig().minHeight),a=qD(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=YD(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._getViewportMarginStart()?i.left-r.left-n.x:0,o.height<=i.height?d=c||-a:d=n.y<this._getViewportMarginTop()?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||!NN(this._lastScrollVisibility,r)){let o=new jl(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._getViewportMarginBottom();else if(t.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=r.height-a+this._getViewportMarginTop();else{let p=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=p*2,s=n.y-p,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,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,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="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=ye(r.width),o.height=ye(r.height),o.top=ye(r.top)||"auto",o.bottom=ye(r.bottom)||"auto",o.left=ye(r.left)||"auto",o.right=ye(r.right)||"auto",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=ye(i)),s&&(o.maxWidth=ye(s))}this._lastBoundingBoxSize=r,Gr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Gr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Gr(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();Gr(r,this._getExactOverlayY(t,n,u)),Gr(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=ye(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=ye(s.maxWidth):i&&(r.maxWidth="")),Gr(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=ye(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=ye(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:zD(n,r),isOriginOutsideView:Tp(n,r),isOverlayClipped:zD(t,r),isOverlayOutsideView:Tp(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._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+t-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:t-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_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&&Ko(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=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof B)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}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",t=this._overlayContainer.getContainerElement();n&&(t.style.display="block");let r=t.getBoundingClientRect();return n&&(t.style.display=""),r}};function Gr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function qD(e){if(typeof e!="number"&&e!=null){let[n,t]=e.split(AN);return!t||t==="px"?parseFloat(n):null}return e||null}function YD(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 NN(e,n){return e===n?!0:e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}var ZD="cdk-global-overlay-wrapper";function oi(e){return new Hl}var Hl=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(ZD),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,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",v="";c?v="flex-start":u==="center"?(v="center",h?m=d:p=d):h?u==="left"||u==="end"?(v="flex-end",p=d):(u==="right"||u==="start")&&(v="flex-start",m=d):u==="left"||u==="start"?(v="flex-start",p=d):(u==="right"||u==="end")&&(v="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,t.justifyContent=v,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(ZD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},nE=(()=>{class e{_injector=f(O);constructor(){}global(){return oi()}flexibleConnectedTo(t){return kp(this._injector,t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fp=new g("OVERLAY_DEFAULT_CONFIG");function Ls(e,n){e.get(vt).load(tE);let t=e.get(Ps),r=e.get(x),o=e.get(Yt),i=e.get(it),s=e.get(hn),a=e.get(Ke,null,{optional:!0})||e.get(Se).createRenderer(null,null),c=new Wr(n),l=e.get(Fp,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=r.createElement("div"),d=r.createElement("div");u.id=o.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),d.appendChild(u),c.usePopover&&(d.setAttribute("popover","manual"),d.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Op(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):t.getContainerElement().appendChild(d),new ni(new Fl(u,i,e),d,u,c,e.get(M),e.get(JD),r,e.get(tl),e.get(eE),n?.disableAnimations??e.get(ns,null,{optional:!0})==="NoopAnimations",e.get(de),a)}var rE=(()=>{class e{scrollStrategies=f(XD);_positionBuilder=f(nE);_injector=f(O);constructor(){}create(t){return Ls(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),RN=[{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"}],ON=new g("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>Rp(e)}}),Ap=(()=>{class e{elementRef=f(B);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),oE=new g("cdk-connected-overlay-default-config"),kN=(()=>{class e{_dir=f(hn,{optional:!0});_injector=f(O);_overlayRef;_templatePortal;_backdropSubscription=j.EMPTY;_attachSubscription=j.EMPTY;_detachSubscription=j.EMPTY;_positionSubscription=j.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(ON);_ngZone=f(M);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;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(t){typeof t!="string"&&this._assignConfig(t)}backdropClick=new $;positionChange=new $;attach=new $;detach=new $;overlayKeydown=new $;overlayOutsideClick=new $;constructor(){let t=f(Ye),r=f(ot),o=f(oE,{optional:!0}),i=f(Fp,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Kn(t,r),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}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._getWidth(),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=RN);let t=this._overlayRef=Ls(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&&!Zn(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=$e(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Wr({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(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).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let t=kp(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Ap?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ap?this.origin.elementRef.nativeElement:this.origin instanceof B?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let t=this._overlayRef;t.getConfig().hasBackdrop=this.hasBackdrop,t.updateSize({width:this._getWidth()}),t.hasAttached()||t.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=t.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(xu(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(t){this.origin=t.origin??this.origin,this.positions=t.positions??this.positions,this.positionStrategy=t.positionStrategy??this.positionStrategy,this.offsetX=t.offsetX??this.offsetX,this.offsetY=t.offsetY??this.offsetY,this.width=t.width??this.width,this.height=t.height??this.height,this.minWidth=t.minWidth??this.minWidth,this.minHeight=t.minHeight??this.minHeight,this.backdropClass=t.backdropClass??this.backdropClass,this.panelClass=t.panelClass??this.panelClass,this.viewportMargin=t.viewportMargin??this.viewportMargin,this.scrollStrategy=t.scrollStrategy??this.scrollStrategy,this.disableClose=t.disableClose??this.disableClose,this.transformOriginSelector=t.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=t.hasBackdrop??this.hasBackdrop,this.lockPosition=t.lockPosition??this.lockPosition,this.flexibleDimensions=t.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=t.growAfterOpen??this.growAfterOpen,this.push=t.push??this.push,this.disposeOnNavigation=t.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=t.usePopover??this.usePopover,this.matchWidth=t.matchWidth??this.matchWidth}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({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",oe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",oe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",oe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",oe],push:[2,"cdkConnectedOverlayPush","push",oe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",oe],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",oe],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[He]})}return e})(),Vs=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[rE],imports:[at,zr,Sp,Sp]})}return e})();function FN(e,n){}var Xn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var Lp=(()=>{class e extends ti{_elementRef=f(B);_focusTrapFactory=f(Ml);_config;_interactivityChecker=f(Sl);_ngZone=f(M);_focusMonitor=f(Zo);_renderer=f(Ke);_changeDetectorRef=f(Pr);_injector=f(O);_platform=f(se);_document=f(x);_portalOutlet;_focusTrapped=new w;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=f(Xn,{optional:!0})||new Xn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let r=this._ariaLabelledByQueue.indexOf(t);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),r}attachTemplatePortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),r}attachDomPortal=t=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(t);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,r){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{i(),s(),t.removeAttribute("tabindex")},i=this._renderer.listen(t,"blur",o),s=this._renderer.listen(t,"mousedown",o)})),t.focus(r)}_focusByCssSelector(t,r){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,r)}_trapFocus(t){this._isDestroyed||Rt(()=>{let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(t);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(t)||this._focusDialogContainer(t);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',t);break;default:this._focusByCssSelector(this._config.autoFocus,t);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,r=null;if(typeof t=="string"?r=this._document.querySelector(t):typeof t=="boolean"?r=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(r=t),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=jr(),i=this._elementRef.nativeElement;(!o||o===this._document.body||o===i||i.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(t){this._elementRef.nativeElement.focus?.(t)}_containsFocus(){let t=this._elementRef.nativeElement,r=jr();return t===r||t.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=jr()))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&$o(ks,7),r&2){let i;ls(i=us())&&(o._portalOutlet=i.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&ke("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&Vo(0,FN,0,0,"ng-template",0)},dependencies:[ks],styles:[`.cdk-dialog-container {
|
|
221
221
|
display: block;
|
|
222
222
|
width: 100%;
|
|
223
223
|
height: 100%;
|
|
224
224
|
min-height: inherit;
|
|
225
225
|
max-height: inherit;
|
|
226
226
|
}
|
|
227
|
-
`],encapsulation:2})}return e})(),js=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new w;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,t){this.overlayRef=n,this.config=t,this.disableClose=t.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Zn(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(n,t){if(this._canClose(n)){let r=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(n),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",t=""){return this.overlayRef.updateSize({width:n,height:t}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let t=this.config;return!!this.containerInstance&&(!t.closePredicate||t.closePredicate(n,t,this.componentInstance))}},FN=new g("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>ri(e)}}),PN=new g("DialogData"),LN=new g("DefaultDialogConfig");function VN(e){let n=ae(e),t=new $;return{valueSignal:n,get value(){return n()},change:t,ngOnDestroy(){t.complete()}}}var Vp=(()=>{class e{_injector=f(O);_defaultOptions=f(LN,{optional:!0});_parentDialog=f(e,{optional:!0,skipSelf:!0});_overlayContainer=f(Ps);_idGenerator=f(Yt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;_ariaHiddenElements=new Map;_scrollStrategy=f(FN);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=gi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Vt(void 0)));constructor(){}open(t,r){let o=this._defaultOptions||new Xn;r=E(E({},o),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let i=this._getOverlayConfig(r),s=Ls(this._injector,i),a=new js(s,r),c=this._attachContainer(s,a,r);if(a.containerInstance=c,!this.openDialogs.length){let l=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Ge(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(l)}):this._hideNonDialogContentFromAssistiveTechnology(l)}return this._attachDialogContent(t,a,c,r),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Pp(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){Pp(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Pp(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let r=new Wr({positionStrategy:t.positionStrategy||oi().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation,disableAnimations:t.disableAnimations});return t.backdropClass&&(r.backdropClass=t.backdropClass),r}_attachContainer(t,r,o){let i=o.injector||o.viewContainerRef?.injector,s=[{provide:Xn,useValue:o},{provide:js,useValue:r},{provide:ni,useValue:t}],a;o.container?typeof o.container=="function"?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=Lp;let c=new ei(a,o.viewContainerRef,O.create({parent:i||this._injector,providers:s}));return t.attach(c).instance}_attachDialogContent(t,r,o,i){if(t instanceof Ye){let s=this._createInjector(i,r,o,void 0),a={$implicit:i.data,dialogRef:r};i.templateContext&&(a=E(E({},a),typeof i.templateContext=="function"?i.templateContext():i.templateContext)),o.attachTemplatePortal(new Kn(t,null,a,s))}else{let s=this._createInjector(i,r,o,this._injector),a=o.attachComponentPortal(new ei(t,i.viewContainerRef,s));r.componentRef=a,r.componentInstance=a.instance}}_createInjector(t,r,o,i){let s=t.injector||t.viewContainerRef?.injector,a=[{provide:PN,useValue:t.data},{provide:js,useValue:r}];return t.providers&&(typeof t.providers=="function"?a.push(...t.providers(r,t,o)):a.push(...t.providers)),t.direction&&(!s||!s.get(hn,null,{optional:!0}))&&a.push({provide:hn,useValue:VN(t.direction)}),O.create({parent:s||i,providers:a})}_removeOpenDialog(t,r){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((i,s)=>{i?s.setAttribute("aria-hidden",i):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(t){if(t.parentElement){let r=t.parentElement.children;for(let o=r.length-1;o>-1;o--){let i=r[o];i!==t&&i.nodeName!=="SCRIPT"&&i.nodeName!=="STYLE"&&!i.hasAttribute("aria-live")&&!i.hasAttribute("popover")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pp(e,n){let t=e.length;for(;t--;)n(e[t])}var iE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[Vp],imports:[Vs,zr,mp,zr]})}return e})();function M6(e){return e!=null&&`${e}`!="false"}function T6(e,n=/\s+/){let t=[];if(e!=null){let r=Array.isArray(e)?e:`${e}`.split(n);for(let o of r){let i=`${o}`.trim();i&&t.push(i)}}return t}var N6={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 jN=new g("MATERIAL_ANIMATIONS"),sE=null;function BN(){return f(jN,{optional:!0})?.animationsDisabled||f(ns,{optional:!0})==="NoopAnimations"?"di-disabled":(sE??=f(wl).matchMedia("(prefers-reduced-motion)").matches,sE?"reduced-motion":"enabled")}function pn(){return BN()!=="enabled"}function HN(e,n){}var $l=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},jp="mdc-dialog--open",aE="mdc-dialog--opening",cE="mdc-dialog--closing",UN=150,$N=75,zN=(()=>{class e extends Lp{_animationStateChanged=new $;_animationsEnabled=!pn();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?uE(this._config.enterAnimationDuration)??UN:0;_exitAnimationDuration=this._animationsEnabled?uE(this._config.exitAnimationDuration)??$N:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(lE,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(aE,jp)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(jp),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(jp),this._animationsEnabled?(this._hostElement.style.setProperty(lE,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cE)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(aE,cE)}_waitForAnimationToComplete(t,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let r=super.attachComponentPortal(t);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275cmp=ce({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(as("id",o._config.id),ke("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),De("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[W],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(No(0,"div",0)(1,"div",1),Vo(2,HN,0,0,"ng-template",2),ss()())},dependencies:[ks],styles:[`.mat-mdc-dialog-container {
|
|
227
|
+
`],encapsulation:2})}return e})(),js=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new w;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,t){this.overlayRef=n,this.config=t,this.disableClose=t.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Zn(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(n,t){if(this._canClose(n)){let r=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(n),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",t=""){return this.overlayRef.updateSize({width:n,height:t}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let t=this.config;return!!this.containerInstance&&(!t.closePredicate||t.closePredicate(n,t,this.componentInstance))}},PN=new g("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>ri(e)}}),LN=new g("DialogData"),VN=new g("DefaultDialogConfig");function jN(e){let n=ae(e),t=new $;return{valueSignal:n,get value(){return n()},change:t,ngOnDestroy(){t.complete()}}}var Vp=(()=>{class e{_injector=f(O);_defaultOptions=f(VN,{optional:!0});_parentDialog=f(e,{optional:!0,skipSelf:!0});_overlayContainer=f(Ps);_idGenerator=f(Yt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;_ariaHiddenElements=new Map;_scrollStrategy=f(PN);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=gi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Vt(void 0)));constructor(){}open(t,r){let o=this._defaultOptions||new Xn;r=E(E({},o),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let i=this._getOverlayConfig(r),s=Ls(this._injector,i),a=new js(s,r),c=this._attachContainer(s,a,r);if(a.containerInstance=c,!this.openDialogs.length){let l=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Ge(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(l)}):this._hideNonDialogContentFromAssistiveTechnology(l)}return this._attachDialogContent(t,a,c,r),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Pp(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){Pp(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Pp(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let r=new Wr({positionStrategy:t.positionStrategy||oi().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation,disableAnimations:t.disableAnimations});return t.backdropClass&&(r.backdropClass=t.backdropClass),r}_attachContainer(t,r,o){let i=o.injector||o.viewContainerRef?.injector,s=[{provide:Xn,useValue:o},{provide:js,useValue:r},{provide:ni,useValue:t}],a;o.container?typeof o.container=="function"?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=Lp;let c=new ei(a,o.viewContainerRef,O.create({parent:i||this._injector,providers:s}));return t.attach(c).instance}_attachDialogContent(t,r,o,i){if(t instanceof Ye){let s=this._createInjector(i,r,o,void 0),a={$implicit:i.data,dialogRef:r};i.templateContext&&(a=E(E({},a),typeof i.templateContext=="function"?i.templateContext():i.templateContext)),o.attachTemplatePortal(new Kn(t,null,a,s))}else{let s=this._createInjector(i,r,o,this._injector),a=o.attachComponentPortal(new ei(t,i.viewContainerRef,s));r.componentRef=a,r.componentInstance=a.instance}}_createInjector(t,r,o,i){let s=t.injector||t.viewContainerRef?.injector,a=[{provide:LN,useValue:t.data},{provide:js,useValue:r}];return t.providers&&(typeof t.providers=="function"?a.push(...t.providers(r,t,o)):a.push(...t.providers)),t.direction&&(!s||!s.get(hn,null,{optional:!0}))&&a.push({provide:hn,useValue:jN(t.direction)}),O.create({parent:s||i,providers:a})}_removeOpenDialog(t,r){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((i,s)=>{i?s.setAttribute("aria-hidden",i):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(t){if(t.parentElement){let r=t.parentElement.children;for(let o=r.length-1;o>-1;o--){let i=r[o];i!==t&&i.nodeName!=="SCRIPT"&&i.nodeName!=="STYLE"&&!i.hasAttribute("aria-live")&&!i.hasAttribute("popover")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pp(e,n){let t=e.length;for(;t--;)n(e[t])}var iE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[Vp],imports:[Vs,zr,mp,zr]})}return e})();function T6(e){return e!=null&&`${e}`!="false"}function x6(e,n=/\s+/){let t=[];if(e!=null){let r=Array.isArray(e)?e:`${e}`.split(n);for(let o of r){let i=`${o}`.trim();i&&t.push(i)}}return t}var R6={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 BN=new g("MATERIAL_ANIMATIONS"),sE=null;function HN(){return f(BN,{optional:!0})?.animationsDisabled||f(ns,{optional:!0})==="NoopAnimations"?"di-disabled":(sE??=f(wl).matchMedia("(prefers-reduced-motion)").matches,sE?"reduced-motion":"enabled")}function pn(){return HN()!=="enabled"}function UN(e,n){}var $l=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},jp="mdc-dialog--open",aE="mdc-dialog--opening",cE="mdc-dialog--closing",$N=150,zN=75,GN=(()=>{class e extends Lp{_animationStateChanged=new $;_animationsEnabled=!pn();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?uE(this._config.enterAnimationDuration)??$N:0;_exitAnimationDuration=this._animationsEnabled?uE(this._config.exitAnimationDuration)??zN:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(lE,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(aE,jp)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(jp),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(jp),this._animationsEnabled?(this._hostElement.style.setProperty(lE,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cE)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(aE,cE)}_waitForAnimationToComplete(t,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let r=super.attachComponentPortal(t);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275cmp=ce({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(as("id",o._config.id),ke("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Ee("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[W],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(No(0,"div",0)(1,"div",1),Vo(2,UN,0,0,"ng-template",2),ss()())},dependencies:[ks],styles:[`.mat-mdc-dialog-container {
|
|
228
228
|
width: 100%;
|
|
229
229
|
height: 100%;
|
|
230
230
|
display: block;
|
|
@@ -413,7 +413,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
413
413
|
.mat-mdc-dialog-component-host {
|
|
414
414
|
display: contents;
|
|
415
415
|
}
|
|
416
|
-
`],encapsulation:2})}return e})(),lE="--mat-dialog-transition-duration";function uE(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?Ft(e.substring(0,e.length-2)):e.endsWith("s")?Ft(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var Ul=(function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e})(Ul||{}),zl=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new yn(1);_beforeClosed=new yn(1);_result;_closeFallbackTimeout;_state=Ul.OPEN;_closeInteractionType;constructor(n,t,r){this._ref=n,this._config=t,this._containerInstance=r,this.disableClose=t.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(Ce(o=>o.state==="opened"),Ge(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Ce(o=>o.state==="closed"),Ge(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),wu(this.backdropClick(),this.keydownEvents().pipe(Ce(o=>o.keyCode===27&&!this.disableClose&&!Zn(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),GN(this,o.type==="keydown"?"keyboard":"mouse"))})}close(n){let t=this._config.closePredicate;t&&!t(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(Ce(r=>r.state==="closing"),Ge(1)).subscribe(r=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Ul.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let t=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?t.left(n.left):t.right(n.right):t.centerHorizontally(),n&&(n.top||n.bottom)?n.top?t.top(n.top):t.bottom(n.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",t=""){return this._ref.updateSize(n,t),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Ul.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function GN(e,n,t){return e._closeInteractionType=n,e.close(t)}var WN=new g("MatMdcDialogData"),qN=new g("mat-mdc-dialog-default-options"),YN=new g("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>ri(e)}}),dE=(()=>{class e{_defaultOptions=f(qN,{optional:!0});_scrollStrategy=f(YN);_parentDialog=f(e,{optional:!0,skipSelf:!0});_idGenerator=f(Yt);_injector=f(O);_dialog=f(Vp);_animationsDisabled=pn();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;dialogConfigClass=$l;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=gi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Vt(void 0)));constructor(){this._dialogRefConstructor=zl,this._dialogContainerType=zN,this._dialogDataToken=WN}open(t,r){let o;r=E(E({},this._defaultOptions||new $l),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let i=this._dialog.open(t,U(E({},r),{positionStrategy:oi(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||r.enterAnimationDuration?.toLocaleString()==="0"||r.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Xn,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(s,a,c)=>(o=new this._dialogRefConstructor(s,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=i.componentRef,o.componentInstance=i.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let r=t.length;for(;r--;)t[r].close()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fE=(()=>{class e{_dialogRef=f(zl,{optional:!0});_elementRef=f(B);_dialog=f(dE);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=ZN(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e})}return e})(),t9=(()=>{class e extends fE{id=f(Yt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,o){r&2&&as("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[W]})}return e})(),n9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Dh([Rs])]})}return e})(),r9=(()=>{class e extends fE{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,o){r&2&&De("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[W]})}return e})();function ZN(e,n){let t=e.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?n.find(r=>r.id===t.id):null}var o9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[dE],imports:[iE,Vs,zr,at]})}return e})();function hE(e){return Error(`Unable to find icon with the name "${e}"`)}function KN(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function pE(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function mE(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var mn=class{url;svgText;options;svgElement=null;constructor(n,t,r){this.url=n,this.svgText=t,this.options=r}},vE=(()=>{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 mn(o,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,o,i){let s=this._sanitizer.sanitize(K.HTML,o);if(!s)throw mE(o);let a=Br(s);return this._addSvgIconConfig(t,r,new mn("",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 mn(r,null,o))}addSvgIconSetLiteralInNamespace(t,r,o){let i=this._sanitizer.sanitize(K.HTML,r);if(!i)throw mE(r);let s=Br(i);return this._addSvgIconSetConfig(t,new mn("",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(K.RESOURCE_URL,t);if(!r)throw pE(t);let o=this._cachedIconsByUrl.get(r);return o?pe(Gl(o)):this._loadSvgIconFromConfig(new mn(t,null)).pipe(En(i=>this._cachedIconsByUrl.set(r,i)),Q(i=>Gl(i)))}getNamedSvgIcon(t,r=""){let o=gE(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):Eu(hE(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?pe(Gl(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Q(r=>Gl(r)))}_getSvgFromIconSetConfigs(t,r){let o=this._extractIconWithNameFromAnySet(t,r);if(o)return pe(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(_i(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(K.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),pe(null)})));return vi(i).pipe(Q(()=>{let s=this._extractIconWithNameFromAnySet(t,r);if(!s)throw hE(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(En(r=>t.svgText=r),Q(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?pe(null):this._fetchIcon(t).pipe(En(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(Br("<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(Br("<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 KN();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(K.RESOURCE_URL,r);if(!s)throw pE(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:i}).pipe(Q(l=>Br(l)),oo(()=>this._inProgressUrlFetches.delete(s)),bi());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(t,r,o){return this._svgIconConfigs.set(gE(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 XN(i)?new mn(i.url,null,i.options):new mn(i,null)}}static \u0275fac=function(r){return new(r||e)(T(_l,8),T(Is),T(x,8),T(Oe))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gl(e){return e.cloneNode(!0)}function gE(e,n){return e+":"+n}function XN(e){return!!(e.url&&e.options)}var QN=["*"],JN=new g("MAT_ICON_DEFAULT_OPTIONS"),eR=new g("mat-icon-location",{providedIn:"root",factory:()=>{let e=f(x),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),yE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tR=yE.map(e=>`[${e}]`).join(", "),nR=/^url\(['"]?#(.*?)['"]?\)$/,I9=(()=>{class e{_elementRef=f(B);_iconRegistry=f(vE);_location=f(eR);_errorHandler=f(Oe);_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=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=j.EMPTY;constructor(){let t=f(new Kc("aria-hidden"),{optional:!0}),r=f(JN,{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(tR),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<r.length;i++)yE.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(nR):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(Ge(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=ce({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(ke("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),ds(o.color?"mat-"+o.color:""),De("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",oe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:QN,decls:1,vars:0,template:function(r,o){r&1&&(Ot(),Ae(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
|
|
416
|
+
`],encapsulation:2})}return e})(),lE="--mat-dialog-transition-duration";function uE(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?Ft(e.substring(0,e.length-2)):e.endsWith("s")?Ft(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var Ul=(function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e})(Ul||{}),zl=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new yn(1);_beforeClosed=new yn(1);_result;_closeFallbackTimeout;_state=Ul.OPEN;_closeInteractionType;constructor(n,t,r){this._ref=n,this._config=t,this._containerInstance=r,this.disableClose=t.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(_e(o=>o.state==="opened"),Ge(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(_e(o=>o.state==="closed"),Ge(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),wu(this.backdropClick(),this.keydownEvents().pipe(_e(o=>o.keyCode===27&&!this.disableClose&&!Zn(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),WN(this,o.type==="keydown"?"keyboard":"mouse"))})}close(n){let t=this._config.closePredicate;t&&!t(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(_e(r=>r.state==="closing"),Ge(1)).subscribe(r=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Ul.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let t=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?t.left(n.left):t.right(n.right):t.centerHorizontally(),n&&(n.top||n.bottom)?n.top?t.top(n.top):t.bottom(n.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",t=""){return this._ref.updateSize(n,t),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Ul.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function WN(e,n,t){return e._closeInteractionType=n,e.close(t)}var qN=new g("MatMdcDialogData"),YN=new g("mat-mdc-dialog-default-options"),ZN=new g("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>ri(e)}}),dE=(()=>{class e{_defaultOptions=f(YN,{optional:!0});_scrollStrategy=f(ZN);_parentDialog=f(e,{optional:!0,skipSelf:!0});_idGenerator=f(Yt);_injector=f(O);_dialog=f(Vp);_animationsDisabled=pn();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;dialogConfigClass=$l;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=gi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Vt(void 0)));constructor(){this._dialogRefConstructor=zl,this._dialogContainerType=GN,this._dialogDataToken=qN}open(t,r){let o;r=E(E({},this._defaultOptions||new $l),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let i=this._dialog.open(t,U(E({},r),{positionStrategy:oi(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||r.enterAnimationDuration?.toLocaleString()==="0"||r.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Xn,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(s,a,c)=>(o=new this._dialogRefConstructor(s,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=i.componentRef,o.componentInstance=i.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let r=t.length;for(;r--;)t[r].close()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fE=(()=>{class e{_dialogRef=f(zl,{optional:!0});_elementRef=f(B);_dialog=f(dE);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=KN(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e})}return e})(),n9=(()=>{class e extends fE{id=f(Yt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,o){r&2&&as("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[W]})}return e})(),r9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Dh([Rs])]})}return e})(),o9=(()=>{class e extends fE{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,o){r&2&&Ee("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[W]})}return e})();function KN(e,n){let t=e.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?n.find(r=>r.id===t.id):null}var i9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[dE],imports:[iE,Vs,zr,at]})}return e})();function hE(e){return Error(`Unable to find icon with the name "${e}"`)}function XN(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function pE(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function mE(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var mn=class{url;svgText;options;svgElement=null;constructor(n,t,r){this.url=n,this.svgText=t,this.options=r}},vE=(()=>{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 mn(o,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,o,i){let s=this._sanitizer.sanitize(K.HTML,o);if(!s)throw mE(o);let a=Br(s);return this._addSvgIconConfig(t,r,new mn("",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 mn(r,null,o))}addSvgIconSetLiteralInNamespace(t,r,o){let i=this._sanitizer.sanitize(K.HTML,r);if(!i)throw mE(r);let s=Br(i);return this._addSvgIconSetConfig(t,new mn("",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(K.RESOURCE_URL,t);if(!r)throw pE(t);let o=this._cachedIconsByUrl.get(r);return o?pe(Gl(o)):this._loadSvgIconFromConfig(new mn(t,null)).pipe(En(i=>this._cachedIconsByUrl.set(r,i)),Q(i=>Gl(i)))}getNamedSvgIcon(t,r=""){let o=gE(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):Eu(hE(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?pe(Gl(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Q(r=>Gl(r)))}_getSvgFromIconSetConfigs(t,r){let o=this._extractIconWithNameFromAnySet(t,r);if(o)return pe(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(_i(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(K.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),pe(null)})));return vi(i).pipe(Q(()=>{let s=this._extractIconWithNameFromAnySet(t,r);if(!s)throw hE(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(En(r=>t.svgText=r),Q(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?pe(null):this._fetchIcon(t).pipe(En(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(Br("<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(Br("<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 XN();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(K.RESOURCE_URL,r);if(!s)throw pE(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:i}).pipe(Q(l=>Br(l)),oo(()=>this._inProgressUrlFetches.delete(s)),bi());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(t,r,o){return this._svgIconConfigs.set(gE(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 QN(i)?new mn(i.url,null,i.options):new mn(i,null)}}static \u0275fac=function(r){return new(r||e)(T(_l,8),T(Is),T(x,8),T(Oe))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gl(e){return e.cloneNode(!0)}function gE(e,n){return e+":"+n}function QN(e){return!!(e.url&&e.options)}var JN=["*"],eR=new g("MAT_ICON_DEFAULT_OPTIONS"),tR=new g("mat-icon-location",{providedIn:"root",factory:()=>{let e=f(x),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),yE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],nR=yE.map(e=>`[${e}]`).join(", "),rR=/^url\(['"]?#(.*?)['"]?\)$/,S9=(()=>{class e{_elementRef=f(B);_iconRegistry=f(vE);_location=f(tR);_errorHandler=f(Oe);_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=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=j.EMPTY;constructor(){let t=f(new Kc("aria-hidden"),{optional:!0}),r=f(eR,{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(nR),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<r.length;i++)yE.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(rR):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(Ge(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=ce({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(ke("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),ds(o.color?"mat-"+o.color:""),Ee("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",oe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:JN,decls:1,vars:0,template:function(r,o){r&1&&(Ot(),Ae(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
|
|
417
417
|
color: var(--mat-icon-color, inherit);
|
|
418
418
|
}
|
|
419
419
|
|
|
@@ -449,7 +449,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
449
449
|
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {
|
|
450
450
|
margin: auto;
|
|
451
451
|
}
|
|
452
|
-
`],encapsulation:2,changeDetection:0})}return e})(),
|
|
452
|
+
`],encapsulation:2,changeDetection:0})}return e})(),M9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[at]})}return e})();var ii,_E=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function x9(){if(ii)return ii;if(typeof document!="object"||!document)return ii=new Set(_E),ii;let e=document.createElement("input");return ii=new Set(_E.filter(n=>(e.setAttribute("type",n),e.type===n))),ii}var yt=(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})(yt||{}),Bp=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=yt.HIDDEN;constructor(n,t,r,o=!1){this._renderer=n,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},bE=Yo({passive:!0,capture:!0}),Hp=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,bE)})}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,bE)))}_delegateEventHandler=n=>{let t=$e(n);t&&this._events.get(n.type)?.forEach((r,o)=>{(o===t||o.contains(t))&&r.forEach(i=>i.handleEvent(n))})}},Bs={enterDuration:225,exitDuration:150},oR=800,DE=Yo({passive:!0,capture:!0}),EE=["mousedown","touchstart"],CE=["mouseup","mouseleave","touchend","touchcancel"],iR=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.mat-ripple {
|
|
453
453
|
overflow: hidden;
|
|
454
454
|
position: relative;
|
|
455
455
|
}
|
|
@@ -477,7 +477,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
477
477
|
.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {
|
|
478
478
|
display: none;
|
|
479
479
|
}
|
|
480
|
-
`],encapsulation:2,changeDetection:0})}return e})(),Hs=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Hp;constructor(n,t,r,o,i){this._target=n,this._ngZone=t,this._platform=o,o.isBrowser&&(this._containerElement=gt(r)),i&&i.get(vt).load(
|
|
480
|
+
`],encapsulation:2,changeDetection:0})}return e})(),Hs=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Hp;constructor(n,t,r,o,i){this._target=n,this._ngZone=t,this._platform=o,o.isBrowser&&(this._containerElement=gt(r)),i&&i.get(vt).load(iR)}fadeInRipple(n,t,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=E(E({},Bs),r.animation);r.centered&&(n=o.left+o.width/2,t=o.top+o.height/2);let s=r.radius||sR(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),h=d.transitionProperty,p=d.transitionDuration,m=h==="none"||p==="0s"||p==="0s, 0s"||o.width===0&&o.height===0,v=new Bp(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",v.state=yt.FADING_IN,r.persistent||(this._mostRecentTransientRipple=v);let _=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{_&&(_.fallbackTimer=null),clearTimeout(Me),this._finishRippleTransition(v)},k=()=>this._destroyRipple(v),Me=setTimeout(k,l+100);u.addEventListener("transitionend",D),u.addEventListener("transitioncancel",k),_={onTransitionEnd:D,onTransitionCancel:k,fallbackTimer:Me}}),this._activeRipples.set(v,_),(m||!l)&&this._finishRippleTransition(v),v}fadeOutRipple(n){if(n.state===yt.FADING_OUT||n.state===yt.HIDDEN)return;let t=n.element,r=E(E({},Bs),n.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",n.state=yt.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=gt(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,EE.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(()=>{CE.forEach(t=>{this._triggerElement.addEventListener(t,this,DE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===yt.FADING_IN?this._startFadeOutTransition(n):n.state===yt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let t=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=yt.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=yt.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=Ss(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+oR;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Ms(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===yt.VISIBLE||n.config.terminateOnPointerUp&&n.state===yt.FADING_IN;!n.config.persistent&&t&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(EE.forEach(t=>e._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(CE.forEach(t=>n.removeEventListener(t,this,DE)),this._pointerUpEventsRegistered=!1))}};function sR(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 Up=new g("mat-ripple-global-options"),G9=(()=>{class e{_elementRef=f(B);_animationsDisabled=pn();color;unbounded=!1;centered=!1;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(M),r=f(se),o=f(Up,{optional:!0}),i=f(O);this._globalOptions=o||{},this._rippleRenderer=new Hs(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:E(E(E({},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,E(E({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,E(E({},this.rippleConfig),t))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&Ee("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 aR={capture:!0},cR=["focus","mousedown","mouseenter","touchstart"],$p="mat-ripple-loader-uninitialized",zp="mat-ripple-loader-class-name",wE="mat-ripple-loader-centered",Wl="mat-ripple-loader-disabled",IE=(()=>{class e{_document=f(x);_animationsDisabled=pn();_globalRippleOptions=f(Up,{optional:!0});_platform=f(se);_ngZone=f(M);_injector=f(O);_eventCleanups;_hosts=new Map;constructor(){let t=f(Se).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>cR.map(r=>t.listen(this._document,r,this._onInteraction,aR)))}ngOnDestroy(){let t=this._hosts.keys();for(let r of t)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(t,r){t.setAttribute($p,this._globalRippleOptions?.namespace??""),(r.className||!t.hasAttribute(zp))&&t.setAttribute(zp,r.className||""),r.centered&&t.setAttribute(wE,""),r.disabled&&t.setAttribute(Wl,"")}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(Wl,""):t.removeAttribute(Wl)}_onInteraction=t=>{let r=$e(t);if(r instanceof HTMLElement){let o=r.closest(`[${$p}="${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(zp)),t.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??Bs.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??Bs.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||t.hasAttribute(Wl),rippleConfig:{centered:t.hasAttribute(wE),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new Hs(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($p)}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=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var SE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,o){},styles:[`.mat-focus-indicator {
|
|
481
481
|
position: relative;
|
|
482
482
|
}
|
|
483
483
|
.mat-focus-indicator::before {
|
|
@@ -503,7 +503,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
503
503
|
--mat-focus-indicator-display: block;
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
`],encapsulation:2,changeDetection:0})}return e})();var
|
|
506
|
+
`],encapsulation:2,changeDetection:0})}return e})();var lR=["mat-icon-button",""],uR=["*"],dR=new g("MAT_BUTTON_CONFIG");function ME(e){return e==null?void 0:Eb(e)}var Us=(()=>{class e{_elementRef=f(B);_ngZone=f(M);_animationsDisabled=pn();_config=f(dR,{optional:!0});_focusMonitor=f(Zo);_cleanupClick;_renderer=f(Ke);_rippleLoader=f(IE);_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(vt).load(SE);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=N({type:e,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(ke("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),ds(o.color?"mat-"+o.color:""),Ee("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",oe],disabled:[2,"disabled","disabled",oe],ariaDisabled:[2,"aria-disabled","ariaDisabled",oe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",oe],tabIndex:[2,"tabIndex","tabIndex",ME],_tabindex:[2,"tabindex","_tabindex",ME]}})}return e})(),fR=(()=>{class e extends Us{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({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:[W],attrs:lR,ngContentSelectors:uR,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&&(Ot(),Xe(0,"span",0),Ae(1),Xe(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button {
|
|
507
507
|
-webkit-user-select: none;
|
|
508
508
|
user-select: none;
|
|
509
509
|
display: inline-block;
|
|
@@ -628,7 +628,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
628
628
|
outline: solid 1px;
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
-
`],encapsulation:2,changeDetection:0})}return e})();var TE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[at]})}return e})();var
|
|
631
|
+
`],encapsulation:2,changeDetection:0})}return e})();var TE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[at]})}return e})();var hR=["matButton",""],Gp=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Wp=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],pR=["mat-fab",""],mR=["mat-mini-fab",""],gR=`.mat-mdc-fab-base {
|
|
632
632
|
-webkit-user-select: none;
|
|
633
633
|
user-select: none;
|
|
634
634
|
position: relative;
|
|
@@ -895,7 +895,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
895
895
|
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
|
|
896
896
|
width: 100%;
|
|
897
897
|
}
|
|
898
|
-
`,xE=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"]]]),
|
|
898
|
+
`,xE=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"]]]),wY=(()=>{class e extends Us{get appearance(){return this._appearance}set appearance(t){this.setAppearance(t||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let t=vR(this._elementRef.nativeElement);t&&this.setAppearance(t)}setAppearance(t){if(t===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?xE.get(this._appearance):null,i=xE.get(t);o&&r.remove(...o),r.add(...i),this._appearance=t}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({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:[W],attrs:hR,ngContentSelectors:Wp,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&&(Ot(Gp),Xe(0,"span",0),Ae(1),cn(2,"span",1),Ae(3,1),ln(),Ae(4,2),Xe(5,"span",2)(6,"span",3)),r&2&&Ee("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base {
|
|
899
899
|
text-decoration: none;
|
|
900
900
|
}
|
|
901
901
|
.mat-mdc-button-base .mat-icon {
|
|
@@ -1439,7 +1439,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
1439
1439
|
outline: solid 1px;
|
|
1440
1440
|
}
|
|
1441
1441
|
}
|
|
1442
|
-
`],encapsulation:2,changeDetection:0})}return e})();function
|
|
1442
|
+
`],encapsulation:2,changeDetection:0})}return e})();function vR(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 AE=new g("mat-mdc-fab-default-options",{providedIn:"root",factory:()=>$s}),$s={color:"accent"},IY=(()=>{class e extends Us{_options=f(AE,{optional:!0});_isFab=!0;extended=!1;constructor(){super(),this._options=this._options||$s,this.color=this._options.color||$s.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({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&&Ee("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended)},inputs:{extended:[2,"extended","extended",oe]},exportAs:["matButton","matAnchor"],features:[W],attrs:pR,ngContentSelectors:Wp,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&&(Ot(Gp),Xe(0,"span",0),Ae(1),cn(2,"span",1),Ae(3,1),ln(),Ae(4,2),Xe(5,"span",2)(6,"span",3)),r&2&&Ee("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-fab-base {
|
|
1443
1443
|
-webkit-user-select: none;
|
|
1444
1444
|
user-select: none;
|
|
1445
1445
|
position: relative;
|
|
@@ -1706,4 +1706,4 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
1706
1706
|
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
|
|
1707
1707
|
width: 100%;
|
|
1708
1708
|
}
|
|
1709
|
-
`],encapsulation:2,changeDetection:0})}return e})(),IY=(()=>{class e extends Us{_options=f(AE,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||$s,this.color=this._options.color||$s.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({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:[W],attrs:pR,ngContentSelectors:Wp,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&&(Ot(Gp),Xe(0,"span",0),Ae(1),cn(2,"span",1),Ae(3,1),ln(),Ae(4,2),Xe(5,"span",2)(6,"span",3)),r&2&&De("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[mR],encapsulation:2,changeDetection:0})}return e})();var SY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[TE,at]})}return e})();var VE=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(H(Ke),H(B))};static \u0275dir=N({type:e})}return e})(),jE=(()=>{class e extends VE{static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,features:[W]})}return e})(),iu=new g("");var vR={provide:iu,useExisting:Te(()=>BE),multi:!0};function yR(){let e=pt()?pt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var _R=new g(""),BE=(()=>{class e extends VE{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!yR())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(H(Ke),H(B),H(_R,8))};static \u0275dir=N({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Gn("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Fe([vR]),W]})}return e})();function Zp(e){return e==null||Kp(e)===0}function Kp(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Jn=new g(""),su=new g(""),bR=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,NE=class{static min(n){return HE(n)}static max(n){return UE(n)}static required(n){return $E(n)}static requiredTrue(n){return DR(n)}static email(n){return ER(n)}static minLength(n){return CR(n)}static maxLength(n){return wR(n)}static pattern(n){return zE(n)}static nullValidator(n){return Yl()}static compose(n){return KE(n)}static composeAsync(n){return XE(n)}};function HE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function UE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function $E(e){return Zp(e.value)?{required:!0}:null}function DR(e){return e.value===!0?null:{required:!0}}function ER(e){return Zp(e.value)||bR.test(e.value)?null:{email:!0}}function CR(e){return n=>{let t=n.value?.length??Kp(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function wR(e){return n=>{let t=n.value?.length??Kp(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function zE(e){if(!e)return Yl;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Zp(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function Yl(e){return null}function GE(e){return e!=null}function WE(e){return Uo(e)?ct(e):e}function qE(e){let n={};return e.forEach(t=>{n=t!=null?E(E({},n),t):n}),Object.keys(n).length===0?null:n}function YE(e,n){return n.map(t=>t(e))}function IR(e){return!e.validate}function ZE(e){return e.map(n=>IR(n)?n:t=>n.validate(t))}function KE(e){if(!e)return null;let n=e.filter(GE);return n.length==0?null:function(t){return qE(YE(t,n))}}function Xp(e){return e!=null?KE(ZE(e)):null}function XE(e){if(!e)return null;let n=e.filter(GE);return n.length==0?null:function(t){let r=YE(t,n).map(WE);return vi(r).pipe(Q(qE))}}function Qp(e){return e!=null?XE(ZE(e)):null}function RE(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function QE(e){return e._rawValidators}function JE(e){return e._rawAsyncValidators}function qp(e){return e?Array.isArray(e)?e:[e]:[]}function Zl(e,n){return Array.isArray(e)?e.includes(n):e===n}function OE(e,n){let t=qp(n);return qp(e).forEach(o=>{Zl(t,o)||t.push(o)}),t}function kE(e,n){return qp(n).filter(t=>!Zl(e,t))}var Kl=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Xp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Qp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},qr=class extends Kl{name;get formDirective(){return null}get path(){return null}},Yr=class extends Kl{_parent=null;name=null;valueAccessor=null},Yp=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var $Y=(()=>{class e extends Yp{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(H(Yr,2))};static \u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&De("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[W]})}return e})();var zs="VALID",ql="INVALID",si="PENDING",Gs="DISABLED",Qn=class{},Xl=class extends Qn{value;source;constructor(n,t){super(),this.value=n,this.source=t}},qs=class extends Qn{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},Ys=class extends Qn{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},ai=class extends Qn{status;source;constructor(n,t){super(),this.status=n,this.source=t}},Ql=class extends Qn{source;constructor(n){super(),this.source=n}},Jl=class extends Qn{source;constructor(n){super(),this.source=n}};function eC(e){return(au(e)?e.validators:e)||null}function SR(e){return Array.isArray(e)?Xp(e):e||null}function tC(e,n){return(au(n)?n.asyncValidators:e)||null}function MR(e){return Array.isArray(e)?Qp(e):e||null}function au(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function TR(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new b(1e3,"");if(!r[t])throw new b(1001,"")}function xR(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new b(-1002,"")})}var eu=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return le(this.statusReactive)}set status(n){le(()=>this.statusReactive.set(n))}_status=Qe(()=>this.statusReactive());statusReactive=ae(void 0);get valid(){return this.status===zs}get invalid(){return this.status===ql}get pending(){return this.status===si}get disabled(){return this.status===Gs}get enabled(){return this.status!==Gs}errors;get pristine(){return le(this.pristineReactive)}set pristine(n){le(()=>this.pristineReactive.set(n))}_pristine=Qe(()=>this.pristineReactive());pristineReactive=ae(!0);get dirty(){return!this.pristine}get touched(){return le(this.touchedReactive)}set touched(n){le(()=>this.touchedReactive.set(n))}_touched=Qe(()=>this.touchedReactive());touchedReactive=ae(!1);get untouched(){return!this.touched}_events=new w;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(OE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(OE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(kE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(kE(n,this._rawAsyncValidators))}hasValidator(n){return Zl(this._rawValidators,n)}hasAsyncValidator(n){return Zl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new Ys(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new Ys(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new qs(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new qs(!0,r))}markAsPending(n={}){this.status=si;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ai(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(U(E({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Gs,this.errors=null,this._forEachChild(o=>{o.disable(U(E({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Xl(this.value,r)),this._events.next(new ai(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=zs,this._forEachChild(r=>{r.enable(U(E({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zs||this.status===si)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Xl(this.value,t)),this._events.next(new ai(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(U(E({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gs:zs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=si,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=WE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return r?.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new ai(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?Gs:this.errors?ql:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(si)?si:this._anyControlsHaveStatus(ql)?ql:zs}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,t),o&&this._events.next(new qs(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Ys(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){au(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=SR(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=MR(this._rawAsyncValidators)}},tu=class extends eu{constructor(n,t,r){super(eC(t),tC(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){xR(this,!0,n),Object.keys(n).forEach(r=>{TR(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,U(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Jl(this))}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var ci=new g("",{factory:()=>cu}),cu="always";function AR(e,n){return[...n.path,e]}function Zs(e,n,t=cu){Jp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),RR(e,n),kR(e,n),OR(e,n),NR(e,n)}function nu(e,n,t=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),ou(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ru(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function NR(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Jp(e,n){let t=QE(e);n.validator!==null?e.setValidators(RE(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=JE(e);n.asyncValidator!==null?e.setAsyncValidators(RE(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();ru(n._rawValidators,o),ru(n._rawAsyncValidators,o)}function ou(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=QE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(n.asyncValidator!==null){let o=JE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}let r=()=>{};return ru(n._rawValidators,r),ru(n._rawAsyncValidators,r),t}function RR(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&nC(e,n)})}function OR(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&nC(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function nC(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function kR(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function rC(e,n){e==null,Jp(e,n)}function FR(e,n){return ou(e,n)}function oC(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function PR(e){return Object.getPrototypeOf(e.constructor)===jE}function iC(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function sC(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===BE?t=i:PR(i)?r=i:o=i}),o||r||t||null}function LR(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var VR={provide:qr,useExisting:Te(()=>jR)},Ws=Promise.resolve(),jR=(()=>{class e extends qr{callSetDisabledState;get submitted(){return le(this.submittedReactive)}_submitted=Qe(()=>this.submittedReactive());submittedReactive=ae(!1);_directives=new Set;form;ngSubmit=new $;options;constructor(t,r,o){super(),this.callSetDisabledState=o,this.form=new tu({},Xp(t),Qp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ws.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Zs(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ws.then(()=>{this._findContainer(t.path)?.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ws.then(()=>{let r=this._findContainer(t.path),o=new tu({});rC(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ws.then(()=>{this._findContainer(t.path)?.removeControl?.(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Ws.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),iC(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new Ql(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||e)(H(Jn,10),H(su,10),H(ci,8))};static \u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Gn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([VR]),W]})}return e})();function FE(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function PE(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var aC=class extends eu{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(eC(t),tC(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),au(t)&&(t.nonNullable||t.initialValueIsDefault)&&(PE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Jl(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){FE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){FE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){PE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var BR=e=>e instanceof aC;var HR={provide:Yr,useExisting:Te(()=>UR)},LE=Promise.resolve(),UR=(()=>{class e extends Yr{_changeDetectorRef;callSetDisabledState;control=new aC;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $;constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=sC(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),oC(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Zs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){LE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&oe(r);LE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?AR(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(H(qr,9),H(Jn,10),H(su,10),H(iu,10),H(Pr,8),H(ci,8))};static \u0275dir=N({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Fe([HR]),W,He]})}return e})();var $R={provide:iu,useExisting:Te(()=>zR),multi:!0},zR=(()=>{class e extends jE{writeValue(t){let r=t??"";this.setProperty("value",r)}registerOnChange(t){this.onChange=r=>{t(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&Gn("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Fe([$R]),W]})}return e})();var GR=(()=>{class e extends qr{callSetDisabledState;get submitted(){return le(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Qe(()=>this._submittedReactive());_submittedReactive=ae(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(t,r,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this.onChanges(t)}ngOnDestroy(){this.onDestroy()}onChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(ou(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(t){let r=this.form.get(t.path);return Zs(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){nu(t.control||null,t,!1),LR(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}getFormArray(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}updateModel(t,r){this.form.get(t.path).setValue(r)}onReset(){this.resetForm()}resetForm(t=void 0,r={}){this.form.reset(t,r),this._submittedReactive.set(!1)}onSubmit(t){return this.submitted=!0,iC(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Ql(this.control)),t?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(nu(r||null,t),BR(o)&&(Zs(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);rC(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){let r=this.form?.get(t.path);r&&FR(r,t)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Jp(this.form,this),this._oldForm&&ou(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(H(Jn,10),H(su,10),H(ci,8))};static \u0275dir=N({type:e,features:[W,He]})}return e})();var cC=new g(""),WR={provide:Yr,useExisting:Te(()=>qR)},qR=(()=>{class e extends Yr{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new $;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=sC(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let r=t.form.previousValue;r&&nu(r,this,!1),Zs(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}oC(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&nu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||e)(H(Jn,10),H(su,10),H(iu,10),H(cC,8),H(ci,8))};static \u0275dir=N({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Fe([WR]),W,He]})}return e})();var YR={provide:qr,useExisting:Te(()=>ZR)},ZR=(()=>{class e extends GR{form=null;ngSubmit=new $;get control(){return this.form}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Gn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([YR]),W]})}return e})();function lC(e){return typeof e=="number"?e:parseFloat(e)}var lu=(()=>{class e{_validator=Yl;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Yl,this._onChange?.()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,features:[He]})}return e})(),KR={provide:Jn,useExisting:Te(()=>XR),multi:!0},XR=(()=>{class e extends lu{max;inputName="max";normalizeInput=t=>lC(t);createValidator=t=>UE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[Fe([KR]),W]})}return e})(),QR={provide:Jn,useExisting:Te(()=>JR),multi:!0},JR=(()=>{class e extends lu{min;inputName="min";normalizeInput=t=>lC(t);createValidator=t=>HE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Fe([QR]),W]})}return e})(),eO={provide:Jn,useExisting:Te(()=>tO),multi:!0};var tO=(()=>{class e extends lu{required;inputName="required";normalizeInput=oe;createValidator=t=>$E;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&ke("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Fe([eO]),W]})}return e})();var nO={provide:Jn,useExisting:Te(()=>rO),multi:!0},rO=(()=>{class e extends lu{pattern;inputName="pattern";normalizeInput=t=>t;createValidator=t=>zE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Fe([nO]),W]})}return e})();var uC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var GY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ci,useValue:t.callSetDisabledState??cu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[uC]})}return e})(),WY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:cC,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ci,useValue:t.callSetDisabledState??cu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[uC]})}return e})();export{j as a,R as b,w as c,or as d,gu as e,_u as f,bu as g,mi as h,pe as i,Zt as j,pC as k,Q as l,Cu as m,no as n,gi as o,vi as p,yi as q,FC as r,wu as s,Ce as t,ro as u,_i as v,PC as w,Iu as x,Dn as y,Ge as z,LC as A,ar as B,oo as C,jC as D,Su as E,Tu as F,Di as G,Vt as H,io as I,Kt as J,En as K,Te as L,y as M,G as N,g as O,T as P,f as Q,K as R,pg as S,mg as T,Mg as U,Tg as V,O as W,x as X,We as Y,$ as Z,M as _,ae as $,Sr as aa,He as ba,xe as ca,Ff as da,B as ea,on as fa,UI as ga,$I as ha,zI as ia,qI as ja,Qf as ka,Rt as la,Ye as ma,Se as na,Ke as oa,H as pa,cM as qa,ot as ra,ce as sa,q as ta,N as ua,Hc as va,W as wa,Vo as xa,m_ as ya,Ho as za,it as Aa,RT as Ba,OT as Ca,M_ as Da,ke as Ea,FT as Fa,PT as Ga,LT as Ha,VT as Ia,jT as Ja,BT as Ka,T_ as La,No as Ma,ss as Na,x_ as Oa,cn as Pa,ln as Qa,Xe as Ra,Th as Sa,xh as Ta,N_ as Ua,WT as Va,as as Wa,Gn as Xa,O_ as Ya,XT as Za,Ot as _a,Ae as $a,F_ as ab,$o as bb,ls as cb,us as db,P_ as eb,L_ as fb,e0 as gb,t0 as hb,zc as ib,De as jb,p0 as kb,ds as lb,I0 as mb,K_ as nb,Ah as ob,X_ as pb,J_ as qb,T0 as rb,eb as sb,nb as tb,x0 as ub,A0 as vb,N0 as wb,Fe as xb,F0 as yb,P0 as zb,L0 as Ab,V0 as Bb,j0 as Cb,B0 as Db,U0 as Eb,z0 as Fb,G0 as Gb,W0 as Hb,q0 as Ib,fs as Jb,le as Kb,Qe as Lb,Rh as Mb,K0 as Nb,Kc as Ob,A8 as Pb,N8 as Qb,R8 as Rb,O8 as Sb,k8 as Tb,F8 as Ub,P8 as Vb,L8 as Wb,V8 as Xb,Pr as Yb,Qc as Zb,oe as _b,Eb as $b,B8 as ac,Xx as bc,Qx as cc,tA as dc,nA as ec,zb as fc,gA as gc,qn as hc,ws as ic,_l as jc,$A as kc,zA as lc,Is as mc,se as nc,up as oc,jr as pc,$e as qc,vt as rc,Ko as sc,Ft as tc,gt as uc,hn as vc,VD as wc,As as xc,kl as yc,at as zc,bN as Ac,Ns as Bc,Rs as Cc,$r as Dc,UD as Ec,SN as Fc,MN as Gc,Ip as Hc,Sp as Ic,Yt as Jc,ei as Kc,Kn as Lc,ti as Mc,Fl as Nc,_q as Oc,ks as Pc,zr as Qc,Zn as Rc,ri as Sc,Rp as Tc,Wr as Uc,Ps as Vc,kp as Wc,Bl as Xc,oi as Yc,Fp as Zc,Ls as _c,Ap as $c,ON as ad,Vs as bd,Ss as cd,Ms as dd,Zo as ed,YA as fd,Cl as gd,wl as hd,hp as id,D4 as jd,SD as kd,Sl as ld,Ml as md,lN as nd,dN as od,mp as pd,Lp as qd,Vp as rd,iE as sd,M6 as td,T6 as ud,N6 as vd,BN as wd,pn as xd,gp as yd,vp as zd,yp as Ad,m5 as Bd,hN as Cd,pN as Dd,T5 as Ed,zl as Fd,WN as Gd,dE as Hd,t9 as Id,n9 as Jd,r9 as Kd,o9 as Ld,vE as Md,I9 as Nd,S9 as Od,T9 as Pd,yt as Qd,Hs as Rd,Up as Sd,z9 as Td,IE as Ud,SE as Vd,dR as Wd,TE as Xd,CY as Yd,wY as Zd,IY as _d,SY as $d,iu as ae,BE as be,Jn as ce,NE as de,qr as ee,Yr as fe,$Y as ge,jR as he,aC as ie,UR as je,zR as ke,qR as le,ZR as me,XR as ne,JR as oe,tO as pe,rO as qe,GY as re,WY as se};
|
|
1709
|
+
`],encapsulation:2,changeDetection:0})}return e})(),SY=(()=>{class e extends Us{_options=f(AE,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||$s,this.color=this._options.color||$s.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({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:[W],attrs:mR,ngContentSelectors:Wp,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&&(Ot(Gp),Xe(0,"span",0),Ae(1),cn(2,"span",1),Ae(3,1),ln(),Ae(4,2),Xe(5,"span",2)(6,"span",3)),r&2&&Ee("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[gR],encapsulation:2,changeDetection:0})}return e})();var MY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[TE,at]})}return e})();var VE=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(H(Ke),H(B))};static \u0275dir=N({type:e})}return e})(),jE=(()=>{class e extends VE{static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,features:[W]})}return e})(),iu=new g("");var yR={provide:iu,useExisting:Te(()=>BE),multi:!0};function _R(){let e=pt()?pt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var bR=new g(""),BE=(()=>{class e extends VE{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!_R())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(H(Ke),H(B),H(bR,8))};static \u0275dir=N({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Gn("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Fe([yR]),W]})}return e})();function Zp(e){return e==null||Kp(e)===0}function Kp(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Jn=new g(""),su=new g(""),DR=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,NE=class{static min(n){return HE(n)}static max(n){return UE(n)}static required(n){return $E(n)}static requiredTrue(n){return ER(n)}static email(n){return CR(n)}static minLength(n){return wR(n)}static maxLength(n){return IR(n)}static pattern(n){return zE(n)}static nullValidator(n){return Yl()}static compose(n){return KE(n)}static composeAsync(n){return XE(n)}};function HE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function UE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function $E(e){return Zp(e.value)?{required:!0}:null}function ER(e){return e.value===!0?null:{required:!0}}function CR(e){return Zp(e.value)||DR.test(e.value)?null:{email:!0}}function wR(e){return n=>{let t=n.value?.length??Kp(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function IR(e){return n=>{let t=n.value?.length??Kp(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function zE(e){if(!e)return Yl;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Zp(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function Yl(e){return null}function GE(e){return e!=null}function WE(e){return Uo(e)?ct(e):e}function qE(e){let n={};return e.forEach(t=>{n=t!=null?E(E({},n),t):n}),Object.keys(n).length===0?null:n}function YE(e,n){return n.map(t=>t(e))}function SR(e){return!e.validate}function ZE(e){return e.map(n=>SR(n)?n:t=>n.validate(t))}function KE(e){if(!e)return null;let n=e.filter(GE);return n.length==0?null:function(t){return qE(YE(t,n))}}function Xp(e){return e!=null?KE(ZE(e)):null}function XE(e){if(!e)return null;let n=e.filter(GE);return n.length==0?null:function(t){let r=YE(t,n).map(WE);return vi(r).pipe(Q(qE))}}function Qp(e){return e!=null?XE(ZE(e)):null}function RE(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function QE(e){return e._rawValidators}function JE(e){return e._rawAsyncValidators}function qp(e){return e?Array.isArray(e)?e:[e]:[]}function Zl(e,n){return Array.isArray(e)?e.includes(n):e===n}function OE(e,n){let t=qp(n);return qp(e).forEach(o=>{Zl(t,o)||t.push(o)}),t}function kE(e,n){return qp(n).filter(t=>!Zl(e,t))}var Kl=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Xp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Qp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},qr=class extends Kl{name;get formDirective(){return null}get path(){return null}},Yr=class extends Kl{_parent=null;name=null;valueAccessor=null},Yp=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var zY=(()=>{class e extends Yp{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(H(Yr,2))};static \u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Ee("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[W]})}return e})();var zs="VALID",ql="INVALID",si="PENDING",Gs="DISABLED",Qn=class{},Xl=class extends Qn{value;source;constructor(n,t){super(),this.value=n,this.source=t}},qs=class extends Qn{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},Ys=class extends Qn{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},ai=class extends Qn{status;source;constructor(n,t){super(),this.status=n,this.source=t}},Ql=class extends Qn{source;constructor(n){super(),this.source=n}},Jl=class extends Qn{source;constructor(n){super(),this.source=n}};function eC(e){return(au(e)?e.validators:e)||null}function MR(e){return Array.isArray(e)?Xp(e):e||null}function tC(e,n){return(au(n)?n.asyncValidators:e)||null}function TR(e){return Array.isArray(e)?Qp(e):e||null}function au(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function xR(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new b(1e3,"");if(!r[t])throw new b(1001,"")}function AR(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new b(-1002,"")})}var eu=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return le(this.statusReactive)}set status(n){le(()=>this.statusReactive.set(n))}_status=Qe(()=>this.statusReactive());statusReactive=ae(void 0);get valid(){return this.status===zs}get invalid(){return this.status===ql}get pending(){return this.status===si}get disabled(){return this.status===Gs}get enabled(){return this.status!==Gs}errors;get pristine(){return le(this.pristineReactive)}set pristine(n){le(()=>this.pristineReactive.set(n))}_pristine=Qe(()=>this.pristineReactive());pristineReactive=ae(!0);get dirty(){return!this.pristine}get touched(){return le(this.touchedReactive)}set touched(n){le(()=>this.touchedReactive.set(n))}_touched=Qe(()=>this.touchedReactive());touchedReactive=ae(!1);get untouched(){return!this.touched}_events=new w;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(OE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(OE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(kE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(kE(n,this._rawAsyncValidators))}hasValidator(n){return Zl(this._rawValidators,n)}hasAsyncValidator(n){return Zl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new Ys(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new Ys(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new qs(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new qs(!0,r))}markAsPending(n={}){this.status=si;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ai(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(U(E({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Gs,this.errors=null,this._forEachChild(o=>{o.disable(U(E({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Xl(this.value,r)),this._events.next(new ai(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=zs,this._forEachChild(r=>{r.enable(U(E({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zs||this.status===si)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Xl(this.value,t)),this._events.next(new ai(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(U(E({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gs:zs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=si,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=WE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return r?.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new ai(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?Gs:this.errors?ql:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(si)?si:this._anyControlsHaveStatus(ql)?ql:zs}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,t),o&&this._events.next(new qs(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Ys(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){au(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=MR(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=TR(this._rawAsyncValidators)}},tu=class extends eu{constructor(n,t,r){super(eC(t),tC(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){AR(this,!0,n),Object.keys(n).forEach(r=>{xR(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,U(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Jl(this))}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var ci=new g("",{factory:()=>cu}),cu="always";function NR(e,n){return[...n.path,e]}function Zs(e,n,t=cu){Jp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),OR(e,n),FR(e,n),kR(e,n),RR(e,n)}function nu(e,n,t=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),ou(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ru(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function RR(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Jp(e,n){let t=QE(e);n.validator!==null?e.setValidators(RE(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=JE(e);n.asyncValidator!==null?e.setAsyncValidators(RE(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();ru(n._rawValidators,o),ru(n._rawAsyncValidators,o)}function ou(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=QE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(n.asyncValidator!==null){let o=JE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}let r=()=>{};return ru(n._rawValidators,r),ru(n._rawAsyncValidators,r),t}function OR(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&nC(e,n)})}function kR(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&nC(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function nC(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function FR(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function rC(e,n){e==null,Jp(e,n)}function PR(e,n){return ou(e,n)}function oC(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function LR(e){return Object.getPrototypeOf(e.constructor)===jE}function iC(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function sC(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===BE?t=i:LR(i)?r=i:o=i}),o||r||t||null}function VR(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var jR={provide:qr,useExisting:Te(()=>BR)},Ws=Promise.resolve(),BR=(()=>{class e extends qr{callSetDisabledState;get submitted(){return le(this.submittedReactive)}_submitted=Qe(()=>this.submittedReactive());submittedReactive=ae(!1);_directives=new Set;form;ngSubmit=new $;options;constructor(t,r,o){super(),this.callSetDisabledState=o,this.form=new tu({},Xp(t),Qp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ws.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Zs(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ws.then(()=>{this._findContainer(t.path)?.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ws.then(()=>{let r=this._findContainer(t.path),o=new tu({});rC(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ws.then(()=>{this._findContainer(t.path)?.removeControl?.(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Ws.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),iC(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new Ql(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||e)(H(Jn,10),H(su,10),H(ci,8))};static \u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Gn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([jR]),W]})}return e})();function FE(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function PE(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var aC=class extends eu{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(eC(t),tC(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),au(t)&&(t.nonNullable||t.initialValueIsDefault)&&(PE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Jl(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){FE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){FE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){PE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var HR=e=>e instanceof aC;var UR={provide:Yr,useExisting:Te(()=>$R)},LE=Promise.resolve(),$R=(()=>{class e extends Yr{_changeDetectorRef;callSetDisabledState;control=new aC;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $;constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=sC(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),oC(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Zs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){LE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&oe(r);LE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?NR(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(H(qr,9),H(Jn,10),H(su,10),H(iu,10),H(Pr,8),H(ci,8))};static \u0275dir=N({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Fe([UR]),W,He]})}return e})();var zR={provide:iu,useExisting:Te(()=>GR),multi:!0},GR=(()=>{class e extends jE{writeValue(t){let r=t??"";this.setProperty("value",r)}registerOnChange(t){this.onChange=r=>{t(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&Gn("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Fe([zR]),W]})}return e})();var WR=(()=>{class e extends qr{callSetDisabledState;get submitted(){return le(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Qe(()=>this._submittedReactive());_submittedReactive=ae(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(t,r,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this.onChanges(t)}ngOnDestroy(){this.onDestroy()}onChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(ou(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(t){let r=this.form.get(t.path);return Zs(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){nu(t.control||null,t,!1),VR(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}getFormArray(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}updateModel(t,r){this.form.get(t.path).setValue(r)}onReset(){this.resetForm()}resetForm(t=void 0,r={}){this.form.reset(t,r),this._submittedReactive.set(!1)}onSubmit(t){return this.submitted=!0,iC(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Ql(this.control)),t?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(nu(r||null,t),HR(o)&&(Zs(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);rC(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){let r=this.form?.get(t.path);r&&PR(r,t)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Jp(this.form,this),this._oldForm&&ou(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(H(Jn,10),H(su,10),H(ci,8))};static \u0275dir=N({type:e,features:[W,He]})}return e})();var cC=new g(""),qR={provide:Yr,useExisting:Te(()=>YR)},YR=(()=>{class e extends Yr{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new $;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=sC(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let r=t.form.previousValue;r&&nu(r,this,!1),Zs(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}oC(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&nu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||e)(H(Jn,10),H(su,10),H(iu,10),H(cC,8),H(ci,8))};static \u0275dir=N({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Fe([qR]),W,He]})}return e})();var ZR={provide:qr,useExisting:Te(()=>KR)},KR=(()=>{class e extends WR{form=null;ngSubmit=new $;get control(){return this.form}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Gn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([ZR]),W]})}return e})();function lC(e){return typeof e=="number"?e:parseFloat(e)}var lu=(()=>{class e{_validator=Yl;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Yl,this._onChange?.()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,features:[He]})}return e})(),XR={provide:Jn,useExisting:Te(()=>QR),multi:!0},QR=(()=>{class e extends lu{max;inputName="max";normalizeInput=t=>lC(t);createValidator=t=>UE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[Fe([XR]),W]})}return e})(),JR={provide:Jn,useExisting:Te(()=>eO),multi:!0},eO=(()=>{class e extends lu{min;inputName="min";normalizeInput=t=>lC(t);createValidator=t=>HE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Fe([JR]),W]})}return e})(),tO={provide:Jn,useExisting:Te(()=>nO),multi:!0};var nO=(()=>{class e extends lu{required;inputName="required";normalizeInput=oe;createValidator=t=>$E;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&ke("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Fe([tO]),W]})}return e})();var rO={provide:Jn,useExisting:Te(()=>oO),multi:!0},oO=(()=>{class e extends lu{pattern;inputName="pattern";normalizeInput=t=>t;createValidator=t=>zE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=xe(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Fe([rO]),W]})}return e})();var uC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var WY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ci,useValue:t.callSetDisabledState??cu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[uC]})}return e})(),qY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:cC,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ci,useValue:t.callSetDisabledState??cu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[uC]})}return e})();export{j as a,R as b,w as c,or as d,gu as e,_u as f,bu as g,mi as h,pe as i,Eu as j,Zt as k,pC as l,Q as m,Cu as n,no as o,gi as p,vi as q,yi as r,FC as s,wu as t,_e as u,ro as v,_i as w,PC as x,Iu as y,Dn as z,Ge as A,LC as B,ar as C,oo as D,jC as E,Su as F,Tu as G,Di as H,Vt as I,io as J,Kt as K,En as L,Te as M,y as N,G as O,g as P,T as Q,f as R,K as S,pg as T,mg as U,Mg as V,Tg as W,O as X,x as Y,We as Z,$ as _,M as $,ae as aa,Sr as ba,He as ca,xe as da,Ff as ea,B as fa,on as ga,UI as ha,$I as ia,zI as ja,qI as ka,YI as la,Qf as ma,Rt as na,Ye as oa,Se as pa,Ke as qa,H as ra,lM as sa,ot as ta,ce as ua,q as va,N as wa,Hc as xa,W as ya,Vo as za,m_ as Aa,Ho as Ba,it as Ca,OT as Da,kT as Ea,M_ as Fa,ke as Ga,PT as Ha,LT as Ia,VT as Ja,jT as Ka,BT as La,HT as Ma,T_ as Na,No as Oa,ss as Pa,x_ as Qa,cn as Ra,ln as Sa,Xe as Ta,Th as Ua,xh as Va,N_ as Wa,qT as Xa,as as Ya,Gn as Za,O_ as _a,QT as $a,Ot as ab,Ae as bb,F_ as cb,$o as db,ls as eb,us as fb,P_ as gb,L_ as hb,t0 as ib,n0 as jb,zc as kb,Ee as lb,m0 as mb,ds as nb,S0 as ob,K_ as pb,Ah as qb,X_ as rb,J_ as sb,x0 as tb,eb as ub,nb as vb,A0 as wb,N0 as xb,R0 as yb,Fe as zb,P0 as Ab,L0 as Bb,V0 as Cb,j0 as Db,B0 as Eb,H0 as Fb,$0 as Gb,G0 as Hb,W0 as Ib,q0 as Jb,Y0 as Kb,fs as Lb,le as Mb,Qe as Nb,Rh as Ob,X0 as Pb,Kc as Qb,N8 as Rb,R8 as Sb,O8 as Tb,k8 as Ub,F8 as Vb,P8 as Wb,L8 as Xb,V8 as Yb,j8 as Zb,Pr as _b,Qc as $b,oe as ac,Eb as bc,H8 as cc,Qx as dc,Jx as ec,nA as fc,rA as gc,zb as hc,vA as ic,qn as jc,ws as kc,Wo as lc,_l as mc,zA as nc,GA as oc,Is as pc,se as qc,up as rc,jr as sc,$e as tc,vt as uc,Ko as vc,Ft as wc,gt as xc,hn as yc,VD as zc,As as Ac,kl as Bc,at as Cc,DN as Dc,Ns as Ec,Rs as Fc,$r as Gc,UD as Hc,MN as Ic,TN as Jc,Ip as Kc,Sp as Lc,Yt as Mc,ei as Nc,Kn as Oc,ti as Pc,Fl as Qc,bq as Rc,ks as Sc,zr as Tc,Zn as Uc,ri as Vc,Rp as Wc,Wr as Xc,Ps as Yc,kp as Zc,Bl as _c,oi as $c,Fp as ad,Ls as bd,Ap as cd,kN as dd,Vs as ed,Ss as fd,Ms as gd,Zo as hd,ZA as id,Cl as jd,wl as kd,hp as ld,E4 as md,SD as nd,Sl as od,Ml as pd,uN as qd,fN as rd,mp as sd,Lp as td,Vp as ud,iE as vd,T6 as wd,x6 as xd,R6 as yd,HN as zd,pn as Ad,gp as Bd,vp as Cd,yp as Dd,g5 as Ed,pN as Fd,mN as Gd,x5 as Hd,zl as Id,qN as Jd,dE as Kd,n9 as Ld,r9 as Md,o9 as Nd,i9 as Od,vE as Pd,S9 as Qd,M9 as Rd,x9 as Sd,yt as Td,Hs as Ud,Up as Vd,G9 as Wd,IE as Xd,SE as Yd,fR as Zd,TE as _d,wY as $d,IY as ae,SY as be,MY as ce,iu as de,BE as ee,Jn as fe,NE as ge,qr as he,Yr as ie,zY as je,BR as ke,aC as le,$R as me,GR as ne,YR as oe,KR as pe,QR as qe,eO as re,nO as se,oO as te,WY as ue,qY as ve};
|