@amadeus-it-group/ngrx-devtool 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ngrx-devtool/fesm2022/amadeus-it-group-ngrx-devtool.mjs +45 -21
- package/ngrx-devtool/fesm2022/amadeus-it-group-ngrx-devtool.mjs.map +1 -1
- package/ngrx-devtool/types/amadeus-it-group-ngrx-devtool.d.ts +6 -1
- package/ngrx-devtool-ui/browser/index.html +1 -1
- package/ngrx-devtool-ui/browser/main-YNDKIBU6.js +241 -0
- package/package.json +1 -1
- package/ngrx-devtool-ui/browser/main-TA4CTEF7.js +0 -262
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
var LS=Object.defineProperty,BS=Object.defineProperties;var jS=Object.getOwnPropertyDescriptors;var jb=Object.getOwnPropertySymbols;var VS=Object.prototype.hasOwnProperty,HS=Object.prototype.propertyIsEnumerable;var Vb=(t,n,e)=>n in t?LS(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,y=(t,n)=>{for(var e in n||={})VS.call(n,e)&&Vb(t,e,n[e]);if(jb)for(var e of jb(n))HS.call(n,e)&&Vb(t,e,n[e]);return t},te=(t,n)=>BS(t,jS(n));var ve=(t,n,e)=>new Promise((i,r)=>{var o=c=>{try{s(e.next(c))}catch(l){r(l)}},a=c=>{try{s(e.throw(c))}catch(l){r(l)}},s=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);s((e=e.apply(t,n)).next())});var Rt=null,pl=!1,Ff=1,zS=null,xt=Symbol("SIGNAL");function ie(t){let n=Rt;return Rt=t,n}function _l(){return Rt}var wo={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 xo(t){if(pl)throw new Error("");if(Rt===null)return;Rt.consumerOnSignalRead(t);let n=Rt.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=Rt.recomputing;if(i&&(e=n!==void 0?n.nextProducer:Rt.producers,e!==void 0&&e.producer===t)){Rt.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Rt&&(!i||$S(r,Rt)))return;let o=Io(Rt),a={producer:t,consumer:Rt,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Rt.producersTail=a,n!==void 0?n.nextProducer=a:Rt.producers=a,o&&$b(t,a)}function Hb(){Ff++}function Lf(t){if(!(Io(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ff)){if(!t.producerMustRecompute(t)&&!Eo(t)){Pf(t);return}t.producerRecomputeValue(t),Pf(t)}}function Bf(t){if(t.consumers===void 0)return;let n=pl;pl=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||US(i)}}finally{pl=n}}function jf(){return Rt?.consumerAllowSignalWrites!==!1}function US(t){t.dirty=!0,Bf(t),t.consumerMarkedDirty?.(t)}function Pf(t){t.dirty=!1,t.lastCleanEpoch=Ff}function Cr(t){return t&&zb(t),ie(t)}function zb(t){t.producersTail=void 0,t.recomputing=!0}function Do(t,n){ie(n),t&&Ub(t)}function Ub(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Io(t))do e=Vf(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function Eo(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(Lf(e),i!==e.version))return!0}return!1}function zi(t){if(Io(t)){let n=t.producers;for(;n!==void 0;)n=Vf(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function $b(t,n){let e=t.consumersTail,i=Io(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)$b(r.producer,r)}function Vf(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!Io(n)){let o=n.producers;for(;o!==void 0;)o=Vf(o)}return e}function Io(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Hf(t){zS?.(t)}function $S(t,n){let e=n.producersTail;if(e!==void 0){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function zf(t,n){return Object.is(t,n)}function Xa(t,n){let e=Object.create(GS);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(Lf(e),xo(e),e.value===gl)throw e.error;return e.value};return i[xt]=e,Hf(e),i}var Of=Symbol("UNSET"),Nf=Symbol("COMPUTING"),gl=Symbol("ERRORED"),GS=te(y({},wo),{value:Of,dirty:!0,error:null,equal:zf,kind:"computed",producerMustRecompute(t){return t.value===Of||t.value===Nf},producerRecomputeValue(t){if(t.value===Nf)throw new Error("");let n=t.value;t.value=Nf;let e=Cr(t),i,r=!1;try{i=t.computation(),ie(null),r=n!==Of&&n!==gl&&i!==gl&&t.equal(n,i)}catch(o){i=gl,t.error=o}finally{Do(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function WS(){throw new Error}var Gb=WS;function Wb(t){Gb(t)}function Uf(t){Gb=t}var qS=null;function $f(t,n){let e=Object.create(es);e.value=t,n!==void 0&&(e.equal=n);let i=()=>qb(e);return i[xt]=e,Hf(e),[i,a=>Ja(e,a),a=>Qb(e,a)]}function qb(t){return xo(t),t.value}function Ja(t,n){jf()||Wb(t),t.equal(t.value,n)||(t.value=n,QS(t))}function Qb(t,n){jf()||Wb(t),Ja(t,n(t.value))}var es=te(y({},wo),{equal:zf,value:void 0,kind:"signal"});function QS(t){t.version++,Hb(),Bf(t),qS?.(t)}function Gf(t){let n=ie(null);try{return t()}finally{ie(n)}}var Wf=te(y({},wo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function qf(t){if(t.dirty=!1,t.version>0&&!Eo(t))return;t.version++;let n=Cr(t);try{t.cleanup(),t.fn()}finally{Do(t,n)}}function re(t){return typeof t=="function"}function Mo(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var vl=Mo(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
2
|
+
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function wr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Y=class t{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:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(re(i))try{i()}catch(o){n=o instanceof vl?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Zb(o)}catch(a){n=n??[],a instanceof vl?n=[...n,...a.errors]:n.push(a)}}if(n)throw new vl(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Zb(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&wr(e,n)}remove(n){let{_finalizers:e}=this;e&&wr(e,n),n instanceof t&&n._removeParent(this)}};Y.EMPTY=(()=>{let t=new Y;return t.closed=!0,t})();var Qf=Y.EMPTY;function bl(t){return t instanceof Y||t&&"closed"in t&&re(t.remove)&&re(t.add)&&re(t.unsubscribe)}function Zb(t){re(t)?t():t.unsubscribe()}var Cn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var So={setTimeout(t,n,...e){let{delegate:i}=So;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=So;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function yl(t){So.setTimeout(()=>{let{onUnhandledError:n}=Cn;if(n)n(t);else throw t})}function ts(){}var Yb=Zf("C",void 0,void 0);function Kb(t){return Zf("E",void 0,t)}function Xb(t){return Zf("N",t,void 0)}function Zf(t,n,e){return{kind:t,value:n,error:e}}var xr=null;function To(t){if(Cn.useDeprecatedSynchronousErrorHandling){let n=!xr;if(n&&(xr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=xr;if(xr=null,e)throw i}}else t()}function Jb(t){Cn.useDeprecatedSynchronousErrorHandling&&xr&&(xr.errorThrown=!0,xr.error=t)}var mi=class extends Y{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bl(n)&&n.add(this)):this.destination=KS}static create(n,e,i){return new fi(n,e,i)}next(n){this.isStopped?Kf(Xb(n),this):this._next(n)}error(n){this.isStopped?Kf(Kb(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Kf(Yb,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()}}},ZS=Function.prototype.bind;function Yf(t,n){return ZS.call(t,n)}var Xf=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Cl(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Cl(i)}else Cl(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Cl(e)}}},fi=class extends mi{constructor(n,e,i){super();let r;if(re(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Cn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Yf(n.next,o),error:n.error&&Yf(n.error,o),complete:n.complete&&Yf(n.complete,o)}):r=n}this.destination=new Xf(r)}};function Cl(t){Cn.useDeprecatedSynchronousErrorHandling?Jb(t):yl(t)}function YS(t){throw t}function Kf(t,n){let{onStoppedNotification:e}=Cn;e&&So.setTimeout(()=>e(t,n))}var KS={closed:!0,next:ts,error:YS,complete:ts};var ko=typeof Symbol=="function"&&Symbol.observable||"@@observable";function en(t){return t}function Jf(...t){return eh(t)}function eh(t){return t.length===0?en:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var W=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=JS(e)?e:new fi(e,i,r);return To(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=ey(i),new i((r,o)=>{let a=new fi({next:s=>{try{e(s)}catch(c){o(c),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[ko](){return this}pipe(...e){return eh(e)(this)}toPromise(e){return e=ey(e),new e((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function ey(t){var n;return(n=t??Cn.Promise)!==null&&n!==void 0?n:Promise}function XS(t){return t&&re(t.next)&&re(t.error)&&re(t.complete)}function JS(t){return t&&t instanceof mi||XS(t)&&bl(t)}function th(t){return re(t?.lift)}function he(t){return n=>{if(th(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ce(t,n,e,i,r){return new nh(t,n,e,i,r)}var nh=class extends mi{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){n.error(c)}}:super._next,this._error=r?function(s){try{r(s)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function ty(){return he((t,n)=>{let e=null;t._refCount++;let i=ce(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var ns=class extends W{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,th(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 Y;let e=this.getSubject();n.add(this.source.subscribe(ce(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Y.EMPTY)}return n}refCount(){return ty()(this)}};var Ao={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=Ao;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let r=n(o=>{e=void 0,t(o)});return new Y(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:n}=Ao;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Ao;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var ny=Mo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var x=(()=>{class t extends W{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Ro(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new ny}next(e){To(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){To(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){To(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Qf:(this.currentObservers=null,o.push(e),new Y(()=>{this.currentObservers=null,wr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new W;return e.source=this,e}}return t.create=(n,e)=>new Ro(n,e),t})(),Ro=class extends x{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:Qf}};var nt=class extends x{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var is={now(){return(is.delegate||Date).now()},delegate:void 0};var $t=class extends x{constructor(n=1/0,e=1/0,i=is){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=e.now(),s=0;for(let c=1;c<i.length&&i[c]<=a;c+=2)s=c;s&&i.splice(0,s+1)}}};var wl=class extends Y{constructor(n,e){super()}schedule(n,e=0){return this}};var rs={setInterval(t,n,...e){let{delegate:i}=rs;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=rs;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Ui=class extends wl{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return rs.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&rs.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,wr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var eT=1,ih,rh={};function iy(t){return t in rh?(delete rh[t],!0):!1}var ry={setImmediate(t){let n=eT++;return rh[n]=!0,ih||(ih=Promise.resolve()),ih.then(()=>iy(n)&&t()),n},clearImmediate(t){iy(t)}};var{setImmediate:tT,clearImmediate:nT}=ry,os={setImmediate(...t){let{delegate:n}=os;return(n?.setImmediate||tT)(...t)},clearImmediate(t){let{delegate:n}=os;return(n?.clearImmediate||nT)(t)},delegate:void 0};var xl=class extends Ui{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=os.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:o}=n;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(os.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var Oo=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Oo.now=is.now;var $i=class extends Oo{constructor(n,e=Oo.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var Dl=class extends $i{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}};var as=new Dl(xl);var ss=new $i(Ui),oy=ss;var El=class extends Ui{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ao.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:o}=n;e!=null&&e===n._scheduled&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(Ao.cancelAnimationFrame(e),n._scheduled=void 0)}};var Il=class extends $i{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}};var cs=new Il(El);var Xe=new W(t=>t.complete());function Ml(t){return t&&re(t.schedule)}function oh(t){return t[t.length-1]}function Sl(t){return re(oh(t))?t.pop():void 0}function $n(t){return Ml(oh(t))?t.pop():void 0}function ay(t,n){return typeof oh(t)=="number"?t.pop():n}function cy(t,n,e,i){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(u){try{l(i.next(u))}catch(m){a(m)}}function c(u){try{l(i.throw(u))}catch(m){a(m)}}function l(u){u.done?o(u.value):r(u.value).then(s,c)}l((i=i.apply(t,n||[])).next())})}function sy(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dr(t){return this instanceof Dr?(this.v=t,this):new Dr(t)}function ly(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(f){return function(C){return Promise.resolve(C).then(f,m)}}function s(f,C){i[f]&&(r[f]=function(E){return new Promise(function(M,S){o.push([f,E,M,S])>1||c(f,E)})},C&&(r[f]=C(r[f])))}function c(f,C){try{l(i[f](C))}catch(E){h(o[0][3],E)}}function l(f){f.value instanceof Dr?Promise.resolve(f.value.v).then(u,m):h(o[0][2],f)}function u(f){c("next",f)}function m(f){c("throw",f)}function h(f,C){f(C),o.shift(),o.length&&c(o[0][0],o[0][1])}}function dy(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof sy=="function"?sy(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,c){a=t[o](a),r(s,c,a.done,a.value)})}}function r(o,a,s,c){Promise.resolve(c).then(function(l){o({value:l,done:s})},a)}}var No=t=>t&&typeof t.length=="number"&&typeof t!="function";function Tl(t){return re(t?.then)}function kl(t){return re(t[ko])}function Al(t){return Symbol.asyncIterator&&re(t?.[Symbol.asyncIterator])}function Rl(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function iT(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ol=iT();function Nl(t){return re(t?.[Ol])}function Pl(t){return ly(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Dr(e.read());if(r)return yield Dr(void 0);yield yield Dr(i)}}finally{e.releaseLock()}})}function Fl(t){return re(t?.getReader)}function Se(t){if(t instanceof W)return t;if(t!=null){if(kl(t))return rT(t);if(No(t))return oT(t);if(Tl(t))return aT(t);if(Al(t))return uy(t);if(Nl(t))return sT(t);if(Fl(t))return cT(t)}throw Rl(t)}function rT(t){return new W(n=>{let e=t[ko]();if(re(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function oT(t){return new W(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function aT(t){return new W(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,yl)})}function sT(t){return new W(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function uy(t){return new W(n=>{lT(t,n).catch(e=>n.error(e))})}function cT(t){return uy(Pl(t))}function lT(t,n){var e,i,r,o;return cy(this,void 0,void 0,function*(){try{for(e=dy(t);i=yield e.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function Gt(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function Ll(t,n=0){return he((e,i)=>{e.subscribe(ce(i,r=>Gt(i,t,()=>i.next(r),n),()=>Gt(i,t,()=>i.complete(),n),r=>Gt(i,t,()=>i.error(r),n)))})}function Bl(t,n=0){return he((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function my(t,n){return Se(t).pipe(Bl(n),Ll(n))}function fy(t,n){return Se(t).pipe(Bl(n),Ll(n))}function hy(t,n){return new W(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function py(t,n){return new W(e=>{let i;return Gt(e,n,()=>{i=t[Ol](),Gt(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>re(i?.return)&&i.return()})}function jl(t,n){if(!t)throw new Error("Iterable cannot be null");return new W(e=>{Gt(e,n,()=>{let i=t[Symbol.asyncIterator]();Gt(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function gy(t,n){return jl(Pl(t),n)}function _y(t,n){if(t!=null){if(kl(t))return my(t,n);if(No(t))return hy(t,n);if(Tl(t))return fy(t,n);if(Al(t))return jl(t,n);if(Nl(t))return py(t,n);if(Fl(t))return gy(t,n)}throw Rl(t)}function Ye(t,n){return n?_y(t,n):Se(t)}function U(...t){let n=$n(t);return Ye(t,n)}function ls(t,n){let e=re(t)?t:()=>t,i=r=>r.error(e());return new W(n?r=>n.schedule(i,0,r):i)}function Gn(t){return!!t&&(t instanceof W||re(t.lift)&&re(t.subscribe))}var Er=Mo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function vy(t){return t instanceof Date&&!isNaN(t)}function ne(t,n){return he((e,i)=>{let r=0;e.subscribe(ce(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:dT}=Array;function uT(t,n){return dT(n)?t(...n):t(n)}function Po(t){return ne(n=>uT(t,n))}var{isArray:mT}=Array,{getPrototypeOf:fT,prototype:hT,keys:pT}=Object;function Vl(t){if(t.length===1){let n=t[0];if(mT(n))return{args:n,keys:null};if(gT(n)){let e=pT(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function gT(t){return t&&typeof t=="object"&&fT(t)===hT}function Hl(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function hi(...t){let n=$n(t),e=Sl(t),{args:i,keys:r}=Vl(t);if(i.length===0)return Ye([],n);let o=new W(_T(i,n,r?a=>Hl(r,a):en));return e?o.pipe(Po(e)):o}function _T(t,n,e=en){return i=>{by(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let c=0;c<r;c++)by(n,()=>{let l=Ye(t[c],n),u=!1;l.subscribe(ce(i,m=>{o[c]=m,u||(u=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}function by(t,n,e){t?Gt(e,t,n):n()}function yy(t,n,e,i,r,o,a,s){let c=[],l=0,u=0,m=!1,h=()=>{m&&!c.length&&!l&&n.complete()},f=E=>l<i?C(E):c.push(E),C=E=>{o&&n.next(E),l++;let M=!1;Se(e(E,u++)).subscribe(ce(n,S=>{r?.(S),o?f(S):n.next(S)},()=>{M=!0},void 0,()=>{if(M)try{for(l--;c.length&&l<i;){let S=c.shift();a?Gt(n,a,()=>C(S)):C(S)}h()}catch(S){n.error(S)}}))};return t.subscribe(ce(n,f,()=>{m=!0,h()})),()=>{s?.()}}function ut(t,n,e=1/0){return re(n)?ut((i,r)=>ne((o,a)=>n(i,o,r,a))(Se(t(i,r))),e):(typeof n=="number"&&(e=n),he((i,r)=>yy(i,r,t,e)))}function zl(t=1/0){return ut(en,t)}function Cy(){return zl(1)}function Gi(...t){return Cy()(Ye(t,$n(t)))}function wn(t){return new W(n=>{Se(t()).subscribe(n)})}function ds(...t){let n=Sl(t),{args:e,keys:i}=Vl(t),r=new W(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),c=a,l=a;for(let u=0;u<a;u++){let m=!1;Se(e[u]).subscribe(ce(o,h=>{m||(m=!0,l--),s[u]=h},()=>c--,void 0,()=>{(!c||!m)&&(l||o.next(i?Hl(i,s):s),o.complete())}))}});return n?r.pipe(Po(n)):r}var vT=["addListener","removeListener"],bT=["addEventListener","removeEventListener"],yT=["on","off"];function us(t,n,e,i){if(re(e)&&(i=e,e=void 0),i)return us(t,n,e).pipe(Po(i));let[r,o]=xT(t)?bT.map(a=>s=>t[a](n,s,e)):CT(t)?vT.map(wy(t,n)):wT(t)?yT.map(wy(t,n)):[];if(!r&&No(t))return ut(a=>us(a,n,e))(Se(t));if(!r)throw new TypeError("Invalid event target");return new W(a=>{let s=(...c)=>a.next(1<c.length?c:c[0]);return r(s),()=>o(s)})}function wy(t,n){return e=>i=>t[e](n,i)}function CT(t){return re(t.addListener)&&re(t.removeListener)}function wT(t){return re(t.on)&&re(t.off)}function xT(t){return re(t.addEventListener)&&re(t.removeEventListener)}function ms(t=0,n,e=oy){let i=-1;return n!=null&&(Ml(n)?e=n:i=n),new W(r=>{let o=vy(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Lt(...t){let n=$n(t),e=ay(t,1/0),i=t;return i.length?i.length===1?Se(i[0]):zl(e)(Ye(i,n)):Xe}var{isArray:DT}=Array;function xy(t){return t.length===1&&DT(t[0])?t[0]:t}function pe(t,n){return he((e,i)=>{let r=0;e.subscribe(ce(i,o=>t.call(n,o,r++)&&i.next(o)))})}function ah(...t){return t=xy(t),t.length===1?Se(t[0]):new W(ET(t))}function ET(t){return n=>{let e=[];for(let i=0;e&&!n.closed&&i<t.length;i++)e.push(Se(t[i]).subscribe(ce(n,r=>{if(e){for(let o=0;o<e.length;o++)o!==i&&e[o].unsubscribe();e=null}n.next(r)})))}}function Dy(t){return he((n,e)=>{let i=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let l=r;r=null,e.next(l)}a&&e.complete()},c=()=>{o=null,a&&e.complete()};n.subscribe(ce(e,l=>{i=!0,r=l,o||Se(t(l)).subscribe(o=ce(e,s,c))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function Ir(t,n=ss){return Dy(()=>ms(t,n))}function Mr(t){return he((n,e)=>{let i=null,r=!1,o;i=n.subscribe(ce(e,void 0,void 0,a=>{o=Se(t(a,Mr(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function Fo(t,n){return re(n)?ut(t,n,1):ut(t,1)}function pi(t,n=ss){return he((e,i)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let l=o;o=null,i.next(l)}};function c(){let l=a+t,u=n.now();if(u<l){r=this.schedule(void 0,l-u),i.add(r);return}s()}e.subscribe(ce(i,l=>{o=l,a=n.now(),r||(r=n.schedule(c,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function Ey(t){return he((n,e)=>{let i=!1;n.subscribe(ce(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function He(t){return t<=0?()=>Xe:he((n,e)=>{let i=0;n.subscribe(ce(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function Lo(t,n=en){return t=t??IT,he((e,i)=>{let r,o=!0;e.subscribe(ce(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function IT(t,n){return t===n}function Iy(t=MT){return he((n,e)=>{let i=!1;n.subscribe(ce(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function MT(){return new Er}function Sr(t){return he((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function gi(t,n){let e=arguments.length>=2;return i=>i.pipe(t?pe((r,o)=>t(r,o,i)):en,He(1),e?Ey(n):Iy(()=>new Er))}function Ul(t){return t<=0?()=>Xe:he((n,e)=>{let i=[];n.subscribe(ce(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function fs(){return he((t,n)=>{let e,i=!1;t.subscribe(ce(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function hs(t={}){let{connector:n=()=>new x,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,c,l=0,u=!1,m=!1,h=()=>{s?.unsubscribe(),s=void 0},f=()=>{h(),a=c=void 0,u=m=!1},C=()=>{let E=a;f(),E?.unsubscribe()};return he((E,M)=>{l++,!m&&!u&&h();let S=c=c??n();M.add(()=>{l--,l===0&&!m&&!u&&(s=sh(C,r))}),S.subscribe(M),!a&&l>0&&(a=new fi({next:De=>S.next(De),error:De=>{m=!0,h(),s=sh(f,e,De),S.error(De)},complete:()=>{u=!0,h(),s=sh(f,i),S.complete()}}),Se(E).subscribe(a))})(o)}}function sh(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new fi({next:()=>{i.unsubscribe(),t()}});return Se(n(...e)).subscribe(i)}function ps(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,hs({connector:()=>new $t(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Tr(t){return pe((n,e)=>t<=e)}function Je(...t){let n=$n(t);return he((e,i)=>{(n?Gi(t,e,n):Gi(t,e)).subscribe(i)})}function rt(t,n){return he((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(ce(i,c=>{r?.unsubscribe();let l=0,u=o++;Se(t(c,u)).subscribe(r=ce(i,m=>i.next(n?n(c,m,u,l++):m),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function fe(t){return he((n,e)=>{Se(t).subscribe(ce(e,()=>e.complete(),ts)),!e.closed&&n.subscribe(e)})}function ch(t,n=!1){return he((e,i)=>{let r=0;e.subscribe(ce(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}function Ot(t,n,e){let i=re(t)||n||e?{next:t,error:n,complete:e}:t;return i?he((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(ce(o,c=>{var l;(l=i.next)===null||l===void 0||l.call(i,c),o.next(c)},()=>{var c;s=!1,(c=i.complete)===null||c===void 0||c.call(i),o.complete()},c=>{var l;s=!1,(l=i.error)===null||l===void 0||l.call(i,c),o.error(c)},()=>{var c,l;s&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(l=i.finalize)===null||l===void 0||l.call(i)}))}):en}var lh;function $l(){return lh}function Wn(t){let n=lh;return lh=t,n}var My=Symbol("NotFound");function Bo(t){return t===My||t?.name==="\u0275NotFound"}var Kl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",A=class extends Error{code;constructor(n,e){super(Zi(n,e)),this.code=n}};function ST(t){return`NG0${Math.abs(t)}`}function Zi(t,n){return`${ST(t)}${n?": "+n:""}`}var qn=globalThis;function Oe(t){for(let n in t)if(t[n]===Oe)return n;throw Error("")}function Ry(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function vi(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(vi).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
|
|
4
|
+
`);return i>=0?e.slice(0,i):e}function Xl(t,n){return t?n?`${t} ${n}`:t:n||""}var TT=Oe({__forward_ref__:Oe});function Qn(t){return t.__forward_ref__=Qn,t.toString=function(){return vi(this())},t}function _t(t){return wh(t)?t():t}function wh(t){return typeof t=="function"&&t.hasOwnProperty(TT)&&t.__forward_ref__===Qn}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function j(t){return{providers:t.providers||[],imports:t.imports||[]}}function ws(t){return kT(t,Jl)}function xh(t){return ws(t)!==null}function kT(t,n){return t.hasOwnProperty(n)&&t[n]||null}function AT(t){let n=t?.[Jl]??null;return n||null}function uh(t){return t&&t.hasOwnProperty(Wl)?t[Wl]:null}var Jl=Oe({\u0275prov:Oe}),Wl=Oe({\u0275inj:Oe}),b=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Dh(t){return t&&!!t.\u0275providers}var Eh=Oe({\u0275cmp:Oe}),Ih=Oe({\u0275dir:Oe}),Mh=Oe({\u0275pipe:Oe}),Sh=Oe({\u0275mod:Oe}),_s=Oe({\u0275fac:Oe}),Nr=Oe({__NG_ELEMENT_ID__:Oe}),Sy=Oe({__NG_ENV_ID__:Oe});function Th(t){return td(t,"@NgModule"),t[Sh]||null}function bi(t){return td(t,"@Component"),t[Eh]||null}function ed(t){return td(t,"@Directive"),t[Ih]||null}function Oy(t){return td(t,"@Pipe"),t[Mh]||null}function td(t,n){if(t==null)throw new A(-919,!1)}function xs(t){return typeof t=="string"?t:t==null?"":String(t)}var Ny=Oe({ngErrorCode:Oe}),RT=Oe({ngErrorMessage:Oe}),OT=Oe({ngTokenPath:Oe});function kh(t,n){return Py("",-200,n)}function nd(t,n){throw new A(-201,!1)}function Py(t,n,e){let i=new A(n,t);return i[Ny]=n,i[RT]=t,e&&(i[OT]=e),i}function NT(t){return t[Ny]}var mh;function Fy(){return mh}function Bt(t){let n=mh;return mh=t,n}function Ah(t,n,e){let i=ws(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;nd(t,"")}var PT={},kr=PT,FT="__NG_DI_FLAG__",fh=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=Ar(e)||0;try{return this.injector.get(n,i&8?null:kr,i)}catch(r){if(Bo(r))return r;throw r}}};function LT(t,n=0){let e=$l();if(e===void 0)throw new A(-203,!1);if(e===null)return Ah(t,void 0,n);{let i=BT(n),r=e.retrieve(t,i);if(Bo(r)){if(i.optional)return null;throw r}return r}}function K(t,n=0){return(Fy()||LT)(_t(t),n)}function d(t,n){return K(t,Ar(n))}function Ar(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function BT(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function hh(t){let n=[];for(let e=0;e<t.length;e++){let i=_t(t[e]);if(Array.isArray(i)){if(i.length===0)throw new A(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let s=i[a],c=jT(s);typeof c=="number"?c===-1?r=s.token:o|=c:r=s}n.push(K(r,o))}else n.push(K(i))}return n}function jT(t){return t[FT]}function Wi(t,n){let e=t.hasOwnProperty(_s);return e?t[_s]:null}function Ly(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function By(t){return t.flat(Number.POSITIVE_INFINITY)}function id(t,n){t.forEach(e=>Array.isArray(e)?id(e,n):n(e))}function Rh(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ds(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function jy(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function Vy(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function rd(t,n,e){let i=Vo(t,n);return i>=0?t[i|1]=e:(i=~i,Vy(t,i,n,e)),i}function od(t,n){let e=Vo(t,n);if(e>=0)return t[e|1]}function Vo(t,n){return VT(t,n,1)}function VT(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),a=t[o<<e];if(n===a)return o<<e;a>n?r=o:i=o+1}return~(r<<e)}var Dn={},Nt=[],yi=new b(""),Oh=new b("",-1),Nh=new b(""),vs=class{get(n,e=kr){if(e===kr){let r=Py("",-201);throw r.name="\u0275NotFound",r}return e}};function Pr(t){return{\u0275providers:t}}function Hy(...t){return{\u0275providers:Ph(!0,t),\u0275fromNgModule:!0}}function Ph(t,...n){let e=[],i=new Set,r,o=a=>{e.push(a)};return id(n,a=>{let s=a;ql(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&zy(r,o),e}function zy(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];Fh(r,o=>{n(o,i)})}}function ql(t,n,e,i){if(t=_t(t),!t)return!1;let r=null,o=uh(t),a=!o&&bi(t);if(!o&&!a){let c=t.ngModule;if(o=uh(c),o)r=c;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){let c=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let l of c)ql(l,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let l;id(o.imports,u=>{ql(u,n,e,i)&&(l||=[],l.push(u))}),l!==void 0&&zy(l,n)}if(!s){let l=Wi(r)||(()=>new r);n({provide:r,useFactory:l,deps:Nt},r),n({provide:Nh,useValue:r,multi:!0},r),n({provide:yi,useValue:()=>K(r),multi:!0},r)}let c=o.providers;if(c!=null&&!s){let l=t;Fh(c,u=>{n(u,l)})}}else return!1;return r!==t&&t.providers!==void 0}function Fh(t,n){for(let e of t)Dh(e)&&(e=e.\u0275providers),Array.isArray(e)?Fh(e,n):n(e)}var HT=Oe({provide:String,useValue:Oe});function Uy(t){return t!==null&&typeof t=="object"&&HT in t}function zT(t){return!!(t&&t.useExisting)}function UT(t){return!!(t&&t.useFactory)}function Rr(t){return typeof t=="function"}function $y(t){return!!t.useClass}var Es=new b(""),Gl={},Ty={},dh;function Ho(){return dh===void 0&&(dh=new vs),dh}var Be=class{},Or=class extends Be{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,gh(n,a=>this.processProvider(a)),this.records.set(Oh,jo(void 0,this)),r.has("environment")&&this.records.set(Be,jo(void 0,this));let o=this.records.get(Es);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Nh,Nt,{self:!0}))}retrieve(n,e){let i=Ar(e)||0;try{return this.get(n,kr,i)}catch(r){if(Bo(r))return r;throw r}}destroy(){gs(this),this._destroyed=!0;let n=ie(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ie(n)}}onDestroy(n){return gs(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){gs(this);let e=Wn(this),i=Bt(void 0),r;try{return n()}finally{Wn(e),Bt(i)}}get(n,e=kr,i){if(gs(this),n.hasOwnProperty(Sy))return n[Sy](this);let r=Ar(i),o,a=Wn(this),s=Bt(void 0);try{if(!(r&4)){let l=this.records.get(n);if(l===void 0){let u=QT(n)&&ws(n);u&&this.injectableDefInScope(u)?l=jo(ph(n),Gl):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,r)}let c=r&2?Ho():this.parent;return e=r&8&&e===kr?null:e,c.get(n,e)}catch(c){let l=NT(c);throw l===-200||l===-201?new A(l,null):c}finally{Bt(s),Wn(a)}}resolveInjectorInitializers(){let n=ie(null),e=Wn(this),i=Bt(void 0),r;try{let o=this.get(yi,Nt,{self:!0});for(let a of o)a()}finally{Wn(e),Bt(i),ie(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(vi(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=_t(n);let e=Rr(n)?n:_t(n&&n.provide),i=GT(n);if(!Rr(n)&&n.multi===!0){let r=this.records.get(e);r||(r=jo(void 0,Gl,!0),r.factory=()=>hh(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=ie(null);try{if(e.value===Ty)throw kh(vi(n));return e.value===Gl&&(e.value=Ty,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&qT(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ie(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=_t(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function ph(t){let n=ws(t),e=n!==null?n.factory:Wi(t);if(e!==null)return e;if(t instanceof b)throw new A(204,!1);if(t instanceof Function)return $T(t);throw new A(204,!1)}function $T(t){if(t.length>0)throw new A(204,!1);let e=AT(t);return e!==null?()=>e.factory(t):()=>new t}function GT(t){if(Uy(t))return jo(void 0,t.useValue);{let n=Lh(t);return jo(n,Gl)}}function Lh(t,n,e){let i;if(Rr(t)){let r=_t(t);return Wi(r)||ph(r)}else if(Uy(t))i=()=>_t(t.useValue);else if(UT(t))i=()=>t.useFactory(...hh(t.deps||[]));else if(zT(t))i=(r,o)=>K(_t(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=_t(t&&(t.useClass||t.provide));if(WT(t))i=()=>new r(...hh(t.deps));else return Wi(r)||ph(r)}return i}function gs(t){if(t.destroyed)throw new A(205,!1)}function jo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function WT(t){return!!t.deps}function qT(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function QT(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function gh(t,n){for(let e of t)Array.isArray(e)?gh(e,n):e&&Dh(e)?gh(e.\u0275providers,n):n(e)}function Dt(t,n){let e;t instanceof Or?(gs(t),e=t):e=new fh(t);let i,r=Wn(e),o=Bt(void 0);try{return n()}finally{Wn(r),Bt(o)}}function Gy(){return Fy()!==void 0||$l()!=null}var En=0,J=1,le=2,vt=3,ln=4,jt=5,Fr=6,zo=7,ot=8,Ci=9,wi=10,ze=11,Uo=12,Bh=13,Lr=14,Vt=15,Yi=16,Br=17,Zn=18,xi=19,jh=20,_i=21,ad=22,qi=23,tn=24,jr=25,Vr=26,Qe=27,Wy=1,Vh=6,Ki=7,Is=8,Hr=9,it=10;function Yn(t){return Array.isArray(t)&&typeof t[Wy]=="object"}function In(t){return Array.isArray(t)&&t[Wy]===!0}function Hh(t){return(t.flags&4)!==0}function Di(t){return t.componentOffset>-1}function $o(t){return(t.flags&1)===1}function Mn(t){return!!t.template}function Go(t){return(t[le]&512)!==0}function zr(t){return(t[le]&256)===256}var zh="svg",qy="math";function dn(t){for(;Array.isArray(t);)t=t[En];return t}function Uh(t,n){return dn(n[t])}function un(t,n){return dn(n[t.index])}function Ms(t,n){return t.data[n]}function sd(t,n){return t[n]}function $h(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function mn(t,n){let e=n[t];return Yn(e)?e:e[En]}function Qy(t){return(t[le]&4)===4}function cd(t){return(t[le]&128)===128}function Zy(t){return In(t[vt])}function nn(t,n){return n==null?null:t[n]}function Gh(t){t[Br]=0}function Wh(t){t[le]&1024||(t[le]|=1024,cd(t)&&Ur(t))}function Yy(t,n){for(;t>0;)n=n[Lr],t--;return n}function Ss(t){return!!(t[le]&9216||t[tn]?.dirty)}function ld(t){t[wi].changeDetectionScheduler?.notify(8),t[le]&64&&(t[le]|=1024),Ss(t)&&Ur(t)}function Ur(t){t[wi].changeDetectionScheduler?.notify(0);let n=Qi(t);for(;n!==null&&!(n[le]&8192||(n[le]|=8192,!cd(n)));)n=Qi(n)}function qh(t,n){if(zr(t))throw new A(911,!1);t[_i]===null&&(t[_i]=[]),t[_i].push(n)}function Ky(t,n){if(t[_i]===null)return;let e=t[_i].indexOf(n);e!==-1&&t[_i].splice(e,1)}function Qi(t){let n=t[vt];return In(n)?n[vt]:n}function Qh(t){return t[zo]??=[]}function Zh(t){return t.cleanup??=[]}function Xy(t,n,e,i){let r=Qh(n);r.push(e),t.firstCreatePass&&Zh(t).push(i,r.length-1)}var _e={lFrame:d0(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var _h=!1;function Jy(){return _e.lFrame.elementDepthCount}function e0(){_e.lFrame.elementDepthCount++}function Yh(){_e.lFrame.elementDepthCount--}function dd(){return _e.bindingsEnabled}function Kh(){return _e.skipHydrationRootTNode!==null}function Xh(t){return _e.skipHydrationRootTNode===t}function Jh(){_e.skipHydrationRootTNode=null}function ae(){return _e.lFrame.lView}function Ze(){return _e.lFrame.tView}function ue(t){return _e.lFrame.contextLView=t,t[ot]}function me(t){return _e.lFrame.contextLView=null,t}function Et(){let t=ep();for(;t!==null&&t.type===64;)t=t.parent;return t}function ep(){return _e.lFrame.currentTNode}function t0(){let t=_e.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Wo(t,n){let e=_e.lFrame;e.currentTNode=t,e.isParent=n}function tp(){return _e.lFrame.isParent}function np(){_e.lFrame.isParent=!1}function n0(){return _e.lFrame.contextLView}function ip(){return _h}function bs(t){let n=_h;return _h=t,n}function ud(){let t=_e.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function i0(){return _e.lFrame.bindingIndex}function r0(t){return _e.lFrame.bindingIndex=t}function Xi(){return _e.lFrame.bindingIndex++}function md(t){let n=_e.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function o0(){return _e.lFrame.inI18n}function a0(t,n){let e=_e.lFrame;e.bindingIndex=e.bindingRootIndex=t,fd(n)}function s0(){return _e.lFrame.currentDirectiveIndex}function fd(t){_e.lFrame.currentDirectiveIndex=t}function c0(t){let n=_e.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function hd(){return _e.lFrame.currentQueryIndex}function Ts(t){_e.lFrame.currentQueryIndex=t}function ZT(t){let n=t[J];return n.type===2?n.declTNode:n.type===1?t[jt]:null}function rp(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=ZT(o),r===null||(o=o[Lr],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=_e.lFrame=l0();return i.currentTNode=n,i.lView=t,!0}function pd(t){let n=l0(),e=t[J];_e.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function l0(){let t=_e.lFrame,n=t===null?null:t.child;return n===null?d0(t):n}function d0(t){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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function u0(){let t=_e.lFrame;return _e.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var op=u0;function gd(){let t=u0();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function m0(t){return(_e.lFrame.contextLView=Yy(t,_e.lFrame.contextLView))[ot]}function Kn(){return _e.lFrame.selectedIndex}function Ji(t){_e.lFrame.selectedIndex=t}function ks(){let t=_e.lFrame;return Ms(t.tView,t.selectedIndex)}function It(){_e.lFrame.currentNamespace=zh}function Ei(){YT()}function YT(){_e.lFrame.currentNamespace=null}function f0(){return _e.lFrame.currentNamespace}var h0=!0;function _d(){return h0}function As(t){h0=t}function vh(t,n=null,e=null,i){let r=ap(t,n,e,i);return r.resolveInjectorInitializers(),r}function ap(t,n=null,e=null,i,r=new Set){let o=[e||Nt,Hy(t)];return i=i||(typeof t=="object"?void 0:vi(t)),new Or(o,n||Ho(),i||null,r)}var q=class t{static THROW_IF_NOT_FOUND=kr;static NULL=new vs;static create(n,e){if(Array.isArray(n))return vh({name:""},e,n,"");{let i=n.name??"";return vh({name:i},n.parent,n.providers,i)}}static \u0275prov=w({token:t,providedIn:"any",factory:()=>K(Oh)});static __NG_ELEMENT_ID__=-1},G=new b(""),qt=(()=>{class t{static __NG_ELEMENT_ID__=KT;static __NG_ENV_ID__=e=>e}return t})(),Ql=class extends qt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return zr(this._lView)}onDestroy(n){let e=this._lView;return qh(e,n),()=>Ky(e,n)}};function KT(){return new Ql(ae())}var sp=!1,p0=new b(""),Xn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new nt(!1);debugTaskTracker=d(p0,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new W(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),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=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),bh=class extends x{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Gy()&&(this.destroyRef=d(qt,{optional:!0})??void 0,this.pendingTasks=d(Xn,{optional:!0})??void 0)}emit(n){let e=ie(null);try{super.next(n)}finally{ie(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&typeof n=="object"){let c=n;r=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return n instanceof Y&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},B=bh;function Zl(...t){}function cp(t){let n,e;function i(){t=Zl;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch(r){}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function g0(t){return queueMicrotask(()=>t()),()=>{t=Zl}}var lp="isAngularZone",ys=lp+"_ID",XT=0,N=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new B(!1);onMicrotaskEmpty=new B(!1);onStable=new B(!1);onError=new B(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=sp}=n;if(typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,tk(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(lp)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new A(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,JT,Zl,Zl);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},JT={};function dp(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ek(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){cp(()=>{t.callbackScheduled=!1,yh(t),t.isCheckStableRunning=!0,dp(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),yh(t)}function tk(t){let n=()=>{ek(t)},e=XT++;t._inner=t._inner.fork({name:"angular",properties:{[lp]:!0,[ys]:e,[ys+e]:!0},onInvokeTask:(i,r,o,a,s,c)=>{if(nk(c))return i.invokeTask(o,a,s,c);try{return ky(t),i.invokeTask(o,a,s,c)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Ay(t)}},onInvoke:(i,r,o,a,s,c,l)=>{try{return ky(t),i.invoke(o,a,s,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!ik(c)&&n(),Ay(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,yh(t),dp(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function yh(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ky(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ay(t){t._nesting--,dp(t)}var Cs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new B;onMicrotaskEmpty=new B;onStable=new B;onError=new B;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function nk(t){return _0(t,"__ignore_ng_zone__")}function ik(t){return _0(t,"__scheduler_tick__")}function _0(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Wt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},fn=new b("",{factory:()=>{let t=d(N),n=d(Be),e;return i=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw i}):(e??=n.get(Wt),e.handleError(i))})}}}),v0={provide:yi,useValue:()=>{let t=d(Wt,{optional:!0})},multi:!0};function X(t,n){let[e,i,r]=$f(t,n?.equal),o=e,a=o[xt];return o.set=i,o.update=r,o.asReadonly=b0.bind(o),o}function b0(){let t=this[xt];if(t.readonlyFn===void 0){let n=()=>this();n[xt]=t,t.readonlyFn=n}return t.readonlyFn}var qo=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=rk}return t})();function rk(){return new qo(ae(),Et())}var xn=class{},Qo=new b("",{factory:()=>!0});var vd=new b(""),bd=(()=>{class t{internalPendingTasks=d(Xn);scheduler=d(xn);errorHandler=d(fn);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),yd=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>new Ch})}return t})(),Ch=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}},Yl=class{[xt];constructor(n){this[xt]=n}destroy(){this[xt].destroy()}};function $r(t,n){let e=n?.injector??d(q),i=n?.manualCleanup!==!0?e.get(qt):null,r,o=e.get(qo,null,{optional:!0}),a=e.get(xn);return o!==null?(r=sk(o.view,a,t),i instanceof Ql&&i._lView===o.view&&(i=null)):r=ck(t,e.get(yd),a),r.injector=e,i!==null&&(r.onDestroyFns=[i.onDestroy(()=>r.destroy())]),new Yl(r)}var y0=te(y({},Wf),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=bs(!1);try{qf(this)}finally{bs(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=ie(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],ie(t)}}}),ok=te(y({},y0),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(zi(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),ak=te(y({},y0),{consumerMarkedDirty(){this.view[le]|=8192,Ur(this.view),this.notifier.notify(13)},destroy(){if(zi(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[qi]?.delete(this)}});function sk(t,n,e){let i=Object.create(ak);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=C0(i,e),t[qi]??=new Set,t[qi].add(i),i.consumerMarkedDirty(i),i}function ck(t,n,e){let i=Object.create(ok);return i.fn=C0(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function C0(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function at(t){return Gf(t)}function Hs(t){return{toString:t}.toString()}function hk(t){return typeof t=="function"}function tC(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var Td=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}},Ae=(()=>{let t=()=>nC;return t.ngInherit=!0,t})();function nC(t){return t.type.prototype.ngOnChanges&&(t.setInput=gk),pk}function pk(){let t=rC(this),n=t?.current;if(n){let e=t.previous;if(e===Dn)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function gk(t,n,e,i,r){let o=this.declaredInputs[i],a=rC(t)||_k(t,{previous:Dn,current:null}),s=a.current||(a.current={}),c=a.previous,l=c[o];s[o]=new Td(l&&l.currentValue,e,c===Dn),tC(t,n,r,e)}var iC="__ngSimpleChanges__";function rC(t){return t[iC]||null}function _k(t,n){return t[iC]=n}var w0=[];var Ne=function(t,n=null,e){for(let i=0;i<w0.length;i++){let r=w0[i];r(t,n,e)}},Ee=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(Ee||{});function vk(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=nC(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function oC(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),c&&(t.viewHooks??=[]).push(-e,c),l&&((t.viewHooks??=[]).push(e,l),(t.viewCheckHooks??=[]).push(e,l)),u!=null&&(t.destroyHooks??=[]).push(e,u)}}function Dd(t,n,e){aC(t,n,3,e)}function Ed(t,n,e,i){(t[le]&3)===e&&aC(t,n,e,i)}function up(t,n){let e=t[le];(e&3)===n&&(e&=16383,e+=1,t[le]=e)}function aC(t,n,e,i){let r=i!==void 0?t[Br]&65535:0,o=i??-1,a=n.length-1,s=0;for(let c=r;c<a;c++)if(typeof n[c+1]=="number"){if(s=n[c],i!=null&&s>=i)break}else n[c]<0&&(t[Br]+=65536),(s<o||o==-1)&&(bk(t,e,n,c),t[Br]=(t[Br]&4294901760)+c+2),c++}function x0(t,n){Ne(Ee.LifecycleHookStart,t,n);let e=ie(null);try{n.call(t)}finally{ie(e),Ne(Ee.LifecycleHookEnd,t,n)}}function bk(t,n,e,i){let r=e[i]<0,o=e[i+1],a=r?-e[i]:e[i],s=t[a];r?t[le]>>14<t[Br]>>16&&(t[le]&3)===n&&(t[le]+=16384,x0(s,o)):x0(s,o)}var Yo=-1,Wr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function yk(t){return(t.flags&8)!==0}function Ck(t){return(t.flags&16)!==0}function wk(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],a=e[i++],s=e[i++];t.setAttribute(n,a,s,o)}else{let o=r,a=e[++i];xk(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++}}return i}function sC(t){return t===3||t===4||t===6}function xk(t){return t.charCodeAt(0)===64}function Ko(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?D0(t,e,r,null,n[++i]):D0(t,e,r,null,null))}}return t}function D0(t,n,e,i,r){let o=0,a=t.length;if(n===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===n){a=-1;break}else if(s>n){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(t.splice(a,0,n),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function cC(t){return t!==Yo}function kd(t){return t&32767}function Dk(t){return t>>16}function Ad(t,n){let e=Dk(t),i=n;for(;e>0;)i=i[Lr],e--;return i}var wp=!0;function Rd(t){let n=wp;return wp=t,n}var Ek=256,lC=Ek-1,dC=5,Ik=0,Jn={};function Mk(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Nr)&&(i=e[Nr]),i==null&&(i=e[Nr]=Ik++);let r=i&lC,o=1<<r;n.data[t+(r>>dC)]|=o}function Od(t,n){let e=uC(t,n);if(e!==-1)return e;let i=n[J];i.firstCreatePass&&(t.injectorIndex=n.length,mp(i.data,t),mp(n,null),mp(i.blueprint,null));let r=ig(t,n),o=t.injectorIndex;if(cC(r)){let a=kd(r),s=Ad(r,n),c=s[J].data;for(let l=0;l<8;l++)n[o+l]=s[a+l]|c[a+l]}return n[o+8]=r,o}function mp(t,n){t.push(0,0,0,0,0,0,0,0,n)}function uC(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function ig(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=gC(r),i===null)return Yo;if(e++,r=r[Lr],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Yo}function xp(t,n,e){Mk(t,n,e)}function Sk(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(sC(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2}}}return null}function mC(t,n,e){if(e&8||t!==void 0)return t;nd(n,"NodeInjector")}function fC(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[Ci],o=Bt(void 0);try{return r?r.get(n,i,e&8):Ah(n,i,e&8)}finally{Bt(o)}}return mC(i,n,e)}function hC(t,n,e,i=0,r){if(t!==null){if(n[le]&2048&&!(i&2)){let a=Rk(t,n,e,i,Jn);if(a!==Jn)return a}let o=pC(t,n,e,i,Jn);if(o!==Jn)return o}return fC(n,e,i,r)}function pC(t,n,e,i,r){let o=kk(e);if(typeof o=="function"){if(!rp(n,t,i))return i&1?mC(r,e,i):fC(n,e,i,r);try{let a;if(a=o(i),a==null&&!(i&8))nd(e);else return a}finally{op()}}else if(typeof o=="number"){let a=null,s=uC(t,n),c=Yo,l=i&1?n[Vt][jt]:null;for((s===-1||i&4)&&(c=s===-1?ig(t,n):n[s+8],c===Yo||!I0(i,!1)?s=-1:(a=n[J],s=kd(c),n=Ad(c,n)));s!==-1;){let u=n[J];if(E0(o,s,u.data)){let m=Tk(s,n,e,a,i,l);if(m!==Jn)return m}c=n[s+8],c!==Yo&&I0(i,n[J].data[s+8]===l)&&E0(o,s,n)?(a=u,s=kd(c),n=Ad(c,n)):s=-1}}return r}function Tk(t,n,e,i,r,o){let a=n[J],s=a.data[t+8],c=i==null?Di(s)&&wp:i!=a&&(s.type&3)!==0,l=r&1&&o===s,u=Id(s,a,e,c,l);return u!==null?Ps(n,a,u,s,r):Jn}function Id(t,n,e,i,r){let o=t.providerIndexes,a=n.data,s=o&1048575,c=t.directiveStart,l=t.directiveEnd,u=o>>20,m=i?s:s+u,h=r?s+u:l;for(let f=m;f<h;f++){let C=a[f];if(f<c&&e===C||f>=c&&C.type===e)return f}if(r){let f=a[c];if(f&&Mn(f)&&f.type===e)return c}return null}function Ps(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof Wr){let s=o;if(s.resolving)throw kh("");let c=Rd(s.canSeeViewProviders);s.resolving=!0;let l=a[e].type||a[e],u,m=s.injectImpl?Bt(s.injectImpl):null,h=rp(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&vk(e,a[e],n)}finally{m!==null&&Bt(m),Rd(c),s.resolving=!1,op()}}return o}function kk(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Nr)?t[Nr]:void 0;return typeof n=="number"?n>=0?n&lC:Ak:n}function E0(t,n,e){let i=1<<t;return!!(e[n+(t>>dC)]&i)}function I0(t,n){return!(t&2)&&!(t&1&&n)}var Gr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return hC(this._tNode,this._lView,n,Ar(i),e)}};function Ak(){return new Gr(Et(),ae())}function Re(t){return Hs(()=>{let n=t.prototype.constructor,e=n[_s]||Dp(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[_s]||Dp(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Dp(t){return wh(t)?()=>{let n=Dp(_t(t));return n&&n()}:Wi(t)}function Rk(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[le]&2048&&!Go(a);){let s=pC(o,a,e,i|2,Jn);if(s!==Jn)return s;let c=o.parent;if(!c){let l=a[jh];if(l){let u=l.get(e,Jn,i);if(u!==Jn)return u}c=gC(a),a=a[Lr]}o=c}return r}function gC(t){let n=t[J],e=n.type;return e===2?n.declTNode:e===1?t[jt]:null}function rg(t){return Sk(Et(),t)}function Ok(){return na(Et(),ae())}function na(t,n){return new O(un(t,n))}var O=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=Ok}return t})();function _C(t){return t instanceof O?t.nativeElement:t}function Nk(){return this._results[Symbol.iterator]()}var kn=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 x}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,e){return this._results.reduce(n,e)}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,e){this.dirty=!1;let i=By(n);(this._changesDetected=!Ly(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[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]=Nk};function vC(t){return(t.flags&128)===128}var og=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(og||{}),bC=new Map,Pk=0;function Fk(){return Pk++}function Lk(t){bC.set(t[xi],t)}function Ep(t){bC.delete(t[xi])}var M0="__ngContext__";function Xo(t,n){Yn(n)?(t[M0]=n[xi],Lk(n)):t[M0]=n}function yC(t){return wC(t[Uo])}function CC(t){return wC(t[ln])}function wC(t){for(;t!==null&&!In(t);)t=t[ln];return t}var Bk;function ag(t){Bk=t}var tr=new b("",{factory:()=>jk}),jk="ng";var Wd=new b(""),Mi=new b("",{providedIn:"platform",factory:()=>"unknown"}),zs=new b(""),ia=new b("",{factory:()=>d(G).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var xC="r";var DC="di";var EC=!1,IC=new b("",{factory:()=>EC});var Vk=(t,n,e,i)=>{};function Hk(t,n,e,i){Vk(t,n,e,i)}function qd(t){return(t.flags&32)===32}var zk=()=>null;function MC(t,n,e=!1){return zk(t,n,e)}function SC(t,n){let e=t.contentQueries;if(e!==null){let i=ie(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];Ts(o),s.contentQueries(2,n[a],a)}}}finally{ie(i)}}}function Ip(t,n,e){Ts(0);let i=ie(null);try{n(t,e)}finally{ie(i)}}function sg(t,n,e){if(Hh(n)){let i=ie(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let c=e[a];s.contentQueries(1,c,a)}}}finally{ie(i)}}}var An=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(An||{});var Cd;function Uk(){if(Cd===void 0&&(Cd=null,qn.trustedTypes))try{Cd=qn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Cd}function Qd(t){return Uk()?.createHTML(t)||t}var Ii=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Kl})`}},Mp=class extends Ii{getTypeName(){return"HTML"}},Sp=class extends Ii{getTypeName(){return"Style"}},Tp=class extends Ii{getTypeName(){return"Script"}},kp=class extends Ii{getTypeName(){return"URL"}},Ap=class extends Ii{getTypeName(){return"ResourceURL"}};function Si(t){return t instanceof Ii?t.changingThisBreaksApplicationSecurity:t}function Yr(t,n){let e=TC(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Kl})`)}return e===n}function TC(t){return t instanceof Ii&&t.getTypeName()||null}function cg(t){return new Mp(t)}function lg(t){return new Sp(t)}function dg(t){return new Tp(t)}function ug(t){return new kp(t)}function mg(t){return new Ap(t)}function $k(t){let n=new Op(t);return Gk()?new Rp(n):n}var Rp=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Qd(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch(e){return null}}},Op=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Qd(n),e}};function Gk(){try{return!!new window.DOMParser().parseFromString(Qd(""),"text/html")}catch(t){return!1}}var Wk=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zd(t){return t=String(t),t.match(Wk)?t:"unsafe:"+t}function Ti(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Us(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var kC=Ti("area,br,col,hr,img,wbr"),AC=Ti("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),RC=Ti("rp,rt"),qk=Us(RC,AC),Qk=Us(AC,Ti("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")),Zk=Us(RC,Ti("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")),S0=Us(kC,Qk,Zk,qk),OC=Ti("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yk=Ti("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"),Kk=Ti("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"),Xk=Us(OC,Yk,Kk),Jk=Ti("script,style,template"),Np=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=nA(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=tA(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=T0(n).toLowerCase();if(!S0.hasOwnProperty(e))return this.sanitizedSomething=!0,!Jk.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),a=o.name,s=a.toLowerCase();if(!Xk.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let c=o.value;OC[s]&&(c=Zd(c)),this.buf.push(" ",a,'="',k0(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=T0(n).toLowerCase();S0.hasOwnProperty(e)&&!kC.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(k0(n))}};function eA(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function tA(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw NC(n);return n}function nA(t){let n=t.firstChild;if(n&&eA(t,n))throw NC(n);return n}function T0(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function NC(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var iA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rA=/([^\#-~ |!])/g;function k0(t){return t.replace(/&/g,"&").replace(iA,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(rA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var wd;function fg(t,n){let e=null;try{wd=wd||$k(t);let i=n?String(n):"";e=wd.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=wd.getInertBodyElement(i)}while(i!==o);let s=new Np().sanitizeChildren(A0(e)||e);return Qd(s)}finally{if(e){let i=A0(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function A0(t){return"content"in t&&oA(t)?t.content:null}function oA(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var aA=/^>|^->|<!--|-->|--!>|<!-$/g,sA=/(<|>)/g,cA="\u200B$1\u200B";function lA(t){return t.replace(aA,n=>n.replace(sA,cA))}function dA(t,n){return t.createText(n)}function uA(t,n,e){t.setValue(n,e)}function mA(t,n){return t.createComment(lA(n))}function PC(t,n,e){return t.createElement(n,e)}function Nd(t,n,e,i,r){t.insertBefore(n,e,i,r)}function FC(t,n,e){t.appendChild(n,e)}function R0(t,n,e,i,r){i!==null?Nd(t,n,e,i,r):FC(t,n,e)}function LC(t,n,e,i){t.removeChild(null,n,e,i)}function fA(t,n,e){t.setAttribute(n,"style",e)}function hA(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function BC(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&wk(t,n,i),r!==null&&hA(t,n,r),o!==null&&fA(t,n,o)}var Tt=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t})(Tt||{});function jC(t){return t instanceof Function?t():t}function pA(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var VC="ng-template";function gA(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&pA(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(hg(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function hg(t){return t.type===4&&t.value!==VC}function _A(t,n,e){let i=t.type===4&&!e?VC:t.value;return n===i}function vA(t,n,e){let i=4,r=t.attrs,o=r!==null?CA(r):0,a=!1;for(let s=0;s<n.length;s++){let c=n[s];if(typeof c=="number"){if(!a&&!Sn(i)&&!Sn(c))return!1;if(a&&Sn(c))continue;a=!1,i=c|i&1;continue}if(!a)if(i&4){if(i=2|i&1,c!==""&&!_A(t,c,e)||c===""&&n.length===1){if(Sn(i))return!1;a=!0}}else if(i&8){if(r===null||!gA(t,r,c,e)){if(Sn(i))return!1;a=!0}}else{let l=n[++s],u=bA(c,r,hg(t),e);if(u===-1){if(Sn(i))return!1;a=!0;continue}if(l!==""){let m;if(u>o?m="":m=r[u+1].toLowerCase(),i&2&&l!==m){if(Sn(i))return!1;a=!0}}}}return Sn(i)||a}function Sn(t){return(t&1)===0}function bA(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let a=n[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=n[++r];for(;typeof s=="string";)s=n[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return wA(n,t)}function HC(t,n,e=!1){for(let i=0;i<n.length;i++)if(vA(t,n[i],e))return!0;return!1}function yA(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function CA(t){for(let n=0;n<t.length;n++){let e=t[n];if(sC(e))return n}return t.length}function wA(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function xA(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function O0(t,n){return t?":not("+n.trim()+")":n}function DA(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string")if(i&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Sn(a)&&(n+=O0(o,r),r=""),i=a,o=o||!Sn(i);e++}return r!==""&&(n+=O0(o,r)),n}function EA(t){return t.map(DA).join(",")}function IA(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!Sn(r))break;r=o}i++}return e.length&&n.push(1,...e),n}var Ht={};function pg(t,n,e,i,r,o,a,s,c,l,u){let m=Qe+i,h=m+r,f=MA(m,h),C=typeof l=="function"?l():l;return f[J]={type:t,blueprint:f,template:e,queries:null,viewQuery:s,declTNode:n,data:f.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:c,consts:C,incompleteFirstPass:!1,ssrId:u}}function MA(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Ht);return e}function SA(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=pg(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function gg(t,n,e,i,r,o,a,s,c,l,u){let m=n.blueprint.slice();return m[En]=r,m[le]=i|4|128|8|64|1024,(l!==null||t&&t[le]&2048)&&(m[le]|=2048),Gh(m),m[vt]=m[Lr]=t,m[ot]=e,m[wi]=a||t&&t[wi],m[ze]=s||t&&t[ze],m[Ci]=c||t&&t[Ci]||null,m[jt]=o,m[xi]=Fk(),m[Fr]=u,m[jh]=l,m[Vt]=n.type==2?t[Vt]:m,m}function TA(t,n,e){let i=un(n,t),r=SA(e),o=t[wi].rendererFactory,a=_g(t,gg(t,r,null,zC(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=a}function zC(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function UC(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function _g(t,n){return t[Uo]?t[Bh][ln]=n:t[Uo]=n,t[Bh]=n,n}function _(t=1){$C(Ze(),ae(),Kn()+t,!1)}function $C(t,n,e,i){if(!i)if((n[le]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Dd(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Ed(n,o,0,e)}Ji(e)}var Yd=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(Yd||{});function Pp(t,n,e,i){let r=ie(null);try{let[o,a,s]=t.inputs[e],c=null;(a&Yd.SignalBased)!==0&&(c=n[o][xt]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):s!==null&&(i=s.call(n,i)),t.setInput!==null?t.setInput(n,c,i,e,o):tC(n,c,o,i)}finally{ie(r)}}var ei=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(ei||{}),kA;function vg(t,n){return kA(t,n)}var qr=new Set,Kd=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Kd||{}),ni=new b(""),N0=new Set;function ki(t){N0.has(t)||(N0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Xd=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),bg=[0,1,2,3],yg=(()=>{class t{ngZone=d(N);scheduler=d(xn);errorHandler=d(Wt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){d(ni,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Ne(Ee.AfterRenderHooksStart),this.executing=!0;for(let i of bg)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Ne(Ee.AfterRenderHooksEnd)}register(e){let{view:i}=e;i!==void 0?((i[jr]??=[]).push(e),Ur(i),i[le]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Kd.AFTER_NEXT_RENDER,e):e()}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),Fs=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.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?.[jr];n&&(this.view[jr]=n.filter(e=>e!==this))}};function Fe(t,n){let e=n?.injector??d(q);return ki("NgAfterNextRender"),RA(t,e,n,!0)}function AA(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function RA(t,n,e,i){let r=n.get(Xd);r.impl??=n.get(yg);let o=n.get(ni,null,{optional:!0}),a=e?.manualCleanup!==!0?n.get(qt):null,s=n.get(qo,null,{optional:!0}),c=new Fs(r.impl,AA(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(c),c}var Cg=new b("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:d(Be)})});function GC(t,n,e){let i=t.get(Cg);if(Array.isArray(n))for(let r of n)i.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(t)}function OA(t,n){let e=t.get(Cg);if(n.detachedLeaveAnimationFns){for(let i of n.detachedLeaveAnimationFns)e.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}function NA(t,n){for(let[e,i]of n)GC(t,i.animateFns)}function PA(t,n){let e=t.get(Cg);if(Array.isArray(n))for(let i of n)e.queue.delete(i);else e.queue.delete(n)}function P0(t,n,e,i){let r=t?.[Vr]?.enter;n!==null&&r&&r.has(e.index)&&NA(i,r)}function Zo(t,n,e,i,r,o,a,s){if(r!=null){let c,l=!1;In(r)?c=r:Yn(r)&&(l=!0,r=r[En]);let u=dn(r);t===0&&i!==null?(P0(s,i,o,e),a==null?FC(n,i,u):Nd(n,i,u,a||null,!0)):t===1&&i!==null?(P0(s,i,o,e),Nd(n,i,u,a||null,!0)):t===2?F0(s,o,e,m=>{LC(n,u,l,m)}):t===3&&F0(s,o,e,()=>{n.destroyNode(u)}),c!=null&&WA(n,t,e,c,o,i,a)}}function FA(t,n){WC(t,n),n[En]=null,n[jt]=null}function LA(t,n,e,i,r,o){i[En]=r,i[jt]=n,eu(t,i,e,1,r,o)}function WC(t,n){n[wi].changeDetectionScheduler?.notify(9),eu(t,n,n[ze],2,null,null)}function BA(t){let n=t[Uo];if(!n)return fp(t[J],t);for(;n;){let e=null;if(Yn(n))e=n[Uo];else{let i=n[it];i&&(e=i)}if(!e){for(;n&&!n[ln]&&n!==t;)Yn(n)&&fp(n[J],n),n=n[vt];n===null&&(n=t),Yn(n)&&fp(n[J],n),e=n&&n[ln]}n=e}}function wg(t,n){let e=t[Hr],i=e.indexOf(n);e.splice(i,1)}function Jd(t,n){if(zr(n))return;let e=n[ze];e.destroyNode&&eu(t,n,e,3,null,null),BA(n)}function fp(t,n){if(zr(n))return;let e=ie(null);try{n[le]&=-129,n[le]|=256,n[tn]&&zi(n[tn]),HA(t,n),VA(t,n),n[J].type===1&&n[ze].destroy();let i=n[Yi];if(i!==null&&In(n[vt])){i!==n[vt]&&wg(i,n);let r=n[Zn];r!==null&&r.detachView(t)}Ep(n)}finally{ie(e)}}function F0(t,n,e,i){let r=t?.[Vr];if(r?.enter?.has(n.index)&&PA(e,r.enter.get(n.index).animateFns),r==null||r.leave==null||!r.leave.has(n.index))return i(!1);t&&qr.add(t[xi]),GC(e,()=>{if(r.leave&&r.leave.has(n.index)){let a=r.leave.get(n.index),s=[];if(a){for(let c=0;c<a.animateFns.length;c++){let l=a.animateFns[c],{promise:u}=l();s.push(u)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),jA(t,i)}else t&&qr.delete(t[xi]),i(!1)},r)}function jA(t,n){let e=t[Vr]?.running;if(e){e.then(()=>{t[Vr].running=void 0,qr.delete(t[xi]),n(!0)});return}n(!1)}function VA(t,n){let e=t.cleanup,i=n[zo];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[e[a+1]];e[a].call(s)}i!==null&&(n[zo]=null);let r=n[_i];if(r!==null){n[_i]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=n[qi];if(o!==null){n[qi]=null;for(let a of o)a.destroy()}}function HA(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof Wr)){let o=e[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],c=o[a+1];Ne(Ee.LifecycleHookStart,s,c);try{c.call(s)}finally{Ne(Ee.LifecycleHookEnd,s,c)}}else{Ne(Ee.LifecycleHookStart,r,o);try{o.call(r)}finally{Ne(Ee.LifecycleHookEnd,r,o)}}}}}function qC(t,n,e){return zA(t,n.parent,e)}function zA(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[En];if(Di(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===An.None||r===An.Emulated)return null}return un(i,e)}function QC(t,n,e){return $A(t,n,e)}function UA(t,n,e){return t.type&40?un(t,e):null}var $A=UA,L0;function xg(t,n,e,i){let r=qC(t,i,n),o=n[ze],a=i.parent||n[jt],s=QC(a,i,n);if(r!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)R0(o,r,e[c],s,!1);else R0(o,r,e,s,!1);L0!==void 0&&L0(o,i,n,e,r)}function Os(t,n){if(n!==null){let e=n.type;if(e&3)return un(n,t);if(e&4)return Fp(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Os(t,i);{let r=t[n.index];return In(r)?Fp(-1,r):dn(r)}}else{if(e&128)return Os(t,n.next);if(e&32)return vg(n,t)()||dn(t[n.index]);{let i=ZC(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Qi(t[Vt]);return Os(r,i)}else return Os(t,n.next)}}}return null}function ZC(t,n){if(n!==null){let i=t[Vt][jt],r=n.projection;return i.projection[r]}return null}function Fp(t,n){let e=it+t+1;if(e<n.length){let i=n[e],r=i[J].firstChild;if(r!==null)return Os(i,r)}return n[Ki]}function Dg(t,n,e,i,r,o,a){for(;e!=null;){let s=i[Ci];if(e.type===128){e=e.next;continue}let c=i[e.index],l=e.type;if(a&&n===0&&(c&&Xo(dn(c),i),e.flags|=2),!qd(e))if(l&8)Dg(t,n,e.child,i,r,o,!1),Zo(n,t,s,r,c,e,o,i);else if(l&32){let u=vg(e,i),m;for(;m=u();)Zo(n,t,s,r,m,e,o,i);Zo(n,t,s,r,c,e,o,i)}else l&16?YC(t,n,i,e,r,o):Zo(n,t,s,r,c,e,o,i);e=a?e.projectionNext:e.next}}function eu(t,n,e,i,r,o){Dg(e,i,t.firstChild,n,r,o,!1)}function GA(t,n,e){let i=n[ze],r=qC(t,e,n),o=e.parent||n[jt],a=QC(o,e,n);YC(i,0,n,e,r,a)}function YC(t,n,e,i,r,o){let a=e[Vt],c=a[jt].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Zo(n,t,e[Ci],r,u,i,o,e)}else{let l=c,u=a[vt];vC(i)&&(l.flags|=128),Dg(t,n,l,u,r,o,!0)}}function WA(t,n,e,i,r,o,a){let s=i[Ki],c=dn(i);s!==c&&Zo(n,t,e,o,s,r,a);for(let l=it;l<i.length;l++){let u=i[l];eu(u[J],u,t,n,o,s)}}function qA(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:ei.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=ei.Important),t.setStyle(e,i,r,o))}}function KC(t,n,e,i,r){let o=Kn(),a=i&2;try{Ji(-1),a&&n.length>Qe&&$C(t,n,Qe,!1);let s=a?Ee.TemplateUpdateStart:Ee.TemplateCreateStart;Ne(s,r,e),e(i,r)}finally{Ji(o);let s=a?Ee.TemplateUpdateEnd:Ee.TemplateCreateEnd;Ne(s,r,e)}}function tu(t,n,e){JA(t,n,e),(e.flags&64)===64&&eR(t,n,e)}function $s(t,n,e=un){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],s=a===-1?e(n,t):t[a];t[r++]=s}}}function QA(t,n,e,i){let o=i.get(IC,EC)||e===An.ShadowDom||e===An.ExperimentalIsolatedShadowDom,a=t.selectRootElement(n,o);return ZA(a),a}function ZA(t){YA(t)}var YA=()=>null;function KA(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function XA(t,n,e,i,r,o){let a=n[J];if(nu(t,a,n,e,i)){Di(t)&&JC(n,t.index);return}t.type&3&&(e=KA(e)),XC(t,n,e,i,r,o)}function XC(t,n,e,i,r,o){if(t.type&3){let a=un(t,n);i=o!=null?o(i,t.value||"",e):i,r.setProperty(a,e,i)}else t.type&12}function JC(t,n){let e=mn(n,t);e[le]&16||(e[le]|=64)}function JA(t,n,e){let i=e.directiveStart,r=e.directiveEnd;Di(e)&&TA(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||Od(e,n);let o=e.initialInputs;for(let a=i;a<r;a++){let s=t.data[a],c=Ps(n,t,a,e);if(Xo(c,n),o!==null&&iR(n,a-i,c,s,e,o),Mn(s)){let l=mn(e.index,n);l[ot]=Ps(n,t,a,e)}}}function eR(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,a=s0();try{Ji(o);for(let s=i;s<r;s++){let c=t.data[s],l=n[s];fd(s),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&tR(c,l)}}finally{Ji(-1),fd(a)}}function tR(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Eg(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];HC(n,o.selectors,!1)&&(i??=[],Mn(o)?i.unshift(o):i.push(o))}return i}function nR(t,n,e,i,r,o){let a=un(t,n);ew(n[ze],a,o,t.value,e,i,r)}function ew(t,n,e,i,r,o,a){if(o==null)t.removeAttribute(n,r,e);else{let s=a==null?xs(o):a(o,i||"",r);t.setAttribute(n,r,s,e)}}function iR(t,n,e,i,r,o){let a=o[n];if(a!==null)for(let s=0;s<a.length;s+=2){let c=a[s],l=a[s+1];Pp(i,e,c,l)}}function Ig(t,n,e,i,r){let o=Qe+e,a=n[J],s=r(a,n,t,i,e);n[o]=s,Wo(t,!0);let c=t.type===2;return c?(BC(n[ze],s,t),(Jy()===0||$o(t))&&Xo(s,n),e0()):Xo(s,n),_d()&&(!c||!qd(t))&&xg(a,n,s,t),t}function Mg(t){let n=t;return tp()?np():(n=n.parent,Wo(n,!1)),n}function rR(t,n){let e=t[Ci];if(!e)return;let i;try{i=e.get(fn,null)}catch(r){i=null}i?.(n)}function nu(t,n,e,i,r){let o=t.inputs?.[i],a=t.hostDirectiveInputs?.[i],s=!1;if(a)for(let c=0;c<a.length;c+=2){let l=a[c],u=a[c+1],m=n.data[l];Pp(m,e[l],u,r),s=!0}if(o)for(let c of o){let l=e[c],u=n.data[c];Pp(u,l,i,r),s=!0}return s}function oR(t,n){let e=mn(n,t),i=e[J];aR(i,e);let r=e[En];r!==null&&e[Fr]===null&&(e[Fr]=MC(r,e[Ci])),Ne(Ee.ComponentStart);try{Sg(i,e,e[ot])}finally{Ne(Ee.ComponentEnd,e[ot])}}function aR(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Sg(t,n,e){pd(n);try{let i=t.viewQuery;i!==null&&Ip(1,i,e);let r=t.template;r!==null&&KC(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Zn]?.finishViewCreation(t),t.staticContentQueries&&SC(t,n),t.staticViewQueries&&Ip(2,t.viewQuery,e);let o=t.components;o!==null&&sR(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[le]&=-5,gd()}}function sR(t,n){for(let e=0;e<n.length;e++)oR(t,n[e])}function Gs(t,n,e,i){let r=ie(null);try{let o=n.tView,s=t[le]&4096?4096:16,c=gg(t,o,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),l=t[n.index];c[Yi]=l;let u=t[Zn];return u!==null&&(c[Zn]=u.createEmbeddedView(o)),Sg(o,c,e),c}finally{ie(r)}}function Jo(t,n){return!n||n.firstChild===null||vC(t)}function Ls(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(dn(o)),In(o)&&tw(o,i);let a=e.type;if(a&8)Ls(t,n,e.child,i);else if(a&32){let s=vg(e,n),c;for(;c=s();)i.push(c)}else if(a&16){let s=ZC(n,e);if(Array.isArray(s))i.push(...s);else{let c=Qi(n[Vt]);Ls(c[J],c,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function tw(t,n){for(let e=it;e<t.length;e++){let i=t[e],r=i[J].firstChild;r!==null&&Ls(i[J],i,r,n)}t[Ki]!==t[En]&&n.push(t[Ki])}function nw(t){if(t[jr]!==null){for(let n of t[jr])n.impl.addSequence(n);t[jr].length=0}}var iw=[];function cR(t){return t[tn]??lR(t)}function lR(t){let n=iw.pop()??Object.create(uR);return n.lView=t,n}function dR(t){t.lView[tn]!==t&&(t.lView=null,iw.push(t))}var uR=te(y({},wo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Ur(t.lView)},consumerOnSignalRead(){this.lView[tn]=this}});function mR(t){let n=t[tn]??Object.create(fR);return n.lView=t,n}var fR=te(y({},wo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Qi(t.lView);for(;n&&!rw(n[J]);)n=Qi(n);n&&Wh(n)},consumerOnSignalRead(){this.lView[tn]=this}});function rw(t){return t.type!==2}function ow(t){if(t[qi]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[qi])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[le]&8192)}}var hR=100;function aw(t,n=0){let i=t[wi].rendererFactory,r=!1;r||i.begin?.();try{pR(t,n)}finally{r||i.end?.()}}function pR(t,n){let e=ip();try{bs(!0),Lp(t,n);let i=0;for(;Ss(t);){if(i===hR)throw new A(103,!1);i++,Lp(t,1)}}finally{bs(e)}}function gR(t,n,e,i){if(zr(n))return;let r=n[le],o=!1,a=!1;pd(n);let s=!0,c=null,l=null;o||(rw(t)?(l=cR(n),c=Cr(l)):_l()===null?(s=!1,l=mR(n),c=Cr(l)):n[tn]&&(zi(n[tn]),n[tn]=null));try{Gh(n),r0(t.bindingStartIndex),e!==null&&KC(t,n,e,2,i);let u=(r&3)===3;if(!o)if(u){let f=t.preOrderCheckHooks;f!==null&&Dd(n,f,null)}else{let f=t.preOrderHooks;f!==null&&Ed(n,f,0,null),up(n,0)}if(a||_R(n),ow(n),sw(n,0),t.contentQueries!==null&&SC(t,n),!o)if(u){let f=t.contentCheckHooks;f!==null&&Dd(n,f)}else{let f=t.contentHooks;f!==null&&Ed(n,f,1),up(n,1)}bR(t,n);let m=t.components;m!==null&&lw(n,m,0);let h=t.viewQuery;if(h!==null&&Ip(2,h,i),!o)if(u){let f=t.viewCheckHooks;f!==null&&Dd(n,f)}else{let f=t.viewHooks;f!==null&&Ed(n,f,2),up(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[ad]){for(let f of n[ad])f();n[ad]=null}o||(nw(n),n[le]&=-73)}catch(u){throw o||Ur(n),u}finally{l!==null&&(Do(l,c),s&&dR(l)),gd()}}function sw(t,n){for(let e=yC(t);e!==null;e=CC(e))for(let i=it;i<e.length;i++){let r=e[i];cw(r,n)}}function _R(t){for(let n=yC(t);n!==null;n=CC(n)){if(!(n[le]&2))continue;let e=n[Hr];for(let i=0;i<e.length;i++){let r=e[i];Wh(r)}}}function vR(t,n,e){Ne(Ee.ComponentStart);let i=mn(n,t);try{cw(i,e)}finally{Ne(Ee.ComponentEnd,i[ot])}}function cw(t,n){cd(t)&&Lp(t,n)}function Lp(t,n){let i=t[J],r=t[le],o=t[tn],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&Eo(o)),a||=!1,o&&(o.dirty=!1),t[le]&=-9217,a)gR(i,t,i.template,t[ot]);else if(r&8192){let s=ie(null);try{ow(t),sw(t,1);let c=i.components;c!==null&&lw(t,c,1),nw(t)}finally{ie(s)}}}function lw(t,n,e){for(let i=0;i<n.length;i++)vR(t,n[i],e)}function bR(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Ji(~r);else{let o=r,a=e[++i],s=e[++i];a0(a,o);let c=n[o];Ne(Ee.HostBindingsUpdateStart,c);try{s(2,c)}finally{Ne(Ee.HostBindingsUpdateEnd,c)}}}}finally{Ji(-1)}}function Tg(t,n){let e=ip()?64:1088;for(t[wi].changeDetectionScheduler?.notify(n);t;){t[le]|=e;let i=Qi(t);if(Go(t)&&!i)return t;t=i}return null}function dw(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function uw(t,n){let e=it+n;if(e<t.length)return t[e]}function Ws(t,n,e,i=!0){let r=n[J];if(yR(r,n,t,e),i){let a=Fp(e,t),s=n[ze],c=s.parentNode(t[Ki]);c!==null&&LA(r,t[jt],s,n,c,a)}let o=n[Fr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function mw(t,n){let e=Bs(t,n);return e!==void 0&&Jd(e[J],e),e}function Bs(t,n){if(t.length<=it)return;let e=it+n,i=t[e];if(i){let r=i[Yi];r!==null&&r!==t&&wg(r,i),n>0&&(t[e-1][ln]=i[ln]);let o=Ds(t,it+n);FA(i[J],i);let a=o[Zn];a!==null&&a.detachView(o[J]),i[vt]=null,i[ln]=null,i[le]&=-129}return i}function yR(t,n,e,i){let r=it+i,o=e.length;i>0&&(e[r-1][ln]=n),i<o-it?(n[ln]=e[r],Rh(e,it+i,n)):(e.push(n),n[ln]=null),n[vt]=e;let a=n[Yi];a!==null&&e!==a&&fw(a,n);let s=n[Zn];s!==null&&s.insertView(t),ld(n),n[le]|=128}function fw(t,n){let e=t[Hr],i=n[vt];if(Yn(i))t[le]|=2;else{let r=i[vt][Vt];n[Vt]!==r&&(t[le]|=2)}e===null?t[Hr]=[n]:e.push(n)}var er=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[J];return Ls(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[ot]}set context(n){this._lView[ot]=n}get destroyed(){return zr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[vt];if(In(n)){let e=n[Is],i=e?e.indexOf(this):-1;i>-1&&(Bs(n,i),Ds(e,i))}this._attachedToViewContainer=!1}Jd(this._lView[J],this._lView)}onDestroy(n){qh(this._lView,n)}markForCheck(){Tg(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[le]&=-129}reattach(){ld(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,aw(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Go(this._lView),e=this._lView[Yi];e!==null&&!n&&wg(e,this._lView),WC(this._lView[J],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n;let e=Go(this._lView),i=this._lView[Yi];i!==null&&!e&&fw(i,this._lView),ld(this._lView)}};var ke=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=CR;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Gs(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new er(o)}}return t})();function CR(){return iu(Et(),ae())}function iu(t,n){return t.type&4?new ke(n,t,na(t,n)):null}function ra(t,n,e,i,r){let o=t.data[n];if(o===null)o=wR(t,n,e,i,r),o0()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=t0();o.injectorIndex=a===null?-1:a.injectorIndex}return Wo(o,!0),o}function wR(t,n,e,i,r){let o=ep(),a=tp(),s=a?o:o&&o.parent,c=t.data[n]=DR(t,s,e,n,i,r);return xR(t,c,o,a),c}function xR(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function DR(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return Kh()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,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 ER(t){let n=t[Vh]??[],i=t[vt][ze],r=[];for(let o of n)o.data[DC]!==void 0?r.push(o):IR(o,i);t[Vh]=r}function IR(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[xC];for(;e<r;){let o=i.nextSibling;LC(n,i,!1),i=o,e++}}}var MR=()=>null,SR=()=>null;function Pd(t,n){return MR(t,n)}function hw(t,n,e){return SR(t,n,e)}var pw=class{},ru=class{},Bp=class{resolveComponentFactory(n){throw new A(917,!1)}},qs=class{static NULL=new Bp},Mt=class{},Ge=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>TR()}return t})();function TR(){let t=ae(),n=Et(),e=mn(n.index,t);return(Yn(e)?e:t)[ze]}var gw=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>null})}return t})();var Md={},jp=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,Md,i);return r!==Md||e===Md?r:this.parentInjector.get(n,e,i)}};function Fd(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let a=0;a<n.length;a++){let s=n[a];if(typeof s=="number")o=s;else if(o==1)r=Xl(r,s);else if(o==2){let c=s,l=n[++a];i=Xl(i,c+": "+l+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function bt(t,n=0){let e=ae();if(e===null)return K(t,n);let i=Et();return hC(i,e,_t(t),n)}function _w(t,n,e,i,r){let o=i===null?null:{"":-1},a=r(t,e);if(a!==null){let s=a,c=null,l=null;for(let u of a)if(u.resolveHostDirectives!==null){[s,c,l]=u.resolveHostDirectives(a);break}RR(t,n,e,s,o,c,l)}o!==null&&i!==null&&kR(e,i,o)}function kR(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new A(-301,!1);i.push(n[r],o)}}function AR(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function RR(t,n,e,i,r,o,a){let s=i.length,c=null;for(let h=0;h<s;h++){let f=i[h];c===null&&Mn(f)&&(c=f,AR(t,e,h)),xp(Od(e,n),t,f.type)}BR(e,t.data.length,s),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<s;h++){let f=i[h];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,m=UC(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let h=0;h<s;h++){let f=i[h];if(e.mergedAttrs=Ko(e.mergedAttrs,f.hostAttrs),NR(t,e,n,m,f),LR(m,f,r),a!==null&&a.has(f)){let[E,M]=a.get(f);e.directiveToIndex.set(f.type,[m,E+e.directiveStart,M+e.directiveStart])}else(o===null||!o.has(f))&&e.directiveToIndex.set(f.type,m);f.contentQueries!==null&&(e.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(e.flags|=64);let C=f.type.prototype;!l&&(C.ngOnChanges||C.ngOnInit||C.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),l=!0),!u&&(C.ngOnChanges||C.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),u=!0),m++}OR(t,e,o)}function OR(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))B0(0,n,r,i),B0(1,n,r,i),V0(n,i,!1);else{let o=e.get(r);j0(0,n,o,i),j0(1,n,o,i),V0(n,i,!0)}}}function B0(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=n.inputs??={}:a=n.outputs??={},a[o]??=[],a[o].push(i),vw(n,o)}}function j0(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=n.hostDirectiveInputs??={}:s=n.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,o),vw(n,a)}}function vw(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function V0(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||hg(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let a=null,s=0;for(;s<i.length;){let c=i[s];if(c===0){s+=4;continue}else if(c===5){s+=2;continue}else if(typeof c=="number")break;if(!e&&r.hasOwnProperty(c)){let l=r[c];for(let u of l)if(u===n){a??=[],a.push(c,i[s+1]);break}}else if(e&&o.hasOwnProperty(c)){let l=o[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){a??=[],a.push(l[u+1],i[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(a)}function NR(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=Wi(r.type,!0)),a=new Wr(o,Mn(r),bt,null);t.blueprint[i]=a,e[i]=a,PR(t,n,i,UC(t,e,r.hostVars,Ht),r)}function PR(t,n,e,i,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~n.index;FR(a)!=s&&a.push(s),a.push(e,i,o)}}function FR(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function LR(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Mn(n)&&(e[""]=t)}}function BR(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function kg(t,n,e,i,r,o,a,s){let c=n[J],l=c.consts,u=nn(l,a),m=ra(c,t,e,i,u);return o&&_w(c,n,m,nn(l,s),r),m.mergedAttrs=Ko(m.mergedAttrs,m.attrs),m.attrs!==null&&Fd(m,m.attrs,!1),m.mergedAttrs!==null&&Fd(m,m.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,m),m}function Ag(t,n){oC(t,n),Hh(n)&&t.queries.elementEnd(n)}function jR(t,n,e,i,r,o){let a=n.consts,s=nn(a,r),c=ra(n,t,e,i,s);if(c.mergedAttrs=Ko(c.mergedAttrs,c.attrs),o!=null){let l=nn(a,o);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Fd(c,c.attrs,!1),c.mergedAttrs!==null&&Fd(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Rg(t){return yw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function bw(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function yw(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Og(t,n,e){return t[n]=e}function VR(t,n){return t[n]}function hn(t,n,e){if(e===Ht)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Cw(t,n,e,i){let r=hn(t,n,e);return hn(t,n+1,i)||r}function Sd(t,n,e){return function i(r){let o=Di(t)?mn(t.index,n):n;Tg(o,5);let a=n[ot],s=H0(n,a,e,r),c=i.__ngNextListenerFn__;for(;c;)s=H0(n,a,c,r)&&s,c=c.__ngNextListenerFn__;return s}}function H0(t,n,e,i){let r=ie(null);try{return Ne(Ee.OutputStart,n,e),e(i)!==!1}catch(o){return rR(t,o),!1}finally{Ne(Ee.OutputEnd,n,e),ie(r)}}function ww(t,n,e,i,r,o,a,s){let c=$o(t),l=!1,u=null;if(!i&&c&&(u=zR(n,e,o,t.index)),u!==null){let m=u.__ngLastListenerFn__||u;m.__ngNextListenerFn__=a,u.__ngLastListenerFn__=a,l=!0}else{let m=un(t,e),h=i?i(m):m;Hk(e,h,o,s);let f=r.listen(h,o,s);if(!HR(o)){let C=i?E=>i(dn(E[t.index])):t.index;xw(C,n,e,o,s,f,!1)}}return l}function HR(t){return t.startsWith("animation")||t.startsWith("transition")}function zR(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===i){let s=n[zo],c=r[o+2];return s&&s.length>c?s[c]:null}typeof a=="string"&&(o+=2)}return null}function xw(t,n,e,i,r,o,a){let s=n.firstCreatePass?Zh(n):null,c=Qh(e),l=c.length;c.push(r,o),s&&s.push(i,t,l,(l+1)*(a?-1:1))}function z0(t,n,e,i,r,o){let a=n[e],s=n[J],l=s.data[e].outputs[i],m=a[l].subscribe(o);xw(t.index,s,n,r,o,m,!0)}var Vp=Symbol("BINDING");var Ld=class extends qs{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=bi(n);return new Qr(e,this.ngModule)}};function UR(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Yd.SignalBased)!==0};return r&&(o.transform=r),o})}function $R(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function GR(t,n,e){let i=n instanceof Be?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new jp(e,i):e}function WR(t){let n=t.get(Mt,null);if(n===null)throw new A(407,!1);let e=t.get(gw,null),i=t.get(xn,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function qR(t,n){let e=Dw(t);return PC(n,e,e==="svg"?zh:e==="math"?qy:null)}function Dw(t){return(t.selectors[0][0]||"div").toLowerCase()}var Qr=class extends ru{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=UR(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=$R(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=EA(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a){Ne(Ee.DynamicComponentStart);let s=ie(null);try{let c=this.componentDef,l=QR(i,c,a,o),u=GR(c,r||this.ngModule,n),m=WR(u),h=m.rendererFactory.createRenderer(null,c),f=i?QA(h,i,c.encapsulation,u):qR(c,h),C=a?.some(U0)||o?.some(S=>typeof S!="function"&&S.bindings.some(U0)),E=gg(null,l,null,512|zC(c),null,null,m,h,u,null,MC(f,u,!0));E[Qe]=f,pd(E);let M=null;try{let S=kg(Qe,E,2,"#host",()=>l.directiveRegistry,!0,0);BC(h,f,S),Xo(f,E),tu(l,E,S),sg(l,S,E),Ag(l,S),e!==void 0&&YR(S,this.ngContentSelectors,e),M=mn(S.index,E),E[ot]=M[ot],Sg(l,E,null)}catch(S){throw M!==null&&Ep(M),Ep(E),S}finally{Ne(Ee.DynamicComponentEnd),gd()}return new Bd(this.componentType,E,!!C)}finally{ie(s)}}};function QR(t,n,e,i){let r=t?["ng-version","21.1.5"]:IA(n.selectors[0]),o=null,a=null,s=0;if(e)for(let u of e)s+=u[Vp].requiredVars,u.create&&(u.targetIdx=0,(o??=[]).push(u)),u.update&&(u.targetIdx=0,(a??=[]).push(u));if(i)for(let u=0;u<i.length;u++){let m=i[u];if(typeof m!="function")for(let h of m.bindings){s+=h[Vp].requiredVars;let f=u+1;h.create&&(h.targetIdx=f,(o??=[]).push(h)),h.update&&(h.targetIdx=f,(a??=[]).push(h))}}let c=[n];if(i)for(let u of i){let m=typeof u=="function"?u:u.type,h=ed(m);c.push(h)}return pg(0,null,ZR(o,a),1,s,c,null,null,null,[r],null)}function ZR(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function U0(t){let n=t[Vp].kind;return n==="input"||n==="twoWay"}var Bd=class extends pw{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=Ms(e[J],Qe),this.location=na(this._tNode,e),this.instance=mn(this._tNode.index,e)[ot],this.hostView=this.changeDetectorRef=new er(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=nu(i,r[J],r,n,e);this.previousInputValues.set(n,e);let a=mn(i.index,r);Tg(a,1)}get injector(){return new Gr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function YR(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}var Ue=(()=>{class t{static __NG_ELEMENT_ID__=KR}return t})();function KR(){let t=Et();return Iw(t,ae())}var XR=Ue,Ew=class extends XR{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return na(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){let n=ig(this._hostTNode,this._hostLView);if(cC(n)){let e=Ad(n,this._hostLView),i=kd(n),r=e[J].data[i+8];return new Gr(r,e)}else return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=$0(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-it}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Pd(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,Jo(this._hostTNode,a)),s}createComponent(n,e,i,r,o,a,s){let c=n&&!hk(n),l;if(c)l=e;else{let M=e||{};l=M.index,i=M.injector,r=M.projectableNodes,o=M.environmentInjector||M.ngModuleRef,a=M.directives,s=M.bindings}let u=c?n:new Qr(bi(n)),m=i||this.parentInjector;if(!o&&u.ngModule==null){let S=(c?m:this.parentInjector).get(Be,null);S&&(o=S)}let h=bi(u.componentType??{}),f=Pd(this._lContainer,h?.id??null),C=f?.firstChild??null,E=u.create(m,r,C,o,a,s);return this.insertImpl(E.hostView,l,Jo(this._hostTNode,f)),E}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(Zy(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let c=r[vt],l=new Ew(c,c[jt],c[vt]);l.detach(l.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return Ws(a,r,o,i),n.attachToViewContainerRef(),Rh(hp(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=$0(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Bs(this._lContainer,e);i&&(Ds(hp(this._lContainer),e),Jd(i[J],i))}detach(n){let e=this._adjustIndex(n,-1),i=Bs(this._lContainer,e);return i&&Ds(hp(this._lContainer),e)!=null?new er(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function $0(t){return t[Is]}function hp(t){return t[Is]||(t[Is]=[])}function Iw(t,n){let e,i=n[t.index];return In(i)?e=i:(e=dw(i,n,null,t),n[t.index]=e,_g(n,e)),e1(e,n,t,i),new Ew(e,t,n)}function JR(t,n){let e=t[ze],i=e.createComment(""),r=un(n,t),o=e.parentNode(r);return Nd(e,o,i,e.nextSibling(r),!1),i}var e1=i1,t1=()=>!1;function n1(t,n,e){return t1(t,n,e)}function i1(t,n,e,i){if(t[Ki])return;let r;e.type&8?r=dn(i):r=JR(n,e),t[Ki]=r}var Hp=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},zp=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)Pg(n,e).matches!==null&&this.queries[e].setDirty()}},jd=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=c1(n):this.predicate=n}},Up=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},$p=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,r1(e,o)),this.matchTNodeWithReadOption(n,e,Id(e,n,o,!1,!1))}else i===ke?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Id(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===O||r===Ue||r===ke&&e.type&4)this.addMatch(e.index,-2);else{let o=Id(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function r1(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function o1(t,n){return t.type&11?na(t,n):t.type&4?iu(t,n):null}function a1(t,n,e,i){return e===-1?o1(n,t):e===-2?s1(t,n,i):Ps(t,t[J],e,n)}function s1(t,n,e){if(e===O)return na(n,t);if(e===ke)return iu(n,t);if(e===Ue)return Iw(n,t)}function Mw(t,n,e,i){let r=n[Zn].queries[i];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let c=0;a!==null&&c<a.length;c+=2){let l=a[c];if(l<0)s.push(null);else{let u=o[l];s.push(a1(n,u,a[c+1],e.metadata.read))}}r.matches=s}return r.matches}function Gp(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=Mw(t,n,r,e);for(let s=0;s<o.length;s+=2){let c=o[s];if(c>0)i.push(a[s/2]);else{let l=o[s+1],u=n[-c];for(let m=it;m<u.length;m++){let h=u[m];h[Yi]===h[vt]&&Gp(h[J],h,l,i)}if(u[Hr]!==null){let m=u[Hr];for(let h=0;h<m.length;h++){let f=m[h];Gp(f[J],f,l,i)}}}}}return i}function Ng(t,n){return t[Zn].queries[n].queryList}function Sw(t,n,e){let i=new kn((e&4)===4);return Xy(t,n,i,i.destroy),(n[Zn]??=new zp).queries.push(new Hp(i))-1}function Tw(t,n,e){let i=Ze();return i.firstCreatePass&&(Aw(i,new jd(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),Sw(i,ae(),n)}function kw(t,n,e,i){let r=Ze();if(r.firstCreatePass){let o=Et();Aw(r,new jd(n,e,i),o.index),l1(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return Sw(r,ae(),e)}function c1(t){return t.split(",").map(n=>n.trim())}function Aw(t,n,e){t.queries===null&&(t.queries=new Up),t.queries.track(new $p(n,e))}function l1(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function Pg(t,n){return t.queries.getByIndex(n)}function Rw(t,n){let e=t[J],i=Pg(e,n);return i.crossesNgTemplate?Gp(e,t,n,[]):Mw(e,t,i,n)}function Ow(t,n,e){let i,r=Xa(()=>{i._dirtyCounter();let o=d1(i,t);if(n&&o===void 0)throw new A(-951,!1);return o});return i=r[xt],i._dirtyCounter=X(0),i._flatValue=void 0,r}function Fg(t){return Ow(!0,!1,t)}function Lg(t){return Ow(!0,!0,t)}function Nw(t,n){let e=t[xt];e._lView=ae(),e._queryIndex=n,e._queryList=Ng(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function d1(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[le]&4)return n?void 0:Nt;let r=Ng(e,i),o=Rw(e,i);return r.reset(o,_C),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var ti=class{},ou=class{};var Vd=class extends ti{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ld(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=Th(n);this._bootstrapComponents=jC(o.bootstrap),this._r3Injector=ap(n,e,[{provide:ti,useValue:this},{provide:qs,useValue:this.componentFactoryResolver},...i],vi(n),new Set(["environment"])),r&&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(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Hd=class extends ou{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Vd(this.moduleType,n,[])}};var js=class extends ti{injector;componentFactoryResolver=new Ld(this);instance=null;constructor(n){super();let e=new Or([...n.providers,{provide:ti,useValue:this},{provide:qs,useValue:this.componentFactoryResolver}],n.parent||Ho(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Qs(t,n,e=null){return new js({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var u1=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Ph(!1,e.type),r=i.length>0?Qs([i],this._injector,""):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:t,providedIn:"environment",factory:()=>new t(K(Be))})}return t})();function R(t){return Hs(()=>{let n=Pw(t),e=te(y({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===og.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(u1).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||An.Emulated,styles:t.styles||Nt,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&ki("NgStandalone"),Fw(e);let i=t.dependencies;return e.directiveDefs=G0(i,m1),e.pipeDefs=G0(i,Oy),e.id=p1(e),e})}function m1(t){return bi(t)||ed(t)}function V(t){return Hs(()=>({type:t.type,bootstrap:t.bootstrap||Nt,declarations:t.declarations||Nt,imports:t.imports||Nt,exports:t.exports||Nt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function f1(t,n){if(t==null)return Dn;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,a,s,c;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,c=r[3]||null):(o=r,a=r,s=Yd.None,c=null),e[o]=[i,s,c],n[o]=a}return e}function h1(t){if(t==null)return Dn;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function I(t){return Hs(()=>{let n=Pw(t);return Fw(n),n})}function au(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Pw(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Dn,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Nt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:f1(t.inputs,n),outputs:h1(t.outputs),debugInfo:null}}function Fw(t){t.features?.forEach(n=>n(t))}function G0(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function p1(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Bg(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=g1,e.hostDirectives=i?t.map(Wp):[t]):i?e.hostDirectives.unshift(...t.map(Wp)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function g1(t){let n=[],e=!1,i=null,r=null;for(let o=0;o<t.length;o++){let a=t[o];if(a.hostDirectives!==null){let s=n.length;i??=new Map,r??=new Map,Lw(a,n,i),r.set(a,[s,n.length-1])}o===0&&Mn(a)&&(e=!0,n.push(a))}for(let o=e?1:0;o<t.length;o++)n.push(t[o]);return[n,i,r]}function Lw(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)W0(Wp(o),n,e)}else W0(i,n,e)}function W0(t,n,e){let i=ed(t.directive);_1(i.declaredInputs,t.inputs),Lw(i,n,e),e.set(i,t),n.push(i)}function Wp(t){return typeof t=="function"?{directive:_t(t),inputs:Dn,outputs:Dn}:{directive:_t(t.directive),inputs:q0(t.inputs),outputs:q0(t.outputs)}}function q0(t){if(t===void 0||t.length===0)return Dn;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function _1(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r}}function v1(t){return Object.getPrototypeOf(t.prototype).constructor}function oe(t){let n=v1(t.type),e=!0,i=[t];for(;n;){let r;if(Mn(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new A(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let a=t;a.inputs=pp(t.inputs),a.declaredInputs=pp(t.declaredInputs),a.outputs=pp(t.outputs);let s=r.hostBindings;s&&x1(t,s);let c=r.viewQuery,l=r.contentQueries;if(c&&C1(t,c),l&&w1(t,l),b1(t,r),Ry(t.outputs,r.outputs),Mn(r)&&r.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let s=o[a];s&&s.ngInherit&&s(t),s===oe&&(e=!1)}}n=Object.getPrototypeOf(n)}y1(i)}function b1(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function y1(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Ko(r.hostAttrs,e=Ko(e,r.hostAttrs))}}function pp(t){return t===Dn?{}:t===Nt?[]:t}function C1(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function w1(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function x1(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function Bw(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=Ko(t.mergedAttrs,t.attrs);let u=t.tView=pg(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),u.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),Wo(t,!1);let c=E1(e,n,t,i);_d()&&xg(e,n,c,t),Xo(c,n);let l=dw(c,n,c,t);n[i+Qe]=l,_g(n,l),n1(l,t,n)}function D1(t,n,e,i,r,o,a,s,c,l,u){let m=e+Qe,h;return n.firstCreatePass?(h=ra(n,m,4,a||null,s||null),dd()&&_w(n,t,h,nn(n.consts,l),Eg),oC(n,h)):h=n.data[m],Bw(h,t,n,e,i,r,o,c),$o(h)&&tu(n,t,h),l!=null&&$s(t,h,u),h}function ea(t,n,e,i,r,o,a,s,c,l,u){let m=e+Qe,h;if(n.firstCreatePass){if(h=ra(n,m,4,a||null,s||null),l!=null){let f=nn(n.consts,l);h.localNames=[];for(let C=0;C<f.length;C+=2)h.localNames.push(f[C],-1)}}else h=n.data[m];return Bw(h,t,n,e,i,r,o,c),l!=null&&$s(t,h,u),h}function Ce(t,n,e,i,r,o,a,s){let c=ae(),l=Ze(),u=nn(l.consts,o);return D1(c,l,t,n,e,i,r,u,void 0,a,s),Ce}function su(t,n,e,i,r,o,a,s){let c=ae(),l=Ze(),u=nn(l.consts,o);return ea(c,l,t,n,e,i,r,u,void 0,a,s),su}var E1=I1;function I1(t,n,e,i){return As(!0),n[ze].createComment("")}var cu=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function oa(t){return typeof t=="function"&&t[xt]!==void 0}var jg=new b("");function nr(t){return!!t&&typeof t.then=="function"}function Vg(t){return!!t&&typeof t.subscribe=="function"}var jw=new b("");var Hg=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=d(jw,{optional:!0})??[];injector=d(q);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Dt(this.injector,r);if(nr(o))e.push(o);else if(Vg(o)){let a=new Promise((s,c)=>{o.subscribe({complete:s,error:c})});e.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),lu=new b("");function Vw(){Uf(()=>{let t="";throw new A(600,t)})}function Hw(t){return t.isBoundToModule}var M1=10;var zt=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=d(fn);afterRenderManager=d(Xd);zonelessEnabled=d(Qo);rootEffectScheduler=d(yd);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new x;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=d(Xn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ne(e=>!e))}constructor(){d(ni,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=d(Be);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=q.NULL){return this._injector.get(N).run(()=>{Ne(Ee.BootstrapComponentStart);let a=e instanceof ru;if(!this._injector.get(Hg).done){let C="";throw new A(405,C)}let c;a?c=e:c=this._injector.get(qs).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=Hw(c)?void 0:this._injector.get(ti),u=i||c.selector,m=c.create(r,[],u,l),h=m.location.nativeElement,f=m.injector.get(jg,null);return f?.registerApplication(h),m.onDestroy(()=>{this.detachView(m.hostView),Ns(this.components,m),f?.unregisterApplication(h)}),this._loadComponent(m),Ne(Ee.BootstrapComponentEnd,m),m})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ne(Ee.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Kd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Ne(Ee.ChangeDetectionEnd),new A(101,!1);let e=ie(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ie(e),this.afterTick.next(),Ne(Ee.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Mt,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<M1;){Ne(Ee.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Ne(Ee.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!Ss(r))continue;let o=i&&!this.zonelessEnabled?0:1;aw(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Ss(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Ns(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(lu,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Ns(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new A(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ns(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function aa(t,n){let e=ae(),i=Xi();if(hn(e,i,n)){let r=Ze(),o=ks();if(nu(o,r,e,t,n))Di(o)&&JC(e,o.index);else{let s=un(o,e);ew(e[ze],s,null,o.value,t,n,null)}}return aa}function Z(t,n,e,i){let r=ae(),o=Xi();if(hn(r,o,n)){let a=Ze(),s=ks();nR(s,r,t,n,e,i)}return Z}var KG=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var qp=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};function gp(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function S1(t,n,e,i){let r,o,a=0,s=t.length-1,c=void 0;if(Array.isArray(n)){ie(i);let l=n.length-1;for(ie(null);a<=s&&a<=l;){let u=t.at(a),m=n[a],h=gp(a,u,a,m,e);if(h!==0){h<0&&t.updateValue(a,m),a++;continue}let f=t.at(s),C=n[l],E=gp(s,f,l,C,e);if(E!==0){E<0&&t.updateValue(s,C),s--,l--;continue}let M=e(a,u),S=e(s,f),De=e(a,m);if(Object.is(De,S)){let Ft=e(l,C);Object.is(Ft,M)?(t.swap(a,s),t.updateValue(s,C),l--,s--):t.move(s,a),t.updateValue(a,m),a++;continue}if(r??=new zd,o??=Z0(t,a,s,e),Qp(t,r,a,De))t.updateValue(a,m),a++,s++;else if(o.has(De))r.set(M,t.detach(a)),s--;else{let Ft=t.create(a,n[a]);t.attach(a,Ft),a++,s++}}for(;a<=l;)Q0(t,r,e,a,n[a]),a++}else if(n!=null){ie(i);let l=n[Symbol.iterator]();ie(null);let u=l.next();for(;!u.done&&a<=s;){let m=t.at(a),h=u.value,f=gp(a,m,a,h,e);if(f!==0)f<0&&t.updateValue(a,h),a++,u=l.next();else{r??=new zd,o??=Z0(t,a,s,e);let C=e(a,h);if(Qp(t,r,a,C))t.updateValue(a,h),a++,s++,u=l.next();else if(!o.has(C))t.attach(a,t.create(a,h)),a++,s++,u=l.next();else{let E=e(a,m);r.set(E,t.detach(a)),s--}}}for(;!u.done;)Q0(t,r,e,t.length,u.value),u=l.next()}for(;a<=s;)t.destroy(t.detach(s--));r?.forEach(l=>{t.destroy(l)})}function Qp(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Q0(t,n,e,i,r){if(Qp(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function Z0(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}var zd=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function T(t,n,e,i,r,o,a,s){ki("NgControlFlow");let c=ae(),l=Ze(),u=nn(l.consts,o);return ea(c,l,t,n,e,i,r,u,256,a,s),zg}function zg(t,n,e,i,r,o,a,s){ki("NgControlFlow");let c=ae(),l=Ze(),u=nn(l.consts,o);return ea(c,l,t,n,e,i,r,u,512,a,s),zg}function k(t,n){ki("NgControlFlow");let e=ae(),i=Xi(),r=e[i]!==Ht?e[i]:-1,o=r!==-1?Ud(e,Qe+r):void 0,a=0;if(hn(e,i,t)){let s=ie(null);try{if(o!==void 0&&mw(o,a),t!==-1){let c=Qe+t,l=Ud(e,c),u=Xp(e[J],c),m=hw(l,u,e),h=Gs(e,u,n,{dehydratedView:m});Ws(l,h,a,Jo(u,m))}}finally{ie(s)}}else if(o!==void 0){let s=uw(o,a);s!==void 0&&(s[ot]=n)}}var Zp=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-it}};function Ug(t){return t}function ii(t,n){return n}var Yp=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Qt(t,n,e,i,r,o,a,s,c,l,u,m,h){ki("NgControlFlow");let f=ae(),C=Ze(),E=c!==void 0,M=ae(),S=s?a.bind(M[Vt][ot]):a,De=new Yp(E,S);M[Qe+t]=De,ea(f,C,t+1,n,e,i,r,nn(C.consts,o),256),E&&ea(f,C,t+2,c,l,u,m,nn(C.consts,h),512)}var Kp=class extends qp{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-it}at(n){return this.getLView(n)[ot].$implicit}attach(n,e){let i=e[Fr];this.needsIndexUpdate||=n!==this.length,Ws(this.lContainer,e,n,Jo(this.templateTNode,i)),T1(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,k1(this.lContainer,n),A1(this.lContainer,n)}create(n,e){let i=Pd(this.lContainer,this.templateTNode.tView.ssrId);return Gs(this.hostLView,this.templateTNode,new Zp(this.lContainer,e,n),{dehydratedView:i})}destroy(n){Jd(n[J],n)}updateValue(n,e){this.getLView(n)[ot].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ot].$index=n}getLView(n){return R1(this.lContainer,n)}};function Zt(t){let n=ie(null),e=Kn();try{let i=ae(),r=i[J],o=i[e],a=e+1,s=Ud(i,a);if(o.liveCollection===void 0){let l=Xp(r,a);o.liveCollection=new Kp(s,i,l)}else o.liveCollection.reset();let c=o.liveCollection;if(S1(c,t,o.trackByFn,n),c.updateIndexes(),o.hasEmptyBlock){let l=Xi(),u=c.length===0;if(hn(i,l,u)){let m=e+2,h=Ud(i,m);if(u){let f=Xp(r,m),C=hw(h,f,i),E=Gs(i,f,void 0,{dehydratedView:C});Ws(h,E,0,Jo(f,C))}else r.firstUpdatePass&&ER(h),mw(h,0)}}}finally{ie(n)}}function Ud(t,n){return t[n]}function T1(t,n){if(t.length<=it)return;let e=it+n,i=t[e],r=i?i[Vr]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[Ci];OA(o,r),qr.delete(i[xi]),r.detachedLeaveAnimationFns=void 0}}function k1(t,n){if(t.length<=it)return;let e=it+n,i=t[e],r=i?i[Vr]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function A1(t,n){return Bs(t,n)}function R1(t,n){return uw(t,n)}function Xp(t,n){return Ms(t,n)}function H(t,n,e){let i=ae(),r=Xi();if(hn(i,r,n)){let o=Ze(),a=ks();XA(a,i,t,n,i[ze],e)}return H}function Jp(t,n,e,i,r){nu(n,t,e,r?"class":"style",i)}function p(t,n,e,i){let r=ae(),o=r[J],a=t+Qe,s=o.firstCreatePass?kg(a,r,2,n,Eg,dd(),e,i):o.data[a];if(Ig(s,r,t,n,zw),$o(s)){let c=r[J];tu(c,r,s),sg(c,s,r)}return i!=null&&$s(r,s),p}function g(){let t=Ze(),n=Et(),e=Mg(n);return t.firstCreatePass&&Ag(t,e),Xh(e)&&Jh(),Yh(),e.classesWithoutHost!=null&&yk(e)&&Jp(t,e,ae(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Ck(e)&&Jp(t,e,ae(),e.stylesWithoutHost,!1),g}function se(t,n,e,i){return p(t,n,e,i),g(),se}function et(t,n,e,i){let r=ae(),o=r[J],a=t+Qe,s=o.firstCreatePass?jR(a,o,2,n,e,i):o.data[a];return Ig(s,r,t,n,zw),i!=null&&$s(r,s),et}function st(){let t=Et(),n=Mg(t);return Xh(n)&&Jh(),Yh(),st}function mt(t,n,e,i){return et(t,n,e,i),st(),mt}var zw=(t,n,e,i,r)=>(As(!0),PC(n[ze],i,f0()));function Rn(t,n,e){let i=ae(),r=i[J],o=t+Qe,a=r.firstCreatePass?kg(o,i,8,"ng-container",Eg,dd(),n,e):r.data[o];if(Ig(a,i,t,"ng-container",O1),$o(a)){let s=i[J];tu(s,i,a),sg(s,a,i)}return e!=null&&$s(i,a),Rn}function On(){let t=Ze(),n=Et(),e=Mg(n);return t.firstCreatePass&&Ag(t,e),On}function ft(t,n,e){return Rn(t,n,e),On(),ft}var O1=(t,n,e,i,r)=>(As(!0),mA(n[ze],""));function Le(){return ae()}function ri(t,n,e){let i=ae(),r=Xi();if(hn(i,r,n)){let o=Ze(),a=ks();XC(a,i,t,n,i[ze],e)}return ri}var Rs=void 0;function N1(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var P1=["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"]],Rs,[["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"]],Rs,[["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}",Rs,Rs,Rs],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",N1],_p={};function rn(t){let n=F1(t),e=Y0(n);if(e)return e;let i=n.split("-")[0];if(e=Y0(i),e)return e;if(i==="en")return P1;throw new A(701,!1)}function Y0(t){return t in _p||(_p[t]=qn.ng&&qn.ng.common&&qn.ng.common.locales&&qn.ng.common.locales[t]),_p[t]}var ct=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(ct||{});function F1(t){return t.toLowerCase().replace(/_/g,"-")}var Zs="en-US";var L1=Zs;function Uw(t){typeof t=="string"&&(L1=t.toLowerCase().replace(/_/g,"-"))}function Q(t,n,e){let i=ae(),r=Ze(),o=Et();return B1(r,i,i[ze],o,t,n,e),Q}function du(t,n,e){let i=ae(),r=Ze(),o=Et();return(o.type&3||e)&&ww(o,r,i,e,i[ze],t,n,Sd(o,i,n)),du}function B1(t,n,e,i,r,o,a){let s=!0,c=null;if((i.type&3||a)&&(c??=Sd(i,n,o),ww(i,t,n,a,e,r,o,c)&&(s=!1)),s){let l=i.outputs?.[r],u=i.hostDirectiveOutputs?.[r];if(u&&u.length)for(let m=0;m<u.length;m+=2){let h=u[m],f=u[m+1];c??=Sd(i,n,o),z0(i,n,h,f,r,c)}if(l&&l.length)for(let m of l)c??=Sd(i,n,o),z0(i,n,m,r,r,c)}}function D(t=1){return m0(t)}function j1(t,n){let e=null,i=yA(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?HC(t,o,!0):xA(i,o))return r}return e}function Te(t){let n=ae()[Vt][jt];if(!n.projection){let e=t?t.length:1,i=n.projection=jy(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=t?j1(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function ee(t,n=0,e,i,r,o){let a=ae(),s=Ze(),c=i?t+1:null;c!==null&&ea(a,s,c,i,r,o,null,e);let l=ra(s,Qe+t,16,null,e||null);l.projection===null&&(l.projection=n),np();let m=!a[Fr]||Kh();a[Vt][jt].projection[l.projection]===null&&c!==null?V1(a,s,c):m&&!qd(l)&&GA(s,a,l)}function V1(t,n,e){let i=Qe+e,r=n.data[i],o=t[i],a=Pd(o,r.tView.ssrId),s=Gs(t,r,void 0,{dehydratedView:a});Ws(o,s,0,Jo(r,a))}function yt(t,n,e,i){return kw(t,n,e,i),yt}function Ie(t,n,e){return Tw(t,n,e),Ie}function P(t){let n=ae(),e=Ze(),i=hd();Ts(i+1);let r=Pg(e,i);if(t.dirty&&Qy(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=Rw(n,i);t.reset(o,_C),t.notifyOnChanges()}return!0}return!1}function F(){return Ng(ae(),hd())}function uu(t,n,e,i,r){return Nw(n,kw(t,e,i,r)),uu}function mu(t,n,e,i){return Nw(t,Tw(n,e,i)),mu}function fu(t=1){Ts(hd()+t)}function Yt(t){let n=n0();return sd(n,Qe+t)}function xd(t,n){return t<<17|n<<2}function Zr(t){return t>>17&32767}function H1(t){return(t&2)==2}function z1(t,n){return t&131071|n<<17}function eg(t){return t|2}function ta(t){return(t&131068)>>2}function vp(t,n){return t&-131069|n<<2}function U1(t){return(t&1)===1}function tg(t){return t|1}function $1(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=Zr(a),c=ta(a);t[i]=e;let l=!1,u;if(Array.isArray(e)){let m=e;u=m[1],(u===null||Vo(m,u)>0)&&(l=!0)}else u=e;if(r)if(c!==0){let h=Zr(t[s+1]);t[i+1]=xd(h,s),h!==0&&(t[h+1]=vp(t[h+1],i)),t[s+1]=z1(t[s+1],i)}else t[i+1]=xd(s,0),s!==0&&(t[s+1]=vp(t[s+1],i)),s=i;else t[i+1]=xd(c,0),s===0?s=i:t[c+1]=vp(t[c+1],i),c=i;l&&(t[i+1]=eg(t[i+1])),K0(t,u,i,!0),K0(t,u,i,!1),G1(n,u,t,i,o),a=xd(s,c),o?n.classBindings=a:n.styleBindings=a}function G1(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Vo(o,n)>=0&&(e[i+1]=tg(e[i+1]))}function K0(t,n,e,i){let r=t[e+1],o=n===null,a=i?Zr(r):ta(r),s=!1;for(;a!==0&&(s===!1||o);){let c=t[a],l=t[a+1];W1(c,n)&&(s=!0,t[a+1]=i?tg(l):eg(l)),a=i?Zr(l):ta(l)}s&&(t[e+1]=i?eg(r):tg(r))}function W1(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Vo(t,n)>=0:!1}var Tn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function q1(t){return t.substring(Tn.key,Tn.keyEnd)}function Q1(t){return Z1(t),$w(t,Gw(t,0,Tn.textEnd))}function $w(t,n){let e=Tn.textEnd;return e===n?-1:(n=Tn.keyEnd=Y1(t,Tn.key=n,e),Gw(t,n,e))}function Z1(t){Tn.key=0,Tn.keyEnd=0,Tn.value=0,Tn.valueEnd=0,Tn.textEnd=t.length}function Gw(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function Y1(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function Ct(t,n,e){return Ww(t,n,e,!1),Ct}function L(t,n){return Ww(t,n,null,!0),L}function We(t){X1(rO,K1,t,!0)}function K1(t,n){for(let e=Q1(n);e>=0;e=$w(n,e))rd(t,q1(n),!0)}function Ww(t,n,e,i){let r=ae(),o=Ze(),a=md(2);if(o.firstUpdatePass&&Qw(o,t,a,i),n!==Ht&&hn(r,a,n)){let s=o.data[Kn()];Zw(o,s,r,r[ze],t,r[a+1]=aO(n,e),i,a)}}function X1(t,n,e,i){let r=Ze(),o=md(2);r.firstUpdatePass&&Qw(r,null,o,i);let a=ae();if(e!==Ht&&hn(a,o,e)){let s=r.data[Kn()];if(Yw(s,i)&&!qw(r,o)){let c=i?s.classesWithoutHost:s.stylesWithoutHost;c!==null&&(e=Xl(c,e||"")),Jp(r,s,a,e,i)}else oO(r,s,a,a[ze],a[o+1],a[o+1]=iO(t,n,e),i,o)}}function qw(t,n){return n>=t.expandoStartIndex}function Qw(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Kn()],a=qw(t,e);Yw(o,i)&&n===null&&!a&&(n=!1),n=J1(r,o,n,i),$1(r,o,n,e,a,i)}}function J1(t,n,e,i){let r=c0(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=bp(null,t,n,e,i),e=Vs(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=bp(r,t,n,e,i),o===null){let c=eO(t,n,i);c!==void 0&&Array.isArray(c)&&(c=bp(null,t,n,c[1],i),c=Vs(c,n.attrs,i),tO(t,n,i,c))}else o=nO(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function eO(t,n,e){let i=e?n.classBindings:n.styleBindings;if(ta(i)!==0)return t[Zr(i)]}function tO(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Zr(r)]=i}function nO(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;i=Vs(i,a,e)}return Vs(i,n.attrs,e)}function bp(t,n,e,i,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=n[s],i=Vs(i,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i}function Vs(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let a=n[o];typeof a=="number"?r=a:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),rd(t,a,e?!0:n[++o]))}return t===void 0?null:t}function iO(t,n,e){if(e==null||e==="")return Nt;let i=[],r=Si(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(r instanceof Set)for(let o of r)t(i,o,!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function rO(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&rd(t,i,e)}function oO(t,n,e,i,r,o,a,s){r===Ht&&(r=Nt);let c=0,l=0,u=0<r.length?r[0]:null,m=0<o.length?o[0]:null;for(;u!==null||m!==null;){let h=c<r.length?r[c+1]:void 0,f=l<o.length?o[l+1]:void 0,C=null,E;u===m?(c+=2,l+=2,h!==f&&(C=m,E=f)):m===null||u!==null&&u<m?(c+=2,C=u):(l+=2,C=m,E=f),C!==null&&Zw(t,n,e,i,C,E,a,s),u=c<r.length?r[c]:null,m=l<o.length?o[l]:null}}function Zw(t,n,e,i,r,o,a,s){if(!(n.type&3))return;let c=t.data,l=c[s+1],u=U1(l)?X0(c,n,e,r,ta(l),a):void 0;if(!$d(u)){$d(o)||H1(l)&&(o=X0(c,null,e,r,s,a));let m=Uh(Kn(),e);qA(i,a,m,r,o)}}function X0(t,n,e,i,r,o){let a=n===null,s;for(;r>0;){let c=t[r],l=Array.isArray(c),u=l?c[1]:c,m=u===null,h=e[r+1];h===Ht&&(h=m?Nt:void 0);let f=m?od(h,i):u===i?h:void 0;if(l&&!$d(f)&&(f=od(c,i)),$d(f)&&(s=f,a))return s;let C=t[r+1];r=a?Zr(C):ta(C)}if(n!==null){let c=o?n.residualClasses:n.residualStyles;c!=null&&(s=od(c,i))}return s}function $d(t){return t!==void 0}function aO(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=vi(Si(t)))),t}function Yw(t,n){return(t.flags&(n?8:16))!==0}function v(t,n=""){let e=ae(),i=Ze(),r=t+Qe,o=i.firstCreatePass?ra(i,r,1,n,null):i.data[r],a=sO(i,e,o,n);e[r]=a,_d()&&xg(i,e,a,o),Wo(o,!1)}var sO=(t,n,e,i)=>(As(!0),dA(n[ze],i));function cO(t,n,e,i=""){return hn(t,Xi(),e)?n+xs(e)+i:Ht}function lO(t,n,e,i,r,o=""){let a=i0(),s=Cw(t,a,e,r);return md(2),s?n+xs(e)+i+xs(r)+o:Ht}function be(t){return xe("",t),be}function xe(t,n,e){let i=ae(),r=cO(i,t,n,e);return r!==Ht&&Kw(i,Kn(),r),xe}function sa(t,n,e,i,r){let o=ae(),a=lO(o,t,n,e,i,r);return a!==Ht&&Kw(o,Kn(),a),sa}function Kw(t,n,e){let i=Uh(n,t);uA(t[ze],i,e)}function J0(t,n,e){let i=Ze();i.firstCreatePass&&Xw(n,i.data,i.blueprint,Mn(t),e)}function Xw(t,n,e,i,r){if(t=_t(t),Array.isArray(t))for(let o=0;o<t.length;o++)Xw(t[o],n,e,i,r);else{let o=Ze(),a=ae(),s=Et(),c=Rr(t)?t:_t(t.provide),l=Lh(t),u=s.providerIndexes&1048575,m=s.directiveStart,h=s.providerIndexes>>20;if(Rr(t)||!t.multi){let f=new Wr(l,r,bt,null),C=Cp(c,n,r?u:u+h,m);C===-1?(xp(Od(s,a),o,c),yp(o,t,n.length),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(f),a.push(f)):(e[C]=f,a[C]=f)}else{let f=Cp(c,n,u+h,m),C=Cp(c,n,u,u+h),E=f>=0&&e[f],M=C>=0&&e[C];if(r&&!M||!r&&!E){xp(Od(s,a),o,c);let S=mO(r?uO:dO,e.length,r,i,l,t);!r&&M&&(e[C].providerFactory=S),yp(o,t,n.length,0),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(S),a.push(S)}else{let S=Jw(e[r?C:f],l,!r&&i);yp(o,t,f>-1?f:C,S)}!r&&i&&M&&e[C].componentProviders++}}}function yp(t,n,e,i){let r=Rr(n),o=$y(n);if(r||o){let c=(o?_t(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[i,c]):l[u+1].push(i,c)}else l.push(e,c)}}}function Jw(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Cp(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function dO(t,n,e,i,r){return ng(this.multi,[])}function uO(t,n,e,i,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,c=Ps(i,i[J],this.providerFactory.index,r);a=c.slice(0,s),ng(o,a);for(let l=s;l<c.length;l++)a.push(c[l])}else a=[],ng(o,a);return a}function ng(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function mO(t,n,e,i,r,o){let a=new Wr(t,e,bt,null);return a.multi=[],a.index=n,a.componentProviders=0,Jw(a,r,i&&!e),a}function we(t,n){return e=>{e.providersResolver=(i,r)=>J0(i,r?r(t):t,!1),n&&(e.viewProvidersResolver=(i,r)=>J0(i,r?r(n):n,!0))}}function hu(t,n){let e=ud()+t,i=ae();return i[e]===Ht?Og(i,e,n()):VR(i,e)}function ex(t,n){let e=t[n];return e===Ht?void 0:e}function fO(t,n,e,i,r,o){let a=n+e;return hn(t,a,r)?Og(t,a+1,o?i.call(o,r):i(r)):ex(t,a+1)}function hO(t,n,e,i,r,o,a){let s=n+e;return Cw(t,s,r,o)?Og(t,s+2,a?i.call(a,r,o):i(r,o)):ex(t,s+2)}function ir(t,n){let e=Ze(),i,r=t+Qe;e.firstCreatePass?(i=pO(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Wi(i.type,!0)),a,s=Bt(bt);try{let c=Rd(!1),l=o();return Rd(c),$h(e,ae(),r,l),l}finally{Bt(s)}}function pO(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function $g(t,n,e){let i=t+Qe,r=ae(),o=sd(r,i);return tx(r,i)?fO(r,ud(),n,o.transform,e,o):o.transform(e)}function ca(t,n,e,i){let r=t+Qe,o=ae(),a=sd(o,r);return tx(o,r)?hO(o,ud(),n,a.transform,e,i,a):a.transform(e,i)}function tx(t,n){return t[J].data[n].pure}function la(t,n){return iu(t,n)}var Gd=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Gg=(()=>{class t{compileModuleSync(e){return new Hd(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=Th(e),o=jC(r.declarations).reduce((a,s)=>{let c=bi(s);return c&&a.push(new Qr(c)),a},[]);return new Gd(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var nx=(()=>{class t{applicationErrorHandler=d(fn);appRef=d(zt);taskService=d(Xn);ngZone=d(N);zonelessEnabled=d(Qo);tracing=d(ni,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Y;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ys):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(d(vd,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){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 i=this.useMicrotaskScheduler?g0:cp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ys+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 e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.applicationErrorHandler(i)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ix(){return[{provide:xn,useExisting:nx},{provide:N,useClass:Cs},{provide:Qo,useValue:!0}]}function gO(){return typeof $localize<"u"&&$localize.locale||Zs}var Ys=new b("",{factory:()=>d(Ys,{optional:!0,skipSelf:!0})||gO()});function tt(t,n){return Xa(t,n?.equal)}var ux=Symbol("InputSignalNode#UNSET"),kO=te(y({},es),{transformFn:void 0,applyValueToInputSignal(t,n){Ja(t,n)}});function mx(t,n){let e=Object.create(kO);e.value=t,e.transformFn=n?.transform;function i(){if(xo(e),e.value===ux){let r=null;throw new A(-950,r)}return e.value}return i[xt]=e,i}var pn=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>rg(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function rx(t,n){return mx(t,n)}function AO(t){return mx(ux,t)}var fx=(rx.required=AO,rx);function ox(t,n){return Fg(n)}function RO(t,n){return Lg(n)}var Xs=(ox.required=RO,ox);function ax(t,n){return Fg(n)}function OO(t,n){return Lg(n)}var hx=(ax.required=OO,ax);var NO=(()=>{class t{zone=d(N);changeDetectionScheduler=d(xn);applicationRef=d(zt);applicationErrorHandler=d(fn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),PO=new b("",{factory:()=>!1});function FO({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new N(te(y({},gx()),{scheduleInRootZone:n})),[{provide:Qo,useValue:!1},{provide:N,useFactory:t},{provide:yi,multi:!0,useFactory:()=>{let e=d(NO,{optional:!0});return()=>e.initialize()}},{provide:yi,multi:!0,useFactory:()=>{let e=d(LO);return()=>{e.initialize()}}},{provide:vd,useValue:n??sp}]}function px(t){let n=t?.scheduleInRootZone,e=FO({ngZoneFactory:()=>{let i=gx(t);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&ki("NgZone_CoalesceEvent"),new N(i)},scheduleInRootZone:n});return Pr([{provide:PO,useValue:!0},e])}function gx(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var LO=(()=>{class t{subscription=new Y;initialized=!1;zone=d(N);pendingTasks=d(Xn);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{N.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{N.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qg=new b(""),BO=new b("");function Ks(t){return!t.moduleRef}function jO(t){let n=Ks(t)?t.r3Injector:t.moduleRef.injector,e=n.get(N);return e.run(()=>{Ks(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(fn),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),Ks(t)){let o=()=>n.destroy(),a=t.platformInjector.get(qg);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(qg);a.add(o),t.moduleRef.onDestroy(()=>{Ns(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return HO(i,e,()=>{let o=n.get(Xn),a=o.add(),s=n.get(Hg);return s.runInitializers(),s.donePromise.then(()=>{let c=n.get(Ys,Zs);if(Uw(c||Zs),!n.get(BO,!0))return Ks(t)?n.get(zt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Ks(t)){let u=n.get(zt);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return VO?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var VO;function HO(t,n,e){try{let i=e();return nr(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var pu=null;function zO(t=[],n){return q.create({name:n,providers:[{provide:Es,useValue:"platform"},{provide:qg,useValue:new Set([()=>pu=null])},...t]})}function UO(t=[]){if(pu)return pu;let n=zO(t);return pu=n,Vw(),$O(n),n}function $O(t){let n=t.get(Wd,null);Dt(t,()=>{n?.forEach(e=>e())})}var GO=1e4;var UZ=GO-1e3;var Me=(()=>{class t{static __NG_ELEMENT_ID__=WO}return t})();function WO(t){return qO(Et(),ae(),(t&16)===16)}function qO(t,n,e){if(Di(t)&&!e){let i=mn(t.index,n);return new er(i,i)}else if(t.type&175){let i=n[Vt];return new er(i,n)}return null}var Qg=class{supports(n){return Rg(n)}create(n){return new Zg(n)}},QO=(t,n)=>n,Zg=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||QO}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let a=!i||e&&e.currentIndex<sx(i,r,o)?e:i,s=sx(a,r,o),c=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(e=e._next,a.previousIndex==null)r++;else{o||(o=[]);let l=s-r,u=c-r;if(l!=u){for(let h=0;h<l;h++){let f=h<o.length?o[h]:o[h]=0,C=f+h;u<=C&&C<l&&(o[h]=f+1)}let m=a.previousIndex;o[m]=u-l}}s!==c&&n(a,s,c)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!Rg(n))throw new A(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,a;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)o=n[s],a=this._trackByFn(s,o),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,o,a,s),i=!0):(i&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,bw(n,s=>{a=this._trackByFn(r,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,r),i=!0):(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),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,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Yg(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}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,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new gu),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new gu),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,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Yg=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,e){this.item=n,this.trackById=e}},Kg=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,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},gu=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Kg,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function sx(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function cx(){return new oi([new Qg])}var oi=(()=>{class t{factories;static \u0275prov=w({token:t,providedIn:"root",factory:cx});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=d(t,{optional:!0,skipSelf:!0});return t.create(e,i||cx())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new A(901,!1)}}return t})();function _x(t){let{rootComponent:n,appProviders:e,platformProviders:i,platformRef:r}=t;Ne(Ee.BootstrapApplicationStart);try{let o=r?.injector??UO(i),a=[ix(),v0,...e||[]],s=new js({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return jO({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{Ne(Ee.BootstrapApplicationEnd)}}function $(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ke(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var Wg=Symbol("NOT_SET"),vx=new Set,ZO=te(y({},es),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Wg,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(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Wg&&!Eo(this))return this.signal;try{for(let r of this.cleanup??vx)r()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Cr(this),i;try{i=this.userFn.apply(null,n)}finally{Do(this,e)}return(this.value===Wg||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),Xg=class extends Fs{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,i,r,o,a=null){super(n,[void 0,void 0,void 0,void 0],i,!1,o.get(qt),a),this.scheduler=r;for(let s of bg){let c=e[s];if(c===void 0)continue;let l=Object.create(ZO);l.sequence=this,l.phase=s,l.userFn=c,l.dirty=!0,l.signal=()=>(xo(l),l.value),l.signal[xt]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[s]=l,this.hooks[s]=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 e of n.cleanup??vx)e()}finally{zi(n)}}};function bx(t,n){let e=n?.injector??d(q),i=e.get(xn),r=e.get(Xd),o=e.get(ni,null,{optional:!0});r.impl??=e.get(yg);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(qo,null,{optional:!0}),c=new Xg(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,i,e,o?.snapshot(null));return r.impl.register(c),c}function _u(t,n){let e=bi(t),i=n.elementInjector||Ho();return new Qr(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var yx=null;function Ai(){return yx}function Jg(t){yx??=t}var Js=class{},vu=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>d(Cx),providedIn:"platform"})}return t})();var Cx=(()=>{class t extends vu{_location;_history;_doc=d(G);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ai().getBaseHref(this._doc)}onPopState(e){let i=Ai().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Ai().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Dx(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function wx(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function rr(t){return t&&t[0]!=="?"?`?${t}`:t}var bu=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>d(KO),providedIn:"root"})}return t})(),YO=new b(""),KO=(()=>{class t extends bu{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??d(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Dx(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+rr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+rr(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+rr(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(K(vu),K(YO,8))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),or=(()=>{class t{_subject=new x;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=eN(wx(xx(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+rr(i))}normalize(e){return t.stripTrailingSlash(JO(this._basePath,xx(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+rr(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+rr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=rr;static joinWithSlash=Dx;static stripTrailingSlash=wx;static \u0275fac=function(i){return new(i||t)(K(bu))};static \u0275prov=w({token:t,factory:()=>XO(),providedIn:"root"})}return t})();function XO(){return new or(K(bu))}function JO(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function xx(t){return t.replace(/\/index.html$/,"")}function eN(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Pt=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Pt||{}),je=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(je||{}),Kt=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(Kt||{}),Oi={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 Mx(t){return rn(t)[ct.LocaleId]}function Sx(t,n,e){let i=rn(t),r=[i[ct.DayPeriodsFormat],i[ct.DayPeriodsStandalone]],o=gn(r,n);return gn(o,e)}function Tx(t,n,e){let i=rn(t),r=[i[ct.DaysFormat],i[ct.DaysStandalone]],o=gn(r,n);return gn(o,e)}function kx(t,n,e){let i=rn(t),r=[i[ct.MonthsFormat],i[ct.MonthsStandalone]],o=gn(r,n);return gn(o,e)}function Ax(t,n){let i=rn(t)[ct.Eras];return gn(i,n)}function ec(t,n){let e=rn(t);return gn(e[ct.DateFormat],n)}function tc(t,n){let e=rn(t);return gn(e[ct.TimeFormat],n)}function nc(t,n){let i=rn(t)[ct.DateTimeFormat];return gn(i,n)}function ic(t,n){let e=rn(t),i=e[ct.NumberSymbols][n];if(typeof i>"u"){if(n===Oi.CurrencyDecimal)return e[ct.NumberSymbols][Oi.Decimal];if(n===Oi.CurrencyGroup)return e[ct.NumberSymbols][Oi.Group]}return i}function Rx(t){if(!t[ct.ExtraData])throw new A(2303,!1)}function Ox(t){let n=rn(t);return Rx(n),(n[ct.ExtraData][2]||[]).map(i=>typeof i=="string"?e_(i):[e_(i[0]),e_(i[1])])}function Nx(t,n,e){let i=rn(t);Rx(i);let r=[i[ct.ExtraData][0],i[ct.ExtraData][1]],o=gn(r,n)||[];return gn(o,e)||[]}function gn(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new A(2304,!1)}function e_(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var tN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yu={},nN=/((?:[^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 Px(t,n,e,i){let r=uN(t);n=Ri(e,n)||n;let a=[],s;for(;n;)if(s=nN.exec(n),s){a=a.concat(s.slice(1));let u=a.pop();if(!u)break;n=u}else{a.push(n);break}let c=r.getTimezoneOffset();i&&(c=Lx(i,c),r=dN(r,i));let l="";return a.forEach(u=>{let m=cN(u);l+=m?m(r,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Eu(t,n,e){let i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Ri(t,n){let e=Mx(t);if(yu[e]??={},yu[e][n])return yu[e][n];let i="";switch(n){case"shortDate":i=ec(t,Kt.Short);break;case"mediumDate":i=ec(t,Kt.Medium);break;case"longDate":i=ec(t,Kt.Long);break;case"fullDate":i=ec(t,Kt.Full);break;case"shortTime":i=tc(t,Kt.Short);break;case"mediumTime":i=tc(t,Kt.Medium);break;case"longTime":i=tc(t,Kt.Long);break;case"fullTime":i=tc(t,Kt.Full);break;case"short":let r=Ri(t,"shortTime"),o=Ri(t,"shortDate");i=Cu(nc(t,Kt.Short),[r,o]);break;case"medium":let a=Ri(t,"mediumTime"),s=Ri(t,"mediumDate");i=Cu(nc(t,Kt.Medium),[a,s]);break;case"long":let c=Ri(t,"longTime"),l=Ri(t,"longDate");i=Cu(nc(t,Kt.Long),[c,l]);break;case"full":let u=Ri(t,"fullTime"),m=Ri(t,"fullDate");i=Cu(nc(t,Kt.Full),[u,m]);break}return i&&(yu[e][n]=i),i}function Cu(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return n!=null&&i in n?n[i]:e})),t}function Nn(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,o=e));let a=String(t);for(;a.length<n;)a="0"+a;return i&&(a=a.slice(a.length-n)),o+a}function iN(t,n){return Nn(t,3).substring(0,n)}function ht(t,n,e=0,i=!1,r=!1){return function(o,a){let s=rN(t,o);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return iN(s,n);let c=ic(a,Oi.MinusSign);return Nn(s,n,c,i,r)}}function rN(t,n){switch(t){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 A(2301,!1)}}function qe(t,n,e=Pt.Format,i=!1){return function(r,o){return oN(r,o,t,n,e,i)}}function oN(t,n,e,i,r,o){switch(e){case 2:return kx(n,r,i)[t.getMonth()];case 1:return Tx(n,r,i)[t.getDay()];case 0:let a=t.getHours(),s=t.getMinutes();if(o){let l=Ox(n),u=Nx(n,r,i),m=l.findIndex(h=>{if(Array.isArray(h)){let[f,C]=h,E=a>=f.hours&&s>=f.minutes,M=a<C.hours||a===C.hours&&s<C.minutes;if(f.hours<C.hours){if(E&&M)return!0}else if(E||M)return!0}else if(h.hours===a&&h.minutes===s)return!0;return!1});if(m!==-1)return u[m]}return Sx(n,r,i)[a<12?0:1];case 3:return Ax(n,i)[t.getFullYear()<=0?0:1];default:let c=e;throw new A(2302,!1)}}function wu(t){return function(n,e,i){let r=-1*i,o=ic(e,Oi.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+Nn(a,2,o)+Nn(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+Nn(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+Nn(a,2,o)+":"+Nn(Math.abs(r%60),2,o);case 3:return i===0?"Z":(r>=0?"+":"")+Nn(a,2,o)+":"+Nn(Math.abs(r%60),2,o);default:throw new A(2310,!1)}}}var aN=0,Du=4;function sN(t){let n=Eu(t,aN,1).getDay();return Eu(t,0,1+(n<=Du?Du:Du+7)-n)}function Fx(t){let n=t.getDay(),e=n===0?-3:Du-n;return Eu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function t_(t,n=!1){return function(e,i){let r;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();r=1+Math.floor((a+o)/7)}else{let o=Fx(e),a=sN(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return Nn(r,t,ic(i,Oi.MinusSign))}}function xu(t,n=!1){return function(e,i){let o=Fx(e).getFullYear();return Nn(o,t,ic(i,Oi.MinusSign),n)}}var n_={};function cN(t){if(n_[t])return n_[t];let n;switch(t){case"G":case"GG":case"GGG":n=qe(3,je.Abbreviated);break;case"GGGG":n=qe(3,je.Wide);break;case"GGGGG":n=qe(3,je.Narrow);break;case"y":n=ht(0,1,0,!1,!0);break;case"yy":n=ht(0,2,0,!0,!0);break;case"yyy":n=ht(0,3,0,!1,!0);break;case"yyyy":n=ht(0,4,0,!1,!0);break;case"Y":n=xu(1);break;case"YY":n=xu(2,!0);break;case"YYY":n=xu(3);break;case"YYYY":n=xu(4);break;case"M":case"L":n=ht(1,1,1);break;case"MM":case"LL":n=ht(1,2,1);break;case"MMM":n=qe(2,je.Abbreviated);break;case"MMMM":n=qe(2,je.Wide);break;case"MMMMM":n=qe(2,je.Narrow);break;case"LLL":n=qe(2,je.Abbreviated,Pt.Standalone);break;case"LLLL":n=qe(2,je.Wide,Pt.Standalone);break;case"LLLLL":n=qe(2,je.Narrow,Pt.Standalone);break;case"w":n=t_(1);break;case"ww":n=t_(2);break;case"W":n=t_(1,!0);break;case"d":n=ht(2,1);break;case"dd":n=ht(2,2);break;case"c":case"cc":n=ht(7,1);break;case"ccc":n=qe(1,je.Abbreviated,Pt.Standalone);break;case"cccc":n=qe(1,je.Wide,Pt.Standalone);break;case"ccccc":n=qe(1,je.Narrow,Pt.Standalone);break;case"cccccc":n=qe(1,je.Short,Pt.Standalone);break;case"E":case"EE":case"EEE":n=qe(1,je.Abbreviated);break;case"EEEE":n=qe(1,je.Wide);break;case"EEEEE":n=qe(1,je.Narrow);break;case"EEEEEE":n=qe(1,je.Short);break;case"a":case"aa":case"aaa":n=qe(0,je.Abbreviated);break;case"aaaa":n=qe(0,je.Wide);break;case"aaaaa":n=qe(0,je.Narrow);break;case"b":case"bb":case"bbb":n=qe(0,je.Abbreviated,Pt.Standalone,!0);break;case"bbbb":n=qe(0,je.Wide,Pt.Standalone,!0);break;case"bbbbb":n=qe(0,je.Narrow,Pt.Standalone,!0);break;case"B":case"BB":case"BBB":n=qe(0,je.Abbreviated,Pt.Format,!0);break;case"BBBB":n=qe(0,je.Wide,Pt.Format,!0);break;case"BBBBB":n=qe(0,je.Narrow,Pt.Format,!0);break;case"h":n=ht(3,1,-12);break;case"hh":n=ht(3,2,-12);break;case"H":n=ht(3,1);break;case"HH":n=ht(3,2);break;case"m":n=ht(4,1);break;case"mm":n=ht(4,2);break;case"s":n=ht(5,1);break;case"ss":n=ht(5,2);break;case"S":n=ht(6,1);break;case"SS":n=ht(6,2);break;case"SSS":n=ht(6,3);break;case"Z":case"ZZ":case"ZZZ":n=wu(0);break;case"ZZZZZ":n=wu(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=wu(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=wu(2);break;default:return null}return n_[t]=n,n}function Lx(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function lN(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function dN(t,n,e){let r=t.getTimezoneOffset(),o=Lx(n,r);return lN(t,-1*(o-r))}function uN(t){if(Ex(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,o=1,a=1]=t.split("-").map(s=>+s);return Eu(r,o-1,a)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(tN))return mN(i)}let n=new Date(t);if(!Ex(n))throw new A(2311,!1);return n}function mN(t){let n=new Date(0),e=0,i=0,r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let a=Number(t[4]||0)-e,s=Number(t[5]||0)-i,c=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,a,s,c,l),n}function Ex(t){return t instanceof Date&&!isNaN(t.valueOf())}var i_=/\s+/,Ix=[],r_=(()=>{class t{_ngEl;_renderer;initialClasses=Ix;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(i_):Ix}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(i_):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(i_).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(bt(O),bt(Ge))};static \u0275dir=I({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var rc=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(bt(Ue))};static \u0275dir=I({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ae]})}return t})();function Bx(t,n){return new A(2100,!1)}var fN=/(?:[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,o_=(()=>{class t{transform(e){return e==null?null:(hN(t,e),e.replace(fN,i=>i[0].toUpperCase()+i.slice(1).toLowerCase()))}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=au({name:"titlecase",type:t,pure:!0})}return t})();function hN(t,n){if(typeof n!="string")throw Bx(t,n)}var pN="mediumDate",jx=new b(""),Vx=new b(""),oc=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r}transform(e,i,r,o){if(e==null||e===""||e!==e)return null;try{let a=i??this.defaultOptions?.dateFormat??pN,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Px(e,a,o||this.locale,s)}catch(a){throw Bx(t,a.message)}}static \u0275fac=function(i){return new(i||t)(bt(Ys,16),bt(jx,24),bt(Vx,24))};static \u0275pipe=au({name:"date",type:t,pure:!0})}return t})();var ua=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({})}return t})();function Iu(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var Kr=class{};var a_="browser";function Mu(t){return t===a_}var ac=class{_doc;constructor(n){this._doc=n}manager},Su=(()=>{class t extends ac{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(K(G))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Au=new b(""),d_=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(a=>{a.manager=this});let r=e.filter(a=>!(a instanceof Su));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof Su);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new A(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(K(Au),K(N))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),s_="ng-app-id";function zx(t){for(let n of t)n.remove()}function Ux(t,n){let e=n.createElement("style");return e.textContent=t,e}function _N(t,n,e,i){let r=t.head?.querySelectorAll(`style[${s_}="${n}"],link[${s_}="${n}"]`);if(r)for(let o of r)o.removeAttribute(s_),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function l_(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var u_=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,_N(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,Ux);i?.forEach(r=>this.addUsage(r,this.external,l_))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(zx(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])zx(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,Ux(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,l_(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(K(G),K(tr),K(ia,8),K(Mi))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),c_={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"},m_=/%COMP%/g;var Gx="%COMP%",vN=`_nghost-${Gx}`,bN=`_ngcontent-${Gx}`,yN=!0,CN=new b("",{factory:()=>yN});function wN(t){return bN.replace(m_,t)}function xN(t){return vN.replace(m_,t)}function Wx(t,n){return n.map(e=>e.replace(m_,t))}var f_=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,i,r,o,a,s,c=null,l=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=c,this.tracingService=l,this.defaultRenderer=new sc(e,a,s,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof ku?r.applyToHost(e):r instanceof cc&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,s=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,m=this.tracingService;switch(i.encapsulation){case An.Emulated:o=new ku(c,l,i,this.appId,u,a,s,m);break;case An.ShadowDom:return new Tu(c,e,i,a,s,this.nonce,m,l);case An.ExperimentalIsolatedShadowDom:return new Tu(c,e,i,a,s,this.nonce,m);default:o=new cc(c,l,i,u,a,s,m);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(K(d_),K(u_),K(tr),K(CN),K(G),K(N),K(ia),K(ni,8))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),sc=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(c_[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){($x(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&($x(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new A(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=c_[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=c_[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(ei.DashCase|ei.Important)?n.style.setProperty(e,i,r&ei.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&ei.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=Ai().getGlobalEventTarget(this.doc,n),!n))throw new A(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function $x(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Tu=class extends sc{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,i,r,o,a,s,c){super(n,r,o,s),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=Wx(i.id,l);for(let m of l){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=m,this.shadowRoot.appendChild(h)}let u=i.getExternalStyles?.();if(u)for(let m of u){let h=l_(m,r);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},cc=class extends sc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,a,s,c){super(n,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let l=i.styles;this.styles=c?Wx(c,l):l,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&qr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ku=class extends cc{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,c){let l=r+"-"+i.id;super(n,e,i,o,a,s,c,l),this.contentAttr=wN(l),this.hostAttr=xN(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var Ru=class t extends Js{supportsDOMEvents=!0;static makeCurrent(){Jg(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.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,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=DN();return e==null?null:EN(e)}resetBaseElement(){lc=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Iu(document.cookie,n)}},lc=null;function DN(){return lc=lc||document.head.querySelector("base"),lc?lc.getAttribute("href"):null}function EN(t){return new URL(t,document.baseURI).pathname}var IN=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),qx=["alt","control","meta","shift"],MN={"\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"},SN={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Qx=(()=>{class t extends ac{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ai().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),qx.forEach(l=>{let u=i.indexOf(l);u>-1&&(i.splice(u,1),a+=l+".")}),a+=o,i.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let r=MN[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),qx.forEach(a=>{if(a!==r){let s=SN[a];s(e)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(K(G))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function h_(t,n,e){return ve(this,null,function*(){let i=y({rootComponent:t},TN(n,e));return _x(i)})}function TN(t,n){return{platformRef:n?.platformRef,appProviders:[...NN,...t?.providers??[]],platformProviders:ON}}function kN(){Ru.makeCurrent()}function AN(){return new Wt}function RN(){return ag(document),document}var ON=[{provide:Mi,useValue:a_},{provide:Wd,useValue:kN,multi:!0},{provide:G,useFactory:RN}];var NN=[{provide:Es,useValue:"root"},{provide:Wt,useFactory:AN},{provide:Au,useClass:Su,multi:!0},{provide:Au,useClass:Qx,multi:!0},f_,u_,d_,{provide:Mt,useExisting:f_},{provide:Kr,useClass:IN},[]];var ar=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
+
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?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(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var g_=class{map=new Map;set(n,e){return this.map.set(n,e),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()}},__=class{encodeKey(n){return Zx(n)}encodeValue(n){return Zx(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function PN(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}var FN=/%(\d[a-f0-9])/gi,LN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zx(t){return encodeURIComponent(t).replace(FN,(n,e)=>LN[e]??n)}function Ou(t){return`${t}`}var Ni=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new __,n.fromString){if(n.fromObject)throw new A(2805,!1);this.map=PN(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Ou):[Ou(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}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 e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ou(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Ou(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function BN(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Yx(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Kx(t){return typeof Blob<"u"&&t instanceof Blob}function Xx(t){return typeof FormData<"u"&&t instanceof FormData}function jN(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Jx="Content-Type",eD="Accept",tD="text/plain",nD="application/json",VN=`${nD}, ${tD}, */*`,ma=class t{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,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(BN(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new A(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new ar,this.context??=new g_,!this.params)this.params=new Ni,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),c=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+c+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Yx(this.body)||Kx(this.body)||Xx(this.body)||jN(this.body)?this.body:this.body instanceof Ni?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||Xx(this.body)?null:Kx(this.body)?this.body.type||null:Yx(this.body)?null:typeof this.body=="string"?tD:this.body instanceof Ni?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nD:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,a=n.priority||this.priority,s=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,m=n.referrer||this.referrer,h=n.integrity||this.integrity,f=n.referrerPolicy||this.referrerPolicy,C=n.transferCache??this.transferCache,E=n.timeout??this.timeout,M=n.body!==void 0?n.body:this.body,S=n.withCredentials??this.withCredentials,De=n.reportProgress??this.reportProgress,Ft=n.headers||this.headers,wt=n.params||this.params,Ya=n.context??this.context;return n.setHeaders!==void 0&&(Ft=Object.keys(n.setHeaders).reduce((Ka,yr)=>Ka.set(yr,n.setHeaders[yr]),Ft)),n.setParams&&(wt=Object.keys(n.setParams).reduce((Ka,yr)=>Ka.set(yr,n.setParams[yr]),wt)),new t(e,i,M,{params:wt,headers:Ft,context:Ya,reportProgress:De,responseType:r,withCredentials:S,transferCache:C,keepalive:o,cache:s,priority:a,timeout:E,mode:c,redirect:l,credentials:u,referrer:m,integrity:h,referrerPolicy:f})}},Xr=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Xr||{}),dc=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,i="OK"){this.headers=n.headers||new ar,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},v_=class t extends dc{constructor(n={}){super(n)}type=Xr.ResponseHeader;clone(n={}){return new t({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})}},uc=class t extends dc{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Xr.Response;clone(n={}){return new t({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})}},fa=class extends dc{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}},HN=200,zN=204;var UN=/^\)\]\}',?\n/;var $N=(()=>{class t{xhrFactory;tracingService=d(ni,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new A(-2800,!1);let i=this.xhrFactory;return U(null).pipe(rt(()=>new W(o=>{let a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((M,S)=>a.setRequestHeader(M,S.join(","))),e.headers.has(eD)||a.setRequestHeader(eD,VN),!e.headers.has(Jx)){let M=e.detectContentTypeHeader();M!==null&&a.setRequestHeader(Jx,M)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let M=e.responseType.toLowerCase();a.responseType=M!=="json"?M:"text"}let s=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let M=a.statusText||"OK",S=new ar(a.getAllResponseHeaders()),De=a.responseURL||e.url;return c=new v_({headers:S,status:a.status,statusText:M,url:De}),c},u=this.maybePropagateTrace(()=>{let{headers:M,status:S,statusText:De,url:Ft}=l(),wt=null;S!==zN&&(wt=typeof a.response>"u"?a.responseText:a.response),S===0&&(S=wt?HN:0);let Ya=S>=200&&S<300;if(e.responseType==="json"&&typeof wt=="string"){let Ka=wt;wt=wt.replace(UN,"");try{wt=wt!==""?JSON.parse(wt):null}catch(yr){wt=Ka,Ya&&(Ya=!1,wt={error:yr,text:wt})}}Ya?(o.next(new uc({body:wt,headers:M,status:S,statusText:De,url:Ft||void 0})),o.complete()):o.error(new fa({error:wt,headers:M,status:S,statusText:De,url:Ft||void 0}))}),m=this.maybePropagateTrace(M=>{let{url:S}=l(),De=new fa({error:M,status:a.status||0,statusText:a.statusText||"Unknown Error",url:S||void 0});o.error(De)}),h=m;e.timeout&&(h=this.maybePropagateTrace(M=>{let{url:S}=l(),De=new fa({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:S||void 0});o.error(De)}));let f=!1,C=this.maybePropagateTrace(M=>{f||(o.next(l()),f=!0);let S={type:Xr.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(S.total=M.total),e.responseType==="text"&&a.responseText&&(S.partialText=a.responseText),o.next(S)}),E=this.maybePropagateTrace(M=>{let S={type:Xr.UploadProgress,loaded:M.loaded};M.lengthComputable&&(S.total=M.total),o.next(S)});return a.addEventListener("load",u),a.addEventListener("error",m),a.addEventListener("timeout",h),a.addEventListener("abort",m),e.reportProgress&&(a.addEventListener("progress",C),s!==null&&a.upload&&a.upload.addEventListener("progress",E)),a.send(s),o.next({type:Xr.Sent}),()=>{a.removeEventListener("error",m),a.removeEventListener("abort",m),a.removeEventListener("load",u),a.removeEventListener("timeout",h),e.reportProgress&&(a.removeEventListener("progress",C),s!==null&&a.upload&&a.upload.removeEventListener("progress",E)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||t)(K(Kr))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function GN(t,n){return n(t)}function WN(t,n,e){return(i,r)=>Dt(e,()=>n(i,o=>t(o,r)))}var qN=new b("",{factory:()=>[]}),iD=new b(""),QN=new b("",{factory:()=>!0});var ZN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K($N),r},providedIn:"root"})}return t})();var YN=(()=>{class t{backend;injector;chain=null;pendingTasks=d(bd);contributeToStability=d(QN);constructor(e,i){this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(qN),...this.injector.get(iD,[])]));this.chain=i.reduceRight((r,o)=>WN(r,o,this.injector),GN)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Sr(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(K(ZN),K(Be))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),KN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(YN),r},providedIn:"root"})}return t})();function p_(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var b_=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ma)o=e;else{let c;r.headers instanceof ar?c=r.headers:c=new ar(r.headers);let l;r.params&&(r.params instanceof Ni?l=r.params:l=new Ni({fromObject:r.params})),o=new ma(e,i,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:l,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=U(o).pipe(Fo(c=>this.handler.handle(c)));if(e instanceof ma||r.observe==="events")return a;let s=a.pipe(pe(c=>c instanceof uc));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(ne(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new A(2806,!1);return c.body}));case"blob":return s.pipe(ne(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new A(2807,!1);return c.body}));case"text":return s.pipe(ne(c=>{if(c.body!==null&&typeof c.body!="string")throw new A(2808,!1);return c.body}));default:return s.pipe(ne(c=>c.body))}case"response":return s;default:throw new A(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Ni().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,p_(r,i))}post(e,i,r={}){return this.request("POST",e,p_(r,i))}put(e,i,r={}){return this.request("PUT",e,p_(r,i))}static \u0275fac=function(i){return new(i||t)(K(KN))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var rD=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(K(G))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var mc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(JN),r},providedIn:"root"})}return t})(),JN=(()=>{class t extends mc{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case Tt.NONE:return i;case Tt.HTML:return Yr(i,"HTML")?Si(i):fg(this._doc,String(i)).toString();case Tt.STYLE:return Yr(i,"Style")?Si(i):i;case Tt.SCRIPT:if(Yr(i,"Script"))return Si(i);throw new A(5200,!1);case Tt.URL:return Yr(i,"URL")?Si(i):Zd(String(i));case Tt.RESOURCE_URL:if(Yr(i,"ResourceURL"))return Si(i);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(e){return cg(e)}bypassSecurityTrustStyle(e){return lg(e)}bypassSecurityTrustScript(e){return dg(e)}bypassSecurityTrustUrl(e){return ug(e)}bypassSecurityTrustResourceUrl(e){return mg(e)}static \u0275fac=function(i){return new(i||t)(K(G))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ge="primary",xc=Symbol("RouteTitle"),D_=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function va(t){return new D_(t)}function y_(t,n,e){for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(r[0]===":")e[r.substring(1)]=o;else if(r!==o.path)return!1}return!0}function eP(t,n,e){let i=e.path.split("/"),r=i.indexOf("**");if(r===-1){if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let c={},l=t.slice(0,i.length);return y_(i,l,c)?{consumed:l,posParams:c}:null}if(r!==i.lastIndexOf("**"))return null;let o=i.slice(0,r),a=i.slice(r+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let s={};return!y_(o,t.slice(0,o.length),s)||!y_(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function ju(t){return new Promise((n,e)=>{t.pipe(gi()).subscribe({next:i=>n(i),error:i=>e(i)})})}function tP(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ai(t[e],n[e]))return!1;return!0}function ai(t,n){let e=t?E_(t):void 0,i=n?E_(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!pD(t[r],n[r]))return!1;return!0}function E_(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function pD(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function nP(t){return t.length>0?t[t.length-1]:null}function io(t){return Gn(t)?t:nr(t)?Ye(Promise.resolve(t)):U(t)}function gD(t){return Gn(t)?ju(t):Promise.resolve(t)}var iP={exact:vD,subset:bD},_D={exact:rP,subset:oP,ignored:()=>!0};function aD(t,n,e){return iP[e.paths](t.root,n.root,e.matrixParams)&&_D[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function rP(t,n){return ai(t,n)}function vD(t,n,e){if(!eo(t.segments,n.segments)||!Fu(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!vD(t.children[i],n.children[i],e))return!1;return!0}function oP(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>pD(t[e],n[e]))}function bD(t,n,e){return yD(t,n,n.segments,e)}function yD(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!eo(r,e)||n.hasChildren()||!Fu(r,e,i))}else if(t.segments.length===e.length){if(!eo(t.segments,e)||!Fu(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!bD(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!eo(t.segments,r)||!Fu(t.segments,r,i)||!t.children[ge]?!1:yD(t.children[ge],n,o,i)}}function Fu(t,n,e){return n.every((i,r)=>_D[e](t[r].parameters,i.parameters))}var si=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Pe([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=va(this.queryParams),this._queryParamMap}toString(){return cP.serialize(this)}},Pe=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lu(this)}},Jr=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=va(this.parameters),this._parameterMap}toString(){return wD(this)}};function aP(t,n){return eo(t,n)&&t.every((e,i)=>ai(e.parameters,n[i].parameters))}function eo(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function sP(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===ge&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==ge&&(e=e.concat(n(r,i)))}),e}var Zu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>new to,providedIn:"root"})}return t})(),to=class{parse(n){let e=new M_(n);return new si(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${fc(n.root,!0)}`,i=uP(n.queryParams),r=typeof n.fragment=="string"?`#${lP(n.fragment)}`:"";return`${e}${i}${r}`}},cP=new to;function Lu(t){return t.segments.map(n=>wD(n)).join("/")}function fc(t,n){if(!t.hasChildren())return Lu(t);if(n){let e=t.children[ge]?fc(t.children[ge],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==ge&&i.push(`${r}:${fc(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=sP(t,(i,r)=>r===ge?[fc(t.children[ge],!1)]:[`${r}:${fc(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[ge]!=null?`${Lu(t)}/${e[0]}`:`${Lu(t)}/(${e.join("//")})`}}function CD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nu(t){return CD(t).replace(/%3B/gi,";")}function lP(t){return encodeURI(t)}function I_(t){return CD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bu(t){return decodeURIComponent(t)}function sD(t){return Bu(t.replace(/\+/g,"%20"))}function wD(t){return`${I_(t.path)}${dP(t.parameters)}`}function dP(t){return Object.entries(t).map(([n,e])=>`;${I_(n)}=${I_(e)}`).join("")}function uP(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Nu(e)}=${Nu(r)}`).join("&"):`${Nu(e)}=${Nu(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var mP=/^[^\/()?;#]+/;function C_(t){let n=t.match(mP);return n?n[0]:""}var fP=/^[^\/()?;=#]+/;function hP(t){let n=t.match(fP);return n?n[0]:""}var pP=/^[^=?&#]+/;function gP(t){let n=t.match(pP);return n?n[0]:""}var _P=/^[^&#]+/;function vP(t){let n=t.match(_P);return n?n[0]:""}var M_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pe([],{}):new Pe([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new A(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0,n));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,n)),(e.length>0||Object.keys(i).length>0)&&(r[ge]=new Pe(e,i)),r}parseSegment(){let n=C_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(n),new Jr(Bu(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=hP(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=C_(this.remaining);r&&(i=r,this.capture(i))}n[Bu(e)]=Bu(i)}parseQueryParam(n){let e=gP(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let a=vP(this.remaining);a&&(i=a,this.capture(i))}let r=sD(e),o=sD(i);if(n.hasOwnProperty(r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o)}else n[r]=o}parseParens(n,e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=C_(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new A(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=ge);let s=this.parseChildren(e+1);i[a??ge]=Object.keys(s).length===1&&s[ge]?s[ge]:new Pe([],s),this.consumeOptional("//")}return i}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new A(4011,!1)}};function xD(t){return t.segments.length>0?new Pe([],{[ge]:t}):t}function DD(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=DD(r);if(i===ge&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))n[a]=s;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Pe(t.segments,n);return bP(e)}function bP(t){if(t.numberOfChildren===1&&t.children[ge]){let n=t.children[ge];return new Pe(t.segments.concat(n.segments),n.children)}return t}function ba(t){return t instanceof si}function yP(t,n,e=null,i=null,r=new to){let o=ED(t);return ID(o,n,e,i,r)}function ED(t){let n;function e(o){let a={};for(let c of o.children){let l=e(c);a[c.outlet]=l}let s=new Pe(o.url,a);return o===t&&(n=s),s}let i=e(t.root),r=xD(i);return n??r}function ID(t,n,e,i,r){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return w_(o,o,o,e,i,r);let a=CP(n);if(a.toRoot())return w_(o,o,new Pe([],{}),e,i,r);let s=wP(a,o,t),c=s.processChildren?pc(s.segmentGroup,s.index,a.commands):SD(s.segmentGroup,s.index,a.commands);return w_(o,s.segmentGroup,c,e,i,r)}function Vu(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function vc(t){return typeof t=="object"&&t!=null&&t.outlets}function cD(t,n,e){t||="\u0275";let i=new si;return i.queryParams={[t]:n},e.parse(e.serialize(i)).queryParams[t]}function w_(t,n,e,i,r,o){let a={};for(let[l,u]of Object.entries(i??{}))a[l]=Array.isArray(u)?u.map(m=>cD(l,m,o)):cD(l,u,o);let s;t===n?s=e:s=MD(t,n,e);let c=xD(DD(s));return new si(c,a,r)}function MD(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=MD(o,n,e)}),new Pe(t.segments,i)}var Hu=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Vu(i[0]))throw new A(4003,!1);let r=i.find(vc);if(r&&r!==nP(i))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function CP(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Hu(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,l])=>{s[c]=typeof l=="string"?l.split("/"):l}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new Hu(e,n,i)}var pa=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function wP(t,n,e){if(t.isAbsolute)return new pa(n,!0,0);if(!e)return new pa(n,!1,NaN);if(e.parent===null)return new pa(e,!0,0);let i=Vu(t.commands[0])?0:1,r=e.segments.length-1+i;return xP(e,r,t.numberOfDoubleDots)}function xP(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new A(4005,!1);r=i.segments.length}return new pa(i,!1,r-o)}function DP(t){return vc(t[0])?t[0].outlets:{[ge]:t}}function SD(t,n,e){if(t??=new Pe([],{}),t.segments.length===0&&t.hasChildren())return pc(t,n,e);let i=EP(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Pe(t.segments.slice(0,i.pathIndex),{});return o.children[ge]=new Pe(t.segments.slice(i.pathIndex),t.children),pc(o,0,r)}else return i.match&&r.length===0?new Pe(t.segments,{}):i.match&&!t.hasChildren()?S_(t,n,e):i.match?pc(t,0,r):S_(t,n,e)}function pc(t,n,e){if(e.length===0)return new Pe(t.segments,{});{let i=DP(e),r={};if(Object.keys(i).some(o=>o!==ge)&&t.children[ge]&&t.numberOfChildren===1&&t.children[ge].segments.length===0){let o=pc(t.children[ge],n,e);return new Pe(t.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=SD(t.children[o],n,a))}),Object.entries(t.children).forEach(([o,a])=>{i[o]===void 0&&(r[o]=a)}),new Pe(t.segments,r)}}function EP(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let a=t.segments[r],s=e[i];if(vc(s))break;let c=`${s}`,l=i<e.length-1?e[i+1]:null;if(r>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!dD(c,l,a))return o;i+=2}else{if(!dD(c,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function S_(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(vc(o)){let c=IP(o.outlets);return new Pe(i,c)}if(r===0&&Vu(e[0])){let c=t.segments[n];i.push(new Jr(c.path,lD(e[0]))),r++;continue}let a=vc(o)?o.outlets[ge]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&Vu(s)?(i.push(new Jr(a,lD(s))),r+=2):(i.push(new Jr(a,{})),r++)}return new Pe(i,{})}function IP(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=S_(new Pe([],{}),0,i))}),n}function lD(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function dD(t,n,e){return t==e.path&&ai(n,e.parameters)}var gc="imperative",kt=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(kt||{}),_n=class{id;url;constructor(n,e){this.id=n,this.url=e}},ya=class extends _n{type=kt.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},sr=class extends _n{urlAfterRedirects;type=kt.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ut=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(Ut||{}),zu=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(zu||{}),Fn=class extends _n{reason;code;type=kt.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function TD(t){return t instanceof Fn&&(t.code===Ut.Redirect||t.code===Ut.SupersededByNewNavigation)}var cr=class extends _n{reason;code;type=kt.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Ca=class extends _n{error;target;type=kt.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},bc=class extends _n{urlAfterRedirects;state;type=kt.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},T_=class extends _n{urlAfterRedirects;state;type=kt.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},k_=class extends _n{urlAfterRedirects;state;shouldActivate;type=kt.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},A_=class extends _n{urlAfterRedirects;state;type=kt.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},R_=class extends _n{urlAfterRedirects;state;type=kt.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},O_=class{route;type=kt.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},N_=class{route;type=kt.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},P_=class{snapshot;type=kt.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},F_=class{snapshot;type=kt.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},L_=class{snapshot;type=kt.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},B_=class{snapshot;type=kt.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var wa=class{},xa=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function MP(t){return!(t instanceof wa)&&!(t instanceof xa)}var j_=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Dc(this.rootInjector)}},Dc=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new j_(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(K(Be))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Uu=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=V_(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=V_(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=H_(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return H_(n,this._root).map(e=>e.value)}};function V_(t,n){if(t===n.value)return n;for(let e of n.children){let i=V_(t,e);if(i)return i}return null}function H_(t,n){if(t===n.value)return[n];for(let e of n.children){let i=H_(t,e);if(i.length)return i.unshift(n),i}return[]}var on=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ha(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var $u=class extends Uu{snapshot;constructor(n,e){super(n),this.snapshot=e,Y_(this,n)}toString(){return this.snapshot.toString()}};function kD(t,n){let e=SP(t,n),i=new nt([new Jr("",{})]),r=new nt({}),o=new nt({}),a=new nt({}),s=new nt(""),c=new no(i,r,a,s,o,ge,t,e.root);return c.snapshot=e.root,new $u(new on(c,[]),e)}function SP(t,n){let e={},i={},r={},a=new ga([],e,r,"",i,ge,t,null,{},n);return new Wu("",new on(a,[]))}var no=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,a,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(ne(l=>l[xc]))??U(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ne(n=>va(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ne(n=>va(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Gu(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:y(y({},n.params),t.params),data:y(y({},n.data),t.data),resolve:y(y(y(y({},t.data),n.data),r?.data),t._resolvedData)}:i={params:y({},t.params),data:y({},t.data),resolve:y(y({},t.data),t._resolvedData??{})},r&&RD(r)&&(i.resolve[xc]=r.title),i}var ga=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[xc]}constructor(n,e,i,r,o,a,s,c,l,u){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=l,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=va(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=va(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Wu=class extends Uu{url;constructor(n,e){super(e),this.url=n,Y_(this,e)}toString(){return AD(this._root)}};function Y_(t,n){n.value._routerState=t,n.children.forEach(e=>Y_(t,e))}function AD(t){let n=t.children.length>0?` { ${t.children.map(AD).join(", ")} } `:"";return`${t.value}${n}`}function x_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ai(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ai(n.params,e.params)||t.paramsSubject.next(e.params),tP(n.url,e.url)||t.urlSubject.next(e.url),ai(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function z_(t,n){let e=ai(t.params,n.params)&&aP(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||z_(t.parent,n.parent))}function RD(t){return typeof t.title=="string"||t.title===null}var TP=new b(""),OD=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ge;activateEvents=new B;deactivateEvents=new B;attachEvents=new B;detachEvents=new B;routerOutletData=fx();parentContexts=d(Dc);location=d(Ue);changeDetector=d(Me);inputBinder=d(Yu,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new U_(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:c,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ae]})}return t})(),U_=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===no?this.route:n===Dc?this.childContexts:n===TP?this.outletData:this.parent.get(n,e)}},Yu=new b("");var ND=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&se(0,"router-outlet")},dependencies:[OD],encapsulation:2})}return t})();function K_(t){let n=t.children&&t.children.map(K_),e=n?te(y({},t),{children:n}):y({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ge&&(e.component=ND),e}function kP(t,n,e){let i=yc(t,n._root,e?e._root:void 0);return new $u(i,n)}function yc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=AP(t,n,e);return new on(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>yc(t,s)),a}}let i=RP(n.value),r=n.children.map(o=>yc(t,o));return new on(i,r)}}function AP(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return yc(t,i,r);return yc(t,i)})}function RP(t){return new no(new nt(t.url),new nt(t.params),new nt(t.queryParams),new nt(t.fragment),new nt(t.data),t.outlet,t.component,t)}var Cc=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},PD="ngNavigationCancelingError";function qu(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=ba(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=FD(!1,Ut.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function FD(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[PD]=!0,e.cancellationCode=n,e}function OP(t){return LD(t)&&ba(t.url)}function LD(t){return!!t&&t[PD]}var $_=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),x_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=ha(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ha(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){let a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ha(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=ha(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new B_(o.value.snapshot))}),n.children.length&&this.forwardEvent(new F_(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(x_(r),r===o)if(r.component){let a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),x_(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,i)}},Qu=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},_a=class{component;route;constructor(n,e){this.component=n,this.route=e}};function NP(t,n,e){let i=t._root,r=n?n._root:null;return hc(i,r,e,[i.value])}function PP(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ea(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!xh(t)?t:n.get(t):i}function hc(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=ha(n);return t.children.forEach(a=>{FP(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>_c(s,e.getContext(a),r)),r}function FP(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=LP(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Qu(i)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?hc(t,n,s?s.children:null,i,r):hc(t,n,e,i,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new _a(s.outlet.component,a))}else a&&_c(n,s,r),r.canActivateChecks.push(new Qu(i)),o.component?hc(t,null,s?s.children:null,i,r):hc(t,null,e,i,r);return r}function LP(t,n,e){if(typeof e=="function")return Dt(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!eo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!eo(t.url,n.url)||!ai(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!z_(t,n)||!ai(t.queryParams,n.queryParams);default:return!z_(t,n)}}function _c(t,n,e){let i=ha(t),r=t.value;Object.entries(i).forEach(([o,a])=>{r.component?n?_c(a,n.children.getContext(o),e):_c(a,null,e):_c(a,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new _a(n.outlet.component,r)):e.canDeactivateChecks.push(new _a(null,r)):e.canDeactivateChecks.push(new _a(null,r))}function Ec(t){return typeof t=="function"}function BP(t){return typeof t=="boolean"}function jP(t){return t&&Ec(t.canLoad)}function VP(t){return t&&Ec(t.canActivate)}function HP(t){return t&&Ec(t.canActivateChild)}function zP(t){return t&&Ec(t.canDeactivate)}function UP(t){return t&&Ec(t.canMatch)}function BD(t){return t instanceof Er||t?.name==="EmptyError"}var Pu=Symbol("INITIAL_VALUE");function Da(){return rt(t=>hi(t.map(n=>n.pipe(He(1),Je(Pu)))).pipe(ne(n=>{for(let e of n)if(e!==!0){if(e===Pu)return Pu;if(e===!1||$P(e))return e}return!0}),pe(n=>n!==Pu),He(1)))}function $P(t){return ba(t)||t instanceof Cc}function jD(t){return t.aborted?U(void 0).pipe(He(1)):new W(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function VD(t){return fe(jD(t))}function GP(t){return ut(n=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=n;return o.length===0&&r.length===0?U(te(y({},n),{guardsResult:!0})):WP(o,e,i).pipe(ut(a=>a&&BP(a)?qP(e,r,t):U(a)),ne(a=>te(y({},n),{guardsResult:a})))})}function WP(t,n,e){return Ye(t).pipe(ut(i=>XP(i.component,i.route,e,n)),gi(i=>i!==!0,!0))}function qP(t,n,e){return Ye(n).pipe(Fo(i=>Gi(ZP(i.route.parent,e),QP(i.route,e),KP(t,i.path),YP(t,i.route))),gi(i=>i!==!0,!0))}function QP(t,n){return t!==null&&n&&n(new L_(t)),U(!0)}function ZP(t,n){return t!==null&&n&&n(new P_(t)),U(!0)}function YP(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return U(!0);let i=e.map(r=>wn(()=>{let o=n._environmentInjector,a=Ea(r,o),s=VP(a)?a.canActivate(n,t):Dt(o,()=>a(n,t));return io(s).pipe(gi())}));return U(i).pipe(Da())}function KP(t,n){let e=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(o=>PP(o)).filter(o=>o!==null).map(o=>wn(()=>{let a=o.guards.map(s=>{let c=o.node._environmentInjector,l=Ea(s,c),u=HP(l)?l.canActivateChild(e,t):Dt(c,()=>l(e,t));return io(u).pipe(gi())});return U(a).pipe(Da())}));return U(r).pipe(Da())}function XP(t,n,e,i){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return U(!0);let o=r.map(a=>{let s=n._environmentInjector,c=Ea(a,s),l=zP(c)?c.canDeactivate(t,n,e,i):Dt(s,()=>c(t,n,e,i));return io(l).pipe(gi())});return U(o).pipe(Da())}function JP(t,n,e,i,r){let o=n.canLoad;if(o===void 0||o.length===0)return U(!0);let a=o.map(s=>{let c=Ea(s,t),l=jP(c)?c.canLoad(n,e):Dt(t,()=>c(n,e)),u=io(l);return r?u.pipe(VD(r)):u});return U(a).pipe(Da(),HD(i))}function HD(t){return Jf(Ot(n=>{if(typeof n!="boolean")throw qu(t,n)}),ne(n=>n===!0))}function eF(t,n,e,i,r){let o=n.canMatch;if(!o||o.length===0)return U(!0);let a=o.map(s=>{let c=Ea(s,t),l=UP(c)?c.canMatch(n,e):Dt(t,()=>c(n,e));return io(l).pipe(VD(r))});return U(a).pipe(Da(),HD(i))}var Pi=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},wc=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function tF(t){throw new A(4e3,!1)}function nF(t){throw FD(!1,Ut.GuardRejected)}var G_=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return ve(this,null,function*(){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return i;if(r.numberOfChildren>1||!r.children[ge])throw tF(`${n.redirectTo}`);r=r.children[ge]}})}applyRedirectCommands(n,e,i,r,o){return ve(this,null,function*(){let a=yield iF(e,r,o);if(a instanceof si)throw new wc(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,i);if(a[0]==="/")throw new wc(s);return s})}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new si(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,i,r)}),new Pe(o,a)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new A(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function iF(t,n,e){if(typeof t=="string")return Promise.resolve(t);let i=t,{queryParams:r,fragment:o,routeConfig:a,url:s,outlet:c,params:l,data:u,title:m,paramMap:h,queryParamMap:f}=n;return ju(io(Dt(e,()=>i({params:l,data:u,queryParams:r,fragment:o,routeConfig:a,url:s,outlet:c,title:m,paramMap:h,queryParamMap:f}))))}function rF(t,n){return t.providers&&!t._injector&&(t._injector=Qs(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Pn(t){return t.outlet||ge}function oF(t,n){let e=t.filter(i=>Pn(i)===n);return e.push(...t.filter(i=>Pn(i)!==n)),e}var W_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function aF(t,n,e,i,r,o){let a=zD(t,n,e);return a.matched?(i=rF(n,i),eF(i,n,e,r,o).pipe(ne(s=>s===!0?a:y({},W_)))):U(a)}function zD(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?y({},W_):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||eP)(e,t,n);if(!r)return y({},W_);let o={};Object.entries(r.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=r.consumed.length>0?y(y({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function uD(t,n,e,i){return e.length>0&&lF(t,e,i)?{segmentGroup:new Pe(n,cF(i,new Pe(e,t.children))),slicedSegments:[]}:e.length===0&&dF(t,e,i)?{segmentGroup:new Pe(t.segments,sF(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Pe(t.segments,t.children),slicedSegments:e}}function sF(t,n,e,i){let r={};for(let o of e)if(Ku(t,n,o)&&!i[Pn(o)]){let a=new Pe([],{});r[Pn(o)]=a}return y(y({},i),r)}function cF(t,n){let e={};e[ge]=n;for(let i of t)if(i.path===""&&Pn(i)!==ge){let r=new Pe([],{});e[Pn(i)]=r}return e}function lF(t,n,e){return e.some(i=>Ku(t,n,i)&&Pn(i)!==ge)}function dF(t,n,e){return e.some(i=>Ku(t,n,i))}function Ku(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function uF(t,n,e){return n.length===0&&!t.children[e]}var q_=class{};function mF(t,n,e,i,r,o,a="emptyOnly",s){return ve(this,null,function*(){return new Q_(t,n,e,i,r,a,o,s).recognize()})}var fF=31,Q_=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,a,s,c){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.abortSignal=c,this.applyRedirects=new G_(this.urlSerializer,this.urlTree)}noMatchError(n){return new A(4002,`'${n.segmentGroup}'`)}recognize(){return ve(this,null,function*(){let n=uD(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:i}=yield this.match(n),r=new on(i,e),o=new Wu("",r),a=yP(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(n){return ve(this,null,function*(){let e=new ga([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ge,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,ge,e),rootSnapshot:e}}catch(i){if(i instanceof wc)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Pi?this.noMatchError(i):i}})}processSegmentGroup(n,e,i,r,o){return ve(this,null,function*(){if(i.segments.length===0&&i.hasChildren())return this.processChildren(n,e,i,o);let a=yield this.processSegment(n,e,i,i.segments,r,!0,o);return a instanceof on?[a]:[]})}processChildren(n,e,i,r){return ve(this,null,function*(){let o=[];for(let c of Object.keys(i.children))c==="primary"?o.unshift(c):o.push(c);let a=[];for(let c of o){let l=i.children[c],u=oF(e,c),m=yield this.processSegmentGroup(n,u,l,c,r);a.push(...m)}let s=UD(a);return hF(s),s})}processSegment(n,e,i,r,o,a,s){return ve(this,null,function*(){for(let c of e)try{return yield this.processSegmentAgainstRoute(c._injector??n,e,c,i,r,o,a,s)}catch(l){if(l instanceof Pi||BD(l))continue;throw l}if(uF(i,r,o))return new q_;throw new Pi(i)})}processSegmentAgainstRoute(n,e,i,r,o,a,s,c){return ve(this,null,function*(){if(Pn(i)!==a&&(a===ge||!Ku(r,o,i)))throw new Pi(r);if(i.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,r,i,o,a,c);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,a,c);throw new Pi(r)})}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,a,s){return ve(this,null,function*(){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:m,remainingSegments:h}=zD(e,r,o);if(!c)throw new Pi(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>fF&&(this.allowRedirects=!1));let f=new ga(o,l,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,mD(r),Pn(r),r.component??r._loadedComponent??null,r,fD(r),n),C=Gu(f,s,this.paramsInheritanceStrategy);if(f.params=Object.freeze(C.params),f.data=Object.freeze(C.data),this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let E=yield this.applyRedirects.applyRedirectCommands(u,r.redirectTo,m,f,n),M=yield this.applyRedirects.lineralizeSegments(r,E);return this.processSegment(n,i,e,M.concat(h),a,!1,s)})}matchSegmentAgainstRoute(n,e,i,r,o,a){return ve(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=yield ju(aF(e,i,r,n,this.urlSerializer,this.abortSignal));if(i.path==="**"&&(e.children={}),!s?.matched)throw new Pi(e);n=i._injector??n;let{routes:c}=yield this.getChildConfig(n,i,r),l=i._loadedInjector??n,{parameters:u,consumedSegments:m,remainingSegments:h}=s,f=new ga(m,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,mD(i),Pn(i),i.component??i._loadedComponent??null,i,fD(i),n),C=Gu(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(C.params),f.data=Object.freeze(C.data);let{segmentGroup:E,slicedSegments:M}=uD(e,m,h,c);if(M.length===0&&E.hasChildren()){let Ft=yield this.processChildren(l,c,E,f);return new on(f,Ft)}if(c.length===0&&M.length===0)return new on(f,[]);let S=Pn(i)===o,De=yield this.processSegment(l,c,E,M,S?ge:o,!0,f);return new on(f,De instanceof on?[De]:[])})}getChildConfig(n,e,i){return ve(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield ju(JP(n,e,i,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw nF(e)}return{routes:[],injector:n}})}};function hF(t){t.sort((n,e)=>n.value.outlet===ge?-1:e.value.outlet===ge?1:n.value.outlet.localeCompare(e.value.outlet))}function pF(t){let n=t.value.routeConfig;return n&&n.path===""}function UD(t){let n=[],e=new Set;for(let i of t){if(!pF(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=UD(i.children);n.push(new on(i.value,r))}return n.filter(i=>!e.has(i))}function mD(t){return t.data||{}}function fD(t){return t.resolve||{}}function gF(t,n,e,i,r,o,a){return ut(s=>ve(null,null,function*(){let{state:c,tree:l}=yield mF(t,n,e,i,s.extractedUrl,r,o,a);return te(y({},s),{targetSnapshot:c,urlAfterRedirects:l})}))}function _F(t){return ut(n=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=n;if(!i.length)return U(n);let r=new Set(i.map(s=>s.route)),o=new Set;for(let s of r)if(!o.has(s))for(let c of $D(s))o.add(c);let a=0;return Ye(o).pipe(Fo(s=>r.has(s)?vF(s,e,t):(s.data=Gu(s,s.parent,t).resolve,U(void 0))),Ot(()=>a++),Ul(1),ut(s=>a===o.size?U(n):Xe))})}function $D(t){let n=t.children.map(e=>$D(e)).flat();return[t,...n]}function vF(t,n,e){let i=t.routeConfig,r=t._resolve;return i?.title!==void 0&&!RD(i)&&(r[xc]=i.title),wn(()=>(t.data=Gu(t,t.parent,e).resolve,bF(r,t,n).pipe(ne(o=>(t._resolvedData=o,t.data=y(y({},t.data),o),null)))))}function bF(t,n,e){let i=E_(t);if(i.length===0)return U({});let r={};return Ye(i).pipe(ut(o=>yF(t[o],n,e).pipe(gi(),Ot(a=>{if(a instanceof Cc)throw qu(new to,a);r[o]=a}))),Ul(1),ne(()=>r),Mr(o=>BD(o)?Xe:ls(o)))}function yF(t,n,e){let i=n._environmentInjector,r=Ea(t,i),o=r.resolve?r.resolve(n,e):Dt(i,()=>r(n,e));return io(o)}function hD(t){return rt(n=>{let e=t(n);return e?Ye(e).pipe(ne(()=>n)):U(n)})}var GD=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ge);return i}getResolvedTitleForRoute(e){return e.data[xc]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>d(CF),providedIn:"root"})}return t})(),CF=(()=>{class t extends GD{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(K(rD))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xu=new b("",{factory:()=>({})}),Ju=new b(""),WD=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Gg);loadComponent(e,i){return ve(this,null,function*(){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Promise.resolve(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=ve(this,null,function*(){try{let o=yield gD(Dt(e,()=>i.loadComponent())),a=yield QD(qD(o));return this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=a,a}finally{this.componentLoaders.delete(i)}});return this.componentLoaders.set(i,r),r})}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Promise.resolve({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let r=ve(this,null,function*(){try{let o=yield wF(i,this.compiler,e,this.onLoadEndListener);return i._loadedRoutes=o.routes,i._loadedInjector=o.injector,i._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(i)}});return this.childrenLoaders.set(i,r),r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wF(t,n,e,i){return ve(this,null,function*(){let r=yield gD(Dt(e,()=>t.loadChildren())),o=yield QD(qD(r)),a;o instanceof ou||Array.isArray(o)?a=o:a=yield n.compileModuleAsync(o),i&&i(t);let s,c,l=!1,u;return Array.isArray(a)?(c=a,l=!0):(s=a.create(e).injector,u=a,c=s.get(Ju,[],{optional:!0,self:!0}).flat()),{routes:c.map(K_),injector:s,factory:u}})}function xF(t){return t&&typeof t=="object"&&"default"in t}function qD(t){return xF(t)?t.default:t}function QD(t){return ve(this,null,function*(){return t})}var X_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>d(DF),providedIn:"root"})}return t})(),DF=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ZD=new b("");var EF=()=>{},YD=new b(""),KD=(()=>{class t{currentNavigation=X(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=X(null);events=new x;transitionAbortWithErrorSubject=new x;configLoader=d(WD);environmentInjector=d(Be);destroyRef=d(qt);urlSerializer=d(Zu);rootContexts=d(Dc);location=d(or);inputBindingEnabled=d(Yu,{optional:!0})!==null;titleStrategy=d(GD);options=d(Xu,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(X_);createViewTransition=d(ZD,{optional:!0});navigationErrorHandler=d(YD,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>U(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new O_(r)),i=r=>this.events.next(new N_(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;at(()=>{this.transitions?.next(te(y({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i}))})}setupNavigations(e){return this.transitions=new nt(null),this.transitions.pipe(pe(i=>i!==null),rt(i=>{let r=!1,o=new AbortController,a=()=>!r&&this.currentTransition?.id===i.id;return U(i).pipe(rt(s=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Ut.SupersededByNewNavigation),Xe;this.currentTransition=i;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:c?te(y({},c),{previousNavigation:null}):null,abort:()=>o.abort()});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new cr(s.id,this.urlSerializer.serialize(s.rawUrl),"",zu.IgnoredSameUrlNavigation)),s.resolve(!1),Xe;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return U(s).pipe(rt(m=>(this.events.next(new ya(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),m.id!==this.navigationId?Xe:Promise.resolve(m))),gF(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),Ot(m=>{i.targetSnapshot=m.targetSnapshot,i.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=m.urlAfterRedirects,f));let h=new bc(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:m,extractedUrl:h,source:f,restoredState:C,extras:E}=s,M=new ya(m,this.urlSerializer.serialize(h),f,C);this.events.next(M);let S=kD(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=i=te(y({},s),{targetSnapshot:S,urlAfterRedirects:h,extras:te(y({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(De=>(De.finalUrl=h,De)),U(i)}else return this.events.next(new cr(s.id,this.urlSerializer.serialize(s.extractedUrl),"",zu.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Xe}),ne(s=>{let c=new T_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(c),this.currentTransition=i=te(y({},s),{guards:NP(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),i}),GP(s=>this.events.next(s)),rt(s=>{if(i.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw qu(this.urlSerializer,s.guardsResult);let c=new k_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(c),!a())return Xe;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",Ut.GuardRejected),Xe;if(s.guards.canActivateChecks.length===0)return U(s);let l=new A_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(l),!a())return Xe;let u=!1;return U(s).pipe(_F(this.paramsInheritanceStrategy),Ot({next:()=>{u=!0;let m=new R_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(m)},complete:()=>{u||this.cancelNavigationTransition(s,"",Ut.NoDataFromResolver)}}))}),hD(s=>{let c=u=>{let m=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let h=u._environmentInjector;m.push(this.configLoader.loadComponent(h,u.routeConfig).then(f=>{u.component=f}))}for(let h of u.children)m.push(...c(h));return m},l=c(s.targetSnapshot.root);return l.length===0?U(s):Ye(Promise.all(l).then(()=>s))}),hD(()=>this.afterPreactivation()),rt(()=>{let{currentSnapshot:s,targetSnapshot:c}=i,l=this.createViewTransition?.(this.environmentInjector,s.root,c.root);return l?Ye(l).pipe(ne(()=>i)):U(i)}),He(1),ne(s=>{let c=kP(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=i=s=te(y({},s),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new wa),a()&&(new $_(e.routeReuseStrategy,i.targetRouterState,i.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),a()&&(r=!0,this.currentNavigation.update(l=>(l.abort=EF,l)),this.lastSuccessfulNavigation.set(at(this.currentNavigation)),this.events.next(new sr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)))}),fe(jD(o.signal).pipe(pe(()=>!r&&!i.targetRouterState),Ot(()=>{this.cancelNavigationTransition(i,o.signal.reason+"",Ut.Aborted)}))),Ot({complete:()=>{r=!0}}),fe(this.transitionAbortWithErrorSubject.pipe(Ot(s=>{throw s}))),Sr(()=>{o.abort(),r||this.cancelNavigationTransition(i,"",Ut.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Mr(s=>{if(r=!0,this.destroyed)return i.resolve(!1),Xe;if(LD(s))this.events.next(new Fn(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode)),OP(s)?this.events.next(new xa(s.url,s.navigationBehaviorOptions)):i.resolve(!1);else{let c=new Ca(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);try{let l=Dt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Cc){let{message:u,cancellationCode:m}=qu(this.urlSerializer,l);this.events.next(new Fn(i.id,this.urlSerializer.serialize(i.extractedUrl),u,m)),this.events.next(new xa(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),s}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Xe}))}))}cancelNavigationTransition(e,i,r){let o=new Fn(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=at(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function IF(t){return t!==gc}var XD=new b("");var MF=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>d(SF),providedIn:"root"})}return t})(),Z_=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},SF=(()=>{class t extends Z_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),J_=(()=>{class t{urlSerializer=d(Zu);options=d(Xu,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(or);urlHandlingStrategy=d(X_);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new si;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,a=r??o;return a instanceof si?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=kD(null,d(Be));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>d(TF),providedIn:"root"})}return t})(),TF=(()=>{class t extends J_{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof ya?this.updateStateMemento():e instanceof cr?this.commitTransition(i):e instanceof bc?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof wa?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Fn&&!TD(e)?this.restoreHistory(i):e instanceof Ca?this.restoreHistory(i,!0):e instanceof sr&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||o){let s=this.browserPageId,c=y(y({},a),this.generateNgRouterState(r,s));this.location.replaceState(e,"",c)}else{let s=y(y({},a),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function JD(t,n){t.events.pipe(pe(e=>e instanceof sr||e instanceof Fn||e instanceof Ca||e instanceof cr),ne(e=>e instanceof sr||e instanceof cr?0:(e instanceof Fn?e.code===Ut.Redirect||e.code===Ut.SupersededByNewNavigation:!1)?2:1),pe(e=>e!==2),He(1)).subscribe(()=>{n()})}var eE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tE={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ev=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(cu);stateManager=d(J_);options=d(Xu,{optional:!0})||{};pendingTasks=d(Xn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(KD);urlSerializer=d(Zu);location=d(or);urlHandlingStrategy=d(X_);injector=d(Be);_events=new x;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(MF);injectorCleanup=d(XD,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(Ju,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(Yu,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Y;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=at(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Fn&&i.code!==Ut.Redirect&&i.code!==Ut.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof sr)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(i instanceof xa){let a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),c=y({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||IF(r.source)},a);this.scheduleNavigation(s,gc,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}MP(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){let c=y({},r);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let s=this.parseUrl(e);this.scheduleNavigation(s,i,a,o).catch(c=>{this.disposed||this.injector.get(fn)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return at(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(K_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:a,u=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":u=y(y({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let m;try{let h=r?r.snapshot:this.routerState.snapshot.root;m=ED(h)}catch(h){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),m=this.currentUrlTree.root}return ID(m,e,u,l??null,this.urlSerializer)}navigateByUrl(e,i={skipLocationChange:!1}){let r=ba(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,gc,null,i)}navigate(e,i={skipLocationChange:!1}){return kF(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(i){return this.console.warn(Zi(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=y({},eE):i===!1?r=y({},tE):r=i,ba(e))return aD(this.currentUrlTree,e,r);let o=this.parseUrl(e);return aD(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,c,l;a?(s=a.resolve,c=a.reject,l=a.promise):l=new Promise((m,h)=>{s=m,c=h});let u=this.pendingTasks.add();return JD(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function kF(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new A(4008,!1)}var AF=new b("");function tv(t,...n){return Pr([{provide:Ju,multi:!0,useValue:t},[],{provide:no,useFactory:RF},{provide:lu,multi:!0,useFactory:OF},n.map(e=>e.\u0275providers)])}function RF(){return d(ev).routerState.root}function OF(){let t=d(q);return n=>{let e=t.get(zt);if(n!==e.components[0])return;let i=t.get(ev),r=t.get(NF);t.get(PF)===1&&i.initialNavigation(),t.get(FF,null,{optional:!0})?.setUpPreloading(),t.get(AF,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var NF=new b("",{factory:()=>new x}),PF=new b("",{factory:()=>1});var FF=new b("");var nE=[];var iE={providers:[px({eventCoalescing:!0}),tv(nE)]};var BF={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)},jF="WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }",em=class t extends Ro{constructor(n,e){if(super(),this._socket=null,n instanceof W)this.destination=e,this.source=n;else{let i=this._config=Object.assign({},BF);if(this._output=new x,typeof n=="string")i.url=n;else for(let r in n)n.hasOwnProperty(r)&&(i[r]=n[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new $t}}lift(n){let e=new t(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new $t),this._output=new x}multiplex(n,e,i){let r=this;return new W(o=>{try{r.next(n())}catch(s){o.error(s)}let a=r.subscribe({next:s=>{try{i(s)&&o.next(s)}catch(c){o.error(c)}},error:s=>o.error(s),complete:()=>o.complete()});return()=>{try{r.next(e())}catch(s){o.error(s)}a.unsubscribe()}})}_connectSocket(){let{WebSocketCtor:n,protocol:e,url:i,binaryType:r}=this._config,o=this._output,a=null;try{a=e?new n(i,e):new n(i),this._socket=a,r&&(this._socket.binaryType=r)}catch(c){o.error(c);return}let s=new Y(()=>{this._socket=null,a&&a.readyState===1&&a.close()});a.onopen=c=>{let{_socket:l}=this;if(!l){a.close(),this._resetState();return}let{openObserver:u}=this._config;u&&u.next(c);let m=this.destination;this.destination=mi.create(h=>{if(a.readyState===1)try{let{serializer:f}=this._config;a.send(f(h))}catch(f){this.destination.error(f)}},h=>{let{closingObserver:f}=this._config;f&&f.next(void 0),h&&h.code?a.close(h.code,h.reason):o.error(new TypeError(jF)),this._resetState()},()=>{let{closingObserver:h}=this._config;h&&h.next(void 0),a.close(),this._resetState()}),m&&m instanceof $t&&s.add(m.subscribe(this.destination))},a.onerror=c=>{this._resetState(),o.error(c)},a.onclose=c=>{a===this._socket&&this._resetState();let{closeObserver:l}=this._config;l&&l.next(c),c.wasClean?o.complete():o.error(c)},a.onmessage=c=>{try{let{deserializer:l}=this._config;o.next(l(c))}catch(l){o.error(l)}}}_subscribe(n){let{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{let{_socket:i}=this;this._output.observers.length===0&&(i&&(i.readyState===1||i.readyState===0)&&i.close(),this._resetState())}),n)}unsubscribe(){let{_socket:n}=this;n&&(n.readyState===1||n.readyState===0)&&n.close(),this._resetState(),super.unsubscribe()}};function nv(t){return new em(t)}var rE=t=>new Promise((n,e)=>{let i=new FileReader;i.onload=()=>n(i.result),i.onerror=r=>e(r),i.readAsText(t)});var tm=class t{socket$;messages$;isBrowser;platformId=d(Mi);constructor(){this.isBrowser=Mu(this.platformId)}connect(n){if(!this.isBrowser){console.warn("WebSocket is only available in the browser"),this.messages$=U([]);return}(!this.socket$||this.socket$.closed)&&(this.socket$=nv({url:n,deserializer:e=>e.data}),this.messages$=this.socket$.pipe(ut(e=>{if(e instanceof Blob)return Ye(rE(e)).pipe(ne(i=>{try{return JSON.parse(i)}catch(r){return null}}));if(typeof e=="string")try{let i=JSON.parse(e);return U(i)}catch(i){return U(null)}return U(e)}),pe(e=>e!==null)))}send(n){this.socket$&&!this.socket$.closed&&this.socket$.next(n)}close(){this.socket$?.complete(),this.socket$=void 0,this.messages$=void 0}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var VF=1,nm=class t{CHUNK_SIZE=1e3;exportSession(n,e,i,r){try{let o=this.buildSessionBlob(n,e,i,r),a=URL.createObjectURL(o),s=this.generateFilename(r);this.triggerDownload(a,s),URL.revokeObjectURL(a)}catch(o){throw console.error("Failed to export session:",o),new Error("Export failed: Session data is too large to export. Try clearing some history first.")}}buildSessionBlob(n,e,i,r){let o=[];o.push(`{
|
|
6
|
+
`),o.push(` "version": ${VF},
|
|
7
|
+
`),o.push(` "exportedAt": ${JSON.stringify(new Date().toISOString())},
|
|
8
|
+
`),r&&o.push(` "appName": ${JSON.stringify(r)},
|
|
9
|
+
`),o.push(` "messages": [
|
|
10
|
+
`),this.writeArrayChunked(o,n," "),o.push(` ],
|
|
11
|
+
`),o.push(` "effectEvents": [
|
|
12
|
+
`),this.writeArrayChunked(o,e," "),o.push(` ],
|
|
13
|
+
`);let a=Array.from(i.entries());return o.push(` "renderTimings": [
|
|
14
|
+
`),this.writeArrayChunked(o,a," "),o.push(` ]
|
|
15
|
+
`),o.push("}"),new Blob(o,{type:"application/json"})}writeArrayChunked(n,e,i){for(let r=0;r<e.length;r+=this.CHUNK_SIZE){let o=e.slice(r,Math.min(r+this.CHUNK_SIZE,e.length));for(let a=0;a<o.length;a++){let s=r+a===e.length-1,c=JSON.stringify(o[a]);n.push(`${i}${c}${s?`
|
|
16
|
+
`:`,
|
|
17
|
+
`}`)}}}importSession$(){let n=this.createFileInput(),e=new x,i=us(n,"change").pipe(He(1),rt(o=>{let s=o.target?.files?.[0];return s?this.readAndParseFile$(s):U({success:!1,error:{type:"NO_FILE_SELECTED"}})})),r=e.pipe(ne(()=>({success:!1,error:{type:"CANCELLED"}})));return n.addEventListener("cancel",()=>e.next(),{once:!0}),n.click(),ah(i,r).pipe(He(1))}importSession(){return new Promise((n,e)=>{this.importSession$().subscribe(i=>{i.success?n(i.data):e(new Error(this.formatImportError(i.error)))})})}readAndParseFile$(n){return new W(e=>{let i=new FileReader;i.onload=r=>{let o=r.target?.result;if(typeof o!="string"){e.next({success:!1,error:{type:"FILE_READ_ERROR",message:"File content is not text"}}),e.complete();return}let a=this.parseSessionContent(o);e.next(a),e.complete()},i.onerror=()=>{e.next({success:!1,error:{type:"FILE_READ_ERROR",message:i.error?.message??"Unknown read error"}}),e.complete()},i.readAsText(n)})}parseSessionContent(n){let e;try{e=JSON.parse(n)}catch(r){return{success:!1,error:{type:"PARSE_ERROR",message:r instanceof Error?r.message:"Unknown parse error"}}}let i=this.validateSessionData(e);return i.valid?{success:!0,data:e}:{success:!1,error:{type:"INVALID_FORMAT",details:i.reason}}}validateSessionData(n){if(n===null||typeof n!="object")return{valid:!1,reason:"Data is not an object"};let e=n,r=[[typeof e.version=="number","Missing or invalid version field"],[typeof e.exportedAt=="string","Missing or invalid exportedAt field"],[Array.isArray(e.messages),"Missing or invalid messages array"],[Array.isArray(e.effectEvents),"Missing or invalid effectEvents array"],[Array.isArray(e.renderTimings),"Missing or invalid renderTimings array"]].find(([o])=>!o);return r?{valid:!1,reason:r[1]}:{valid:!0}}createFileInput(){let n=document.createElement("input");return n.type="file",n.accept=".json,application/json",n.style.display="none",n}generateFilename(n){let e=new Date().toISOString().replace(/[:.]/g,"-");return n?`ngrx-session-${n}-${e}.json`:`ngrx-session-${e}.json`}triggerDownload(n,e){let i=document.createElement("a");i.href=n,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i)}formatImportError(n){switch(n.type){case"NO_FILE_SELECTED":return"No file selected";case"CANCELLED":return"File selection cancelled";case"FILE_READ_ERROR":return`Failed to read file: ${n.message}`;case"PARSE_ERROR":return`Failed to parse session file: ${n.message}`;case"INVALID_FORMAT":return`Invalid session file format: ${n.details}`}}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var HF=new b("cdk-dir-doc",{providedIn:"root",factory:()=>d(G)}),zF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function oE(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?zF.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var lt=(()=>{class t{get value(){return this.valueSignal()}valueSignal=X("ltr");change=new B;constructor(){let e=d(HF,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(oE(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var de=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({})}return t})();var iv;try{iv=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){iv=!1}var ye=(()=>{class t{_platformId=d(Mi);isBrowser=this._platformId?Mu(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||iv)&&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(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ic;function aE(){if(Ic==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ic=!0}))}finally{Ic=Ic||!1}return Ic}function Ia(t){return aE()?t:!!t.capture}var Ln=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Ln||{}),im,ro;function rm(){if(ro==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ro=!1,ro;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)ro=!0;else{let t=Element.prototype.scrollTo;t?ro=!/\{\s*\[native code\]\s*\}/.test(t.toString()):ro=!1}}return ro}function Ma(){if(typeof document!="object"||!document)return Ln.NORMAL;if(im==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),im=Ln.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,im=t.scrollLeft===0?Ln.NEGATED:Ln.INVERTED),t.remove()}return im}var rv;function sE(){if(rv==null){let t=typeof document<"u"?document.head:null;rv=!!(t&&(t.createShadowRoot||t.attachShadow))}return rv}function ov(t){if(sE()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Mc(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function At(t){return t.composedPath?t.composedPath()[0]:t.target}function av(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var UF=["*",[["mat-toolbar-row"]]],$F=["*","mat-toolbar-row"],GF=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),cE=(()=>{class t{_elementRef=d(O);_platform=d(ye);_document=d(G);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&&yt(o,GF,5),i&2){let a;P(a=F())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(We(r.color?"mat-"+r.color:""),L("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:$F,decls:2,vars:0,template:function(i,r){i&1&&(Te(UF),ee(0),ee(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}
|
|
18
|
+
`],encapsulation:2,changeDetection:0})}return t})();var lE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();var om=new WeakMap,St=(()=>{class t{_appRef;_injector=d(q);_environmentInjector=d(Be);load(e){let i=this._appRef=this._appRef||this._injector.get(zt),r=om.get(i);r||(r={loaders:new Set,refs:[]},om.set(i,r),i.onDestroy(()=>{om.get(i)?.refs.forEach(o=>o.destroy()),om.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(_u(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Sa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},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}
|
|
19
|
+
`],encapsulation:2,changeDetection:0})}return t})(),am;function qF(){if(am===void 0&&(am=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(am=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return am}function oo(t){return qF()?.createHTML(t)||t}function dE(t,n,e){let i=e.sanitize(Tt.HTML,n);t.innerHTML=oo(i||"")}function uE(t){return Error(`Unable to find icon with the name "${t}"`)}function QF(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function mE(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function fE(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Fi=class{url;svgText;options;svgElement=null;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},pE=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Fi(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let a=this._sanitizer.sanitize(Tt.HTML,r);if(!a)throw fE(r);let s=oo(a);return this._addSvgIconConfig(e,i,new Fi("",s,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Fi(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(Tt.HTML,i);if(!o)throw fE(i);let a=oo(o);return this._addSvgIconSetConfig(e,new Fi("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(Tt.RESOURCE_URL,e);if(!i)throw mE(e);let r=this._cachedIconsByUrl.get(i);return r?U(sm(r)):this._loadSvgIconFromConfig(new Fi(e,null)).pipe(Ot(o=>this._cachedIconsByUrl.set(i,o)),ne(o=>sm(o)))}getNamedSvgIcon(e,i=""){let r=hE(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):ls(uE(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?U(sm(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ne(i=>sm(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return U(r);let o=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Mr(s=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Tt.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),U(null)})));return ds(o).pipe(ne(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw uE(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ot(i=>e.svgText=i),ne(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?U(null):this._fetchIcon(e).pipe(Ot(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(oo("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(oo("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:a,value:s}=r[o];a!=="id"&&i.setAttribute(a,s)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw QF();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(Tt.RESOURCE_URL,i);if(!a)throw mE(i);let s=this._inProgressUrlFetches.get(a);if(s)return s;let c=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(ne(l=>oo(l)),Sr(()=>this._inProgressUrlFetches.delete(a)),hs());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(hE(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return ZF(o)?new Fi(o.url,null,o.options):new Fi(o,null)}}static \u0275fac=function(i){return new(i||t)(K(b_,8),K(mc),K(G,8),K(Wt))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function sm(t){return t.cloneNode(!0)}function hE(t,n){return t+":"+n}function ZF(t){return!!(t.url&&t.options)}var YF=["*"],KF=new b("MAT_ICON_DEFAULT_OPTIONS"),XF=new b("mat-icon-location",{providedIn:"root",factory:()=>{let t=d(G),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),gE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],JF=gE.map(t=>`[${t}]`).join(", "),eL=/^url\(['"]?#(.*?)['"]?\)$/,ci=(()=>{class t{_elementRef=d(O);_iconRegistry=d(pE);_location=d(XF);_errorHandler=d(Wt);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Y.EMPTY;constructor(){let e=d(new pn("aria-hidden"),{optional:!0}),i=d(KF,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(JF),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)gE.forEach(a=>{let s=i[o],c=s.getAttribute(a),l=c?c.match(eL):null;if(l){let u=r.get(s);u||(u=[],r.set(s,u)),u.push({name:a,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(He(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(Z("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),We(r.color?"mat-"+r.color:""),L("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",$],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:YF,decls:1,vars:0,template:function(i,r){i&1&&(Te(),ee(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
|
|
20
|
+
`],encapsulation:2,changeDetection:0})}return t})(),li=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();var cm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();function Xt(t,n=0){return _E(t)?Number(t):arguments.length===2?n:0}function _E(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function vn(t){return t instanceof O?t.nativeElement:t}function Ta(t){return Array.isArray(t)?t:[t]}function dt(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Tc(t){return t!=null&&`${t}`!="false"}function kc(t){return t.buttons===0||t.detail===0}function Ac(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var vE=new b("cdk-input-modality-detector-options"),bE={ignoreKeys:[18,17,224,91,16]},yE=650,sv={passive:!0,capture:!0},CE=(()=>{class t{_platform=d(ye);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new nt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=At(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<yE||(this._modality.next(kc(e)?"keyboard":"mouse"),this._mostRecentTarget=At(e))};_onTouchstart=e=>{if(Ac(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=At(e)};constructor(){let e=d(N),i=d(G),r=d(vE,{optional:!0});if(this._options=y(y({},bE),r),this.modalityDetected=this._modality.pipe(Tr(1)),this.modalityChanged=this.modalityDetected.pipe(Lo()),this._platform.isBrowser){let o=d(Mt).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,sv),o.listen(i,"mousedown",this._onMousedown,sv),o.listen(i,"touchstart",this._onTouchstart,sv)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rc=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Rc||{}),wE=new b("cdk-focus-monitor-default-options"),lm=Ia({passive:!0,capture:!0}),Bn=(()=>{class t{_ngZone=d(N);_platform=d(ye);_inputModalityDetector=d(CE);_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=d(G);_stopInputModalityDetector=new x;constructor(){let e=d(wE,{optional:!0});this._detectionMode=e?.detectionMode||Rc.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=At(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=vn(e);if(!this._platform.isBrowser||r.nodeType!==1)return U();let o=ov(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new x,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=vn(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=vn(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,i,c)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Rc.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Rc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?yE:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=At(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,lm),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,lm)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,lm),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,lm),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cv=(()=>{class t{_elementRef=d(O);_focusMonitor=d(Bn);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new B;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var xE=new Set,ao,ka=(()=>{class t{_platform=d(ye);_nonce=d(ia,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nL}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&tL(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tL(t,n){if(!xE.has(t))try{ao||(ao=document.createElement("style"),n&&ao.setAttribute("nonce",n),ao.setAttribute("type","text/css"),document.head.appendChild(ao)),ao.sheet&&(ao.sheet.insertRule(`@media ${t} {body{ }}`,0),xE.add(t))}catch(e){console.error(e)}}function nL(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Oc=(()=>{class t{_mediaMatcher=d(ka);_zone=d(N);_queries=new Map;_destroySubject=new x;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return DE(Ta(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=DE(Ta(e)).map(a=>this._registerQuery(a).observable),o=hi(r);return o=Gi(o.pipe(He(1)),o.pipe(Tr(1),pi(0))),o.pipe(ne(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new W(a=>{let s=c=>this._zone.run(()=>a.next(c));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Je(i),ne(({matches:a})=>({query:e,matches:a})),fe(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function DE(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function iL(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var EE=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IE=(()=>{class t{_mutationObserverFactory=d(EE);_observedElements=new Map;_ngZone=d(N);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=vn(e);return new W(r=>{let a=this._observeElement(i).pipe(ne(s=>s.filter(c=>!iL(c))),pe(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new x,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),lv=(()=>{class t{_contentObserver=d(IE);_elementRef=d(O);event=new B;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=Xt(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(pi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",$],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Aa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({providers:[EE]})}return t})();var dm=(()=>{class t{_platform=d(ye);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return oL(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=rL(fL(e));if(i&&(ME(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=ME(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!uL(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return mL(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rL(t){try{return t.frameElement}catch(n){return null}}function oL(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function aL(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function sL(t){return lL(t)&&t.type=="hidden"}function cL(t){return dL(t)&&t.hasAttribute("href")}function lL(t){return t.nodeName.toLowerCase()=="input"}function dL(t){return t.nodeName.toLowerCase()=="a"}function kE(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function ME(t){if(!kE(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function uL(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function mL(t){return sL(t)?!1:aL(t)||cL(t)||t.hasAttribute("contenteditable")||kE(t)}function fL(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var uv=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,e,i,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.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(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}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,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Fe(n,{injector:this._injector}):setTimeout(n)}},mv=(()=>{class t{_checker=d(dm);_ngZone=d(N);_document=d(G);_injector=d(q);constructor(){d(St).load(Sa)}create(e,i=!1){return new uv(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var AE=new b("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),RE=new b("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),hL=0,Nc=(()=>{class t{_ngZone=d(N);_defaultOptions=d(RE,{optional:!0});_liveElement;_document=d(G);_sanitizer=d(mc);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=d(AE,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:dE(this._liveElement,e,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${hL++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var lr=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(lr||{}),SE="cdk-high-contrast-black-on-white",TE="cdk-high-contrast-white-on-black",dv="cdk-high-contrast-active",OE=(()=>{class t{_platform=d(ye);_hasCheckedHighContrastMode=!1;_document=d(G);_breakpointSubscription;constructor(){this._breakpointSubscription=d(Oc).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return lr.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return lr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return lr.BLACK_ON_WHITE}return lr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(dv,SE,TE),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===lr.BLACK_ON_WHITE?e.add(dv,SE):i===lr.WHITE_ON_BLACK&&e.add(dv,TE)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),so=(()=>{class t{constructor(){d(OE)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[Aa]})}return t})();var fv={},Ve=class t{_appId=d(tr);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),fv.hasOwnProperty(n)||(fv[n]=0),`${n}${e?t._infix+"-":""}${fv[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var pL=200,um=class{_letterKeyStream=new x;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new x;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:pL;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Ot(e=>this._pressedLetters.push(e)),pi(n),pe(()=>this._pressedLetters.length>0),ne(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function pt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ra=class{_items;_activeItemIndex=X(-1);_activeItem=X(null);_wrap=!1;_typeaheadSubscription=Y.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof kn?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):oa(n)&&(this._effectRef=$r(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new x;change=new x;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 e=this._getItemsArray();return this._typeahead=new um(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(r||pt(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 e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}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 e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex()+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return oa(this._items)?this._items():this._items instanceof kn?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Pc=class extends Ra{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Oa=class extends Ra{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var BE=" ";function vv(t,n,e){let i=fm(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(BE)))}function hm(t,n,e){let i=fm(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(BE)):t.removeAttribute(n)}function fm(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var jE="cdk-describedby-message",mm="cdk-describedby-host",_v=0,bv=(()=>{class t{_platform=d(ye);_document=d(G);_messageRegistry=new Map;_messagesContainer=null;_id=`${_v++}`;constructor(){d(St).load(Sa),this._id=d(tr)+"-"+_v++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=gv(i,r);typeof i!="string"?(LE(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=gv(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${mm}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(mm);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");LE(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(gv(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=fm(e,"aria-describedby").filter(r=>r.indexOf(jE)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);vv(e,"aria-describedby",r.messageElement.id),e.setAttribute(mm,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,hm(e,"aria-describedby",r.messageElement.id),e.removeAttribute(mm)}_isElementDescribedByMessage(e,i){let r=fm(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gv(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function LE(t,n){t.id||(t.id=`${jE}-${n}-${_v++}`)}var VE={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 gL=new b("MATERIAL_ANIMATIONS"),HE=null;function Fc(){return d(gL,{optional:!0})?.animationsDisabled||d(zs,{optional:!0})==="NoopAnimations"?"di-disabled":(HE??=d(ka).matchMedia("(prefers-reduced-motion)").matches,HE?"reduced-motion":"enabled")}function $e(){return Fc()!=="enabled"}var bn=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(bn||{}),yv=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=bn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},zE=Ia({passive:!0,capture:!0}),Cv=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,zE)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,zE)))}_delegateEventHandler=n=>{let e=At(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},Lc={enterDuration:225,exitDuration:150},_L=800,UE=Ia({passive:!0,capture:!0}),$E=["mousedown","touchstart"],GE=["mouseup","mouseleave","touchend","touchcancel"],vL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},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}
|
|
21
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Bc=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Cv;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=vn(i)),o&&o.get(St).load(vL)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=y(y({},Lc),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||bL(n,e,r),s=n-r.left,c=e-r.top,l=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${s-a}px`,u.style.top=`${c-a}px`,u.style.height=`${a*2}px`,u.style.width=`${a*2}px`,i.color!=null&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let m=window.getComputedStyle(u),h=m.transitionProperty,f=m.transitionDuration,C=h==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,E=new yv(this,u,i,C);u.style.transform="scale3d(1, 1, 1)",E.state=bn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=E);let M=null;return!C&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let S=()=>{M&&(M.fallbackTimer=null),clearTimeout(Ft),this._finishRippleTransition(E)},De=()=>this._destroyRipple(E),Ft=setTimeout(De,l+100);u.addEventListener("transitionend",S),u.addEventListener("transitioncancel",De),M={onTransitionEnd:S,onTransitionCancel:De,fallbackTimer:Ft}}),this._activeRipples.set(E,M),(C||!l)&&this._finishRippleTransition(E),E}fadeOutRipple(n){if(n.state===bn.FADING_OUT||n.state===bn.HIDDEN)return;let e=n.element,i=y(y({},Lc),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=bn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=vn(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,$E.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{GE.forEach(e=>{this._triggerElement.addEventListener(e,this,UE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===bn.FADING_IN?this._startFadeOutTransition(n):n.state===bn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=bn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=bn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=kc(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+_L;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Ac(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===bn.VISIBLE||n.config.terminateOnPointerUp&&n.state===bn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&($E.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(GE.forEach(e=>n.removeEventListener(e,this,UE)),this._pointerUpEventsRegistered=!1))}};function bL(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var pm=new b("mat-ripple-global-options"),jc=(()=>{class t{_elementRef=d(O);_animationsDisabled=$e();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=d(N),i=d(ye),r=d(pm,{optional:!0}),o=d(q);this._globalOptions=r||{},this._rippleRenderer=new Bc(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:y(y(y({},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(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,y(y({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,y(y({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&L("mat-ripple-unbounded",r.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 t})();var dr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},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}}
|
|
22
|
+
`],encapsulation:2,changeDetection:0})}return t})();var WE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();var Vc=(()=>{class t{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gm=class{};function Na(t){return t&&typeof t.connect=="function"&&!(t instanceof ns)}var _m=class extends gm{_data;constructor(n){super(),this._data=n}connect(){return Gn(this._data)?this._data:U(this._data)}disconnect(){}},jn=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(jn||{}),Pa=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,i,r,o){n.forEachOperation((a,s,c)=>{let l,u;if(a.previousIndex==null){let m=()=>i(a,s,c);l=this._insertView(m,c,e,r(a)),u=l?jn.INSERTED:jn.REPLACED}else c==null?(this._detachAndCacheView(s,e),u=jn.REMOVED):(l=this._moveView(s,c,e,r(a)),u=jn.MOVED);o&&o({context:l?.context,operation:u,record:a})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,i,r){let o=this._insertViewFromCache(e,i);if(o){o.context.$implicit=r;return}let a=n();return i.createEmbeddedView(a.templateRef,a.context,a.index)}_detachAndCacheView(n,e){let i=e.detach(n);this._maybeCacheView(i,e)}_moveView(n,e,i,r){let o=i.get(n);return i.move(o,e),o.context.$implicit=r,o}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let i=e.indexOf(n);i===-1?n.destroy():e.remove(i)}}_insertViewFromCache(n,e){let i=this._viewCache.pop();return i&&e.insert(i,n),i||null}};var vm=class{applyChanges(n,e,i,r,o){n.forEachOperation((a,s,c)=>{let l,u;if(a.previousIndex==null){let m=i(a,s,c);l=e.createEmbeddedView(m.templateRef,m.context,m.index),u=jn.INSERTED}else c==null?(e.remove(s),u=jn.REMOVED):(l=e.get(s),e.move(l,c),u=jn.MOVED);o&&o({context:l?.context,operation:u,record:a})})}detach(){}};var Hc=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 x;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}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,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};function Dv(t){return t==null||Ev(t)===0}function Ev(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var JE=new b(""),eI=new b(""),yL=/^(?=.{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])?)*$/,ym=class{static min(n){return CL(n)}static max(n){return wL(n)}static required(n){return xL(n)}static requiredTrue(n){return DL(n)}static email(n){return EL(n)}static minLength(n){return IL(n)}static maxLength(n){return ML(n)}static pattern(n){return SL(n)}static nullValidator(n){return tI()}static compose(n){return sI(n)}static composeAsync(n){return cI(n)}};function CL(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function wL(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function xL(t){return Dv(t.value)?{required:!0}:null}function DL(t){return t.value===!0?null:{required:!0}}function EL(t){return Dv(t.value)||yL.test(t.value)?null:{email:!0}}function IL(t){return n=>{let e=n.value?.length??Ev(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function ML(t){return n=>{let e=n.value?.length??Ev(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function SL(t){if(!t)return tI;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Dv(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function tI(t){return null}function nI(t){return t!=null}function iI(t){return nr(t)?Ye(t):t}function rI(t){let n={};return t.forEach(e=>{n=e!=null?y(y({},n),e):n}),Object.keys(n).length===0?null:n}function oI(t,n){return n.map(e=>e(t))}function TL(t){return!t.validate}function aI(t){return t.map(n=>TL(n)?n:e=>n.validate(e))}function sI(t){if(!t)return null;let n=t.filter(nI);return n.length==0?null:function(e){return rI(oI(e,n))}}function Iv(t){return t!=null?sI(aI(t)):null}function cI(t){if(!t)return null;let n=t.filter(nI);return n.length==0?null:function(e){let i=oI(e,n).map(iI);return ds(i).pipe(ne(rI))}}function Mv(t){return t!=null?cI(aI(t)):null}function qE(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function lI(t){return t._rawValidators}function dI(t){return t._rawAsyncValidators}function wv(t){return t?Array.isArray(t)?t:[t]:[]}function Cm(t,n){return Array.isArray(t)?t.includes(n):t===n}function QE(t,n){let e=wv(n);return wv(t).forEach(r=>{Cm(e,r)||e.push(r)}),e}function ZE(t,n){return wv(n).filter(e=>!Cm(t,e))}var wm=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=Iv(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Mv(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,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Ba=class extends wm{name;get formDirective(){return null}get path(){return null}},xm=class extends wm{_parent=null;name=null;valueAccessor=null};var zc="VALID",bm="INVALID",Fa="PENDING",Uc="DISABLED",ur=class{},Dm=class extends ur{value;source;constructor(n,e){super(),this.value=n,this.source=e}},Gc=class extends ur{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},Wc=class extends ur{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},La=class extends ur{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Em=class extends ur{source;constructor(n){super(),this.source=n}},Im=class extends ur{source;constructor(n){super(),this.source=n}};function uI(t){return(Am(t)?t.validators:t)||null}function kL(t){return Array.isArray(t)?Iv(t):t||null}function mI(t,n){return(Am(n)?n.asyncValidators:t)||null}function AL(t){return Array.isArray(t)?Mv(t):t||null}function Am(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function RL(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new A(1e3,"");if(!i[e])throw new A(1001,"")}function OL(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new A(1002,"")})}var Mm=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}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 at(this.statusReactive)}set status(n){at(()=>this.statusReactive.set(n))}_status=tt(()=>this.statusReactive());statusReactive=X(void 0);get valid(){return this.status===zc}get invalid(){return this.status===bm}get pending(){return this.status==Fa}get disabled(){return this.status===Uc}get enabled(){return this.status!==Uc}errors;get pristine(){return at(this.pristineReactive)}set pristine(n){at(()=>this.pristineReactive.set(n))}_pristine=tt(()=>this.pristineReactive());pristineReactive=X(!0);get dirty(){return!this.pristine}get touched(){return at(this.touchedReactive)}set touched(n){at(()=>this.touchedReactive.set(n))}_touched=tt(()=>this.touchedReactive());touchedReactive=X(!1);get untouched(){return!this.touched}_events=new x;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(QE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(QE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ZE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ZE(n,this._rawAsyncValidators))}hasValidator(n){return Cm(this._rawValidators,n)}hasAsyncValidator(n){return Cm(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(te(y({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Wc(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),n.onlySelf||this._parent?._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Wc(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(te(y({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Gc(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Gc(!0,i))}markAsPending(n={}){this.status=Fa;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new La(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(te(y({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Uc,this.errors=null,this._forEachChild(r=>{r.disable(te(y({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Dm(this.value,i)),this._events.next(new La(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(te(y({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=zc,this._forEachChild(i=>{i.enable(te(y({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(te(y({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zc||this.status===Fa)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Dm(this.value,e)),this._events.next(new La(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(te(y({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Uc:zc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Fa,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=iI(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,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,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i?.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new La(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new B,this.statusChanges=new B}_calculateStatus(){return this._allControlsDisabled()?Uc:this.errors?bm:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fa)?Fa:this._anyControlsHaveStatus(bm)?bm:zc}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,n.onlySelf||this._parent?._updatePristine(n,e),r&&this._events.next(new Gc(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Wc(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Am(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=kL(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=AL(this._rawAsyncValidators)}},Sm=class extends Mm{constructor(n,e,i){super(uI(e),mI(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){OL(this,!0,n),Object.keys(n).forEach(i=>{RL(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,te(y({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Im(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_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 fI=new b("",{factory:()=>hI}),hI="always";function xv(t,n,e=hI){Sv(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),PL(t,n),LL(t,n),FL(t,n),NL(t,n)}function YE(t,n,e=!0){let i=()=>{};n?.valueAccessor?.registerOnChange(i),n?.valueAccessor?.registerOnTouched(i),km(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Tm(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function NL(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Sv(t,n){let e=lI(t);n.validator!==null?t.setValidators(qE(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=dI(t);n.asyncValidator!==null?t.setAsyncValidators(qE(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Tm(n._rawValidators,r),Tm(n._rawAsyncValidators,r)}function km(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=lI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=dI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return Tm(n._rawValidators,i),Tm(n._rawAsyncValidators,i),e}function PL(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&pI(t,n)})}function FL(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&pI(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function pI(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function LL(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function gI(t,n){t==null,Sv(t,n)}function BL(t,n){return km(t,n)}function _I(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function jL(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var VL={provide:Ba,useExisting:Qn(()=>Tv)},$c=Promise.resolve(),Tv=(()=>{class t extends Ba{callSetDisabledState;get submitted(){return at(this.submittedReactive)}_submitted=tt(()=>this.submittedReactive());submittedReactive=X(!1);_directives=new Set;form;ngSubmit=new B;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Sm({},Iv(e),Mv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){$c.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),xv(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){$c.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){$c.then(()=>{let i=this._findContainer(e.path),r=new Sm({});gI(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){$c.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){$c.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),_I(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Em(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(bt(JE,10),bt(eI,10),bt(fI,8))};static \u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&Q("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[we([VL]),oe]})}return t})();function KE(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function XE(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var HL=class extends Mm{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(uI(e),mI(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Am(e)&&(e.nonNullable||e.initialValueIsDefault)&&(XE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Im(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){KE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){KE(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){XE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var zL=t=>t instanceof HL;var UL=(()=>{class t extends Ba{callSetDisabledState;get submitted(){return at(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=tt(()=>this._submittedReactive());_submittedReactive=X(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(km(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let i=this.form.get(e.path);return xv(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){YE(e.control||null,e,!1),jL(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,i){this.form.get(e.path).setValue(i)}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,_I(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Em(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(YE(i||null,e),zL(r)&&(xv(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);gI(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let i=this.form?.get(e.path);i&&BL(i,e)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Sv(this.form,this),this._oldForm&&km(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||t)(bt(JE,10),bt(eI,10),bt(fI,8))};static \u0275dir=I({type:t,features:[oe,Ae]})}return t})();var $L={provide:Ba,useExisting:Qn(()=>kv)},kv=(()=>{class t extends UL{form=null;ngSubmit=new B;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&Q("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[we([$L]),oe]})}return t})();var vI=(()=>{class t{_animationsDisabled=$e();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&L("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},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}
|
|
23
|
+
`],encapsulation:2,changeDetection:0})}return t})();var Rm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();var mr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();var Om=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]})}return t})();var Nm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[Aa,mr,Rm,de,WE]})}return t})();var Av=class{_box;_destroyed=new x;_resizeSubject=new x;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new W(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(pe(e=>e.some(i=>i.target===n)),ps({bufferSize:1,refCount:!0}),fe(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Pm=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=d(N);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Av(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var GL=["notch"],WL=["matFormFieldNotchedOutline",""],qL=["*"],yI=["iconPrefixContainer"],CI=["textPrefixContainer"],wI=["iconSuffixContainer"],xI=["textSuffixContainer"],QL=["textField"],ZL=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],YL=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function KL(t,n){t&1&&se(0,"span",21)}function XL(t,n){if(t&1&&(p(0,"label",20),ee(1,1),T(2,KL,1,0,"span",21),g()),t&2){let e=D(2);H("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Z("for",e._control.disableAutomaticLabeling?null:e._control.id),_(2),k(!e.hideRequiredMarker&&e._control.required?2:-1)}}function JL(t,n){if(t&1&&T(0,XL,3,5,"label",20),t&2){let e=D();k(e._hasFloatingLabel()?0:-1)}}function e2(t,n){t&1&&se(0,"div",7)}function t2(t,n){}function n2(t,n){if(t&1&&Ce(0,t2,0,0,"ng-template",13),t&2){D(2);let e=Yt(1);H("ngTemplateOutlet",e)}}function i2(t,n){if(t&1&&(p(0,"div",9),T(1,n2,1,1,null,13),g()),t&2){let e=D();H("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),_(),k(e._forceDisplayInfixLabel()?-1:1)}}function r2(t,n){t&1&&(p(0,"div",10,2),ee(2,2),g())}function o2(t,n){t&1&&(p(0,"div",11,3),ee(2,3),g())}function a2(t,n){}function s2(t,n){if(t&1&&Ce(0,a2,0,0,"ng-template",13),t&2){D();let e=Yt(1);H("ngTemplateOutlet",e)}}function c2(t,n){t&1&&(p(0,"div",14,4),ee(2,4),g())}function l2(t,n){t&1&&(p(0,"div",15,5),ee(2,5),g())}function d2(t,n){t&1&&se(0,"div",16)}function u2(t,n){t&1&&(p(0,"div",18),ee(1,6),g())}function m2(t,n){if(t&1&&(p(0,"mat-hint",22),v(1),g()),t&2){let e=D(2);H("id",e._hintLabelId),_(),be(e.hintLabel)}}function f2(t,n){if(t&1&&(p(0,"div",19),T(1,m2,2,2,"mat-hint",22),ee(2,7),se(3,"div",23),ee(4,8),g()),t&2){let e=D();_(),k(e.hintLabel?1:-1)}}var ja=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["mat-label"]]})}return t})(),h2=new b("MatError");var Lm=(()=>{class t{align="start";id=d(Ve).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(ri("id",r.id),Z("align",null),L("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),p2=new b("MatPrefix");var g2=new b("MatSuffix");var kI=new b("FloatingLabelParent"),DI=(()=>{class t{_elementRef=d(O);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=d(Pm);_ngZone=d(N);_parent=d(kI);_resizeSubscription=new Y;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return _2(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&L("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function _2(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var EI="mdc-line-ripple--active",Fm="mdc-line-ripple--deactivating",II=(()=>{class t{_elementRef=d(O);_cleanupTransitionEnd;constructor(){let e=d(N),i=d(Ge);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fm),e.add(EI)}deactivate(){this._elementRef.nativeElement.classList.add(Fm)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(Fm);e.propertyName==="opacity"&&r&&i.remove(EI,Fm)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),MI=(()=>{class t{_elementRef=d(O);_ngZone=d(N);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Ie(GL,5),i&2){let o;P(o=F())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&L("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:WL,ngContentSelectors:qL,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Te(),mt(0,"div",1),et(1,"div",2,0),ee(3),st(),mt(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Rv=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t})}return t})();var Ov=new b("MatFormField"),v2=new b("MAT_FORM_FIELD_DEFAULT_OPTIONS"),SI="fill",b2="auto",TI="fixed",y2="translateY(-50%)",co=(()=>{class t{_elementRef=d(O);_changeDetectorRef=d(Me);_platform=d(ye);_idGenerator=d(Ve);_ngZone=d(N);_defaults=d(v2,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Xs("iconPrefixContainer");_textPrefixContainerSignal=Xs("textPrefixContainer");_iconSuffixContainerSignal=Xs("iconSuffixContainer");_textSuffixContainerSignal=Xs("textSuffixContainer");_prefixSuffixContainers=tt(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=hx(ja);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Tc(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||b2}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||SI;this._appearanceSignal.set(i)}_appearanceSignal=X(SI);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||TI}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||TI}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new x;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=$e();constructor(){let e=this._defaults,i=d(lt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),$r(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=tt(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Je([void 0,void 0]),ne(()=>[i.errorState,i.userAriaDescribedBy]),fs(),pe(([[o,a],[s,c]])=>o!==s||a!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(fe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Lt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){bx({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=tt(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,u=this._currentDirection==="rtl"?"-1":"1",m=`${a+s}px`,f=`calc(${u} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,C=`var(--mat-mdc-form-field-label-transform, ${y2} translateX(${f}))`,E=a+s+c+l;return[C,E]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(uu(o,r._labelChild,ja,5),yt(o,Rv,5)(o,p2,5)(o,g2,5)(o,h2,5)(o,Lm,5)),i&2){fu();let a;P(a=F())&&(r._formFieldControl=a.first),P(a=F())&&(r._prefixChildren=a),P(a=F())&&(r._suffixChildren=a),P(a=F())&&(r._errorChildren=a),P(a=F())&&(r._hintChildren=a)}},viewQuery:function(i,r){if(i&1&&(mu(r._iconPrefixContainerSignal,yI,5)(r._textPrefixContainerSignal,CI,5)(r._iconSuffixContainerSignal,wI,5)(r._textSuffixContainerSignal,xI,5),Ie(QL,5)(yI,5)(CI,5)(wI,5)(xI,5)(DI,5)(MI,5)(II,5)),i&2){fu(4);let o;P(o=F())&&(r._textField=o.first),P(o=F())&&(r._iconPrefixContainer=o.first),P(o=F())&&(r._textPrefixContainer=o.first),P(o=F())&&(r._iconSuffixContainer=o.first),P(o=F())&&(r._textSuffixContainer=o.first),P(o=F())&&(r._floatingLabel=o.first),P(o=F())&&(r._notchedOutline=o.first),P(o=F())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&L("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[we([{provide:Ov,useExisting:t},{provide:kI,useExisting:t}])],ngContentSelectors:YL,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=Le();Te(ZL),Ce(0,JL,1,1,"ng-template",null,0,la),p(2,"div",6,1),Q("click",function(s){return ue(o),me(r._control.onContainerClick(s))}),T(4,e2,1,0,"div",7),p(5,"div",8),T(6,i2,2,2,"div",9),T(7,r2,3,0,"div",10),T(8,o2,3,0,"div",11),p(9,"div",12),T(10,s2,1,1,null,13),ee(11),g(),T(12,c2,3,0,"div",14),T(13,l2,3,0,"div",15),g(),T(14,d2,1,0,"div",16),g(),p(15,"div",17),T(16,u2,2,0,"div",18)(17,f2,5,1,"div",19),g()}if(i&2){let o;_(2),L("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),_(2),k(!r._hasOutline()&&!r._control.disabled?4:-1),_(2),k(r._hasOutline()?6:-1),_(),k(r._hasIconPrefix?7:-1),_(),k(r._hasTextPrefix?8:-1),_(2),k(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),_(2),k(r._hasTextSuffix?12:-1),_(),k(r._hasIconSuffix?13:-1),_(),k(r._hasOutline()?-1:14),_(),L("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();_(),k((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[DI,MI,rc,II,Lm],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
|
|
24
|
+
`],encapsulation:2,changeDetection:0})}return t})();var C2=["text"],w2=[[["mat-icon"]],"*"],x2=["mat-icon","*"];function D2(t,n){if(t&1&&se(0,"mat-pseudo-checkbox",1),t&2){let e=D();H("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function E2(t,n){if(t&1&&se(0,"mat-pseudo-checkbox",3),t&2){let e=D();H("disabled",e.disabled)}}function I2(t,n){if(t&1&&(p(0,"span",4),v(1),g()),t&2){let e=D();_(),xe("(",e.group.label,")")}}var Pv=new b("MAT_OPTION_PARENT_COMPONENT"),Fv=new b("MatOptgroup");var Nv=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},hr=(()=>{class t{_element=d(O);_changeDetectorRef=d(Me);_parent=d(Pv,{optional:!0});group=d(Fv,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=d(Ve).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=X(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new B;_text;_stateChanges=new x;constructor(){let e=d(St);e.load(dr),e.load(Sa),this._signalDisableRipple=!!this._parent&&oa(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!pt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Nv(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Ie(C2,7),i&2){let o;P(o=F())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&Q("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),i&2&&(ri("id",r.id),Z("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),L("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",$]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:x2,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Te(w2),T(0,D2,1,2,"mat-pseudo-checkbox",1),ee(1),p(2,"span",2,0),ee(4,1),g(),T(5,E2,1,1,"mat-pseudo-checkbox",3),T(6,I2,2,1,"span",4),se(7,"div",5)),i&2&&(k(r.multiple?0:-1),_(5),k(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),_(),k(r.group&&r.group._inert?6:-1),_(),H("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[vI,jc],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
|
|
25
|
+
`],encapsulation:2,changeDetection:0})}return t})();function AI(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let a=0;a<t+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}function RI(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var M2=["contentWrapper"],S2=["*"],PI=new b("VIRTUAL_SCROLL_STRATEGY"),Lv=class{_scrolledIndexChange=new x;scrolledIndexChange=this._scrolledIndexChange.pipe(Lo());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,i){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=i}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,i){i<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},i=this._viewport.getViewportSize(),r=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),a=this._itemSize>0?o/this._itemSize:0;if(e.end>r){let c=Math.ceil(i/this._itemSize),l=Math.max(0,Math.min(a,r-c));a!=l&&(a=l,o=l*this._itemSize,e.start=Math.floor(a)),e.end=Math.max(0,Math.min(r,e.start+c))}let s=o-e.start*this._itemSize;if(s<this._minBufferPx&&e.start!=0){let c=Math.ceil((this._maxBufferPx-s)/this._itemSize);e.start=Math.max(0,e.start-c),e.end=Math.min(r,Math.ceil(a+(i+this._minBufferPx)/this._itemSize))}else{let c=e.end*this._itemSize-(o+i);if(c<this._minBufferPx&&e.end!=r){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(e.end=Math.min(r,e.end+l),e.start=Math.max(0,Math.floor(a-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(a))}};function T2(t){return t._scrollStrategy}var Bv=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Xt(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Xt(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Xt(e)}_maxBufferPx=200;_scrollStrategy=new Lv(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[we([{provide:PI,useFactory:T2,deps:[Qn(()=>t)]}]),Ae]})}return t})(),k2=20,uo=(()=>{class t{_ngZone=d(N);_platform=d(ye);_renderer=d(Mt).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new x;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=k2){return this._platform.isBrowser?new W(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Ir(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):U()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(pe(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=vn(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mo=(()=>{class t{elementRef=d(O);scrollDispatcher=d(uo);ngZone=d(N);dir=d(lt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new x;_renderer=d(Ge);_cleanupScroll;_elementScrolled=new x;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),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(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Ma()!=Ln.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Ma()==Ln.INVERTED?e.left=e.right:Ma()==Ln.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;rm()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:i:e=="end"&&(e=a?i:r),a&&Ma()==Ln.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Ma()==Ln.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),A2=20,an=(()=>{class t{_platform=d(ye);_listeners;_viewportSize=null;_change=new x;_document=d(G);constructor(){let e=d(N),i=d(Mt).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body?.scrollTop||i.scrollY||r.scrollTop||0,s=-o.left||e.body?.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=A2){return e>0?this._change.pipe(Ir(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OI=new b("VIRTUAL_SCROLLABLE"),R2=(()=>{class t extends mo{constructor(){super()}measureViewportSize(e){let i=this.elementRef.nativeElement;return e==="horizontal"?i.clientWidth:i.clientHeight}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,features:[oe]})}return t})();function O2(t,n){return t.start==n.start&&t.end==n.end}var N2=typeof requestAnimationFrame<"u"?cs:as,Bm=new b("CDK_VIRTUAL_SCROLL_VIEWPORT"),jv=(()=>{class t extends R2{elementRef=d(O);_changeDetectorRef=d(Me);_scrollStrategy=d(PI,{optional:!0});scrollable=d(OI,{optional:!0});_platform=d(ye);_detachedSubject=new x;_renderedRangeSubject=new x;_renderedContentOffsetSubject=new x;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new W(e=>this._scrollStrategy.scrolledIndexChange.subscribe(i=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(i)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(pe(e=>e!==null),Lo());_totalContentSize=0;_totalContentWidth=X("");_totalContentHeight=X("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=X(!1);_runAfterChangeDetection=[];_viewportChanges=Y.EMPTY;_injector=d(q);_isDestroyed=!1;constructor(){super();let e=d(an);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let i=$r(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:d(zt).injector});d(qt).onDestroy(()=>{i.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Je(null),Ir(0,N2),fe(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(fe(this._detachedSubject)).subscribe(i=>{let r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){O2(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&i==="to-start"?0:e;let r=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",a=o?"X":"Y",c=`translate${a}(${Number((o&&r?-1:1)*e)}px)`;this._renderedContentOffset=e,i==="to-end"&&(c+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){let r={behavior:i};this.orientation==="horizontal"?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return this.scrollable==this?i=r=>super.measureScrollOffset(r):i=r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i,r="left",o="right",a=this.dir?.value=="rtl";e=="start"?i=a?o:r:e=="end"?i=a?r:o:e?i=e:i=this.orientation==="horizontal"?"left":"top";let s=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-s}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!at(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),Fe(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let i of e)i()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,r){if(i&1&&Ie(M2,7),i&2){let o;P(o=F())&&(r._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,r){i&2&&L("cdk-virtual-scroll-orientation-horizontal",r.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",r.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",$]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[we([{provide:mo,useFactory:()=>d(OI,{optional:!0})||d(t)},{provide:Bm,useExisting:t}]),oe],ngContentSelectors:S2,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(i,r){i&1&&(Te(),et(0,"div",1,0),ee(2),st(),mt(3,"div",2)),i&2&&(_(3),Ct("width",r._totalContentWidth())("height",r._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}
|
|
26
|
+
`],encapsulation:2,changeDetection:0})}return t})();function NI(t,n,e){let i=e;if(!i.getBoundingClientRect)return 0;let r=i.getBoundingClientRect();return t==="horizontal"?n==="start"?r.left:r.right:n==="start"?r.top:r.bottom}var Vv=(()=>{class t{_viewContainerRef=d(Ue);_template=d(ke);_differs=d(oi);_viewRepeater=new Pa;_viewport=d(Bm,{skipSelf:!0});viewChange=new x;_dataSourceChanges=new x;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Na(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new _m(Gn(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(i,r)=>e(i+(this._renderedRange?this._renderedRange.start:0),r):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Xt(e)}dataStream=this._dataSourceChanges.pipe(Je(null),fs(),rt(([e,i])=>this._changeDataSource(e,i)),ps(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new x;constructor(){let e=d(N);this.dataStream.subscribe(i=>{this._data=i,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(fe(this._destroyed)).subscribe(i=>{this._renderedRange=i,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,i){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let r=e.start-this._renderedRange.start,o=e.end-e.start,a,s;for(let c=0;c<o;c++){let l=this._viewContainerRef.get(c+r);if(l&&l.rootNodes.length){a=s=l.rootNodes[0];break}}for(let c=o-1;c>-1;c--){let l=this._viewContainerRef.get(c+r);if(l&&l.rootNodes.length){s=l.rootNodes[l.rootNodes.length-1];break}}return a&&s?NI(i,"end",s)-NI(i,"start",a):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,i):i)),this._needsUpdate=!0)}_changeDataSource(e,i){return e&&e.disconnect(this),this._needsUpdate=!0,i?i.connect(this):U()}_updateContext(){let e=this._data.length,i=this._viewContainerRef.length;for(;i--;){let r=this._viewContainerRef.get(i);r.context.index=this._renderedRange.start+i,r.context.count=e,this._updateComputedContextProperties(r.context),r.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(o,a,s)=>this._getEmbeddedViewArgs(o,s),o=>o.item),e.forEachIdentityChange(o=>{let a=this._viewContainerRef.get(o.currentIndex);a.context.$implicit=o.item});let i=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=i,this._updateComputedContextProperties(o.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,i){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return t})();var lo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({})}return t})(),fo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de,lo,de,lo]})}return t})();var qc=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}},Vn=class extends qc{component;viewContainerRef;injector;projectableNodes;constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},Jt=class extends qc{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Hv=class extends qc{element;constructor(n){super(),this.element=n instanceof O?n.nativeElement:n}},pr=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Vn)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Jt)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Hv)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)}},jm=class extends pr{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(ti,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||q.NULL,o=r.get(Be,i.injector);e=_u(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},LI=(()=>{class t extends Jt{constructor(){let e=d(ke),i=d(Ue);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[oe]})}return t})(),sn=(()=>{class t extends pr{_moduleRef=d(ti,{optional:!0});_document=d(G);_viewContainerRef=d(Ue);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new B;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[oe]})}return t})(),Hn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({})}return t})();var BI=rm();function za(t){return new Vm(t.get(an),t.get(G))}var Vm=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}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=dt(-this._previousScrollPosition.left),n.style.top=dt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),BI&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),BI&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function GI(t,n){return new Hm(t.get(uo),t.get(N),t.get(an),n)}var Hm=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(pe(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-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 Qc=class{enable(){}disable(){}attach(){}};function zv(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return i||r||o||a})}function jI(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return i||r||o||a})}function go(t,n){return new zm(t.get(uo),t.get(an),t.get(N),n)}var zm=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();zv(e,[{width:i,height:r,bottom:r,right:i,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}},WI=(()=>{class t{_injector=d(q);constructor(){}noop=()=>new Qc;close=e=>GI(this._injector,e);block=()=>za(this._injector);reposition=e=>go(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Li=class{positionStrategy;scrollStrategy=new Qc;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 e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var Um=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var qI=(()=>{class t{_attachedOverlays=[];_document=d(G);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,i,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(i):!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),QI=(()=>{class t extends qI{_ngZone=d(N);_renderer=d(Mt).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),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=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--){let o=i[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ZI=(()=>{class t extends qI{_platform=d(ye);_ngZone=d(N);_renderer=d(Mt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=At(e)};_clickListener=e=>{let i=At(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],c=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,c))){if(VI(s.overlayElement,i)||VI(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function VI(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var YI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},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}
|
|
27
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Wm=(()=>{class t{_platform=d(ye);_containerElement;_document=d(G);_styleLoader=d(St);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||av()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),av()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(YI)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Uv=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}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 $v(t){return t&&t.nodeType===1}var Va=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new x;_attachments=new x;_detachments=new x;_positionStrategy;_scrollStrategy;_locationChanges=Y.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new x;_outsidePointerEvents=new x;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,c,l,u=!1,m,h){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=m,this._renderer=h,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.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 e=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=Fe(()=>{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 e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}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=y(y({},this._config),n),this._updateElementSize()}setDirection(n){this._config=te(y({},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=dt(this._config.width),n.height=dt(this._config.height),n.minWidth=dt(this._config.minWidth),n.minHeight=dt(this._config.minHeight),n.maxWidth=dt(this._config.maxWidth),n.maxHeight=dt(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;$v(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Uv(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),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,e,i){let r=Ta(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Fe(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;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?.()}},HI="cdk-overlay-connected-position-bounding-box",P2=/([A-Za-z%]+)$/;function Zc(t,n){return new $m(n,t.get(an),t.get(G),t.get(ye),t.get(Wm))}var $m=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 x;_resizeSubscription=Y.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(HI),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,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,r,s),l=this._getOverlayPoint(c,e,s),u=this._getOverlayFit(l,e,i,s);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(u,l,i)){o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleArea<u.visibleArea)&&(a={overlayFit:u,overlayPoint:l,originPoint:c,position:s,overlayRect:e})}if(o.length){let s=null,c=-1;for(let l of o){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,s=l)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ho(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(HI),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 O?this._origin.nativeElement:$v(this._origin)?this._origin:null}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=UI(e),{x:a,y:s}=n,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let u=0-a,m=a+o.width-i.width,h=0-s,f=s+o.height-i.height,C=this._subtractOverflows(o.width,u,m),E=this._subtractOverflows(o.height,h,f),M=C*E;return{visibleArea:M,isCompletelyWithinViewport:o.width*o.height===M,fitsInViewportVertically:E===o.height,fitsInViewportHorizontally:C==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,a=zI(this._overlayRef.getConfig().minHeight),s=zI(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=r,l=n.fitsInViewportHorizontally||s!=null&&s<=o;return c&&l}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=UI(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),c=Math.max(o.top-i.top-n.y,0),l=Math.max(o.left-i.left-n.x,0),u=0,m=0;return r.width<=o.width?u=l||-a:u=n.x<this._getViewportMarginStart()?o.left-i.left-n.x:0,r.height<=o.height?m=c||-s:m=n.y<this._getViewportMarginTop()?o.top-i.top-n.y:0,this._previousPushAmount={x:u,y:m},{x:n.x+u,y:n.y+m}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!F2(this._lastScrollVisibility,i)){let r=new Um(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=n.y,o=i.height-a+this._getViewportMarginBottom();else if(e.overlayY==="bottom")s=i.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=i.height-s+this._getViewportMarginTop();else{let f=Math.min(i.bottom-n.y+i.top,n.y),C=this._lastBoundingBoxSize.height;o=f*2,a=n.y-f,o>C&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-C/2)}let c=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,l=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,u,m,h;if(l)h=i.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)m=n.x,u=i.right-n.x-this._getViewportMarginEnd();else{let f=Math.min(i.right-n.x+i.left,n.x),C=this._lastBoundingBoxSize.width;u=f*2,m=n.x-f,u>C&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-C/2)}return{top:a,left:m,bottom:s,right:h,width:u,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.width=dt(i.width),r.height=dt(i.height),r.top=dt(i.top)||"auto",r.bottom=dt(i.bottom)||"auto",r.left=dt(i.left)||"auto",r.right=dt(i.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=dt(o)),a&&(r.maxWidth=dt(a))}this._lastBoundingBoxSize=i,ho(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ho(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ho(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let u=this._viewportRuler.getViewportScrollPosition();ho(i,this._getExactOverlayY(e,n,u)),ho(i,this._getExactOverlayX(e,n,u))}else i.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=dt(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=dt(a.maxWidth):o&&(i.maxWidth="")),ho(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=dt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=dt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:jI(n,i),isOriginOutsideView:zv(n,i),isOverlayClipped:jI(e,i),isOverlayOutsideView:zv(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+n-this._getViewportMarginEnd(),bottom:i.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ta(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_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 O)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let i=e.getBoundingClientRect();return n&&(e.style.display=""),i}};function ho(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function zI(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(P2);return!e||e==="px"?parseFloat(n):null}return t||null}function UI(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function F2(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var $I="cdk-global-overlay-wrapper";function gr(t){return new Gm}var Gm=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add($I),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,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,c=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),l=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),u=this._xPosition,m=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",f="",C="",E="";c?E="flex-start":u==="center"?(E="center",h?C=m:f=m):h?u==="left"||u==="end"?(E="flex-end",f=m):(u==="right"||u==="start")&&(E="flex-start",C=m):u==="left"||u==="start"?(E="flex-start",f=m):(u==="right"||u==="end")&&(E="flex-end",C=m),n.position=this._cssPosition,n.marginLeft=c?"0":f,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":C,e.justifyContent=E,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove($I),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},KI=(()=>{class t{_injector=d(q);constructor(){}global(){return gr()}flexibleConnectedTo(e){return Zc(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yc=new b("OVERLAY_DEFAULT_CONFIG");function Bi(t,n){t.get(St).load(YI);let e=t.get(Wm),i=t.get(G),r=t.get(Ve),o=t.get(zt),a=t.get(lt),s=t.get(Ge,null,{optional:!0})||t.get(Mt).createRenderer(null,null),c=new Li(n),l=t.get(Yc,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||a.value,"showPopover"in i.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=i.createElement("div"),m=i.createElement("div");u.id=r.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),m.appendChild(u),c.usePopover&&(m.setAttribute("popover","manual"),m.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return $v(h)?h.after(m):h?.type==="parent"?h.element.appendChild(m):e.getContainerElement().appendChild(m),new Va(new jm(u,o,t),m,u,c,t.get(N),t.get(QI),i,t.get(or),t.get(ZI),n?.disableAnimations??t.get(zs,null,{optional:!0})==="NoopAnimations",t.get(Be),s)}var XI=(()=>{class t{scrollStrategies=d(WI);_positionBuilder=d(KI);_injector=d(q);constructor(){}create(e){return Bi(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),L2=[{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"}],B2=new b("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(q);return()=>go(t)}}),Ha=(()=>{class t{elementRef=d(O);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),JI=new b("cdk-connected-overlay-default-config"),qm=(()=>{class t{_dir=d(lt,{optional:!0});_injector=d(q);_overlayRef;_templatePortal;_backdropSubscription=Y.EMPTY;_attachSubscription=Y.EMPTY;_detachSubscription=Y.EMPTY;_positionSubscription=Y.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=d(B2);_ngZone=d(N);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,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(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new B;positionChange=new B;attach=new B;detach=new B;overlayKeydown=new B;overlayOutsideClick=new B;constructor(){let e=d(ke),i=d(Ue),r=d(JI,{optional:!0}),o=d(Yc,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new Jt(e,i),this.scrollStrategy=this._scrollStrategyFactory(),r&&this._assignConfig(r)}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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=L2);let e=this._overlayRef=Bi(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=At(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Li({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).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 e=Zc(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Ha?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ha?this.origin.elementRef.nativeElement:this.origin instanceof O?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 e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(i=>this.backdropClick.emit(i)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ch(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),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(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,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",$],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",$],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",$],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",$],push:[2,"cdkConnectedOverlayPush","push",$],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",$],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",$],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ae]})}return t})(),zn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({providers:[XI],imports:[de,Hn,fo,fo]})}return t})();var Qm=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Zm=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var Gv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[mr,Rm,hr,de]})}return t})();var Ym=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[Aa,co,de]})}return t})();var z2=["trigger"],U2=["panel"],$2=[[["mat-select-trigger"]],"*"],G2=["mat-select-trigger","*"];function W2(t,n){if(t&1&&(p(0,"span",4),v(1),g()),t&2){let e=D();_(),be(e.placeholder)}}function q2(t,n){t&1&&ee(0)}function Q2(t,n){if(t&1&&(p(0,"span",11),v(1),g()),t&2){let e=D(2);_(),be(e.triggerValue)}}function Z2(t,n){if(t&1&&(p(0,"span",5),T(1,q2,1,0)(2,Q2,2,1,"span",11),g()),t&2){let e=D();_(),k(e.customTrigger?1:2)}}function Y2(t,n){if(t&1){let e=Le();p(0,"div",12,1),Q("keydown",function(r){ue(e);let o=D();return me(o._handleKeydown(r))}),ee(2,1),g()}if(t&2){let e=D();We(e.panelClass),L("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary",(e._parentFormField==null?null:e._parentFormField.color)==="primary")("mat-accent",(e._parentFormField==null?null:e._parentFormField.color)==="accent")("mat-warn",(e._parentFormField==null?null:e._parentFormField.color)==="warn")("mat-undefined",!(e._parentFormField!=null&&e._parentFormField.color)),Z("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var K2=new b("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(q);return()=>go(t)}}),X2=new b("MAT_SELECT_CONFIG"),J2=new b("MatSelectTrigger"),Wv=class{source;value;constructor(n,e){this.source=n,this.value=e}},Km=(()=>{class t{_viewportRuler=d(an);_changeDetectorRef=d(Me);_elementRef=d(O);_dir=d(lt,{optional:!0});_idGenerator=d(Ve);_renderer=d(Ge);_parentFormField=d(Ov,{optional:!0});ngControl=d(xm,{self:!0,optional:!0});_liveAnnouncer=d(Nc);_defaultOptions=d(X2,{optional:!0});_animationsDisabled=$e();_popoverLocation;_initialized=new x;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=AI(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=RI(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Wv(this,e)}_scrollStrategyFactory=d(K2);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new x;_errorStateTracker;stateChanges=new x;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=X(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(ym.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=wn(()=>{let e=this.options;return e?e.changes.pipe(Je(e),rt(()=>Lt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(rt(()=>this.optionSelectionChanges))});openedChange=new B;_openedStream=this.openedChange.pipe(pe(e=>e),ne(()=>{}));_closedStream=this.openedChange.pipe(pe(e=>!e),ne(()=>{}));selectionChange=new B;valueChange=new B;constructor(){let e=d(Qm),i=d(Tv,{optional:!0}),r=d(kv,{optional:!0}),o=d(new pn("tabindex"),{optional:!0}),a=d(Yc,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Zm(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this._popoverLocation=a?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new Hc(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(fe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(fe(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Je(null),fe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(He(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&hm(this._trackedModal,"aria-owns",i),vv(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;hm(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!pt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!pt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!pt(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch(o){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Ha?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Pc(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Lt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fe(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Lt(...this.options.map(i=>i._stateChanges)).pipe(fe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(e){let i=At(e);i&&(i.tagName==="MAT-OPTION"||i.classList.contains("cdk-overlay-backdrop")||i.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&yt(o,J2,5)(o,hr,5)(o,Fv,5),i&2){let a;P(a=F())&&(r.customTrigger=a.first),P(a=F())&&(r.options=a),P(a=F())&&(r.optionGroups=a)}},viewQuery:function(i,r){if(i&1&&Ie(z2,5)(U2,5)(qm,5),i&2){let o;P(o=F())&&(r.trigger=o.first),P(o=F())&&(r.panel=o.first),P(o=F())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(i,r){i&1&&Q("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(Z("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),L("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple)("mat-select-open",r.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",$],disableRipple:[2,"disableRipple","disableRipple",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ke(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",$],placeholder:"placeholder",required:[2,"required","required",$],multiple:[2,"multiple","multiple",$],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",$],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ke],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",$]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[we([{provide:Rv,useExisting:t},{provide:Pv,useExisting:t}]),Ae],ngContentSelectors:G2,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(i,r){if(i&1){let o=Le();Te($2),p(0,"div",2,0),Q("click",function(){return ue(o),me(r.open())}),p(3,"div",3),T(4,W2,2,1,"span",4)(5,Z2,3,1,"span",5),g(),p(6,"div",6)(7,"div",7),It(),p(8,"svg",8),se(9,"path",9),g()()()(),Ce(10,Y2,3,16,"ng-template",10),Q("detach",function(){return ue(o),me(r.close())})("backdropClick",function(){return ue(o),me(r.close())})("overlayKeydown",function(s){return ue(o),me(r._handleOverlayKeydown(s))})}if(i&2){let o=Yt(1);_(3),Z("id",r._valueId),_(),k(r.empty?4:5),_(6),H("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",r._popoverLocation)}},dependencies:[Ha,qm],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
|
|
28
|
+
`],encapsulation:2,changeDetection:0})}return t})();var Xm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[zn,Gv,de,lo,Ym,Gv]})}return t})();var tB={capture:!0},nB=["focus","mousedown","mouseenter","touchstart"],qv="mat-ripple-loader-uninitialized",Qv="mat-ripple-loader-class-name",eM="mat-ripple-loader-centered",Jm="mat-ripple-loader-disabled",tM=(()=>{class t{_document=d(G);_animationsDisabled=$e();_globalRippleOptions=d(pm,{optional:!0});_platform=d(ye);_ngZone=d(N);_injector=d(q);_eventCleanups;_hosts=new Map;constructor(){let e=d(Mt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>nB.map(i=>e.listen(this._document,i,this._onInteraction,tB)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(qv,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Qv))&&e.setAttribute(Qv,i.className||""),i.centered&&e.setAttribute(eM,""),i.disabled&&e.setAttribute(Jm,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Jm,""):e.removeAttribute(Jm)}_onInteraction=e=>{let i=At(e);if(i instanceof HTMLElement){let r=i.closest(`[${qv}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Qv)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Lc.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Lc.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(Jm),rippleConfig:{centered:e.hasAttribute(eM),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},c=new Bc(s,this._ngZone,i,this._platform,this._injector),l=!s.rippleDisabled;l&&c.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:c,hasSetUpEvents:l}),e.removeAttribute(qv)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var iB=["mat-icon-button",""],rB=["*"],oB=new b("MAT_BUTTON_CONFIG");function nM(t){return t==null?void 0:Ke(t)}var Zv=(()=>{class t{_elementRef=d(O);_ngZone=d(N);_animationsDisabled=$e();_config=d(oB,{optional:!0});_focusMonitor=d(Bn);_cleanupClick;_renderer=d(Ge);_rippleLoader=d(tM);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){d(St).load(dr);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{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(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_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",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(Z("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),We(r.color?"mat-"+r.color:""),L("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",$],disabled:[2,"disabled","disabled",$],ariaDisabled:[2,"aria-disabled","ariaDisabled",$],disabledInteractive:[2,"disabledInteractive","disabledInteractive",$],tabIndex:[2,"tabIndex","tabIndex",nM],_tabindex:[2,"tabindex","_tabindex",nM]}})}return t})(),ji=(()=>{class t extends Zv{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,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:[oe],attrs:iB,ngContentSelectors:rB,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(i,r){i&1&&(Te(),mt(0,"span",0),ee(1),mt(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}
|
|
29
|
+
`,`@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}}
|
|
30
|
+
`],encapsulation:2,changeDetection:0})}return t})();var aB=["tooltip"],sB=20;var cB=new b("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(q);return()=>go(t,{scrollThrottle:sB})}}),lB=new b("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var iM="tooltip-panel",dB={passive:!0},uB=8,mB=8,fB=24,hB=200,cn=(()=>{class t{_elementRef=d(O);_ngZone=d(N);_platform=d(ye);_ariaDescriber=d(bv);_focusMonitor=d(Bn);_dir=d(lt);_injector=d(q);_viewContainerRef=d(Ue);_mediaMatcher=d(ka);_document=d(G);_renderer=d(Ge);_animationsDisabled=$e();_defaultOptions=d(lB,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=rM;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Tc(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Tc(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Xt(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Xt(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new x;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=uB}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(i=>i()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Vn(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(fe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof O)return this._overlayRef;this._detach()}let i=this._injector.get(uo).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${iM}`,o=Zc(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i).withPopoverLocation("global");return o.positionChanges.pipe(fe(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Bi(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(cB)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fe(this._destroyed)).subscribe(a=>{a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(fe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(y(y({},r.main),o.main)),this._addOffset(y(y({},r.fallback),o.fallback))])}_addOffset(e){let i=mB,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Fe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=i==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${iM}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,i){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,i,dB))}_isTouchPlatform(){return this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!this._defaultOptions?.detectHoverCapability&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Fe({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!pt(e):!0;static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&L("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),rM=(()=>{class t{_changeDetectorRef=d(Me);_elementRef=d(O);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=$e();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new x;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>fB&&e.width>=hB}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Ie(aB,7),i&2){let o;P(o=F())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&Q("mouseleave",function(a){return r._handleMouseLeave(a)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=Le();et(0,"div",1,0),du("animationend",function(s){return ue(o),me(r._handleAnimationEnd(s))}),et(2,"div",2),v(3),st()()}i&2&&(We(r.tooltipClass),L("mdc-tooltip--multiline",r._isMultiline),_(3),be(r.message))},styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
|
|
31
|
+
`],encapsulation:2,changeDetection:0})}return t})();var yn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[so,zn,de,lo]})}return t})();var pB=["matButton",""],gB=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],_B=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var oM=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"]]]),Ua=(()=>{class t extends Zv{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=vB(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?oM.get(this._appearance):null,o=oM.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,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:[oe],attrs:pB,ngContentSelectors:_B,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(i,r){i&1&&(Te(gB),mt(0,"span",0),ee(1),et(2,"span",1),ee(3,1),st(),ee(4,2),mt(5,"span",2)(6,"span",3)),i&2&&L("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._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)}
|
|
32
|
+
`,`@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}}
|
|
33
|
+
`],encapsulation:2,changeDetection:0})}return t})();function vB(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var ui=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[mr,de]})}return t})();function bB(t,n){if(t&1&&(p(0,"mat-option",17),v(1),g()),t&2){let e=n.$implicit;H("value",e),_(),xe(" ",e," ")}}function yB(t,n){if(t&1){let e=Le();p(0,"mat-form-field",14)(1,"mat-select",16,0),Q("selectionChange",function(r){ue(e);let o=D(2);return me(o._changePageSize(r.value))}),Qt(3,bB,2,2,"mat-option",17,ii),g(),p(5,"div",18),Q("click",function(){ue(e);let r=Yt(2);return me(r.open())}),g()()}if(t&2){let e=D(2);H("appearance",e._formFieldAppearance)("color",e.color),_(),H("value",e.pageSize)("disabled",e.disabled),aa("aria-labelledby",e._pageSizeLabelId),H("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),_(2),Zt(e._displayedPageSizeOptions)}}function CB(t,n){if(t&1&&(p(0,"div",15),v(1),g()),t&2){let e=D(2);_(),be(e.pageSize)}}function wB(t,n){if(t&1&&(p(0,"div",3)(1,"div",13),v(2),g(),T(3,yB,6,7,"mat-form-field",14),T(4,CB,2,1,"div",15),g()),t&2){let e=D();_(),Z("id",e._pageSizeLabelId),_(),xe(" ",e._intl.itemsPerPageLabel," "),_(),k(e._displayedPageSizeOptions.length>1?3:-1),_(),k(e._displayedPageSizeOptions.length<=1?4:-1)}}function xB(t,n){if(t&1){let e=Le();p(0,"button",19),Q("click",function(){ue(e);let r=D();return me(r._buttonClicked(0,r._previousButtonsDisabled()))}),It(),p(1,"svg",8),se(2,"path",20),g()()}if(t&2){let e=D();H("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),Z("aria-label",e._intl.firstPageLabel)}}function DB(t,n){if(t&1){let e=Le();p(0,"button",21),Q("click",function(){ue(e);let r=D();return me(r._buttonClicked(r.getNumberOfPages()-1,r._nextButtonsDisabled()))}),It(),p(1,"svg",8),se(2,"path",22),g()()}if(t&2){let e=D();H("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),Z("aria-label",e._intl.lastPageLabel)}}var EB=(()=>{class t{changes=new x;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,i,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let o=e*i,a=o<r?Math.min(o+i,r):o+i;return`${o+1} \u2013 ${a} of ${r}`};static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IB=50;var MB=new b("MAT_PAGINATOR_DEFAULT_OPTIONS"),SB=(()=>{class t{_intl=d(EB);_changeDetectorRef=d(Me);_formFieldAppearance;_pageSizeLabelId=d(Ve).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new $t(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Ke(i,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new B;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,i=d(MB,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){let{pageSize:r,pageSizeOptions:o,hidePageSize:a,showFirstLastButtons:s}=i;r!=null&&(this._pageSize=r),o!=null&&(this._pageSizeOptions=o),a!=null&&(this.hidePageSize=a),s!=null&&(this.showFirstLastButtons=s)}this._formFieldAppearance=i?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndex<e&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){let i=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(i/e)||0,this.pageSize=e,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:IB),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,i)=>e-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let i=this.pageIndex;e!==i&&(this.pageIndex=e,this._emitPageEvent(i))}_buttonClicked(e,i){i||this._navigate(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Ke],length:[2,"length","length",Ke],pageSize:[2,"pageSize","pageSize",Ke],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",$],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",$],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",$]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-atomic","true","aria-live","polite","role","status",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["aria-hidden","true",1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2),T(2,wB,5,4,"div",3),p(3,"div",4)(4,"div",5),v(5),g(),T(6,xB,3,5,"button",6),p(7,"button",7),Q("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),It(),p(8,"svg",8),se(9,"path",9),g()(),Ei(),p(10,"button",10),Q("click",function(){return r._buttonClicked(r.pageIndex+1,r._nextButtonsDisabled())}),It(),p(11,"svg",8),se(12,"path",11),g()(),T(13,DB,3,5,"button",12),g()()()),i&2&&(_(2),k(r.hidePageSize?-1:2),_(3),xe(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),_(),k(r.showFirstLastButtons?6:-1),_(),H("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("disabled",r._previousButtonsDisabled())("tabindex",r._previousButtonsDisabled()?-1:null),Z("aria-label",r._intl.previousPageLabel),_(3),H("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("disabled",r._nextButtonsDisabled())("tabindex",r._nextButtonsDisabled()?-1:null),Z("aria-label",r._intl.nextPageLabel),_(3),k(r.showFirstLastButtons?13:-1))},dependencies:[co,Km,hr,ji,cn],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}
|
|
34
|
+
`],encapsulation:2,changeDetection:0})}return t})(),aM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[ui,Xm,yn,SB]})}return t})();var sM=new b("CdkAccordion");var cM=(()=>{class t{accordion=d(sM,{optional:!0,skipSelf:!0});_changeDetectorRef=d(Me);_expansionDispatcher=d(Vc);_openCloseAllSubscription=Y.EMPTY;closed=new B;opened=new B;destroyed=new B;expandedChange=new B;id=d(Ve).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=X(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",$],disabled:[2,"disabled","disabled",$]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[we([{provide:sM,useValue:void 0}])]})}return t})(),lM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({})}return t})();var TB=["body"],kB=["bodyWrapper"],AB=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],RB=["mat-expansion-panel-header","*","mat-action-row"];function OB(t,n){}var NB=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],PB=["mat-panel-title","mat-panel-description","*"];function FB(t,n){t&1&&(et(0,"span",1),It(),et(1,"svg",2),mt(2,"path",3),st()())}var dM=new b("MAT_ACCORDION"),uM=new b("MAT_EXPANSION_PANEL"),LB=(()=>{class t{_template=d(ke);_expansionPanel=d(uM,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),mM=new b("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Xc=(()=>{class t extends cM{_viewContainerRef=d(Ue);_animationsDisabled=$e();_document=d(G);_ngZone=d(N);_elementRef=d(O);_renderer=d(Ge);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new B;afterCollapse=new B;_inputChanges=new x;accordion=d(dM,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=d(Ve).getId("mat-expansion-panel-header-");constructor(){super();let e=d(mM,{optional:!0});this._expansionDispatcher=d(Vc),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Je(null),pe(()=>this.expanded&&!this._portal),He(1)).subscribe(()=>{this._portal=new Jt(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:i})=>{e===this._bodyWrapper?.nativeElement&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&&yt(o,LB,5),i&2){let a;P(a=F())&&(r._lazyContent=a.first)}},viewQuery:function(i,r){if(i&1&&Ie(TB,5)(kB,5),i&2){let o;P(o=F())&&(r._body=o.first),P(o=F())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&L("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",$],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[we([{provide:dM,useValue:void 0},{provide:uM,useExisting:t}]),oe,Ae],ngContentSelectors:RB,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Te(AB),ee(0),p(1,"div",2,0)(3,"div",3,1)(5,"div",4),ee(6,1),Ce(7,OB,0,0,"ng-template",5),g(),ee(8,2),g()()),i&2&&(_(),Z("inert",r.expanded?null:""),_(2),H("id",r.id),Z("aria-labelledby",r._headerId),_(4),H("cdkPortalOutlet",r._portal))},dependencies:[sn],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}@media print{.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
|
|
35
|
+
`],encapsulation:2,changeDetection:0})}return t})();var ef=(()=>{class t{panel=d(Xc,{host:!0});_element=d(O);_focusMonitor=d(Bn);_changeDetectorRef=d(Me);_parentChangeSubscription=Y.EMPTY;constructor(){d(St).load(dr);let e=this.panel,i=d(mM,{optional:!0}),r=d(new pn("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(pe(a=>!!(a.hideToggle||a.togglePosition))):Xe;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=Lt(e.opened,e.closed,o,e._inputChanges.pipe(pe(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(pe(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:pt(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(i,r){i&1&&Q("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),i&2&&(Z("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Ct("height",r._getHeaderHeight()),L("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ke(e)]},ngContentSelectors:PB,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(Te(NB),et(0,"span",0),ee(1),ee(2,1),ee(3,2),st(),T(4,FB,3,0,"span",1)),i&2&&(L("mat-content-hide-toggle",!r._showToggle()),_(4),k(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}
|
|
36
|
+
`],encapsulation:2,changeDetection:0})}return t})(),tf=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),nf=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})();var rf=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[lM,Hn,de]})}return t})();var tb=["*"];function BB(t,n){t&1&&ee(0)}var jB=["tabListContainer"],VB=["tabList"],HB=["tabListInner"],zB=["nextPaginator"],UB=["previousPaginator"],$B=["content"];function GB(t,n){}var WB=["tabBodyWrapper"],qB=["tabHeader"];function QB(t,n){}function ZB(t,n){if(t&1&&Ce(0,QB,0,0,"ng-template",12),t&2){let e=D().$implicit;H("cdkPortalOutlet",e.templateLabel)}}function YB(t,n){if(t&1&&v(0),t&2){let e=D().$implicit;be(e.textLabel)}}function KB(t,n){if(t&1){let e=Le();p(0,"div",7,2),Q("click",function(){let r=ue(e),o=r.$implicit,a=r.$index,s=D(),c=Yt(1);return me(s._handleClick(o,c,a))})("cdkFocusChange",function(r){let o=ue(e).$index,a=D();return me(a._tabFocusChanged(r,o))}),se(2,"span",8)(3,"div",9),p(4,"span",10)(5,"span",11),T(6,ZB,1,1,null,12)(7,YB,1,1),g()()()}if(t&2){let e=n.$implicit,i=n.$index,r=Yt(1),o=D();We(e.labelClass),L("mdc-tab--active",o.selectedIndex===i),H("id",o._getTabLabelId(e,i))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),Z("tabIndex",o._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),_(3),H("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),_(3),k(e.templateLabel?6:7)}}function XB(t,n){t&1&&ee(0)}function JB(t,n){if(t&1){let e=Le();p(0,"mat-tab-body",13),Q("_onCentered",function(){ue(e);let r=D();return me(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){ue(e);let o=D();return me(o._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){ue(e);let o=D();return me(o._bodyCentered(r))}),g()}if(t&2){let e=n.$implicit,i=n.$index,r=D();We(e.bodyClass),H("id",r._getTabContentId(i))("content",e.content)("position",e.position)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),Z("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,i))("aria-hidden",r.selectedIndex!==i)}}var ej=new b("MatTabContent"),tj=(()=>{class t{template=d(ke);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","matTabContent",""]],features:[we([{provide:ej,useExisting:t}])]})}return t})(),nj=new b("MatTabLabel"),_M=new b("MAT_TAB"),nb=(()=>{class t extends LI{_closestTab=d(_M,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[we([{provide:nj,useExisting:t}]),oe]})}return t})(),vM=new b("MAT_TAB_GROUP"),ib=(()=>{class t{_viewContainerRef=d(Ue);_closestTabGroup=d(vM,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new x;position=null;origin=null;isActive=!1;constructor(){d(St).load(dr)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Jt(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,o){if(i&1&&yt(o,nb,5)(o,tj,7,ke),i&2){let a;P(a=F())&&(r.templateLabel=a.first),P(a=F())&&(r._explicitContent=a.first)}},viewQuery:function(i,r){if(i&1&&Ie(ke,7),i&2){let o;P(o=F())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(i,r){i&2&&Z("id",null)},inputs:{disabled:[2,"disabled","disabled",$],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[we([{provide:_M,useExisting:t}]),Ae],ngContentSelectors:tb,decls:1,vars:0,template:function(i,r){i&1&&(Te(),su(0,BB,1,0,"ng-template"))},encapsulation:2})}return t})(),Kv="mdc-tab-indicator--active",hM="mdc-tab-indicator--no-transition",Xv=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},ij=(()=>{class t{_elementRef=d(O);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(Kv);return}let r=i.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;i.classList.add(hM),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),i.getBoundingClientRect(),i.classList.remove(hM),i.classList.add(Kv),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Kv)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",$]}})}return t})();var bM=(()=>{class t extends ij{elementRef=d(O);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(Z("aria-disabled",!!r.disabled),L("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",$]},features:[oe]})}return t})(),pM={passive:!0},rj=650,oj=100,aj=(()=>{class t{_elementRef=d(O);_changeDetectorRef=d(Me);_viewportRuler=d(an);_dir=d(lt,{optional:!0});_ngZone=d(N);_platform=d(ye);_sharedResizeObserver=d(Pm);_injector=d(q);_renderer=d(Ge);_animationsDisabled=$e();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new x;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new x;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new B;indexFocused=new B;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),pM),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),pM))}ngAfterContentInit(){let e=this._dir?this._dir.change:U("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(pi(32),fe(this._destroyed)),r=this._viewportRuler.change(150).pipe(fe(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Oa(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Fe(o,{injector:this._injector}),Lt(e,r,i,this._items.changes,this._itemsResized()).pipe(fe(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Xe:this._items.changes.pipe(Je(this._items),rt(e=>new W(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Tr(1),pe(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!pt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement,s,c;this._getLayoutDirection()=="ltr"?(s=o,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-o,s=c-a);let l=this.scrollDistance,u=this.scrollDistance+r;s<l?this.scrollDistance-=l-s:c>u&&(this.scrollDistance+=Math.min(c-u,s-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),ms(rj,oj).pipe(fe(Lt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",$],selectedIndex:[2,"selectedIndex","selectedIndex",Ke]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),sj=(()=>{class t extends aj{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Xv(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,o){if(i&1&&yt(o,bM,4),i&2){let a;P(a=F())&&(r._items=a)}},viewQuery:function(i,r){if(i&1&&Ie(jB,7)(VB,7)(HB,7)(zB,5)(UB,5),i&2){let o;P(o=F())&&(r._tabListContainer=o.first),P(o=F())&&(r._tabList=o.first),P(o=F())&&(r._tabListInner=o.first),P(o=F())&&(r._nextPaginator=o.first),P(o=F())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&L("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",$]},features:[oe],ngContentSelectors:tb,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,r){if(i&1){let o=Le();Te(),p(0,"div",5,0),Q("click",function(){return ue(o),me(r._handlePaginatorClick("before"))})("mousedown",function(s){return ue(o),me(r._handlePaginatorPress("before",s))})("touchend",function(){return ue(o),me(r._stopInterval())}),se(2,"div",6),g(),p(3,"div",7,1),Q("keydown",function(s){return ue(o),me(r._handleKeydown(s))}),p(5,"div",8,2),Q("cdkObserveContent",function(){return ue(o),me(r._onContentChanges())}),p(7,"div",9,3),ee(9),g()()(),p(10,"div",10,4),Q("mousedown",function(s){return ue(o),me(r._handlePaginatorPress("after",s))})("click",function(){return ue(o),me(r._handlePaginatorClick("after"))})("touchend",function(){return ue(o),me(r._stopInterval())}),se(12,"div",6),g()}i&2&&(L("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),H("matRippleDisabled",r._disableScrollBefore||r.disableRipple),_(3),L("_mat-animation-noopable",r._animationsDisabled),_(2),Z("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),_(5),L("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),H("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[jc,lv],styles:[`.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}
|
|
37
|
+
`],encapsulation:2})}return t})(),cj=new b("MAT_TABS_CONFIG"),gM=(()=>{class t extends sn{_host=d(Jv);_ngZone=d(N);_centeringSub=Y.EMPTY;_leavingSub=Y.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Je(this._host._isCenterPosition())).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","matTabBodyHost",""]],features:[oe]})}return t})(),Jv=(()=>{class t{_elementRef=d(O);_dir=d(lt,{optional:!0});_ngZone=d(N);_injector=d(q);_renderer=d(Ge);_diAnimationsDisabled=$e();_eventCleanups;_initialized=!1;_fallbackTimer;_positionIndex;_dirChangeSubscription=Y.EMPTY;_position;_previousPosition;_onCentering=new B;_beforeCentering=new B;_afterLeavingCenter=new B;_onCentered=new B(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=d(Me);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Fe(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(e=>e()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement,i=r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),r.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(e,"transitionstart",r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(e,"transitionend",i),this._renderer.listen(e,"transitioncancel",i)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let e=this._position==="center";this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(e){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",e)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(e=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),Fe(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&Ie(gM,5)($B,5),i&2){let o;P(o=F())&&(r._portalHost=o.first),P(o=F())&&(r._contentElement=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(i,r){i&2&&Z("inert",r._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,r){i&1&&(p(0,"div",1,0),Ce(2,GB,0,0,"ng-template",2),g()),i&2&&L("mat-tab-body-content-left",r._position==="left")("mat-tab-body-content-right",r._position==="right")("mat-tab-body-content-can-animate",r._position==="center"||r._previousPosition==="center")},dependencies:[gM,mo],styles:[`.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}
|
|
38
|
+
`],encapsulation:2})}return t})(),of=(()=>{class t{_elementRef=d(O);_changeDetectorRef=d(Me);_ngZone=d(N);_tabsSubscription=Y.EMPTY;_tabLabelSubscription=Y.EMPTY;_tabBodySubscription=Y.EMPTY;_diAnimationsDisabled=$e();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new kn;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new B;focusChange=new B;animationDone=new B;selectedTabChange=new B(!0);_groupId;_isServer=!d(ye).isBrowser;constructor(){let e=d(cj,{optional:!0});this._groupId=d(Ve).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let o=0;o<i.length;o++)if(i[o].isActive){this._indexToSelect=this._selectedIndex=o,this._lastFocusedTabIndex=null,r=i[o];break}!r&&i[e]&&Promise.resolve().then(()=>{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Je(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new eb;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Lt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,i){return e.id||`${this._groupId}-label-${i}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(e){e&&this._tabBodies?.forEach((i,r)=>i._setActiveClass(r===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,o){if(i&1&&yt(o,ib,5),i&2){let a;P(a=F())&&(r._allTabs=a)}},viewQuery:function(i,r){if(i&1&&Ie(WB,5)(qB,5)(Jv,5),i&2){let o;P(o=F())&&(r._tabBodyWrapper=o.first),P(o=F())&&(r._tabHeader=o.first),P(o=F())&&(r._tabBodies=o)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(i,r){i&2&&(Z("mat-align-tabs",r.alignTabs),We("mat-"+(r.color||"primary")),Ct("--mat-tab-animation-duration",r.animationDuration),L("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",$],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",$],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",$],selectedIndex:[2,"selectedIndex","selectedIndex",Ke],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Ke],disablePagination:[2,"disablePagination","disablePagination",$],disableRipple:[2,"disableRipple","disableRipple",$],preserveContent:[2,"preserveContent","preserveContent",$],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[we([{provide:vM,useExisting:t}])],ngContentSelectors:tb,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(i,r){if(i&1){let o=Le();Te(),p(0,"mat-tab-header",3,0),Q("indexFocused",function(s){return ue(o),me(r._focusChanged(s))})("selectFocusedIndex",function(s){return ue(o),me(r.selectedIndex=s)}),Qt(2,KB,8,17,"div",4,ii),g(),T(4,XB,1,0),p(5,"div",5,1),Qt(7,JB,1,10,"mat-tab-body",6,ii),g()}i&2&&(H("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination),aa("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),_(2),Zt(r._tabs),_(2),k(r._isServer?4:-1),_(),L("_mat-animation-noopable",r._animationsDisabled()),_(2),Zt(r._tabs))},dependencies:[sj,bM,cv,jc,sn,Jv],styles:[`.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}
|
|
39
|
+
`],encapsulation:2})}return t})(),eb=class{index;tab};var af=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();var dj=["determinateSpinner"];function uj(t,n){if(t&1&&(It(),p(0,"svg",11),se(1,"circle",12),g()),t&2){let e=D();Z("viewBox",e._viewBox()),_(),Ct("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Z("r",e._circleRadius())}}var mj=new b("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:yM})}),yM=100,fj=10,CM=(()=>{class t{_elementRef=d(O);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=d(mj),i=Fc(),r=this._elementRef.nativeElement;this._noopAnimations=i==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&i==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=yM;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-fj)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Ie(dj,5),i&2){let o;P(o=F())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(Z("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),We("mat-"+r.color),Ct("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),L("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ke],diameter:[2,"diameter","diameter",Ke],strokeWidth:[2,"strokeWidth","strokeWidth",Ke]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(Ce(0,uj,2,8,"ng-template",null,0,la),p(2,"div",2,1),It(),p(4,"svg",3),se(5,"circle",4),g()(),Ei(),p(6,"div",5)(7,"div",6)(8,"div",7),ft(9,8),g(),p(10,"div",9),ft(11,8),g(),p(12,"div",10),ft(13,8),g()()()),i&2){let o=Yt(1);_(4),Z("viewBox",r._viewBox()),_(),Ct("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),Z("r",r._circleRadius()),_(4),H("ngTemplateOutlet",o),_(2),H("ngTemplateOutlet",o),_(2),H("ngTemplateOutlet",o)}},dependencies:[rc],styles:[`.mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
|
|
40
|
+
`],encapsulation:2,changeDetection:0})}return t})();var wM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();function pj(t,n){if(t&1){let e=Le();p(0,"div",1)(1,"button",2),Q("click",function(){ue(e);let r=D();return me(r.action())}),v(2),g()()}if(t&2){let e=D();_(2),xe(" ",e.data.action," ")}}var gj=["label"];function _j(t,n){}var vj=Math.pow(2,31)-1,Jc=class{_overlayRef;instance;containerInstance;_afterDismissed=new x;_afterOpened=new x;_onAction=new x;_durationTimeoutId;_dismissedByAction=!1;constructor(n,e){this._overlayRef=e,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,vj))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},xM=new b("MatSnackBarData"),$a=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},bj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),yj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),Cj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),DM=(()=>{class t{snackBarRef=d(Jc);data=d(xM);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(p(0,"div",0),v(1),g(),T(2,pj,3,1,"div",1)),i&2&&(_(),xe(" ",r.data.message,`
|
|
41
|
+
`),_(),k(r.hasAction?2:-1))},dependencies:[Ua,bj,yj,Cj],styles:[`.mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}
|
|
42
|
+
`],encapsulation:2,changeDetection:0})}return t})(),rb="_mat-snack-bar-enter",ob="_mat-snack-bar-exit",wj=(()=>{class t extends pr{_ngZone=d(N);_elementRef=d(O);_changeDetectorRef=d(Me);_platform=d(ye);_animationsDisabled=$e();snackBarConfig=d($a);_document=d(G);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=d(q);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new x;_onExit=new x;_onEnter=new x;_animationState="void";_live;_label;_role;_liveElementId=d(Ve).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}attachDomPortal=e=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),i};onAnimationEnd(e){e===ob?this._completeExit():e===rb&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Fe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(rb)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(rb)},200)))}exit(){return this._destroyed?U(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Fe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ob)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ob),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(a=>e.classList.add(a)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,o="mdc-snackbar__label";r.classList.toggle(o,!r.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");this._trackedModals.add(o),a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,i=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(i&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(o=document.activeElement),i.removeAttribute("aria-hidden"),r.appendChild(i),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&Ie(sn,7)(gj,7),i&2){let o;P(o=F())&&(r._portalOutlet=o.first),P(o=F())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,r){i&1&&Q("animationend",function(a){return r.onAnimationEnd(a.animationName)})("animationcancel",function(a){return r.onAnimationEnd(a.animationName)}),i&2&&L("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[oe],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2,0)(3,"div",3),Ce(4,_j,0,0,"ng-template",4),g(),se(5,"div"),g()()),i&2&&(_(5),Z("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[sn],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
|
|
43
|
+
`],encapsulation:2})}return t})(),xj=new b("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new $a}),el=(()=>{class t{_live=d(Nc);_injector=d(q);_breakpointObserver=d(Oc);_parentSnackBar=d(t,{optional:!0,skipSelf:!0});_defaultConfig=d(xj);_animationsDisabled=$e();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=DM;snackBarContainerComponent=wj;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){let o=y(y({},this._defaultConfig),r);return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=q.create({parent:r||this._injector,providers:[{provide:$a,useValue:i}]}),a=new Vn(this.snackBarContainerComponent,i.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){let r=y(y(y({},new $a),this._defaultConfig),i),o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new Jc(a,o);if(e instanceof ke){let c=new Jt(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(c)}else{let c=this._createInjector(r,s),l=new Vn(e,void 0,c),u=a.attachComponentPortal(l);s.instance=u.instance}return this._breakpointObserver.observe(VE.HandsetPortrait).pipe(fe(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let i=new Li;i.direction=e.direction;let r=gr(this._injector),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,s=!a&&e.horizontalPosition!=="center";return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,i.disableAnimations=this._animationsDisabled,Bi(this._injector,i)}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return q.create({parent:r||this._injector,providers:[{provide:Jc,useValue:i},{provide:xM,useValue:e.data}]})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var EM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({providers:[el],imports:[zn,Hn,ui,DM,de]})}return t})();function Dj(t,n){}var _r=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var sb=(()=>{class t extends pr{_elementRef=d(O);_focusTrapFactory=d(mv);_config;_interactivityChecker=d(dm);_ngZone=d(N);_focusMonitor=d(Bn);_renderer=d(Ge);_changeDetectorRef=d(Me);_injector=d(q);_platform=d(ye);_document=d(G);_portalOutlet;_focusTrapped=new x;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=d(_r,{optional:!0})||new _r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||Fe(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Mc(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=Mc();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Mc()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Ie(sn,7),i&2){let o;P(o=F())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&Z("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[oe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&Ce(0,Dj,0,0,"ng-template",0)},dependencies:[sn],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
|
|
44
|
+
`],encapsulation:2})}return t})(),tl=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new x;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},Ej=new b("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=d(q);return()=>za(t)}}),Ij=new b("DialogData"),Mj=new b("DefaultDialogConfig");function Sj(t){let n=X(t),e=new B;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var cb=(()=>{class t{_injector=d(q);_defaultOptions=d(Mj,{optional:!0});_parentDialog=d(t,{optional:!0,skipSelf:!0});_overlayContainer=d(Wm);_idGenerator=d(Ve);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new x;_afterOpenedAtThisLevel=new x;_ariaHiddenElements=new Map;_scrollStrategy=d(Ej);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=wn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Je(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new _r;i=y(y({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),a=Bi(this._injector,o),s=new tl(a,i),c=this._attachContainer(a,s,i);if(s.containerInstance=c,!this.openDialogs.length){let l=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(He(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(l)}):this._hideNonDialogContentFromAssistiveTechnology(l)}return this._attachDialogContent(e,s,c,i),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){ab(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){ab(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),ab(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Li({positionStrategy:e.positionStrategy||gr().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:_r,useValue:r},{provide:tl,useValue:i},{provide:Va,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=sb;let c=new Vn(s,r.viewContainerRef,q.create({parent:o||this._injector,providers:a}));return e.attach(c).instance}_attachDialogContent(e,i,r,o){if(e instanceof ke){let a=this._createInjector(o,i,r,void 0),s={$implicit:o.data,dialogRef:i};o.templateContext&&(s=y(y({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Jt(e,null,s,a))}else{let a=this._createInjector(o,i,r,this._injector),s=r.attachComponentPortal(new Vn(e,o.viewContainerRef,a));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:Ij,useValue:e.data},{provide:tl,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(lt,null,{optional:!0}))&&s.push({provide:lt,useValue:Sj(e.direction)}),q.create({parent:a||o,providers:s})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ab(t,n){let e=t.length;for(;e--;)n(t[e])}var IM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({providers:[cb],imports:[zn,Hn,so,Hn]})}return t})();function Tj(t,n){}var cf=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},lb="mdc-dialog--open",MM="mdc-dialog--opening",SM="mdc-dialog--closing",kj=150,Aj=75,Rj=(()=>{class t extends sb{_animationStateChanged=new B;_animationsEnabled=!$e();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?kM(this._config.enterAnimationDuration)??kj:0;_exitAnimationDuration=this._animationsEnabled?kM(this._config.exitAnimationDuration)??Aj:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(TM,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(MM,lb)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(lb),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(lb),this._animationsEnabled?(this._hostElement.style.setProperty(TM,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(SM)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(MM,SM)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(ri("id",r._config.id),Z("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),L("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[oe],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(p(0,"div",0)(1,"div",1),Ce(2,Tj,0,0,"ng-template",2),g()())},dependencies:[sn],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
|
|
45
|
+
`],encapsulation:2})}return t})(),TM="--mat-dialog-transition-duration";function kM(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Xt(t.substring(0,t.length-2)):t.endsWith("s")?Xt(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var sf=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(sf||{}),nl=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new $t(1);_beforeClosed=new $t(1);_result;_closeFallbackTimeout;_state=sf.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(pe(r=>r.state==="opened"),He(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(pe(r=>r.state==="closed"),He(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Lt(this.backdropClick(),this.keydownEvents().pipe(pe(r=>r.keyCode===27&&!this.disableClose&&!pt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),AM(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(pe(i=>i.state==="closing"),He(1)).subscribe(i=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=sf.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=sf.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function AM(t,n,e){return t._closeInteractionType=n,t.close(e)}var db=new b("MatMdcDialogData"),Oj=new b("mat-mdc-dialog-default-options"),Nj=new b("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(q);return()=>za(t)}}),il=(()=>{class t{_defaultOptions=d(Oj,{optional:!0});_scrollStrategy=d(Nj);_parentDialog=d(t,{optional:!0,skipSelf:!0});_idGenerator=d(Ve);_injector=d(q);_dialog=d(cb);_animationsDisabled=$e();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new x;_afterOpenedAtThisLevel=new x;dialogConfigClass=cf;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=wn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Je(void 0)));constructor(){this._dialogRefConstructor=nl,this._dialogContainerType=Rj,this._dialogDataToken=db}open(e,i){let r;i=y(y({},this._defaultOptions||new cf),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,te(y({},i),{positionStrategy:gr(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:_r,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(a,s,c)=>(r=new this._dialogRefConstructor(a,i,c),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),RM=(()=>{class t{dialogRef=d(nl,{optional:!0});_elementRef=d(O);_dialog=d(il);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=LM(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){AM(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&Q("click",function(a){return r._onButtonClick(a)}),i&2&&Z("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ae]})}return t})(),OM=(()=>{class t{_dialogRef=d(nl,{optional:!0});_elementRef=d(O);_dialog=d(il);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=LM(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t})}return t})(),NM=(()=>{class t extends OM{id=d(Ve).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&ri("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[oe]})}return t})(),PM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Bg([mo])]})}return t})(),FM=(()=>{class t extends OM{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&L("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[oe]})}return t})();function LM(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var BM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({providers:[il],imports:[IM,zn,Hn,de]})}return t})();function Fj(t,n){t&1&&mt(0,"div",2)}var Lj=new b("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var VM=(()=>{class t{_elementRef=d(O);_ngZone=d(N);_changeDetectorRef=d(Me);_renderer=d(Ge);_cleanupTransitionEnd;constructor(){let e=Fc(),i=d(Lj,{optional:!0});this._isNoopAnimation=e==="di-disabled",e==="reduced-motion"&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),i&&(i.color&&(this.color=this._defaultColor=i.color),this.mode=i.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";get value(){return this._value}set value(e){this._value=jM(e||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=jM(e||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new B;get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}_transitionendHandler=e=>{this.animationEnd.observers.length===0||!e.target||!e.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,r){i&2&&(Z("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),We("mat-"+r.color),L("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",Ke],bufferValue:[2,"bufferValue","bufferValue",Ke],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,r){i&1&&(et(0,"div",0),mt(1,"div",1),T(2,Fj,1,0,"div",2),st(),et(3,"div",3),mt(4,"span",4),st(),et(5,"div",5),mt(6,"span",4),st()),i&2&&(_(),Ct("flex-basis",r._getBufferBarFlexBasis()),_(),k(r.mode==="buffer"?2:-1),_(),Ct("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{background-image:radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);background-repeat:repeat-x;background-size:calc(calc(var(--mat-progress-bar-track-height, 4px) / 2)*5);background-position:left;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}
|
|
46
|
+
`],encapsulation:2,changeDetection:0})}return t})();function jM(t,n=0,e=100){return Math.max(n,Math.min(e,t))}var lf=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[de]})}return t})();var HM="http://localhost:11434",ub=16,zM={general:"Review this NgRx session and explain what is happening. Call out anything that looks like a bug, race condition, or anti-pattern, and suggest concrete fixes.",errors:"One or more NgRx effects are failing. Using the error messages, stack traces and the action/effect flow below, diagnose the most likely root cause and propose a concrete code fix.",performance:"Some state changes are causing slow renders. Identify which actions are expensive, explain the likely cause, and give specific Angular/NgRx optimizations (OnPush, memoized selectors, trackBy, etc.).",actions:"Walk through the sequence of actions and effects below. Explain the flow they represent, whether the ordering and causality look correct, and flag anything unexpected."},df=class t{computeSignals(n){return{totalActions:n.messages.length,effectErrors:n.effectEvents.filter(e=>e.effectEvent?.lifecycle==="error").length,slowRenders:n.messages.filter(e=>(e.renderTiming?.totalTime??0)>ub).length}}suggestFocus(n){return n.effectErrors>0?"errors":n.slowRenders>0?"performance":"general"}buildPrompt(n,e){let i=[];i.push("You are an expert Angular + NgRx debugging assistant."),i.push(zM[e]),i.push(""),i.push("## Session context"),n.appName&&i.push(`App: ${n.appName}`);let r=this.computeSignals(n);i.push(`Captured ${r.totalActions} actions, ${n.effectEvents.length} effect events, ${r.effectErrors} effect error(s), ${r.slowRenders} slow render(s) (> ${ub}ms).`);let o=this.buildEffectErrorsBlock(n);o&&(i.push(""),i.push("## Effect errors"),i.push(o));let a=this.buildPerformanceBlock(n);a&&(i.push(""),i.push("## Slowest renders"),i.push(a)),i.push(""),i.push("## Recent action timeline (oldest \u2192 newest)"),i.push(this.buildTimelineBlock(n));let s=this.buildLastDiffBlock(n);return s&&(i.push(""),i.push("## State change for the most recent action"),i.push(s)),i.push(""),i.push("## What I need"),i.push(zM[e]),i.push("Be specific and reference action types and state paths from the data above."),i.join(`
|
|
47
|
+
`)}buildEffectErrorsBlock(n){let e=n.effectEvents.filter(i=>i.effectEvent?.lifecycle==="error");return e.length===0?"":e.slice(-5).map(i=>{let r=i.effectName??i.effectEvent?.name??"unknown effect",o=i.effectEvent?.errorMessage??"(no message)",a=i.effectEvent?.errorStack?`
|
|
48
|
+
${i.effectEvent.errorStack.split(`
|
|
49
|
+
`).slice(0,4).join(`
|
|
50
|
+
`)}`:"",s=i.action?` (action: ${i.action})`:"";return`- ${r}${s}: ${o}${a}`}).join(`
|
|
51
|
+
`)}buildPerformanceBlock(n){let e=n.messages.map(i=>({type:i.action?.type,ms:i.renderTiming?.totalTime})).filter(i=>typeof i.ms=="number"&&i.ms>ub);return e.length===0?"":e.sort((i,r)=>r.ms-i.ms).slice(0,5).map(i=>`- ${i.type}: ${i.ms.toFixed(1)}ms`).join(`
|
|
52
|
+
`)}buildTimelineBlock(n){let e=n.messages.slice(-15);return e.length===0?"(no actions captured)":e.map(i=>{let r=i.isEffectResult?"effect":"user",o=i.effectName?` via ${i.effectName}`:"",a=i.renderTiming?.totalTime?` [${i.renderTiming.totalTime.toFixed(1)}ms]`:"",s=(i.performance?.warnings?.length??0)>0?" \u26A0":"";return`- ${i.action?.type??"[unknown]"} (${r}${o})${a}${s}`}).join(`
|
|
53
|
+
`)}buildLastDiffBlock(n){let e=n.messages;if(e.length===0)return"";let i=e[e.length-1],r=e.length>1?e[e.length-2]:void 0,o=this.diff(r?.nextState,i.nextState);if(o.length===0)return`Action \`${i.action?.type}\` produced no detectable state change.`;let a=o.slice(0,20).map(s=>`- ${s.path}: ${this.short(s.before)} \u2192 ${this.short(s.after)}`).join(`
|
|
54
|
+
`);return`Action \`${i.action?.type}\` changed:
|
|
55
|
+
${a}`}diff(n,e,i="",r=[]){if(r.length>=40||n===e)return r;if(!(this.isIndexable(n)&&this.isIndexable(e)&&Array.isArray(n)===Array.isArray(e)))return r.push({path:i||"(root)",before:n,after:e}),r;let a=Object.keys(n);for(let s of Object.keys(e))s in n||a.push(s);for(let s of a){let c=i?`${i}.${s}`:s;if(s in n?s in e?this.diff(n[s],e[s],c,r):r.push({path:c,before:n[s],after:void 0}):r.push({path:c,before:void 0,after:e[s]}),r.length>=40)break}return r}short(n){let e;try{e=typeof n=="string"?n:JSON.stringify(n)}catch(i){e=String(n)}return e===void 0&&(e="undefined"),e.length>80?e.slice(0,80)+"\u2026":e}detectOllama(){return ve(this,null,function*(){try{let n=yield fetch(`${HM}/api/tags`,{method:"GET"});if(!n.ok)return null;let e=yield n.json(),i=this.isIndexable(e)?e.models:void 0;return Array.isArray(i)?i.map(o=>this.isIndexable(o)?o.name:void 0).filter(o=>typeof o=="string"):[]}catch(n){return null}})}streamOllama(n,e,i,r){return ve(this,null,function*(){let o=yield fetch(`${HM}/api/chat`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:n,messages:[{role:"user",content:e}],stream:!0}),signal:r});if(!o.ok||!o.body)throw new Error(`Ollama responded with ${o.status}`);let a=o.body.getReader(),s=new TextDecoder,c="";for(;;){let{value:l,done:u}=yield a.read();if(u)break;c+=s.decode(l,{stream:!0});let m=c.split(`
|
|
56
|
+
`);c=m.pop()??"";for(let h of m){let f=h.trim();if(f)try{let E=JSON.parse(f)?.message?.content;typeof E=="string"&&E&&i(E)}catch(C){continue}}}})}isIndexable(n){return n!==null&&typeof n=="object"}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var jj=(t,n)=>n.value;function Vj(t,n){if(t&1){let e=Le();p(0,"button",20),Q("click",function(){let r=ue(e).$implicit,o=D();return me(o.setFocus(r.value))}),p(1,"mat-icon"),v(2),g(),v(3),g()}if(t&2){let e=n.$implicit,i=D();L("active",i.focus()===e.value),_(2),be(e.icon),_(),xe(" ",e.label," ")}}function Hj(t,n){t&1&&(p(0,"span",14),v(1,"detecting\u2026"),g())}function zj(t,n){if(t&1&&(p(0,"span",15),v(1),g()),t&2){let e=D();_(),xe("connected (",e.models().length," model(s))")}}function Uj(t,n){t&1&&(p(0,"span",14),v(1,"not detected; copy works everywhere"),g())}function $j(t,n){if(t&1&&(p(0,"mat-option",24),v(1),g()),t&2){let e=n.$implicit;H("value",e),_(),be(e)}}function Gj(t,n){if(t&1){let e=Le();p(0,"button",30),Q("click",function(){ue(e);let r=D(2);return me(r.askOllama())}),p(1,"mat-icon"),v(2,"send"),g(),v(3),g()}if(t&2){let e=D(2);H("disabled",!e.selectedModel()),_(3),xe(" Ask ",e.selectedModel()," ")}}function Wj(t,n){if(t&1){let e=Le();p(0,"button",31),Q("click",function(){ue(e);let r=D(2);return me(r.stopOllama())}),p(1,"mat-icon"),v(2,"stop"),g(),v(3," Stop "),g()}}function qj(t,n){t&1&&se(0,"mat-progress-bar",27)}function Qj(t,n){if(t&1&&(p(0,"pre",28),v(1),g()),t&2){let e=D(2);_(),be(e.response())}}function Zj(t,n){if(t&1&&(p(0,"p",29)(1,"mat-icon"),v(2,"warning"),g(),v(3),g()),t&2){let e=D(2);_(3),xe(" ",e.ollamaError())}}function Yj(t,n){if(t&1){let e=Le();p(0,"div",21)(1,"mat-form-field",22)(2,"mat-label"),v(3,"Model"),g(),p(4,"mat-select",23),Q("valueChange",function(r){ue(e);let o=D();return me(o.selectedModel.set(r))}),Qt(5,$j,2,2,"mat-option",24,ii),g()(),T(7,Gj,4,2,"button",25)(8,Wj,4,0,"button",26),g(),T(9,qj,1,0,"mat-progress-bar",27),T(10,Qj,2,1,"pre",28),T(11,Zj,4,1,"p",29)}if(t&2){let e=D();_(4),H("value",e.selectedModel())("disabled",e.streaming()),_(),Zt(e.models()),_(2),k(e.streaming()?8:7),_(2),k(e.streaming()?9:-1),_(),k(e.response()?10:-1),_(),k(e.ollamaError()?11:-1)}}function Kj(t,n){t&1&&(p(0,"p",17),v(1," Want free, fully local AI answers? Install "),p(2,"strong"),v(3,"Ollama"),g(),v(4,", run "),p(5,"code"),v(6,"ollama pull llama3"),g(),v(7,", then hit re-detect. The copy button works with any assistant in the meantime. "),g())}var Xj=[{value:"general",label:"Health check",icon:"health_and_safety"},{value:"errors",label:"Debug errors",icon:"error"},{value:"performance",label:"Why slow?",icon:"speed"},{value:"actions",label:"Explain flow",icon:"account_tree"}],uf=class t{ai=d(df);snackBar=d(el);data=d(db);focusOptions=Xj;signals=X(this.ai.computeSignals(this.data));focus=X(this.ai.suggestFocus(this.ai.computeSignals(this.data)));prompt=X("");ollamaStatus=X("detecting");models=X([]);selectedModel=X("");response=X("");streaming=X(!1);ollamaError=X("");abort;promptEdited=!1;ngOnInit(){this.regeneratePrompt(),this.detect()}ngOnDestroy(){this.abort?.abort()}setFocus(n){this.focus.set(n),this.promptEdited||this.regeneratePrompt()}onPromptEdit(n){this.promptEdited=!0,this.prompt.set(n.target.value)}regeneratePrompt(){this.prompt.set(this.ai.buildPrompt(this.data,this.focus()))}copyPrompt(){return ve(this,null,function*(){try{yield navigator.clipboard.writeText(this.prompt()),this.snackBar.open("Prompt copied. Paste into your AI assistant","Close",{duration:3e3})}catch(n){this.snackBar.open("Could not access clipboard. Select the text and copy manually","Close",{duration:4e3})}})}detect(){return ve(this,null,function*(){this.ollamaStatus.set("detecting");let n=yield this.ai.detectOllama();n&&n.length>0?(this.models.set(n),this.selectedModel.set(n[0]),this.ollamaStatus.set("available")):n?this.ollamaStatus.set("unavailable"):this.ollamaStatus.set("unavailable")})}askOllama(){return ve(this,null,function*(){let n=this.selectedModel();if(n){this.response.set(""),this.ollamaError.set(""),this.streaming.set(!0),this.abort=new AbortController;try{yield this.ai.streamOllama(n,this.prompt(),e=>{this.response.update(i=>i+e)},this.abort.signal)}catch(e){e instanceof DOMException&&e.name==="AbortError"||this.ollamaError.set(e instanceof Error?e.message:"Ollama request failed")}finally{this.streaming.set(!1)}}})}stopOllama(){this.abort?.abort(),this.streaming.set(!1)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-ai-debug-dialog"]],decls:40,vars:11,consts:[["mat-dialog-title","",1,"ai-title"],[1,"ai-content"],[1,"ai-summary"],[1,"focus-chips"],["type","button",1,"focus-chip",3,"active"],["for","ai-prompt",1,"ai-label"],["id","ai-prompt","spellcheck","false",1,"ai-prompt",3,"input","value"],[1,"ai-actions-row"],["mat-flat-button","","color","primary",3,"click"],[1,"ai-hint"],[1,"ollama-section"],[1,"ollama-header"],[1,"ollama-dot"],[1,"ollama-title"],[1,"ollama-state"],[1,"ollama-state","ok"],["mat-icon-button","","matTooltip","Re-detect Ollama",3,"click","disabled"],[1,"ollama-tip"],["align","end"],["mat-button","","mat-dialog-close",""],["type","button",1,"focus-chip",3,"click"],[1,"ollama-run"],["appearance","outline","subscriptSizing","dynamic",1,"model-select"],[3,"valueChange","value","disabled"],[3,"value"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button",""],["mode","indeterminate"],[1,"ollama-response"],[1,"ollama-err"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","",3,"click"]],template:function(e,i){if(e&1&&(p(0,"h2",0)(1,"mat-icon"),v(2,"auto_awesome"),g(),v(3," Debug with AI "),g(),p(4,"mat-dialog-content",1)(5,"p",2),v(6),p(7,"span"),v(8),g(),v(9),g(),p(10,"div",3),Qt(11,Vj,4,4,"button",4,jj),g(),p(13,"label",5),v(14,"Prompt (editable)"),g(),p(15,"textarea",6),Q("input",function(o){return i.onPromptEdit(o)}),g(),p(16,"div",7)(17,"button",8),Q("click",function(){return i.copyPrompt()}),p(18,"mat-icon"),v(19,"content_copy"),g(),v(20," Copy prompt "),g(),p(21,"span",9),v(22,"Paste into Copilot Chat, Claude, ChatGPT, or run it locally below."),g()(),p(23,"div",10)(24,"div",11)(25,"mat-icon",12),v(26,"circle"),g(),p(27,"span",13),v(28,"Local Ollama"),g(),T(29,Hj,2,0,"span",14)(30,zj,2,1,"span",15)(31,Uj,2,0,"span",14),p(32,"button",16),Q("click",function(){return i.detect()}),p(33,"mat-icon"),v(34,"refresh"),g()()(),T(35,Yj,12,6)(36,Kj,8,0,"p",17),g()(),p(37,"mat-dialog-actions",18)(38,"button",19),v(39,"Close"),g()()),e&2){let r;_(6),xe(" ",i.signals().totalActions," actions \xB7 "),_(),L("has-errors",i.signals().effectErrors>0),_(),xe("",i.signals().effectErrors," effect error(s)"),_(),xe(" \xB7 ",i.signals().slowRenders," slow render(s) "),_(2),Zt(i.focusOptions),_(4),H("value",i.prompt()),_(10),We(i.ollamaStatus()),_(4),k((r=i.ollamaStatus())==="detecting"?29:r==="available"?30:r==="unavailable"?31:-1),_(3),H("disabled",i.streaming()),_(3),k(i.ollamaStatus()==="available"?35:i.ollamaStatus()==="unavailable"?36:-1)}},dependencies:[BM,RM,NM,FM,PM,ui,Ua,ji,li,ci,yn,cn,Xm,co,ja,Km,hr,Ym,lf,VM],styles:[".ai-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.ai-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--mat-sys-primary)}.ai-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;min-width:520px;max-width:720px}.ai-summary[_ngcontent-%COMP%]{margin:0;color:var(--mat-sys-on-surface-variant);font-size:13px}.ai-summary[_ngcontent-%COMP%] .has-errors[_ngcontent-%COMP%]{color:#f44336;font-weight:600}.focus-chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.focus-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:16px;cursor:pointer;border:1px solid var(--mat-sys-outline-variant);background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface);font-size:13px;transition:background .15s ease,border-color .15s ease}.focus-chip[_ngcontent-%COMP%]:hover{background:var(--mat-sys-surface-container-high)}.focus-chip.active[_ngcontent-%COMP%]{background:var(--mat-sys-primary-container);color:var(--mat-sys-on-primary-container);border-color:var(--mat-sys-primary)}.focus-chip[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.ai-label[_ngcontent-%COMP%]{font-size:12px;color:var(--mat-sys-on-surface-variant);font-weight:500}.ai-prompt[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;min-height:160px;max-height:280px;resize:vertical;font-family:Roboto Mono,monospace;font-size:12px;line-height:1.5;padding:10px;border-radius:8px;border:1px solid var(--mat-sys-outline-variant);background:var(--mat-sys-surface-container-low);color:var(--mat-sys-on-surface)}.ai-actions-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ai-hint[_ngcontent-%COMP%]{font-size:12px;color:var(--mat-sys-on-surface-variant)}.ollama-section[_ngcontent-%COMP%]{border-top:1px solid var(--mat-sys-outline-variant);padding-top:12px;display:flex;flex-direction:column;gap:10px}.ollama-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.ollama-title[_ngcontent-%COMP%]{font-weight:600;font-size:13px}.ollama-state[_ngcontent-%COMP%]{font-size:12px;color:var(--mat-sys-on-surface-variant)}.ollama-state.ok[_ngcontent-%COMP%]{color:#4caf50}.ollama-dot[_ngcontent-%COMP%]{font-size:12px;width:12px;height:12px}.ollama-dot.detecting[_ngcontent-%COMP%]{color:#ff9800}.ollama-dot.available[_ngcontent-%COMP%]{color:#4caf50}.ollama-dot.unavailable[_ngcontent-%COMP%]{color:var(--mat-sys-outline)}.ollama-run[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.model-select[_ngcontent-%COMP%]{min-width:220px}.ollama-response[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-word;margin:0;padding:12px;font-family:Roboto Mono,monospace;font-size:12px;line-height:1.5;max-height:260px;overflow:auto;border-radius:8px;background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface)}.ollama-err[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;color:#f44336;font-size:12px;margin:0}.ollama-err[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.ollama-tip[_ngcontent-%COMP%]{font-size:12px;color:var(--mat-sys-on-surface-variant);margin:0;line-height:1.5}.ollama-tip[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background:var(--mat-sys-surface-container);padding:1px 5px;border-radius:4px}"],changeDetection:0})};var Jj=["jsonViewer"];function eV(t,n){if(t&1){let e=Le();p(0,"button",3),Q("click",function(){ue(e);let r=D();return me(r.toggle())}),p(1,"mat-icon"),v(2),g()()}if(t&2){let e=D();H("matTooltip",e.expanded?"Collapse All":"Expand All"),_(2),be(e.expanded?"unfold_less":"unfold_more")}}var mf=class t{jsonData;jsonViewerRef;expanded=!1;ITEM_THRESHOLD=5;get showToggle(){return this.countItems(this.jsonData)>this.ITEM_THRESHOLD}countItems(n,e=0){if(n==null||typeof n!="object")return 0;let i=Array.isArray(n)?n:Object.values(n),r=i.length;for(let o of i)typeof o=="object"&&o!==null&&(r+=this.countItems(o,e+1));return r}toggle(){let n=this.jsonViewerRef?.nativeElement;n&&(this.expanded=!this.expanded,this.expanded&&typeof n.expandAll=="function"?n.expandAll():!this.expanded&&typeof n.collapseAll=="function"&&n.collapseAll())}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-json-tree"]],viewQuery:function(e,i){if(e&1&&Ie(Jj,5),e&2){let r;P(r=F())&&(i.jsonViewerRef=r.first)}},inputs:{jsonData:"jsonData"},decls:3,vars:2,consts:[["jsonViewer",""],["mat-icon-button","",1,"tree-toggle-btn",3,"matTooltip"],[3,"data"],["mat-icon-button","",1,"tree-toggle-btn",3,"click","matTooltip"]],template:function(e,i){e&1&&(T(0,eV,3,2,"button",1),se(1,"json-viewer",2,0)),e&2&&(k(i.showToggle?0:-1),_(),H("data",i.jsonData))},dependencies:[ui,ji,li,ci,yn,cn],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%]{display:block;position:relative;overflow:hidden}.tree-toggle-btn[_ngcontent-%COMP%]{position:absolute;top:4px;right:4px;z-index:100;color:var(--mat-sys-on-surface-variant);opacity:.6;transition:opacity .15s ease,color .15s ease}.tree-toggle-btn[_ngcontent-%COMP%]:hover{opacity:1;color:var(--mat-sys-primary)}json-viewer[_ngcontent-%COMP%]{--background-color: var(--mat-sys-background);--property-color: var(--mat-sys-primary);--number-color: var(--mat-sys-secondary);--string-color: var(--mat-sys-secondary);--preview-color: var(--mat-sys-primary)}"]})};var ff=class t{MAX_DIFFS=100;MAX_DEPTH=10;calculateDiff(n,e){let i=[],r=0;if(!n&&e){let l=this.flattenObject(e);return r=l.length,{diffs:l.slice(0,this.MAX_DIFFS).map(u=>({path:u.path,newValue:u.value,type:"added"})),truncated:l.length>this.MAX_DIFFS,totalChanges:r}}if(n&&!e){let l=this.flattenObject(n);return r=l.length,{diffs:l.slice(0,this.MAX_DIFFS).map(u=>({path:u.path,oldValue:u.value,type:"removed"})),truncated:l.length>this.MAX_DIFFS,totalChanges:r}}if(!n&&!e)return{diffs:[],truncated:!1,totalChanges:0};let o=this.flattenObject(n),a=this.flattenObject(e),s=new Map(o.map(l=>[l.path,l.value])),c=new Map(a.map(l=>[l.path,l.value]));for(let[l,u]of s){if(i.length>=this.MAX_DIFFS)break;if(!c.has(l))i.push({path:l,oldValue:u,type:"removed"}),r++;else{let m=c.get(l);this.isEqual(u,m)||(i.push({path:l,oldValue:u,newValue:m,type:"changed"}),r++)}}for(let[l,u]of c){if(i.length>=this.MAX_DIFFS)break;s.has(l)||(i.push({path:l,newValue:u,type:"added"}),r++)}if(i.length>=this.MAX_DIFFS){for(let[l]of s)c.has(l)||r++;for(let[l,u]of s){let m=c.get(l);c.has(l)&&!this.isEqual(u,m)&&r++}for(let[l]of c)s.has(l)||r++}return{diffs:i,truncated:i.length>=this.MAX_DIFFS,totalChanges:r}}isEqual(n,e){return n===e?!0:typeof n!=typeof e?!1:typeof n!="object"||n===null||e===null?n===e:JSON.stringify(n)===JSON.stringify(e)}flattenObject(n,e="",i=0){if(i>this.MAX_DEPTH)return[{path:e,value:"[Max depth exceeded]"}];if(n==null||typeof n!="object")return[{path:e,value:n}];if(Array.isArray(n)&&n.length>50)return[{path:e,value:`[Array with ${n.length} items]`}];let r=Object.keys(n);return r.length>50?[{path:e,value:`{Object with ${r.length} keys}`}]:r.reduce((o,a)=>{let s=e?`${e}.${a}`:a,c=n[a];return c==null||typeof c!="object"?o.push({path:s,value:c}):o.push(...this.flattenObject(c,s,i+1)),o},[])}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};function tV(t,n){t&1&&(p(0,"div",1)(1,"p"),v(2,"No changes detected between states"),g()())}function nV(t,n){if(t&1&&(p(0,"div",2),v(1),g()),t&2){let e=D(2);_(),sa(" Showing ",e.diffs.length," of ",e.totalChanges," changes. Large diffs are truncated for performance. ")}}function iV(t,n){if(t&1&&(p(0,"div",7)(1,"span",10),v(2,"-"),g(),p(3,"span",11),v(4),g()()),t&2){let e=D().$implicit,i=D(2);_(4),be(i.formatValue(e.oldValue))}}function rV(t,n){if(t&1&&(p(0,"div",8)(1,"span",10),v(2,"+"),g(),p(3,"span",11),v(4),g()()),t&2){let e=D().$implicit,i=D(2);_(4),be(i.formatValue(e.newValue))}}function oV(t,n){if(t&1&&(p(0,"div",9)(1,"div",7)(2,"span",10),v(3,"-"),g(),p(4,"span",11),v(5),g()(),p(6,"div",8)(7,"span",10),v(8,"+"),g(),p(9,"span",11),v(10),g()()()),t&2){let e=D().$implicit,i=D(2);_(5),be(i.formatValue(e.oldValue)),_(5),be(i.formatValue(e.newValue))}}function aV(t,n){if(t&1&&(p(0,"div",5)(1,"div",6),v(2),g(),T(3,iV,5,1,"div",7),T(4,rV,5,1,"div",8),T(5,oV,11,2,"div",9),g()),t&2){let e=n.$implicit;H("ngClass",e.type),_(2),be(e.path),_(),k(e.type==="removed"?3:-1),_(),k(e.type==="added"?4:-1),_(),k(e.type==="changed"?5:-1)}}function sV(t,n){if(t&1&&(T(0,nV,2,2,"div",2),p(1,"cdk-virtual-scroll-viewport",3),Ce(2,aV,6,5,"div",4),g()),t&2){let e=D();k(e.truncated?0:-1),_(2),H("cdkVirtualForOf",e.diffs)("cdkVirtualForTrackBy",e.trackByPath)}}var hf=class t{previousState;currentState;diffs=[];truncated=!1;totalChanges=0;diffService=d(ff);ngOnChanges(){if(this.previousState!==void 0||this.currentState!==void 0){let n=this.diffService.calculateDiff(this.previousState,this.currentState);this.diffs=n.diffs,this.truncated=n.truncated,this.totalChanges=n.totalChanges}}formatValue(n){if(n===null)return"null";if(n===void 0)return"undefined";if(typeof n=="string")return`"${n}"`;if(typeof n=="object"){let e=JSON.stringify(n,null,2);return e.length>500?e.substring(0,500)+"... [truncated]":e}return String(n)}trackByPath(n,e){return e.path}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-diff-viewer"]],inputs:{previousState:"previousState",currentState:"currentState"},features:[Ae],decls:3,vars:1,consts:[[1,"diff-container"],[1,"no-changes"],[1,"truncation-warning"],["itemSize","80",1,"diff-viewport"],["class","diff-item",3,"ngClass",4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[1,"diff-item",3,"ngClass"],[1,"path"],[1,"value-line","removed"],[1,"value-line","added"],[1,"value-comparison"],[1,"line-marker"],[1,"value"]],template:function(e,i){e&1&&(p(0,"div",0),T(1,tV,3,0,"div",1)(2,sV,3,3),g()),e&2&&(_(),k(i.diffs.length===0?1:2))},dependencies:[ua,r_,fo,Bv,Vv,jv],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.diff-container[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-size:13px;line-height:1.4;height:100%;display:flex;flex-direction:column}.diff-viewport[_ngcontent-%COMP%]{flex:1;min-height:300px;max-height:600px}.truncation-warning[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:12px 16px;margin:8px 16px;background-color:#ffc107;border:1px solid rgba(255,152,0,.5);border-radius:var(--mat-sys-corner-small, 8px);color:#b38600;font-size:var(--mat-sys-body-small);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.truncation-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{font-size:16px}.no-changes[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);font-style:italic;padding:16px;text-align:center;background-color:var(--mat-sys-surface-variant);border-radius:var(--mat-sys-corner-extra-small, 4px);margin:16px}.diff-item[_ngcontent-%COMP%]{margin:8px 16px;border:1px solid var(--mat-sys-outline-variant);border-radius:var(--mat-sys-corner-small, 8px);overflow:hidden}.diff-item.added[_ngcontent-%COMP%]{border-color:#2ea043}.diff-item.removed[_ngcontent-%COMP%]{border-color:#f85149}.diff-item.changed[_ngcontent-%COMP%]{border-color:#1f6feb}.path[_ngcontent-%COMP%]{font-weight:700;padding:8px 12px;background-color:var(--mat-sys-surface-container);border-bottom:1px solid var(--mat-sys-outline-variant);word-break:break-all;font-size:var(--mat-sys-body-small);color:var(--mat-sys-on-surface-variant)}.value-line[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:4px 0}.value-line.added[_ngcontent-%COMP%]{background-color:#2ea0431a}.value-line.added[_ngcontent-%COMP%] .line-marker[_ngcontent-%COMP%]{background-color:#2ea043;color:#fff}.value-line.removed[_ngcontent-%COMP%]{background-color:#f851491a}.value-line.removed[_ngcontent-%COMP%] .line-marker[_ngcontent-%COMP%]{background-color:#f85149;color:#fff}.line-marker[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin:0 8px;font-weight:700;font-size:14px;border-radius:2px;flex-shrink:0}.value[_ngcontent-%COMP%]{flex:1;white-space:pre-wrap;word-wrap:break-word;padding-right:12px;max-height:150px;overflow-y:auto}.value-comparison[_ngcontent-%COMP%] .value-line[_ngcontent-%COMP%]:first-child{margin-bottom:2px}"],changeDetection:0})};var cV=[[["caption"]],[["colgroup"],["col"]],"*"],lV=["caption","colgroup, col","*"];function dV(t,n){t&1&&ee(0,2)}function uV(t,n){t&1&&(p(0,"thead",0),ft(1,1),g(),p(2,"tbody",0),ft(3,2)(4,3),g(),p(5,"tfoot",0),ft(6,4),g())}function mV(t,n){t&1&&ft(0,1)(1,2)(2,3)(3,4)}var Un=new b("CDK_TABLE");var _f=(()=>{class t{template=d(ke);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),vf=(()=>{class t{template=d(ke);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),GM=(()=>{class t{template=d(ke);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),Ga=(()=>{class t{_table=d(Un,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,o){if(i&1&&yt(o,_f,5)(o,vf,5)(o,GM,5),i&2){let a;P(a=F())&&(r.cell=a.first),P(a=F())&&(r.headerCell=a.first),P(a=F())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",$],stickyEnd:[2,"stickyEnd","stickyEnd",$]},features:[we([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})(),gf=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},WM=(()=>{class t extends gf{constructor(){super(d(Ga),d(O))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[oe]})}return t})();var qM=(()=>{class t extends gf{constructor(){let e=d(Ga),i=d(O);super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[oe]})}return t})();var fb=(()=>{class t{template=d(ke);_differs=d(oi);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof ol?e.headerCell.template:this instanceof hb?e.footerCell.template:e.cell.template}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,features:[Ae]})}return t})(),ol=(()=>{class t extends fb{_table=d(Un,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(ke),d(oi))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",$]},features:[oe,Ae]})}return t})(),hb=(()=>{class t extends fb{_table=d(Un,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(ke),d(oi))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",$]},features:[oe,Ae]})}return t})(),bf=(()=>{class t extends fb{_table=d(Un,{optional:!0});when;constructor(){super(d(ke),d(oi))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[oe]})}return t})(),_o=(()=>{class t{_viewContainer=d(Ue);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),pb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ft(0,0)},dependencies:[_o],encapsulation:2})}return t})();var gb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ft(0,0)},dependencies:[_o],encapsulation:2})}return t})(),QM=(()=>{class t{templateRef=d(ke);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),UM=["top","bottom","left","right"],mb=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(n=>this._updateCachedSizes(n)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(n,e,i=!0,r=!0,o,a,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this._isBrowser=i,this._needsPositionStickyOnElement=r,this.direction=o,this._positionListener=a,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)r.nodeType===r.ELEMENT_NODE&&i.push(r,...Array.from(r.children));Fe({write:()=>{for(let r of i)this._removeStickyStyle(r,e)}},{injector:this._tableInjector})}updateStickyColumns(n,e,i,r=!0,o=!0){if(!n.length||!this._isBrowser||!(e.some(M=>M)||i.some(M=>M))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=n[0],s=a.children.length,c=this.direction==="rtl",l=c?"right":"left",u=c?"left":"right",m=e.lastIndexOf(!0),h=i.indexOf(!0),f,C,E;o&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),Fe({earlyRead:()=>{f=this._getCellWidths(a,r),C=this._getStickyStartColumnPositions(f,e),E=this._getStickyEndColumnPositions(f,i)},write:()=>{for(let M of n)for(let S=0;S<s;S++){let De=M.children[S];e[S]&&this._addStickyStyle(De,l,C[S],S===m),i[S]&&this._addStickyStyle(De,u,E[S],S===h)}this._positionListener&&f.some(M=>!!M)&&(this._positionListener.stickyColumnsUpdated({sizes:m===-1?[]:f.slice(0,m+1).map((M,S)=>e[S]?M:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:h===-1?[]:f.slice(h).map((M,S)=>i[S+h]?M:null).reverse()}))}},{injector:this._tableInjector})}stickRows(n,e,i){if(!this._isBrowser)return;let r=i==="bottom"?n.slice().reverse():n,o=i==="bottom"?e.slice().reverse():e,a=[],s=[],c=[];Fe({earlyRead:()=>{for(let l=0,u=0;l<r.length;l++){if(!o[l])continue;a[l]=u;let m=r[l];c[l]=this._isNativeHtmlTable?Array.from(m.children):[m];let h=this._retrieveElementSize(m).height;u+=h,s[l]=h}},write:()=>{let l=o.lastIndexOf(!0);for(let u=0;u<r.length;u++){if(!o[u])continue;let m=a[u],h=u===l;for(let f of c[u])this._addStickyStyle(f,i,m,h)}i==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:a,elements:c}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:a,elements:c})}},{injector:this._tableInjector})}updateStickyFooterContainer(n,e){this._isNativeHtmlTable&&Fe({write:()=>{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(n,e){if(!n.classList.contains(this._stickCellCss))return;for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);UM.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of UM)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let o=0;o<r.length;o++){let a=r[o];i.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(n,e){let i=[],r=0;for(let o=0;o<n.length;o++)e[o]&&(i[o]=r,r+=n[o]);return i}_getStickyEndColumnPositions(n,e){let i=[],r=0;for(let o=n.length;o>0;o--)e[o]&&(i[o]=r,r+=n[o]);return i}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(n)}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length)}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&fV(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function fV(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var rl=new b("STICKY_POSITIONING_LISTENER");var _b=(()=>{class t{viewContainer=d(Ue);elementRef=d(O);constructor(){let e=d(Un);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","rowOutlet",""]]})}return t})(),vb=(()=>{class t{viewContainer=d(Ue);elementRef=d(O);constructor(){let e=d(Un);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),bb=(()=>{class t{viewContainer=d(Ue);elementRef=d(O);constructor(){let e=d(Un);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),yb=(()=>{class t{viewContainer=d(Ue);elementRef=d(O);constructor(){let e=d(Un);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=I({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),Cb=(()=>{class t{_differs=d(oi);_changeDetectorRef=d(Me);_elementRef=d(O);_dir=d(lt,{optional:!0});_platform=d(ye);_viewRepeater;_viewportRuler=d(an);_injector=d(q);_virtualScrollViewport=d(Bm,{optional:!0,host:!0});_positionListener=d(rl,{optional:!0})||d(rl,{optional:!0,skipSelf:!0});_document=d(G);_data;_renderedRange;_onDestroy=new x;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new x;_footerRowStickyUpdates=new x;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new x;_dataStream=new x;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new B;viewChange=new nt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){d(new pn("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(fe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new Pa:new vm,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),Na(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===jn.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=$M(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=$M(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s<i.length;s++)this._renderRows[s].rowDef===o&&a.push(i[s]);this._addStickyColumnStyles(a,o)}),r.forEach((o,a)=>{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],i=Math.min(this._data.length,this._renderedRange.end),r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=this._renderedRange.start;o<i;o++){let a=this._data[o],s=this._getRenderRowsForData(a,o,r.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let c=0;c<s.length;c++){let l=s[c],u=this._cachedRenderRowsMap.get(l.data);u.has(l.rowDef)?u.get(l.rowDef).push(l):u.set(l.rowDef,[l]),e.push(l)}}return e}_getRenderRowsForData(e,i,r){return this._getRowDefs(e,i).map(a=>{let s=r&&r.has(a)?r.get(a):[];if(s.length){let c=s.shift();return c.dataIndex=i,c}else return{data:e,rowDef:a,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),pf(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=pf(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=pf(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=pf(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let c=!!s.getColumnsDiff();return a||c},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],Na(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Na(this.dataSource)?e=this.dataSource.connect(this):Gn(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=U(this.dataSource)),this._renderChangeSubscription=hi([e,this.viewChange]).pipe(fe(this._onDestroy)).subscribe(([i,r])=>{this._data=i||[],this._renderedRange=r,this._dataStream.next(i),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){let r=Array.from(i?.columns||[]).map(s=>{let c=this._columnDefsByName.get(s);return c}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let r=0;r<e.viewContainer.length;r++){let o=e.viewContainer.get(r);i.push(o.rootNodes[0])}return i}_getRowDefs(e,i){if(this._rowDefs.length===1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(i,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,i){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:i}}_renderRow(e,i,r,o={}){let a=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),a}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))_o.mostRecentCellOutlet&&_o.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i<r;i++){let a=e.get(i).context;a.count=r,a.first=i===0,a.last=i===r-1,a.even=i%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[i].dataIndex,a.renderIndex=i):a.index=this._renderRows[i].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,i=>{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",i=this._injector;this._stickyStyler=new mb(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,i),(this._dir?this._dir.change:U()).pipe(fe(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let i=typeof requestAnimationFrame<"u"?cs:as;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(Ir(0,i),fe(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(r,o)=>this._measureRangeSize(r,o)}),hi([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(fe(this._onDestroy)).subscribe(([r,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s){let c=o.offsets[a],l=r!==0?Math.max(r-c,c):-c;for(let u of s)u.style.top=`${-l}px`}}}),hi([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(fe(this._onDestroy)).subscribe(([r,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s)for(let c of s)c.style.bottom=`${r+o.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];if(o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let s=a.querySelectorAll(e._cellSelector);for(let c=0;c<s.length;c++)s[c].classList.add(...e._cellClassNames)}}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,i){if(e.start>=e.end||i!=="vertical")return 0;let r=this.viewChange.value,o=this._rowOutlet.viewContainer;e.start<r.start||e.end>r.end;let a=e.start-r.start,s=e.end-e.start,c,l;for(let h=0;h<s;h++){let f=o.get(h+a);if(f&&f.rootNodes.length){c=l=f.rootNodes[0];break}}for(let h=s-1;h>-1;h--){let f=o.get(h+a);if(f&&f.rootNodes.length){l=f.rootNodes[f.rootNodes.length-1];break}}let u=c?.getBoundingClientRect?.(),m=l?.getBoundingClientRect?.();return u&&m?m.bottom-u.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,o){if(i&1&&yt(o,QM,5)(o,Ga,5)(o,bf,5)(o,ol,5)(o,hb,5),i&2){let a;P(a=F())&&(r._noDataRow=a.first),P(a=F())&&(r._contentColumnDefs=a),P(a=F())&&(r._contentRowDefs=a),P(a=F())&&(r._contentHeaderRowDefs=a),P(a=F())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&L("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",$],fixedLayout:[2,"fixedLayout","fixedLayout",$],recycleRows:[2,"recycleRows","recycleRows",$]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[we([{provide:Un,useExisting:t},{provide:rl,useValue:null}])],ngContentSelectors:lV,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Te(cV),ee(0),ee(1,1),T(2,dV,1,0),T(3,uV,7,0)(4,mV,4,0)),i&2&&(_(2),k(r._isServer?2:-1),_(),k(r._isNativeHtmlTable?3:4))},dependencies:[vb,_b,yb,bb],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
|
|
57
|
+
`],encapsulation:2})}return t})();function pf(t,n){return t.concat(Array.from(n))}function $M(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode}return null}var ZM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[fo]})}return t})();var hV=[[["caption"]],[["colgroup"],["col"]],"*"],pV=["caption","colgroup, col","*"];function gV(t,n){t&1&&ee(0,2)}function _V(t,n){t&1&&(p(0,"thead",0),ft(1,1),g(),p(2,"tbody",2),ft(3,3)(4,4),g(),p(5,"tfoot",0),ft(6,5),g())}function vV(t,n){t&1&&ft(0,1)(1,3)(2,4)(3,5)}var YM=(()=>{class t extends Cb{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&L("mat-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[we([{provide:Cb,useExisting:t},{provide:Un,useExisting:t},{provide:rl,useValue:null}]),oe],ngContentSelectors:pV,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Te(hV),ee(0),ee(1,1),T(2,gV,1,0),T(3,_V,7,0)(4,vV,4,0)),i&2&&(_(2),k(r._isServer?2:-1),_(),k(r._isNativeHtmlTable?3:4))},dependencies:[vb,_b,yb,bb],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mat-table-fixed-layout{table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:start;text-overflow:ellipsis}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:start}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
|
|
58
|
+
`],encapsulation:2})}return t})(),KM=(()=>{class t extends _f{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","matCellDef",""]],features:[we([{provide:_f,useExisting:t}]),oe]})}return t})(),XM=(()=>{class t extends vf{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","matHeaderCellDef",""]],features:[we([{provide:vf,useExisting:t}]),oe]})}return t})();var JM=(()=>{class t extends Ga{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[we([{provide:Ga,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),oe]})}return t})(),eS=(()=>{class t extends WM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[oe]})}return t})();var tS=(()=>{class t extends qM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[oe]})}return t})();var nS=(()=>{class t extends ol{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",$]},features:[we([{provide:ol,useExisting:t}]),oe]})}return t})();var iS=(()=>{class t extends bf{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275dir=I({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[we([{provide:bf,useExisting:t}]),oe]})}return t})(),rS=(()=>{class t extends pb{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[we([{provide:pb,useExisting:t}]),oe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ft(0,0)},dependencies:[_o],encapsulation:2})}return t})();var oS=(()=>{class t extends gb{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Re(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[we([{provide:gb,useExisting:t}]),oe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ft(0,0)},dependencies:[_o],encapsulation:2})}return t})();var aS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[ZM,de]})}return t})();var sS={good:"#4caf50",warning:"#ff9800",critical:"#f44336"},cS={reducerTime:`Reducer Time
|
|
59
|
+
|
|
60
|
+
Time spent executing the reducer for this action. It excludes Angular change detection and DOM rendering.`,renderTime:`Render Time
|
|
61
|
+
|
|
62
|
+
How it's measured:
|
|
63
|
+
1. Action dispatched \u2192 Timer starts
|
|
64
|
+
2. Reducer executes (state updates)
|
|
65
|
+
3. Angular runs change detection
|
|
66
|
+
4. Components re-render, DOM updates
|
|
67
|
+
5. afterNextRender() fires \u2192 Timer ends
|
|
68
|
+
|
|
69
|
+
This captures the full render cycle from action to painted pixels.`,stateSize:`State Size
|
|
70
|
+
|
|
71
|
+
The UTF-8 byte size of the serialized state immediately after this action.`,status:`Performance Status
|
|
72
|
+
|
|
73
|
+
\u2022 Good (green): \u2264 16ms - Within 60fps frame budget
|
|
74
|
+
\u2022 Warning (yellow): 16-32ms - May cause occasional jank
|
|
75
|
+
\u2022 Critical (red): > 32ms - Will cause visible stuttering
|
|
76
|
+
|
|
77
|
+
The 16ms budget comes from 1000ms \xF7 60fps = 16.67ms per frame.`};var lS=()=>["action","reducerTime","renderTime","stateSize","status"];function yV(t,n){t&1&&(p(0,"th",20),v(1,"Action"),g())}function CV(t,n){if(t&1&&(p(0,"td",21),v(1),g()),t&2){let e=n.$implicit;Z("data-action-type",e.actionType),_(),xe(" ",e.actionType," ")}}function wV(t,n){if(t&1&&(p(0,"th",20),v(1," Reducer Time "),p(2,"mat-icon",22),v(3,"info_outline"),g()()),t&2){let e=D(2);_(2),H("matTooltip",e.tooltips.reducerTime)}}function xV(t,n){if(t&1&&(p(0,"td",23),v(1),g()),t&2){let e=n.$implicit,i=D(2);_(),xe(" ",e.reducerTime===void 0?"N/A":i.formatMs(e.reducerTime)," ")}}function DV(t,n){if(t&1&&(p(0,"th",20),v(1," Render Time "),p(2,"mat-icon",22),v(3,"info_outline"),g()()),t&2){let e=D(2);_(2),H("matTooltip",e.tooltips.renderTime)}}function EV(t,n){if(t&1&&(p(0,"td",21)(1,"span"),v(2),g()()),t&2){let e=n.$implicit,i=D(2);_(),Ct("color",i.getStatusColor(i.getRenderStatus(e.renderTime))),_(),xe(" ",i.formatMs(e.renderTime)," ")}}function IV(t,n){if(t&1&&(p(0,"th",20),v(1," State Size "),p(2,"mat-icon",22),v(3,"info_outline"),g()()),t&2){let e=D(2);_(2),H("matTooltip",e.tooltips.stateSize)}}function MV(t,n){if(t&1&&(p(0,"td",23),v(1),g()),t&2){let e=n.$implicit,i=D(2);_(),xe(" ",e.stateSize===void 0?"N/A":i.formatBytes(e.stateSize)," ")}}function SV(t,n){if(t&1&&(p(0,"th",20),v(1," Status "),p(2,"mat-icon",22),v(3,"info_outline"),g()()),t&2){let e=D(2);_(2),H("matTooltip",e.tooltips.status)}}function TV(t,n){if(t&1&&(p(0,"td",21)(1,"span"),se(2,"span",24),v(3),ir(4,"titlecase"),g()()),t&2){let e=n.$implicit,i=D(2);_(),We("status-label status-"+i.getRenderStatus(e.renderTime)),_(2),xe(" ",$g(4,3,i.getRenderStatus(e.renderTime))," ")}}function kV(t,n){t&1&&se(0,"tr",25)}function AV(t,n){if(t&1&&se(0,"tr",26),t&2){let e=n.$implicit,i=D(2);L("highlighted-row",i.isSelectedAction(e.actionType))}}function RV(t,n){if(t&1&&(p(0,"div",7)(1,"table",9),Rn(2,10),Ce(3,yV,2,0,"th",11)(4,CV,2,2,"td",12),On(),Rn(5,13),Ce(6,wV,4,1,"th",11)(7,xV,2,1,"td",14),On(),Rn(8,15),Ce(9,DV,4,1,"th",11)(10,EV,3,3,"td",12),On(),Rn(11,16),Ce(12,IV,4,1,"th",11)(13,MV,2,1,"td",14),On(),Rn(14,17),Ce(15,SV,4,1,"th",11)(16,TV,5,5,"td",12),On(),Ce(17,kV,1,0,"tr",18)(18,AV,1,2,"tr",19),g()()),t&2){let e=D();_(),H("dataSource",e.actionEntries()),_(16),H("matHeaderRowDef",hu(4,lS))("matHeaderRowDefSticky",!0),_(),H("matRowDefColumns",hu(5,lS))}}function OV(t,n){t&1&&(p(0,"div",8)(1,"mat-icon",4),v(2,"query_stats"),g(),p(3,"p"),v(4,"No action performance has been measured yet."),g()())}var yf=class t{FRAME_BUDGET_MS=16;messages=[];selectedActionType=null;entries=X([]);tooltips=cS;actionEntries=tt(()=>[...this.entries()].sort((n,e)=>e.renderTime-n.renderTime));ngOnChanges(n){n.messages&&this.processMessages(),n.selectedActionType&&this.selectedActionType&&this.scrollToAction(this.selectedActionType)}processMessages(){let n=this.messages.filter(e=>e.type==="STATE_CHANGE"&&!!e.renderPerformance).map(e=>({actionType:e.action.type,renderTime:e.renderPerformance.renderTime,reducerTime:e.renderPerformance.reducerTime,stateSize:e.renderPerformance.stateSize}));this.entries.set(n)}scrollToAction(n){setTimeout(()=>{document.querySelector(`[data-action-type="${n}"]`)?.scrollIntoView({behavior:"smooth",block:"center"})},100)}formatMs(n){return`${n.toFixed(2)} ms`}formatBytes(n){if(n<1024)return`${n} B`;let e=["KB","MB","GB"],i=n/1024,r=0;for(;i>=1024&&r<e.length-1;)i/=1024,r++;return`${i.toFixed(2)} ${e[r]}`}getRenderStatus(n){return n<=this.FRAME_BUDGET_MS?"good":n<=this.FRAME_BUDGET_MS*2?"warning":"critical"}getStatusColor(n){return sS[n]}isSelectedAction(n){return this.selectedActionType===n}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-performance-panel"]],inputs:{messages:"messages",selectedActionType:"selectedActionType"},features:[Ae],decls:15,vars:3,consts:[[1,"performance-panel"],["aria-labelledby","action-performance-title",1,"action-performance"],[1,"section-header"],[1,"section-heading"],["aria-hidden","true"],["id","action-performance-title"],[1,"result-count"],[1,"table-wrap"],[1,"empty-state"],["mat-table","",1,"actions-table",3,"dataSource"],["matColumnDef","action"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","reducerTime"],["mat-cell","","class","metric-value",4,"matCellDef"],["matColumnDef","renderTime"],["matColumnDef","stateSize"],["matColumnDef","status"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",3,"highlighted-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["matTooltipClass","metric-tooltip","matTooltipPosition","above",1,"header-info-icon",3,"matTooltip"],["mat-cell","",1,"metric-value"],[1,"status-dot"],["mat-header-row",""],["mat-row",""]],template:function(e,i){e&1&&(p(0,"div",0)(1,"section",1)(2,"header",2)(3,"div",3)(4,"mat-icon",4),v(5,"speed"),g(),p(6,"div")(7,"h2",5),v(8,"Action Performance"),g(),p(9,"p"),v(10,"Every measured dispatch, sorted by render time"),g()()(),p(11,"span",6),v(12),g()(),T(13,RV,19,6,"div",7)(14,OV,5,0,"div",8),g()()),e&2&&(_(12),sa(" ",i.actionEntries().length," ",i.actionEntries().length===1?"action":"actions"," "),_(),k(i.actionEntries().length?13:14))},dependencies:[li,ci,aS,YM,XM,nS,JM,KM,iS,eS,tS,rS,oS,yn,cn,o_],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.performance-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;width:90%;margin:20px auto 0;padding:20px 32px 32px}.action-performance[_ngcontent-%COMP%]{min-width:0;padding:20px 0;border-top:1px solid var(--mat-sys-outline-variant);border-bottom:1px solid var(--mat-sys-outline-variant)}.section-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin-bottom:12px}.section-heading[_ngcontent-%COMP%]{display:flex;align-items:flex-start;min-width:0}.section-heading[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{flex:0 0 auto;width:20px;height:20px;margin:1px 12px 0 0;color:var(--mat-sys-primary);font-size:20px}.section-heading[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font:var(--mat-sys-label-medium);font-weight:700;text-transform:uppercase}.section-heading[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:4px 0 0;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-small)}.result-count[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-small)}.table-wrap[_ngcontent-%COMP%]{max-height:min(65vh,720px);overflow:auto}.actions-table[_ngcontent-%COMP%]{width:100%;background:transparent}.actions-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font:var(--mat-sys-label-small);font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--mat-sys-on-surface-variant)}.actions-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font:var(--mat-sys-body-small);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;padding:12px 16px}.actions-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background:var(--mat-sys-surface-container-low)}.actions-table[_ngcontent-%COMP%]{min-width:760px}.actions-table[_ngcontent-%COMP%] .mat-mdc-header-row[_ngcontent-%COMP%]{height:52px;background:var(--mat-sys-surface)}.actions-table[_ngcontent-%COMP%] .mat-mdc-row[_ngcontent-%COMP%]{height:60px}.actions-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom-color:var(--mat-sys-outline);white-space:nowrap}.actions-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] .header-info-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px;opacity:.5;transition:opacity .2s ease;margin-left:4px;vertical-align:middle}.actions-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:hover .header-info-icon[_ngcontent-%COMP%]{opacity:1}.actions-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-color:var(--mat-sys-outline-variant);font-weight:500}.actions-table[_ngcontent-%COMP%] .mat-column-action[_ngcontent-%COMP%]{width:38%}.actions-table[_ngcontent-%COMP%] .mat-column-reducerTime[_ngcontent-%COMP%], .actions-table[_ngcontent-%COMP%] .mat-column-renderTime[_ngcontent-%COMP%], .actions-table[_ngcontent-%COMP%] .mat-column-stateSize[_ngcontent-%COMP%]{width:16%}.actions-table[_ngcontent-%COMP%] .mat-column-status[_ngcontent-%COMP%]{width:14%}.actions-table[_ngcontent-%COMP%] .metric-value[_ngcontent-%COMP%], .actions-table[_ngcontent-%COMP%] .mat-column-renderTime[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;white-space:nowrap}.actions-table[_ngcontent-%COMP%] .highlighted-row[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_highlight-fade 3s ease-out forwards;box-shadow:inset 4px 0 0 var(--mat-sys-tertiary)}.status-label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-weight:500;white-space:nowrap}.status-label[_ngcontent-%COMP%] .status-dot[_ngcontent-%COMP%]{width:8px;height:8px;flex:0 0 auto;border-radius:var(--mat-sys-corner-full, 50%)}.status-label.status-good[_ngcontent-%COMP%]{color:#388e3c}.status-label.status-good[_ngcontent-%COMP%] .status-dot[_ngcontent-%COMP%]{background:#4caf50}.status-label.status-warning[_ngcontent-%COMP%]{color:#f57c00}.status-label.status-warning[_ngcontent-%COMP%] .status-dot[_ngcontent-%COMP%]{background:#ff9800}.status-label.status-critical[_ngcontent-%COMP%]{color:#d32f2f}.status-label.status-critical[_ngcontent-%COMP%] .status-dot[_ngcontent-%COMP%]{background:#f44336}.empty-state[_ngcontent-%COMP%]{display:flex;min-height:240px;flex-direction:column;align-items:center;justify-content:center;color:var(--mat-sys-on-surface-variant);text-align:center}.empty-state[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:12px;font-size:32px;opacity:.45}.empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font:var(--mat-sys-body-medium)}@keyframes _ngcontent-%COMP%_highlight-fade{0%{background:color-mix(in srgb,var(--mat-sys-tertiary) 30%,transparent)}to{background:transparent}}@media(max-width:720px){.performance-panel[_ngcontent-%COMP%]{width:auto;margin-top:0;padding:12px}.section-header[_ngcontent-%COMP%]{align-items:flex-start}.section-heading[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.actions-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .actions-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:8px}}"]})};var NV=new b("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})});var dS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({providers:[Qm,{provide:NV,useValue:{separatorKeyCodes:[13]}}],imports:[mr,de]})}return t})();var uS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=j({imports:[so,de]})}return t})();function PV(t,n){if(t&1&&(p(0,"span",8)(1,"mat-icon"),v(2,"bolt"),g(),v(3),p(4,"span",9),v(5),g()()),t&2){let e=n.$implicit,i=D(2);_(3),xe(" ",e," "),_(2),xe("(",i.getEffectCount(e),")")}}function FV(t,n){if(t&1&&(p(0,"div",3)(1,"h3")(2,"mat-icon"),v(3,"bolt"),g(),v(4," Registered Effects"),g(),p(5,"div",7),Qt(6,PV,6,2,"span",8,ii),g()()),t&2){let e=D();_(6),Zt(e.uniqueEffects())}}function LV(t,n){t&1&&(p(0,"div",5)(1,"mat-icon"),v(2,"bolt"),g(),p(3,"p"),v(4,"No effect executions yet"),g(),p(5,"span"),v(6,"Effect events will appear here when effects run"),g()())}function BV(t,n){t&1&&(p(0,"mat-icon",10),v(1,"error"),g())}function jV(t,n){t&1&&(p(0,"mat-icon",11),v(1,"play_circle"),g())}function VV(t,n){if(t&1&&(p(0,"span",13),v(1),g()),t&2){let e=D().$implicit;H("matTooltip",e.emittedAction),_(),xe(" \u2192 ",e.emittedAction," ")}}function HV(t,n){t&1&&(p(0,"span",14),v(1,"(no dispatch)"),g())}function zV(t,n){if(t&1&&(p(0,"div",17)(1,"span",18),v(2,"Emitted Action:"),g(),p(3,"span",21),v(4),g()()),t&2){let e=D().$implicit;_(4),be(e.emittedAction)}}function UV(t,n){if(t&1&&(p(0,"details",24)(1,"summary"),v(2,"Stack Trace"),g(),p(3,"pre",25),v(4),g()()),t&2){let e=D(2).$implicit;_(4),be(e.errorStack)}}function $V(t,n){if(t&1&&(p(0,"div",22)(1,"span",18),v(2,"Error:"),g(),p(3,"span",23),v(4),g()(),T(5,UV,5,1,"details",24)),t&2){let e=D().$implicit;_(4),be(e.errorMessage),_(),k(e.errorStack?5:-1)}}function GV(t,n){if(t&1&&(p(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title"),T(3,BV,2,0,"mat-icon",10)(4,jV,2,0,"mat-icon",11),p(5,"span",12),v(6),g(),T(7,VV,2,2,"span",13)(8,HV,2,0,"span",14),g(),p(9,"mat-panel-description")(10,"span",15),v(11),ir(12,"date"),g()()(),p(13,"div",16)(14,"div",17)(15,"span",18),v(16,"Effect Class:"),g(),p(17,"span",19),v(18),g()(),p(19,"div",17)(20,"span",18),v(21,"Property:"),g(),p(22,"span",19),v(23),g()(),T(24,zV,5,1,"div",17),p(25,"div",17)(26,"span",18),v(27,"Status:"),g(),p(28,"span",20),v(29),g()(),p(30,"div",17)(31,"span",18),v(32,"Time:"),g(),p(33,"span",19),v(34),ir(35,"date"),g()(),T(36,$V,6,2),g()()),t&2){let e=n.$implicit;L("effect-action",!0)("error-effect",e.status==="error")("side-effect-action",e.status==="executed"),_(3),k(e.status==="error"?3:e.status==="executed"?4:-1),_(3),be(e.effectName),_(),k(e.emittedAction?7:e.status==="executed"?8:-1),_(4),be(ca(12,18,e.endTime,"medium")),_(7),be(e.sourceName),_(5),be(e.propertyName),_(),k(e.emittedAction?24:-1),_(4),We(e.status),_(),xe(" ",e.status," "),_(5),be(ca(35,21,e.endTime,"medium")),_(2),k(e.status==="error"&&e.errorMessage?36:-1)}}var Cf=class t{set effectEvents(n){this._effectEvents.set(n||[])}_effectEvents=X([]);effectExecutions=tt(()=>{let n=this._effectEvents(),e=[];for(let r of n){if(!r.effectEvent)continue;let{name:o,lifecycle:a,duration:s,executionId:c}=r.effectEvent,[l,u]=o.split("."),m=s||0;if(a!=="emitted"&&a!=="executed"&&a!=="error")continue;let h={effectName:o,sourceName:l||"Unknown",propertyName:u||"unknown",startTime:new Date(new Date(r.timestamp).getTime()-m),endTime:new Date(r.timestamp),duration:m,executionId:c},f={emitted:{status:"completed",emittedAction:r.action,dispatch:!0},executed:{status:"executed",dispatch:!1},error:{status:"error",errorMessage:r.effectEvent.errorMessage,errorStack:r.effectEvent.errorStack}};e.push(y(y({},h),f[a]))}let i=e.reverse();return{running:[],completed:i,all:i}});stats=tt(()=>{let n=this.effectExecutions(),e=new Map;for(let i of n.all){let r=e.get(i.effectName)||0;e.set(i.effectName,r+1)}return{byEffect:Array.from(e.entries()).map(([i,r])=>({name:i,count:r}))}});uniqueEffects=tt(()=>{let n=this._effectEvents(),e=new Set;for(let i of n)i.effectEvent?.name&&e.add(i.effectEvent.name);return Array.from(e)});getStatusIcon(n){switch(n){case"completed":return"check_circle";case"executed":return"play_circle";case"error":return"error";default:return"help"}}getStatusColor(n){switch(n){case"completed":return"accent";case"executed":return"primary";case"error":return"warn";default:return""}}getEffectCount(n){return this.stats().byEffect.find(r=>r.name===n)?.count||0}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-effects-panel"]],inputs:{effectEvents:"effectEvents"},decls:9,vars:2,consts:[[1,"container"],[1,"actions-container"],["matSubheader",""],[1,"effects-summary"],[1,"actions"],[1,"empty-state"],[3,"effect-action","error-effect","side-effect-action"],[1,"effect-chips"],[1,"effect-chip"],[1,"chip-count"],[1,"action-icon","error-icon"],[1,"action-icon","side-effect-icon"],[1,"action-type"],[1,"emitted-action-text",3,"matTooltip"],[1,"no-dispatch-badge"],[1,"timestamp"],[1,"execution-details"],[1,"detail-row"],[1,"detail-label"],[1,"detail-value"],[1,"detail-value","status-value"],[1,"detail-value","emitted-action"],[1,"detail-row","error-message-row"],[1,"detail-value","error-message-text"],[1,"stack-trace"],[1,"stack-trace-content"]],template:function(e,i){e&1&&(p(0,"div",0)(1,"div",1)(2,"h2",2),v(3,"Effect Executions"),g(),T(4,FV,8,0,"div",3),p(5,"div",4),T(6,LV,7,0,"div",5),Qt(7,GV,37,24,"mat-expansion-panel",6,Ug),g()()()),e&2&&(_(4),k(i.uniqueEffects().length>0?4:-1),_(2),k(i.effectExecutions().completed.length===0?6:-1),_(),Zt(i.effectExecutions().completed))},dependencies:[ua,cm,li,ci,Nm,Om,dS,yn,cn,rf,Xc,ef,nf,tf,lf,uS,af,oc],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.container[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:100%;justify-content:center;align-items:flex-start;padding:12px}.actions-container[_ngcontent-%COMP%]{padding:12px;width:90%;margin-top:20px}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.effects-summary[_ngcontent-%COMP%]{margin-bottom:24px}.effects-summary[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;color:var(--mat-sys-on-surface);margin-bottom:12px;font-size:1rem;font-weight:500}.effects-summary[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#ff9800}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%] .effect-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;background:#ff980026;color:#ff9800;padding:4px 12px;border-radius:var(--mat-sys-corner-large, 16px);font-size:var(--mat-sys-body-small);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%] .effect-chip[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%] .effect-chip[_ngcontent-%COMP%] .chip-count[_ngcontent-%COMP%]{opacity:.7}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:48px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-small, 8px);color:var(--mat-sys-on-surface-variant)}.empty-state[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;color:var(--mat-sys-on-surface-variant);margin-bottom:16px;opacity:.5}.empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--mat-sys-on-surface);margin:0 0 8px}.empty-state[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.85rem}.effect-action[_ngcontent-%COMP%]{border-left:4px solid #ff9800!important}.error-effect[_ngcontent-%COMP%]{border-left:4px solid #f44336!important}.side-effect-action[_ngcontent-%COMP%]{border-left:4px solid #9c27b0!important}.action-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;margin-right:8px}.action-icon.effect-icon[_ngcontent-%COMP%]{color:#81c784}.action-icon.error-icon[_ngcontent-%COMP%]{color:#f44336}.action-icon.side-effect-icon[_ngcontent-%COMP%]{color:#9c27b0}.no-dispatch-badge[_ngcontent-%COMP%]{font-size:11px;color:#9c27b0;margin-left:8px;opacity:.8}.spinning[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 1s linear infinite}mat-panel-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;overflow:visible!important}mat-panel-title[_ngcontent-%COMP%] .action-type[_ngcontent-%COMP%]{font-weight:500}.emitted-action-text[_ngcontent-%COMP%]{color:#81c784;font-size:var(--mat-sys-body-small);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}.status-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;margin-right:12px}.status-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px}.status-badge.running[_ngcontent-%COMP%]{background-color:#2196f326;color:#64b5f6}.status-badge.running[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 1s linear infinite}.timestamp[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);font-size:var(--mat-sys-body-small)}.execution-details[_ngcontent-%COMP%]{padding:16px}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%]{display:flex;padding:8px 0;border-bottom:1px solid var(--mat-sys-outline-variant)}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-label[_ngcontent-%COMP%]{width:140px;color:var(--mat-sys-on-surface-variant);font-size:.85rem}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.trigger-action[_ngcontent-%COMP%]{color:#2196f3}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.emitted-action[_ngcontent-%COMP%]{color:#81c784}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value[_ngcontent-%COMP%]{text-transform:capitalize;font-weight:500}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value.completed[_ngcontent-%COMP%]{color:#81c784}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value.error[_ngcontent-%COMP%]{color:#f44336}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value.running[_ngcontent-%COMP%]{color:#64b5f6}.error-message-row[_ngcontent-%COMP%]{align-items:flex-start}.error-message-row[_ngcontent-%COMP%] .error-message-text[_ngcontent-%COMP%]{color:#f44336;font-weight:500;word-break:break-word}.stack-trace[_ngcontent-%COMP%]{margin-top:12px}.stack-trace[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;color:var(--mat-sys-on-surface-variant);font-size:.85rem;font-weight:500;padding:4px 0;-webkit-user-select:none;user-select:none}.stack-trace[_ngcontent-%COMP%] .stack-trace-content[_ngcontent-%COMP%]{margin-top:8px;padding:12px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-extra-small, 4px);font-size:.78rem;line-height:1.5;color:var(--mat-sys-on-surface-variant);overflow-x:auto;white-space:pre-wrap;word-break:break-word}.lifecycle-events[_ngcontent-%COMP%]{padding:16px}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-extra-small, 4px);margin-bottom:4px}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-started[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#64b5f6}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-started[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:#64b5f6}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-emitted[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#81c784}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-emitted[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:#81c784}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#f44336}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-error[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:#f44336}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-complete[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant)}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-complete[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant)}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{font-weight:500;text-transform:capitalize;min-width:70px}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] .event-action[_ngcontent-%COMP%]{color:#81c784;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] .event-time[_ngcontent-%COMP%]{margin-left:auto;color:var(--mat-sys-on-surface-variant);font-size:.8rem}"]})};var WV=(t,n)=>n.timestamp;function qV(t,n){if(t&1&&(p(0,"span",25),v(1),g()),t&2){let e=D(2);_(),be(e.importedSessionName())}}function QV(t,n){if(t&1&&(p(0,"span",8)(1,"mat-icon"),v(2,"history"),g(),v(3," Imported Session "),T(4,qV,2,1,"span",25),g()),t&2){let e=D();_(4),k(e.importedSessionName()?4:-1)}}function ZV(t,n){if(t&1&&(p(0,"span",26),v(1),g()),t&2){let e=D(2);_(),be(e.messages().length)}}function YV(t,n){if(t&1&&(p(0,"mat-icon"),v(1,"list_alt"),g(),p(2,"span"),v(3,"Actions"),g(),T(4,ZV,2,1,"span",26)),t&2){let e=D();_(4),k(e.messages().length>0?4:-1)}}function KV(t,n){t&1&&(p(0,"mat-icon",28),v(1,"bolt"),g())}function XV(t,n){t&1&&(p(0,"mat-icon",29),v(1,"person"),g())}function JV(t,n){if(t&1&&(p(0,"span",31)(1,"mat-icon"),v(2,"functions"),g(),v(3),g()),t&2){let e=D(2).$implicit;H("matTooltip","Emitted by effect: "+e.effectName),_(3),xe(" ",e.effectName," ")}}function eH(t,n){if(t&1&&(p(0,"mat-icon",33),v(1,"warning"),g()),t&2){let e=D(2).$implicit;H("matTooltip",e.performance.warnings.length+" performance warning(s)")}}function tH(t,n){if(t&1&&se(0,"app-diff-viewer",40),t&2){let e=D(2).$implicit;H("previousState",e.prevState)("currentState",e.nextState)}}function nH(t,n){t&1&&se(0,"mat-spinner",41)}function iH(t,n){t&1&&(p(0,"div"),v(1,"Click to load diff..."),g())}function rH(t,n){if(t&1){let e=Le();p(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title"),T(3,KV,2,0,"mat-icon",28)(4,XV,2,0,"mat-icon",29),p(5,"span",30),v(6),g(),T(7,JV,4,2,"span",31),g(),p(8,"mat-panel-description")(9,"button",32),Q("click",function(r){ue(e);let o=D().$implicit;return D().navigateToPerformance(o.action.type),me(r.stopPropagation())}),p(10,"mat-icon"),v(11,"speed"),g()(),T(12,eH,2,1,"mat-icon",33),p(13,"span",34),v(14),ir(15,"date"),g()()(),p(16,"mat-tab-group",35),Q("selectedTabChange",function(r){ue(e);let o=D().$implicit,a=D();return me(a.onTabChange(r,o))}),p(17,"mat-tab",36),se(18,"app-json-tree",37),g(),p(19,"mat-tab",38),se(20,"app-json-tree",37),g(),p(21,"mat-tab",39),T(22,tH,1,2,"app-diff-viewer",40)(23,nH,1,0,"mat-spinner",41)(24,iH,2,0,"div"),g()()()}if(t&2){let e=D().$implicit;L("effect-action",e.isEffectResult)("user-action",!e.isEffectResult),_(3),k(e.isEffectResult?3:4),_(3),be(e.action.type||"[Unknown Action]"),_(),k(e.effectName?7:-1),_(5),k(e.performance&&e.performance.warnings&&e.performance.warnings.length>0?12:-1),_(2),be(ca(15,12,e.timestamp,"medium")),_(4),H("jsonData",e.action),_(2),H("jsonData",e.nextState),_(2),k(e.diffLoaded?22:e.diffLoading?23:24)}}function oH(t,n){if(t&1&&T(0,rH,25,15,"mat-expansion-panel",27),t&2){let e=n.$implicit;k(e.action.type?0:-1)}}function aH(t,n){t&1&&(p(0,"div",22)(1,"mat-icon"),v(2,"list_alt"),g(),p(3,"p"),v(4,"No actions dispatched yet"),g(),p(5,"span"),v(6,"Actions will appear here when they are dispatched"),g()())}function sH(t,n){t&1&&(p(0,"mat-icon",42),v(1,"warning"),g())}function cH(t,n){if(t&1&&(p(0,"mat-icon"),v(1,"speed"),g(),p(2,"span"),v(3,"Performance"),g(),T(4,sH,2,0,"mat-icon",42)),t&2){let e=D();_(4),k(e.hasPerformanceWarnings()?4:-1)}}function lH(t,n){if(t&1&&(p(0,"span",26),v(1),g()),t&2){let e=D(2);_(),be(e.effectExecutionsCount())}}function dH(t,n){if(t&1&&(p(0,"mat-icon"),v(1,"bolt"),g(),p(2,"span"),v(3,"Effects"),g(),T(4,lH,2,1,"span",26)),t&2){let e=D();_(4),k(e.effectExecutionsCount()>0?4:-1)}}var wf=class t{title="ngrx-devtool-ui";messages=X([]);effectEvents=X([]);renderTimings=X(new Map);selectedActionType=X(null);isImportedSession=X(!1);importedSessionName=X(null);tabGroup;effectExecutionsCount=tt(()=>this.effectEvents().filter(e=>e.effectEvent?.lifecycle==="emitted").length);messagesWithPrevState=tt(()=>{let n=this.messages(),e=this.renderTimings(),i=this.effectEvents(),r=new Map;for(let o of i)o.effectEvent?.lifecycle==="emitted"&&o.action&&r.set(o.action,o.effectName||o.effectEvent.name);return n.map((o,a)=>{let s=a>0?n[a-1].nextState:void 0,c=o.timestamp?e.get(o.timestamp):void 0,l=o.action?.type,u=l?r.get(l):void 0,m=o.isEffectResult||!!u;return te(y({},o),{prevState:s,renderTiming:c,effectName:u||o.effectName,isEffectResult:m})})});hasPerformanceWarnings=tt(()=>this.messages().some(e=>(e.performance?.warnings?.length??0)>0));subscription;_webSocketService=d(tm);_sessionService=d(nm);_snackBar=d(el);_dialog=d(il);openAiDebug(){let n={messages:this.messagesWithPrevState(),effectEvents:this.effectEvents(),renderTimings:this.renderTimings(),appName:this.importedSessionName()};this._dialog.open(uf,{data:n,autoFocus:!1,maxHeight:"90vh"})}ngOnInit(){this._webSocketService.connect("ws://localhost:4000"),this.subscription=this._webSocketService.messages$?.subscribe(n=>{n&&this.handleWebSocketMessage(n)})}ngOnDestroy(){this._webSocketService.close(),this.subscription?.unsubscribe()}onTabChange(n,e){n.index===2&&!e.diffLoaded&&!e.diffLoading&&(e.diffLoading=!0,setTimeout(()=>{e.diffLoaded=!0,e.diffLoading=!1},0))}formatBytes(n){if(n===void 0||n===0)return"0 B";let e=1024,i=["B","KB","MB","GB"],r=Math.floor(Math.log(Math.abs(n))/Math.log(e));return`${(n/Math.pow(e,r)).toFixed(2)} ${i[r]}`}navigateToPerformance(n){this.selectedActionType.set(n),this.tabGroup.selectedIndex=1}exportSession(){let n=this.messages();if(n.length===0){this._snackBar.open("No session data to export","Close",{duration:3e3});return}this._sessionService.exportSession(n,this.effectEvents(),this.renderTimings()),this._snackBar.open("Session exported successfully","Close",{duration:3e3})}importSession(){return ve(this,null,function*(){try{let n=yield this._sessionService.importSession();this.messages.set([...n.messages]),this.effectEvents.set([...n.effectEvents]),this.renderTimings.set(new Map(n.renderTimings)),this.isImportedSession.set(!0),this.importedSessionName.set(n.appName||null),this._webSocketService.close(),this.subscription?.unsubscribe();let e=new Date(n.exportedAt).toLocaleString();this._snackBar.open(`Loaded session from ${e} (${n.messages.length} actions)`,"Close",{duration:5e3})}catch(n){let e=n instanceof Error?n.message:"Failed to import session";e!=="File selection cancelled"&&this._snackBar.open(e,"Close",{duration:3e3})}})}clearSession(){this.subscription?.unsubscribe(),this._webSocketService.send({type:"CLEAR_REQUEST",timestamp:new Date().toISOString()}),this.messages.set([]),this.effectEvents.set([]),this.renderTimings.set(new Map),this.isImportedSession.set(!1),this.importedSessionName.set(null),this._webSocketService.messages$||this._webSocketService.connect("ws://localhost:4000"),this.subscription=this._webSocketService.messages$?.subscribe(n=>{n&&this.handleWebSocketMessage(n)}),this._snackBar.open("Session cleared","Close",{duration:2e3})}handleWebSocketMessage(n){let e=n;if(e.type==="RENDER_TIMING"){let i=n;this.renderTimings.update(r=>{let o=new Map(r),a=this.messages();for(let s=a.length-1;s>=0;s--){let c=a[s];if(c.action?.type===i.actionType&&!c.renderTiming&&c.timestamp){o.set(c.timestamp,i),this.messages.update(l=>{let u=[...l];return u[s]=te(y({},u[s]),{renderTiming:i}),u});break}}return o})}else e.type==="EFFECT_EVENT"?this.effectEvents.update(i=>[...i,n]):e.type==="STATE_CHANGE"&&this.messages.update(i=>[...i,e])}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-root"]],viewQuery:function(e,i){if(e&1&&Ie(of,5),e&2){let r;P(r=F())&&(i.tabGroup=r.first)}},decls:43,vars:5,consts:[["xmlns","http://www.w3.org/2000/svg","id","Layer_1","viewBox","0 0 1920 646","width","120","height","40"],["d","m1648.297,304.2114c-27.093-9.3799-39.0689-15.626-39.0689-29.6889,0-8.8566,5.7298-22.4029,32.8157-22.4029,25.5224,0,52.6083,11.4596,52.6083,11.4596v-39.0689c-11.4597-4.6902-31.7758-9.3729-54.6951-9.3729-39.0691,0-76.5746,20.8325-76.5746,61.9884s37.5056,52.6083,63.0353,60.9484c23.9591,7.8094,40.1087,15.626,40.1087,31.2523,0,13.5465-9.38,23.9592-40.1087,23.9592-26.046,0-57.3055-10.4126-57.3055-10.4126v39.0617s30.2126,8.3401,59.3851,8.3401c38.5527,0,83.8678-13.5465,83.8678-64.0751,0-34.379-28.1257-49.4888-64.068-61.9884Z",1,"cls-1"],["d","m666.3826,427.6644v-212.527h-58.8631l-57.821,158.3555-57.8218-158.3555h-58.863v212.527h40.1102v-160.435l58.3424,160.435h33.859l60.947-160.435v160.435h40.1102Z",1,"cls-1"],["d","m807.0164,215.1374h-77.6137v41.1487c36.9857-1.5635,47.4034-2.0797,63.5509-2.0797,25.5225,0,40.6323,9.3729,40.6323,34.379v16.1495h-40.6323c-68.2387,0-89.0748,27.6093-89.0748,63.5516,0,46.3551,34.3804,61.9884,68.76,61.9884s55.2172-16.1498,61.9869-20.8397v18.2293h44.7987v-145.3324c0-48.9653-26.5623-67.1946-72.4081-67.1946Zm26.5695,167.2119c-11.4597,4.1667-32.2993,11.4598-52.0919,11.4598-18.7528,0-33.8583-8.3331-33.8583-28.6491,0-18.2365,11.4597-27.6093,36.4615-28.6493l49.4888-2.0867v47.9253Z",1,"cls-1"],["d","m1198.2295,251.5959h107.3034v-36.4585h-153.1492v212.527h153.1492v-36.4585h-107.3034v-51.5757h91.1537v-35.9422h-91.1537v-52.092Z",1,"cls-1"],["d","m1526.4073,427.6644v-212.527h-46.8785v161.9985c-11.4597,5.2134-27.6093,13.5465-51.0521,13.5465-29.1726,0-38.022-16.1498-38.022-50.5285v-125.0165h-46.8856v130.7461c0,54.6952,17.713,84.3913,73.4478,84.3913,31.2595,0,46.8857-11.4596,63.5516-20.8397v18.2293h45.8387Z",1,"cls-1"],["d","m1010.1779,215.1374h-84.3841v212.527h84.3841c71.3682,0,107.3106-32.8155,107.3106-108.3432,0-66.1618-39.0689-104.1838-107.3106-104.1838Zm-2.0868,175.545h-35.4188v-138.5628h35.4188c35.426,0,61.472,17.1893,61.472,67.2016,0,47.9183-17.1895,71.3612-61.472,71.3612Z",1,"cls-1"],["d","m309.0293,215.1374h-77.6173v41.1487c36.9843-1.5635,47.4027-2.0797,63.5516-2.0797,25.5239,0,40.6309,9.3729,40.6309,34.379v16.1495h-40.6309c-68.2401,0-89.0769,27.6093-89.0769,63.5516,0,46.3551,34.3804,61.9884,68.7608,61.9884s55.2179-16.1498,61.989-20.8397v18.2293h44.7988v-145.3324c0-48.9653-26.5659-67.1946-72.4059-67.1946Zm26.5652,167.2119c-11.4597,4.1667-32.2964,11.4598-52.0912,11.4598-18.7528,0-33.8598-8.3331-33.8598-28.6491,0-18.2365,11.4597-27.6093,36.4636-28.6493l49.4873-2.0867v47.9253Z",1,"cls-1"],[1,"imported-badge"],[1,"toolbar-spacer"],["mat-button","","matTooltip","Assemble an AI debugging prompt from this session",1,"ai-debug-btn",3,"click"],["mat-icon-button","","matTooltip","Export Session",3,"click"],["mat-icon-button","","matTooltip","Import Session",3,"click"],["mat-icon-button","","matTooltip","Clear Session",3,"click"],["href","https://amadeusitgroup.github.io/ngrx-devtool/","target","_blank","rel","noopener","matTooltip","Documentation",2,"display","flex","align-items","center","color","inherit","text-decoration","none"],["fontIcon","help"],[1,"main-tabs"],["mat-tab-label",""],[1,"container"],[1,"actions-container"],["matSubheader",""],[1,"actions"],[1,"empty-state"],[3,"messages","selectedActionType"],[3,"effectEvents"],[1,"session-name"],[1,"tab-badge"],[3,"effect-action","user-action"],[1,"action-icon","effect-icon"],[1,"action-icon","user-icon"],[1,"action-type"],[1,"effect-source-badge",3,"matTooltip"],["mat-icon-button","","matTooltip","View in Performance Panel",1,"perf-link-btn",3,"click"],[1,"perf-warning-icon",3,"matTooltip"],[1,"timestamp"],[3,"selectedTabChange"],["label","Action"],[3,"jsonData"],["label","State"],["label","Diff"],[3,"previousState","currentState"],["diameter","30"],[1,"tab-warning-icon"]],template:function(e,i){e&1&&(p(0,"mat-toolbar"),It(),p(1,"svg",0),se(2,"path",1)(3,"path",2)(4,"path",3)(5,"path",4)(6,"path",5)(7,"path",6)(8,"path",7),g(),T(9,QV,5,1,"span",8),Ei(),se(10,"span",9),p(11,"button",10),Q("click",function(){return i.openAiDebug()}),p(12,"mat-icon"),v(13,"auto_awesome"),g(),v(14," Debug with AI "),g(),p(15,"button",11),Q("click",function(){return i.exportSession()}),p(16,"mat-icon"),v(17,"save"),g()(),p(18,"button",12),Q("click",function(){return i.importSession()}),p(19,"mat-icon"),v(20,"folder_open"),g()(),p(21,"button",13),Q("click",function(){return i.clearSession()}),p(22,"mat-icon"),v(23,"delete_sweep"),g()(),p(24,"a",14),se(25,"mat-icon",15),g()(),p(26,"mat-tab-group",16)(27,"mat-tab"),Ce(28,YV,5,1,"ng-template",17),p(29,"div",18)(30,"div",19)(31,"h2",20),v(32,"Dispatched Actions"),g(),p(33,"div",21),Qt(34,oH,1,1,null,null,WV,!1,aH,7,0,"div",22),g()()()(),p(37,"mat-tab"),Ce(38,cH,5,1,"ng-template",17),se(39,"app-performance-panel",23),g(),p(40,"mat-tab"),Ce(41,dH,5,1,"ng-template",17),se(42,"app-effects-panel",24),g()()),e&2&&(_(9),k(i.isImportedSession()?9:-1),_(25),Zt(i.messagesWithPrevState()),_(5),H("messages",i.messages())("selectedActionType",i.selectedActionType()),_(3),H("effectEvents",i.effectEvents()))},dependencies:[lE,cE,li,ci,cm,Nm,Om,aM,rf,Xc,ef,nf,tf,af,nb,ib,of,wM,CM,yn,cn,ui,Ua,ji,EM,mf,hf,yf,Cf,oc],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%]{display:block;height:100vh;overflow:hidden}.main-tabs[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:calc(100vh - 64px);margin-top:64px}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab-header{position:sticky;top:0;z-index:200;background:var(--mat-sys-surface)}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab-body-wrapper{flex:1;overflow:auto}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab-labels[_ngcontent-%COMP%]{background:var(--mat-sys-surface)}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:8px}.tab-badge[_ngcontent-%COMP%]{background:#673ab7;color:#fff;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;margin-left:4px}.tab-badge.running[_ngcontent-%COMP%]{background:#64b5f6;animation:_ngcontent-%COMP%_pulse 1.5s infinite}@keyframes _ngcontent-%COMP%_pulse{0%,to{opacity:1}50%{opacity:.6}}.tab-warning-icon[_ngcontent-%COMP%]{color:#ff9800;font-size:18px;width:18px;height:18px;margin-left:4px}.container[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:100%;justify-content:center;align-items:flex-start;padding:12px}.actions-container[_ngcontent-%COMP%]{padding:12px;width:90%;margin-top:20px}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}mat-toolbar[_ngcontent-%COMP%]{background-color:var(--mat-sys-primary-container);color:var(--mat-sys-on-primary-container);position:fixed;top:0;left:0;right:0;z-index:1000;gap:8px}mat-toolbar[_ngcontent-%COMP%] button[mat-icon-button][_ngcontent-%COMP%]{color:var(--mat-sys-on-primary-container)}mat-toolbar[_ngcontent-%COMP%] button[mat-icon-button][_ngcontent-%COMP%]:hover{background:#ffffff1a}.imported-badge[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;padding:2px 8px;background:#ff98001a;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;font-weight:500;color:#ff9800;margin-left:12px}.imported-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.imported-badge[_ngcontent-%COMP%] .session-name[_ngcontent-%COMP%]{color:var(--mat-sys-on-primary-container);opacity:.8}.cls-1[_ngcontent-%COMP%]{color:var(--mat-sys-on-primary-container)}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:48px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-small, 8px);color:var(--mat-sys-on-surface-variant)}.empty-state[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;color:var(--mat-sys-on-surface-variant);margin-bottom:16px;opacity:.5}.empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--mat-sys-on-surface);margin:0 0 8px}.empty-state[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.85rem}.timestamp[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);font-size:var(--mat-sys-body-small);margin-right:16px}.toolbar-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.ai-debug-btn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: var(--mat-sys-on-primary-container);--mat-text-button-state-layer-color: var(--mat-sys-on-primary-container);--mat-text-button-ripple-color: rgba(255, 255, 255, .12);--mat-text-button-hover-state-layer-opacity: .1;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .16;height:36px;margin-right:8px;padding:0 12px;border-radius:var(--mat-sys-corner-small, 8px);font:var(--mat-sys-label-large);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-weight:500;letter-spacing:0;color:var(--mat-sys-on-primary-container)}.ai-debug-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;margin-right:4px;font-size:18px}.effect-action[_ngcontent-%COMP%]{border-left:4px solid #ff9800!important}.user-action[_ngcontent-%COMP%]{border-left:4px solid #2196f3!important}mat-expansion-panel-header[_ngcontent-%COMP%]{overflow:visible!important;height:auto!important;min-height:48px}mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-title{overflow:visible!important;flex-basis:auto;flex-grow:1;margin-right:16px}mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-description{overflow:visible!important;flex-shrink:0;justify-content:flex-end;margin-right:0}mat-expansion-panel-header[_ngcontent-%COMP%] .mat-content{overflow:visible!important}.action-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;margin-right:8px}.action-icon.effect-icon[_ngcontent-%COMP%]{color:#ff9800}.action-icon.user-icon[_ngcontent-%COMP%]{color:#2196f3}.correlation-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;background-color:#673ab71a;color:#9c27b0;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:var(--mat-sys-body-small);margin-right:12px}.correlation-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px}.correlation-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:12px 16px;background-color:#9c27b00d;border-radius:var(--mat-sys-corner-extra-small, 4px);margin-bottom:16px}.correlation-info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#9c27b0}.correlation-info[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#9c27b0}mat-panel-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;overflow:visible!important;flex-wrap:nowrap;min-width:0}mat-panel-title[_ngcontent-%COMP%] .action-type[_ngcontent-%COMP%]{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:400px}.effect-source-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;background-color:#ff980026;color:#ff9800;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;margin-left:8px;white-space:nowrap;flex-shrink:0}.effect-source-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:var(--mat-sys-body-small);width:var(--mat-sys-body-small);height:var(--mat-sys-body-small)}.perf-link-btn[_ngcontent-%COMP%]{width:32px;height:32px;min-width:32px;padding:0!important;margin:0;color:#673ab7;transition:all .2s ease;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--mat-sys-corner-full, 50%)!important;overflow:visible!important;position:relative}.perf-link-btn[_ngcontent-%COMP%] .mat-mdc-button-touch-target{width:100%;height:100%;border-radius:var(--mat-sys-corner-full, 50%)}.perf-link-btn[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple{border-radius:var(--mat-sys-corner-full, 50%)!important}.perf-link-btn[_ngcontent-%COMP%] .mdc-button__ripple{border-radius:var(--mat-sys-corner-full, 50%)!important}.perf-link-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px;line-height:20px}.perf-link-btn[_ngcontent-%COMP%]:hover{background:#673ab71a!important;color:#512da8;transform:scale(1.1)}.perf-link-btn[_ngcontent-%COMP%]:active{transform:scale(.95)}.perf-warning-icon[_ngcontent-%COMP%]{color:#ff9800;font-size:18px;width:18px;height:18px;margin-right:8px}.perf-time[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-size:var(--mat-sys-body-small);padding:2px 6px;border-radius:var(--mat-sys-corner-extra-small, 4px);background:#4caf501a;color:#4caf50;margin-right:12px}.perf-time.slow[_ngcontent-%COMP%]{background:#f443361a;color:#f44336}.action-performance[_ngcontent-%COMP%]{padding:16px}.perf-stats[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.perf-stat[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px;background:#ffffff08;border-radius:var(--mat-sys-corner-small, 8px)}.perf-stat[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#673ab7}.perf-stat-content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.perf-stat-label[_ngcontent-%COMP%]{font-size:var(--mat-sys-body-small);opacity:.7;text-transform:uppercase}.perf-stat-value[_ngcontent-%COMP%]{font-size:var(--mat-sys-body-medium);font-weight:500;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace}.perf-stat-value.warning[_ngcontent-%COMP%]{color:#f44336}.perf-stat-value.positive[_ngcontent-%COMP%]{color:#4caf50}.perf-stat-value.negative[_ngcontent-%COMP%]{color:#2196f3}.perf-warnings[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#ff9800}.perf-warnings[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.perf-warning[_ngcontent-%COMP%]{padding:12px;border-radius:var(--mat-sys-corner-small, 8px);margin-bottom:8px}.perf-warning.severity-high[_ngcontent-%COMP%]{background:#f443361a;border-left:3px solid #f44336}.perf-warning.severity-medium[_ngcontent-%COMP%]{background:#ff98001a;border-left:3px solid #ff9800}.perf-warning.severity-low[_ngcontent-%COMP%]{background:#ffc1071a;border-left:3px solid #ffc107}.warning-message[_ngcontent-%COMP%]{display:block;margin-bottom:8px}.warning-suggestion[_ngcontent-%COMP%]{display:block;font-size:13px;opacity:.8}.render-time[_ngcontent-%COMP%]{color:#9c27b0!important}.total-time[_ngcontent-%COMP%]{color:#2196f3!important}.perf-time.slow[_ngcontent-%COMP%]{color:#f44336!important}.timing-breakdown[_ngcontent-%COMP%]{margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.timing-breakdown[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:14px}.timing-breakdown[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;opacity:.7}.timing-bar[_ngcontent-%COMP%]{display:flex;height:24px;border-radius:var(--mat-sys-corner-extra-small, 4px);overflow:hidden;background:#ffffff0d;margin-bottom:12px}.timing-segment[_ngcontent-%COMP%]{height:100%;min-width:4px;transition:width .3s ease}.timing-segment.reducer-segment[_ngcontent-%COMP%]{background:linear-gradient(135deg,#4caf50,#8bc34a)}.timing-segment.render-segment[_ngcontent-%COMP%]{background:linear-gradient(135deg,#9c27b0,#e91e63)}.timing-legend[_ngcontent-%COMP%]{display:flex;gap:24px;font-size:var(--mat-sys-body-small)}.legend-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.legend-color[_ngcontent-%COMP%]{width:12px;height:12px;border-radius:2px}.legend-color.reducer[_ngcontent-%COMP%]{background:linear-gradient(135deg,#4caf50,#8bc34a)}.legend-color.render[_ngcontent-%COMP%]{background:linear-gradient(135deg,#9c27b0,#e91e63)}"],changeDetection:0})};var xf=globalThis,Df=xf.ShadowRoot&&(xf.ShadyCSS===void 0||xf.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wb=Symbol(),mS=new WeakMap,al=class{constructor(n,e,i){if(this._$cssResult$=!0,i!==wb)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=n,this.t=e}get styleSheet(){let n=this.o,e=this.t;if(Df&&n===void 0){let i=e!==void 0&&e.length===1;i&&(n=mS.get(e)),n===void 0&&((this.o=n=new CSSStyleSheet).replaceSync(this.cssText),i&&mS.set(e,n))}return n}toString(){return this.cssText}},fS=t=>new al(typeof t=="string"?t:t+"",void 0,wb),xb=(t,...n)=>{let e=t.length===1?t[0]:n.reduce((i,r,o)=>i+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1],t[0]);return new al(e,t,wb)},hS=(t,n)=>{if(Df)t.adoptedStyleSheets=n.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of n){let i=document.createElement("style"),r=xf.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=e.cssText,t.appendChild(i)}},Db=Df?t=>t:t=>t instanceof CSSStyleSheet?(n=>{let e="";for(let i of n.cssRules)e+=i.cssText;return fS(e)})(t):t;var{is:uH,defineProperty:mH,getOwnPropertyDescriptor:fH,getOwnPropertyNames:hH,getOwnPropertySymbols:pH,getPrototypeOf:gH}=Object,Ef=globalThis,pS=Ef.trustedTypes,_H=pS?pS.emptyScript:"",vH=Ef.reactiveElementPolyfillSupport,sl=(t,n)=>t,cl={toAttribute(t,n){switch(n){case Boolean:t=t?_H:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,n){let e=t;switch(n){case Boolean:e=t!==null;break;case Number:e=t===null?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(i){e=null}}return e}},If=(t,n)=>!uH(t,n),gS={attribute:!0,type:String,converter:cl,reflect:!1,useDefault:!1,hasChanged:If};Symbol.metadata??=Symbol("metadata"),Ef.litPropertyMetadata??=new WeakMap;var Vi=class extends HTMLElement{static addInitializer(n){this._$Ei(),(this.l??=[]).push(n)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(n,e=gS){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(n)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(n,e),!e.noAccessor){let i=Symbol(),r=this.getPropertyDescriptor(n,i,e);r!==void 0&&mH(this.prototype,n,r)}}static getPropertyDescriptor(n,e,i){let{get:r,set:o}=fH(this.prototype,n)??{get(){return this[e]},set(a){this[e]=a}};return{get:r,set(a){let s=r?.call(this);o?.call(this,a),this.requestUpdate(n,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(n){return this.elementProperties.get(n)??gS}static _$Ei(){if(this.hasOwnProperty(sl("elementProperties")))return;let n=gH(this);n.finalize(),n.l!==void 0&&(this.l=[...n.l]),this.elementProperties=new Map(n.elementProperties)}static finalize(){if(this.hasOwnProperty(sl("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(sl("properties"))){let e=this.properties,i=[...hH(e),...pH(e)];for(let r of i)this.createProperty(r,e[r])}let n=this[Symbol.metadata];if(n!==null){let e=litPropertyMetadata.get(n);if(e!==void 0)for(let[i,r]of e)this.elementProperties.set(i,r)}this._$Eh=new Map;for(let[e,i]of this.elementProperties){let r=this._$Eu(e,i);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(n){let e=[];if(Array.isArray(n)){let i=new Set(n.flat(1/0).reverse());for(let r of i)e.unshift(Db(r))}else n!==void 0&&e.push(Db(n));return e}static _$Eu(n,e){let i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof n=="string"?n.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(n=>this.enableUpdating=n),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(n=>n(this))}addController(n){(this._$EO??=new Set).add(n),this.renderRoot!==void 0&&this.isConnected&&n.hostConnected?.()}removeController(n){this._$EO?.delete(n)}_$E_(){let n=new Map,e=this.constructor.elementProperties;for(let i of e.keys())this.hasOwnProperty(i)&&(n.set(i,this[i]),delete this[i]);n.size>0&&(this._$Ep=n)}createRenderRoot(){let n=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return hS(n,this.constructor.elementStyles),n}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(n=>n.hostConnected?.())}enableUpdating(n){}disconnectedCallback(){this._$EO?.forEach(n=>n.hostDisconnected?.())}attributeChangedCallback(n,e,i){this._$AK(n,i)}_$ET(n,e){let i=this.constructor.elementProperties.get(n),r=this.constructor._$Eu(n,i);if(r!==void 0&&i.reflect===!0){let o=(i.converter?.toAttribute!==void 0?i.converter:cl).toAttribute(e,i.type);this._$Em=n,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(n,e){let i=this.constructor,r=i._$Eh.get(n);if(r!==void 0&&this._$Em!==r){let o=i.getPropertyOptions(r),a=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:cl;this._$Em=r;let s=a.fromAttribute(e,o.type);this[r]=s??this._$Ej?.get(r)??s,this._$Em=null}}requestUpdate(n,e,i,r=!1,o){if(n!==void 0){let a=this.constructor;if(r===!1&&(o=this[n]),i??=a.getPropertyOptions(n),!((i.hasChanged??If)(o,e)||i.useDefault&&i.reflect&&o===this._$Ej?.get(n)&&!this.hasAttribute(a._$Eu(n,i))))return;this.C(n,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(n,e,{useDefault:i,reflect:r,wrapped:o},a){i&&!(this._$Ej??=new Map).has(n)&&(this._$Ej.set(n,a??e??this[n]),o!==!0||a!==void 0)||(this._$AL.has(n)||(this.hasUpdated||i||(e=void 0),this._$AL.set(n,e)),r===!0&&this._$Em!==n&&(this._$Eq??=new Set).add(n))}_$EP(){return ve(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(e){Promise.reject(e)}let n=this.scheduleUpdate();return n!=null&&(yield n),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,o]of this._$Ep)this[r]=o;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[r,o]of i){let{wrapped:a}=o,s=this[r];a!==!0||this._$AL.has(r)||s===void 0||this.C(r,void 0,o,s)}}let n=!1,e=this._$AL;try{n=this.shouldUpdate(e),n?(this.willUpdate(e),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(e)):this._$EM()}catch(i){throw n=!1,this._$EM(),i}n&&this._$AE(e)}willUpdate(n){}_$AE(n){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(n)),this.updated(n)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(n){return!0}update(n){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(n){}firstUpdated(n){}};Vi.elementStyles=[],Vi.shadowRootOptions={mode:"open"},Vi[sl("elementProperties")]=new Map,Vi[sl("finalized")]=new Map,vH?.({ReactiveElement:Vi}),(Ef.reactiveElementVersions??=[]).push("2.1.2");var Ab=globalThis,_S=t=>t,Mf=Ab.trustedTypes,vS=Mf?Mf.createPolicy("lit-html",{createHTML:t=>t}):void 0,DS="$lit$",vr=`lit$${Math.random().toFixed(9).slice(2)}$`,ES="?"+vr,bH=`<${ES}>`,yo=document,dl=()=>yo.createComment(""),ul=t=>t===null||typeof t!="object"&&typeof t!="function",Rb=Array.isArray,yH=t=>Rb(t)||typeof t?.[Symbol.iterator]=="function",Eb=`[
|
|
78
|
+
\f\r]`,ll=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bS=/-->/g,yS=/>/g,vo=RegExp(`>|${Eb}(?:([^\\s"'>=/]+)(${Eb}*=${Eb}*(?:[^
|
|
79
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),CS=/'/g,wS=/"/g,IS=/^(?:script|style|textarea|title)$/i,Ob=t=>(n,...e)=>({_$litType$:t,strings:n,values:e}),Co=Ob(1),nfe=Ob(2),ife=Ob(3),Hi=Symbol.for("lit-noChange"),gt=Symbol.for("lit-nothing"),xS=new WeakMap,bo=yo.createTreeWalker(yo,129);function MS(t,n){if(!Rb(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return vS!==void 0?vS.createHTML(n):n}var CH=(t,n)=>{let e=t.length-1,i=[],r,o=n===2?"<svg>":n===3?"<math>":"",a=ll;for(let s=0;s<e;s++){let c=t[s],l,u,m=-1,h=0;for(;h<c.length&&(a.lastIndex=h,u=a.exec(c),u!==null);)h=a.lastIndex,a===ll?u[1]==="!--"?a=bS:u[1]!==void 0?a=yS:u[2]!==void 0?(IS.test(u[2])&&(r=RegExp("</"+u[2],"g")),a=vo):u[3]!==void 0&&(a=vo):a===vo?u[0]===">"?(a=r??ll,m=-1):u[1]===void 0?m=-2:(m=a.lastIndex-u[2].length,l=u[1],a=u[3]===void 0?vo:u[3]==='"'?wS:CS):a===wS||a===CS?a=vo:a===bS||a===yS?a=ll:(a=vo,r=void 0);let f=a===vo&&t[s+1].startsWith("/>")?" ":"";o+=a===ll?c+bH:m>=0?(i.push(l),c.slice(0,m)+DS+c.slice(m)+vr+f):c+vr+(m===-2?s:f)}return[MS(t,o+(t[e]||"<?>")+(n===2?"</svg>":n===3?"</math>":"")),i]},ml=class t{constructor({strings:n,_$litType$:e},i){let r;this.parts=[];let o=0,a=0,s=n.length-1,c=this.parts,[l,u]=CH(n,e);if(this.el=t.createElement(l,i),bo.currentNode=this.el.content,e===2||e===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(r=bo.nextNode())!==null&&c.length<s;){if(r.nodeType===1){if(r.hasAttributes())for(let m of r.getAttributeNames())if(m.endsWith(DS)){let h=u[a++],f=r.getAttribute(m).split(vr),C=/([.?@])?(.*)/.exec(h);c.push({type:1,index:o,name:C[2],strings:f,ctor:C[1]==="."?Mb:C[1]==="?"?Sb:C[1]==="@"?Tb:qa}),r.removeAttribute(m)}else m.startsWith(vr)&&(c.push({type:6,index:o}),r.removeAttribute(m));if(IS.test(r.tagName)){let m=r.textContent.split(vr),h=m.length-1;if(h>0){r.textContent=Mf?Mf.emptyScript:"";for(let f=0;f<h;f++)r.append(m[f],dl()),bo.nextNode(),c.push({type:2,index:++o});r.append(m[h],dl())}}}else if(r.nodeType===8)if(r.data===ES)c.push({type:2,index:o});else{let m=-1;for(;(m=r.data.indexOf(vr,m+1))!==-1;)c.push({type:7,index:o}),m+=vr.length-1}o++}}static createElement(n,e){let i=yo.createElement("template");return i.innerHTML=n,i}};function Wa(t,n,e=t,i){if(n===Hi)return n;let r=i!==void 0?e._$Co?.[i]:e._$Cl,o=ul(n)?void 0:n._$litDirective$;return r?.constructor!==o&&(r?._$AO?.(!1),o===void 0?r=void 0:(r=new o(t),r._$AT(t,e,i)),i!==void 0?(e._$Co??=[])[i]=r:e._$Cl=r),r!==void 0&&(n=Wa(t,r._$AS(t,n.values),r,i)),n}var Ib=class{constructor(n,e){this._$AV=[],this._$AN=void 0,this._$AD=n,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(n){let{el:{content:e},parts:i}=this._$AD,r=(n?.creationScope??yo).importNode(e,!0);bo.currentNode=r;let o=bo.nextNode(),a=0,s=0,c=i[0];for(;c!==void 0;){if(a===c.index){let l;c.type===2?l=new fl(o,o.nextSibling,this,n):c.type===1?l=new c.ctor(o,c.name,c.strings,this,n):c.type===6&&(l=new kb(o,this,n)),this._$AV.push(l),c=i[++s]}a!==c?.index&&(o=bo.nextNode(),a++)}return bo.currentNode=yo,r}p(n){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(n,i,e),e+=i.strings.length-2):i._$AI(n[e])),e++}},fl=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(n,e,i,r){this.type=2,this._$AH=gt,this._$AN=void 0,this._$AA=n,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let n=this._$AA.parentNode,e=this._$AM;return e!==void 0&&n?.nodeType===11&&(n=e.parentNode),n}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(n,e=this){n=Wa(this,n,e),ul(n)?n===gt||n==null||n===""?(this._$AH!==gt&&this._$AR(),this._$AH=gt):n!==this._$AH&&n!==Hi&&this._(n):n._$litType$!==void 0?this.$(n):n.nodeType!==void 0?this.T(n):yH(n)?this.k(n):this._(n)}O(n){return this._$AA.parentNode.insertBefore(n,this._$AB)}T(n){this._$AH!==n&&(this._$AR(),this._$AH=this.O(n))}_(n){this._$AH!==gt&&ul(this._$AH)?this._$AA.nextSibling.data=n:this.T(yo.createTextNode(n)),this._$AH=n}$(n){let{values:e,_$litType$:i}=n,r=typeof i=="number"?this._$AC(n):(i.el===void 0&&(i.el=ml.createElement(MS(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{let o=new Ib(r,this),a=o.u(this.options);o.p(e),this.T(a),this._$AH=o}}_$AC(n){let e=xS.get(n.strings);return e===void 0&&xS.set(n.strings,e=new ml(n)),e}k(n){Rb(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,r=0;for(let o of n)r===e.length?e.push(i=new t(this.O(dl()),this.O(dl()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(n=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);n!==this._$AB;){let i=_S(n).nextSibling;_S(n).remove(),n=i}}setConnected(n){this._$AM===void 0&&(this._$Cv=n,this._$AP?.(n))}},qa=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(n,e,i,r,o){this.type=1,this._$AH=gt,this._$AN=void 0,this.element=n,this.name=e,this._$AM=r,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=gt}_$AI(n,e=this,i,r){let o=this.strings,a=!1;if(o===void 0)n=Wa(this,n,e,0),a=!ul(n)||n!==this._$AH&&n!==Hi,a&&(this._$AH=n);else{let s=n,c,l;for(n=o[0],c=0;c<o.length-1;c++)l=Wa(this,s[i+c],e,c),l===Hi&&(l=this._$AH[c]),a||=!ul(l)||l!==this._$AH[c],l===gt?n=gt:n!==gt&&(n+=(l??"")+o[c+1]),this._$AH[c]=l}a&&!r&&this.j(n)}j(n){n===gt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,n??"")}},Mb=class extends qa{constructor(){super(...arguments),this.type=3}j(n){this.element[this.name]=n===gt?void 0:n}},Sb=class extends qa{constructor(){super(...arguments),this.type=4}j(n){this.element.toggleAttribute(this.name,!!n&&n!==gt)}},Tb=class extends qa{constructor(n,e,i,r,o){super(n,e,i,r,o),this.type=5}_$AI(n,e=this){if((n=Wa(this,n,e,0)??gt)===Hi)return;let i=this._$AH,r=n===gt&&i!==gt||n.capture!==i.capture||n.once!==i.once||n.passive!==i.passive,o=n!==gt&&(i===gt||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,n),this._$AH=n}handleEvent(n){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,n):this._$AH.handleEvent(n)}},kb=class{constructor(n,e,i){this.element=n,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(n){Wa(this,n)}};var wH=Ab.litHtmlPolyfillSupport;wH?.(ml,fl),(Ab.litHtmlVersions??=[]).push("3.3.2");var SS=(t,n,e)=>{let i=e?.renderBefore??n,r=i._$litPart$;if(r===void 0){let o=e?.renderBefore??null;i._$litPart$=r=new fl(n.insertBefore(dl(),o),o,void 0,e??{})}return r._$AI(t),r};var Nb=globalThis,br=class extends Vi{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let n=super.createRenderRoot();return this.renderOptions.renderBefore??=n.firstChild,n}update(n){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(n),this._$Do=SS(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Hi}};br._$litElement$=!0,br.finalized=!0,Nb.litElementHydrateSupport?.({LitElement:br});var xH=Nb.litElementPolyfillSupport;xH?.({LitElement:br});(Nb.litElementVersions??=[]).push("4.2.2");var DH={attribute:!0,type:String,converter:cl,reflect:!1,hasChanged:If},EH=(t=DH,n,e)=>{let{kind:i,metadata:r}=e,o=globalThis.litPropertyMetadata.get(r);if(o===void 0&&globalThis.litPropertyMetadata.set(r,o=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),o.set(e.name,t),i==="accessor"){let{name:a}=e;return{set(s){let c=n.get.call(this);n.set.call(this,s),this.requestUpdate(a,c,t,!0,s)},init(s){return s!==void 0&&this.C(a,void 0,t,s),s}}}if(i==="setter"){let{name:a}=e;return function(s){let c=this[a];n.call(this,s),this.requestUpdate(a,c,t,!0,s)}}throw Error("Unsupported decorator location: "+i)};function Sf(t){return(n,e)=>typeof e=="object"?EH(t,n,e):((i,r,o)=>{let a=r.hasOwnProperty(o);return r.constructor.createProperty(o,i),a?Object.getOwnPropertyDescriptor(r,o):void 0})(t,n,e)}function Pb(t){return Sf(te(y({},t),{state:!0,attribute:!1}))}var Qa=(t,n,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof n!="object"&&Object.defineProperty(t,n,e),e);var IH;function TS(t){return(n,e)=>Qa(n,e,{get(){return(this.renderRoot??(IH??=document.createDocumentFragment())).querySelectorAll(t)}})}var kS={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},AS=t=>(...n)=>({_$litDirective$:t,values:n}),Tf=class{constructor(n){}get _$AU(){return this._$AM._$AU}_$AT(n,e,i){this._$Ct=n,this._$AM=e,this._$Ci=i}_$AS(n,e){return this.update(n,e)}update(n,e){return this.render(...e)}};var RS=AS(class extends Tf{constructor(t){if(super(t),t.type!==kS.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(n=>t[n]).join(" ")+" "}update(t,[n]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in n)n[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(n)}let e=t.element.classList;for(let i of this.st)i in n||(e.remove(i),this.st.delete(i));for(let i in n){let r=!!n[i];r===this.st.has(i)||this.nt?.has(i)||(r?(e.add(i),this.st.add(i)):(e.remove(i),this.st.delete(i)))}return Hi}});function*OS(t,n){if(t!==void 0){let e=0;for(let i of t)yield n(i,e++)}}function kf(t,n,e){return t?n(t):e?.(t)}var MH=Object.defineProperty,SH=Object.getOwnPropertyDescriptor,Rf=(t,n,e,i)=>{for(var r=i>1?void 0:i?SH(n,e):n,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(i?a(n,e,r):a(r))||r);return i&&r&&MH(n,e,r),r};function TH(t){return t instanceof RegExp}function Fb(t){return t===null?"null":Array.isArray(t)?"array":t.constructor.name.toLowerCase()}function hl(t){return t!==Object(t)}function kH(t,{nodeCount:n=3,maxLength:e=15}={}){let i=Array.isArray(t),r=Object.keys(t),o=r.slice(0,n),a=[],s=u=>{switch(Fb(u)){case"object":return Object.keys(u).length===0?"{ }":"{ ... }";case"array":return u.length===0?"[ ]":"[ ... ]";case"string":return`"${u.substring(0,e)}${u.length>e?"...":""}"`;default:return String(u)}},c=[];for(let u of o){let m=[],h=t[u];i||m.push(`${u}: `),m.push(s(h)),c.push(m.join(""))}r.length>n&&c.push("..."),a.push(c.join(", "));let l=a.join("");return i?`[ ${l} ]`:`{ ${l} }`}function*Bb(t){let n=[[t,"",[]]];for(;n.length;){let[e,i,r]=n.shift();if(i&&(yield[e,i,r]),!hl(e))for(let[o,a]of Object.entries(e))n.push([a,`${i}${i?".":""}${o}`,[...r,i]])}}function AH(t,n){let e=t.split("."),i=n.split("."),r=c=>c==="*",o=c=>c==="**",a=0,s=0;for(;a<e.length;){let c=i[s],l=e[a];if(c===l||r(c))s++,a++;else if(o(c))s++,a=e.length-(i.length-s);else return!1}return s===i.length}var RH={fromAttribute:t=>t&&t.trim()?JSON.parse(t):void 0,toAttribute:t=>JSON.stringify(t)},Lb=t=>t!==void 0,FS=(t,n)=>TH(n)?!!t.match(n):AH(t,n),OH=(t,n)=>n.split(".").reduce((e,i)=>e[i],t),NS=(t,n)=>e=>({expanded:te(y({},e.expanded),{[t]:Lb(n)?!!n:!e.expanded[t]})}),Af=(t,n)=>(e,i)=>{let r={};if(t)for(let[,o,a]of Bb(i.data))FS(o,t)&&(r[o]=n,a.forEach(s=>r[s]=n));return{expanded:r}},NH=t=>(n,e)=>{let i={};if(t)for(let[,r,o]of Bb(e.data))FS(r,t)?(i[r]=!1,o.forEach(a=>i[a]=!1)):i[r]=!0;return{filtered:i}},PH=()=>()=>({filtered:{}}),PS=t=>()=>({highlight:t}),FH=xb`
|
|
80
|
+
:where(:host) {
|
|
81
|
+
--background-color: #2a2f3a;
|
|
82
|
+
--color: #f8f8f2;
|
|
83
|
+
--string-color: #a3eea0;
|
|
84
|
+
--number-color: #d19a66;
|
|
85
|
+
--boolean-color: #4ba7ef;
|
|
86
|
+
--null-color: #df9cf3;
|
|
87
|
+
--property-color: #6fb3d2;
|
|
88
|
+
--preview-color: rgba(222, 175, 143, 0.9);
|
|
89
|
+
--highlight-color: #c92a2a;
|
|
90
|
+
--outline-color: #e0e4e5;
|
|
91
|
+
--outline-width: 1px;
|
|
92
|
+
--outline-style: dotted;
|
|
93
|
+
|
|
94
|
+
--font-family: Nimbus Mono PS, Courier New, monospace;
|
|
95
|
+
--font-size: 1rem;
|
|
96
|
+
--line-height: 1.2rem;
|
|
97
|
+
|
|
98
|
+
--indent-size: 0.5rem;
|
|
99
|
+
--indentguide-size: 1px;
|
|
100
|
+
--indentguide-style: solid;
|
|
101
|
+
--indentguide-color: #495057;
|
|
102
|
+
--indentguide-color-active: #ced4da;
|
|
103
|
+
--indentguide: var(--indentguide-size) var(--indentguide-style) var(--indentguide-color);
|
|
104
|
+
--indentguide-active: var(--indentguide-size) var(--indentguide-style) var(--indentguide-color-active);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:host {
|
|
108
|
+
display: block;
|
|
109
|
+
background-color: var(--background-color);
|
|
110
|
+
color: var(--color);
|
|
111
|
+
font-family: var(--font-family);
|
|
112
|
+
font-size: var(--font-size);
|
|
113
|
+
line-height: var(--line-height);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:focus {
|
|
117
|
+
outline-color: var(--outline-color);
|
|
118
|
+
outline-width: var(--outline-width);
|
|
119
|
+
outline-style: var(--outline-style);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.preview {
|
|
123
|
+
color: var(--preview-color);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.null {
|
|
127
|
+
color: var(--null-color);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.key {
|
|
131
|
+
color: var(--property-color);
|
|
132
|
+
display: inline-flex;
|
|
133
|
+
align-items: flex-start;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.collapsable::before {
|
|
137
|
+
display: inline-flex;
|
|
138
|
+
font-size: 0.8em;
|
|
139
|
+
content: '▶';
|
|
140
|
+
width: var(--line-height);
|
|
141
|
+
height: var(--line-height);
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
|
|
145
|
+
transition: transform 195ms ease-out;
|
|
146
|
+
transform: rotate(90deg);
|
|
147
|
+
|
|
148
|
+
color: inherit;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.collapsable--collapsed::before {
|
|
152
|
+
transform: rotate(0);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.collapsable {
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
user-select: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.string {
|
|
161
|
+
color: var(--string-color);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.number {
|
|
165
|
+
color: var(--number-color);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.boolean {
|
|
169
|
+
color: var(--boolean-color);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
ul {
|
|
173
|
+
padding: 0;
|
|
174
|
+
clear: both;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
ul,
|
|
178
|
+
li {
|
|
179
|
+
list-style: none;
|
|
180
|
+
position: relative;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
li ul > li {
|
|
184
|
+
position: relative;
|
|
185
|
+
margin-left: calc(var(--indent-size) + var(--line-height));
|
|
186
|
+
padding-left: 0px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
ul ul::before {
|
|
190
|
+
content: '';
|
|
191
|
+
border-left: var(--indentguide);
|
|
192
|
+
position: absolute;
|
|
193
|
+
left: calc(var(--line-height) / 2 - var(--indentguide-size));
|
|
194
|
+
top: 0.2rem;
|
|
195
|
+
bottom: 0.2rem;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
ul ul:hover::before {
|
|
199
|
+
border-left: var(--indentguide-active);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
mark {
|
|
203
|
+
background-color: var(--highlight-color);
|
|
204
|
+
}
|
|
205
|
+
`,Za=class extends br{constructor(){super(),this.state={expanded:{},filtered:{},highlight:null},this.lastFocusedItem=null,this.#n=n=>e=>{e.preventDefault(),this.setState(NS(n))},this.#e=n=>{let e=n.target;n.target===this&&this.#i(this.lastFocusedItem||this.nodeElements[0]),e.matches('[role="treeitem"]')&&(this.lastFocusedItem&&(this.lastFocusedItem.tabIndex=-1),this.lastFocusedItem=e,this.tabIndex=-1,e.tabIndex=0)},this.#t=n=>{let e=n.relatedTarget;(!e||!this.contains(e))&&(this.tabIndex=0)},this.addEventListener("focusin",this.#e),this.addEventListener("focusout",this.#t)}static{this.styles=[FH]}static customRenderer(n,e){return JSON.stringify(n)}setState(n){return ve(this,null,function*(){let e=this.state;this.state=y(y({},e),n(e,this))})}connectedCallback(){!this.hasAttribute("data")&&!Lb(this.data)&&this.setAttribute("data",this.innerText),this.setAttribute("role","node"),this.setAttribute("tabindex","0"),super.connectedCallback()}#n;#e;#t;#r(n){if(!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Home","End"].includes(n.key))return;let e=[...this.nodeElements],i=this.matches(":dir(ltr)"),r=this.matches(":dir(rtl)");if(e.length>0){n.preventDefault();let o=e.findIndex(m=>m.matches(":focus")),a=e[o],s=this.state.expanded[a.dataset.path],c=hl(OH(this.data,a.dataset.path)),l=m=>{let h=e[Math.max(Math.min(m,e.length-1),0)];this.#i(h)},u=m=>{this.setState(NS(a.dataset.path,m))};n.key==="ArrowDown"?l(o+1):n.key==="ArrowUp"?l(o-1):i&&n.key==="ArrowRight"||r&&n.key==="ArrowLeft"?!a||s||c?l(o+1):u(!0):i&&n.key==="ArrowLeft"||r&&n.key==="ArrowRight"?!a||!s||c?l(o-1):u(!1):n.key==="Home"?l(0):n.key==="End"&&l(e.length-1)}}#i(n){n.focus()}expand(n){this.setState(Af(n,!0))}expandAll(){this.setState(Af("**",!0))}collapseAll(){this.setState(Af("**",!1))}collapse(n){this.setState(Af(n,!1))}*search(n){for(let[e,i]of Bb(this.data))hl(e)&&String(e).match(n)&&(this.expand(i),this.updateComplete.then(()=>{let r=this.shadowRoot.querySelector(`[data-path="${i}"]`);r.scrollIntoView({behavior:"smooth",inline:"center",block:"center"}),r.focus()}),this.setState(PS(i)),yield{value:e,path:i});this.setState(PS(null))}filter(n){this.setState(NH(n))}resetFilter(){this.setState(PH())}renderObject(n,e){return Co`
|
|
206
|
+
<ul part="object" role="group">
|
|
207
|
+
${OS(Object.entries(n),([i,r])=>{let o=e?`${e}.${i}`:i,a=hl(r),s=this.state.expanded[o];return this.state.filtered[o]?gt:Co`
|
|
208
|
+
<li
|
|
209
|
+
part="property"
|
|
210
|
+
role="treeitem"
|
|
211
|
+
data-path="${o}"
|
|
212
|
+
aria-expanded="${s?"true":"false"}"
|
|
213
|
+
tabindex="-1"
|
|
214
|
+
.hidden="${this.state.filtered[o]}"
|
|
215
|
+
aria-hidden="${this.state.filtered[o]}"
|
|
216
|
+
>
|
|
217
|
+
<span
|
|
218
|
+
part="key"
|
|
219
|
+
class="${RS({key:i,collapsable:!a,"collapsable--collapsed":!this.state.expanded[o]})}"
|
|
220
|
+
@click="${a?null:this.#n(o)}"
|
|
221
|
+
>
|
|
222
|
+
${i}:
|
|
223
|
+
${kf(!a&&!s,()=>this.renderNodePreview(r))}
|
|
224
|
+
</span>
|
|
225
|
+
|
|
226
|
+
${kf(a||s,()=>this.renderValue(r,o))}
|
|
227
|
+
</li>
|
|
228
|
+
`})}
|
|
229
|
+
</ul>
|
|
230
|
+
`}renderValue(n,e=""){return hl(n)?this.renderPrimitive(n,e):this.renderObject(n,e)}renderNodePreview(n){return Co`<span part="preview" class="preview"> ${kH(n)} </span>`}renderPrimitive(n,e){let i=this.state.highlight,r=Fb(n),o=this.constructor.customRenderer(n,e),a=Co`
|
|
231
|
+
<span part="primitive primitive-${r}" class="${Fb(n)}"> ${o} </span>
|
|
232
|
+
`;return e===i?Co`<mark part="highlight">${a}</mark>`:a}render(){let n=this.data;return Co`
|
|
233
|
+
<div
|
|
234
|
+
part="base"
|
|
235
|
+
@keydown=${this.#r}
|
|
236
|
+
@focusin="${this.#e}"
|
|
237
|
+
@focusout="${this.#t}"
|
|
238
|
+
>
|
|
239
|
+
${kf(Lb(n),()=>this.renderValue(n))}
|
|
240
|
+
</div>
|
|
241
|
+
`}};Rf([Sf({converter:RH,type:Object})],Za.prototype,"data",2);Rf([Pb()],Za.prototype,"state",2);Rf([Pb()],Za.prototype,"lastFocusedItem",2);Rf([TS('[role="treeitem"]')],Za.prototype,"nodeElements",2);customElements.define("json-viewer",Za);h_(wf,iE).catch(t=>console.error(t));
|