mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-28 21:10:14 +03:00
15 lines
442 KiB
JavaScript
15 lines
442 KiB
JavaScript
var kE=Object.create;var fs=Object.defineProperty,FE=Object.defineProperties,PE=Object.getOwnPropertyDescriptor,LE=Object.getOwnPropertyDescriptors,VE=Object.getOwnPropertyNames,ds=Object.getOwnPropertySymbols,jE=Object.getPrototypeOf,El=Object.prototype.hasOwnProperty,Fp=Object.prototype.propertyIsEnumerable;var kp=(e,n,t)=>n in e?fs(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,E=(e,n)=>{for(var t in n||={})El.call(n,t)&&kp(e,t,n[t]);if(ds)for(var t of ds(n))Fp.call(n,t)&&kp(e,t,n[t]);return e},V=(e,n)=>FE(e,LE(n));var BE=(e,n)=>{var t={};for(var r in e)El.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&ds)for(var r of ds(e))n.indexOf(r)<0&&Fp.call(e,r)&&(t[r]=e[r]);return t};var zN=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),GN=(e,n)=>{for(var t in n)fs(e,t,{get:n[t],enumerable:!0})},HE=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of VE(n))!El.call(e,o)&&o!==t&&fs(e,o,{get:()=>n[o],enumerable:!(r=PE(n,o))||r.enumerable});return e};var WN=(e,n,t)=>(t=e!=null?kE(jE(e)):{},HE(n||!e||!e.__esModule?fs(t,"default",{value:e,enumerable:!0}):t,e));function T(e){return typeof e=="function"}function dn(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 hs=dn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Vn(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var B=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(T(r))try{r()}catch(i){n=i instanceof hs?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Pp(i)}catch(s){n=n??[],s instanceof hs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new hs(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Pp(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)&&Vn(t,n)}remove(n){let{_finalizers:t}=this;t&&Vn(t,n),n instanceof e&&n._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var wl=B.EMPTY;function ps(e){return e instanceof B||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Pp(e){T(e)?e():e.unsubscribe()}var dt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Sr={setTimeout(e,n,...t){let{delegate:r}=Sr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Sr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ms(e){Sr.setTimeout(()=>{let{onUnhandledError:n}=dt;if(n)n(e);else throw e})}function jn(){}var Lp=Cl("C",void 0,void 0);function Vp(e){return Cl("E",void 0,e)}function jp(e){return Cl("N",e,void 0)}function Cl(e,n,t){return{kind:e,value:n,error:t}}var Bn=null;function Tr(e){if(dt.useDeprecatedSynchronousErrorHandling){let n=!Bn;if(n&&(Bn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Bn;if(Bn=null,t)throw r}}else e()}function Bp(e){dt.useDeprecatedSynchronousErrorHandling&&Bn&&(Bn.errorThrown=!0,Bn.error=e)}var Hn=class extends B{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ps(n)&&n.add(this)):this.destination=zE}static create(n,t,r){return new zt(n,t,r)}next(n){this.isStopped?Ml(jp(n),this):this._next(n)}error(n){this.isStopped?Ml(Vp(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ml(Lp,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()}}},UE=Function.prototype.bind;function Il(e,n){return UE.call(e,n)}var Sl=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){gs(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){gs(r)}else gs(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){gs(t)}}},zt=class extends Hn{constructor(n,t,r){super();let o;if(T(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&dt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Il(n.next,i),error:n.error&&Il(n.error,i),complete:n.complete&&Il(n.complete,i)}):o=n}this.destination=new Sl(o)}};function gs(e){dt.useDeprecatedSynchronousErrorHandling?Bp(e):ms(e)}function $E(e){throw e}function Ml(e,n){let{onStoppedNotification:t}=dt;t&&Sr.setTimeout(()=>t(e,n))}var zE={closed:!0,next:jn,error:$E,complete:jn};var xr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function We(e){return e}function GE(...e){return Tl(e)}function Tl(e){return e.length===0?We:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var k=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=qE(t)?t:new zt(t,r,o);return Tr(()=>{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=Hp(r),new r((o,i)=>{let s=new zt({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)}[xr](){return this}pipe(...t){return Tl(t)(this)}toPromise(t){return t=Hp(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 Hp(e){var n;return(n=e??dt.Promise)!==null&&n!==void 0?n:Promise}function WE(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function qE(e){return e&&e instanceof Hn||WE(e)&&ps(e)}var Up=dn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var R=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ys(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Up}next(t){Tr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Tr(()=>{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(){Tr(()=>{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?wl:(this.currentObservers=null,i.push(t),new B(()=>{this.currentObservers=null,Vn(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new k;return t.source=this,t}}return e.create=(n,t)=>new ys(n,t),e})(),ys=class extends R{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:wl}};function xl(e){return T(e?.lift)}function A(e){return n=>{if(xl(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 x(e,n,t,r,o){return new Al(e,n,t,r,o)}var Al=class extends Hn{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 zp(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 $p(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 Un(e){return this instanceof Un?(this.v=e,this):new Un(e)}function Gp(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(m){return Promise.resolve(m).then(h,d)}}function a(h,m){r[h]&&(o[h]=function(b){return new Promise(function(_,C){i.push([h,b,_,C])>1||c(h,b)})},m&&(o[h]=m(o[h])))}function c(h,m){try{l(r[h](m))}catch(b){p(i[0][3],b)}}function l(h){h.value instanceof Un?Promise.resolve(h.value.v).then(u,d):p(i[0][2],h)}function u(h){c("next",h)}function d(h){c("throw",h)}function p(h,m){h(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Wp(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 $p=="function"?$p(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 Ar=e=>e&&typeof e.length=="number"&&typeof e!="function";function vs(e){return T(e?.then)}function bs(e){return T(e[xr])}function _s(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Ds(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 YE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Es=YE();function ws(e){return T(e?.[Es])}function Cs(e){return Gp(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Un(t.read());if(o)return yield Un(void 0);yield yield Un(r)}}finally{t.releaseLock()}})}function Is(e){return T(e?.getReader)}function U(e){if(e instanceof k)return e;if(e!=null){if(bs(e))return ZE(e);if(Ar(e))return KE(e);if(vs(e))return XE(e);if(_s(e))return qp(e);if(ws(e))return QE(e);if(Is(e))return JE(e)}throw Ds(e)}function ZE(e){return new k(n=>{let t=e[xr]();if(T(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function KE(e){return new k(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function XE(e){return new k(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ms)})}function QE(e){return new k(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function qp(e){return new k(n=>{ew(e,n).catch(t=>n.error(t))})}function JE(e){return qp(Cs(e))}function ew(e,n){var t,r,o,i;return zp(this,void 0,void 0,function*(){try{for(t=Wp(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 $n(e){return A((n,t)=>{U(e).subscribe(x(t,()=>t.complete(),jn)),!t.closed&&n.subscribe(t)})}function Yp(){return A((e,n)=>{let t=null;e._refCount++;let r=x(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 Oo=class extends k{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,xl(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 B;let t=this.getSubject();n.add(this.source.subscribe(x(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=B.EMPTY)}return n}refCount(){return Yp()(this)}};var Nr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Nr;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new B(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Nr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Nr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var zn=class extends R{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 ko={now(){return(ko.delegate||Date).now()},delegate:void 0};var Fo=class extends R{constructor(n=1/0,t=1/0,r=ko){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 Ms=class extends B{constructor(n,t){super()}schedule(n,t=0){return this}};var Po={setInterval(e,n,...t){let{delegate:r}=Po;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=Po;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var fn=class extends Ms{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 Po.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&&Po.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,Vn(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var tw=1,Nl,Rl={};function Zp(e){return e in Rl?(delete Rl[e],!0):!1}var Kp={setImmediate(e){let n=tw++;return Rl[n]=!0,Nl||(Nl=Promise.resolve()),Nl.then(()=>Zp(n)&&e()),n},clearImmediate(e){Zp(e)}};var{setImmediate:nw,clearImmediate:rw}=Kp,Lo={setImmediate(...e){let{delegate:n}=Lo;return(n?.setImmediate||nw)(...e)},clearImmediate(e){let{delegate:n}=Lo;return(n?.clearImmediate||rw)(e)},delegate:void 0};var Ss=class extends fn{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=Lo.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&&(Lo.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var Rr=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)}};Rr.now=ko.now;var hn=class extends Rr{constructor(n,t=Rr.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 Ts=class extends hn{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 Xp=new Ts(Ss);var ft=new hn(fn),Qp=ft;var xs=class extends fn{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=Nr.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&&(Nr.cancelAnimationFrame(t),n._scheduled=void 0)}};var As=class extends hn{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 Jp=new As(xs);var Gn=new k(e=>e.complete());function Ns(e){return e&&T(e.schedule)}function Ol(e){return e[e.length-1]}function Rs(e){return T(Ol(e))?e.pop():void 0}function xt(e){return Ns(Ol(e))?e.pop():void 0}function em(e,n){return typeof Ol(e)=="number"?e.pop():n}function De(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 Os(e,n=0){return A((t,r)=>{t.subscribe(x(r,o=>De(r,e,()=>r.next(o),n),()=>De(r,e,()=>r.complete(),n),o=>De(r,e,()=>r.error(o),n)))})}function ks(e,n=0){return A((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function tm(e,n){return U(e).pipe(ks(n),Os(n))}function nm(e,n){return U(e).pipe(ks(n),Os(n))}function rm(e,n){return new k(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function om(e,n){return new k(t=>{let r;return De(t,n,()=>{r=e[Es](),De(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)}),()=>T(r?.return)&&r.return()})}function Fs(e,n){if(!e)throw new Error("Iterable cannot be null");return new k(t=>{De(t,n,()=>{let r=e[Symbol.asyncIterator]();De(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function im(e,n){return Fs(Cs(e),n)}function sm(e,n){if(e!=null){if(bs(e))return tm(e,n);if(Ar(e))return rm(e,n);if(vs(e))return nm(e,n);if(_s(e))return Fs(e,n);if(ws(e))return om(e,n);if(Is(e))return im(e,n)}throw Ds(e)}function tt(e,n){return n?sm(e,n):U(e)}function ke(...e){let n=xt(e);return tt(e,n)}function kl(e,n){let t=T(e)?e:()=>e,r=o=>o.error(t());return new k(n?o=>n.schedule(r,0,o):r)}function pn(e){return!!e&&(e instanceof k||T(e.lift)&&T(e.subscribe))}var Vo=dn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ps(e){return e instanceof Date&&!isNaN(e)}var ow=dn(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function iw(e,n){let{first:t,each:r,with:o=sw,scheduler:i=n??ft,meta:s=null}=Ps(e)?{first:e}:typeof e=="number"?{each:e}:e;if(t==null&&r==null)throw new TypeError("No timeout provided.");return A((a,c)=>{let l,u,d=null,p=0,h=m=>{u=De(c,i,()=>{try{l.unsubscribe(),U(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(b){c.error(b)}},m)};l=a.subscribe(x(c,m=>{u?.unsubscribe(),p++,c.next(d=m),r>0&&h(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&h(t!=null?typeof t=="number"?t:+t-i.now():r)})}function sw(e){throw new ow(e)}function re(e,n){return A((t,r)=>{let o=0;t.subscribe(x(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:aw}=Array;function cw(e,n){return aw(n)?e(...n):e(n)}function Or(e){return re(n=>cw(e,n))}var{isArray:lw}=Array,{getPrototypeOf:uw,prototype:dw,keys:fw}=Object;function Ls(e){if(e.length===1){let n=e[0];if(lw(n))return{args:n,keys:null};if(hw(n)){let t=fw(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function hw(e){return e&&typeof e=="object"&&uw(e)===dw}function Vs(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Fl(...e){let n=xt(e),t=Rs(e),{args:r,keys:o}=Ls(e);if(r.length===0)return tt([],n);let i=new k(pw(r,n,o?s=>Vs(o,s):We));return t?i.pipe(Or(t)):i}function pw(e,n,t=We){return r=>{am(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)am(n,()=>{let l=tt(e[c],n),u=!1;l.subscribe(x(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function am(e,n,t){e?De(t,e,n):n()}function cm(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&n.complete()},h=b=>l<r?m(b):c.push(b),m=b=>{i&&n.next(b),l++;let _=!1;U(t(b,u++)).subscribe(x(n,C=>{o?.(C),i?h(C):n.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let C=c.shift();s?De(n,s,()=>m(C)):m(C)}p()}catch(C){n.error(C)}}))};return e.subscribe(x(n,h,()=>{d=!0,p()})),()=>{a?.()}}function ht(e,n,t=1/0){return T(n)?ht((r,o)=>re((i,s)=>n(r,i,o,s))(U(e(r,o))),t):(typeof n=="number"&&(t=n),A((r,o)=>cm(r,o,e,t)))}function jo(e=1/0){return ht(We,e)}function lm(){return jo(1)}function mn(...e){return lm()(tt(e,xt(e)))}function mw(e){return new k(n=>{U(e()).subscribe(n)})}function Pl(...e){let n=Rs(e),{args:t,keys:r}=Ls(e),o=new k(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;U(t[u]).subscribe(x(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Vs(r,a):a),i.complete())}))}});return n?o.pipe(Or(n)):o}var gw=["addListener","removeListener"],yw=["addEventListener","removeEventListener"],vw=["on","off"];function Ll(e,n,t,r){if(T(t)&&(r=t,t=void 0),r)return Ll(e,n,t).pipe(Or(r));let[o,i]=Dw(e)?yw.map(s=>a=>e[s](n,a,t)):bw(e)?gw.map(um(e,n)):_w(e)?vw.map(um(e,n)):[];if(!o&&Ar(e))return ht(s=>Ll(s,n,t))(U(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function um(e,n){return t=>r=>e[t](n,r)}function bw(e){return T(e.addListener)&&T(e.removeListener)}function _w(e){return T(e.on)&&T(e.off)}function Dw(e){return T(e.addEventListener)&&T(e.removeEventListener)}function Wn(e=0,n,t=Qp){let r=-1;return n!=null&&(Ns(n)?t=n:r=n),new k(o=>{let i=Ps(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 Ew(e=0,n=ft){return e<0&&(e=0),Wn(e,e,n)}function ww(...e){let n=xt(e),t=em(e,1/0),r=e;return r.length?r.length===1?U(r[0]):jo(t)(tt(r,n)):Gn}function Ee(e,n){return A((t,r)=>{let o=0;t.subscribe(x(r,i=>e.call(n,i,o++)&&r.next(i)))})}function dm(e){return A((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(x(t,l=>{r=!0,o=l,i||U(e(l)).subscribe(i=x(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function js(e,n=ft){return dm(()=>Wn(e,n))}function Fe(e){return A((n,t)=>{let r=null,o=!1,i;r=n.subscribe(x(t,void 0,void 0,s=>{i=U(e(s,Fe(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function fm(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(x(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 Vl(e,n){return A(fm(e,n,arguments.length>=2,!1,!0))}function jl(e,n){return T(n)?ht(e,n,1):ht(e,1)}function Cw(e){return Vl((n,t,r)=>!e||e(t,r)?n+1:n,0)}function qn(e,n=ft){return A((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(x(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 hm(e){return A((n,t)=>{let r=!1;n.subscribe(x(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function pt(e){return e<=0?()=>Gn:A((n,t)=>{let r=0;n.subscribe(x(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function pm(){return A((e,n)=>{e.subscribe(x(n,jn))})}function Bl(e){return re(()=>e)}function Hl(e,n){return n?t=>mn(n.pipe(pt(1),pm()),t.pipe(Hl(e))):ht((t,r)=>U(e(t,r)).pipe(pt(1),Bl(t)))}function Iw(e,n=ft){let t=Wn(e,n);return Hl(()=>t)}function Bs(e,n=We){return e=e??Mw,A((t,r)=>{let o,i=!0;t.subscribe(x(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Mw(e,n){return e===n}function mm(e=Sw){return A((n,t)=>{let r=!1;n.subscribe(x(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Sw(){return new Vo}function Hs(e){return A((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Tw(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Ee((o,i)=>e(o,i,r)):We,pt(1),t?hm(n):mm(()=>new Vo))}function xw(e){return e<=0?()=>Gn:A((n,t)=>{let r=[];n.subscribe(x(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function gm(){return A((e,n)=>{let t,r=!1;e.subscribe(x(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function $l(e={}){let{connector:n=()=>new R,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},h=()=>{p(),s=c=void 0,u=d=!1},m=()=>{let b=s;h(),b?.unsubscribe()};return A((b,_)=>{l++,!d&&!u&&p();let C=c=c??n();_.add(()=>{l--,l===0&&!d&&!u&&(a=Ul(m,o))}),C.subscribe(_),!s&&l>0&&(s=new zt({next:ne=>C.next(ne),error:ne=>{d=!0,p(),a=Ul(h,t,ne),C.error(ne)},complete:()=>{u=!0,p(),a=Ul(h,r),C.complete()}}),U(b).subscribe(s))})(i)}}function Ul(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new zt({next:()=>{r.unsubscribe(),e()}});return U(n(...t)).subscribe(r)}function ym(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,$l({connector:()=>new Fo(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Bo(e){return Ee((n,t)=>e<=t)}function Us(...e){let n=xt(e);return A((t,r)=>{(n?mn(e,t,n):mn(e,t)).subscribe(r)})}function $s(e,n){return A((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(x(r,c=>{o?.unsubscribe();let l=0,u=i++;U(e(c,u)).subscribe(o=x(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function zl(e,n=!1){return A((t,r)=>{let o=0;t.subscribe(x(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Gl(e,n,t){let r=T(e)||n||t?{next:e,error:n,complete:t}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(x(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)}))}):We}var we=null,zs=!1,Wl=1,Aw=null,oe=Symbol("SIGNAL");function M(e){let n=we;return we=e,n}function Gs(){return we}var gn={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 Gt(e){if(zs)throw new Error("");if(we===null)return;we.consumerOnSignalRead(e);let n=we.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=we.recomputing;if(r&&(t=n!==void 0?n.nextProducer:we.producers,t!==void 0&&t.producer===e)){we.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===we&&(!r||Rw(o,we)))return;let i=Pr(we),s={producer:e,consumer:we,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};we.producersTail=s,n!==void 0?n.nextProducer=s:we.producers=s,i&&Dm(e,s)}function vm(){Wl++}function Kn(e){if(!(Pr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Wl)){if(!e.producerMustRecompute(e)&&!Fr(e)){kr(e);return}e.producerRecomputeValue(e),kr(e)}}function ql(e){if(e.consumers===void 0)return;let n=zs;zs=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||Nw(r)}}finally{zs=n}}function Yl(){return we?.consumerAllowSignalWrites!==!1}function Nw(e){e.dirty=!0,ql(e),e.consumerMarkedDirty?.(e)}function kr(e){e.dirty=!1,e.lastCleanEpoch=Wl}function Wt(e){return e&&bm(e),M(e)}function bm(e){e.producersTail=void 0,e.recomputing=!0}function yn(e,n){M(n),e&&_m(e)}function _m(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Pr(e))do t=Zl(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Fr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Kn(t),r!==t.version))return!0}return!1}function vn(e){if(Pr(e)){let n=e.producers;for(;n!==void 0;)n=Zl(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Dm(e,n){let t=e.consumersTail,r=Pr(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)Dm(o.producer,o)}function Zl(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,!Pr(n)){let i=n.producers;for(;i!==void 0;)i=Zl(i)}return t}function Pr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ho(e){Aw?.(e)}function Rw(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 Uo(e,n){return Object.is(e,n)}function $o(e,n){let t=Object.create(Ow);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Kn(t),Gt(t),t.value===At)throw t.error;return t.value};return r[oe]=t,Ho(t),r}var Yn=Symbol("UNSET"),Zn=Symbol("COMPUTING"),At=Symbol("ERRORED"),Ow=V(E({},gn),{value:Yn,dirty:!0,error:null,equal:Uo,kind:"computed",producerMustRecompute(e){return e.value===Yn||e.value===Zn},producerRecomputeValue(e){if(e.value===Zn)throw new Error("");let n=e.value;e.value=Zn;let t=Wt(e),r,o=!1;try{r=e.computation(),M(null),o=n!==Yn&&n!==At&&r!==At&&e.equal(n,r)}catch(i){r=At,e.error=i}finally{yn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function kw(){throw new Error}var Em=kw;function wm(e){Em(e)}function Kl(e){Em=e}var Fw=null;function Xl(e,n){let t=Object.create(zo);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Cm(t);return r[oe]=t,Ho(t),[r,s=>bn(t,s),s=>Ws(t,s)]}function Cm(e){return Gt(e),e.value}function bn(e,n){Yl()||wm(e),e.equal(e.value,n)||(e.value=n,Pw(e))}function Ws(e,n){Yl()||wm(e),bn(e,n(e.value))}var zo=V(E({},gn),{equal:Uo,value:void 0,kind:"signal"});function Pw(e){e.version++,vm(),ql(e),Fw?.(e)}var Ql=V(E({},gn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Jl(e){if(e.dirty=!1,e.version>0&&!Fr(e))return;e.version++;let n=Wt(e);try{e.cleanup(),e.fn()}finally{yn(e,n)}}var eu;function qs(){return eu}function Nt(e){let n=eu;return eu=e,n}var Im=Symbol("NotFound");function Lr(e){return e===Im||e?.name==="\u0275NotFound"}function tu(e,n,t){let r=Object.create(Lw);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(Kn(r),Gt(r),r.value===At)throw r.error;return r.value};return i[oe]=r,Ho(r),i}function Mm(e,n){Kn(e),bn(e,n),kr(e)}function Sm(e,n){if(Kn(e),e.value===At)throw e.error;Ws(e,n),kr(e)}var Lw=V(E({},gn),{value:Yn,dirty:!0,error:null,equal:Uo,kind:"linkedSignal",producerMustRecompute(e){return e.value===Yn||e.value===Zn},producerRecomputeValue(e){if(e.value===Zn)throw new Error("");let n=e.value;e.value=Zn;let t=Wt(e),r,o=!1;try{let i=e.source(),s=n!==Yn&&n!==At,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,M(null),o=s&&r!==At&&e.equal(n,r)}catch(i){r=At,e.error=i}finally{yn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Tm(e){let n=M(null);try{return e()}finally{M(n)}}var ea="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(n,t){super(Ot(n,t)),this.code=n}};function Vw(e){return`NG0${Math.abs(e)}`}function Ot(e,n){return`${Vw(e)}${n?": "+n:""}`}var le=globalThis;function q(e){for(let n in e)if(e[n]===q)return n;throw Error("")}function Om(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Xo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Xo).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(`
|
|
`);return r>=0?t.slice(0,r):t}function ta(e,n){return e?n?`${e} ${n}`:e:n||""}var jw=q({__forward_ref__:q});function ve(e){return e.__forward_ref__=ve,e}function me(e){return pu(e)?e():e}function pu(e){return typeof e=="function"&&e.hasOwnProperty(jw)&&e.__forward_ref__===ve}function g(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 Qo(e){return Hw(e,na)}function Bw(e){return Qo(e)!==null}function Hw(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Uw(e){let n=e?.[na]??null;return n||null}function ru(e){return e&&e.hasOwnProperty(Zs)?e[Zs]:null}var na=q({\u0275prov:q}),Zs=q({\u0275inj:q}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=g({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function mu(e){return e&&!!e.\u0275providers}var gu=q({\u0275cmp:q}),yu=q({\u0275dir:q}),vu=q({\u0275pipe:q}),bu=q({\u0275mod:q}),Wo=q({\u0275fac:q}),tr=q({__NG_ELEMENT_ID__:q}),xm=q({__NG_ENV_ID__:q});function _u(e){return oa(e,"@NgModule"),e[bu]||null}function kt(e){return oa(e,"@Component"),e[gu]||null}function ra(e){return oa(e,"@Directive"),e[yu]||null}function km(e){return oa(e,"@Pipe"),e[vu]||null}function oa(e,n){if(e==null)throw new v(-919,!1)}function Ft(e){return typeof e=="string"?e:e==null?"":String(e)}var Fm=q({ngErrorCode:q}),$w=q({ngErrorMessage:q}),zw=q({ngTokenPath:q});function Du(e,n){return Pm("",-200,n)}function ia(e,n){throw new v(-201,!1)}function Pm(e,n,t){let r=new v(n,e);return r[Fm]=n,r[$w]=e,t&&(r[zw]=t),r}function Gw(e){return e[Fm]}var ou;function Lm(){return ou}function Ae(e){let n=ou;return ou=e,n}function Eu(e,n,t){let r=Qo(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;ia(e,"")}var Ww={},Xn=Ww,qw="__NG_DI_FLAG__",iu=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=Qn(t)||0;try{return this.injector.get(n,r&8?null:Xn,r)}catch(o){if(Lr(o))return o;throw o}}};function Yw(e,n=0){let t=qs();if(t===void 0)throw new v(-203,!1);if(t===null)return Eu(e,void 0,n);{let r=Zw(n),o=t.retrieve(e,r);if(Lr(o)){if(r.optional)return null;throw o}return o}}function I(e,n=0){return(Lm()||Yw)(me(e),n)}function f(e,n){return I(e,Qn(n))}function Qn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Zw(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function su(e){let n=[];for(let t=0;t<e.length;t++){let r=me(e[t]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Kw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(I(o,i))}else n.push(I(r))}return n}function Kw(e){return e[qw]}function _n(e,n){let t=e.hasOwnProperty(Wo);return t?e[Wo]:null}function Vm(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 jm(e){return e.flat(Number.POSITIVE_INFINITY)}function sa(e,n){e.forEach(t=>Array.isArray(t)?sa(t,n):n(t))}function wu(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Jo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Bm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Hm(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 aa(e,n,t){let r=jr(e,n);return r>=0?e[r|1]=t:(r=~r,Hm(e,r,n,t)),r}function ca(e,n){let t=jr(e,n);if(t>=0)return e[t|1]}function jr(e,n){return Xw(e,n,1)}function Xw(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 mt={},Ce=[],Br=new y(""),Cu=new y("",-1),Iu=new y(""),qo=class{get(n,t=Xn){if(t===Xn){let o=Pm("",-201);throw o.name="\u0275NotFound",o}return t}};function nr(e){return{\u0275providers:e}}function Um(...e){return{\u0275providers:Mu(!0,e),\u0275fromNgModule:!0}}function Mu(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return sa(n,s=>{let a=s;Ks(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&$m(o,i),t}function $m(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];Su(o,i=>{n(i,r)})}}function Ks(e,n,t,r){if(e=me(e),!e)return!1;let o=null,i=ru(e),s=!i&&kt(e);if(!i&&!s){let c=e.ngModule;if(i=ru(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)Ks(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;sa(i.imports,u=>{Ks(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&$m(l,n)}if(!a){let l=_n(o)||(()=>new o);n({provide:o,useFactory:l,deps:Ce},o),n({provide:Iu,useValue:o,multi:!0},o),n({provide:Br,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Su(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Su(e,n){for(let t of e)mu(t)&&(t=t.\u0275providers),Array.isArray(t)?Su(t,n):n(t)}var Qw=q({provide:String,useValue:q});function zm(e){return e!==null&&typeof e=="object"&&Qw in e}function Jw(e){return!!(e&&e.useExisting)}function eC(e){return!!(e&&e.useFactory)}function Jn(e){return typeof e=="function"}function Gm(e){return!!e.useClass}var ei=new y(""),Ys={},Am={},nu;function Hr(){return nu===void 0&&(nu=new qo),nu}var ce=class{},er=class extends ce{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,cu(n,s=>this.processProvider(s)),this.records.set(Cu,Vr(void 0,this)),o.has("environment")&&this.records.set(ce,Vr(void 0,this));let i=this.records.get(ei);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Iu,Ce,{self:!0}))}retrieve(n,t){let r=Qn(t)||0;try{return this.get(n,Xn,r)}catch(o){if(Lr(o))return o;throw o}}destroy(){Go(this),this._destroyed=!0;let n=M(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(),M(n)}}onDestroy(n){return Go(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Go(this);let t=Nt(this),r=Ae(void 0),o;try{return n()}finally{Nt(t),Ae(r)}}get(n,t=Xn,r){if(Go(this),n.hasOwnProperty(xm))return n[xm](this);let o=Qn(r),i,s=Nt(this),a=Ae(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=iC(n)&&Qo(n);u&&this.injectableDefInScope(u)?l=Vr(au(n),Ys):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Hr():this.parent;return t=o&8&&t===Xn?null:t,c.get(n,t)}catch(c){let l=Gw(c);throw l===-200||l===-201?new v(l,null):c}finally{Ae(a),Nt(s)}}resolveInjectorInitializers(){let n=M(null),t=Nt(this),r=Ae(void 0),o;try{let i=this.get(Br,Ce,{self:!0});for(let s of i)s()}finally{Nt(t),Ae(r),M(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=me(n);let t=Jn(n)?n:me(n&&n.provide),r=nC(n);if(!Jn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Vr(void 0,Ys,!0),o.factory=()=>su(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=M(null);try{if(t.value===Am)throw Du("");return t.value===Ys&&(t.value=Am,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&oC(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{M(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=me(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 au(e){let n=Qo(e),t=n!==null?n.factory:_n(e);if(t!==null)return t;if(e instanceof y)throw new v(-204,!1);if(e instanceof Function)return tC(e);throw new v(-204,!1)}function tC(e){if(e.length>0)throw new v(-204,!1);let t=Uw(e);return t!==null?()=>t.factory(e):()=>new e}function nC(e){if(zm(e))return Vr(void 0,e.useValue);{let n=Tu(e);return Vr(n,Ys)}}function Tu(e,n,t){let r;if(Jn(e)){let o=me(e);return _n(o)||au(o)}else if(zm(e))r=()=>me(e.useValue);else if(eC(e))r=()=>e.useFactory(...su(e.deps||[]));else if(Jw(e))r=(o,i)=>I(me(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=me(e&&(e.useClass||e.provide));if(rC(e))r=()=>new o(...su(e.deps));else return _n(o)||au(o)}return r}function Go(e){if(e.destroyed)throw new v(-205,!1)}function Vr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function rC(e){return!!e.deps}function oC(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function iC(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function cu(e,n){for(let t of e)Array.isArray(t)?cu(t,n):t&&mu(t)?cu(t.\u0275providers,n):n(t)}function Ur(e,n){let t;e instanceof er?(Go(e),t=e):t=new iu(e);let r,o=Nt(t),i=Ae(void 0);try{return n()}finally{Nt(o),Ae(i)}}function xu(){return Lm()!==void 0||qs()!=null}var gt=0,S=1,N=2,ge=3,rt=4,Ne=5,rr=6,$r=7,ie=8,Yt=9,yt=10,K=11,zr=12,Au=13,or=14,Ie=15,wn=16,ir=17,Pt=18,Zt=19,Nu=20,qt=21,la=22,Dn=23,qe=24,sr=25,Cn=26,ee=27,Wm=1,Ru=6,In=7,ti=8,ar=9,se=10;function Kt(e){return Array.isArray(e)&&typeof e[Wm]=="object"}function vt(e){return Array.isArray(e)&&e[Wm]===!0}function Ou(e){return(e.flags&4)!==0}function Lt(e){return e.componentOffset>-1}function Gr(e){return(e.flags&1)===1}function bt(e){return!!e.template}function Wr(e){return(e[N]&512)!==0}function cr(e){return(e[N]&256)===256}var ku="svg",qm="math";function ot(e){for(;Array.isArray(e);)e=e[gt];return e}function Fu(e,n){return ot(n[e])}function it(e,n){return ot(n[e.index])}function ua(e,n){return e.data[n]}function ni(e,n){return e[n]}function Pu(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function st(e,n){let t=n[e];return Kt(t)?t:t[gt]}function Ym(e){return(e[N]&4)===4}function da(e){return(e[N]&128)===128}function Zm(e){return vt(e[ge])}function Ye(e,n){return n==null?null:e[n]}function Lu(e){e[ir]=0}function Vu(e){e[N]&1024||(e[N]|=1024,da(e)&&lr(e))}function Km(e,n){for(;e>0;)n=n[or],e--;return n}function ri(e){return!!(e[N]&9216||e[qe]?.dirty)}function fa(e){e[yt].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),ri(e)&&lr(e)}function lr(e){e[yt].changeDetectionScheduler?.notify(0);let n=En(e);for(;n!==null&&!(n[N]&8192||(n[N]|=8192,!da(n)));)n=En(n)}function ju(e,n){if(cr(e))throw new v(911,!1);e[qt]===null&&(e[qt]=[]),e[qt].push(n)}function Xm(e,n){if(e[qt]===null)return;let t=e[qt].indexOf(n);t!==-1&&e[qt].splice(t,1)}function En(e){let n=e[ge];return vt(n)?n[ge]:n}function Bu(e){return e[$r]??=[]}function Hu(e){return e.cleanup??=[]}function Qm(e,n,t,r){let o=Bu(n);o.push(t),e.firstCreatePass&&Hu(e).push(r,o.length-1)}var L={lFrame:dg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var lu=!1;function Jm(){return L.lFrame.elementDepthCount}function eg(){L.lFrame.elementDepthCount++}function Uu(){L.lFrame.elementDepthCount--}function ha(){return L.bindingsEnabled}function $u(){return L.skipHydrationRootTNode!==null}function zu(e){return L.skipHydrationRootTNode===e}function Gu(){L.skipHydrationRootTNode=null}function D(){return L.lFrame.lView}function J(){return L.lFrame.tView}function tg(e){return L.lFrame.contextLView=e,e[ie]}function ng(e){return L.lFrame.contextLView=null,e}function he(){let e=Wu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Wu(){return L.lFrame.currentTNode}function rg(){let e=L.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function qr(e,n){let t=L.lFrame;t.currentTNode=e,t.isParent=n}function qu(){return L.lFrame.isParent}function Yu(){L.lFrame.isParent=!1}function og(){return L.lFrame.contextLView}function Zu(){return lu}function Yo(e){let n=lu;return lu=e,n}function Vt(){let e=L.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ku(){return L.lFrame.bindingIndex}function ig(e){return L.lFrame.bindingIndex=e}function Xt(){return L.lFrame.bindingIndex++}function oi(e){let n=L.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function sg(){return L.lFrame.inI18n}function ag(e,n){let t=L.lFrame;t.bindingIndex=t.bindingRootIndex=e,pa(n)}function cg(){return L.lFrame.currentDirectiveIndex}function pa(e){L.lFrame.currentDirectiveIndex=e}function lg(e){let n=L.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function ma(){return L.lFrame.currentQueryIndex}function ii(e){L.lFrame.currentQueryIndex=e}function sC(e){let n=e[S];return n.type===2?n.declTNode:n.type===1?e[Ne]:null}function Xu(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=sC(i),o===null||(i=i[or],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=L.lFrame=ug();return r.currentTNode=n,r.lView=e,!0}function ga(e){let n=ug(),t=e[S];L.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function ug(){let e=L.lFrame,n=e===null?null:e.child;return n===null?dg(e):n}function dg(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 fg(){let e=L.lFrame;return L.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qu=fg;function ya(){let e=fg();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 hg(e){return(L.lFrame.contextLView=Km(e,L.lFrame.contextLView))[ie]}function _t(){return L.lFrame.selectedIndex}function Mn(e){L.lFrame.selectedIndex=e}function Yr(){let e=L.lFrame;return ua(e.tView,e.selectedIndex)}function pg(){L.lFrame.currentNamespace=ku}function mg(){aC()}function aC(){L.lFrame.currentNamespace=null}function gg(){return L.lFrame.currentNamespace}var yg=!0;function va(){return yg}function si(e){yg=e}function uu(e,n=null,t=null,r){let o=Ju(e,n,t,r);return o.resolveInjectorInitializers(),o}function Ju(e,n=null,t=null,r,o=new Set){let i=[t||Ce,Um(e)],s;return new er(i,n||Hr(),s||null,o)}var j=class e{static THROW_IF_NOT_FOUND=Xn;static NULL=new qo;static create(n,t){if(Array.isArray(n))return uu({name:""},t,n,"");{let r=n.name??"";return uu({name:r},n.parent,n.providers,r)}}static \u0275prov=g({token:e,providedIn:"any",factory:()=>I(Cu)});static __NG_ELEMENT_ID__=-1},F=new y(""),Pe=(()=>{class e{static __NG_ELEMENT_ID__=cC;static __NG_ENV_ID__=t=>t}return e})(),Xs=class extends Pe{_lView;constructor(n){super(),this._lView=n}get destroyed(){return cr(this._lView)}onDestroy(n){let t=this._lView;return ju(t,n),()=>Xm(t,n)}};function cC(){return new Xs(D())}var vg=!1,bg=new y(""),ur=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zn(!1);debugTaskTracker=f(bg,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),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=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),du=class extends R{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,xu()&&(this.destroyRef=f(Pe,{optional:!0})??void 0,this.pendingTasks=f(ur,{optional:!0})??void 0)}emit(n){let t=M(null);try{super.next(n)}finally{M(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 B&&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)}})}}},H=du;function Qs(...e){}function ed(e){let n,t;function r(){e=Qs;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function _g(e){return queueMicrotask(()=>e()),()=>{e=Qs}}var td="isAngularZone",Zo=td+"_ID",lC=0,P=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=vg}=n;if(typeof Zone>"u")throw new v(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,fC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(td)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(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,uC,Qs,Qs);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)}},uC={};function nd(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 dC(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){ed(()=>{e.callbackScheduled=!1,fu(e),e.isCheckStableRunning=!0,nd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),fu(e)}function fC(e){let n=()=>{dC(e)},t=lC++;e._inner=e._inner.fork({name:"angular",properties:{[td]:!0,[Zo]:t,[Zo+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(hC(c))return r.invokeTask(i,s,a,c);try{return Nm(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Rm(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Nm(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!pC(c)&&n(),Rm(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,fu(e),nd(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 fu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rm(e){e._nesting--,nd(e)}var Ko=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;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 hC(e){return Dg(e,"__ignore_ng_zone__")}function pC(e){return Dg(e,"__scheduler_tick__")}function Dg(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var nt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Qt=new y("",{factory:()=>{let e=f(P),n=f(ce),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(nt),t.handleError(r))})}}}),Eg={provide:Br,useValue:()=>{let e=f(nt,{optional:!0})},multi:!0};function Me(e,n){let[t,r,o]=Xl(e,n?.equal),i=t,s=i[oe];return i.set=r,i.update=o,i.asReadonly=ai.bind(i),i}function ai(){let e=this[oe];if(e.readonlyFn===void 0){let n=()=>this();n[oe]=e,e.readonlyFn=n}return e.readonlyFn}var Zr=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=mC}return e})();function mC(){return new Zr(D(),he())}var Rt=class{},ci=new y("",{factory:()=>!0});var rd=new y(""),Kr=(()=>{class e{internalPendingTasks=f(ur);scheduler=f(Rt);errorHandler=f(Qt);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),ba=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:()=>new hu})}return e})(),hu=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}},Js=class{[oe];constructor(n){this[oe]=n}destroy(){this[oe].destroy()}};function li(e,n){let t=n?.injector??f(j),r=n?.manualCleanup!==!0?t.get(Pe):null,o,i=t.get(Zr,null,{optional:!0}),s=t.get(Rt);return i!==null?(o=vC(i.view,s,e),r instanceof Xs&&r._lView===i.view&&(r=null)):o=bC(e,t.get(ba),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Js(o)}var wg=V(E({},Ql),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Yo(!1);try{Jl(this)}finally{Yo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(e)}}}),gC=V(E({},wg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(vn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),yC=V(E({},wg),{consumerMarkedDirty(){this.view[N]|=8192,lr(this.view),this.notifier.notify(13)},destroy(){if(vn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Dn]?.delete(this)}});function vC(e,n,t){let r=Object.create(yC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Cg(r,t),e[Dn]??=new Set,e[Dn].add(r),r.consumerMarkedDirty(r),r}function bC(e,n,t){let r=Object.create(gC);return r.fn=Cg(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 Cg(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Di(e){return{toString:e}.toString()}function MC(e){return typeof e=="function"}function sy(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var xa=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Ke=(()=>{let e=()=>ay;return e.ngInherit=!0,e})();function ay(e){return e.type.prototype.ngOnChanges&&(e.setInput=TC),SC}function SC(){let e=ly(this),n=e?.current;if(n){let t=e.previous;if(t===mt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function TC(e,n,t,r,o){let i=this.declaredInputs[r],s=ly(e)||xC(e,{previous:mt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new xa(l&&l.currentValue,t,c===mt),sy(e,n,o,t)}var cy="__ngSimpleChanges__";function ly(e){return e[cy]||null}function xC(e,n){return e[cy]=n}var Ig=[];var Y=function(e,n=null,t){for(let r=0;r<Ig.length;r++){let o=Ig[r];o(e,n,t)}},$=(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})($||{});function AC(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=ay(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 uy(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 Ca(e,n,t){dy(e,n,3,t)}function Ia(e,n,t,r){(e[N]&3)===t&&dy(e,n,t,r)}function od(e,n){let t=e[N];(t&3)===n&&(t&=16383,t+=1,e[N]=t)}function dy(e,n,t,r){let o=r!==void 0?e[ir]&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[ir]+=65536),(a<i||i==-1)&&(NC(e,t,n,c),e[ir]=(e[ir]&4294901760)+c+2),c++}function Mg(e,n){Y($.LifecycleHookStart,e,n);let t=M(null);try{n.call(e)}finally{M(t),Y($.LifecycleHookEnd,e,n)}}function NC(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[N]>>14<e[ir]>>16&&(e[N]&3)===n&&(e[N]+=16384,Mg(a,i)):Mg(a,i)}var Qr=-1,fr=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 RC(e){return(e.flags&8)!==0}function OC(e){return(e.flags&16)!==0}function kC(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];FC(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function fy(e){return e===3||e===4||e===6}function FC(e){return e.charCodeAt(0)===64}function Jr(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?Sg(e,t,o,null,n[++r]):Sg(e,t,o,null,null))}}return e}function Sg(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 hy(e){return e!==Qr}function Aa(e){return e&32767}function PC(e){return e>>16}function Na(e,n){let t=PC(e),r=n;for(;t>0;)r=r[or],t--;return r}var md=!0;function Ra(e){let n=md;return md=e,n}var LC=256,py=LC-1,my=5,VC=0,jt={};function jC(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(tr)&&(r=t[tr]),r==null&&(r=t[tr]=VC++);let o=r&py,i=1<<o;n.data[e+(o>>my)]|=i}function Oa(e,n){let t=gy(e,n);if(t!==-1)return t;let r=n[S];r.firstCreatePass&&(e.injectorIndex=n.length,id(r.data,e),id(n,null),id(r.blueprint,null));let o=Jd(e,n),i=e.injectorIndex;if(hy(o)){let s=Aa(o),a=Na(o,n),c=a[S].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function id(e,n){e.push(0,0,0,0,0,0,0,0,n)}function gy(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Jd(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=Dy(o),r===null)return Qr;if(t++,o=o[or],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Qr}function gd(e,n,t){jC(e,n,t)}function BC(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(fy(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 yy(e,n,t){if(t&8||e!==void 0)return e;ia(n,"NodeInjector")}function vy(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[Yt],i=Ae(void 0);try{return o?o.get(n,r,t&8):Eu(n,r,t&8)}finally{Ae(i)}}return yy(r,n,t)}function by(e,n,t,r=0,o){if(e!==null){if(n[N]&2048&&!(r&2)){let s=zC(e,n,t,r,jt);if(s!==jt)return s}let i=_y(e,n,t,r,jt);if(i!==jt)return i}return vy(n,t,r,o)}function _y(e,n,t,r,o){let i=UC(t);if(typeof i=="function"){if(!Xu(n,e,r))return r&1?yy(o,t,r):vy(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ia(t);else return s}finally{Qu()}}else if(typeof i=="number"){let s=null,a=gy(e,n),c=Qr,l=r&1?n[Ie][Ne]:null;for((a===-1||r&4)&&(c=a===-1?Jd(e,n):n[a+8],c===Qr||!xg(r,!1)?a=-1:(s=n[S],a=Aa(c),n=Na(c,n)));a!==-1;){let u=n[S];if(Tg(i,a,u.data)){let d=HC(a,n,t,s,r,l);if(d!==jt)return d}c=n[a+8],c!==Qr&&xg(r,n[S].data[a+8]===l)&&Tg(i,a,n)?(s=u,a=Aa(c),n=Na(c,n)):a=-1}}return o}function HC(e,n,t,r,o,i){let s=n[S],a=s.data[e+8],c=r==null?Lt(a)&&md:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Ma(a,s,t,c,l);return u!==null?pi(n,s,u,a,o):jt}function Ma(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let h=d;h<p;h++){let m=s[h];if(h<c&&t===m||h>=c&&m.type===t)return h}if(o){let h=s[c];if(h&&bt(h)&&h.type===t)return c}return null}function pi(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof fr){let a=i;if(a.resolving)throw Du("");let c=Ra(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Ae(a.injectImpl):null,p=Xu(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&AC(t,s[t],n)}finally{d!==null&&Ae(d),Ra(c),a.resolving=!1,Qu()}}return i}function UC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(tr)?e[tr]:void 0;return typeof n=="number"?n>=0?n&py:$C:n}function Tg(e,n,t){let r=1<<e;return!!(t[n+(e>>my)]&r)}function xg(e,n){return!(e&2)&&!(e&1&&n)}var dr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return by(this._tNode,this._lView,n,Qn(r),t)}};function $C(){return new dr(he(),D())}function Ve(e){return Di(()=>{let n=e.prototype.constructor,t=n[Wo]||yd(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Wo]||yd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function yd(e){return pu(e)?()=>{let n=yd(me(e));return n&&n()}:_n(e)}function zC(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[N]&2048&&!Wr(s);){let a=_y(i,s,t,r|2,jt);if(a!==jt)return a;let c=i.parent;if(!c){let l=s[Nu];if(l){let u=l.get(t,jt,r&-5);if(u!==jt)return u}c=Dy(s),s=s[or]}i=c}return o}function Dy(e){let n=e[S],t=n.type;return t===2?n.declTNode:t===1?e[Ne]:null}function ef(e){return BC(he(),e)}function GC(){return oo(he(),D())}function oo(e,n){return new z(it(e,n))}var z=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=GC}return e})();function Ey(e){return e instanceof z?e.nativeElement:e}function WC(){return this._results[Symbol.iterator]()}var Jt=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 R}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=jm(n);(this._changesDetected=!Vm(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]=WC};function wy(e){return(e.flags&128)===128}var tf=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(tf||{}),Cy=new Map,qC=0;function YC(){return qC++}function ZC(e){Cy.set(e[Zt],e)}function vd(e){Cy.delete(e[Zt])}var Ag="__ngContext__";function eo(e,n){Kt(n)?(e[Ag]=n[Zt],ZC(n)):e[Ag]=n}function Iy(e){return Sy(e[zr])}function My(e){return Sy(e[rt])}function Sy(e){for(;e!==null&&!vt(e);)e=e[rt];return e}var bd;function nf(e){bd=e}function Ty(){if(bd!==void 0)return bd;if(typeof document<"u")return document;throw new v(210,!1)}var xn=new y("",{factory:()=>KC}),KC="ng";var qa=new y(""),mr=new y("",{providedIn:"platform",factory:()=>"unknown"}),Ei=new y(""),io=new y("",{factory:()=>f(F).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var xy="r";var Ay="di";var Ny=!1,Ry=new y("",{factory:()=>Ny});var Oy=new y("");var XC=(e,n,t,r)=>{};function QC(e,n,t,r){XC(e,n,t,r)}function Ya(e){return(e.flags&32)===32}var JC=()=>null;function ky(e,n,t=!1){return JC(e,n,t)}function Fy(e,n){let t=e.contentQueries;if(t!==null){let r=M(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];ii(i),a.contentQueries(2,n[s],s)}}}finally{M(r)}}}function _d(e,n,t){ii(0);let r=M(null);try{n(e,t)}finally{M(r)}}function rf(e,n,t){if(Ou(n)){let r=M(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{M(r)}}}var wt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(wt||{});var _a;function eI(){if(_a===void 0&&(_a=null,le.trustedTypes))try{_a=le.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _a}function Za(e){return eI()?.createHTML(e)||e}var Da;function Py(){if(Da===void 0&&(Da=null,le.trustedTypes))try{Da=le.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Da}function Ng(e){return Py()?.createHTML(e)||e}function Rg(e){return Py()?.createScriptURL(e)||e}var en=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ea})`}},Dd=class extends en{getTypeName(){return"HTML"}},Ed=class extends en{getTypeName(){return"Style"}},wd=class extends en{getTypeName(){return"Script"}},Cd=class extends en{getTypeName(){return"URL"}},Id=class extends en{getTypeName(){return"ResourceURL"}};function Xe(e){return e instanceof en?e.changingThisBreaksApplicationSecurity:e}function Ht(e,n){let t=Ly(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ea})`)}return t===n}function Ly(e){return e instanceof en&&e.getTypeName()||null}function of(e){return new Dd(e)}function sf(e){return new Ed(e)}function af(e){return new wd(e)}function cf(e){return new Cd(e)}function lf(e){return new Id(e)}function tI(e){let n=new Sd(e);return nI()?new Md(n):n}var Md=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Za(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},Sd=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=Za(n),t}};function nI(){try{return!!new window.DOMParser().parseFromString(Za(""),"text/html")}catch{return!1}}var rI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wi(e){return e=String(e),e.match(rI)?e:"unsafe:"+e}function tn(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Ci(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Vy=tn("area,br,col,hr,img,wbr"),jy=tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),By=tn("rp,rt"),oI=Ci(By,jy),iI=Ci(jy,tn("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")),sI=Ci(By,tn("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")),Og=Ci(Vy,iI,sI,oI),Hy=tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),aI=tn("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=tn("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"),lI=Ci(Hy,aI,cI),uI=tn("script,style,template");var Td=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=hI(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=fI(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=kg(n).toLowerCase();if(!Og.hasOwnProperty(t))return this.sanitizedSomething=!0,!uI.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(!lI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Hy[a]&&(c=wi(c)),this.buf.push(" ",s,'="',Fg(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=kg(n).toLowerCase();Og.hasOwnProperty(t)&&!Vy.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Fg(n))}};function dI(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function fI(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw Uy(n);return n}function hI(e){let n=e.firstChild;if(n&&dI(e,n))throw Uy(n);return n}function kg(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function Uy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var pI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mI=/([^\#-~ |!])/g;function Fg(e){return e.replace(/&/g,"&").replace(pI,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(mI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ea;function Ka(e,n){let t=null;try{Ea=Ea||tI(e);let r=n?String(n):"";t=Ea.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=Ea.getInertBodyElement(r)}while(r!==i);let a=new Td().sanitizeChildren(Pg(t)||t);return Za(a)}finally{if(t){let r=Pg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Pg(e){return"content"in e&&gI(e)?e.content:null}function gI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var yI=/^>|^->|<!--|-->|--!>|<!-$/g,vI=/(<|>)/g,bI="\u200B$1\u200B";function _I(e){return e.replace(yI,n=>n.replace(vI,bI))}function DI(e,n){return e.createText(n)}function EI(e,n,t){e.setValue(n,t)}function wI(e,n){return e.createComment(_I(n))}function $y(e,n,t){return e.createElement(n,t)}function ka(e,n,t,r,o){e.insertBefore(n,t,r,o)}function zy(e,n,t){e.appendChild(n,t)}function Lg(e,n,t,r,o){r!==null?ka(e,n,t,r,o):zy(e,n,t)}function Gy(e,n,t,r){e.removeChild(null,n,t,r)}function CI(e,n,t){e.setAttribute(n,"style",t)}function II(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Wy(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&kC(e,n,r),o!==null&&II(e,n,o),i!==null&&CI(e,n,i)}var je=(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})(je||{});function MI(e){let n=uf();return n?Ng(n.sanitize(je.HTML,e)||""):Ht(e,"HTML")?Ng(Xe(e)):Ka(Ty(),Ft(e))}function qy(e){let n=uf();return n?n.sanitize(je.URL,e)||"":Ht(e,"URL")?Xe(e):wi(Ft(e))}function Yy(e){let n=uf();if(n)return Rg(n.sanitize(je.RESOURCE_URL,e)||"");if(Ht(e,"ResourceURL"))return Rg(Xe(e));throw new v(904,!1)}var SI=new Set(["embed","frame","iframe","media","script"]),TI=new Set(["base","link","script"]);function xI(e,n){return n==="src"&&SI.has(e)||n==="href"&&TI.has(e)||n==="xlink:href"&&e==="script"?Yy:qy}function AI(e,n,t){return xI(n,t)(e)}function uf(){let e=D();return e&&e[yt].sanitizer}function NI(e){return e.ownerDocument.defaultView}function RI(e){return e.ownerDocument}function Zy(e){return e instanceof Function?e():e}function OI(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 Ky="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"&&OI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(df(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 df(e){return e.type===4&&e.value!==Ky}function FI(e,n,t){let r=e.type===4&&!t?Ky:e.value;return n===r}function PI(e,n,t){let r=4,o=e.attrs,i=o!==null?jI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Dt(r)&&!Dt(c))return!1;if(s&&Dt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!FI(e,c,t)||c===""&&n.length===1){if(Dt(r))return!1;s=!0}}else if(r&8){if(o===null||!kI(e,o,c,t)){if(Dt(r))return!1;s=!0}}else{let l=n[++a],u=LI(c,o,df(e),t);if(u===-1){if(Dt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Dt(r))return!1;s=!0}}}}return Dt(r)||s}function Dt(e){return(e&1)===0}function LI(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 BI(n,e)}function Xy(e,n,t=!1){for(let r=0;r<n.length;r++)if(PI(e,n[r],t))return!0;return!1}function VI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function jI(e){for(let n=0;n<e.length;n++){let t=e[n];if(fy(t))return n}return e.length}function BI(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 HI(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 Vg(e,n){return e?":not("+n.trim()+")":n}function UI(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!==""&&!Dt(s)&&(n+=Vg(i,o),o=""),r=s,i=i||!Dt(r);t++}return o!==""&&(n+=Vg(i,o)),n}function $I(e){return e.map(UI).join(",")}function zI(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(!Dt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var _e={};function ff(e,n,t,r,o,i,s,a,c,l,u){let d=ee+r,p=d+o,h=GI(d,p),m=typeof l=="function"?l():l;return h[S]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function GI(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:_e);return t}function WI(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=ff(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function hf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[gt]=o,d[N]=r|4|128|8|64|1024,(l!==null||e&&e[N]&2048)&&(d[N]|=2048),Lu(d),d[ge]=d[or]=e,d[ie]=t,d[yt]=s||e&&e[yt],d[K]=a||e&&e[K],d[Yt]=c||e&&e[Yt]||null,d[Ne]=i,d[Zt]=YC(),d[rr]=u,d[Nu]=l,d[Ie]=n.type==2?e[Ie]:d,d}function qI(e,n,t){let r=it(n,e),o=WI(t),i=e[yt].rendererFactory,s=pf(e,hf(e,o,null,Qy(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function Qy(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Jy(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 pf(e,n){return e[zr]?e[Au][rt]=n:e[zr]=n,e[Au]=n,n}function ev(e=1){tv(J(),D(),_t()+e,!1)}function tv(e,n,t,r){if(!r)if((n[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ca(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Ia(n,i,0,t)}Mn(t)}var Xa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Xa||{});function xd(e,n,t,r){let o=M(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Xa.SignalBased)!==0&&(c=n[i][oe]),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):sy(n,c,i,r)}finally{M(o)}}var Ct=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ct||{}),YI;function mf(e,n){return YI(e,n)}var LB=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ad=new WeakMap,di=new WeakSet;function ZI(e,n){let t=Ad.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),di.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 KI(e,n){let t=Ad.get(e);t?t.includes(n)||t.push(n):Ad.set(e,[n])}var hr=new Set,Qa=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Qa||{}),It=new y(""),jg=new Set;function nn(e){jg.has(e)||(jg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ja=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),gf=[0,1,2,3],yf=(()=>{class e{ngZone=f(P);scheduler=f(Rt);errorHandler=f(nt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(It,{optional:!0})}execute(){let t=this.sequences.size>0;t&&Y($.AfterRenderHooksStart),this.executing=!0;for(let r of gf)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($.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[sr]??=[]).push(t),lr(r),r[N]|=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(Qa.AFTER_NEXT_RENDER,t):t()}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),mi=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?.[sr];n&&(this.view[sr]=n.filter(t=>t!==this))}};function An(e,n){let t=n?.injector??f(j);return nn("NgAfterNextRender"),QI(e,t,n,!0)}function XI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function QI(e,n,t,r){let o=n.get(Ja);o.impl??=n.get(yf);let i=n.get(It,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(Pe):null,a=n.get(Zr,null,{optional:!0}),c=new mi(o.impl,XI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var nv=new y("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(ce)})});function rv(e,n,t){let r=e.get(nv);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 JI(e,n){let t=e.get(nv);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function eM(e,n){for(let[t,r]of n)rv(e,r.animateFns)}function Bg(e,n,t,r){let o=e?.[Cn]?.enter;n!==null&&o&&o.has(t.index)&&eM(r,o)}function Xr(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;vt(o)?c=o:Kt(o)&&(l=!0,o=o[gt]);let u=ot(o);e===0&&r!==null?(Bg(a,r,i,t),s==null?zy(n,r,u):ka(n,r,u,s||null,!0)):e===1&&r!==null?(Bg(a,r,i,t),ka(n,r,u,s||null,!0),ZI(i,u)):e===2?(a?.[Cn]?.leave?.has(i.index)&&KI(i,u),di.delete(u),Hg(a,i,t,d=>{if(di.has(u)){di.delete(u);return}Gy(n,u,l,d)})):e===3&&(di.delete(u),Hg(a,i,t,()=>{n.destroyNode(u)})),c!=null&&dM(n,e,t,c,i,r,s)}}function tM(e,n){ov(e,n),n[gt]=null,n[Ne]=null}function nM(e,n,t,r,o,i){r[gt]=o,r[Ne]=n,tc(e,r,t,1,o,i)}function ov(e,n){n[yt].changeDetectionScheduler?.notify(9),tc(e,n,n[K],2,null,null)}function rM(e){let n=e[zr];if(!n)return sd(e[S],e);for(;n;){let t=null;if(Kt(n))t=n[zr];else{let r=n[se];r&&(t=r)}if(!t){for(;n&&!n[rt]&&n!==e;)Kt(n)&&sd(n[S],n),n=n[ge];n===null&&(n=e),Kt(n)&&sd(n[S],n),t=n&&n[rt]}n=t}}function vf(e,n){let t=e[ar],r=t.indexOf(n);t.splice(r,1)}function ec(e,n){if(cr(n))return;let t=n[K];t.destroyNode&&tc(e,n,t,3,null,null),rM(n)}function sd(e,n){if(cr(n))return;let t=M(null);try{n[N]&=-129,n[N]|=256,n[qe]&&vn(n[qe]),sM(e,n),iM(e,n),n[S].type===1&&n[K].destroy();let r=n[wn];if(r!==null&&vt(n[ge])){r!==n[ge]&&vf(r,n);let o=n[Pt];o!==null&&o.detachView(e)}vd(n)}finally{M(t)}}function Hg(e,n,t,r){let o=e?.[Cn];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&hr.add(e[Zt]),rv(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),oM(e,r)}else e&&hr.delete(e[Zt]),r(!1)},o)}function oM(e,n){let t=e[Cn]?.running;if(t){t.then(()=>{e[Cn].running=void 0,hr.delete(e[Zt]),n(!0)});return}n(!1)}function iM(e,n){let t=e.cleanup,r=n[$r];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[$r]=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[Dn];if(i!==null){n[Dn]=null;for(let s of i)s.destroy()}}function sM(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 fr)){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($.LifecycleHookStart,a,c);try{c.call(a)}finally{Y($.LifecycleHookEnd,a,c)}}else{Y($.LifecycleHookStart,o,i);try{i.call(o)}finally{Y($.LifecycleHookEnd,o,i)}}}}}function iv(e,n,t){return aM(e,n.parent,t)}function aM(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[gt];if(Lt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===wt.None||o===wt.Emulated)return null}return it(r,t)}function sv(e,n,t){return lM(e,n,t)}function cM(e,n,t){return e.type&40?it(e,t):null}var lM=cM,Ug;function bf(e,n,t,r){let o=iv(e,r,n),i=n[K],s=r.parent||n[Ne],a=sv(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Lg(i,o,t[c],a,!1);else Lg(i,o,t,a,!1);Ug!==void 0&&Ug(i,r,n,t,o)}function fi(e,n){if(n!==null){let t=n.type;if(t&3)return it(n,e);if(t&4)return Nd(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return fi(e,r);{let o=e[n.index];return vt(o)?Nd(-1,o):ot(o)}}else{if(t&128)return fi(e,n.next);if(t&32)return mf(n,e)()||ot(e[n.index]);{let r=av(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=En(e[Ie]);return fi(o,r)}else return fi(e,n.next)}}}return null}function av(e,n){if(n!==null){let r=e[Ie][Ne],o=n.projection;return r.projection[o]}return null}function Nd(e,n){let t=se+e+1;if(t<n.length){let r=n[t],o=r[S].firstChild;if(o!==null)return fi(r,o)}return n[In]}function _f(e,n,t,r,o,i,s){for(;t!=null;){let a=r[Yt];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&eo(ot(c),r),t.flags|=2),!Ya(t))if(l&8)_f(e,n,t.child,r,o,i,!1),Xr(n,e,a,o,c,t,i,r);else if(l&32){let u=mf(t,r),d;for(;d=u();)Xr(n,e,a,o,d,t,i,r);Xr(n,e,a,o,c,t,i,r)}else l&16?cv(e,n,r,t,o,i):Xr(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function tc(e,n,t,r,o,i){_f(t,r,e.firstChild,n,o,i,!1)}function uM(e,n,t){let r=n[K],o=iv(e,t,n),i=t.parent||n[Ne],s=sv(i,t,n);cv(r,0,n,t,o,s)}function cv(e,n,t,r,o,i){let s=t[Ie],c=s[Ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Xr(n,e,t[Yt],o,u,r,i,t)}else{let l=c,u=s[ge];wy(r)&&(l.flags|=128),_f(e,n,l,u,o,i,!0)}}function dM(e,n,t,r,o,i,s){let a=r[In],c=ot(r);a!==c&&Xr(n,e,t,i,a,o,s);for(let l=se;l<r.length;l++){let u=r[l];tc(u[S],u,e,n,i,a)}}function fM(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Ct.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ct.Important),e.setStyle(t,r,o,i))}}function lv(e,n,t,r,o){let i=_t(),s=r&2;try{Mn(-1),s&&n.length>ee&&tv(e,n,ee,!1);let a=s?$.TemplateUpdateStart:$.TemplateCreateStart;Y(a,o,t),t(r,o)}finally{Mn(i);let a=s?$.TemplateUpdateEnd:$.TemplateCreateEnd;Y(a,o,t)}}function nc(e,n,t){yM(e,n,t),(t.flags&64)===64&&vM(e,n,t)}function Ii(e,n,t=it){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 hM(e,n,t,r){let i=r.get(Ry,Ny)||t===wt.ShadowDom||t===wt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return pM(s),s}function pM(e){mM(e)}var mM=()=>null;function gM(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function uv(e,n,t,r,o,i){let s=n[S];if(rc(e,s,n,t,r)){Lt(e)&&fv(n,e.index);return}e.type&3&&(t=gM(t)),dv(e,n,t,r,o,i)}function dv(e,n,t,r,o,i){if(e.type&3){let s=it(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function fv(e,n){let t=st(n,e);t[N]&16||(t[N]|=64)}function yM(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Lt(t)&&qI(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Oa(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=pi(n,e,s,t);if(eo(c,n),i!==null&&DM(n,s-r,c,a,t,i),bt(a)){let l=st(t.index,n);l[ie]=pi(n,e,s,t)}}}function vM(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=cg();try{Mn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];pa(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&bM(c,l)}}finally{Mn(-1),pa(s)}}function bM(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Df(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];Xy(n,i.selectors,!1)&&(r??=[],bt(i)?r.unshift(i):r.push(i))}return r}function _M(e,n,t,r,o,i){let s=it(e,n);hv(n[K],s,i,e.value,t,r,o)}function hv(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Ft(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function DM(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];xd(r,t,c,l)}}function Ef(e,n,t,r,o){let i=ee+t,s=n[S],a=o(s,n,e,r,t);n[i]=a,qr(e,!0);let c=e.type===2;return c?(Wy(n[K],a,e),(Jm()===0||Gr(e))&&eo(a,n),eg()):eo(a,n),va()&&(!c||!Ya(e))&&bf(s,n,a,e),e}function wf(e){let n=e;return qu()?Yu():(n=n.parent,qr(n,!1)),n}function EM(e,n){let t=e[Yt];if(!t)return;let r;try{r=t.get(Qt,null)}catch{r=null}r?.(n)}function rc(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];xd(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];xd(u,l,r,o),a=!0}return a}function wM(e,n){let t=st(n,e),r=t[S];CM(r,t);let o=t[gt];o!==null&&t[rr]===null&&(t[rr]=ky(o,t[Yt])),Y($.ComponentStart);try{Cf(r,t,t[ie])}finally{Y($.ComponentEnd,t[ie])}}function CM(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Cf(e,n,t){ga(n);try{let r=e.viewQuery;r!==null&&_d(1,r,t);let o=e.template;o!==null&&lv(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Pt]?.finishViewCreation(e),e.staticContentQueries&&Fy(e,n),e.staticViewQueries&&_d(2,e.viewQuery,t);let i=e.components;i!==null&&IM(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[N]&=-5,ya()}}function IM(e,n){for(let t=0;t<n.length;t++)wM(e,n[t])}function Mi(e,n,t,r){let o=M(null);try{let i=n.tView,a=e[N]&4096?4096:16,c=hf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[wn]=l;let u=e[Pt];return u!==null&&(c[Pt]=u.createEmbeddedView(i)),Cf(i,c,t),c}finally{M(o)}}function to(e,n){return!n||n.firstChild===null||wy(e)}function gi(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(ot(i)),vt(i)&&pv(i,r);let s=t.type;if(s&8)gi(e,n,t.child,r);else if(s&32){let a=mf(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=av(n,t);if(Array.isArray(a))r.push(...a);else{let c=En(n[Ie]);gi(c[S],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function pv(e,n){for(let t=se;t<e.length;t++){let r=e[t],o=r[S].firstChild;o!==null&&gi(r[S],r,o,n)}e[In]!==e[gt]&&n.push(e[In])}function mv(e){if(e[sr]!==null){for(let n of e[sr])n.impl.addSequence(n);e[sr].length=0}}var gv=[];function MM(e){return e[qe]??SM(e)}function SM(e){let n=gv.pop()??Object.create(xM);return n.lView=e,n}function TM(e){e.lView[qe]!==e&&(e.lView=null,gv.push(e))}var xM=V(E({},gn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{lr(e.lView)},consumerOnSignalRead(){this.lView[qe]=this}});function AM(e){let n=e[qe]??Object.create(NM);return n.lView=e,n}var NM=V(E({},gn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=En(e.lView);for(;n&&!yv(n[S]);)n=En(n);n&&Vu(n)},consumerOnSignalRead(){this.lView[qe]=this}});function yv(e){return e.type!==2}function vv(e){if(e[Dn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Dn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[N]&8192)}}var RM=100;function bv(e,n=0){let r=e[yt].rendererFactory,o=!1;o||r.begin?.();try{OM(e,n)}finally{o||r.end?.()}}function OM(e,n){let t=Zu();try{Yo(!0),Rd(e,n);let r=0;for(;ri(e);){if(r===RM)throw new v(103,!1);r++,Rd(e,1)}}finally{Yo(t)}}function kM(e,n,t,r){if(cr(n))return;let o=n[N],i=!1,s=!1;ga(n);let a=!0,c=null,l=null;i||(yv(e)?(l=MM(n),c=Wt(l)):Gs()===null?(a=!1,l=AM(n),c=Wt(l)):n[qe]&&(vn(n[qe]),n[qe]=null));try{Lu(n),ig(e.bindingStartIndex),t!==null&&lv(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let h=e.preOrderCheckHooks;h!==null&&Ca(n,h,null)}else{let h=e.preOrderHooks;h!==null&&Ia(n,h,0,null),od(n,0)}if(s||FM(n),vv(n),_v(n,0),e.contentQueries!==null&&Fy(e,n),!i)if(u){let h=e.contentCheckHooks;h!==null&&Ca(n,h)}else{let h=e.contentHooks;h!==null&&Ia(n,h,1),od(n,1)}LM(e,n);let d=e.components;d!==null&&Ev(n,d,0);let p=e.viewQuery;if(p!==null&&_d(2,p,r),!i)if(u){let h=e.viewCheckHooks;h!==null&&Ca(n,h)}else{let h=e.viewHooks;h!==null&&Ia(n,h,2),od(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[la]){for(let h of n[la])h();n[la]=null}i||(mv(n),n[N]&=-73)}catch(u){throw i||lr(n),u}finally{l!==null&&(yn(l,c),a&&TM(l)),ya()}}function _v(e,n){for(let t=Iy(e);t!==null;t=My(t))for(let r=se;r<t.length;r++){let o=t[r];Dv(o,n)}}function FM(e){for(let n=Iy(e);n!==null;n=My(n)){if(!(n[N]&2))continue;let t=n[ar];for(let r=0;r<t.length;r++){let o=t[r];Vu(o)}}}function PM(e,n,t){Y($.ComponentStart);let r=st(n,e);try{Dv(r,t)}finally{Y($.ComponentEnd,r[ie])}}function Dv(e,n){da(e)&&Rd(e,n)}function Rd(e,n){let r=e[S],o=e[N],i=e[qe],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Fr(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)kM(r,e,r.template,e[ie]);else if(o&8192){let a=M(null);try{vv(e),_v(e,1);let c=r.components;c!==null&&Ev(e,c,1),mv(e)}finally{M(a)}}}function Ev(e,n,t){for(let r=0;r<n.length;r++)PM(e,n[r],t)}function LM(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)Mn(~o);else{let i=o,s=t[++r],a=t[++r];ag(s,i);let c=n[i];Y($.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y($.HostBindingsUpdateEnd,c)}}}}finally{Mn(-1)}}function If(e,n){let t=Zu()?64:1088;for(e[yt].changeDetectionScheduler?.notify(n);e;){e[N]|=t;let r=En(e);if(Wr(e)&&!r)return e;e=r}return null}function wv(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Cv(e,n){let t=se+n;if(t<e.length)return e[t]}function Si(e,n,t,r=!0){let o=n[S];if(VM(o,n,e,t),r){let s=Nd(t,e),a=n[K],c=a.parentNode(e[In]);c!==null&&nM(o,e[Ne],a,n,c,s)}let i=n[rr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Iv(e,n){let t=yi(e,n);return t!==void 0&&ec(t[S],t),t}function yi(e,n){if(e.length<=se)return;let t=se+n,r=e[t];if(r){let o=r[wn];o!==null&&o!==e&&vf(o,r),n>0&&(e[t-1][rt]=r[rt]);let i=Jo(e,se+n);tM(r[S],r);let s=i[Pt];s!==null&&s.detachView(i[S]),r[ge]=null,r[rt]=null,r[N]&=-129}return r}function VM(e,n,t,r){let o=se+r,i=t.length;r>0&&(t[o-1][rt]=n),r<i-se?(n[rt]=t[o],wu(t,se+r,n)):(t.push(n),n[rt]=null),n[ge]=t;let s=n[wn];s!==null&&t!==s&&Mv(s,n);let a=n[Pt];a!==null&&a.insertView(e),fa(n),n[N]|=128}function Mv(e,n){let t=e[ar],r=n[ge];if(Kt(r))e[N]|=2;else{let o=r[ge][Ie];n[Ie]!==o&&(e[N]|=2)}t===null?e[ar]=[n]:t.push(n)}var Sn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[S];return gi(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[ie]}set context(n){this._lView[ie]=n}get destroyed(){return cr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ge];if(vt(n)){let t=n[ti],r=t?t.indexOf(this):-1;r>-1&&(yi(n,r),Jo(t,r))}this._attachedToViewContainer=!1}ec(this._lView[S],this._lView)}onDestroy(n){ju(this._lView,n)}markForCheck(){If(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){fa(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,bv(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Wr(this._lView),t=this._lView[wn];t!==null&&!n&&vf(t,this._lView),ov(this._lView[S],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=n;let t=Wr(this._lView),r=this._lView[wn];r!==null&&!t&&Mv(r,this._lView),fa(this._lView)}};var Ze=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=jM;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=Mi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Sn(i)}}return e})();function jM(){return oc(he(),D())}function oc(e,n){return e.type&4?new Ze(n,e,oo(e,n)):null}function so(e,n,t,r,o){let i=e.data[n];if(i===null)i=BM(e,n,t,r,o),sg()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=rg();i.injectorIndex=s===null?-1:s.injectorIndex}return qr(i,!0),i}function BM(e,n,t,r,o){let i=Wu(),s=qu(),a=s?i:i&&i.parent,c=e.data[n]=UM(e,a,t,n,r,o);return HM(e,c,i,s),c}function HM(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 UM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return $u()&&(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,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 $M(e){let n=e[Ru]??[],r=e[ge][K],o=[];for(let i of n)i.data[Ay]!==void 0?o.push(i):zM(i,r);e[Ru]=o}function zM(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[xy];for(;t<o;){let i=r.nextSibling;Gy(n,r,!1),r=i,t++}}}var GM=()=>null,WM=()=>null;function Fa(e,n){return GM(e,n)}function Sv(e,n,t){return WM(e,n,t)}var Tv=class{},ic=class{},Od=class{resolveComponentFactory(n){throw new v(917,!1)}},Ti=class{static NULL=new Od},be=class{},Be=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qM()}return e})();function qM(){let e=D(),n=he(),t=st(n.index,e);return(Kt(t)?t:e)[K]}var xv=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:()=>null})}return e})();var Sa={},kd=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Sa,r);return o!==Sa||t===Sa?o:this.parentInjector.get(n,t,r)}};function Pa(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=ta(o,a);else if(i==2){let c=a,l=n[++s];r=ta(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function w(e,n=0){let t=D();if(t===null)return I(e,n);let r=he();return by(r,t,me(e),n)}function YM(){let e="invalid";throw new Error(e)}function Av(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}XM(e,n,t,a,i,c,l)}i!==null&&r!==null&&ZM(t,r,i)}function ZM(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 v(-301,!1);r.push(n[o],i)}}function KM(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function XM(e,n,t,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let h=r[p];c===null&&bt(h)&&(c=h,KM(e,t,p)),gd(Oa(t,n),e,h.type)}rS(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let h=r[p];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=Jy(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let h=r[p];if(t.mergedAttrs=Jr(t.mergedAttrs,h.hostAttrs),JM(e,t,n,d,h),nS(d,h,o),s!==null&&s.has(h)){let[b,_]=s.get(h);t.directiveToIndex.set(h.type,[d,b+t.directiveStart,_+t.directiveStart])}else(i===null||!i.has(h))&&t.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(t.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(t.flags|=64);let m=h.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}QM(e,t,i)}function QM(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))$g(0,n,o,r),$g(1,n,o,r),Gg(n,r,!1);else{let i=t.get(o);zg(0,n,i,r),zg(1,n,i,r),Gg(n,r,!0)}}}function $g(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),Nv(n,i)}}function zg(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),Nv(n,s)}}function Nv(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Gg(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||df(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 JM(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=_n(o.type,!0)),s=new fr(i,bt(o),w,null);e.blueprint[r]=s,t[r]=s,eS(e,n,r,Jy(e,t,o.hostVars,_e),o)}function eS(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;tS(s)!=a&&s.push(a),s.push(t,r,i)}}function tS(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function nS(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;bt(n)&&(t[""]=e)}}function rS(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Mf(e,n,t,r,o,i,s,a){let c=n[S],l=c.consts,u=Ye(l,s),d=so(c,e,t,r,u);return i&&Av(c,n,d,Ye(l,a),o),d.mergedAttrs=Jr(d.mergedAttrs,d.attrs),d.attrs!==null&&Pa(d,d.attrs,!1),d.mergedAttrs!==null&&Pa(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Sf(e,n){uy(e,n),Ou(n)&&e.queries.elementEnd(n)}function oS(e,n,t,r,o,i){let s=n.consts,a=Ye(s,o),c=so(n,e,t,r,a);if(c.mergedAttrs=Jr(c.mergedAttrs,c.attrs),i!=null){let l=Ye(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Pa(c,c.attrs,!1),c.mergedAttrs!==null&&Pa(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Tf(e){return sc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Rv(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 sc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ao(e,n,t){return e[n]=t}function Ov(e,n){return e[n]}function Le(e,n,t){if(t===_e)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function vi(e,n,t,r){let o=Le(e,n,t);return Le(e,n+1,r)||o}function kv(e,n,t,r,o){let i=vi(e,n,t,r);return Le(e,n+2,o)||i}function iS(e,n,t,r,o,i){let s=vi(e,n,t,r);return vi(e,n+2,o,i)||s}function Ta(e,n,t){return function r(o){let i=Lt(e)?st(e.index,n):n;If(i,5);let s=n[ie],a=Wg(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=Wg(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Wg(e,n,t,r){let o=M(null);try{return Y($.OutputStart,n,t),t(r)!==!1}catch(i){return EM(e,i),!1}finally{Y($.OutputEnd,n,t),M(o)}}function Fv(e,n,t,r,o,i,s,a){let c=Gr(e),l=!1,u=null;if(!r&&c&&(u=aS(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=it(e,t),p=r?r(d):d;QC(t,p,i,a);let h=o.listen(p,i,a);if(!sS(i)){let m=r?b=>r(ot(b[e.index])):e.index;Pv(m,n,t,i,a,h,!1)}}return l}function sS(e){return e.startsWith("animation")||e.startsWith("transition")}function aS(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[$r],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Pv(e,n,t,r,o,i,s){let a=n.firstCreatePass?Hu(n):null,c=Bu(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function qg(e,n,t,r,o,i){let s=n[t],a=n[S],l=a.data[t].outputs[r],d=s[l].subscribe(i);Pv(e.index,a,n,o,i,d,!0)}var Fd=Symbol("BINDING");function Lv(e){return e.debugInfo?.className||e.type.name||null}var La=class extends Ti{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=kt(n);return new Tn(t,this.ngModule)}};function cS(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Xa.SignalBased)!==0};return o&&(i.transform=o),i})}function lS(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function uS(e,n,t){let r=n instanceof ce?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new kd(t,r):t}function dS(e){let n=e.get(be,null);if(n===null)throw new v(407,!1);let t=e.get(xv,null),r=e.get(Rt,null),o=e.get(It,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function fS(e,n){let t=Vv(e);return $y(n,t,t==="svg"?ku:t==="math"?qm:null)}function Vv(e){return(e.selectors[0][0]||"div").toLowerCase()}var Tn=class extends ic{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=cS(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=lS(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=$I(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){Y($.DynamicComponentStart);let a=M(null);try{let c=this.componentDef,l=uS(c,o||this.ngModule,n),u=dS(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Lv(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{M(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=hS(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?hM(l,o,a.encapsulation,t):fS(a,l),d=s?.some(Yg)||i?.some(m=>typeof m!="function"&&m.bindings.some(Yg)),p=hf(null,c,null,512|Qy(a),null,null,n,l,t,null,ky(u,t,!0));p[ee]=u,ga(p);let h=null;try{let m=Mf(ee,p,2,"#host",()=>c.directiveRegistry,!0,0);Wy(l,u,m),eo(u,p),nc(c,p,m),rf(c,m,p),Sf(c,m),r!==void 0&&mS(m,this.ngContentSelectors,r),h=st(m.index,p),p[ie]=h[ie],Cf(c,p,null)}catch(m){throw h!==null&&vd(h),vd(p),m}finally{Y($.DynamicComponentEnd),ya()}return new Va(this.componentType,p,!!d)}};function hS(e,n,t,r){let o=e?["ng-version","21.2.6"]:zI(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[Fd].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Fd].requiredVars;let h=u+1;p.create&&(p.targetIdx=h,(i??=[]).push(p)),p.update&&(p.targetIdx=h,(s??=[]).push(p))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=ra(d);c.push(p)}return ff(0,null,pS(i,s),1,a,c,null,null,null,[o],null)}function pS(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 Yg(e){let n=e[Fd].kind;return n==="input"||n==="twoWay"}var Va=class extends Tv{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=ua(t[S],ee),this.location=oo(this._tNode,t),this.instance=st(this._tNode.index,t)[ie],this.hostView=this.changeDetectorRef=new Sn(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=rc(r,o[S],o,n,t);this.previousInputValues.set(n,t);let s=st(r.index,o);If(s,1)}get injector(){return new dr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function mS(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 He=(()=>{class e{static __NG_ELEMENT_ID__=gS}return e})();function gS(){let e=he();return jv(e,D())}var Pd=class e extends He{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return oo(this._hostTNode,this._hostLView)}get injector(){return new dr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Jd(this._hostTNode,this._hostLView);if(hy(n)){let t=Na(n,this._hostLView),r=Aa(n),o=t[S].data[r+8];return new dr(o,t)}else return new dr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Zg(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-se}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Fa(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,to(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!MC(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 Tn(kt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let C=(c?d:this.parentInjector).get(ce,null);C&&(i=C)}let p=kt(u.componentType??{}),h=Fa(this._lContainer,p?.id??null),m=h?.firstChild??null,b=u.create(d,o,m,i,s,a);return this.insertImpl(b.hostView,l,to(this._hostTNode,h)),b}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Zm(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ge],l=new e(c,c[Ne],c[ge]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Si(s,o,i,r),n.attachToViewContainerRef(),wu(ad(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Zg(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=yi(this._lContainer,t);r&&(Jo(ad(this._lContainer),t),ec(r[S],r))}detach(n){let t=this._adjustIndex(n,-1),r=yi(this._lContainer,t);return r&&Jo(ad(this._lContainer),t)!=null?new Sn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Zg(e){return e[ti]}function ad(e){return e[ti]||(e[ti]=[])}function jv(e,n){let t,r=n[e.index];return vt(r)?t=r:(t=wv(r,n,null,e),n[e.index]=t,pf(n,t)),vS(t,n,e,r),new Pd(t,e,n)}function yS(e,n){let t=e[K],r=t.createComment(""),o=it(n,e),i=t.parentNode(o);return ka(t,i,r,t.nextSibling(o),!1),r}var vS=DS,bS=()=>!1;function _S(e,n,t){return bS(e,n,t)}function DS(e,n,t,r){if(e[In])return;let o;t.type&8?o=ot(r):o=yS(n,t),e[In]=o}var Ld=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Vd=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++)Af(n,t).matches!==null&&this.queries[t].setDirty()}},ja=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=MS(n):this.predicate=n}},jd=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)}},Bd=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,ES(t,i)),this.matchTNodeWithReadOption(n,t,Ma(t,n,i,!1,!1))}else r===Ze?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Ma(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===z||o===He||o===Ze&&t.type&4)this.addMatch(t.index,-2);else{let i=Ma(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 ES(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 wS(e,n){return e.type&11?oo(e,n):e.type&4?oc(e,n):null}function CS(e,n,t,r){return t===-1?wS(n,e):t===-2?IS(e,n,r):pi(e,e[S],t,n)}function IS(e,n,t){if(t===z)return oo(n,e);if(t===Ze)return oc(n,e);if(t===He)return jv(n,e)}function Bv(e,n,t,r){let o=n[Pt].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(CS(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Hd(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Bv(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=se;d<u.length;d++){let p=u[d];p[wn]===p[ge]&&Hd(p[S],p,l,r)}if(u[ar]!==null){let d=u[ar];for(let p=0;p<d.length;p++){let h=d[p];Hd(h[S],h,l,r)}}}}}return r}function xf(e,n){return e[Pt].queries[n].queryList}function Hv(e,n,t){let r=new Jt((t&4)===4);return Qm(e,n,r,r.destroy),(n[Pt]??=new Vd).queries.push(new Ld(r))-1}function Uv(e,n,t){let r=J();return r.firstCreatePass&&(zv(r,new ja(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Hv(r,D(),n)}function $v(e,n,t,r){let o=J();if(o.firstCreatePass){let i=he();zv(o,new ja(n,t,r),i.index),SS(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Hv(o,D(),t)}function MS(e){return e.split(",").map(n=>n.trim())}function zv(e,n,t){e.queries===null&&(e.queries=new jd),e.queries.track(new Bd(n,t))}function SS(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 Af(e,n){return e.queries.getByIndex(n)}function Gv(e,n){let t=e[S],r=Af(t,n);return r.crossesNgTemplate?Hd(t,e,n,[]):Bv(t,e,r,n)}function Nf(e,n,t){let r,o=$o(()=>{r._dirtyCounter();let i=TS(r,e);if(n&&i===void 0)throw new v(-951,!1);return i});return r=o[oe],r._dirtyCounter=Me(0),r._flatValue=void 0,o}function Rf(e){return Nf(!0,!1,e)}function Of(e){return Nf(!0,!0,e)}function Wv(e){return Nf(!1,!1,e)}function qv(e,n){let t=e[oe];t._lView=D(),t._queryIndex=n,t._queryList=xf(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function TS(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[N]&4)return n?void 0:Ce;let o=xf(t,r),i=Gv(t,r);return o.reset(i,Ey),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Bt=class{},Yv=class{};var Ba=class extends Bt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new La(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=_u(n);this._bootstrapComponents=Zy(i.bootstrap),this._r3Injector=Ju(n,t,[{provide:Bt,useValue:this},{provide:Ti,useValue:this.componentFactoryResolver},...r],Xo(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ha=class extends Yv{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Ba(this.moduleType,n,[])}};var bi=class extends Bt{injector;componentFactoryResolver=new La(this);instance=null;constructor(n){super();let t=new er([...n.providers,{provide:Bt,useValue:this},{provide:Ti,useValue:this.componentFactoryResolver}],n.parent||Hr(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Zv(e,n,t=null){return new bi({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var xS=(()=>{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=Mu(!1,t.type),o=r.length>0?Zv([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=g({token:e,providedIn:"environment",factory:()=>new e(I(ce))})}return e})();function Se(e){return Di(()=>{let n=Kv(e),t=V(E({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===tf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(xS).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||wt.Emulated,styles:e.styles||Ce,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&nn("NgStandalone"),Xv(t);let r=e.dependencies;return t.directiveDefs=Kg(r,AS),t.pipeDefs=Kg(r,km),t.id=OS(t),t})}function AS(e){return kt(e)||ra(e)}function Z(e){return Di(()=>({type:e.type,bootstrap:e.bootstrap||Ce,declarations:e.declarations||Ce,imports:e.imports||Ce,exports:e.exports||Ce,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function NS(e,n){if(e==null)return mt;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=Xa.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function RS(e){if(e==null)return mt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function O(e){return Di(()=>{let n=Kv(e);return Xv(n),n})}function xi(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 Kv(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||mt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Ce,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:NS(e.inputs,n),outputs:RS(e.outputs),debugInfo:null}}function Xv(e){e.features?.forEach(n=>n(e))}function Kg(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 OS(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 kS(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=FS,t.hostDirectives=r?e.map(Ud):[e]):r?t.hostDirectives.unshift(...e.map(Ud)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function FS(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,Qv(s,n,r),o.set(s,[a,n.length-1])}i===0&&bt(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 Qv(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)Xg(Ud(i),n,t)}else Xg(r,n,t)}function Xg(e,n,t){let r=ra(e.directive);PS(r.declaredInputs,e.inputs),Qv(r,n,t),t.set(r,e),n.push(r)}function Ud(e){return typeof e=="function"?{directive:me(e),inputs:mt,outputs:mt}:{directive:me(e.directive),inputs:Qg(e.inputs),outputs:Qg(e.outputs)}}function Qg(e){if(e===void 0||e.length===0)return mt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function PS(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function LS(e){return Object.getPrototypeOf(e.prototype).constructor}function X(e){let n=LS(e.type),t=!0,r=[e];for(;n;){let o;if(bt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new v(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=cd(e.inputs),s.declaredInputs=cd(e.declaredInputs),s.outputs=cd(e.outputs);let a=o.hostBindings;a&&US(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&BS(e,c),l&&HS(e,l),VS(e,o),Om(e.outputs,o.outputs),bt(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===X&&(t=!1)}}n=Object.getPrototypeOf(n)}jS(r)}function VS(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 jS(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=Jr(o.hostAttrs,t=Jr(t,o.hostAttrs))}}function cd(e){return e===mt?{}:e===Ce?[]:e}function BS(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function HS(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function US(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Jv(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Jr(e.mergedAttrs,e.attrs);let u=e.tView=ff(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),qr(e,!1);let c=zS(t,n,e,r);va()&&bf(t,n,c,e),eo(c,n);let l=wv(c,n,c,e);n[r+ee]=l,pf(n,l),_S(l,e,n)}function $S(e,n,t,r,o,i,s,a,c,l,u){let d=t+ee,p;return n.firstCreatePass?(p=so(n,d,4,s||null,a||null),ha()&&Av(n,e,p,Ye(n.consts,l),Df),uy(n,p)):p=n.data[d],Jv(p,e,n,t,r,o,i,c),Gr(p)&&nc(n,e,p),l!=null&&Ii(e,p,u),p}function no(e,n,t,r,o,i,s,a,c,l,u){let d=t+ee,p;if(n.firstCreatePass){if(p=so(n,d,4,s||null,a||null),l!=null){let h=Ye(n.consts,l);p.localNames=[];for(let m=0;m<h.length;m+=2)p.localNames.push(h[m],-1)}}else p=n.data[d];return Jv(p,e,n,t,r,o,i,c),l!=null&&Ii(e,p,u),p}function eb(e,n,t,r,o,i,s,a){let c=D(),l=J(),u=Ye(l.consts,i);return $S(c,l,e,n,t,r,o,u,void 0,s,a),eb}function tb(e,n,t,r,o,i,s,a){let c=D(),l=J(),u=Ye(l.consts,i);return no(c,l,e,n,t,r,o,u,void 0,s,a),tb}var zS=GS;function GS(e,n,t,r){return si(!0),n[K].createComment("")}var nb=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function co(e){return typeof e=="function"&&e[oe]!==void 0}function kf(e){return co(e)&&typeof e.set=="function"}var ac=new y(""),cc=new y(""),Ai=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,o){this._ngZone=t,this.registry=r,xu()&&(this._destroyRef=f(Pe,{optional:!0})??void 0),Ff||(ob(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static \u0275fac=function(r){return new(r||e)(I(P),I(rb),I(cc))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),rb=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Ff?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function ob(e){Ff=e}var Ff;function gr(e){return!!e&&typeof e.then=="function"}function lc(e){return!!e&&typeof e.subscribe=="function"}var Pf=new y("");function WS(e){return nr([{provide:Pf,multi:!0,useValue:e}])}var Lf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=f(Pf,{optional:!0})??[];injector=f(j);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Ur(this.injector,o);if(gr(i))t.push(i);else if(lc(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ib=new y("");function sb(){Kl(()=>{let e="";throw new v(600,e)})}function ab(e){return e.isBoundToModule}var qS=10;var Qe=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(Qt);afterRenderManager=f(Ja);zonelessEnabled=f(ci);rootEffectScheduler=f(ba);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new R;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(ur);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(re(t=>!t))}constructor(){f(It,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=f(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=j.NULL){return this._injector.get(P).run(()=>{Y($.BootstrapComponentStart);let s=t instanceof ic;if(!this._injector.get(Lf).done){let m="";throw new v(405,m)}let c;s?c=t:c=this._injector.get(Ti).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=ab(c)?void 0:this._injector.get(Bt),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,h=d.injector.get(ac,null);return h?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),hi(this.components,d),h?.unregisterApplication(p)}),this._loadComponent(d),Y($.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y($.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Qa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y($.ChangeDetectionEnd),new v(101,!1);let t=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(t),this.afterTick.next(),Y($.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(be,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<qS;){Y($.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y($.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&&!ri(o))continue;let i=r&&!this.zonelessEnabled?0:1;bv(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})=>ri(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;hi(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(ib,[]).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),()=>hi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new v(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hi(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function cb(e,n){let t=D(),r=Xt();if(Le(t,r,n)){let o=J(),i=Yr();if(rc(i,o,t,e,n))Lt(i)&&fv(t,i.index);else{let a=it(i,t);hv(t[K],a,null,i.value,e,n,null)}}return cb}function rn(e,n,t,r){let o=D(),i=Xt();if(Le(o,i,n)){let s=J(),a=Yr();_M(a,o,e,n,t,r)}return rn}function YS(){return D()[Ie][ie]}var $d=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 ld(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function ZS(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){M(r);let l=n.length-1;for(M(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],p=ld(s,u,s,d,t);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let h=e.at(a),m=n[l],b=ld(a,h,l,m,t);if(b!==0){b<0&&e.updateValue(a,m),a--,l--;continue}let _=t(s,u),C=t(a,h),ne=t(s,d);if(Object.is(ne,C)){let Ge=t(l,m);Object.is(Ge,_)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Ua,i??=ey(e,s,a,t),zd(e,o,s,ne))e.updateValue(s,d),s++,a++;else if(i.has(ne))o.set(_,e.detach(s)),a--;else{let Ge=e.create(s,n[s]);e.attach(s,Ge),s++,a++}}for(;s<=l;)Jg(e,o,t,s,n[s]),s++}else if(n!=null){M(r);let l=n[Symbol.iterator]();M(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,h=ld(s,d,s,p,t);if(h!==0)h<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Ua,i??=ey(e,s,a,t);let m=t(s,p);if(zd(e,o,s,m))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let b=t(s,d);o.set(b,e.detach(s)),a--}}}for(;!u.done;)Jg(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 zd(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Jg(e,n,t,r,o){if(zd(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ey(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 Ua=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 KS(e,n,t,r,o,i,s,a){nn("NgControlFlow");let c=D(),l=J(),u=Ye(l.consts,i);return no(c,l,e,n,t,r,o,u,256,s,a),Vf}function Vf(e,n,t,r,o,i,s,a){nn("NgControlFlow");let c=D(),l=J(),u=Ye(l.consts,i);return no(c,l,e,n,t,r,o,u,512,s,a),Vf}function XS(e,n){nn("NgControlFlow");let t=D(),r=Xt(),o=t[r]!==_e?t[r]:-1,i=o!==-1?$a(t,ee+o):void 0,s=0;if(Le(t,r,e)){let a=M(null);try{if(i!==void 0&&Iv(i,s),e!==-1){let c=ee+e,l=$a(t,c),u=Yd(t[S],c),d=Sv(l,u,t),p=Mi(t,u,n,{dehydratedView:d});Si(l,p,s,to(u,d))}}finally{M(a)}}else if(i!==void 0){let a=Cv(i,s);a!==void 0&&(a[ie]=n)}}var Gd=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-se}};function QS(e){return e}function JS(e,n){return n}var Wd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function eT(e,n,t,r,o,i,s,a,c,l,u,d,p){nn("NgControlFlow");let h=D(),m=J(),b=c!==void 0,_=D(),C=a?s.bind(_[Ie][ie]):s,ne=new Wd(b,C);_[ee+e]=ne,no(h,m,e+1,n,t,r,o,Ye(m.consts,i),256),b&&no(h,m,e+2,c,l,u,d,Ye(m.consts,p),512)}var qd=class extends $d{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-se}at(n){return this.getLView(n)[ie].$implicit}attach(n,t){let r=t[rr];this.needsIndexUpdate||=n!==this.length,Si(this.lContainer,t,n,to(this.templateTNode,r)),nT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,rT(this.lContainer,n),oT(this.lContainer,n)}create(n,t){let r=Fa(this.lContainer,this.templateTNode.tView.ssrId);return Mi(this.hostLView,this.templateTNode,new Gd(this.lContainer,t,n),{dehydratedView:r})}destroy(n){ec(n[S],n)}updateValue(n,t){this.getLView(n)[ie].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ie].$index=n}getLView(n){return iT(this.lContainer,n)}};function tT(e){let n=M(null),t=_t();try{let r=D(),o=r[S],i=r[t],s=t+1,a=$a(r,s);if(i.liveCollection===void 0){let l=Yd(o,s);i.liveCollection=new qd(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(ZS(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Xt(),u=c.length===0;if(Le(r,l,u)){let d=t+2,p=$a(r,d);if(u){let h=Yd(o,d),m=Sv(p,h,r),b=Mi(r,h,void 0,{dehydratedView:m});Si(p,b,0,to(h,m))}else o.firstUpdatePass&&$M(p),Iv(p,0)}}}finally{M(n)}}function $a(e,n){return e[n]}function nT(e,n){if(e.length<=se)return;let t=se+n,r=e[t],o=r?r[Cn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Yt];JI(i,o),hr.delete(r[Zt]),o.detachedLeaveAnimationFns=void 0}}function rT(e,n){if(e.length<=se)return;let t=se+n,r=e[t],o=r?r[Cn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function oT(e,n){return yi(e,n)}function iT(e,n){return Cv(e,n)}function Yd(e,n){return ua(e,n)}function lb(e,n,t){let r=D(),o=Xt();if(Le(r,o,n)){let i=J(),s=Yr();uv(s,r,e,n,r[K],t)}return lb}function Zd(e,n,t,r,o){rc(n,e,t,o?"class":"style",r)}function za(e,n,t,r){let o=D(),i=o[S],s=e+ee,a=i.firstCreatePass?Mf(s,o,2,n,Df,ha(),t,r):i.data[s];if(Lt(a)){let c=o[yt].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Lv(l),()=>(ty(e,n,o,a,r),za))}}return ty(e,n,o,a,r),za}function ty(e,n,t,r,o){if(Ef(r,t,e,n,db),Gr(r)){let i=t[S];nc(i,t,r),rf(i,r,t)}o!=null&&Ii(t,r)}function jf(){let e=J(),n=he(),t=wf(n);return e.firstCreatePass&&Sf(e,t),zu(t)&&Gu(),Uu(),t.classesWithoutHost!=null&&RC(t)&&Zd(e,t,D(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&OC(t)&&Zd(e,t,D(),t.stylesWithoutHost,!1),jf}function ub(e,n,t,r){return za(e,n,t,r),jf(),ub}function lo(e,n,t,r){let o=D(),i=o[S],s=e+ee,a=i.firstCreatePass?oS(s,i,2,n,t,r):i.data[s];return Ef(a,o,e,n,db),r!=null&&Ii(o,a),lo}function uo(){let e=he(),n=wf(e);return zu(n)&&Gu(),Uu(),uo}function on(e,n,t,r){return lo(e,n,t,r),uo(),on}var db=(e,n,t,r,o)=>(si(!0),$y(n[K],r,gg()));function Bf(e,n,t){let r=D(),o=r[S],i=e+ee,s=o.firstCreatePass?Mf(i,r,8,"ng-container",Df,ha(),n,t):o.data[i];if(Ef(s,r,e,"ng-container",sT),Gr(s)){let a=r[S];nc(a,r,s),rf(a,s,r)}return t!=null&&Ii(r,s),Bf}function Hf(){let e=J(),n=he(),t=wf(n);return e.firstCreatePass&&Sf(e,t),Hf}function fb(e,n,t){return Bf(e,n,t),Hf(),fb}var sT=(e,n,t,r,o)=>(si(!0),wI(n[K],""));function aT(){return D()}function hb(e,n,t){let r=D(),o=Xt();if(Le(r,o,n)){let i=J(),s=Yr();dv(s,r,e,n,r[K],t)}return hb}var ui=void 0;function cT(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var lT=["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"]],ui,[["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"]],ui,[["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}",ui,ui,ui],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",cT],ud={};function Je(e){let n=uT(e),t=ny(n);if(t)return t;let r=n.split("-")[0];if(t=ny(r),t)return t;if(r==="en")return lT;throw new v(701,!1)}function ny(e){return e in ud||(ud[e]=le.ng&&le.ng.common&&le.ng.common.locales&&le.ng.common.locales[e]),ud[e]}var ue=(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})(ue||{});function uT(e){return e.toLowerCase().replace(/_/g,"-")}var Ni="en-US";var dT=Ni;function pb(e){typeof e=="string"&&(dT=e.toLowerCase().replace(/_/g,"-"))}function yr(e,n,t){let r=D(),o=J(),i=he();return gb(o,r,r[K],i,e,n,t),yr}function mb(e,n,t){let r=D(),o=J(),i=he();return(i.type&3||t)&&Fv(i,o,r,t,r[K],e,n,Ta(i,r,n)),mb}function gb(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ta(r,n,i),Fv(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],h=u[d+1];c??=Ta(r,n,i),qg(r,n,p,h,o,c)}if(l&&l.length)for(let d of l)c??=Ta(r,n,i),qg(r,n,d,o,o,c)}}function fT(e=1){return hg(e)}function hT(e,n){let t=null,r=VI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Xy(e,i,!0):HI(r,i))return o}return t}function fo(e){let n=D()[Ie][Ne];if(!n.projection){let t=e?e.length:1,r=n.projection=Bm(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?hT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Nn(e,n=0,t,r,o,i){let s=D(),a=J(),c=r?e+1:null;c!==null&&no(s,a,c,r,o,i,null,t);let l=so(a,ee+e,16,null,t||null);l.projection===null&&(l.projection=n),Yu();let d=!s[rr]||$u();s[Ie][Ne].projection[l.projection]===null&&c!==null?pT(s,a,c):d&&!Ya(l)&&uM(a,s,l)}function pT(e,n,t){let r=ee+t,o=n.data[r],i=e[r],s=Fa(i,o.tView.ssrId),a=Mi(e,o,void 0,{dehydratedView:s});Si(i,a,0,to(o,s))}function yb(e,n,t,r){return $v(e,n,t,r),yb}function Uf(e,n,t){return Uv(e,n,t),Uf}function vb(e){let n=D(),t=J(),r=ma();ii(r+1);let o=Af(t,r);if(e.dirty&&Ym(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Gv(n,r);e.reset(i,Ey),e.notifyOnChanges()}return!0}return!1}function bb(){return xf(D(),ma())}function _b(e,n,t,r,o){return qv(n,$v(e,t,r,o)),_b}function Db(e,n,t,r){return qv(e,Uv(n,t,r)),Db}function mT(e=1){ii(ma()+e)}function gT(e){let n=og();return ni(n,ee+e)}function wa(e,n){return e<<17|n<<2}function pr(e){return e>>17&32767}function yT(e){return(e&2)==2}function vT(e,n){return e&131071|n<<17}function Kd(e){return e|2}function ro(e){return(e&131068)>>2}function dd(e,n){return e&-131069|n<<2}function bT(e){return(e&1)===1}function Xd(e){return e|1}function _T(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=pr(s),c=ro(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||jr(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let p=pr(e[a+1]);e[r+1]=wa(p,a),p!==0&&(e[p+1]=dd(e[p+1],r)),e[a+1]=vT(e[a+1],r)}else e[r+1]=wa(a,0),a!==0&&(e[a+1]=dd(e[a+1],r)),a=r;else e[r+1]=wa(c,0),a===0?a=r:e[c+1]=dd(e[c+1],r),c=r;l&&(e[r+1]=Kd(e[r+1])),ry(e,u,r,!0),ry(e,u,r,!1),DT(n,u,e,r,i),s=wa(a,c),i?n.classBindings=s:n.styleBindings=s}function DT(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&jr(i,n)>=0&&(t[r+1]=Xd(t[r+1]))}function ry(e,n,t,r){let o=e[t+1],i=n===null,s=r?pr(o):ro(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];ET(c,n)&&(a=!0,e[s+1]=r?Xd(l):Kd(l)),s=r?pr(l):ro(l)}a&&(e[t+1]=r?Kd(o):Xd(o))}function ET(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?jr(e,n)>=0:!1}var Et={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wT(e){return e.substring(Et.key,Et.keyEnd)}function CT(e){return IT(e),Eb(e,wb(e,0,Et.textEnd))}function Eb(e,n){let t=Et.textEnd;return t===n?-1:(n=Et.keyEnd=MT(e,Et.key=n,t),wb(e,n,t))}function IT(e){Et.key=0,Et.keyEnd=0,Et.value=0,Et.valueEnd=0,Et.textEnd=e.length}function wb(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function MT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function $f(e,n,t){return Cb(e,n,t,!1),$f}function Ue(e,n){return Cb(e,n,null,!0),Ue}function zf(e){TT(kT,ST,e,!0)}function ST(e,n){for(let t=CT(n);t>=0;t=Eb(n,t))aa(e,wT(n),!0)}function Cb(e,n,t,r){let o=D(),i=J(),s=oi(2);if(i.firstUpdatePass&&Mb(i,e,s,r),n!==_e&&Le(o,s,n)){let a=i.data[_t()];Sb(i,a,o,o[K],e,o[s+1]=PT(n,t),r,s)}}function TT(e,n,t,r){let o=J(),i=oi(2);o.firstUpdatePass&&Mb(o,null,i,r);let s=D();if(t!==_e&&Le(s,i,t)){let a=o.data[_t()];if(Tb(a,r)&&!Ib(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=ta(c,t||"")),Zd(o,a,s,t,r)}else FT(o,a,s,s[K],s[i+1],s[i+1]=OT(e,n,t),r,i)}}function Ib(e,n){return n>=e.expandoStartIndex}function Mb(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[_t()],s=Ib(e,t);Tb(i,r)&&n===null&&!s&&(n=!1),n=xT(o,i,n,r),_T(o,i,n,t,s,r)}}function xT(e,n,t,r){let o=lg(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=fd(null,e,n,t,r),t=_i(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=fd(o,e,n,t,r),i===null){let c=AT(e,n,r);c!==void 0&&Array.isArray(c)&&(c=fd(null,e,n,c[1],r),c=_i(c,n.attrs,r),NT(e,n,r,c))}else i=RT(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function AT(e,n,t){let r=t?n.classBindings:n.styleBindings;if(ro(r)!==0)return e[pr(r)]}function NT(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[pr(o)]=r}function RT(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=_i(r,s,t)}return _i(r,n.attrs,t)}function fd(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=_i(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function _i(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]),aa(e,s,t?!0:n[++i]))}return e===void 0?null:e}function OT(e,n,t){if(t==null||t==="")return Ce;let r=[],o=Xe(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 kT(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&aa(e,r,t)}function FT(e,n,t,r,o,i,s,a){o===_e&&(o=Ce);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,h=l<i.length?i[l+1]:void 0,m=null,b;u===d?(c+=2,l+=2,p!==h&&(m=d,b=h)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,b=h),m!==null&&Sb(e,n,t,r,m,b,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Sb(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=bT(l)?oy(c,n,t,o,ro(l),s):void 0;if(!Ga(u)){Ga(i)||yT(l)&&(i=oy(c,null,t,o,a,s));let d=Fu(_t(),t);fM(r,s,d,o,i)}}function oy(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=t[o+1];p===_e&&(p=d?Ce:void 0);let h=d?ca(p,r):u===r?p:void 0;if(l&&!Ga(h)&&(h=ca(c,r)),Ga(h)&&(a=h,s))return a;let m=e[o+1];o=s?pr(m):ro(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=ca(c,r))}return a}function Ga(e){return e!==void 0}function PT(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Xo(Xe(e)))),e}function Tb(e,n){return(e.flags&(n?8:16))!==0}function LT(e,n=""){let t=D(),r=J(),o=e+ee,i=r.firstCreatePass?so(r,o,1,n,null):r.data[o],s=VT(r,t,i,n);t[o]=s,va()&&bf(r,t,s,i),qr(i,!1)}var VT=(e,n,t,r)=>(si(!0),DI(n[K],r));function xb(e,n,t,r=""){return Le(e,Xt(),t)?n+Ft(t)+r:_e}function jT(e,n,t,r,o,i=""){let s=Ku(),a=vi(e,s,t,o);return oi(2),a?n+Ft(t)+r+Ft(o)+i:_e}function BT(e,n,t,r,o,i,s,a=""){let c=Ku(),l=kv(e,c,t,o,s);return oi(3),l?n+Ft(t)+r+Ft(o)+i+Ft(s)+a:_e}function Ab(e){return Gf("",e),Ab}function Gf(e,n,t){let r=D(),o=xb(r,e,n,t);return o!==_e&&Wf(r,_t(),o),Gf}function Nb(e,n,t,r,o){let i=D(),s=jT(i,e,n,t,r,o);return s!==_e&&Wf(i,_t(),s),Nb}function Rb(e,n,t,r,o,i,s){let a=D(),c=BT(a,e,n,t,r,o,i,s);return c!==_e&&Wf(a,_t(),c),Rb}function Wf(e,n,t){let r=Fu(n,e);EI(e[K],r,t)}function Ob(e,n,t){kf(n)&&(n=n());let r=D(),o=Xt();if(Le(r,o,n)){let i=J(),s=Yr();uv(s,r,e,n,r[K],t)}return Ob}function HT(e,n){let t=kf(e);return t&&e.set(n),t}function kb(e,n){let t=D(),r=J(),o=he();return gb(r,t,t[K],o,e,n),kb}function UT(e,n,t=""){return xb(D(),e,n,t)}function $T(e,n,t){let r=Vt()+e,o=D();return o[r]===_e?ao(o,r,n(t,o)):Ov(o,r)}function iy(e,n,t){let r=J();r.firstCreatePass&&Fb(n,r.data,r.blueprint,bt(e),t)}function Fb(e,n,t,r,o){if(e=me(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fb(e[i],n,t,r,o);else{let i=J(),s=D(),a=he(),c=Jn(e)?e:me(e.provide),l=Tu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Jn(e)||!e.multi){let h=new fr(l,o,w,null),m=pd(c,n,o?u:u+p,d);m===-1?(gd(Oa(a,s),i,c),hd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{let h=pd(c,n,u+p,d),m=pd(c,n,u,u+p),b=h>=0&&t[h],_=m>=0&&t[m];if(o&&!_||!o&&!b){gd(Oa(a,s),i,c);let C=WT(o?GT:zT,t.length,o,r,l,e);!o&&_&&(t[m].providerFactory=C),hd(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(C),s.push(C)}else{let C=Pb(t[o?m:h],l,!o&&r);hd(i,e,h>-1?h:m,C)}!o&&r&&_&&t[m].componentProviders++}}}function hd(e,n,t,r){let o=Jn(n),i=Gm(n);if(o||i){let c=(i?me(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 Pb(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function pd(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function zT(e,n,t,r,o){return Qd(this.multi,[])}function GT(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=pi(r,r[S],this.providerFactory.index,o);s=c.slice(0,a),Qd(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Qd(i,s);return s}function Qd(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function WT(e,n,t,r,o,i){let s=new fr(e,t,w,null);return s.multi=[],s.index=n,s.componentProviders=0,Pb(s,o,r&&!t),s}function Te(e,n){return t=>{t.providersResolver=(r,o)=>iy(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>iy(r,o?o(n):n,!0))}}function qT(e,n){let t=Vt()+e,r=D();return r[t]===_e?ao(r,t,n()):Ov(r,t)}function YT(e,n,t){return Lb(D(),Vt(),e,n,t)}function ZT(e,n,t,r){return Vb(D(),Vt(),e,n,t,r)}function KT(e,n,t,r,o){return jb(D(),Vt(),e,n,t,r,o)}function XT(e,n,t,r,o,i,s){return QT(D(),Vt(),e,n,t,r,o,i)}function uc(e,n){let t=e[n];return t===_e?void 0:t}function Lb(e,n,t,r,o,i){let s=n+t;return Le(e,s,o)?ao(e,s+1,i?r.call(i,o):r(o)):uc(e,s+1)}function Vb(e,n,t,r,o,i,s){let a=n+t;return vi(e,a,o,i)?ao(e,a+2,s?r.call(s,o,i):r(o,i)):uc(e,a+2)}function jb(e,n,t,r,o,i,s,a){let c=n+t;return kv(e,c,o,i,s)?ao(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):uc(e,c+3)}function QT(e,n,t,r,o,i,s,a,c){let l=n+t;return iS(e,l,o,i,s,a)?ao(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):uc(e,l+4)}function JT(e,n){let t=J(),r,o=e+ee;t.firstCreatePass?(r=e0(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=_n(r.type,!0)),s,a=Ae(w);try{let c=Ra(!1),l=i();return Ra(c),Pu(t,D(),o,l),l}finally{Ae(a)}}function e0(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function t0(e,n,t){let r=e+ee,o=D(),i=ni(o,r);return qf(o,r)?Lb(o,Vt(),n,i.transform,t,i):i.transform(t)}function n0(e,n,t,r){let o=e+ee,i=D(),s=ni(i,o);return qf(i,o)?Vb(i,Vt(),n,s.transform,t,r,s):s.transform(t,r)}function r0(e,n,t,r,o){let i=e+ee,s=D(),a=ni(s,i);return qf(s,i)?jb(s,Vt(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function qf(e,n){return e[S].data[n].pure}function o0(e,n){return oc(e,n)}var Wa=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},i0=(()=>{class e{compileModuleSync(t){return new Ha(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=_u(t),i=Zy(o.declarations).reduce((s,a)=>{let c=kt(a);return c&&s.push(new Tn(c)),s},[]);return new Wa(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Bb=(()=>{class e{applicationErrorHandler=f(Qt);appRef=f(Qe);taskService=f(ur);ngZone=f(P);zonelessEnabled=f(ci);tracing=f(It,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Zo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(rd,{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?_g:ed;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(Zo+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=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function s0(){return nn("NgZoneless"),nr([...Yf(),[]])}function Yf(){return[{provide:Rt,useExisting:Bb},{provide:P,useClass:Ko},{provide:ci,useValue:!0}]}function a0(){return typeof $localize<"u"&&$localize.locale||Ni}var Ri=new y("",{factory:()=>f(Ri,{optional:!0,skipSelf:!0})||a0()});var dc=class{destroyed=!1;listeners=null;errorHandler=f(nt,{optional:!0});destroyRef=f(Pe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new v(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(Ot(953,!1));return}if(this.listeners===null)return;let t=M(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{M(t)}}};function $e(e){return Tm(e)}function vr(e,n){return $o(e,n?.equal)}var c0=e=>e;function l0(e,n){if(typeof e=="function"){let t=tu(e,c0,n?.equal);return Hb(t,n?.debugName)}else{let t=tu(e.source,e.computation,e.equal);return Hb(t,e.debugName)}}function Hb(e,n){let t=e[oe],r=e;return r.set=o=>Mm(t,o),r.update=o=>Sm(t,o),r.asReadonly=ai.bind(e),r}var pc=Symbol("InputSignalNode#UNSET"),Qb=V(E({},zo),{transformFn:void 0,applyValueToInputSignal(e,n){bn(e,n)}});function Jb(e,n){let t=Object.create(Qb);t.value=e,t.transformFn=n?.transform;function r(){if(Gt(t),t.value===pc){let o=null;throw new v(-950,o)}return t.value}return r[oe]=t,r}var Ub=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>ef(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},h8=(()=>{let e=new y("");return e.__NG_ELEMENT_ID__=n=>{let t=he();if(t===null)throw new v(-204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new v(-204,!1)},e})();function $b(e,n){return Jb(e,n)}function v0(e){return Jb(pc,e)}var p8=($b.required=v0,$b);function zb(e,n){return Rf(n)}function b0(e,n){return Of(n)}var m8=(zb.required=b0,zb);function g8(e,n){return Wv(n)}function Gb(e,n){return Rf(n)}function _0(e,n){return Of(n)}var y8=(Gb.required=_0,Gb);function e_(e,n){let t=Object.create(Qb),r=new dc;t.value=e;function o(){return Gt(t),Wb(t.value),t.value}return o[oe]=t,o.asReadonly=ai.bind(o),o.set=i=>{t.equal(t.value,i)||(bn(t,i),r.emit(i))},o.update=i=>{Wb(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Wb(e){if(e===pc)throw new v(952,!1)}function qb(e,n){return e_(e,n)}function D0(e){return e_(pc,e)}var v8=(qb.required=D0,qb);var Kf=new y(""),E0=new y("");function Oi(e){return!e.moduleRef}function w0(e){let n=Oi(e)?e.r3Injector:e.moduleRef.injector,t=n.get(P);return t.run(()=>{Oi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Qt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),Oi(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Kf);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Kf);s.add(i),e.moduleRef.onDestroy(()=>{hi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return I0(r,t,()=>{let i=n.get(ur),s=i.add(),a=n.get(Lf);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Ri,Ni);if(pb(c||Ni),!n.get(E0,!0))return Oi(e)?n.get(Qe):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Oi(e)){let u=n.get(Qe);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return C0?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var C0;function I0(e,n,t){try{let r=t();return gr(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var fc=null;function M0(e=[],n){return j.create({name:n,providers:[{provide:ei,useValue:"platform"},{provide:Kf,useValue:new Set([()=>fc=null])},...e]})}function S0(e=[]){if(fc)return fc;let n=M0(e);return fc=n,sb(),T0(n),n}function T0(e){let n=e.get(qa,null);Ur(e,()=>{n?.forEach(t=>t())})}var x0=1e4;var b8=x0-1e3;var ho=(()=>{class e{static __NG_ELEMENT_ID__=A0}return e})();function A0(e){return N0(he(),D(),(e&16)===16)}function N0(e,n,t){if(Lt(e)&&!t){let r=st(e.index,n);return new Sn(r,r)}else if(e.type&175){let r=n[Ie];return new Sn(r,n)}return null}var Xf=class{supports(n){return Tf(n)}create(n){return new Qf(n)}},R0=(e,n)=>n,Qf=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||R0}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<Yb(r,o,i)?t:r,a=Yb(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let h=p<i.length?i[p]:i[p]=0,m=h+p;u<=m&&m<l&&(i[p]=h+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!Tf(n))throw new v(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,Rv(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 Jf(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 hc),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 hc),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}},Jf=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}},eh=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}},hc=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new eh,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 Yb(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var th=class{supports(n){return n instanceof Map||sc(n)}create(){return new nh}},nh=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||sc(n)))throw new v(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new rh(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},rh=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Zb(){return new mc([new Xf])}var mc=(()=>{class e{factories;static \u0275prov=g({token:e,providedIn:"root",factory:Zb});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||Zb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new v(901,!1)}}return e})();function Kb(){return new sh([new th])}var sh=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:Kb});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=f(e,{optional:!0,skipSelf:!0});return e.create(t,r||Kb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new v(901,!1)}}return e})();var t_=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(I(Qe))};static \u0275mod=Z({type:e});static \u0275inj=G({})}return e})();function n_(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;Y($.BootstrapApplicationStart);try{let i=o?.injector??S0(r),s=[Yf(),Eg,...t||[]],a=new bi({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return w0({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Y($.BootstrapApplicationEnd)}}function de(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ah(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Zf=Symbol("NOT_SET"),r_=new Set,O0=V(E({},zo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Zf,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!==Zf&&!Fr(this))return this.signal;try{for(let o of this.cleanup??r_)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Wt(this),r;try{r=this.userFn.apply(null,n)}finally{yn(this,t)}return(this.value===Zf||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),oh=class extends mi{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(Pe),s),this.scheduler=o;for(let a of gf){let c=t[a];if(c===void 0)continue;let l=Object.create(O0);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Gt(l),l.value),l.signal[oe]=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??r_)t()}finally{vn(n)}}};function _8(e,n){let t=n?.injector??f(j),r=t.get(Rt),o=t.get(Ja),i=t.get(It,null,{optional:!0});o.impl??=t.get(yf);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Zr,null,{optional:!0}),c=new oh(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function gc(e,n){let t=kt(e),r=n.elementInjector||Hr();return new Tn(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function D8(e){let n=kt(e);if(!n)return null;let t=new Tn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var o_=null;function et(){return o_}function ch(e){o_??=e}var ki=class{},Rn=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(i_),providedIn:"platform"})}return e})(),k0=new y(""),i_=(()=>{class e extends Rn{_location;_history;_doc=f(F);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return et().getBaseHref(this._doc)}onPopState(t){let r=et().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=et().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function yc(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function s_(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Mt(e){return e&&e[0]!=="?"?`?${e}`:e}var po=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(c_),providedIn:"root"})}return e})(),vc=new y(""),c_=(()=>{class e extends po{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(F).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 yc(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Mt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Mt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Mt(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)(I(Rn),I(vc,8))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bc=(()=>{class e{_subject=new R;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=L0(s_(a_(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+Mt(r))}normalize(t){return e.stripTrailingSlash(P0(this._basePath,a_(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+Mt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Mt(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=Mt;static joinWithSlash=yc;static stripTrailingSlash=s_;static \u0275fac=function(r){return new(r||e)(I(po))};static \u0275prov=g({token:e,factory:()=>F0(),providedIn:"root"})}return e})();function F0(){return new bc(I(po))}function P0(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function a_(e){return e.replace(/\/index.html$/,"")}function L0(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var V0=(()=>{class e extends po{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=yc(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Mt(i))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Mt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(I(Rn),I(vc,8))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();var xe=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(xe||{}),Q=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(Q||{}),ze=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(ze||{}),an={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 h_(e){return Je(e)[ue.LocaleId]}function p_(e,n,t){let r=Je(e),o=[r[ue.DayPeriodsFormat],r[ue.DayPeriodsStandalone]],i=at(o,n);return at(i,t)}function m_(e,n,t){let r=Je(e),o=[r[ue.DaysFormat],r[ue.DaysStandalone]],i=at(o,n);return at(i,t)}function g_(e,n,t){let r=Je(e),o=[r[ue.MonthsFormat],r[ue.MonthsStandalone]],i=at(o,n);return at(i,t)}function y_(e,n){let r=Je(e)[ue.Eras];return at(r,n)}function Fi(e,n){let t=Je(e);return at(t[ue.DateFormat],n)}function Pi(e,n){let t=Je(e);return at(t[ue.TimeFormat],n)}function Li(e,n){let r=Je(e)[ue.DateTimeFormat];return at(r,n)}function Vi(e,n){let t=Je(e),r=t[ue.NumberSymbols][n];if(typeof r>"u"){if(n===an.CurrencyDecimal)return t[ue.NumberSymbols][an.Decimal];if(n===an.CurrencyGroup)return t[ue.NumberSymbols][an.Group]}return r}function v_(e){if(!e[ue.ExtraData])throw new v(2303,!1)}function b_(e){let n=Je(e);return v_(n),(n[ue.ExtraData][2]||[]).map(r=>typeof r=="string"?lh(r):[lh(r[0]),lh(r[1])])}function __(e,n,t){let r=Je(e);v_(r);let o=[r[ue.ExtraData][0],r[ue.ExtraData][1]],i=at(o,n)||[];return at(i,t)||[]}function at(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new v(2304,!1)}function lh(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var j0=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_c={},B0=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function D_(e,n,t,r){let o=Z0(e);n=sn(t,n)||n;let s=[],a;for(;n;)if(a=B0.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=w_(r,c),o=Y0(o,r));let l="";return s.forEach(u=>{let d=W0(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Ic(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function sn(e,n){let t=h_(e);if(_c[t]??={},_c[t][n])return _c[t][n];let r="";switch(n){case"shortDate":r=Fi(e,ze.Short);break;case"mediumDate":r=Fi(e,ze.Medium);break;case"longDate":r=Fi(e,ze.Long);break;case"fullDate":r=Fi(e,ze.Full);break;case"shortTime":r=Pi(e,ze.Short);break;case"mediumTime":r=Pi(e,ze.Medium);break;case"longTime":r=Pi(e,ze.Long);break;case"fullTime":r=Pi(e,ze.Full);break;case"short":let o=sn(e,"shortTime"),i=sn(e,"shortDate");r=Dc(Li(e,ze.Short),[o,i]);break;case"medium":let s=sn(e,"mediumTime"),a=sn(e,"mediumDate");r=Dc(Li(e,ze.Medium),[s,a]);break;case"long":let c=sn(e,"longTime"),l=sn(e,"longDate");r=Dc(Li(e,ze.Long),[c,l]);break;case"full":let u=sn(e,"fullTime"),d=sn(e,"fullDate");r=Dc(Li(e,ze.Full),[u,d]);break}return r&&(_c[t][n]=r),r}function Dc(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function St(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 H0(e,n){return St(e,3).substring(0,n)}function pe(e,n,t=0,r=!1,o=!1){return function(i,s){let a=U0(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return H0(a,n);let c=Vi(s,an.MinusSign);return St(a,n,c,r,o)}}function U0(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 v(2301,!1)}}function te(e,n,t=xe.Format,r=!1){return function(o,i){return $0(o,i,e,n,t,r)}}function $0(e,n,t,r,o,i){switch(t){case 2:return g_(n,o,r)[e.getMonth()];case 1:return m_(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=b_(n),u=__(n,o,r),d=l.findIndex(p=>{if(Array.isArray(p)){let[h,m]=p,b=s>=h.hours&&a>=h.minutes,_=s<m.hours||s===m.hours&&a<m.minutes;if(h.hours<m.hours){if(b&&_)return!0}else if(b||_)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return p_(n,o,r)[s<12?0:1];case 3:return y_(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new v(2302,!1)}}function Ec(e){return function(n,t,r){let o=-1*r,i=Vi(t,an.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+St(s,2,i)+St(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+St(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+St(s,2,i)+":"+St(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+St(s,2,i)+":"+St(Math.abs(o%60),2,i);default:throw new v(2310,!1)}}}var z0=0,Cc=4;function G0(e){let n=Ic(e,z0,1).getDay();return Ic(e,0,1+(n<=Cc?Cc:Cc+7)-n)}function E_(e){let n=e.getDay(),t=n===0?-3:Cc-n;return Ic(e.getFullYear(),e.getMonth(),e.getDate()+t)}function uh(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=E_(t),s=G0(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return St(o,e,Vi(r,an.MinusSign))}}function wc(e,n=!1){return function(t,r){let i=E_(t).getFullYear();return St(i,e,Vi(r,an.MinusSign),n)}}var dh={};function W0(e){if(dh[e])return dh[e];let n;switch(e){case"G":case"GG":case"GGG":n=te(3,Q.Abbreviated);break;case"GGGG":n=te(3,Q.Wide);break;case"GGGGG":n=te(3,Q.Narrow);break;case"y":n=pe(0,1,0,!1,!0);break;case"yy":n=pe(0,2,0,!0,!0);break;case"yyy":n=pe(0,3,0,!1,!0);break;case"yyyy":n=pe(0,4,0,!1,!0);break;case"Y":n=wc(1);break;case"YY":n=wc(2,!0);break;case"YYY":n=wc(3);break;case"YYYY":n=wc(4);break;case"M":case"L":n=pe(1,1,1);break;case"MM":case"LL":n=pe(1,2,1);break;case"MMM":n=te(2,Q.Abbreviated);break;case"MMMM":n=te(2,Q.Wide);break;case"MMMMM":n=te(2,Q.Narrow);break;case"LLL":n=te(2,Q.Abbreviated,xe.Standalone);break;case"LLLL":n=te(2,Q.Wide,xe.Standalone);break;case"LLLLL":n=te(2,Q.Narrow,xe.Standalone);break;case"w":n=uh(1);break;case"ww":n=uh(2);break;case"W":n=uh(1,!0);break;case"d":n=pe(2,1);break;case"dd":n=pe(2,2);break;case"c":case"cc":n=pe(7,1);break;case"ccc":n=te(1,Q.Abbreviated,xe.Standalone);break;case"cccc":n=te(1,Q.Wide,xe.Standalone);break;case"ccccc":n=te(1,Q.Narrow,xe.Standalone);break;case"cccccc":n=te(1,Q.Short,xe.Standalone);break;case"E":case"EE":case"EEE":n=te(1,Q.Abbreviated);break;case"EEEE":n=te(1,Q.Wide);break;case"EEEEE":n=te(1,Q.Narrow);break;case"EEEEEE":n=te(1,Q.Short);break;case"a":case"aa":case"aaa":n=te(0,Q.Abbreviated);break;case"aaaa":n=te(0,Q.Wide);break;case"aaaaa":n=te(0,Q.Narrow);break;case"b":case"bb":case"bbb":n=te(0,Q.Abbreviated,xe.Standalone,!0);break;case"bbbb":n=te(0,Q.Wide,xe.Standalone,!0);break;case"bbbbb":n=te(0,Q.Narrow,xe.Standalone,!0);break;case"B":case"BB":case"BBB":n=te(0,Q.Abbreviated,xe.Format,!0);break;case"BBBB":n=te(0,Q.Wide,xe.Format,!0);break;case"BBBBB":n=te(0,Q.Narrow,xe.Format,!0);break;case"h":n=pe(3,1,-12);break;case"hh":n=pe(3,2,-12);break;case"H":n=pe(3,1);break;case"HH":n=pe(3,2);break;case"m":n=pe(4,1);break;case"mm":n=pe(4,2);break;case"s":n=pe(5,1);break;case"ss":n=pe(5,2);break;case"S":n=pe(6,1);break;case"SS":n=pe(6,2);break;case"SSS":n=pe(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Ec(0);break;case"ZZZZZ":n=Ec(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Ec(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Ec(2);break;default:return null}return dh[e]=n,n}function w_(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function q0(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function Y0(e,n,t){let o=e.getTimezoneOffset(),i=w_(n,o);return q0(e,-1*(i-o))}function Z0(e){if(l_(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 Ic(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(j0))return K0(r)}let n=new Date(e);if(!l_(n))throw new v(2311,!1);return n}function K0(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 l_(e){return e instanceof Date&&!isNaN(e.valueOf())}var fh=/\s+/,u_=[],X0=(()=>{class e{_ngEl;_renderer;initialClasses=u_;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(fh):u_}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(fh):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(fh).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)(w(z),w(Be))};static \u0275dir=O({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Mc=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},C_=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Mc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),d_(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);d_(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(w(He),w(Ze),w(mc))};static \u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function d_(e,n){e.context.$implicit=n.item}var Q0=(()=>{class e{_viewContainer;_context=new Sc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){f_(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){f_(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(w(He),w(Ze))};static \u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Sc=class{$implicit=null;ngIf=null};function f_(e,n){if(e&&!e.createEmbeddedView)throw new v(2020,!1)}var J0=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:Ct.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(w(z),w(sh),w(Be))};static \u0275dir=O({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),ex=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(j);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)(w(He))};static \u0275dir=O({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ke]})}return e})();function mh(e,n){return new v(2100,!1)}var hh=class{createSubscription(n,t,r){return $e(()=>n.subscribe({next:t,error:r}))}dispose(n){$e(()=>n.unsubscribe())}},ph=class{createSubscription(n,t,r){return n.then(o=>t?.(o),o=>r?.(o)),{unsubscribe:()=>{t=null,r=null}}}dispose(n){n.unsubscribe()}},tx=new ph,nx=new hh,rx=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(Qt);constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r),r=>this.applicationErrorHandler(r))}_selectStrategy(t){if(gr(t))return tx;if(lc(t))return nx;throw mh(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(w(ho,16))};static \u0275pipe=xi({name:"async",type:e,pure:!1})}return e})();var ox=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,ix=(()=>{class e{transform(t){return t==null?null:(sx(e,t),t.replace(ox,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=xi({name:"titlecase",type:e,pure:!0})}return e})();function sx(e,n){if(typeof n!="string")throw mh(e,n)}var ax="mediumDate",I_=new y(""),M_=new y(""),cx=(()=>{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??ax,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return D_(t,s,i||this.locale,a)}catch(s){throw mh(e,s.message)}}static \u0275fac=function(r){return new(r||e)(w(Ri,16),w(I_,24),w(M_,24))};static \u0275pipe=xi({name:"date",type:e,pure:!0})}return e})();var gh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({})}return e})();function ji(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 br=class{};var vh="browser";function S_(e){return e===vh}var BG=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:()=>new yh(f(F),window)})}return e})(),yh=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,t){this.window.scrollTo(V(E({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let r=lx(this.document,n);r&&(this.scrollToElement(r,t),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Ot(2400,!1))}}scrollToElement(n,t){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(V(E({},t),{left:o-s[0],top:i-s[1]}))}};function lx(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var Bi=class{_doc;constructor(n){this._doc=n}manager},Tc=(()=>{class e extends Bi{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)(I(F))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Nc=new y(""),Eh=(()=>{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 Tc));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof Tc);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 v(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(I(Nc),I(P))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),bh="ng-app-id";function T_(e){for(let n of e)n.remove()}function x_(e,n){let t=n.createElement("style");return t.textContent=e,t}function ux(e,n,t,r){let o=e.head?.querySelectorAll(`style[${bh}="${n}"],link[${bh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(bh),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 Dh(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var wh=(()=>{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,ux(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,x_);r?.forEach(o=>this.addUsage(o,this.external,Dh))}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&&(T_(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])T_(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,x_(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Dh(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)(I(F),I(xn),I(io,8),I(mr))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),_h={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"},Ch=/%COMP%/g;var N_="%COMP%",dx=`_nghost-${N_}`,fx=`_ngcontent-${N_}`,hx=!0,px=new y("",{factory:()=>hx});function mx(e){return fx.replace(Ch,e)}function gx(e){return dx.replace(Ch,e)}function R_(e,n){return n.map(t=>t.replace(Ch,e))}var Ih=(()=>{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 Hi(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Ac?o.applyToHost(t):o instanceof Ui&&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 wt.Emulated:i=new Ac(c,l,r,this.appId,u,s,a,d);break;case wt.ShadowDom:return new xc(c,t,r,s,a,this.nonce,d,l);case wt.ExperimentalIsolatedShadowDom:return new xc(c,t,r,s,a,this.nonce,d);default:i=new Ui(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)(I(Eh),I(wh),I(xn),I(px),I(F),I(P),I(io),I(It,8))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Hi=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(_h[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(A_(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(A_(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 v(-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=_h[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=_h[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&(Ct.DashCase|Ct.Important)?n.style.setProperty(t,r,o&Ct.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Ct.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=et().getGlobalEventTarget(this.doc,n),!n))throw new v(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 A_(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var xc=class extends Hi{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=R_(r.id,l);for(let d of l){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let u=r.getExternalStyles?.();if(u)for(let d of u){let p=Dh(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}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)}},Ui=class extends Hi{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?R_(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&hr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ac=class extends Ui{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=mx(l),this.hostAttr=gx(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 Rc=class e extends ki{supportsDOMEvents=!0;static makeCurrent(){ch(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=yx();return t==null?null:vx(t)}resetBaseElement(){$i=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ji(document.cookie,n)}},$i=null;function yx(){return $i=$i||document.head.querySelector("base"),$i?$i.getAttribute("href"):null}function vx(e){return new URL(e,document.baseURI).pathname}var Oc=class{addToWindow(n){le.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new v(5103,!1);return i},le.getAllAngularTestabilities=()=>n.getAllTestabilities(),le.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let o=le.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let o=n.getTestability(t);return o??(r?et().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},bx=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),O_=["alt","control","meta","shift"],_x={"\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"},Dx={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},k_=(()=>{class e extends Bi{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(()=>et().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."),O_.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=_x[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"),O_.forEach(s=>{if(s!==o){let a=Dx[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)(I(F))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();async function Ex(e,n,t){let r=E({rootComponent:e},wx(n,t));return n_(r)}function wx(e,n){return{platformRef:n?.platformRef,appProviders:[...F_,...e?.providers??[]],platformProviders:Sx}}function Cx(){Rc.makeCurrent()}function Ix(){return new nt}function Mx(){return nf(document),document}var Sx=[{provide:mr,useValue:vh},{provide:qa,useValue:Cx,multi:!0},{provide:F,useFactory:Mx}];var Tx=[{provide:cc,useClass:Oc},{provide:ac,useClass:Ai},{provide:Ai,useClass:Ai}],F_=[{provide:ei,useValue:"root"},{provide:nt,useFactory:Ix},{provide:Nc,useClass:Tc,multi:!0},{provide:Nc,useClass:k_,multi:!0},Ih,wh,Eh,{provide:be,useExisting:Ih},{provide:br,useClass:bx},[]],xx=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({providers:[...F_,...Tx],imports:[gh,t_]})}return e})();var On=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Fc=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()}},Pc=class{encodeKey(n){return P_(n)}encodeValue(n){return P_(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Ax(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 Nx=/%(\d[a-f0-9])/gi,Rx={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function P_(e){return encodeURIComponent(e).replace(Nx,(n,t)=>Rx[t]??n)}function kc(e){return`${e}`}var cn=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Pc,n.fromString){if(n.fromObject)throw new v(2805,!1);this.map=Ax(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(kc):[kc(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(kc(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(kc(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 Ox(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function L_(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function V_(e){return typeof Blob<"u"&&e instanceof Blob}function j_(e){return typeof FormData<"u"&&e instanceof FormData}function kx(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var B_="Content-Type",H_="Accept",$_="text/plain",z_="application/json",Fx=`${z_}, ${$_}, */*`,mo=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(Ox(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 v(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&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new On,this.context??=new Fc,!this.params)this.params=new cn,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"||L_(this.body)||V_(this.body)||j_(this.body)||kx(this.body)?this.body:this.body instanceof cn?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||j_(this.body)?null:V_(this.body)?this.body.type||null:L_(this.body)?null:typeof this.body=="string"?$_:this.body instanceof cn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?z_: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,p=n.integrity||this.integrity,h=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,b=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,C=n.withCredentials??this.withCredentials,ne=n.reportProgress??this.reportProgress,Ge=n.headers||this.headers,ye=n.params||this.params,No=n.context??this.context;return n.setHeaders!==void 0&&(Ge=Object.keys(n.setHeaders).reduce((Ro,Ln)=>Ro.set(Ln,n.setHeaders[Ln]),Ge)),n.setParams&&(ye=Object.keys(n.setParams).reduce((Ro,Ln)=>Ro.set(Ln,n.setParams[Ln]),ye)),new e(t,r,_,{params:ye,headers:Ge,context:No,reportProgress:ne,responseType:o,withCredentials:C,transferCache:m,keepalive:i,cache:a,priority:s,timeout:b,mode:c,redirect:l,credentials:u,referrer:d,integrity:p,referrerPolicy:h})}},_r=(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})(_r||{}),yo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new On,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}},Lc=class e extends yo{constructor(n={}){super(n)}type=_r.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})}},zi=class e extends yo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=_r.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})}},go=class extends yo{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}},Px=200,Lx=204;var Vx=new y("");var jx=/^\)\]\}',?\n/;var Sh=(()=>{class e{xhrFactory;tracingService=f(It,{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 v(-2800,!1);let r=this.xhrFactory;return ke(null).pipe($s(()=>new k(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((_,C)=>s.setRequestHeader(_,C.join(","))),t.headers.has(H_)||s.setRequestHeader(H_,Fx),!t.headers.has(B_)){let _=t.detectContentTypeHeader();_!==null&&s.setRequestHeader(B_,_)}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",C=new On(s.getAllResponseHeaders()),ne=s.responseURL||t.url;return c=new Lc({headers:C,status:s.status,statusText:_,url:ne}),c},u=this.maybePropagateTrace(()=>{let{headers:_,status:C,statusText:ne,url:Ge}=l(),ye=null;C!==Lx&&(ye=typeof s.response>"u"?s.responseText:s.response),C===0&&(C=ye?Px:0);let No=C>=200&&C<300;if(t.responseType==="json"&&typeof ye=="string"){let Ro=ye;ye=ye.replace(jx,"");try{ye=ye!==""?JSON.parse(ye):null}catch(Ln){ye=Ro,No&&(No=!1,ye={error:Ln,text:ye})}}No?(i.next(new zi({body:ye,headers:_,status:C,statusText:ne,url:Ge||void 0})),i.complete()):i.error(new go({error:ye,headers:_,status:C,statusText:ne,url:Ge||void 0}))}),d=this.maybePropagateTrace(_=>{let{url:C}=l(),ne=new go({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(ne)}),p=d;t.timeout&&(p=this.maybePropagateTrace(_=>{let{url:C}=l(),ne=new go({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:C||void 0});i.error(ne)}));let h=!1,m=this.maybePropagateTrace(_=>{h||(i.next(l()),h=!0);let C={type:_r.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(C.total=_.total),t.responseType==="text"&&s.responseText&&(C.partialText=s.responseText),i.next(C)}),b=this.maybePropagateTrace(_=>{let C={type:_r.UploadProgress,loaded:_.loaded};_.lengthComputable&&(C.total=_.total),i.next(C)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",b)),s.send(a),i.next({type:_r.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",p),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",b)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(I(br))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function G_(e,n){return n(e)}function Bx(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function Hx(e,n,t){return(r,o)=>Ur(t,()=>n(r,i=>e(i,o)))}var W_=new y(""),Th=new y("",{factory:()=>[]}),q_=new y(""),xh=new y("",{factory:()=>!0});function Ux(){let e=null;return(n,t)=>{e===null&&(e=(f(W_,{optional:!0})??[]).reduceRight(Bx,G_));let r=f(Kr);if(f(xh)){let i=r.add();return e(n,t).pipe(Hs(i))}else return e(n,t)}}var Ah=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(Sh),o},providedIn:"root"})}return e})();var Vc=(()=>{class e{backend;injector;chain=null;pendingTasks=f(Kr);contributeToStability=f(xh);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Th),...this.injector.get(q_,[])]));this.chain=r.reduceRight((o,i)=>Hx(o,i,this.injector),G_)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Hs(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(I(Ah),I(ce))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Nh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(Vc),o},providedIn:"root"})}return e})();function Mh(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 jc=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof mo)i=t;else{let c;o.headers instanceof On?c=o.headers:c=new On(o.headers);let l;o.params&&(o.params instanceof cn?l=o.params:l=new cn({fromObject:o.params})),i=new mo(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=ke(i).pipe(jl(c=>this.handler.handle(c)));if(t instanceof mo||o.observe==="events")return s;let a=s.pipe(Ee(c=>c instanceof zi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new v(2806,!1);return c.body}));case"blob":return a.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new v(2807,!1);return c.body}));case"text":return a.pipe(re(c=>{if(c.body!==null&&typeof c.body!="string")throw new v(2808,!1);return c.body}));default:return a.pipe(re(c=>c.body))}case"response":return a;default:throw new v(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 cn().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,Mh(o,r))}post(t,r,o={}){return this.request("POST",t,Mh(o,r))}put(t,r,o={}){return this.request("PUT",t,Mh(o,r))}static \u0275fac=function(r){return new(r||e)(I(Nh))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $x=new y("",{factory:()=>!0}),zx="XSRF-TOKEN",Gx=new y("",{factory:()=>zx}),Wx="X-XSRF-TOKEN",qx=new y("",{factory:()=>Wx}),Yx=(()=>{class e{cookieName=f(Gx);doc=f(F);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ji(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Y_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(Yx),o},providedIn:"root"})}return e})();function Zx(e,n){if(!f($x)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=f(Rn).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch{return n(e)}let t=f(Y_).getToken(),r=f(qx);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var Rh=(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})(Rh||{});function Kx(e,n){return{\u0275kind:e,\u0275providers:n}}function Z_(...e){let n=[jc,Vc,{provide:Nh,useExisting:Vc},{provide:Ah,useFactory:()=>f(Vx,{optional:!0})??f(Sh)},{provide:Th,useValue:Zx,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return nr(n)}var U_=new y("");function K_(){return Kx(Rh.LegacyInterceptors,[{provide:U_,useFactory:Ux},{provide:Th,useExisting:U_,multi:!0}])}var Xx=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({providers:[Z_(K_())]})}return e})();var t3=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(I(F))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jx(e,n){if(typeof COMPILED>"u"||!COMPILED){let t=le.ng=le.ng||{};t[e]=n}}var Oh=class{msPerTick;numTicks;constructor(n,t){this.msPerTick=n,this.numTicks=t}},kh=class{appRef;constructor(n){this.appRef=n.injector.get(Qe)}timeChangeDetection(n){let t=n&&n.record,r="Change Detection";t&&"profile"in console&&typeof console.profile=="function"&&console.profile(r);let o=performance.now(),i=0;for(;i<5||performance.now()-o<500;)this.appRef.tick(),i++;let s=performance.now();t&&"profileEnd"in console&&typeof console.profileEnd=="function"&&console.profileEnd(r);let a=(s-o)/i;return console.log(`ran ${i} change detection cycles`),console.log(`${a.toFixed(2)} ms per check`),new Oh(a,i)}},eA="profiler";function n3(e){return Jx(eA,new kh(e)),e}var Fh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(tA),o},providedIn:"root"})}return e})(),tA=(()=>{class e extends Fh{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case je.NONE:return r;case je.HTML:return Ht(r,"HTML")?Xe(r):Ka(this._doc,String(r)).toString();case je.STYLE:return Ht(r,"Style")?Xe(r):r;case je.SCRIPT:if(Ht(r,"Script"))return Xe(r);throw new v(5200,!1);case je.URL:return Ht(r,"URL")?Xe(r):wi(String(r));case je.RESOURCE_URL:if(Ht(r,"ResourceURL"))return Xe(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(t){return of(t)}bypassSecurityTrustStyle(t){return sf(t)}bypassSecurityTrustScript(t){return af(t)}bypassSecurityTrustUrl(t){return cf(t)}bypassSecurityTrustResourceUrl(t){return lf(t)}static \u0275fac=function(r){return new(r||e)(I(F))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gi(e){return e.buttons===0||e.detail===0}function Wi(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 Ph;function X_(){if(Ph==null){let e=typeof document<"u"?document.head:null;Ph=!!(e&&(e.createShadowRoot||e.attachShadow))}return Ph}function Lh(e){if(X_()){let n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function nA(){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 Re(e){return e.composedPath?e.composedPath()[0]:e.target}var Vh;try{Vh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Vh=!1}var ae=(()=>{class e{_platformId=f(mr);isBrowser=this._platformId?S_(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||Vh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qi;function Q_(){if(qi==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>qi=!0}))}finally{qi=qi||!1}return qi}function vo(e){return Q_()?e:!!e.capture}function Bc(e,n=0){return J_(e)?Number(e):arguments.length===2?n:0}function J_(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function ct(e){return e instanceof z?e.nativeElement:e}var eD=new y("cdk-input-modality-detector-options"),tD={ignoreKeys:[18,17,224,91,16]},nD=650,jh={passive:!0,capture:!0},rD=(()=>{class e{_platform=f(ae);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new zn(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(r=>r===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Re(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<nD||(this._modality.next(Gi(t)?"keyboard":"mouse"),this._mostRecentTarget=Re(t))};_onTouchstart=t=>{if(Wi(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Re(t)};constructor(){let t=f(P),r=f(F),o=f(eD,{optional:!0});if(this._options=E(E({},tD),o),this.modalityDetected=this._modality.pipe(Bo(1)),this.modalityChanged=this.modalityDetected.pipe(Bs()),this._platform.isBrowser){let i=f(be).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,jh),i.listen(r,"mousedown",this._onMousedown,jh),i.listen(r,"touchstart",this._onTouchstart,jh)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yi=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(Yi||{}),oD=new y("cdk-focus-monitor-default-options"),Hc=vo({passive:!0,capture:!0}),Uc=(()=>{class e{_ngZone=f(P);_platform=f(ae);_inputModalityDetector=f(rD);_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(F);_stopInputModalityDetector=new R;constructor(){let t=f(oD,{optional:!0});this._detectionMode=t?.detectionMode||Yi.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let r=Re(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=ct(t);if(!this._platform.isBrowser||o.nodeType!==1)return ke();let i=Lh(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new R,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let r=ct(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=ct(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===Yi.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===Yi.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?nD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,r){let o=this._elementInfo.get(r),i=Re(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,Hc),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Hc)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($n(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,Hc),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Hc),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,r,o){this._setClasses(t,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(t){let r=[];return this._elementInfo.forEach((o,i)=>{(i===t||o.checkChildren&&i.contains(t))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let i=t.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rA=(()=>{class e{_elementRef=f(z);_focusMonitor=f(Uc);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new H;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=O({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();var $c=new WeakMap,lt=(()=>{class e{_appRef;_injector=f(j);_environmentInjector=f(ce);load(t){let r=this._appRef=this._appRef||this._injector.get(Qe),o=$c.get(r);o||(o={loaders:new Set,refs:[]},$c.set(r,o),r.onDestroy(()=>{$c.get(r)?.refs.forEach(i=>i.destroy()),$c.delete(r)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(gc(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Gc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Se({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
`],encapsulation:2,changeDetection:0})}return e})(),zc;function oA(){if(zc===void 0&&(zc=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(zc=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return zc}function iA(e){return oA()?.createHTML(e)||e}function iD(e,n,t){let r=t.sanitize(je.HTML,n);e.innerHTML=iA(r||"")}function Dr(e){return Array.isArray(e)?e:[e]}var sD=new Set,Er,Wc=(()=>{class e{_platform=f(ae);_nonce=f(io,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):aA}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&sA(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sA(e,n){if(!sD.has(e))try{Er||(Er=document.createElement("style"),n&&Er.setAttribute("nonce",n),Er.setAttribute("type","text/css"),document.head.appendChild(Er)),Er.sheet&&(Er.sheet.insertRule(`@media ${e} {body{ }}`,0),sD.add(e))}catch(t){console.error(t)}}function aA(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Bh=(()=>{class e{_mediaMatcher=f(Wc);_zone=f(P);_queries=new Map;_destroySubject=new R;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return aD(Dr(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=aD(Dr(t)).map(s=>this._registerQuery(s).observable),i=Fl(o);return i=mn(i.pipe(pt(1)),i.pipe(Bo(1),qn(0))),i.pipe(re(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let r=this._mediaMatcher.matchMedia(t),i={observable:new k(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Us(r),re(({matches:s})=>({query:t,matches:s})),$n(this._destroySubject)),mql:r};return this._queries.set(t,i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function aD(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function cA(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 cD=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lD=(()=>{class e{_mutationObserverFactory=f(cD);_observedElements=new Map;_ngZone=f(P);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,r)=>this._cleanupObserver(r))}observe(t){let r=ct(t);return new k(o=>{let s=this._observeElement(r).pipe(re(a=>a.filter(c=>!cA(c))),Ee(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 R,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:r,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:r,stream:o}=this._observedElements.get(t);r&&r.disconnect(),o.complete(),this._observedElements.delete(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),o4=(()=>{class e{_contentObserver=f(lD);_elementRef=f(z);event=new H;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=Bc(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(qn(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=O({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",de],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),uD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({providers:[cD]})}return e})();var lA=(()=>{class e{_platform=f(ae);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return dA(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let r=uA(bA(t));if(r&&(dD(r)===-1||!this.isVisible(r)))return!1;let o=t.nodeName.toLowerCase(),i=dD(t);return t.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!yA(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 vA(t)&&!this.isDisabled(t)&&(r?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uA(e){try{return e.frameElement}catch{return null}}function dA(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function fA(e){let n=e.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function hA(e){return mA(e)&&e.type=="hidden"}function pA(e){return gA(e)&&e.hasAttribute("href")}function mA(e){return e.nodeName.toLowerCase()=="input"}function gA(e){return e.nodeName.toLowerCase()=="a"}function pD(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let n=e.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function dD(e){if(!pD(e))return null;let n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function yA(e){let n=e.nodeName.toLowerCase(),t=n==="input"&&e.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function vA(e){return hA(e)?!1:fA(e)||pA(e)||e.hasAttribute("contenteditable")||pD(e)}function bA(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Uh=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?An(n,{injector:this._injector}):setTimeout(n)}},_A=(()=>{class e{_checker=f(lA);_ngZone=f(P);_document=f(F);_injector=f(j);constructor(){f(lt).load(Gc)}create(t,r=!1){return new Uh(t,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mD=new y("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),gD=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),DA=0,EA=(()=>{class e{_ngZone=f(P);_defaultOptions=f(gD,{optional:!0});_liveElement;_document=f(F);_sanitizer=f(Fh);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=f(mD,{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:iD(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-${DA++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute("aria-owns");s?s.indexOf(t)===-1&&i.setAttribute("aria-owns",s+" "+t):i.setAttribute("aria-owns",t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var kn=(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})(kn||{}),fD="cdk-high-contrast-black-on-white",hD="cdk-high-contrast-white-on-black",Hh="cdk-high-contrast-active",yD=(()=>{class e{_platform=f(ae);_hasCheckedHighContrastMode=!1;_document=f(F);_breakpointSubscription;constructor(){this._breakpointSubscription=f(Bh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return kn.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 kn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return kn.BLACK_ON_WHITE}return kn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Hh,fD,hD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===kn.BLACK_ON_WHITE?t.add(Hh,fD):r===kn.WHITE_ON_BLACK&&t.add(Hh,hD)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wA=(()=>{class e{constructor(){f(yD)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({imports:[uD]})}return e})();var $h={},Zi=class e{_appId=f(xn);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,t=!1){return this._appId!=="ng"&&(n+=this._appId),$h.hasOwnProperty(n)||($h[n]=0),`${n}${t?e._infix+"-":""}${$h[n]++}`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})};var CA=200,bo=class{_letterKeyStream=new R;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new R;selectedItem=this._selectedItem;constructor(n,t){let r=typeof t?.debounceInterval=="number"?t.debounceInterval:CA;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(Gl(t=>this._pressedLetters.push(t)),qn(n),Ee(()=>this._pressedLetters.length>0),re(()=>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 qc(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var _o=class{_items;_activeItemIndex=Me(-1);_activeItem=Me(null);_wrap=!1;_typeaheadSubscription=B.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 Jt?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):co(n)&&(this._effectRef=li(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new R;change=new R;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 bo(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||qc(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 co(this._items)?this._items():this._items instanceof Jt?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 zh=class extends _o{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Gh=class extends _o{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function Wh(e){return pn(e)?e:ke(e)}var qh=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=B.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 Jt?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):pn(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 R;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 bo(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()?Wh(this._activeItem.getChildren()).pipe(pt(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=Wh(n.getChildren()):t=ke(this._items.filter(r=>r.getParent()===null)),t.pipe(pt(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},e5=new y("tree-key-manager",{providedIn:"root",factory:()=>(e,n)=>new qh(e,n)});var bD=" ";function IA(e,n,t){let r=Zc(e,n);t=t.trim(),!r.some(o=>o.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(bD)))}function MA(e,n,t){let r=Zc(e,n);t=t.trim();let o=r.filter(i=>i!==t);o.length?e.setAttribute(n,o.join(bD)):e.removeAttribute(n)}function Zc(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}var _D="cdk-describedby-message",Yc="cdk-describedby-host",Zh=0,u5=(()=>{class e{_platform=f(ae);_document=f(F);_messageRegistry=new Map;_messagesContainer=null;_id=`${Zh++}`;constructor(){f(lt).load(Gc),this._id=f(xn)+"-"+Zh++}describe(t,r,o){if(!this._canBeDescribed(t,r))return;let i=Yh(r,o);typeof r!="string"?(vD(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=Yh(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(`[${Yc}="${this._id}"]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Yc);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,r){let o=this._document.createElement("div");vD(o,this._id),o.textContent=t,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Yh(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=Zc(t,"aria-describedby").filter(o=>o.indexOf(_D)!=0);t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){let o=this._messageRegistry.get(r);IA(t,"aria-describedby",o.messageElement.id),t.setAttribute(Yc,this._id),o.referenceCount++}_removeMessageReference(t,r){let o=this._messageRegistry.get(r);o.referenceCount--,MA(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Yc)}_isElementDescribedByMessage(t,r){let o=Zc(t,"aria-describedby"),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(t,r){if(!this._isElementNode(t))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),i=t.getAttribute("aria-label");return o?!i||i.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yh(e,n){return typeof e=="string"?`${n||""}/${e}`:e}function vD(e,n){e.id||(e.id=`${_D}-${n}-${Zh++}`)}var Tt=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Tt||{}),Kc,wr;function Xc(){if(wr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return wr=!1,wr;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)wr=!0;else{let e=Element.prototype.scrollTo;e?wr=!/\{\s*\[native code\]\s*\}/.test(e.toString()):wr=!1}}return wr}function Do(){if(typeof document!="object"||!document)return Tt.NORMAL;if(Kc==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),Kc=Tt.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Kc=e.scrollLeft===0?Tt.NEGATED:Tt.INVERTED),e.remove()}return Kc}function Kh(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Eo,DD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function _5(){if(Eo)return Eo;if(typeof document!="object"||!document)return Eo=new Set(DD),Eo;let e=document.createElement("input");return Eo=new Set(DD.filter(n=>(e.setAttribute("type",n),e.type===n))),Eo}var I5={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 SA=new y("MATERIAL_ANIMATIONS"),ED=null;function TA(){return f(SA,{optional:!0})?.animationsDisabled||f(Ei,{optional:!0})==="NoopAnimations"?"di-disabled":(ED??=f(Wc).matchMedia("(prefers-reduced-motion)").matches,ED?"reduced-motion":"enabled")}function Fn(){return TA()!=="enabled"}function fe(e){return e==null?"":typeof e=="string"?e:`${e}px`}function R5(e){return e!=null&&`${e}`!="false"}var ut=(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})(ut||{}),Xh=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ut.HIDDEN;constructor(n,t,r,o=!1){this._renderer=n,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},wD=vo({passive:!0,capture:!0}),Qh=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,wD)})}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,wD)))}_delegateEventHandler=n=>{let t=Re(n);t&&this._events.get(n.type)?.forEach((r,o)=>{(o===t||o.contains(t))&&r.forEach(i=>i.handleEvent(n))})}},Ki={enterDuration:225,exitDuration:150},xA=800,CD=vo({passive:!0,capture:!0}),ID=["mousedown","touchstart"],MD=["mouseup","mouseleave","touchend","touchcancel"],AA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Se({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
`],encapsulation:2,changeDetection:0})}return e})(),Xi=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Qh;constructor(n,t,r,o,i){this._target=n,this._ngZone=t,this._platform=o,o.isBrowser&&(this._containerElement=ct(r)),i&&i.get(lt).load(AA)}fadeInRipple(n,t,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=E(E({},Ki),r.animation);r.centered&&(n=o.left+o.width/2,t=o.top+o.height/2);let s=r.radius||NA(n,t,o),a=n-o.left,c=t-o.top,l=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),p=d.transitionProperty,h=d.transitionDuration,m=p==="none"||h==="0s"||h==="0s, 0s"||o.width===0&&o.height===0,b=new Xh(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",b.state=ut.FADING_IN,r.persistent||(this._mostRecentTransientRipple=b);let _=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let C=()=>{_&&(_.fallbackTimer=null),clearTimeout(Ge),this._finishRippleTransition(b)},ne=()=>this._destroyRipple(b),Ge=setTimeout(ne,l+100);u.addEventListener("transitionend",C),u.addEventListener("transitioncancel",ne),_={onTransitionEnd:C,onTransitionCancel:ne,fallbackTimer:Ge}}),this._activeRipples.set(b,_),(m||!l)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===ut.FADING_OUT||n.state===ut.HIDDEN)return;let t=n.element,r=E(E({},Ki),n.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",n.state=ut.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=ct(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,ID.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(()=>{MD.forEach(t=>{this._triggerElement.addEventListener(t,this,CD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ut.FADING_IN?this._startFadeOutTransition(n):n.state===ut.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let t=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=ut.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=ut.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=Gi(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+xA;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Wi(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===ut.VISIBLE||n.config.terminateOnPointerUp&&n.state===ut.FADING_IN;!n.config.persistent&&t&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(ID.forEach(t=>e._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(MD.forEach(t=>n.removeEventListener(t,this,CD)),this._pointerUpEventsRegistered=!1))}};function NA(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 Jh=new y("mat-ripple-global-options"),q5=(()=>{class e{_elementRef=f(z);_animationsDisabled=Fn();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(P),r=f(ae),o=f(Jh,{optional:!0}),i=f(j);this._globalOptions=o||{},this._rippleRenderer=new Xi(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=O({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&Ue("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 RA={capture:!0},OA=["focus","mousedown","mouseenter","touchstart"],ep="mat-ripple-loader-uninitialized",tp="mat-ripple-loader-class-name",SD="mat-ripple-loader-centered",Qc="mat-ripple-loader-disabled",TD=(()=>{class e{_document=f(F);_animationsDisabled=Fn();_globalRippleOptions=f(Jh,{optional:!0});_platform=f(ae);_ngZone=f(P);_injector=f(j);_eventCleanups;_hosts=new Map;constructor(){let t=f(be).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>OA.map(r=>t.listen(this._document,r,this._onInteraction,RA)))}ngOnDestroy(){let t=this._hosts.keys();for(let r of t)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(t,r){t.setAttribute(ep,this._globalRippleOptions?.namespace??""),(r.className||!t.hasAttribute(tp))&&t.setAttribute(tp,r.className||""),r.centered&&t.setAttribute(SD,""),r.disabled&&t.setAttribute(Qc,"")}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(Qc,""):t.removeAttribute(Qc)}_onInteraction=t=>{let r=Re(t);if(r instanceof HTMLElement){let o=r.closest(`[${ep}="${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(tp)),t.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??Ki.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??Ki.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||t.hasAttribute(Qc),rippleConfig:{centered:t.hasAttribute(SD),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new Xi(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(ep)}destroyRipple(t){let r=this._hosts.get(t);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Se({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,o){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus-visible::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|
|
`],encapsulation:2,changeDetection:0})}return e})();var kA=["mat-icon-button",""],FA=["*"],PA=new y("MAT_BUTTON_CONFIG");function AD(e){return e==null?void 0:ah(e)}var np=(()=>{class e{_elementRef=f(z);_ngZone=f(P);_animationsDisabled=Fn();_config=f(PA,{optional:!0});_focusMonitor=f(Uc);_cleanupClick;_renderer=f(Be);_rippleLoader=f(TD);_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(lt).load(xD);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=O({type:e,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(rn("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),zf(o.color?"mat-"+o.color:""),Ue("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",de],disabled:[2,"disabled","disabled",de],ariaDisabled:[2,"aria-disabled","ariaDisabled",de],disabledInteractive:[2,"disabledInteractive","disabledInteractive",de],tabIndex:[2,"tabIndex","tabIndex",AD],_tabindex:[2,"tabindex","_tabindex",AD]}})}return e})(),LA=(()=>{class e extends np{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Se({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:[X],attrs:kA,ngContentSelectors:FA,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&&(fo(),on(0,"span",0),Nn(1),on(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
|
|
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
`],encapsulation:2,changeDetection:0})}return e})();var VA=new y("cdk-dir-doc",{providedIn:"root",factory:()=>f(F)}),jA=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function ND(e){let n=e?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?jA.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var wo=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Me("ltr");change=new H;constructor(){let t=f(VA,{optional:!0});if(t){let r=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(ND(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ln=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({})}return e})();var RD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({imports:[ln]})}return e})();var BA=["matButton",""],HA=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],UA=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var OD=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"]]]),Iq=(()=>{class e extends np{get appearance(){return this._appearance}set appearance(t){this.setAppearance(t||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let t=$A(this._elementRef.nativeElement);t&&this.setAppearance(t)}setAppearance(t){if(t===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?OD.get(this._appearance):null,i=OD.get(t);o&&r.remove(...o),r.add(...i),this._appearance=t}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Se({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:[X],attrs:BA,ngContentSelectors:UA,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&&(fo(HA),on(0,"span",0),Nn(1),lo(2,"span",1),Nn(3,1),uo(),Nn(4,2),on(5,"span",2)(6,"span",3)),r&2&&Ue("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}@media(hover: none){.mat-mdc-button-base:hover>span.mat-mdc-button-persistent-ripple::before{opacity:0}}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}@media(hover: hover){.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-raised-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus-visible>.mat-focus-indicator::before,.mat-tonal-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
|
|
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
`],encapsulation:2,changeDetection:0})}return e})();function $A(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 Mq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({imports:[RD,ln]})}return e})();var rp={production:!0,electron:!1,githubio:!1,solarputty_download_url:"",current_version:"v3",compute_id:"local"};var Qi=class{};function zA(e){return e&&typeof e.connect=="function"&&!(e instanceof Oo)}var op=class extends Qi{_data;constructor(n){super(),this._data=n}connect(){return pn(this._data)?this._data:ke(this._data)}disconnect(){}},Ut=(function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e})(Ut||{}),ip=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?Ut.INSERTED:Ut.REPLACED}else c==null?(this._detachAndCacheView(a,t),u=Ut.REMOVED):(l=this._moveView(a,c,t,o(s)),u=Ut.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 GA=20,Ji=(()=>{class e{_ngZone=f(P);_platform=f(ae);_renderer=f(be).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new R;_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=GA){return this._platform.isBrowser?new k(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(js(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ke()}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(Ee(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=ct(r),i=t.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WA=(()=>{class e{elementRef=f(z);scrollDispatcher=f(Ji);ngZone=f(P);dir=f(wo,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new R;_renderer=f(Be);_cleanupScroll;_elementScrolled=new R;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&&Do()!=Tt.NORMAL?(t.left!=null&&(t.right=r.scrollWidth-r.clientWidth-t.left),Do()==Tt.INVERTED?t.left=t.right:Do()==Tt.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;Xc()?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&&Do()==Tt.INVERTED?t==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Do()==Tt.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=O({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),qA=20,Co=(()=>{class e{_platform=f(ae);_listeners;_viewportSize=null;_change=new R;_document=f(F);constructor(){let t=f(P),r=f(be).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=qA){return t>0?this._change.pipe(js(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xq=new y("CDK_VIRTUAL_SCROLL_VIEWPORT");var sp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({})}return e})(),ap=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({imports:[ln,sp,ln,sp]})}return e})();var es=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}},cp=class extends es{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}},Io=class extends es{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()}},lp=class extends es{element;constructor(n){super(),this.element=n instanceof z?n.nativeElement:n}},Jc=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof cp)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Io)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof lp)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)}},el=class extends Jc{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(Bt,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||j.NULL,i=o.get(ce,r.injector);t=gc(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]}},o6=(()=>{class e extends Io{constructor(){let t=f(Ze),r=f(He);super(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=O({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[X]})}return e})(),i6=(()=>{class e extends Jc{_moduleRef=f(Bt,{optional:!0});_document=f(F);_viewContainerRef=f(He);_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 H;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=O({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[X]})}return e})(),kD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({})}return e})();var FD=Xc();function UD(e){return new tl(e.get(Co),e.get(F))}var tl=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=fe(-this._previousScrollPosition.left),n.style.top=fe(-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"),FD&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),FD&&(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 $D(e,n){return new nl(e.get(Ji),e.get(P),e.get(Co),n)}var nl=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(Ee(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 ts=class{enable(){}disable(){}attach(){}};function up(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 PD(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 hp(e,n){return new rl(e.get(Ji),e.get(Co),e.get(P),n)}var rl=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();up(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}},zD=(()=>{class e{_injector=f(j);constructor(){}noop=()=>new ts;close=t=>$D(this._injector,t);block=()=>UD(this._injector);reposition=t=>hp(this._injector,t);static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ns=class{positionStrategy;scrollStrategy=new ts;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 ol=class{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}};var GD=(()=>{class e{_attachedOverlays=[];_document=f(F);_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=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WD=(()=>{class e extends GD{_ngZone=f(P);_renderer=f(be).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=Ve(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qD=(()=>{class e extends GD{_platform=f(ae);_ngZone=f(P);_renderer=f(be).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=Re(t)};_clickListener=t=>{let r=Re(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(LD(a.overlayElement,r)||LD(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=Ve(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function LD(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 YD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Se({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:auto;top:0;left:0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}
|
|
`],encapsulation:2,changeDetection:0})}return e})(),pp=(()=>{class e{_platform=f(ae);_containerElement;_document=f(F);_styleLoader=f(lt);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||Kh()){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),Kh()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(YD)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dp=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 mp(e){return e&&e.nodeType===1}var il=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new R;_attachments=new R;_detachments=new R;_positionStrategy;_scrollStrategy;_locationChanges=B.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new R;_outsidePointerEvents=new R;_afterNextRenderRef;constructor(n,t,r,o,i,s,a,c,l,u=!1,d,p){this._portalOutlet=n,this._host=t,this._pane=r,this._config=o,this._ngZone=i,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=d,this._renderer=p,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}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=An(()=>{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=V(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=fe(this._config.width),n.height=fe(this._config.height),n.minWidth=fe(this._config.minWidth),n.minHeight=fe(this._config.minHeight),n.maxWidth=fe(this._config.maxWidth),n.maxHeight=fe(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;mp(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{}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new dp(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=Dr(t||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=An(()=>{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?.()}},VD="cdk-overlay-connected-position-bounding-box",YA=/([A-Za-z%]+)$/;function gp(e,n){return new sl(n,e.get(Co),e.get(F),e.get(ae),e.get(pp))}var sl=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 R;_resizeSubscription=B.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(VD),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&&Cr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(VD),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 z?this._origin.nativeElement:mp(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=BD(t),{x:s,y:a}=n,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let u=0-s,d=s+i.width-r.width,p=0-a,h=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),b=this._subtractOverflows(i.height,p,h),_=m*b;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:b===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=jD(this._overlayRef.getConfig().minHeight),a=jD(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=BD(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||!ZA(this._lastScrollVisibility,r)){let o=new ol(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 h=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=h*2,s=n.y-h,i>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=t.overlayX==="start"&&!o||t.overlayX==="end"&&o,l=t.overlayX==="end"&&!o||t.overlayX==="start"&&o,u,d,p;if(l)p=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let h=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=h*2,d=n.x-h,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:p,width:u,height:i}}_setBoundingBoxStyles(n,t){let r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=fe(r.width),o.height=fe(r.height),o.top=fe(r.top)||"auto",o.bottom=fe(r.bottom)||"auto",o.left=fe(r.left)||"auto",o.right=fe(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=fe(i)),s&&(o.maxWidth=fe(s))}this._lastBoundingBoxSize=r,Cr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Cr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Cr(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();Cr(r,this._getExactOverlayY(t,n,u)),Cr(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=fe(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=fe(s.maxWidth):i&&(r.maxWidth="")),Cr(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=fe(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=fe(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:PD(n,r),isOriginOutsideView:up(n,r),isOverlayClipped:PD(t,r),isOverlayOutsideView:up(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&&Dr(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 z)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 Cr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function jD(e){if(typeof e!="number"&&e!=null){let[n,t]=e.split(YA);return!t||t==="px"?parseFloat(n):null}return e||null}function BD(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 ZA(e,n){return e===n?!0:e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}var HD="cdk-global-overlay-wrapper";function ZD(e){return new al}var al=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(HD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(i==="100%"||i==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,d=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",h="",m="",b="";c?b="flex-start":u==="center"?(b="center",p?m=d:h=d):p?u==="left"||u==="end"?(b="flex-end",h=d):(u==="right"||u==="start")&&(b="flex-start",m=d):u==="left"||u==="start"?(b="flex-start",h=d):(u==="right"||u==="end")&&(b="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":h,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,t.justifyContent=b,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(HD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},KD=(()=>{class e{_injector=f(j);constructor(){}global(){return ZD()}flexibleConnectedTo(t){return gp(this._injector,t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yp=new y("OVERLAY_DEFAULT_CONFIG");function vp(e,n){e.get(lt).load(YD);let t=e.get(pp),r=e.get(F),o=e.get(Zi),i=e.get(Qe),s=e.get(wo),a=e.get(Be,null,{optional:!0})||e.get(be).createRenderer(null,null),c=new ns(n),l=e.get(yp,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 p=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return mp(p)?p.after(d):p?.type==="parent"?p.element.appendChild(d):t.getContainerElement().appendChild(d),new il(new el(u,i,e),d,u,c,e.get(P),e.get(WD),r,e.get(bc),e.get(qD),n?.disableAnimations??e.get(Ei,null,{optional:!0})==="NoopAnimations",e.get(ce),a)}var XD=(()=>{class e{scrollStrategies=f(zD);_positionBuilder=f(KD);_injector=f(j);constructor(){}create(t){return vp(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),KA=[{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"}],XA=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(j);return()=>hp(e)}}),fp=(()=>{class e{elementRef=f(z);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=O({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),QD=new y("cdk-connected-overlay-default-config"),QA=(()=>{class e{_dir=f(wo,{optional:!0});_injector=f(j);_overlayRef;_templatePortal;_backdropSubscription=B.EMPTY;_attachSubscription=B.EMPTY;_detachSubscription=B.EMPTY;_positionSubscription=B.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(XA);_ngZone=f(P);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 H;positionChange=new H;attach=new H;detach=new H;overlayKeydown=new H;overlayOutsideClick=new H;constructor(){let t=f(Ze),r=f(He),o=f(QD,{optional:!0}),i=f(yp,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Io(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=KA);let t=this._overlayRef=vp(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&&!qc(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=Re(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new ns({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=gp(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof fp?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof fp?this.origin.elementRef.nativeElement:this.origin instanceof z?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(zl(()=>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=O({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",de],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",de],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",de],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",de],push:[2,"cdkConnectedOverlayPush","push",de],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",de],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",de],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ke]})}return e})(),JA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({providers:[XD],imports:[ln,kD,ap,ap]})}return e})();var aE=(()=>{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)(w(Be),w(z))};static \u0275dir=O({type:e})}return e})(),cE=(()=>{class e extends aE{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ve(e)))(o||e)}})();static \u0275dir=O({type:e,features:[X]})}return e})(),us=new y("");var eN={provide:us,useExisting:ve(()=>lE),multi:!0};function tN(){let e=et()?et().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var nN=new y(""),lE=(()=>{class e extends aE{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!tN())}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)(w(Be),w(z),w(nN,8))};static \u0275dir=O({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&&yr("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:[Te([eN]),X]})}return e})();function Ep(e){return e==null||wp(e)===0}function wp(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var $t=new y(""),Mr=new y(""),rN=/^(?=.{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])?)*$/,JD=class{static min(n){return uE(n)}static max(n){return dE(n)}static required(n){return fE(n)}static requiredTrue(n){return oN(n)}static email(n){return iN(n)}static minLength(n){return sN(n)}static maxLength(n){return aN(n)}static pattern(n){return cN(n)}static nullValidator(n){return ll()}static compose(n){return vE(n)}static composeAsync(n){return bE(n)}};function uE(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 dE(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 fE(e){return Ep(e.value)?{required:!0}:null}function oN(e){return e.value===!0?null:{required:!0}}function iN(e){return Ep(e.value)||rN.test(e.value)?null:{email:!0}}function sN(e){return n=>{let t=n.value?.length??wp(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function aN(e){return n=>{let t=n.value?.length??wp(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function cN(e){if(!e)return ll;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(Ep(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function ll(e){return null}function hE(e){return e!=null}function pE(e){return gr(e)?tt(e):e}function mE(e){let n={};return e.forEach(t=>{n=t!=null?E(E({},n),t):n}),Object.keys(n).length===0?null:n}function gE(e,n){return n.map(t=>t(e))}function lN(e){return!e.validate}function yE(e){return e.map(n=>lN(n)?n:t=>n.validate(t))}function vE(e){if(!e)return null;let n=e.filter(hE);return n.length==0?null:function(t){return mE(gE(t,n))}}function Cp(e){return e!=null?vE(yE(e)):null}function bE(e){if(!e)return null;let n=e.filter(hE);return n.length==0?null:function(t){let r=gE(t,n).map(pE);return Pl(r).pipe(re(mE))}}function Ip(e){return e!=null?bE(yE(e)):null}function eE(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function _E(e){return e._rawValidators}function DE(e){return e._rawAsyncValidators}function bp(e){return e?Array.isArray(e)?e:[e]:[]}function ul(e,n){return Array.isArray(e)?e.includes(n):e===n}function tE(e,n){let t=bp(n);return bp(e).forEach(o=>{ul(t,o)||t.push(o)}),t}function nE(e,n){return bp(n).filter(t=>!ul(e,t))}var dl=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=Cp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ip(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}},Oe=class extends dl{name;get formDirective(){return null}get path(){return null}},un=class extends dl{_parent=null;name=null;valueAccessor=null},fl=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 f9=(()=>{class e extends fl{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(w(un,2))};static \u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Ue("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:[X]})}return e})(),h9=(()=>{class e extends fl{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(w(Oe,10))};static \u0275dir=O({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&Ue("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[X]})}return e})();var rs="VALID",cl="INVALID",Mo="PENDING",os="DISABLED",Pn=class{},hl=class extends Pn{value;source;constructor(n,t){super(),this.value=n,this.source=t}},ss=class extends Pn{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},as=class extends Pn{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},So=class extends Pn{status;source;constructor(n,t){super(),this.status=n,this.source=t}},pl=class extends Pn{source;constructor(n){super(),this.source=n}},cs=class extends Pn{source;constructor(n){super(),this.source=n}};function Mp(e){return(vl(e)?e.validators:e)||null}function uN(e){return Array.isArray(e)?Cp(e):e||null}function Sp(e,n){return(vl(n)?n.asyncValidators:e)||null}function dN(e){return Array.isArray(e)?Ip(e):e||null}function vl(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function EE(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new v(1e3,"");if(!r[t])throw new v(1001,"")}function wE(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new v(1002,"")})}var xo=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 $e(this.statusReactive)}set status(n){$e(()=>this.statusReactive.set(n))}_status=vr(()=>this.statusReactive());statusReactive=Me(void 0);get valid(){return this.status===rs}get invalid(){return this.status===cl}get pending(){return this.status==Mo}get disabled(){return this.status===os}get enabled(){return this.status!==os}errors;get pristine(){return $e(this.pristineReactive)}set pristine(n){$e(()=>this.pristineReactive.set(n))}_pristine=vr(()=>this.pristineReactive());pristineReactive=Me(!0);get dirty(){return!this.pristine}get touched(){return $e(this.touchedReactive)}set touched(n){$e(()=>this.touchedReactive.set(n))}_touched=vr(()=>this.touchedReactive());touchedReactive=Me(!1);get untouched(){return!this.touched}_events=new R;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(tE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(tE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(nE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(nE(n,this._rawAsyncValidators))}hasValidator(n){return ul(this._rawValidators,n)}hasAsyncValidator(n){return ul(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(V(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new as(!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 as(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(V(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new ss(!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 ss(!0,r))}markAsPending(n={}){this.status=Mo;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new So(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(V(E({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=os,this.errors=null,this._forEachChild(o=>{o.disable(V(E({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new hl(this.value,r)),this._events.next(new So(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(V(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=rs,this._forEachChild(r=>{r.enable(V(E({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(V(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===rs||this.status===Mo)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new hl(this.value,t)),this._events.next(new So(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(V(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()?os:rs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Mo,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=pE(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 So(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?os:this.errors?cl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Mo)?Mo:this._anyControlsHaveStatus(cl)?cl:rs}_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 ss(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new as(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){vl(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=uN(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=dN(this._rawAsyncValidators)}},Ir=class extends xo{constructor(n,t,r){super(Mp(t),Sp(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={}){wE(this,!0,n),Object.keys(n).forEach(r=>{EE(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,V(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new cs(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 p9=Ir;var _p=class extends Ir{};var Ao=new y("",{factory:()=>bl}),bl="always";function _l(e,n){return[...n.path,e]}function ls(e,n,t=bl){Tp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),hN(e,n),mN(e,n),pN(e,n),fN(e,n)}function ml(e,n,t=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),yl(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function gl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function fN(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Tp(e,n){let t=_E(e);n.validator!==null?e.setValidators(eE(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=DE(e);n.asyncValidator!==null?e.setAsyncValidators(eE(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();gl(n._rawValidators,o),gl(n._rawAsyncValidators,o)}function yl(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=_E(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=DE(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 gl(n._rawValidators,r),gl(n._rawAsyncValidators,r),t}function hN(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&CE(e,n)})}function pN(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&CE(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function CE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mN(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function IE(e,n){e==null,Tp(e,n)}function gN(e,n){return yl(e,n)}function xp(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function yN(e){return Object.getPrototypeOf(e.constructor)===cE}function ME(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Ap(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===lE?t=i:yN(i)?r=i:o=i}),o||r||t||null}function vN(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var bN={provide:Oe,useExisting:ve(()=>_N)},is=Promise.resolve(),_N=(()=>{class e extends Oe{callSetDisabledState;get submitted(){return $e(this.submittedReactive)}_submitted=vr(()=>this.submittedReactive());submittedReactive=Me(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(t,r,o){super(),this.callSetDisabledState=o,this.form=new Ir({},Cp(t),Ip(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){is.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ls(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){is.then(()=>{this._findContainer(t.path)?.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){is.then(()=>{let r=this._findContainer(t.path),o=new Ir({});IE(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){is.then(()=>{this._findContainer(t.path)?.removeControl?.(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){is.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),ME(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new pl(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)(w($t,10),w(Mr,10),w(Ao,8))};static \u0275dir=O({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&yr("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:[Te([bN]),X]})}return e})();function rE(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function oE(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var To=class extends xo{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(Mp(t),Sp(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(oE(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 cs(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){rE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){rE(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){oE(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}},g9=To,DN=e=>e instanceof To,EN=(()=>{class e extends Oe{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return _l(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ve(e)))(o||e)}})();static \u0275dir=O({type:e,standalone:!1,features:[X]})}return e})();var wN={provide:un,useExisting:ve(()=>CN)},iE=Promise.resolve(),CN=(()=>{class e extends un{_changeDetectorRef;callSetDisabledState;control=new To;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new H;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=Ap(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),xp(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(){ls(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){iE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&de(r);iE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?_l(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(w(Oe,9),w($t,10),w(Mr,10),w(us,10),w(ho,8),w(Ao,8))};static \u0275dir=O({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:[Te([wN]),X,Ke]})}return e})();var y9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=O({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})(),IN={provide:us,useExisting:ve(()=>MN),multi:!0},MN=(()=>{class e extends cE{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=Ve(e)))(o||e)}})();static \u0275dir=O({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&yr("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Te([IN]),X]})}return e})();var Dp=class extends xo{constructor(n,t,r){super(Mp(t),Sp(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){Array.isArray(n)?n.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){wE(this,!1,n),n.forEach((r,o)=>{EE(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,o)=>{r.reset(n[o],V(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new cs(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>r._syncPendingControls()?!0:t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};var SE=(()=>{class e extends Oe{callSetDisabledState;get submitted(){return $e(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=vr(()=>this._submittedReactive());_submittedReactive=Me(!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&&(yl(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 ls(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){ml(t.control||null,t,!1),vN(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,ME(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new pl(this.control)),t?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(ml(r||null,t),DN(o)&&(ls(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);IE(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){let r=this.form?.get(t.path);r&&gN(r,t)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Tp(this.form,this),this._oldForm&&yl(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(w($t,10),w(Mr,10),w(Ao,8))};static \u0275dir=O({type:e,features:[X,Ke]})}return e})();var Np=new y(""),SN={provide:un,useExisting:ve(()=>TN)},TN=(()=>{class e extends un{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new H;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=Ap(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let r=t.form.previousValue;r&&ml(r,this,!1),ls(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}xp(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ml(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)(w($t,10),w(Mr,10),w(us,10),w(Np,8),w(Ao,8))};static \u0275dir=O({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:[Te([SN]),X,Ke]})}return e})(),xN={provide:Oe,useExisting:ve(()=>TE)},TE=(()=>{class e extends EN{name=null;constructor(t,r,o){super(),this._parent=t,this._setValidators(r),this._setAsyncValidators(o)}_checkParentType(){AE(this._parent)}static \u0275fac=function(r){return new(r||e)(w(Oe,13),w($t,10),w(Mr,10))};static \u0275dir=O({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[Te([xN]),X]})}return e})(),AN={provide:Oe,useExisting:ve(()=>xE)},xE=(()=>{class e extends Oe{_parent;name=null;constructor(t,r,o){super(),this._parent=t,this._setValidators(r),this._setAsyncValidators(o)}ngOnInit(){AE(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return _l(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||e)(w(Oe,13),w($t,10),w(Mr,10))};static \u0275dir=O({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[Te([AN]),X]})}return e})();function AE(e){return!(e instanceof TE)&&!(e instanceof SE)&&!(e instanceof xE)}var NN={provide:un,useExisting:ve(()=>RN)},RN=(()=>{class e extends un{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new H;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=s,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Ap(this,i)}ngOnChanges(t){this._added||this._setUpControl(),xp(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return _l(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||e)(w(Oe,13),w($t,10),w(Mr,10),w(us,10),w(Np,8))};static \u0275dir=O({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Te([NN]),X,Ke]})}return e})();var ON={provide:Oe,useExisting:ve(()=>kN)},kN=(()=>{class e extends SE{form=null;ngSubmit=new H;get control(){return this.form}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ve(e)))(o||e)}})();static \u0275dir=O({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&yr("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:[Te([ON]),X]})}return e})();function NE(e){return typeof e=="number"?e:parseFloat(e)}var Rp=(()=>{class e{_validator=ll;_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):ll,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=O({type:e,features:[Ke]})}return e})(),FN={provide:$t,useExisting:ve(()=>PN),multi:!0},PN=(()=>{class e extends Rp{max;inputName="max";normalizeInput=t=>NE(t);createValidator=t=>dE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ve(e)))(o||e)}})();static \u0275dir=O({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&&rn("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[Te([FN]),X]})}return e})(),LN={provide:$t,useExisting:ve(()=>VN),multi:!0},VN=(()=>{class e extends Rp{min;inputName="min";normalizeInput=t=>NE(t);createValidator=t=>uE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ve(e)))(o||e)}})();static \u0275dir=O({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&&rn("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Te([LN]),X]})}return e})(),jN={provide:$t,useExisting:ve(()=>BN),multi:!0};var BN=(()=>{class e extends Rp{required;inputName="required";normalizeInput=de;createValidator=t=>fE;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ve(e)))(o||e)}})();static \u0275dir=O({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&&rn("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Te([jN]),X]})}return e})();var RE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({})}return e})();function sE(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var HN=(()=>{class e{useNonNullable=!1;get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,r=null){let o=this._reduceControls(t),i={};return sE(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Ir(o,i)}record(t,r=null){let o=this._reduceControls(t);return new _p(o,r)}control(t,r,o){let i={};return this.useNonNullable?(sE(r)?i=r:(i.validators=r,i.asyncValidators=o),new To(t,V(E({},i),{nonNullable:!0}))):new To(t,r,o)}array(t,r,o){let i=t.map(s=>this._createControl(s));return new Dp(i,r,o)}_reduceControls(t){let r={};return Object.keys(t).forEach(o=>{r[o]=this._createControl(t[o])}),r}_createControl(t){if(t instanceof To)return t;if(t instanceof xo)return t;if(Array.isArray(t)){let r=t[0],o=t.length>1?t[1]:null,i=t.length>2?t[2]:null;return this.control(r,o,i)}else return this.control(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var v9=(()=>{class e extends HN{group(t,r=null){return super.group(t,r)}control(t,r,o){return super.control(t,r,o)}array(t,r,o){return super.array(t,r,o)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ve(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),b9=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ao,useValue:t.callSetDisabledState??bl}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({imports:[RE]})}return e})(),_9=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Np,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ao,useValue:t.callSetDisabledState??bl}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Z({type:e});static \u0275inj=G({imports:[RE]})}return e})();var Dl=class e extends Error{originalError;constructor(n){super(n)}static fromError(n,t){let r=new e(n);return r.originalError=t,r}},UN=(()=>{class e{handleError(t){let r=t;return t.name==="HttpErrorResponse"&&t.status===0?r=Dl.fromError("Controller is unreachable",t):t.error?.message&&(r=Dl.fromError(t.error.message,t)),kl(()=>r)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),T9=(()=>{class e{http;errorHandler;requestsNotificationEmitter=new H;constructor(t,r){this.http=t,this.errorHandler=r}get(t,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(t,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.http.get(i.url,i.options).pipe(Fe(this.errorHandler.handleError))}getText(t,r,o){o=this.getTextOptions(o);let i=this.getOptionsForController(t,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.http.get(i.url,i.options).pipe(Fe(this.errorHandler.handleError))}getBlob(t,r,o){o=this.getBlobOptions(o);let i=this.getOptionsForController(t,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.http.get(i.url,i.options).pipe(Fe(this.errorHandler.handleError))}post(t,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(t,r,i);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.http.post(s.url,o,s.options).pipe(Fe(this.errorHandler.handleError))}postBlob(t,r,o){let i={responseType:"blob",headers:{}},s=this.getOptionsForController(t,r,i);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.http.post(s.url,o,s.options).pipe(Fe(this.errorHandler.handleError))}put(t,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(t,r,i);return this.requestsNotificationEmitter.emit(`PUT ${s.url}`),this.http.put(s.url,o,s.options).pipe(Fe(this.errorHandler.handleError))}delete(t,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(t,r,o);return this.requestsNotificationEmitter.emit(`DELETE ${i.url}`),this.http.delete(i.url,i.options).pipe(Fe(this.errorHandler.handleError))}patch(t,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(t,r,i);return this.http.patch(s.url,o,s.options).pipe(Fe(this.errorHandler.handleError))}head(t,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(t,r,o);return this.http.head(i.url,i.options).pipe(Fe(this.errorHandler.handleError))}options(t,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(t,r,o);return this.http.options(i.url,i.options).pipe(Fe(this.errorHandler.handleError))}getJsonOptions(t){return t||{responseType:"json"}}getTextOptions(t){return t||{responseType:"text"}}getBlobOptions(t){return t||{responseType:"blob"}}getOptionsForController(t,r,o){return t&&t.host&&t.port?(t.protocol||(t.protocol=location.protocol),r=`${t.protocol}//${t.host}:${t.port}/${rp.current_version}${r}`):r=`/${rp.current_version}${r}`,o.headers||(o.headers={}),t&&t.authToken&&!t.tokenExpired&&(o.headers.Authorization=`Bearer ${t.authToken}`),{url:r,options:o}}static \u0275fac=function(r){return new(r||e)(I(jc),I(UN))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();var Op=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new R;constructor(n=!1,t,r=!0,o){this._multiple=n,this._emitChanges=r,this.compareWith=o,t&&t.length&&(n?t.forEach(i=>this._markSelected(i)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(r=>this._markSelected(r));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...n){this._verifyValueAssignment(n),n.forEach(r=>this._unmarkSelected(r));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...n){this._verifyValueAssignment(n);let t=this.selected,r=new Set(n.map(i=>this._getConcreteValue(i)));n.forEach(i=>this._markSelected(i)),t.filter(i=>!r.has(this._getConcreteValue(i,r))).forEach(i=>this._unmarkSelected(i));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let t=this._hasQueuedChanges();return n&&this._emitChangeEvent(),t}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,t){if(this.compareWith){t=t??this._selection;for(let r of t)if(this.compareWith(n,r))return r;return n}else return n}};var $N=(()=>{class e{_listeners=[];notify(t,r){for(let o of this._listeners)o(t,r)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(r=>t!==r)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var OE=class{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=t.createEmbeddedView(d.templateRef,d.context,d.index),u=Ut.INSERTED}else c==null?(t.remove(a),u=Ut.REMOVED):(l=t.get(a),t.move(l,c),u=Ut.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){}};var U9=(()=>{class e{_animationsDisabled=Fn();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Se({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&Ue("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(r,o){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
|
|
`],encapsulation:2,changeDetection:0})}return e})();export{E as a,V as b,BE as c,zN as d,GN as e,WN as f,B as g,GE as h,k as i,R as j,zn as k,Fo as l,Xp as m,Jp as n,Gn as o,tt as p,ke as q,kl as r,pn as s,Vo as t,iw as u,re as v,Fl as w,ht as x,jo as y,mn as z,mw as A,Pl as B,Ll as C,Wn as D,Ew as E,ww as F,Ee as G,js as H,Fe as I,Vl as J,jl as K,Cw as L,qn as M,pt as N,Bl as O,Iw as P,Bs as Q,Hs as R,Tw as S,xw as T,gm as U,$l as V,ym as W,Bo as X,Us as Y,$s as Z,$n as _,Gl as $,v as aa,Ot as ba,ve as ca,g as da,G as ea,Bw as fa,y as ga,I as ha,f as ia,Um as ja,ce as ka,Ur as la,tg as ma,ng as na,pg as oa,mg as pa,j as qa,F as ra,Pe as sa,ur as ta,H as ua,P as va,nt as wa,Qt as xa,Me as ya,li as za,Ke as Aa,Ve as Ba,ef as Ca,z as Da,Jt as Ea,mr as Fa,Ei as Ga,Oy as Ha,je as Ia,MI as Ja,qy as Ka,Yy as La,AI as Ma,NI as Na,RI as Oa,ev as Pa,nn as Qa,An as Ra,Ze as Sa,be as Ta,Be as Ua,w as Va,YM as Wa,He as Xa,Yv as Ya,Zv as Za,Se as _a,Z as $a,O as ab,xi as bb,kS as cb,X as db,eb,tb as fb,nb as gb,co as hb,gr as ib,WS as jb,ib as kb,Qe as lb,cb as mb,rn as nb,YS as ob,KS as pb,Vf as qb,XS as rb,QS as sb,JS as tb,eT as ub,tT as vb,lb as wb,za as xb,jf as yb,ub as zb,lo as Ab,uo as Bb,on as Cb,Bf as Db,Hf as Eb,fb as Fb,aT as Gb,hb as Hb,yr as Ib,mb as Jb,fT as Kb,fo as Lb,Nn as Mb,yb as Nb,Uf as Ob,vb as Pb,bb as Qb,_b as Rb,Db as Sb,mT as Tb,gT as Ub,$f as Vb,Ue as Wb,zf as Xb,LT as Yb,Ab as Zb,Gf as _b,Nb as $b,Rb as ac,Ob as bc,HT as cc,kb as dc,UT as ec,$T as fc,Te as gc,qT as hc,YT as ic,ZT as jc,KT as kc,XT as lc,JT as mc,t0 as nc,n0 as oc,r0 as pc,o0 as qc,i0 as rc,s0 as sc,$e as tc,vr as uc,l0 as vc,Ub as wc,h8 as xc,p8 as yc,m8 as zc,g8 as Ac,y8 as Bc,v8 as Cc,ho as Dc,mc as Ec,de as Fc,ah as Gc,_8 as Hc,D8 as Ic,k0 as Jc,po as Kc,c_ as Lc,bc as Mc,V0 as Nc,X0 as Oc,C_ as Pc,Q0 as Qc,J0 as Rc,ex as Sc,rx as Tc,ix as Uc,cx as Vc,gh as Wc,S_ as Xc,BG as Yc,Ih as Zc,Ex as _c,xx as $c,On as ad,cn as bd,mo as cd,_r as dd,go as ed,W_ as fd,jc as gd,Xx as hd,t3 as id,n3 as jd,Fh as kd,Lh as ld,nA as md,Re as nd,lt as od,Gi as pd,Wi as qd,Bc as rd,J_ as sd,ct as td,ae as ud,wo as vd,ln as wd,Qi as xd,zA as yd,op as zd,Ut as Ad,ip as Bd,Ji as Cd,WA as Dd,Co as Ed,Xq as Fd,sp as Gd,ap as Hd,Zi as Id,Dr as Jd,cp as Kd,Io as Ld,Jc as Md,o6 as Nd,i6 as Od,kD as Pd,qc as Qd,UD as Rd,hp as Sd,ns as Td,pp as Ud,il as Vd,gp as Wd,ZD as Xd,yp as Yd,vp as Zd,fp as _d,QA as $d,JA as ae,OE as be,us as ce,lE as de,$t as ee,JD as fe,Oe as ge,un as he,f9 as ie,h9 as je,Ir as ke,p9 as le,_N as me,To as ne,g9 as oe,CN as pe,y9 as qe,MN as re,TN as se,TE as te,xE as ue,RN as ve,kN as we,PN as xe,VN as ye,BN as ze,HN as Ae,v9 as Be,b9 as Ce,_9 as De,Uc as Ee,rA as Fe,Gc as Ge,iA as He,Wc as Ie,Bh as Je,o4 as Ke,uD as Le,lA as Me,_A as Ne,EA as Oe,wA as Pe,zh as Qe,Gh as Re,Wh as Se,e5 as Te,IA as Ue,MA as Ve,u5 as We,R5 as Xe,_5 as Ye,I5 as Ze,TA as _e,Fn as $e,Xi as af,Jh as bf,q5 as cf,TD as df,xD as ef,LA as ff,RD as gf,Iq as hf,Mq as if,rp as jf,UN as kf,T9 as lf,$N as mf,Op as nf,U9 as of};
|