gns3-server/gns3server/static/web-ui/chunk-72DGZVTL.js
2026-07-09 08:40:05 +02:00

16 lines
540 KiB
JavaScript

var vS=Object.create;var Na=Object.defineProperty,yS=Object.defineProperties,bS=Object.getOwnPropertyDescriptor,_S=Object.getOwnPropertyDescriptors,DS=Object.getOwnPropertyNames,Ra=Object.getOwnPropertySymbols,ES=Object.getPrototypeOf,Cd=Object.prototype.hasOwnProperty,Ev=Object.prototype.propertyIsEnumerable;var Dv=(t,n,e)=>n in t?Na(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,g=(t,n)=>{for(var e in n||={})Cd.call(n,e)&&Dv(t,e,n[e]);if(Ra)for(var e of Ra(n))Ev.call(n,e)&&Dv(t,e,n[e]);return t},F=(t,n)=>yS(t,_S(n));var wS=(t,n)=>{var e={};for(var r in t)Cd.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&Ra)for(var r of Ra(t))n.indexOf(r)<0&&Ev.call(t,r)&&(e[r]=t[r]);return e};var yL=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),bL=(t,n)=>{for(var e in n)Na(t,e,{get:n[e],enumerable:!0})},CS=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of DS(n))!Cd.call(t,i)&&i!==e&&Na(t,i,{get:()=>n[i],enumerable:!(r=bS(n,i))||r.enumerable});return t};var _L=(t,n,e)=>(e=t!=null?vS(ES(t)):{},CS(n||!t||!t.__esModule?Na(e,"default",{value:t,enumerable:!0}):e,t));function R(t){return typeof t=="function"}function Zn(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Oa=Zn(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
${e.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function wr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var G=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:r}=this;if(R(r))try{r()}catch(o){n=o instanceof Oa?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{wv(o)}catch(s){n=n??[],s instanceof Oa?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Oa(n)}}add(n){var e;if(n&&n!==this)if(this.closed)wv(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)}};G.EMPTY=(()=>{let t=new G;return t.closed=!0,t})();var Id=G.EMPTY;function ka(t){return t instanceof G||t&&"closed"in t&&R(t.remove)&&R(t.add)&&R(t.unsubscribe)}function wv(t){R(t)?t():t.unsubscribe()}var Nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var yi={setTimeout(t,n,...e){let{delegate:r}=yi;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=yi;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Fa(t){yi.setTimeout(()=>{let{onUnhandledError:n}=Nt;if(n)n(t);else throw t})}function Cr(){}var Cv=Sd("C",void 0,void 0);function Iv(t){return Sd("E",void 0,t)}function Sv(t){return Sd("N",t,void 0)}function Sd(t,n,e){return{kind:t,value:n,error:e}}var Ir=null;function bi(t){if(Nt.useDeprecatedSynchronousErrorHandling){let n=!Ir;if(n&&(Ir={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=Ir;if(Ir=null,e)throw r}}else t()}function Mv(t){Nt.useDeprecatedSynchronousErrorHandling&&Ir&&(Ir.errorThrown=!0,Ir.error=t)}var Sr=class extends G{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ka(n)&&n.add(this)):this.destination=MS}static create(n,e,r){return new Ot(n,e,r)}next(n){this.isStopped?Td(Sv(n),this):this._next(n)}error(n){this.isStopped?Td(Iv(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Td(Cv,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()}}},IS=Function.prototype.bind;function Md(t,n){return IS.call(t,n)}var xd=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){Pa(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){Pa(r)}else Pa(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Pa(e)}}},Ot=class extends Sr{constructor(n,e,r){super();let i;if(R(n)||!n)i={next:n??void 0,error:e??void 0,complete:r??void 0};else{let o;this&&Nt.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Md(n.next,o),error:n.error&&Md(n.error,o),complete:n.complete&&Md(n.complete,o)}):i=n}this.destination=new xd(i)}};function Pa(t){Nt.useDeprecatedSynchronousErrorHandling?Mv(t):Fa(t)}function SS(t){throw t}function Td(t,n){let{onStoppedNotification:e}=Nt;e&&yi.setTimeout(()=>e(t,n))}var MS={closed:!0,next:Cr,error:SS,complete:Cr};var _i=typeof Symbol=="function"&&Symbol.observable||"@@observable";function st(t){return t}function Ad(...t){return Rd(t)}function Rd(t){return t.length===0?st:t.length===1?t[0]:function(e){return t.reduce((r,i)=>i(r),e)}}var O=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,i){let o=xS(e)?e:new Ot(e,r,i);return bi(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=Tv(r),new r((i,o)=>{let s=new Ot({next:a=>{try{e(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[_i](){return this}pipe(...e){return Rd(e)(this)}toPromise(e){return e=Tv(e),new e((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=n=>new t(n),t})();function Tv(t){var n;return(n=t??Nt.Promise)!==null&&n!==void 0?n:Promise}function TS(t){return t&&R(t.next)&&R(t.error)&&R(t.complete)}function xS(t){return t&&t instanceof Sr||TS(t)&&ka(t)}var xv=Zn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var S=(()=>{class t extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new La(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new xv}next(e){bi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){bi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){bi(()=>{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:r,isStopped:i,observers:o}=this;return r||i?Id:(this.currentObservers=null,o.push(e),new G(()=>{this.currentObservers=null,wr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:i,isStopped:o}=this;r?e.error(i):o&&e.complete()}asObservable(){let e=new O;return e.source=this,e}}return t.create=(n,e)=>new La(n,e),t})(),La=class extends S{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.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,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:Id}};function Nd(t){return R(t?.lift)}function k(t){return n=>{if(Nd(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(t,n,e,r,i){return new Od(t,n,e,r,i)}var Od=class extends Sr{constructor(n,e,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(c){n.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Rv(t,n,e,r){function i(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((r=r.apply(t,n||[])).next())})}function Av(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Mr(t){return this instanceof Mr?(this.v=t,this):new Mr(t)}function Nv(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(i[p]=function(_){return new Promise(function(E,I){o.push([p,_,E,I])>1||c(p,_)})},m&&(i[p]=m(i[p])))}function c(p,m){try{l(r[p](m))}catch(_){h(o[0][3],_)}}function l(p){p.value instanceof Mr?Promise.resolve(p.value.v).then(u,d):h(o[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),o.shift(),o.length&&c(o[0][0],o[0][1])}}function Ov(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 Av=="function"?Av(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Di=t=>t&&typeof t.length=="number"&&typeof t!="function";function ja(t){return R(t?.then)}function Va(t){return R(t[_i])}function Ba(t){return Symbol.asyncIterator&&R(t?.[Symbol.asyncIterator])}function Ua(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 AS(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ha=AS();function $a(t){return R(t?.[Ha])}function za(t){return Nv(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:i}=yield Mr(e.read());if(i)return yield Mr(void 0);yield yield Mr(r)}}finally{e.releaseLock()}})}function Ga(t){return R(t?.getReader)}function Y(t){if(t instanceof O)return t;if(t!=null){if(Va(t))return RS(t);if(Di(t))return NS(t);if(ja(t))return OS(t);if(Ba(t))return kv(t);if($a(t))return kS(t);if(Ga(t))return FS(t)}throw Ua(t)}function RS(t){return new O(n=>{let e=t[_i]();if(R(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function NS(t){return new O(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function OS(t){return new O(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Fa)})}function kS(t){return new O(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function kv(t){return new O(n=>{PS(t,n).catch(e=>n.error(e))})}function FS(t){return kv(za(t))}function PS(t,n){var e,r,i,o;return Rv(this,void 0,void 0,function*(){try{for(e=Ov(t);r=yield e.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=e.return)&&(yield o.call(e))}finally{if(i)throw i.error}}n.complete()})}function at(t){return k((n,e)=>{Y(t).subscribe(N(e,()=>e.complete(),Cr)),!e.closed&&n.subscribe(e)})}function Fv(){return k((t,n)=>{let e=null;t._refCount++;let r=N(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let i=t._connection,o=e;e=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});t.subscribe(r),r.closed||(e=t.connect())})}var ko=class extends O{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Nd(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 G;let e=this.getSubject();n.add(this.source.subscribe(N(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=G.EMPTY)}return n}refCount(){return Fv()(this)}};var Ei={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:r}=Ei;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);let i=n(o=>{e=void 0,t(o)});return new G(()=>e?.(i))},requestAnimationFrame(...t){let{delegate:n}=Ei;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Ei;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Ie=class extends S{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:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Fo={now(){return(Fo.delegate||Date).now()},delegate:void 0};var Po=class extends S{constructor(n=1/0,e=1/0,r=Fo){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=r,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:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;e||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){let s=e.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Wa=class extends G{constructor(n,e){super()}schedule(n,e=0){return this}};var Lo={setInterval(t,n,...e){let{delegate:r}=Lo;return r?.setInterval?r.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Lo;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Kn=class extends Wa{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var r;if(this.closed)return this;this.state=n;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,r=0){return Lo.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,e,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return e;e!=null&&Lo.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,e);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r=!1,i;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,wr(r,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var LS=1,kd,Fd={};function Pv(t){return t in Fd?(delete Fd[t],!0):!1}var Lv={setImmediate(t){let n=LS++;return Fd[n]=!0,kd||(kd=Promise.resolve()),kd.then(()=>Pv(n)&&t()),n},clearImmediate(t){Pv(t)}};var{setImmediate:jS,clearImmediate:VS}=Lv,jo={setImmediate(...t){let{delegate:n}=jo;return(n?.setImmediate||jS)(...t)},clearImmediate(t){let{delegate:n}=jo;return(n?.clearImmediate||VS)(t)},delegate:void 0};var qa=class extends Kn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=jo.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:o}=n;e!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==e&&(jo.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var wi=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,r){return new this.schedulerActionCtor(this,n).schedule(r,e)}};wi.now=Fo.now;var Qn=class extends wi{constructor(n,e=wi.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,r){for(;n=e.shift();)n.unsubscribe();throw r}}};var Ya=class extends Qn{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:r}=this,i;n=n||r.shift();do if(i=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,i){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw i}}};var Pd=new Ya(qa);var kt=new Qn(Kn),jv=kt;var Za=class extends Kn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=Ei.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:o}=n;e!=null&&e===n._scheduled&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==e&&(Ei.cancelAnimationFrame(e),n._scheduled=void 0)}};var Ka=class extends Qn{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:r}=this,i;n=n||r.shift();do if(i=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,i){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw i}}};var Ld=new Ka(Za);var Se=new O(t=>t.complete());function Qa(t){return t&&R(t.schedule)}function jd(t){return t[t.length-1]}function Xa(t){return R(jd(t))?t.pop():void 0}function tn(t){return Qa(jd(t))?t.pop():void 0}function Vv(t,n){return typeof jd(t)=="number"?t.pop():n}function $e(t,n,e,r=0,i=!1){let o=n.schedule(function(){e(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function Ja(t,n=0){return k((e,r)=>{e.subscribe(N(r,i=>$e(r,t,()=>r.next(i),n),()=>$e(r,t,()=>r.complete(),n),i=>$e(r,t,()=>r.error(i),n)))})}function ec(t,n=0){return k((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function Bv(t,n){return Y(t).pipe(ec(n),Ja(n))}function Uv(t,n){return Y(t).pipe(ec(n),Ja(n))}function Hv(t,n){return new O(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function $v(t,n){return new O(e=>{let r;return $e(e,n,()=>{r=t[Ha](),$e(e,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){e.error(s);return}o?e.complete():e.next(i)},0,!0)}),()=>R(r?.return)&&r.return()})}function tc(t,n){if(!t)throw new Error("Iterable cannot be null");return new O(e=>{$e(e,n,()=>{let r=t[Symbol.asyncIterator]();$e(e,n,()=>{r.next().then(i=>{i.done?e.complete():e.next(i.value)})},0,!0)})})}function zv(t,n){return tc(za(t),n)}function Gv(t,n){if(t!=null){if(Va(t))return Bv(t,n);if(Di(t))return Hv(t,n);if(ja(t))return Uv(t,n);if(Ba(t))return tc(t,n);if($a(t))return $v(t,n);if(Ga(t))return zv(t,n)}throw Ua(t)}function se(t,n){return n?Gv(t,n):Y(t)}function T(...t){let n=tn(t);return se(t,n)}function Tr(t,n){let e=R(t)?t:()=>t,r=i=>i.error(e());return new O(n?i=>n.schedule(r,0,i):r)}function Ft(t){return!!t&&(t instanceof O||R(t.lift)&&R(t.subscribe))}var In=Zn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function BS(t,n){let e=typeof n=="object";return new Promise((r,i)=>{let o=new Ot({next:s=>{r(s),o.unsubscribe()},error:i,complete:()=>{e?r(n.defaultValue):i(new In)}});t.subscribe(o)})}function nc(t){return t instanceof Date&&!isNaN(t)}var US=Zn(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function HS(t,n){let{first:e,each:r,with:i=$S,scheduler:o=n??kt,meta:s=null}=nc(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&r==null)throw new TypeError("No timeout provided.");return k((a,c)=>{let l,u,d=null,h=0,p=m=>{u=$e(c,o,()=>{try{l.unsubscribe(),Y(i({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(_){c.error(_)}},m)};l=a.subscribe(N(c,m=>{u?.unsubscribe(),h++,c.next(d=m),r>0&&p(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!h&&p(e!=null?typeof e=="number"?e:+e-o.now():r)})}function $S(t){throw new US(t)}function H(t,n){return k((e,r)=>{let i=0;e.subscribe(N(r,o=>{r.next(t.call(n,o,i++))}))})}var{isArray:zS}=Array;function GS(t,n){return zS(n)?t(...n):t(n)}function Ci(t){return H(n=>GS(t,n))}var{isArray:WS}=Array,{getPrototypeOf:qS,prototype:YS,keys:ZS}=Object;function rc(t){if(t.length===1){let n=t[0];if(WS(n))return{args:n,keys:null};if(KS(n)){let e=ZS(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function KS(t){return t&&typeof t=="object"&&qS(t)===YS}function ic(t,n){return t.reduce((e,r,i)=>(e[r]=n[i],e),{})}function Ii(...t){let n=tn(t),e=Xa(t),{args:r,keys:i}=rc(t);if(r.length===0)return se([],n);let o=new O(QS(r,n,i?s=>ic(i,s):st));return e?o.pipe(Ci(e)):o}function QS(t,n,e=st){return r=>{Wv(n,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c<i;c++)Wv(n,()=>{let l=se(t[c],n),u=!1;l.subscribe(N(r,d=>{o[c]=d,u||(u=!0,a--),a||r.next(e(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Wv(t,n,e){t?$e(e,t,n):n()}function qv(t,n,e,r,i,o,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=_=>l<r?m(_):c.push(_),m=_=>{o&&n.next(_),l++;let E=!1;Y(e(_,u++)).subscribe(N(n,I=>{i?.(I),o?p(I):n.next(I)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let I=c.shift();s?$e(n,s,()=>m(I)):m(I)}h()}catch(I){n.error(I)}}))};return t.subscribe(N(n,p,()=>{d=!0,h()})),()=>{a?.()}}function ve(t,n,e=1/0){return R(n)?ve((r,i)=>H((o,s)=>n(r,o,i,s))(Y(t(r,i))),e):(typeof n=="number"&&(e=n),k((r,i)=>qv(r,i,t,e)))}function nn(t=1/0){return ve(st,t)}function Yv(){return nn(1)}function rn(...t){return Yv()(se(t,tn(t)))}function Vo(t){return new O(n=>{Y(t()).subscribe(n)})}function Vd(...t){let n=Xa(t),{args:e,keys:r}=rc(t),i=new O(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;Y(e[u]).subscribe(N(o,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(r?ic(r,a):a),o.complete())}))}});return n?i.pipe(Ci(n)):i}var XS=["addListener","removeListener"],JS=["addEventListener","removeEventListener"],eM=["on","off"];function Bd(t,n,e,r){if(R(e)&&(r=e,e=void 0),r)return Bd(t,n,e).pipe(Ci(r));let[i,o]=rM(t)?JS.map(s=>a=>t[s](n,a,e)):tM(t)?XS.map(Zv(t,n)):nM(t)?eM.map(Zv(t,n)):[];if(!i&&Di(t))return ve(s=>Bd(s,n,e))(Y(t));if(!i)throw new TypeError("Invalid event target");return new O(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return i(a),()=>o(a)})}function Zv(t,n){return e=>r=>t[e](n,r)}function tM(t){return R(t.addListener)&&R(t.removeListener)}function nM(t){return R(t.on)&&R(t.off)}function rM(t){return R(t.addEventListener)&&R(t.removeEventListener)}function xr(t=0,n,e=jv){let r=-1;return n!=null&&(Qa(n)?e=n:r=n),new O(i=>{let o=nc(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function iM(t=0,n=kt){return t<0&&(t=0),xr(t,t,n)}function oM(...t){let n=tn(t),e=Vv(t,1/0),r=t;return r.length?r.length===1?Y(r[0]):nn(e)(se(r,n)):Se}function fe(t,n){return k((e,r)=>{let i=0;e.subscribe(N(r,o=>t.call(n,o,i++)&&r.next(o)))})}function Kv(t){return k((n,e)=>{let r=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;let l=i;i=null,e.next(l)}s&&e.complete()},c=()=>{o=null,s&&e.complete()};n.subscribe(N(e,l=>{r=!0,i=l,o||Y(t(l)).subscribe(o=N(e,a,c))},()=>{s=!0,(!r||!o||o.closed)&&e.complete()}))})}function Bo(t,n=kt){return Kv(()=>xr(t,n))}function on(t){return k((n,e)=>{let r=null,i=!1,o;r=n.subscribe(N(e,void 0,void 0,s=>{o=Y(t(s,on(t)(n))),r?(r.unsubscribe(),r=null,o.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(e))})}function Qv(t,n,e,r,i){return(o,s)=>{let a=e,c=n,l=0;o.subscribe(N(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function Ud(t,n){return k(Qv(t,n,arguments.length>=2,!1,!0))}function Xn(t,n){return R(n)?ve(t,n,1):ve(t,1)}function sM(t){return Ud((n,e,r)=>!t||t(e,r)?n+1:n,0)}function Ar(t,n=kt){return k((e,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,r.next(l)}};function c(){let l=s+t,u=n.now();if(u<l){i=this.schedule(void 0,l-u),r.add(i);return}a()}e.subscribe(N(r,l=>{o=l,s=n.now(),i||(i=n.schedule(c,t),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function Xv(t){return k((n,e)=>{let r=!1;n.subscribe(N(e,i=>{r=!0,e.next(i)},()=>{r||e.next(t),e.complete()}))})}function Be(t){return t<=0?()=>Se:k((n,e)=>{let r=0;n.subscribe(N(e,i=>{++r<=t&&(e.next(i),t<=r&&e.complete())}))})}function Jv(){return k((t,n)=>{t.subscribe(N(n,Cr))})}function Hd(t){return H(()=>t)}function $d(t,n){return n?e=>rn(n.pipe(Be(1),Jv()),e.pipe($d(t))):ve((e,r)=>Y(t(e,r)).pipe(Be(1),Hd(e)))}function aM(t,n=kt){let e=xr(t,n);return $d(()=>e)}function Si(t,n=st){return t=t??cM,k((e,r)=>{let i,o=!0;e.subscribe(N(r,s=>{let a=n(s);(o||!t(i,a))&&(o=!1,i=a,r.next(s))}))})}function cM(t,n){return t===n}function ey(t=lM){return k((n,e)=>{let r=!1;n.subscribe(N(e,i=>{r=!0,e.next(i)},()=>r?e.complete():e.error(t())))})}function lM(){return new In}function Mi(t){return k((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Sn(t,n){let e=arguments.length>=2;return r=>r.pipe(t?fe((i,o)=>t(i,o,r)):st,Be(1),e?Xv(n):ey(()=>new In))}function oc(t){return t<=0?()=>Se:k((n,e)=>{let r=[];n.subscribe(N(e,i=>{r.push(i),t<r.length&&r.shift()},()=>{for(let i of r)e.next(i);e.complete()},void 0,()=>{r=null}))})}function ty(){return k((t,n)=>{let e,r=!1;t.subscribe(N(n,i=>{let o=e;e=i,r&&n.next([o,i]),r=!0}))})}function Gd(t={}){let{connector:n=()=>new S,resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let _=s;p(),_?.unsubscribe()};return k((_,E)=>{l++,!d&&!u&&h();let I=c=c??n();E.add(()=>{l--,l===0&&!d&&!u&&(a=zd(m,i))}),I.subscribe(E),!s&&l>0&&(s=new Ot({next:ee=>I.next(ee),error:ee=>{d=!0,h(),a=zd(p,e,ee),I.error(ee)},complete:()=>{u=!0,h(),a=zd(p,r),I.complete()}}),Y(_).subscribe(s))})(o)}}function zd(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new Ot({next:()=>{r.unsubscribe(),t()}});return Y(n(...e)).subscribe(r)}function ny(t,n,e){let r,i=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:i=!1,scheduler:e}=t:r=t??1/0,Gd({connector:()=>new Po(r,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Uo(t){return fe((n,e)=>t<=e)}function Rr(...t){let n=tn(t);return k((e,r)=>{(n?rn(t,e,n):rn(t,e)).subscribe(r)})}function Ue(t,n){return k((e,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();e.subscribe(N(r,c=>{i?.unsubscribe();let l=0,u=o++;Y(t(c,u)).subscribe(i=N(r,d=>r.next(n?n(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Wd(t,n=!1){return k((e,r)=>{let i=0;e.subscribe(N(r,o=>{let s=t(o,i++);(s||n)&&r.next(o),!s&&r.complete()}))})}function nt(t,n,e){let r=R(t)||n||e?{next:t,error:n,complete:e}:t;return r?k((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(N(o,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),o.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),o.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):st}var ze=null,sc=!1,qd=1,uM=null,pe=Symbol("SIGNAL");function x(t){let n=ze;return ze=t,n}function ac(){return ze}var Jn={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 Mn(t){if(sc)throw new Error("");if(ze===null)return;ze.consumerOnSignalRead(t);let n=ze.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=ze.recomputing;if(r&&(e=n!==void 0?n.nextProducer:ze.producers,e!==void 0&&e.producer===t)){ze.producersTail=e,e.lastReadVersion=t.version;return}let i=t.consumersTail;if(i!==void 0&&i.consumer===ze&&(!r||fM(i,ze)))return;let o=Ai(ze),s={producer:t,consumer:ze,nextProducer:e,prevConsumer:i,lastReadVersion:t.version,nextConsumer:void 0};ze.producersTail=s,n!==void 0?n.nextProducer=s:ze.producers=s,o&&sy(t,s)}function ry(){qd++}function kr(t){if(!(Ai(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===qd)){if(!t.producerMustRecompute(t)&&!xi(t)){Ti(t);return}t.producerRecomputeValue(t),Ti(t)}}function Yd(t){if(t.consumers===void 0)return;let n=sc;sc=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||dM(r)}}finally{sc=n}}function Zd(){return ze?.consumerAllowSignalWrites!==!1}function dM(t){t.dirty=!0,Yd(t),t.consumerMarkedDirty?.(t)}function Ti(t){t.dirty=!1,t.lastCleanEpoch=qd}function Tn(t){return t&&iy(t),x(t)}function iy(t){t.producersTail=void 0,t.recomputing=!0}function er(t,n){x(n),t&&oy(t)}function oy(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Ai(t))do e=Kd(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function xi(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(kr(e),r!==e.version))return!0}return!1}function tr(t){if(Ai(t)){let n=t.producers;for(;n!==void 0;)n=Kd(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function sy(t,n){let e=t.consumersTail,r=Ai(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,!r)for(let i=t.producers;i!==void 0;i=i.nextProducer)sy(i.producer,i)}function Kd(t){let n=t.producer,e=t.nextProducer,r=t.nextConsumer,i=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=i:n.consumersTail=i,i!==void 0)i.nextConsumer=r;else if(n.consumers=r,!Ai(n)){let o=n.producers;for(;o!==void 0;)o=Kd(o)}return e}function Ai(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Ho(t){uM?.(t)}function fM(t,n){let e=n.producersTail;if(e!==void 0){let r=n.producers;do{if(r===t)return!0;if(r===e)break;r=r.nextProducer}while(r!==void 0)}return!1}function $o(t,n){return Object.is(t,n)}function zo(t,n){let e=Object.create(hM);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(kr(e),Mn(e),e.value===sn)throw e.error;return e.value};return r[pe]=e,Ho(e),r}var Nr=Symbol("UNSET"),Or=Symbol("COMPUTING"),sn=Symbol("ERRORED"),hM=F(g({},Jn),{value:Nr,dirty:!0,error:null,equal:$o,kind:"computed",producerMustRecompute(t){return t.value===Nr||t.value===Or},producerRecomputeValue(t){if(t.value===Or)throw new Error("");let n=t.value;t.value=Or;let e=Tn(t),r,i=!1;try{r=t.computation(),x(null),i=n!==Nr&&n!==sn&&r!==sn&&t.equal(n,r)}catch(o){r=sn,t.error=o}finally{er(t,e)}if(i){t.value=n;return}t.value=r,t.version++}});function pM(){throw new Error}var ay=pM;function cy(t){ay(t)}function Qd(t){ay=t}var mM=null;function Xd(t,n){let e=Object.create(Go);e.value=t,n!==void 0&&(e.equal=n);let r=()=>ly(e);return r[pe]=e,Ho(e),[r,s=>nr(e,s),s=>cc(e,s)]}function ly(t){return Mn(t),t.value}function nr(t,n){Zd()||cy(t),t.equal(t.value,n)||(t.value=n,gM(t))}function cc(t,n){Zd()||cy(t),nr(t,n(t.value))}var Go=F(g({},Jn),{equal:$o,value:void 0,kind:"signal"});function gM(t){t.version++,ry(),Yd(t),mM?.(t)}var Jd=F(g({},Jn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ef(t){if(t.dirty=!1,t.version>0&&!xi(t))return;t.version++;let n=Tn(t);try{t.cleanup(),t.fn()}finally{er(t,n)}}var tf;function lc(){return tf}function an(t){let n=tf;return tf=t,n}var uy=Symbol("NotFound");function Ri(t){return t===uy||t?.name==="\u0275NotFound"}function nf(t,n,e){let r=Object.create(vM);r.source=t,r.computation=n,e!=null&&(r.equal=e);let o=()=>{if(kr(r),Mn(r),r.value===sn)throw r.error;return r.value};return o[pe]=r,Ho(r),o}function dy(t,n){kr(t),nr(t,n),Ti(t)}function fy(t,n){if(kr(t),t.value===sn)throw t.error;cc(t,n),Ti(t)}var vM=F(g({},Jn),{value:Nr,dirty:!0,error:null,equal:$o,kind:"linkedSignal",producerMustRecompute(t){return t.value===Nr||t.value===Or},producerRecomputeValue(t){if(t.value===Or)throw new Error("");let n=t.value;t.value=Or;let e=Tn(t),r,i=!1;try{let o=t.source(),s=n!==Nr&&n!==sn,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(o,a),t.sourceValue=o,x(null),i=s&&r!==sn&&t.equal(n,r)}catch(o){r=sn,t.error=o}finally{er(t,e)}if(i){t.value=n;return}t.value=r,t.version++}});function hy(t){let n=x(null);try{return t()}finally{x(n)}}var gc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,e){super(Dt(n,e)),this.code=n}};function yM(t){return`NG0${Math.abs(t)}`}function Dt(t,n){return`${yM(t)}${n?": "+n:""}`}var ye=globalThis;function ne(t){for(let n in t)if(t[n]===ne)return n;throw Error("")}function yy(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Xo(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Xo).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 r=e.indexOf(`
`);return r>=0?e.slice(0,r):e}function vc(t,n){return t?n?`${t} ${n}`:t:n||""}var bM=ne({__forward_ref__:ne});function be(t){return t.__forward_ref__=be,t}function Me(t){return gf(t)?t():t}function gf(t){return typeof t=="function"&&t.hasOwnProperty(bM)&&t.__forward_ref__===be}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Z(t){return{providers:t.providers||[],imports:t.imports||[]}}function Jo(t){return _M(t,yc)}function vf(t){return Jo(t)!==null}function _M(t,n){return t.hasOwnProperty(n)&&t[n]||null}function DM(t){let n=t?.[yc]??null;return n||null}function of(t){return t&&t.hasOwnProperty(dc)?t[dc]:null}var yc=ne({\u0275prov:ne}),dc=ne({\u0275inj:ne}),y=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=v({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function yf(t){return t&&!!t.\u0275providers}var bf=ne({\u0275cmp:ne}),_f=ne({\u0275dir:ne}),Df=ne({\u0275pipe:ne}),Ef=ne({\u0275mod:ne}),qo=ne({\u0275fac:ne}),Vr=ne({__NG_ELEMENT_ID__:ne}),py=ne({__NG_ENV_ID__:ne});function wf(t){return _c(t,"@NgModule"),t[Ef]||null}function ln(t){return _c(t,"@Component"),t[bf]||null}function bc(t){return _c(t,"@Directive"),t[_f]||null}function by(t){return _c(t,"@Pipe"),t[Df]||null}function _c(t,n){if(t==null)throw new b(-919,!1)}function un(t){return typeof t=="string"?t:t==null?"":String(t)}var _y=ne({ngErrorCode:ne}),EM=ne({ngErrorMessage:ne}),wM=ne({ngTokenPath:ne});function Cf(t,n){return Dy("",-200,n)}function Dc(t,n){throw new b(-201,!1)}function Dy(t,n,e){let r=new b(n,t);return r[_y]=n,r[EM]=t,e&&(r[wM]=e),r}function CM(t){return t[_y]}var sf;function Ey(){return sf}function Ke(t){let n=sf;return sf=t,n}function If(t,n,e){let r=Jo(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&8)return null;if(n!==void 0)return n;Dc(t,"")}var IM={},Fr=IM,SM="__NG_DI_FLAG__",af=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=Pr(e)||0;try{return this.injector.get(n,r&8?null:Fr,r)}catch(i){if(Ri(i))return i;throw i}}};function MM(t,n=0){let e=lc();if(e===void 0)throw new b(-203,!1);if(e===null)return If(t,void 0,n);{let r=TM(n),i=e.retrieve(t,r);if(Ri(i)){if(r.optional)return null;throw i}return i}}function w(t,n=0){return(Ey()||MM)(Me(t),n)}function f(t,n){return w(t,Pr(n))}function Pr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function TM(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function cf(t){let n=[];for(let e=0;e<t.length;e++){let r=Me(t[e]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let i,o=0;for(let s=0;s<r.length;s++){let a=r[s],c=xM(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a}n.push(w(i,o))}else n.push(w(r))}return n}function xM(t){return t[SM]}function rr(t,n){let e=t.hasOwnProperty(qo);return e?t[qo]:null}function wy(t,n,e){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(e&&(i=e(i),o=e(o)),o!==i)return!1}return!0}function Cy(t){return t.flat(Number.POSITIVE_INFINITY)}function Ec(t,n){t.forEach(e=>Array.isArray(e)?Ec(e,n):n(e))}function Sf(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function es(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Iy(t,n){let e=[];for(let r=0;r<t;r++)e.push(n);return e}function Sy(t,n,e,r){let i=t.length;if(i==n)t.push(e,r);else if(i===1)t.push(r,t[0]),t[0]=e;else{for(i--,t.push(t[i-1],t[i]);i>n;){let o=i-2;t[i]=t[o],i--}t[n]=e,t[n+1]=r}}function wc(t,n,e){let r=Oi(t,n);return r>=0?t[r|1]=e:(r=~r,Sy(t,r,n,e)),r}function Cc(t,n){let e=Oi(t,n);if(e>=0)return t[e|1]}function Oi(t,n){return AM(t,n,1)}function AM(t,n,e){let r=0,i=t.length>>e;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<e];if(n===s)return o<<e;s>n?i=o:r=o+1}return~(i<<e)}var Pt={},Ge=[],Br=new y(""),Mf=new y("",-1),Tf=new y(""),Yo=class{get(n,e=Fr){if(e===Fr){let i=Dy("",-201);throw i.name="\u0275NotFound",i}return e}};function sr(t){return{\u0275providers:t}}function My(...t){return{\u0275providers:xf(!0,t),\u0275fromNgModule:!0}}function xf(t,...n){let e=[],r=new Set,i,o=s=>{e.push(s)};return Ec(n,s=>{let a=s;fc(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Ty(i,o),e}function Ty(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:i}=t[e];Af(i,o=>{n(o,r)})}}function fc(t,n,e,r){if(t=Me(t),!t)return!1;let i=null,o=of(t),s=!o&&ln(t);if(!o&&!s){let c=t.ngModule;if(o=of(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)fc(l,n,e,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;Ec(o.imports,u=>{fc(u,n,e,r)&&(l||=[],l.push(u))}),l!==void 0&&Ty(l,n)}if(!a){let l=rr(i)||(()=>new i);n({provide:i,useFactory:l,deps:Ge},i),n({provide:Tf,useValue:i,multi:!0},i),n({provide:Br,useValue:()=>w(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=t;Af(c,u=>{n(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function Af(t,n){for(let e of t)yf(e)&&(e=e.\u0275providers),Array.isArray(e)?Af(e,n):n(e)}var RM=ne({provide:String,useValue:ne});function xy(t){return t!==null&&typeof t=="object"&&RM in t}function NM(t){return!!(t&&t.useExisting)}function OM(t){return!!(t&&t.useFactory)}function Lr(t){return typeof t=="function"}function Ay(t){return!!t.useClass}var ts=new y(""),uc={},my={},rf;function ki(){return rf===void 0&&(rf=new Yo),rf}var re=class{},jr=class extends re{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,i){super(),this.parent=e,this.source=r,this.scopes=i,uf(n,s=>this.processProvider(s)),this.records.set(Mf,Ni(void 0,this)),i.has("environment")&&this.records.set(re,Ni(void 0,this));let o=this.records.get(ts);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Tf,Ge,{self:!0}))}retrieve(n,e){let r=Pr(e)||0;try{return this.get(n,Fr,r)}catch(i){if(Ri(i))return i;throw i}}destroy(){Wo(this),this._destroyed=!0;let n=x(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),x(n)}}onDestroy(n){return Wo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Wo(this);let e=an(this),r=Ke(void 0),i;try{return n()}finally{an(e),Ke(r)}}get(n,e=Fr,r){if(Wo(this),n.hasOwnProperty(py))return n[py](this);let i=Pr(r),o,s=an(this),a=Ke(void 0);try{if(!(i&4)){let l=this.records.get(n);if(l===void 0){let u=jM(n)&&Jo(n);u&&this.injectableDefInScope(u)?l=Ni(lf(n),uc):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,i)}let c=i&2?ki():this.parent;return e=i&8&&e===Fr?null:e,c.get(n,e)}catch(c){let l=CM(c);throw l===-200||l===-201?new b(l,null):c}finally{Ke(a),an(s)}}resolveInjectorInitializers(){let n=x(null),e=an(this),r=Ke(void 0),i;try{let o=this.get(Br,Ge,{self:!0});for(let s of o)s()}finally{an(e),Ke(r),x(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=Me(n);let e=Lr(n)?n:Me(n&&n.provide),r=FM(n);if(!Lr(n)&&n.multi===!0){let i=this.records.get(e);i||(i=Ni(void 0,uc,!0),i.factory=()=>cf(i.multi),this.records.set(e,i)),e=n,i.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let i=x(null);try{if(e.value===my)throw Cf("");return e.value===uc&&(e.value=my,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&LM(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{x(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Me(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 lf(t){let n=Jo(t),e=n!==null?n.factory:rr(t);if(e!==null)return e;if(t instanceof y)throw new b(-204,!1);if(t instanceof Function)return kM(t);throw new b(-204,!1)}function kM(t){if(t.length>0)throw new b(-204,!1);let e=DM(t);return e!==null?()=>e.factory(t):()=>new t}function FM(t){if(xy(t))return Ni(void 0,t.useValue);{let n=Rf(t);return Ni(n,uc)}}function Rf(t,n,e){let r;if(Lr(t)){let i=Me(t);return rr(i)||lf(i)}else if(xy(t))r=()=>Me(t.useValue);else if(OM(t))r=()=>t.useFactory(...cf(t.deps||[]));else if(NM(t))r=(i,o)=>w(Me(t.useExisting),o!==void 0&&o&8?8:void 0);else{let i=Me(t&&(t.useClass||t.provide));if(PM(t))r=()=>new i(...cf(t.deps));else return rr(i)||lf(i)}return r}function Wo(t){if(t.destroyed)throw new b(-205,!1)}function Ni(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function PM(t){return!!t.deps}function LM(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function jM(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function uf(t,n){for(let e of t)Array.isArray(e)?uf(e,n):e&&yf(e)?uf(e.\u0275providers,n):n(e)}function xe(t,n){let e;t instanceof jr?(Wo(t),e=t):e=new af(t);let r,i=an(e),o=Ke(void 0);try{return n()}finally{an(i),Ke(o)}}function Nf(){return Ey()!==void 0||lc()!=null}var Lt=0,A=1,P=2,Te=3,Et=4,Qe=5,Ur=6,Fi=7,me=8,An=9,jt=10,oe=11,Pi=12,Of=13,Hr=14,We=15,ar=16,$r=17,dn=18,Rn=19,kf=20,xn=21,Ic=22,ir=23,ct=24,zr=25,cr=26,le=27,Ry=1,Ff=6,lr=7,ns=8,Gr=9,ge=10;function Nn(t){return Array.isArray(t)&&typeof t[Ry]=="object"}function Vt(t){return Array.isArray(t)&&t[Ry]===!0}function Pf(t){return(t.flags&4)!==0}function fn(t){return t.componentOffset>-1}function Li(t){return(t.flags&1)===1}function Bt(t){return!!t.template}function ji(t){return(t[P]&512)!==0}function Wr(t){return(t[P]&256)===256}var Lf="svg",Ny="math";function wt(t){for(;Array.isArray(t);)t=t[Lt];return t}function jf(t,n){return wt(n[t])}function Ct(t,n){return wt(n[t.index])}function Sc(t,n){return t.data[n]}function rs(t,n){return t[n]}function Vf(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function It(t,n){let e=n[t];return Nn(e)?e:e[Lt]}function Oy(t){return(t[P]&4)===4}function Mc(t){return(t[P]&128)===128}function ky(t){return Vt(t[Te])}function lt(t,n){return n==null?null:t[n]}function Bf(t){t[$r]=0}function Uf(t){t[P]&1024||(t[P]|=1024,Mc(t)&&qr(t))}function Fy(t,n){for(;t>0;)n=n[Hr],t--;return n}function is(t){return!!(t[P]&9216||t[ct]?.dirty)}function Tc(t){t[jt].changeDetectionScheduler?.notify(8),t[P]&64&&(t[P]|=1024),is(t)&&qr(t)}function qr(t){t[jt].changeDetectionScheduler?.notify(0);let n=or(t);for(;n!==null&&!(n[P]&8192||(n[P]|=8192,!Mc(n)));)n=or(n)}function Hf(t,n){if(Wr(t))throw new b(911,!1);t[xn]===null&&(t[xn]=[]),t[xn].push(n)}function Py(t,n){if(t[xn]===null)return;let e=t[xn].indexOf(n);e!==-1&&t[xn].splice(e,1)}function or(t){let n=t[Te];return Vt(n)?n[Te]:n}function $f(t){return t[Fi]??=[]}function zf(t){return t.cleanup??=[]}function Ly(t,n,e,r){let i=$f(n);i.push(e),t.firstCreatePass&&zf(t).push(r,i.length-1)}var B={lFrame:Ky(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var df=!1;function jy(){return B.lFrame.elementDepthCount}function Vy(){B.lFrame.elementDepthCount++}function Gf(){B.lFrame.elementDepthCount--}function xc(){return B.bindingsEnabled}function Wf(){return B.skipHydrationRootTNode!==null}function qf(t){return B.skipHydrationRootTNode===t}function Yf(){B.skipHydrationRootTNode=null}function C(){return B.lFrame.lView}function ce(){return B.lFrame.tView}function By(t){return B.lFrame.contextLView=t,t[me]}function Uy(t){return B.lFrame.contextLView=null,t}function Ee(){let t=Zf();for(;t!==null&&t.type===64;)t=t.parent;return t}function Zf(){return B.lFrame.currentTNode}function Hy(){let t=B.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Vi(t,n){let e=B.lFrame;e.currentTNode=t,e.isParent=n}function Kf(){return B.lFrame.isParent}function Qf(){B.lFrame.isParent=!1}function $y(){return B.lFrame.contextLView}function Xf(){return df}function Zo(t){let n=df;return df=t,n}function hn(){let t=B.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Jf(){return B.lFrame.bindingIndex}function zy(t){return B.lFrame.bindingIndex=t}function On(){return B.lFrame.bindingIndex++}function os(t){let n=B.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function Gy(){return B.lFrame.inI18n}function Wy(t,n){let e=B.lFrame;e.bindingIndex=e.bindingRootIndex=t,Ac(n)}function qy(){return B.lFrame.currentDirectiveIndex}function Ac(t){B.lFrame.currentDirectiveIndex=t}function Yy(t){let n=B.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Rc(){return B.lFrame.currentQueryIndex}function ss(t){B.lFrame.currentQueryIndex=t}function VM(t){let n=t[A];return n.type===2?n.declTNode:n.type===1?t[Qe]:null}function eh(t,n,e){if(e&4){let i=n,o=t;for(;i=i.parent,i===null&&!(e&1);)if(i=VM(o),i===null||(o=o[Hr],i.type&10))break;if(i===null)return!1;n=i,t=o}let r=B.lFrame=Zy();return r.currentTNode=n,r.lView=t,!0}function Nc(t){let n=Zy(),e=t[A];B.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Zy(){let t=B.lFrame,n=t===null?null:t.child;return n===null?Ky(t):n}function Ky(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 Qy(){let t=B.lFrame;return B.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var th=Qy;function Oc(){let t=Qy();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 Xy(t){return(B.lFrame.contextLView=Fy(t,B.lFrame.contextLView))[me]}function Ut(){return B.lFrame.selectedIndex}function ur(t){B.lFrame.selectedIndex=t}function Bi(){let t=B.lFrame;return Sc(t.tView,t.selectedIndex)}function Jy(){B.lFrame.currentNamespace=Lf}function eb(){BM()}function BM(){B.lFrame.currentNamespace=null}function tb(){return B.lFrame.currentNamespace}var nb=!0;function kc(){return nb}function as(t){nb=t}function ff(t,n=null,e=null,r){let i=nh(t,n,e,r);return i.resolveInjectorInitializers(),i}function nh(t,n=null,e=null,r,i=new Set){let o=[e||Ge,My(t)],s;return new jr(o,n||ki(),s||null,i)}var $=class t{static THROW_IF_NOT_FOUND=Fr;static NULL=new Yo;static create(n,e){if(Array.isArray(n))return ff({name:""},e,n,"");{let r=n.name??"";return ff({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:t,providedIn:"any",factory:()=>w(Mf)});static __NG_ELEMENT_ID__=-1},L=new y(""),Ae=(()=>{class t{static __NG_ELEMENT_ID__=UM;static __NG_ENV_ID__=e=>e}return t})(),hc=class extends Ae{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Wr(this._lView)}onDestroy(n){let e=this._lView;return Hf(e,n),()=>Py(e,n)}};function UM(){return new hc(C())}var rb=!1,ib=new y(""),kn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ie(!1);debugTaskTracker=f(ib,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O(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=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),hf=class extends S{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Nf()&&(this.destroyRef=f(Ae,{optional:!0})??void 0,this.pendingTasks=f(kn,{optional:!0})??void 0)}emit(n){let e=x(null);try{super.next(n)}finally{x(e)}}subscribe(n,e,r){let i=n,o=e||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return n instanceof G&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},U=hf;function pc(...t){}function rh(t){let n,e;function r(){t=pc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function ob(t){return queueMicrotask(()=>t()),()=>{t=pc}}var ih="isAngularZone",Ko=ih+"_ID",HM=0,j=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new U(!1);onMicrotaskEmpty=new U(!1);onStable=new U(!1);onError=new U(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=rb}=n;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,GM(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ih)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new b(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,$M,pc,pc);try{return o.runTask(s,e,r)}finally{o.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},$M={};function oh(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 zM(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){rh(()=>{t.callbackScheduled=!1,pf(t),t.isCheckStableRunning=!0,oh(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),pf(t)}function GM(t){let n=()=>{zM(t)},e=HM++;t._inner=t._inner.fork({name:"angular",properties:{[ih]:!0,[Ko]:e,[Ko+e]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(WM(c))return r.invokeTask(o,s,a,c);try{return gy(t),r.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),vy(t)}},onInvoke:(r,i,o,s,a,c,l)=>{try{return gy(t),r.invoke(o,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!qM(c)&&n(),vy(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,pf(t),oh(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function pf(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function gy(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vy(t){t._nesting--,oh(t)}var Qo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new U;onMicrotaskEmpty=new U;onStable=new U;onError=new U;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,i){return n.apply(e,r)}};function WM(t){return sb(t,"__ignore_ng_zone__")}function qM(t){return sb(t,"__scheduler_tick__")}function sb(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var _t=class{_console=console;handleError(n){this._console.error("ERROR",n)}},ut=new y("",{factory:()=>{let t=f(j),n=f(re),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(_t),e.handleError(r))})}}}),ab={provide:Br,useValue:()=>{let t=f(_t,{optional:!0})},multi:!0};function W(t,n){let[e,r,i]=Xd(t,n?.equal),o=e,s=o[pe];return o.set=r,o.update=i,o.asReadonly=cs.bind(o),o}function cs(){let t=this[pe];if(t.readonlyFn===void 0){let n=()=>this();n[pe]=t,t.readonlyFn=n}return t.readonlyFn}var Ui=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=YM}return t})();function YM(){return new Ui(C(),Ee())}var cn=class{},ls=new y("",{factory:()=>!0});var sh=new y(""),Hi=(()=>{class t{internalPendingTasks=f(kn);scheduler=f(cn);errorHandler=f(ut);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let r=this.add();e().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Fc=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new mf})}return t})(),mf=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,r=this.queues.get(e);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,r]of this.queues)e===null?n||=this.flushQueue(r):n||=e.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,e=!0,r.run());return e}},mc=class{[pe];constructor(n){this[pe]=n}destroy(){this[pe].destroy()}};function $i(t,n){let e=n?.injector??f($),r=n?.manualCleanup!==!0?e.get(Ae):null,i,o=e.get(Ui,null,{optional:!0}),s=e.get(cn);return o!==null?(i=QM(o.view,s,t),r instanceof hc&&r._lView===o.view&&(r=null)):i=XM(t,e.get(Fc),s),i.injector=e,r!==null&&(i.onDestroyFns=[r.onDestroy(()=>i.destroy())]),new mc(i)}var cb=F(g({},Jd),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=Zo(!1);try{ef(this)}finally{Zo(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=x(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],x(t)}}}),ZM=F(g({},cb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(tr(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),KM=F(g({},cb),{consumerMarkedDirty(){this.view[P]|=8192,qr(this.view),this.notifier.notify(13)},destroy(){if(tr(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[ir]?.delete(this)}});function QM(t,n,e){let r=Object.create(KM);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=lb(r,e),t[ir]??=new Set,t[ir].add(r),r.consumerMarkedDirty(r),r}function XM(t,n,e){let r=Object.create(ZM);return r.fn=lb(r,t),r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function lb(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function Ds(t){return{toString:t}.toString()}function iT(t){return typeof t=="function"}function Wb(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var Gc=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},Re=(()=>{let t=()=>qb;return t.ngInherit=!0,t})();function qb(t){return t.type.prototype.ngOnChanges&&(t.setInput=sT),oT}function oT(){let t=Zb(this),n=t?.current;if(n){let e=t.previous;if(e===Pt)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function sT(t,n,e,r,i){let o=this.declaredInputs[r],s=Zb(t)||aT(t,{previous:Pt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new Gc(l&&l.currentValue,e,c===Pt),Wb(t,n,i,e)}var Yb="__ngSimpleChanges__";function Zb(t){return t[Yb]||null}function aT(t,n){return t[Yb]=n}var ub=[];var ie=function(t,n=null,e){for(let r=0;r<ub.length;r++){let i=ub[r];i(t,n,e)}},K=(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})(K||{});function cT(t,n,e){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){let s=qb(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}i&&(e.preOrderHooks??=[]).push(0-t,i),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Kb(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e<r;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),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 Bc(t,n,e){Qb(t,n,3,e)}function Uc(t,n,e,r){(t[P]&3)===e&&Qb(t,n,e,r)}function ah(t,n){let e=t[P];(e&3)===n&&(e&=16383,e+=1,t[P]=e)}function Qb(t,n,e,r){let i=r!==void 0?t[$r]&65535:0,o=r??-1,s=n.length-1,a=0;for(let c=i;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(t[$r]+=65536),(a<o||o==-1)&&(lT(t,e,n,c),t[$r]=(t[$r]&4294901760)+c+2),c++}function db(t,n){ie(K.LifecycleHookStart,t,n);let e=x(null);try{n.call(t)}finally{x(e),ie(K.LifecycleHookEnd,t,n)}}function lT(t,n,e,r){let i=e[r]<0,o=e[r+1],s=i?-e[r]:e[r],a=t[s];i?t[P]>>14<t[$r]>>16&&(t[P]&3)===n&&(t[P]+=16384,db(a,o)):db(a,o)}var Gi=-1,Zr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r,i){this.factory=n,this.name=i,this.canSeeViewProviders=e,this.injectImpl=r}};function uT(t){return(t.flags&8)!==0}function dT(t){return(t.flags&16)!==0}function fT(t,n,e){let r=0;for(;r<e.length;){let i=e[r];if(typeof i=="number"){if(i!==0)break;r++;let o=e[r++],s=e[r++],a=e[r++];t.setAttribute(n,s,a,o)}else{let o=i,s=e[++r];hT(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),r++}}return r}function Xb(t){return t===3||t===4||t===6}function hT(t){return t.charCodeAt(0)===64}function Wi(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let r=0;r<n.length;r++){let i=n[r];typeof i=="number"?e=i:e===0||(e===-1||e===2?fb(t,e,i,null,n[++r]):fb(t,e,i,null,null))}}return t}function fb(t,n,e,r,i){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){i!==null&&(t[o+1]=i);return}o++,i!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),i!==null&&t.splice(o++,0,i)}function Jb(t){return t!==Gi}function Wc(t){return t&32767}function pT(t){return t>>16}function qc(t,n){let e=pT(t),r=n;for(;e>0;)r=r[Hr],e--;return r}var yh=!0;function Yc(t){let n=yh;return yh=t,n}var mT=256,e_=mT-1,t_=5,gT=0,pn={};function vT(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(Vr)&&(r=e[Vr]),r==null&&(r=e[Vr]=gT++);let i=r&e_,o=1<<i;n.data[t+(i>>t_)]|=o}function Zc(t,n){let e=n_(t,n);if(e!==-1)return e;let r=n[A];r.firstCreatePass&&(t.injectorIndex=n.length,ch(r.data,t),ch(n,null),ch(r.blueprint,null));let i=np(t,n),o=t.injectorIndex;if(Jb(i)){let s=Wc(i),a=qc(i,n),c=a[A].data;for(let l=0;l<8;l++)n[o+l]=a[s+l]|c[s+l]}return n[o+8]=i,o}function ch(t,n){t.push(0,0,0,0,0,0,0,0,n)}function n_(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function np(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,i=n;for(;i!==null;){if(r=a_(i),r===null)return Gi;if(e++,i=i[Hr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return Gi}function bh(t,n,e){vT(t,n,e)}function yT(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,i=0;for(;i<r;){let o=e[i];if(Xb(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof e[i]=="string";)i++;else{if(o===n)return e[i+1];i=i+2}}}return null}function r_(t,n,e){if(e&8||t!==void 0)return t;Dc(n,"NodeInjector")}function i_(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let i=t[An],o=Ke(void 0);try{return i?i.get(n,r,e&8):If(n,r,e&8)}finally{Ke(o)}}return r_(r,n,e)}function o_(t,n,e,r=0,i){if(t!==null){if(n[P]&2048&&!(r&2)){let s=ET(t,n,e,r,pn);if(s!==pn)return s}let o=s_(t,n,e,r,pn);if(o!==pn)return o}return i_(n,e,r,i)}function s_(t,n,e,r,i){let o=_T(e);if(typeof o=="function"){if(!eh(n,t,r))return r&1?r_(i,e,r):i_(n,e,r,i);try{let s;if(s=o(r),s==null&&!(r&8))Dc(e);else return s}finally{th()}}else if(typeof o=="number"){let s=null,a=n_(t,n),c=Gi,l=r&1?n[We][Qe]:null;for((a===-1||r&4)&&(c=a===-1?np(t,n):n[a+8],c===Gi||!pb(r,!1)?a=-1:(s=n[A],a=Wc(c),n=qc(c,n)));a!==-1;){let u=n[A];if(hb(o,a,u.data)){let d=bT(a,n,e,s,r,l);if(d!==pn)return d}c=n[a+8],c!==Gi&&pb(r,n[A].data[a+8]===l)&&hb(o,a,n)?(s=u,a=Wc(c),n=qc(c,n)):a=-1}}return i}function bT(t,n,e,r,i,o){let s=n[A],a=s.data[t+8],c=r==null?fn(a)&&yh:r!=s&&(a.type&3)!==0,l=i&1&&o===a,u=Hc(a,s,e,c,l);return u!==null?ps(n,s,u,a,i):pn}function Hc(t,n,e,r,i){let o=t.providerIndexes,s=n.data,a=o&1048575,c=t.directiveStart,l=t.directiveEnd,u=o>>20,d=r?a:a+u,h=i?a+u:l;for(let p=d;p<h;p++){let m=s[p];if(p<c&&e===m||p>=c&&m.type===e)return p}if(i){let p=s[c];if(p&&Bt(p)&&p.type===e)return c}return null}function ps(t,n,e,r,i){let o=t[e],s=n.data;if(o instanceof Zr){let a=o;if(a.resolving)throw Cf("");let c=Yc(a.canSeeViewProviders);a.resolving=!0;let l=s[e].type||s[e],u,d=a.injectImpl?Ke(a.injectImpl):null,h=eh(t,r,0);try{o=t[e]=a.factory(void 0,i,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&cT(e,s[e],n)}finally{d!==null&&Ke(d),Yc(c),a.resolving=!1,th()}}return o}function _T(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Vr)?t[Vr]:void 0;return typeof n=="number"?n>=0?n&e_:DT:n}function hb(t,n,e){let r=1<<t;return!!(e[n+(t>>t_)]&r)}function pb(t,n){return!(t&2)&&!(t&1&&n)}var Yr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return o_(this._tNode,this._lView,n,Pr(r),e)}};function DT(){return new Yr(Ee(),C())}function Ne(t){return Ds(()=>{let n=t.prototype.constructor,e=n[qo]||_h(n),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[qo]||_h(i);if(o&&o!==e)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function _h(t){return gf(t)?()=>{let n=_h(Me(t));return n&&n()}:rr(t)}function ET(t,n,e,r,i){let o=t,s=n;for(;o!==null&&s!==null&&s[P]&2048&&!ji(s);){let a=s_(o,s,e,r|2,pn);if(a!==pn)return a;let c=o.parent;if(!c){let l=s[kf];if(l){let u=l.get(e,pn,r&-5);if(u!==pn)return u}c=a_(s),s=s[Hr]}o=c}return i}function a_(t){let n=t[A],e=n.type;return e===2?n.declTNode:e===1?t[Qe]:null}function Es(t){return yT(Ee(),t)}function wT(){return Qi(Ee(),C())}function Qi(t,n){return new z(Ct(t,n))}var z=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=wT}return t})();function c_(t){return t instanceof z?t.nativeElement:t}function CT(){return this._results[Symbol.iterator]()}var Fn=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 S}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 r=Cy(n);(this._changesDetected=!wy(this._results,r,e))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=CT};function l_(t){return(t.flags&128)===128}var rp=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(rp||{}),u_=new Map,IT=0;function ST(){return IT++}function MT(t){u_.set(t[Rn],t)}function Dh(t){u_.delete(t[Rn])}var mb="__ngContext__";function qi(t,n){Nn(n)?(t[mb]=n[Rn],MT(n)):t[mb]=n}function d_(t){return h_(t[Pi])}function f_(t){return h_(t[Et])}function h_(t){for(;t!==null&&!Vt(t);)t=t[Et];return t}var Eh;function ip(t){Eh=t}function p_(){if(Eh!==void 0)return Eh;if(typeof document<"u")return document;throw new b(210,!1)}var hr=new y("",{factory:()=>TT}),TT="ng";var ll=new y(""),Xr=new y("",{providedIn:"platform",factory:()=>"unknown"}),ws=new y(""),Xi=new y("",{factory:()=>f(L).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var m_="r";var g_="di";var v_=!1,y_=new y("",{factory:()=>v_});var ul=new y("");var xT=(t,n,e,r)=>{};function AT(t,n,e,r){xT(t,n,e,r)}function dl(t){return(t.flags&32)===32}var RT=()=>null;function b_(t,n,e=!1){return RT(t,n,e)}function __(t,n){let e=t.contentQueries;if(e!==null){let r=x(null);try{for(let i=0;i<e.length;i+=2){let o=e[i],s=e[i+1];if(s!==-1){let a=t.data[s];ss(o),a.contentQueries(2,n[s],s)}}}finally{x(r)}}}function wh(t,n,e){ss(0);let r=x(null);try{n(t,e)}finally{x(r)}}function op(t,n,e){if(Pf(n)){let r=x(null);try{let i=n.directiveStart,o=n.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let c=e[s];a.contentQueries(1,c,s)}}}finally{x(r)}}}var zt=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(zt||{});var Pc;function NT(){if(Pc===void 0&&(Pc=null,ye.trustedTypes))try{Pc=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Pc}function fl(t){return NT()?.createHTML(t)||t}var Lc;function D_(){if(Lc===void 0&&(Lc=null,ye.trustedTypes))try{Lc=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Lc}function gb(t){return D_()?.createHTML(t)||t}function vb(t){return D_()?.createScriptURL(t)||t}var Pn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${gc})`}},Ch=class extends Pn{getTypeName(){return"HTML"}},Ih=class extends Pn{getTypeName(){return"Style"}},Sh=class extends Pn{getTypeName(){return"Script"}},Mh=class extends Pn{getTypeName(){return"URL"}},Th=class extends Pn{getTypeName(){return"ResourceURL"}};function ft(t){return t instanceof Pn?t.changingThisBreaksApplicationSecurity:t}function gn(t,n){let e=E_(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${gc})`)}return e===n}function E_(t){return t instanceof Pn&&t.getTypeName()||null}function sp(t){return new Ch(t)}function ap(t){return new Ih(t)}function cp(t){return new Sh(t)}function lp(t){return new Mh(t)}function up(t){return new Th(t)}function OT(t){let n=new Ah(t);return kT()?new xh(n):n}var xh=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(fl(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Ah=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=fl(n),e}};function kT(){try{return!!new window.DOMParser().parseFromString(fl(""),"text/html")}catch{return!1}}var FT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Cs(t){return t=String(t),t.match(FT)?t:"unsafe:"+t}function Ln(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Is(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var w_=Ln("area,br,col,hr,img,wbr"),C_=Ln("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),I_=Ln("rp,rt"),PT=Is(I_,C_),LT=Is(C_,Ln("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")),jT=Is(I_,Ln("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")),yb=Is(w_,LT,jT,PT),S_=Ln("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VT=Ln("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"),BT=Ln("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"),UT=Is(S_,VT,BT),HT=Ln("script,style,template");var Rh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,i=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){i.push(e),e=GT(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=zT(e);if(o){e=o;break}e=i.pop()}}return this.buf.join("")}startElement(n){let e=bb(n).toLowerCase();if(!yb.hasOwnProperty(e))return this.sanitizedSomething=!0,!HT.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let i=0;i<r.length;i++){let o=r.item(i),s=o.name,a=s.toLowerCase();if(!UT.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;S_[a]&&(c=Cs(c)),this.buf.push(" ",s,'="',_b(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=bb(n).toLowerCase();yb.hasOwnProperty(e)&&!w_.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(_b(n))}};function $T(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function zT(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw M_(n);return n}function GT(t){let n=t.firstChild;if(n&&$T(t,n))throw M_(n);return n}function bb(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function M_(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var WT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qT=/([^\#-~ |!])/g;function _b(t){return t.replace(/&/g,"&amp;").replace(WT,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(qT,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var jc;function hl(t,n){let e=null;try{jc=jc||OT(t);let r=n?String(n):"";e=jc.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=e.innerHTML,e=jc.getInertBodyElement(r)}while(r!==o);let a=new Rh().sanitizeChildren(Db(e)||e);return fl(a)}finally{if(e){let r=Db(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function Db(t){return"content"in t&&YT(t)?t.content:null}function YT(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var ZT=/^>|^->|<!--|-->|--!>|<!-$/g,KT=/(<|>)/g,QT="\u200B$1\u200B";function XT(t){return t.replace(ZT,n=>n.replace(KT,QT))}function JT(t,n){return t.createText(n)}function e0(t,n,e){t.setValue(n,e)}function t0(t,n){return t.createComment(XT(n))}function T_(t,n,e){return t.createElement(n,e)}function Kc(t,n,e,r,i){t.insertBefore(n,e,r,i)}function x_(t,n,e){t.appendChild(n,e)}function Eb(t,n,e,r,i){r!==null?Kc(t,n,e,r,i):x_(t,n,e)}function A_(t,n,e,r){t.removeChild(null,n,e,r)}function n0(t,n,e){t.setAttribute(n,"style",e)}function r0(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function R_(t,n,e){let{mergedAttrs:r,classes:i,styles:o}=e;r!==null&&fT(t,n,r),i!==null&&r0(t,n,i),o!==null&&n0(t,n,o)}var it=(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})(it||{});function i0(t){let n=fp();return n?gb(n.sanitize(it.HTML,t)||""):gn(t,"HTML")?gb(ft(t)):hl(p_(),un(t))}function N_(t){let n=fp();return n?n.sanitize(it.URL,t)||"":gn(t,"URL")?ft(t):Cs(un(t))}function O_(t){let n=fp();if(n)return vb(n.sanitize(it.RESOURCE_URL,t)||"");if(gn(t,"ResourceURL"))return vb(ft(t));throw new b(904,!1)}var o0=new Set(["embed","frame","iframe","media","script"]),s0=new Set(["base","link","script"]);function a0(t,n){return n==="src"&&o0.has(t)||n==="href"&&s0.has(t)||n==="xlink:href"&&t==="script"?O_:N_}function dp(t,n,e){return a0(n,e)(t)}function fp(){let t=C();return t&&t[jt].sanitizer}function c0(t){return t.ownerDocument.defaultView}function l0(t){return t.ownerDocument}function k_(t){return t instanceof Function?t():t}function u0(t,n,e){let r=t.length;for(;;){let i=t.indexOf(n,e);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=n.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}e=i+1}}var F_="ng-template";function d0(t,n,e,r){let i=0;if(r){for(;i<n.length&&typeof n[i]=="string";i+=2)if(n[i]==="class"&&u0(n[i+1].toLowerCase(),e,0)!==-1)return!0}else if(hp(t))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&typeof(o=n[i])=="string";)if(o.toLowerCase()===e)return!0}return!1}function hp(t){return t.type===4&&t.value!==F_}function f0(t,n,e){let r=t.type===4&&!e?F_:t.value;return n===r}function h0(t,n,e){let r=4,i=t.attrs,o=i!==null?g0(i):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Ht(r)&&!Ht(c))return!1;if(s&&Ht(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!f0(t,c,e)||c===""&&n.length===1){if(Ht(r))return!1;s=!0}}else if(r&8){if(i===null||!d0(t,i,c,e)){if(Ht(r))return!1;s=!0}}else{let l=n[++a],u=p0(c,i,hp(t),e);if(u===-1){if(Ht(r))return!1;s=!0;continue}if(l!==""){let d;if(u>o?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(Ht(r))return!1;s=!0}}}}return Ht(r)||s}function Ht(t){return(t&1)===0}function p0(t,n,e,r){if(n===null)return-1;let i=0;if(r||!e){let o=!1;for(;i<n.length;){let s=n[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++i];for(;typeof a=="string";)a=n[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return v0(n,t)}function P_(t,n,e=!1){for(let r=0;r<n.length;r++)if(h0(t,n[r],e))return!0;return!1}function m0(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function g0(t){for(let n=0;n<t.length;n++){let e=t[n];if(Xb(e))return n}return t.length}function v0(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let r=t[e];if(typeof r=="number")return-1;if(r===n)return e;e++}return-1}function y0(t,n){e:for(let e=0;e<n.length;e++){let r=n[e];if(t.length===r.length){for(let i=0;i<t.length;i++)if(t[i]!==r[i])continue e;return!0}}return!1}function wb(t,n){return t?":not("+n.trim()+")":n}function b0(t){let n=t[0],e=1,r=2,i="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(r&2){let a=t[++e];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Ht(s)&&(n+=wb(o,i),i=""),r=s,o=o||!Ht(r);e++}return i!==""&&(n+=wb(o,i)),n}function _0(t){return t.map(b0).join(",")}function D0(t){let n=[],e=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&n.push(o,t[++r]):i===8&&e.push(o);else{if(!Ht(i))break;i=o}r++}return e.length&&n.push(1,...e),n}var Ve={};function pp(t,n,e,r,i,o,s,a,c,l,u){let d=le+r,h=d+i,p=E0(d,h),m=typeof l=="function"?l():l;return p[A]={type:t,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function E0(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:Ve);return e}function w0(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=pp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function mp(t,n,e,r,i,o,s,a,c,l,u){let d=n.blueprint.slice();return d[Lt]=i,d[P]=r|4|128|8|64|1024,(l!==null||t&&t[P]&2048)&&(d[P]|=2048),Bf(d),d[Te]=d[Hr]=t,d[me]=e,d[jt]=s||t&&t[jt],d[oe]=a||t&&t[oe],d[An]=c||t&&t[An]||null,d[Qe]=o,d[Rn]=ST(),d[Ur]=u,d[kf]=l,d[We]=n.type==2?t[We]:d,d}function C0(t,n,e){let r=Ct(n,t),i=w0(e),o=t[jt].rendererFactory,s=gp(t,mp(t,i,null,L_(e),r,n,null,o.createRenderer(r,e),null,null,null));return t[n.index]=s}function L_(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function j_(t,n,e,r){if(e===0)return-1;let i=n.length;for(let o=0;o<e;o++)n.push(r),t.blueprint.push(r),t.data.push(null);return i}function gp(t,n){return t[Pi]?t[Of][Et]=n:t[Pi]=n,t[Of]=n,n}function vp(t=1){V_(ce(),C(),Ut()+t,!1)}function V_(t,n,e,r){if(!r)if((n[P]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Bc(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Uc(n,o,0,e)}ur(e)}var pl=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(pl||{});function Nh(t,n,e,r){let i=x(null);try{let[o,s,a]=t.inputs[e],c=null;(s&pl.SignalBased)!==0&&(c=n[o][pe]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),t.setInput!==null?t.setInput(n,c,r,e,o):Wb(n,c,o,r)}finally{x(i)}}var Gt=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Gt||{}),I0;function yp(t,n){return I0(t,n)}var g8=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Oh=new WeakMap,ds=new WeakSet;function S0(t,n){let e=Oh.get(t);if(!e||e.length===0)return;let r=n.parentNode,i=n.previousSibling;for(let o=e.length-1;o>=0;o--){let s=e[o],a=s.parentNode;s===n?(e.splice(o,1),ds.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(i&&s===i||a&&r&&a!==r)&&(e.splice(o,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function M0(t,n){let e=Oh.get(t);e?e.includes(n)||e.push(n):Oh.set(t,[n])}var Kr=new Set,ml=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(ml||{}),Wt=new y(""),Cb=new Set;function qt(t){Cb.has(t)||(Cb.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var gl=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),bp=[0,1,2,3],_p=(()=>{class t{ngZone=f(j);scheduler=f(cn);errorHandler=f(_t,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Wt,{optional:!0})}execute(){let e=this.sequences.size>0;e&&ie(K.AfterRenderHooksStart),this.executing=!0;for(let r of bp)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&ie(K.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[zr]??=[]).push(e),qr(r),r[P]|=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,r){return r?r.run(ml.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),ms=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,i,o,s=null){this.impl=n,this.hooks=e,this.view=r,this.once=i,this.snapshot=s,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?.[zr];n&&(this.view[zr]=n.filter(e=>e!==this))}};function ht(t,n){let e=n?.injector??f($);return qt("NgAfterNextRender"),x0(t,e,n,!0)}function T0(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function x0(t,n,e,r){let i=n.get(gl);i.impl??=n.get(_p);let o=n.get(Wt,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(Ae):null,a=n.get(Ui,null,{optional:!0}),c=new ms(i.impl,T0(t),a?.view,r,s,o?.snapshot(null));return i.impl.register(c),c}var B_=new y("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(re)})});function U_(t,n,e){let r=t.get(B_);if(Array.isArray(n))for(let i of n)r.queue.add(i),e?.detachedLeaveAnimationFns?.push(i);else r.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(t)}function A0(t,n){let e=t.get(B_);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function R0(t,n){for(let[e,r]of n)U_(t,r.animateFns)}function Ib(t,n,e,r){let i=t?.[cr]?.enter;n!==null&&i&&i.has(e.index)&&R0(r,i)}function zi(t,n,e,r,i,o,s,a){if(i!=null){let c,l=!1;Vt(i)?c=i:Nn(i)&&(l=!0,i=i[Lt]);let u=wt(i);t===0&&r!==null?(Ib(a,r,o,e),s==null?x_(n,r,u):Kc(n,r,u,s||null,!0)):t===1&&r!==null?(Ib(a,r,o,e),Kc(n,r,u,s||null,!0),S0(o,u)):t===2?(a?.[cr]?.leave?.has(o.index)&&M0(o,u),ds.delete(u),Sb(a,o,e,d=>{if(ds.has(u)){ds.delete(u);return}A_(n,u,l,d)})):t===3&&(ds.delete(u),Sb(a,o,e,()=>{n.destroyNode(u)})),c!=null&&H0(n,t,e,c,o,r,s)}}function N0(t,n){H_(t,n),n[Lt]=null,n[Qe]=null}function O0(t,n,e,r,i,o){r[Lt]=i,r[Qe]=n,yl(t,r,e,1,i,o)}function H_(t,n){n[jt].changeDetectionScheduler?.notify(9),yl(t,n,n[oe],2,null,null)}function k0(t){let n=t[Pi];if(!n)return lh(t[A],t);for(;n;){let e=null;if(Nn(n))e=n[Pi];else{let r=n[ge];r&&(e=r)}if(!e){for(;n&&!n[Et]&&n!==t;)Nn(n)&&lh(n[A],n),n=n[Te];n===null&&(n=t),Nn(n)&&lh(n[A],n),e=n&&n[Et]}n=e}}function Dp(t,n){let e=t[Gr],r=e.indexOf(n);e.splice(r,1)}function vl(t,n){if(Wr(n))return;let e=n[oe];e.destroyNode&&yl(t,n,e,3,null,null),k0(n)}function lh(t,n){if(Wr(n))return;let e=x(null);try{n[P]&=-129,n[P]|=256,n[ct]&&tr(n[ct]),L0(t,n),P0(t,n),n[A].type===1&&n[oe].destroy();let r=n[ar];if(r!==null&&Vt(n[Te])){r!==n[Te]&&Dp(r,n);let i=n[dn];i!==null&&i.detachView(t)}Dh(n)}finally{x(e)}}function Sb(t,n,e,r){let i=t?.[cr];if(i==null||i.leave==null||!i.leave.has(n.index))return r(!1);t&&Kr.add(t[Rn]),U_(e,()=>{if(i.leave&&i.leave.has(n.index)){let s=i.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(a),F0(t,r)}else t&&Kr.delete(t[Rn]),r(!1)},i)}function F0(t,n){let e=t[cr]?.running;if(e){e.then(()=>{t[cr].running=void 0,Kr.delete(t[Rn]),n(!0)});return}n(!1)}function P0(t,n){let e=t.cleanup,r=n[Fi];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[Fi]=null);let i=n[xn];if(i!==null){n[xn]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=n[ir];if(o!==null){n[ir]=null;for(let s of o)s.destroy()}}function L0(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let r=0;r<e.length;r+=2){let i=n[e[r]];if(!(i instanceof Zr)){let o=e[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],c=o[s+1];ie(K.LifecycleHookStart,a,c);try{c.call(a)}finally{ie(K.LifecycleHookEnd,a,c)}}else{ie(K.LifecycleHookStart,i,o);try{o.call(i)}finally{ie(K.LifecycleHookEnd,i,o)}}}}}function $_(t,n,e){return j0(t,n.parent,e)}function j0(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[Lt];if(fn(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===zt.None||i===zt.Emulated)return null}return Ct(r,e)}function z_(t,n,e){return B0(t,n,e)}function V0(t,n,e){return t.type&40?Ct(t,e):null}var B0=V0,Mb;function Ep(t,n,e,r){let i=$_(t,r,n),o=n[oe],s=r.parent||n[Qe],a=z_(s,r,n);if(i!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)Eb(o,i,e[c],a,!1);else Eb(o,i,e,a,!1);Mb!==void 0&&Mb(o,r,n,e,i)}function fs(t,n){if(n!==null){let e=n.type;if(e&3)return Ct(n,t);if(e&4)return kh(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return fs(t,r);{let i=t[n.index];return Vt(i)?kh(-1,i):wt(i)}}else{if(e&128)return fs(t,n.next);if(e&32)return yp(n,t)()||wt(t[n.index]);{let r=G_(t,n);if(r!==null){if(Array.isArray(r))return r[0];let i=or(t[We]);return fs(i,r)}else return fs(t,n.next)}}}return null}function G_(t,n){if(n!==null){let r=t[We][Qe],i=n.projection;return r.projection[i]}return null}function kh(t,n){let e=ge+t+1;if(e<n.length){let r=n[e],i=r[A].firstChild;if(i!==null)return fs(r,i)}return n[lr]}function wp(t,n,e,r,i,o,s){for(;e!=null;){let a=r[An];if(e.type===128){e=e.next;continue}let c=r[e.index],l=e.type;if(s&&n===0&&(c&&qi(wt(c),r),e.flags|=2),!dl(e))if(l&8)wp(t,n,e.child,r,i,o,!1),zi(n,t,a,i,c,e,o,r);else if(l&32){let u=yp(e,r),d;for(;d=u();)zi(n,t,a,i,d,e,o,r);zi(n,t,a,i,c,e,o,r)}else l&16?W_(t,n,r,e,i,o):zi(n,t,a,i,c,e,o,r);e=s?e.projectionNext:e.next}}function yl(t,n,e,r,i,o){wp(e,r,t.firstChild,n,i,o,!1)}function U0(t,n,e){let r=n[oe],i=$_(t,e,n),o=e.parent||n[Qe],s=z_(o,e,n);W_(r,0,n,e,i,s)}function W_(t,n,e,r,i,o){let s=e[We],c=s[Qe].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];zi(n,t,e[An],i,u,r,o,e)}else{let l=c,u=s[Te];l_(r)&&(l.flags|=128),wp(t,n,l,u,i,o,!0)}}function H0(t,n,e,r,i,o,s){let a=r[lr],c=wt(r);a!==c&&zi(n,t,e,o,a,i,s);for(let l=ge;l<r.length;l++){let u=r[l];yl(u[A],u,t,n,o,a)}}function $0(t,n,e,r,i){if(n)i?t.addClass(e,r):t.removeClass(e,r);else{let o=r.indexOf("-")===-1?void 0:Gt.DashCase;i==null?t.removeStyle(e,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Gt.Important),t.setStyle(e,r,i,o))}}function q_(t,n,e,r,i){let o=Ut(),s=r&2;try{ur(-1),s&&n.length>le&&V_(t,n,le,!1);let a=s?K.TemplateUpdateStart:K.TemplateCreateStart;ie(a,i,e),e(r,i)}finally{ur(o);let a=s?K.TemplateUpdateEnd:K.TemplateCreateEnd;ie(a,i,e)}}function bl(t,n,e){Y0(t,n,e),(e.flags&64)===64&&Z0(t,n,e)}function Ss(t,n,e=Ct){let r=n.localNames;if(r!==null){let i=n.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?e(n,t):t[s];t[i++]=a}}}function z0(t,n,e,r){let o=r.get(y_,v_)||e===zt.ShadowDom||e===zt.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,o);return G0(s),s}function G0(t){W0(t)}var W0=()=>null;function q0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Y_(t,n,e,r,i,o){let s=n[A];if(_l(t,s,n,e,r)){fn(t)&&K_(n,t.index);return}t.type&3&&(e=q0(e)),Z_(t,n,e,r,i,o)}function Z_(t,n,e,r,i,o){if(t.type&3){let s=Ct(t,n);r=o!=null?o(r,t.value||"",e):r,i.setProperty(s,e,r)}else t.type&12}function K_(t,n){let e=It(n,t);e[P]&16||(e[P]|=64)}function Y0(t,n,e){let r=e.directiveStart,i=e.directiveEnd;fn(e)&&C0(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||Zc(e,n);let o=e.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],c=ps(n,t,s,e);if(qi(c,n),o!==null&&X0(n,s-r,c,a,e,o),Bt(a)){let l=It(e.index,n);l[me]=ps(n,t,s,e)}}}function Z0(t,n,e){let r=e.directiveStart,i=e.directiveEnd,o=e.index,s=qy();try{ur(o);for(let a=r;a<i;a++){let c=t.data[a],l=n[a];Ac(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&K0(c,l)}}finally{ur(-1),Ac(s)}}function K0(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Cp(t,n){let e=t.directiveRegistry,r=null;if(e)for(let i=0;i<e.length;i++){let o=e[i];P_(n,o.selectors,!1)&&(r??=[],Bt(o)?r.unshift(o):r.push(o))}return r}function Q0(t,n,e,r,i,o){let s=Ct(t,n);Q_(n[oe],s,o,t.value,e,r,i)}function Q_(t,n,e,r,i,o,s){if(o==null)t.removeAttribute(n,i,e);else{let a=s==null?un(o):s(o,r||"",i);t.setAttribute(n,i,a,e)}}function X0(t,n,e,r,i,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Nh(r,e,c,l)}}function Ip(t,n,e,r,i){let o=le+e,s=n[A],a=i(s,n,t,r,e);n[o]=a,Vi(t,!0);let c=t.type===2;return c?(R_(n[oe],a,t),(jy()===0||Li(t))&&qi(a,n),Vy()):qi(a,n),kc()&&(!c||!dl(t))&&Ep(s,n,a,t),t}function Sp(t){let n=t;return Kf()?Qf():(n=n.parent,Vi(n,!1)),n}function J0(t,n){let e=t[An];if(!e)return;let r;try{r=e.get(ut,null)}catch{r=null}r?.(n)}function _l(t,n,e,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];Nh(d,e[l],u,i),a=!0}if(o)for(let c of o){let l=e[c],u=n.data[c];Nh(u,l,r,i),a=!0}return a}function ex(t,n){let e=It(n,t),r=e[A];tx(r,e);let i=e[Lt];i!==null&&e[Ur]===null&&(e[Ur]=b_(i,e[An])),ie(K.ComponentStart);try{Mp(r,e,e[me])}finally{ie(K.ComponentEnd,e[me])}}function tx(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Mp(t,n,e){Nc(n);try{let r=t.viewQuery;r!==null&&wh(1,r,e);let i=t.template;i!==null&&q_(t,n,i,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[dn]?.finishViewCreation(t),t.staticContentQueries&&__(t,n),t.staticViewQueries&&wh(2,t.viewQuery,e);let o=t.components;o!==null&&nx(n,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[P]&=-5,Oc()}}function nx(t,n){for(let e=0;e<n.length;e++)ex(t,n[e])}function Ms(t,n,e,r){let i=x(null);try{let o=n.tView,a=t[P]&4096?4096:16,c=mp(t,o,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[n.index];c[ar]=l;let u=t[dn];return u!==null&&(c[dn]=u.createEmbeddedView(o)),Mp(o,c,e),c}finally{x(i)}}function Yi(t,n){return!n||n.firstChild===null||l_(t)}function gs(t,n,e,r,i=!1){for(;e!==null;){if(e.type===128){e=i?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&r.push(wt(o)),Vt(o)&&X_(o,r);let s=e.type;if(s&8)gs(t,n,e.child,r);else if(s&32){let a=yp(e,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=G_(n,e);if(Array.isArray(a))r.push(...a);else{let c=or(n[We]);gs(c[A],c,a,r,!0)}}e=i?e.projectionNext:e.next}return r}function X_(t,n){for(let e=ge;e<t.length;e++){let r=t[e],i=r[A].firstChild;i!==null&&gs(r[A],r,i,n)}t[lr]!==t[Lt]&&n.push(t[lr])}function J_(t){if(t[zr]!==null){for(let n of t[zr])n.impl.addSequence(n);t[zr].length=0}}var eD=[];function rx(t){return t[ct]??ix(t)}function ix(t){let n=eD.pop()??Object.create(sx);return n.lView=t,n}function ox(t){t.lView[ct]!==t&&(t.lView=null,eD.push(t))}var sx=F(g({},Jn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{qr(t.lView)},consumerOnSignalRead(){this.lView[ct]=this}});function ax(t){let n=t[ct]??Object.create(cx);return n.lView=t,n}var cx=F(g({},Jn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=or(t.lView);for(;n&&!tD(n[A]);)n=or(n);n&&Uf(n)},consumerOnSignalRead(){this.lView[ct]=this}});function tD(t){return t.type!==2}function nD(t){if(t[ir]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[ir])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[P]&8192)}}var lx=100;function rD(t,n=0){let r=t[jt].rendererFactory,i=!1;i||r.begin?.();try{ux(t,n)}finally{i||r.end?.()}}function ux(t,n){let e=Xf();try{Zo(!0),Fh(t,n);let r=0;for(;is(t);){if(r===lx)throw new b(103,!1);r++,Fh(t,1)}}finally{Zo(e)}}function dx(t,n,e,r){if(Wr(n))return;let i=n[P],o=!1,s=!1;Nc(n);let a=!0,c=null,l=null;o||(tD(t)?(l=rx(n),c=Tn(l)):ac()===null?(a=!1,l=ax(n),c=Tn(l)):n[ct]&&(tr(n[ct]),n[ct]=null));try{Bf(n),zy(t.bindingStartIndex),e!==null&&q_(t,n,e,2,r);let u=(i&3)===3;if(!o)if(u){let p=t.preOrderCheckHooks;p!==null&&Bc(n,p,null)}else{let p=t.preOrderHooks;p!==null&&Uc(n,p,0,null),ah(n,0)}if(s||fx(n),nD(n),iD(n,0),t.contentQueries!==null&&__(t,n),!o)if(u){let p=t.contentCheckHooks;p!==null&&Bc(n,p)}else{let p=t.contentHooks;p!==null&&Uc(n,p,1),ah(n,1)}px(t,n);let d=t.components;d!==null&&sD(n,d,0);let h=t.viewQuery;if(h!==null&&wh(2,h,r),!o)if(u){let p=t.viewCheckHooks;p!==null&&Bc(n,p)}else{let p=t.viewHooks;p!==null&&Uc(n,p,2),ah(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Ic]){for(let p of n[Ic])p();n[Ic]=null}o||(J_(n),n[P]&=-73)}catch(u){throw o||qr(n),u}finally{l!==null&&(er(l,c),a&&ox(l)),Oc()}}function iD(t,n){for(let e=d_(t);e!==null;e=f_(e))for(let r=ge;r<e.length;r++){let i=e[r];oD(i,n)}}function fx(t){for(let n=d_(t);n!==null;n=f_(n)){if(!(n[P]&2))continue;let e=n[Gr];for(let r=0;r<e.length;r++){let i=e[r];Uf(i)}}}function hx(t,n,e){ie(K.ComponentStart);let r=It(n,t);try{oD(r,e)}finally{ie(K.ComponentEnd,r[me])}}function oD(t,n){Mc(t)&&Fh(t,n)}function Fh(t,n){let r=t[A],i=t[P],o=t[ct],s=!!(n===0&&i&16);if(s||=!!(i&64&&n===0),s||=!!(i&1024),s||=!!(o?.dirty&&xi(o)),s||=!1,o&&(o.dirty=!1),t[P]&=-9217,s)dx(r,t,r.template,t[me]);else if(i&8192){let a=x(null);try{nD(t),iD(t,1);let c=r.components;c!==null&&sD(t,c,1),J_(t)}finally{x(a)}}}function sD(t,n,e){for(let r=0;r<n.length;r++)hx(t,n[r],e)}function px(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let r=0;r<e.length;r++){let i=e[r];if(i<0)ur(~i);else{let o=i,s=e[++r],a=e[++r];Wy(s,o);let c=n[o];ie(K.HostBindingsUpdateStart,c);try{a(2,c)}finally{ie(K.HostBindingsUpdateEnd,c)}}}}finally{ur(-1)}}function Tp(t,n){let e=Xf()?64:1088;for(t[jt].changeDetectionScheduler?.notify(n);t;){t[P]|=e;let r=or(t);if(ji(t)&&!r)return t;t=r}return null}function aD(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function cD(t,n){let e=ge+n;if(e<t.length)return t[e]}function Ts(t,n,e,r=!0){let i=n[A];if(mx(i,n,t,e),r){let s=kh(e,t),a=n[oe],c=a.parentNode(t[lr]);c!==null&&O0(i,t[Qe],a,n,c,s)}let o=n[Ur];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function lD(t,n){let e=vs(t,n);return e!==void 0&&vl(e[A],e),e}function vs(t,n){if(t.length<=ge)return;let e=ge+n,r=t[e];if(r){let i=r[ar];i!==null&&i!==t&&Dp(i,r),n>0&&(t[e-1][Et]=r[Et]);let o=es(t,ge+n);N0(r[A],r);let s=o[dn];s!==null&&s.detachView(o[A]),r[Te]=null,r[Et]=null,r[P]&=-129}return r}function mx(t,n,e,r){let i=ge+r,o=e.length;r>0&&(e[i-1][Et]=n),r<o-ge?(n[Et]=e[i],Sf(e,ge+r,n)):(e.push(n),n[Et]=null),n[Te]=e;let s=n[ar];s!==null&&e!==s&&uD(s,n);let a=n[dn];a!==null&&a.insertView(t),Tc(n),n[P]|=128}function uD(t,n){let e=t[Gr],r=n[Te];if(Nn(r))t[P]|=2;else{let i=r[Te][We];n[We]!==i&&(t[P]|=2)}e===null?t[Gr]=[n]:e.push(n)}var dr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[A];return gs(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[me]}set context(n){this._lView[me]=n}get destroyed(){return Wr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Te];if(Vt(n)){let e=n[ns],r=e?e.indexOf(this):-1;r>-1&&(vs(n,r),es(e,r))}this._attachedToViewContainer=!1}vl(this._lView[A],this._lView)}onDestroy(n){Hf(this._lView,n)}markForCheck(){Tp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){Tc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,rD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=ji(this._lView),e=this._lView[ar];e!==null&&!n&&Dp(e,this._lView),H_(this._lView[A],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let e=ji(this._lView),r=this._lView[ar];r!==null&&!e&&uD(r,this._lView),Tc(this._lView)}};var dt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=gx;constructor(e,r,i){this._declarationLView=e,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,i){let o=Ms(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:i});return new dr(o)}}return t})();function gx(){return Dl(Ee(),C())}function Dl(t,n){return t.type&4?new dt(n,t,Qi(t,n)):null}function Ji(t,n,e,r,i){let o=t.data[n];if(o===null)o=vx(t,n,e,r,i),Gy()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=r,o.attrs=i;let s=Hy();o.injectorIndex=s===null?-1:s.injectorIndex}return Vi(o,!0),o}function vx(t,n,e,r,i){let o=Zf(),s=Kf(),a=s?o:o&&o.parent,c=t.data[n]=bx(t,a,e,n,r,i);return yx(t,c,o,s),c}function yx(t,n,e,r){t.firstChild===null&&(t.firstChild=n),e!==null&&(r?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function bx(t,n,e,r,i,o){let s=n?n.injectorIndex:-1,a=0;return Wf()&&(a|=128),{type:e,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,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 _x(t){let n=t[Ff]??[],r=t[Te][oe],i=[];for(let o of n)o.data[g_]!==void 0?i.push(o):Dx(o,r);t[Ff]=i}function Dx(t,n){let e=0,r=t.firstChild;if(r){let i=t.data[m_];for(;e<i;){let o=r.nextSibling;A_(n,r,!1),r=o,e++}}}var Ex=()=>null,wx=()=>null;function Qc(t,n){return Ex(t,n)}function dD(t,n,e){return wx(t,n,e)}var fD=class{},El=class{},Ph=class{resolveComponentFactory(n){throw new b(917,!1)}},xs=class{static NULL=new Ph},je=class{},Oe=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>Cx()}return t})();function Cx(){let t=C(),n=Ee(),e=It(n.index,t);return(Nn(e)?e:t)[oe]}var hD=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>null})}return t})();var $c={},Lh=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let i=this.injector.get(n,$c,r);return i!==$c||e===$c?i:this.parentInjector.get(n,e,r)}};function Xc(t,n,e){let r=e?t.styles:null,i=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)i=vc(i,a);else if(o==2){let c=a,l=n[++s];r=vc(r,c+": "+l+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=i:t.classesWithoutHost=i}function D(t,n=0){let e=C();if(e===null)return w(t,n);let r=Ee();return o_(r,e,Me(t),n)}function xp(){let t="invalid";throw new Error(t)}function pD(t,n,e,r,i){let o=r===null?null:{"":-1},s=i(t,e);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Mx(t,n,e,a,o,c,l)}o!==null&&r!==null&&Ix(e,r,o)}function Ix(t,n,e){let r=t.localNames=[];for(let i=0;i<n.length;i+=2){let o=e[n[i+1]];if(o==null)throw new b(-301,!1);r.push(n[i],o)}}function Sx(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function Mx(t,n,e,r,i,o,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&Bt(p)&&(c=p,Sx(t,e,h)),bh(Zc(e,n),t,p.type)}Ox(e,t.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=j_(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(e.mergedAttrs=Wi(e.mergedAttrs,p.hostAttrs),xx(t,e,n,d,p),Nx(d,p,i),s!==null&&s.has(p)){let[_,E]=s.get(p);e.directiveToIndex.set(p.type,[d,_+e.directiveStart,E+e.directiveStart])}else(o===null||!o.has(p))&&e.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let m=p.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),u=!0),d++}Tx(t,e,o)}function Tx(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let i=t.data[r];if(e===null||!e.has(i))Tb(0,n,i,r),Tb(1,n,i,r),Ab(n,r,!1);else{let o=e.get(i);xb(0,n,o,r),xb(1,n,o,r),Ab(n,r,!0)}}}function Tb(t,n,e,r){let i=t===0?e.inputs:e.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(r),mD(n,o)}}function xb(t,n,e,r){let i=t===0?e.inputs:e.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),mD(n,s)}}function mD(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function Ab(t,n,e){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!e&&i===null||e&&o===null||hp(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!e&&i.hasOwnProperty(c)){let l=i[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+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){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function xx(t,n,e,r,i){t.data[r]=i;let o=i.factory||(i.factory=rr(i.type,!0)),s=new Zr(o,Bt(i),D,null);t.blueprint[r]=s,e[r]=s,Ax(t,n,r,j_(t,e,i.hostVars,Ve),i)}function Ax(t,n,e,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;Rx(s)!=a&&s.push(a),s.push(e,r,o)}}function Rx(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function Nx(t,n,e){if(e){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)e[n.exportAs[r]]=t;Bt(n)&&(e[""]=t)}}function Ox(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function Ap(t,n,e,r,i,o,s,a){let c=n[A],l=c.consts,u=lt(l,s),d=Ji(c,t,e,r,u);return o&&pD(c,n,d,lt(l,a),i),d.mergedAttrs=Wi(d.mergedAttrs,d.attrs),d.attrs!==null&&Xc(d,d.attrs,!1),d.mergedAttrs!==null&&Xc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Rp(t,n){Kb(t,n),Pf(n)&&t.queries.elementEnd(n)}function kx(t,n,e,r,i,o){let s=n.consts,a=lt(s,i),c=Ji(n,t,e,r,a);if(c.mergedAttrs=Wi(c.mergedAttrs,c.attrs),o!=null){let l=lt(s,o);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Xc(c,c.attrs,!1),c.mergedAttrs!==null&&Xc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Np(t){return wl(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function gD(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),r;for(;!(r=e.next()).done;)n(r.value)}}function wl(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function eo(t,n,e){return t[n]=e}function vD(t,n){return t[n]}function rt(t,n,e){if(e===Ve)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function ys(t,n,e,r){let i=rt(t,n,e);return rt(t,n+1,r)||i}function yD(t,n,e,r,i){let o=ys(t,n,e,r);return rt(t,n+2,i)||o}function Fx(t,n,e,r,i,o){let s=ys(t,n,e,r);return ys(t,n+2,i,o)||s}function zc(t,n,e){return function r(i){let o=fn(t)?It(t.index,n):n;Tp(o,5);let s=n[me],a=Rb(n,s,e,i),c=r.__ngNextListenerFn__;for(;c;)a=Rb(n,s,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Rb(t,n,e,r){let i=x(null);try{return ie(K.OutputStart,n,e),e(r)!==!1}catch(o){return J0(t,o),!1}finally{ie(K.OutputEnd,n,e),x(i)}}function bD(t,n,e,r,i,o,s,a){let c=Li(t),l=!1,u=null;if(!r&&c&&(u=Lx(n,e,o,t.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ct(t,e),h=r?r(d):d;AT(e,h,o,a);let p=i.listen(h,o,a);if(!Px(o)){let m=r?_=>r(wt(_[t.index])):t.index;_D(m,n,e,o,a,p,!1)}}return l}function Px(t){return t.startsWith("animation")||t.startsWith("transition")}function Lx(t,n,e,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===e&&i[o+1]===r){let a=n[Fi],c=i[o+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(o+=2)}return null}function _D(t,n,e,r,i,o,s){let a=n.firstCreatePass?zf(n):null,c=$f(e),l=c.length;c.push(i,o),a&&a.push(r,t,l,(l+1)*(s?-1:1))}function Nb(t,n,e,r,i,o){let s=n[e],a=n[A],l=a.data[e].outputs[r],d=s[l].subscribe(o);_D(t.index,a,n,i,o,d,!0)}var jh=Symbol("BINDING");function DD(t){return t.debugInfo?.className||t.type.name||null}var Jc=class extends xs{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=ln(n);return new fr(e,this.ngModule)}};function jx(t){return Object.keys(t).map(n=>{let[e,r,i]=t[n],o={propName:e,templateName:n,isSignal:(r&pl.SignalBased)!==0};return i&&(o.transform=i),o})}function Vx(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function Bx(t,n,e){let r=n instanceof re?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Lh(e,r):e}function Ux(t){let n=t.get(je,null);if(n===null)throw new b(407,!1);let e=t.get(hD,null),r=t.get(cn,null),i=t.get(Wt,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:i}}function Hx(t,n){let e=ED(t);return T_(n,e,e==="svg"?Lf:e==="math"?Ny:null)}function ED(t){return(t.selectors[0][0]||"div").toLowerCase()}var fr=class extends El{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=jx(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Vx(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=_0(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,i,o,s){ie(K.DynamicComponentStart);let a=x(null);try{let c=this.componentDef,l=Bx(c,i||this.ngModule,n),u=Ux(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(DD(c),()=>this.createComponentRef(u,l,e,r,o,s)):this.createComponentRef(u,l,e,r,o,s)}finally{x(a)}}createComponentRef(n,e,r,i,o,s){let a=this.componentDef,c=$x(i,a,s,o),l=n.rendererFactory.createRenderer(null,a),u=i?z0(l,i,a.encapsulation,e):Hx(a,l),d=s?.some(Ob)||o?.some(m=>typeof m!="function"&&m.bindings.some(Ob)),h=mp(null,c,null,512|L_(a),null,null,n,l,e,null,b_(u,e,!0));h[le]=u,Nc(h);let p=null;try{let m=Ap(le,h,2,"#host",()=>c.directiveRegistry,!0,0);R_(l,u,m),qi(u,h),bl(c,h,m),op(c,m,h),Rp(c,m),r!==void 0&&Gx(m,this.ngContentSelectors,r),p=It(m.index,h),h[me]=p[me],Mp(c,h,null)}catch(m){throw p!==null&&Dh(p),Dh(h),m}finally{ie(K.DynamicComponentEnd),Oc()}return new el(this.componentType,h,!!d)}};function $x(t,n,e,r){let i=t?["ng-version","21.2.6"]:D0(n.selectors[0]),o=null,s=null,a=0;if(e)for(let u of e)a+=u[jh].requiredVars,u.create&&(u.targetIdx=0,(o??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[jh].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(o??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=bc(d);c.push(h)}return pp(0,null,zx(o,s),1,a,c,null,null,null,[i],null)}function zx(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let r of t)r.create();if(e&2&&n)for(let r of n)r.update()}}function Ob(t){let n=t[jh].kind;return n==="input"||n==="twoWay"}var el=class extends fD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=Sc(e[A],le),this.location=Qi(this._tNode,e),this.instance=It(this._tNode.index,e)[me],this.hostView=this.changeDetectorRef=new dr(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let i=this._rootLView,o=_l(r,i[A],i,n,e);this.previousInputValues.set(n,e);let s=It(r.index,i);Tp(s,1)}get injector(){return new Yr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Gx(t,n,e){let r=t.projection=[];for(let i=0;i<n.length;i++){let o=e[i];r.push(o!=null&&o.length?Array.from(o):null)}}var qe=(()=>{class t{static __NG_ELEMENT_ID__=Wx}return t})();function Wx(){let t=Ee();return wD(t,C())}var Vh=class t extends qe{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return Qi(this._hostTNode,this._hostLView)}get injector(){return new Yr(this._hostTNode,this._hostLView)}get parentInjector(){let n=np(this._hostTNode,this._hostLView);if(Jb(n)){let e=qc(n,this._hostLView),r=Wc(n),i=e[A].data[r+8];return new Yr(i,e)}else return new Yr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=kb(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-ge}createEmbeddedView(n,e,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Qc(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,i,Yi(this._hostTNode,s)),a}createComponent(n,e,r,i,o,s,a){let c=n&&!iT(n),l;if(c)l=e;else{let E=e||{};l=E.index,r=E.injector,i=E.projectableNodes,o=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let u=c?n:new fr(ln(n)),d=r||this.parentInjector;if(!o&&u.ngModule==null){let I=(c?d:this.parentInjector).get(re,null);I&&(o=I)}let h=ln(u.componentType??{}),p=Qc(this._lContainer,h?.id??null),m=p?.firstChild??null,_=u.create(d,i,m,o,s,a);return this.insertImpl(_.hostView,l,Yi(this._hostTNode,p)),_}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let i=n._lView;if(ky(i)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=i[Te],l=new t(c,c[Qe],c[Te]);l.detach(l.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return Ts(s,i,o,r),n.attachToViewContainerRef(),Sf(uh(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=kb(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=vs(this._lContainer,e);r&&(es(uh(this._lContainer),e),vl(r[A],r))}detach(n){let e=this._adjustIndex(n,-1),r=vs(this._lContainer,e);return r&&es(uh(this._lContainer),e)!=null?new dr(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function kb(t){return t[ns]}function uh(t){return t[ns]||(t[ns]=[])}function wD(t,n){let e,r=n[t.index];return Vt(r)?e=r:(e=aD(r,n,null,t),n[t.index]=e,gp(n,e)),Yx(e,n,t,r),new Vh(e,t,n)}function qx(t,n){let e=t[oe],r=e.createComment(""),i=Ct(n,t),o=e.parentNode(i);return Kc(e,o,r,e.nextSibling(i),!1),r}var Yx=Qx,Zx=()=>!1;function Kx(t,n,e){return Zx(t,n,e)}function Qx(t,n,e,r){if(t[lr])return;let i;e.type&8?i=wt(r):i=qx(n,e),t[lr]=i}var Bh=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Uh=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,i=[];for(let o=0;o<r;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new t(i)}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++)kp(n,e).matches!==null&&this.queries[e].setDirty()}},tl=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=nA(n):this.predicate=n}},Hh=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){let i=e!==null?e.length:0,o=this.getByIndex(r).embeddedTView(n,i);o&&(o.indexInDeclarationView=r,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},$h=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,r=n.parent;for(;r!==null&&r.type&8&&r.index!==e;)r=r.parent;return e===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(n,e,Xx(e,o)),this.matchTNodeWithReadOption(n,e,Hc(e,n,o,!1,!1))}else r===dt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Hc(e,n,r,!1,!1))}matchTNodeWithReadOption(n,e,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===z||i===qe||i===dt&&e.type&4)this.addMatch(e.index,-2);else{let o=Hc(e,n,i,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,r)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function Xx(t,n){let e=t.localNames;if(e!==null){for(let r=0;r<e.length;r+=2)if(e[r]===n)return e[r+1]}return null}function Jx(t,n){return t.type&11?Qi(t,n):t.type&4?Dl(t,n):null}function eA(t,n,e,r){return e===-1?Jx(n,t):e===-2?tA(t,n,r):ps(t,t[A],e,n)}function tA(t,n,e){if(e===z)return Qi(n,t);if(e===dt)return Dl(n,t);if(e===qe)return wD(n,t)}function CD(t,n,e,r){let i=n[dn].queries[r];if(i.matches===null){let o=t.data,s=e.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=o[l];a.push(eA(n,u,s[c+1],e.metadata.read))}}i.matches=a}return i.matches}function zh(t,n,e,r){let i=t.queries.getByIndex(e),o=i.matches;if(o!==null){let s=CD(t,n,i,e);for(let a=0;a<o.length;a+=2){let c=o[a];if(c>0)r.push(s[a/2]);else{let l=o[a+1],u=n[-c];for(let d=ge;d<u.length;d++){let h=u[d];h[ar]===h[Te]&&zh(h[A],h,l,r)}if(u[Gr]!==null){let d=u[Gr];for(let h=0;h<d.length;h++){let p=d[h];zh(p[A],p,l,r)}}}}}return r}function Op(t,n){return t[dn].queries[n].queryList}function ID(t,n,e){let r=new Fn((e&4)===4);return Ly(t,n,r,r.destroy),(n[dn]??=new Uh).queries.push(new Bh(r))-1}function SD(t,n,e){let r=ce();return r.firstCreatePass&&(TD(r,new tl(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),ID(r,C(),n)}function MD(t,n,e,r){let i=ce();if(i.firstCreatePass){let o=Ee();TD(i,new tl(n,e,r),o.index),rA(i,t),(e&2)===2&&(i.staticContentQueries=!0)}return ID(i,C(),e)}function nA(t){return t.split(",").map(n=>n.trim())}function TD(t,n,e){t.queries===null&&(t.queries=new Hh),t.queries.track(new $h(n,e))}function rA(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function kp(t,n){return t.queries.getByIndex(n)}function xD(t,n){let e=t[A],r=kp(e,n);return r.crossesNgTemplate?zh(e,t,n,[]):CD(e,t,r,n)}function Fp(t,n,e){let r,i=zo(()=>{r._dirtyCounter();let o=iA(r,t);if(n&&o===void 0)throw new b(-951,!1);return o});return r=i[pe],r._dirtyCounter=W(0),r._flatValue=void 0,i}function Pp(t){return Fp(!0,!1,t)}function Lp(t){return Fp(!0,!0,t)}function AD(t){return Fp(!1,!1,t)}function RD(t,n){let e=t[pe];e._lView=C(),e._queryIndex=n,e._queryList=Op(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function iA(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[P]&4)return n?void 0:Ge;let i=Op(e,r),o=xD(e,r);return i.reset(o,c_),n?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}var mn=class{},Cl=class{};var nl=class extends mn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Jc(this);constructor(n,e,r,i=!0){super(),this.ngModuleType=n,this._parent=e;let o=wf(n);this._bootstrapComponents=k_(o.bootstrap),this._r3Injector=nh(n,e,[{provide:mn,useValue:this},{provide:xs,useValue:this.componentFactoryResolver},...r],Xo(n),new Set(["environment"])),i&&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)}},rl=class extends Cl{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new nl(this.moduleType,n,[])}};var bs=class extends mn{injector;componentFactoryResolver=new Jc(this);instance=null;constructor(n){super();let e=new jr([...n.providers,{provide:mn,useValue:this},{provide:xs,useValue:this.componentFactoryResolver}],n.parent||ki(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function to(t,n,e=null){return new bs({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var oA=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=xf(!1,e.type),i=r.length>0?to([r],this._injector,""):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:t,providedIn:"environment",factory:()=>new t(w(re))})}return t})();function ke(t){return Ds(()=>{let n=ND(t),e=F(g({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===rp.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(oA).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||zt.Emulated,styles:t.styles||Ge,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&qt("NgStandalone"),OD(e);let r=t.dependencies;return e.directiveDefs=Fb(r,sA),e.pipeDefs=Fb(r,by),e.id=lA(e),e})}function sA(t){return ln(t)||bc(t)}function X(t){return Ds(()=>({type:t.type,bootstrap:t.bootstrap||Ge,declarations:t.declarations||Ge,imports:t.imports||Ge,exports:t.exports||Ge,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function aA(t,n){if(t==null)return Pt;let e={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,c;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,c=i[3]||null):(o=i,s=i,a=pl.None,c=null),e[o]=[r,a,c],n[o]=s}return e}function cA(t){if(t==null)return Pt;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function M(t){return Ds(()=>{let n=ND(t);return OD(n),n})}function As(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 ND(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||Pt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ge,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:aA(t.inputs,n),outputs:cA(t.outputs),debugInfo:null}}function OD(t){t.features?.forEach(n=>n(t))}function Fb(t,n){return t?()=>{let e=typeof t=="function"?t():t,r=[];for(let i of e){let o=n(i);o!==null&&r.push(o)}return r}:null}function lA(t){let n=0,e=typeof t.consts=="function"?"":t.consts,r=[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 r.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function uA(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=dA,e.hostDirectives=r?t.map(Gh):[t]):r?e.hostDirectives.unshift(...t.map(Gh)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function dA(t){let n=[],e=!1,r=null,i=null;for(let o=0;o<t.length;o++){let s=t[o];if(s.hostDirectives!==null){let a=n.length;r??=new Map,i??=new Map,kD(s,n,r),i.set(s,[a,n.length-1])}o===0&&Bt(s)&&(e=!0,n.push(s))}for(let o=e?1:0;o<t.length;o++)n.push(t[o]);return[n,r,i]}function kD(t,n,e){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let i=r();for(let o of i)Pb(Gh(o),n,e)}else Pb(r,n,e)}function Pb(t,n,e){let r=bc(t.directive);fA(r.declaredInputs,t.inputs),kD(r,n,e),e.set(r,t),n.push(r)}function Gh(t){return typeof t=="function"?{directive:Me(t),inputs:Pt,outputs:Pt}:{directive:Me(t.directive),inputs:Lb(t.inputs),outputs:Lb(t.outputs)}}function Lb(t){if(t===void 0||t.length===0)return Pt;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function fA(t,n){for(let e in n)if(n.hasOwnProperty(e)){let r=n[e],i=t[e];t[r]=i}}function hA(t){return Object.getPrototypeOf(t.prototype).constructor}function J(t){let n=hA(t.type),e=!0,r=[t];for(;n;){let i;if(Bt(t))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new b(903,!1);i=n.\u0275dir}if(i){if(e){r.push(i);let s=t;s.inputs=dh(t.inputs),s.declaredInputs=dh(t.declaredInputs),s.outputs=dh(t.outputs);let a=i.hostBindings;a&&yA(t,a);let c=i.viewQuery,l=i.contentQueries;if(c&&gA(t,c),l&&vA(t,l),pA(t,i),yy(t.outputs,i.outputs),Bt(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===J&&(e=!1)}}n=Object.getPrototypeOf(n)}mA(r)}function pA(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let r=n.inputs[e];r!==void 0&&(t.inputs[e]=r,t.declaredInputs[e]=n.declaredInputs[e])}}function mA(t){let n=0,e=null;for(let r=t.length-1;r>=0;r--){let i=t[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Wi(i.hostAttrs,e=Wi(e,i.hostAttrs))}}function dh(t){return t===Pt?{}:t===Ge?[]:t}function gA(t,n){let e=t.viewQuery;e?t.viewQuery=(r,i)=>{n(r,i),e(r,i)}:t.viewQuery=n}function vA(t,n){let e=t.contentQueries;e?t.contentQueries=(r,i,o)=>{n(r,i,o),e(r,i,o)}:t.contentQueries=n}function yA(t,n){let e=t.hostBindings;e?t.hostBindings=(r,i)=>{n(r,i),e(r,i)}:t.hostBindings=n}function FD(t,n,e,r,i,o,s,a){if(e.firstCreatePass){t.mergedAttrs=Wi(t.mergedAttrs,t.attrs);let u=t.tView=pp(2,t,i,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),u.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),Vi(t,!1);let c=_A(e,n,t,r);kc()&&Ep(e,n,c,t),qi(c,n);let l=aD(c,n,c,t);n[r+le]=l,gp(n,l),Kx(l,t,n)}function bA(t,n,e,r,i,o,s,a,c,l,u){let d=e+le,h;return n.firstCreatePass?(h=Ji(n,d,4,s||null,a||null),xc()&&pD(n,t,h,lt(n.consts,l),Cp),Kb(n,h)):h=n.data[d],FD(h,t,n,e,r,i,o,c),Li(h)&&bl(n,t,h),l!=null&&Ss(t,h,u),h}function Zi(t,n,e,r,i,o,s,a,c,l,u){let d=e+le,h;if(n.firstCreatePass){if(h=Ji(n,d,4,s||null,a||null),l!=null){let p=lt(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[d];return FD(h,t,n,e,r,i,o,c),l!=null&&Ss(t,h,u),h}function PD(t,n,e,r,i,o,s,a){let c=C(),l=ce(),u=lt(l.consts,o);return bA(c,l,t,n,e,r,i,u,void 0,s,a),PD}function LD(t,n,e,r,i,o,s,a){let c=C(),l=ce(),u=lt(l.consts,o);return Zi(c,l,t,n,e,r,i,u,void 0,s,a),LD}var _A=DA;function DA(t,n,e,r){return as(!0),n[oe].createComment("")}var Il=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function no(t){return typeof t=="function"&&t[pe]!==void 0}function jp(t){return no(t)&&typeof t.set=="function"}var Sl=new y(""),Ml=new y(""),Rs=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,r,i){this._ngZone=e,this.registry=r,Nf()&&(this._destroyRef=f(Ae,{optional:!0})??void 0),Vp||(VD(i),i.addToWindow(r)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(e)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e()},r)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:i})}whenStable(e,r,i){if(i&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,r,i),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,r,i){return[]}static \u0275fac=function(r){return new(r||t)(w(j),w(jD),w(Ml))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),jD=(()=>{class t{_applications=new Map;registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){return Vp?.findTestabilityInTree(this,e,r)??null}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function VD(t){Vp=t}var Vp;function jn(t){return!!t&&typeof t.then=="function"}function Tl(t){return!!t&&typeof t.subscribe=="function"}var Bp=new y("");function xl(t){return sr([{provide:Bp,multi:!0,useValue:t}])}var Up=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=f(Bp,{optional:!0})??[];injector=f($);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let i of this.appInits){let o=xe(this.injector,i);if(jn(o))e.push(o);else if(Tl(o)){let s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Al=new y("");function BD(){Qd(()=>{let t="";throw new b(600,t)})}function UD(t){return t.isBoundToModule}var EA=10;var He=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(ut);afterRenderManager=f(gl);zonelessEnabled=f(ls);rootEffectScheduler=f(Fc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new S;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(kn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(H(e=>!e))}constructor(){f(Wt,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=f(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,i=$.NULL){return this._injector.get(j).run(()=>{ie(K.BootstrapComponentStart);let s=e instanceof El;if(!this._injector.get(Up).done){let m="";throw new b(405,m)}let c;s?c=e:c=this._injector.get(xs).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=UD(c)?void 0:this._injector.get(mn),u=r||c.selector,d=c.create(i,[],u,l),h=d.location.nativeElement,p=d.injector.get(Sl,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),hs(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),ie(K.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ie(K.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ml.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw ie(K.ChangeDetectionEnd),new b(101,!1);let e=x(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,x(e),this.afterTick.next(),ie(K.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(je,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<EA;){ie(K.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{ie(K.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews){if(!r&&!is(i))continue;let o=r&&!this.zonelessEnabled?0:1;rD(i,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})=>is(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;hs(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(e),this._injector.get(Al,[]).forEach(i=>i(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),()=>hs(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new b(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function hs(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function HD(t,n){let e=C(),r=On();if(rt(e,r,n)){let i=ce(),o=Bi();if(_l(o,i,e,t,n))fn(o)&&K_(e,o.index);else{let a=Ct(o,e);Q_(e[oe],a,null,o.value,t,n,null)}}return HD}function Yt(t,n,e,r){let i=C(),o=On();if(rt(i,o,n)){let s=ce(),a=Bi();Q0(a,i,t,n,e,r)}return Yt}function wA(){return C()[We][me]}var Wh=class{destroy(n){}updateValue(n,e){}swap(n,e){let r=Math.min(n,e),i=Math.max(n,e),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,e){this.attach(e,this.detach(n))}};function fh(t,n,e,r,i){return t===e&&Object.is(n,r)?1:Object.is(i(t,n),i(e,r))?-1:0}function CA(t,n,e,r){let i,o,s=0,a=t.length-1,c=void 0;if(Array.isArray(n)){x(r);let l=n.length-1;for(x(null);s<=a&&s<=l;){let u=t.at(s),d=n[s],h=fh(s,u,s,d,e);if(h!==0){h<0&&t.updateValue(s,d),s++;continue}let p=t.at(a),m=n[l],_=fh(a,p,l,m,e);if(_!==0){_<0&&t.updateValue(a,m),a--,l--;continue}let E=e(s,u),I=e(a,p),ee=e(s,d);if(Object.is(ee,I)){let Pe=e(l,m);Object.is(Pe,E)?(t.swap(s,a),t.updateValue(a,m),l--,a--):t.move(a,s),t.updateValue(s,d),s++;continue}if(i??=new il,o??=Vb(t,s,a,e),qh(t,i,s,ee))t.updateValue(s,d),s++,a++;else if(o.has(ee))i.set(E,t.detach(s)),a--;else{let Pe=t.create(s,n[s]);t.attach(s,Pe),s++,a++}}for(;s<=l;)jb(t,i,e,s,n[s]),s++}else if(n!=null){x(r);let l=n[Symbol.iterator]();x(null);let u=l.next();for(;!u.done&&s<=a;){let d=t.at(s),h=u.value,p=fh(s,d,s,h,e);if(p!==0)p<0&&t.updateValue(s,h),s++,u=l.next();else{i??=new il,o??=Vb(t,s,a,e);let m=e(s,h);if(qh(t,i,s,m))t.updateValue(s,h),s++,a++,u=l.next();else if(!o.has(m))t.attach(s,t.create(s,h)),s++,a++,u=l.next();else{let _=e(s,d);i.set(_,t.detach(s)),a--}}}for(;!u.done;)jb(t,i,e,t.length,u.value),u=l.next()}for(;s<=a;)t.destroy(t.detach(a--));i?.forEach(l=>{t.destroy(l)})}function qh(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function jb(t,n,e,r,i){if(qh(t,n,r,e(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Vb(t,n,e,r){let i=new Set;for(let o=n;o<=e;o++)i.add(r(o,t.at(o)));return i}var il=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 r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,r]of this.kvMap)if(n(r,e),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,e)}}};function IA(t,n,e,r,i,o,s,a){qt("NgControlFlow");let c=C(),l=ce(),u=lt(l.consts,o);return Zi(c,l,t,n,e,r,i,u,256,s,a),Hp}function Hp(t,n,e,r,i,o,s,a){qt("NgControlFlow");let c=C(),l=ce(),u=lt(l.consts,o);return Zi(c,l,t,n,e,r,i,u,512,s,a),Hp}function SA(t,n){qt("NgControlFlow");let e=C(),r=On(),i=e[r]!==Ve?e[r]:-1,o=i!==-1?ol(e,le+i):void 0,s=0;if(rt(e,r,t)){let a=x(null);try{if(o!==void 0&&lD(o,s),t!==-1){let c=le+t,l=ol(e,c),u=Qh(e[A],c),d=dD(l,u,e),h=Ms(e,u,n,{dehydratedView:d});Ts(l,h,s,Yi(u,d))}}finally{x(a)}}else if(o!==void 0){let a=cD(o,s);a!==void 0&&(a[me]=n)}}var Yh=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-ge}};function MA(t){return t}function TA(t,n){return n}var Zh=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function xA(t,n,e,r,i,o,s,a,c,l,u,d,h){qt("NgControlFlow");let p=C(),m=ce(),_=c!==void 0,E=C(),I=a?s.bind(E[We][me]):s,ee=new Zh(_,I);E[le+t]=ee,Zi(p,m,t+1,n,e,r,i,lt(m.consts,o),256),_&&Zi(p,m,t+2,c,l,u,d,lt(m.consts,h),512)}var Kh=class extends Wh{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,r){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=r}get length(){return this.lContainer.length-ge}at(n){return this.getLView(n)[me].$implicit}attach(n,e){let r=e[Ur];this.needsIndexUpdate||=n!==this.length,Ts(this.lContainer,e,n,Yi(this.templateTNode,r)),RA(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,NA(this.lContainer,n),OA(this.lContainer,n)}create(n,e){let r=Qc(this.lContainer,this.templateTNode.tView.ssrId);return Ms(this.hostLView,this.templateTNode,new Yh(this.lContainer,e,n),{dehydratedView:r})}destroy(n){vl(n[A],n)}updateValue(n,e){this.getLView(n)[me].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[me].$index=n}getLView(n){return kA(this.lContainer,n)}};function AA(t){let n=x(null),e=Ut();try{let r=C(),i=r[A],o=r[e],s=e+1,a=ol(r,s);if(o.liveCollection===void 0){let l=Qh(i,s);o.liveCollection=new Kh(a,r,l)}else o.liveCollection.reset();let c=o.liveCollection;if(CA(c,t,o.trackByFn,n),c.updateIndexes(),o.hasEmptyBlock){let l=On(),u=c.length===0;if(rt(r,l,u)){let d=e+2,h=ol(r,d);if(u){let p=Qh(i,d),m=dD(h,p,r),_=Ms(r,p,void 0,{dehydratedView:m});Ts(h,_,0,Yi(p,m))}else i.firstUpdatePass&&_x(h),lD(h,0)}}}finally{x(n)}}function ol(t,n){return t[n]}function RA(t,n){if(t.length<=ge)return;let e=ge+n,r=t[e],i=r?r[cr]:void 0;if(r&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0){let o=r[An];A0(o,i),Kr.delete(r[Rn]),i.detachedLeaveAnimationFns=void 0}}function NA(t,n){if(t.length<=ge)return;let e=ge+n,r=t[e],i=r?r[cr]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[])}function OA(t,n){return vs(t,n)}function kA(t,n){return cD(t,n)}function Qh(t,n){return Sc(t,n)}function $D(t,n,e){let r=C(),i=On();if(rt(r,i,n)){let o=ce(),s=Bi();Y_(s,r,t,n,r[oe],e)}return $D}function Xh(t,n,e,r,i){_l(n,t,e,i?"class":"style",r)}function sl(t,n,e,r){let i=C(),o=i[A],s=t+le,a=o.firstCreatePass?Ap(s,i,2,n,Cp,xc(),e,r):o.data[s];if(fn(a)){let c=i[jt].tracingService;if(c&&c.componentCreate){let l=o.data[a.directiveStart+a.componentOffset];return c.componentCreate(DD(l),()=>(Bb(t,n,i,a,r),sl))}}return Bb(t,n,i,a,r),sl}function Bb(t,n,e,r,i){if(Ip(r,e,t,n,zD),Li(r)){let o=e[A];bl(o,e,r),op(o,r,e)}i!=null&&Ss(e,r)}function $p(){let t=ce(),n=Ee(),e=Sp(n);return t.firstCreatePass&&Rp(t,e),qf(e)&&Yf(),Gf(),e.classesWithoutHost!=null&&uT(e)&&Xh(t,e,C(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&dT(e)&&Xh(t,e,C(),e.stylesWithoutHost,!1),$p}function Rl(t,n,e,r){return sl(t,n,e,r),$p(),Rl}function Jr(t,n,e,r){let i=C(),o=i[A],s=t+le,a=o.firstCreatePass?kx(s,o,2,n,e,r):o.data[s];return Ip(a,i,t,n,zD),r!=null&&Ss(i,a),Jr}function ei(){let t=Ee(),n=Sp(t);return qf(n)&&Yf(),Gf(),ei}function vn(t,n,e,r){return Jr(t,n,e,r),ei(),vn}var zD=(t,n,e,r,i)=>(as(!0),T_(n[oe],r,tb()));function zp(t,n,e){let r=C(),i=r[A],o=t+le,s=i.firstCreatePass?Ap(o,r,8,"ng-container",Cp,xc(),n,e):i.data[o];if(Ip(s,r,t,"ng-container",FA),Li(s)){let a=r[A];bl(a,r,s),op(a,s,r)}return e!=null&&Ss(r,s),zp}function Gp(){let t=ce(),n=Ee(),e=Sp(n);return t.firstCreatePass&&Rp(t,e),Gp}function GD(t,n,e){return zp(t,n,e),Gp(),GD}var FA=(t,n,e,r,i)=>(as(!0),t0(n[oe],""));function PA(){return C()}function WD(t,n,e){let r=C(),i=On();if(rt(r,i,n)){let o=ce(),s=Bi();Z_(s,r,t,n,r[oe],e)}return WD}var us=void 0;function LA(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var jA=["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"]],us,[["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"]],us,[["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}",us,us,us],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",LA],hh={};function pt(t){let n=VA(t),e=Ub(n);if(e)return e;let r=n.split("-")[0];if(e=Ub(r),e)return e;if(r==="en")return jA;throw new b(701,!1)}function Ub(t){return t in hh||(hh[t]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t]),hh[t]}var _e=(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})(_e||{});function VA(t){return t.toLowerCase().replace(/_/g,"-")}var Ns="en-US";var BA=Ns;function qD(t){typeof t=="string"&&(BA=t.toLowerCase().replace(/_/g,"-"))}function Zt(t,n,e){let r=C(),i=ce(),o=Ee();return ZD(i,r,r[oe],o,t,n,e),Zt}function YD(t,n,e){let r=C(),i=ce(),o=Ee();return(o.type&3||e)&&bD(o,i,r,e,r[oe],t,n,zc(o,r,n)),YD}function ZD(t,n,e,r,i,o,s){let a=!0,c=null;if((r.type&3||s)&&(c??=zc(r,n,o),bD(r,t,n,s,e,i,o,c)&&(a=!1)),a){let l=r.outputs?.[i],u=r.hostDirectiveOutputs?.[i];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],p=u[d+1];c??=zc(r,n,o),Nb(r,n,h,p,i,c)}if(l&&l.length)for(let d of l)c??=zc(r,n,o),Nb(r,n,d,i,i,c)}}function UA(t=1){return Xy(t)}function HA(t,n){let e=null,r=m0(t);for(let i=0;i<n.length;i++){let o=n[i];if(o==="*"){e=i;continue}if(r===null?P_(t,o,!0):y0(r,o))return i}return e}function ti(t){let n=C()[We][Qe];if(!n.projection){let e=t?t.length:1,r=n.projection=Iy(e,null),i=r.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?HA(o,t):0;s!==null&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function Vn(t,n=0,e,r,i,o){let s=C(),a=ce(),c=r?t+1:null;c!==null&&Zi(s,a,c,r,i,o,null,e);let l=Ji(a,le+t,16,null,e||null);l.projection===null&&(l.projection=n),Qf();let d=!s[Ur]||Wf();s[We][Qe].projection[l.projection]===null&&c!==null?$A(s,a,c):d&&!dl(l)&&U0(a,s,l)}function $A(t,n,e){let r=le+e,i=n.data[r],o=t[r],s=Qc(o,i.tView.ssrId),a=Ms(t,i,void 0,{dehydratedView:s});Ts(o,a,0,Yi(i,s))}function Nl(t,n,e,r){return MD(t,n,e,r),Nl}function Ol(t,n,e){return SD(t,n,e),Ol}function Os(t){let n=C(),e=ce(),r=Rc();ss(r+1);let i=kp(e,r);if(t.dirty&&Oy(n)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=xD(n,r);t.reset(o,c_),t.notifyOnChanges()}return!0}return!1}function ks(){return Op(C(),Rc())}function KD(t,n,e,r,i){return RD(n,MD(t,e,r,i)),KD}function QD(t,n,e,r){return RD(t,SD(n,e,r)),QD}function zA(t=1){ss(Rc()+t)}function GA(t){let n=$y();return rs(n,le+t)}function Vc(t,n){return t<<17|n<<2}function Qr(t){return t>>17&32767}function WA(t){return(t&2)==2}function qA(t,n){return t&131071|n<<17}function Jh(t){return t|2}function Ki(t){return(t&131068)>>2}function ph(t,n){return t&-131069|n<<2}function YA(t){return(t&1)===1}function ep(t){return t|1}function ZA(t,n,e,r,i,o){let s=o?n.classBindings:n.styleBindings,a=Qr(s),c=Ki(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||Oi(d,u)>0)&&(l=!0)}else u=e;if(i)if(c!==0){let h=Qr(t[a+1]);t[r+1]=Vc(h,a),h!==0&&(t[h+1]=ph(t[h+1],r)),t[a+1]=qA(t[a+1],r)}else t[r+1]=Vc(a,0),a!==0&&(t[a+1]=ph(t[a+1],r)),a=r;else t[r+1]=Vc(c,0),a===0?a=r:t[c+1]=ph(t[c+1],r),c=r;l&&(t[r+1]=Jh(t[r+1])),Hb(t,u,r,!0),Hb(t,u,r,!1),KA(n,u,t,r,o),s=Vc(a,c),o?n.classBindings=s:n.styleBindings=s}function KA(t,n,e,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Oi(o,n)>=0&&(e[r+1]=ep(e[r+1]))}function Hb(t,n,e,r){let i=t[e+1],o=n===null,s=r?Qr(i):Ki(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];QA(c,n)&&(a=!0,t[s+1]=r?ep(l):Jh(l)),s=r?Qr(l):Ki(l)}a&&(t[e+1]=r?Jh(i):ep(i))}function QA(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Oi(t,n)>=0:!1}var $t={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function XA(t){return t.substring($t.key,$t.keyEnd)}function JA(t){return eR(t),XD(t,JD(t,0,$t.textEnd))}function XD(t,n){let e=$t.textEnd;return e===n?-1:(n=$t.keyEnd=tR(t,$t.key=n,e),JD(t,n,e))}function eR(t){$t.key=0,$t.keyEnd=0,$t.value=0,$t.valueEnd=0,$t.textEnd=t.length}function JD(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function tR(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function kl(t,n,e){return eE(t,n,e,!1),kl}function Xe(t,n){return eE(t,n,null,!0),Xe}function Wp(t){rR(lR,nR,t,!0)}function nR(t,n){for(let e=JA(n);e>=0;e=XD(n,e))wc(t,XA(n),!0)}function eE(t,n,e,r){let i=C(),o=ce(),s=os(2);if(o.firstUpdatePass&&nE(o,t,s,r),n!==Ve&&rt(i,s,n)){let a=o.data[Ut()];rE(o,a,i,i[oe],t,i[s+1]=dR(n,e),r,s)}}function rR(t,n,e,r){let i=ce(),o=os(2);i.firstUpdatePass&&nE(i,null,o,r);let s=C();if(e!==Ve&&rt(s,o,e)){let a=i.data[Ut()];if(iE(a,r)&&!tE(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=vc(c,e||"")),Xh(i,a,s,e,r)}else uR(i,a,s,s[oe],s[o+1],s[o+1]=cR(t,n,e),r,o)}}function tE(t,n){return n>=t.expandoStartIndex}function nE(t,n,e,r){let i=t.data;if(i[e+1]===null){let o=i[Ut()],s=tE(t,e);iE(o,r)&&n===null&&!s&&(n=!1),n=iR(i,o,n,r),ZA(i,o,n,e,s,r)}}function iR(t,n,e,r){let i=Yy(t),o=r?n.residualClasses:n.residualStyles;if(i===null)(r?n.classBindings:n.styleBindings)===0&&(e=mh(null,t,n,e,r),e=_s(e,n.attrs,r),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==i)if(e=mh(i,t,n,e,r),o===null){let c=oR(t,n,r);c!==void 0&&Array.isArray(c)&&(c=mh(null,t,n,c[1],r),c=_s(c,n.attrs,r),sR(t,n,r,c))}else o=aR(t,n,r)}return o!==void 0&&(r?n.residualClasses=o:n.residualStyles=o),e}function oR(t,n,e){let r=e?n.classBindings:n.styleBindings;if(Ki(r)!==0)return t[Qr(r)]}function sR(t,n,e,r){let i=e?n.classBindings:n.styleBindings;t[Qr(i)]=r}function aR(t,n,e){let r,i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=_s(r,s,e)}return _s(r,n.attrs,e)}function mh(t,n,e,r,i){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],r=_s(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function _s(t,n,e){let r=e?1:2,i=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),wc(t,s,e?!0:n[++o]))}return t===void 0?null:t}function cR(t,n,e){if(e==null||e==="")return Ge;let r=[],i=ft(e);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if(i instanceof Set)for(let o of i)t(r,o,!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else typeof i=="string"&&n(r,i);return r}function lR(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&wc(t,r,e)}function uR(t,n,e,r,i,o,s,a){i===Ve&&(i=Ge);let c=0,l=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;u!==null||d!==null;){let h=c<i.length?i[c+1]:void 0,p=l<o.length?o[l+1]:void 0,m=null,_;u===d?(c+=2,l+=2,h!==p&&(m=d,_=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,_=p),m!==null&&rE(t,n,e,r,m,_,s,a),u=c<i.length?i[c]:null,d=l<o.length?o[l]:null}}function rE(t,n,e,r,i,o,s,a){if(!(n.type&3))return;let c=t.data,l=c[a+1],u=YA(l)?$b(c,n,e,i,Ki(l),s):void 0;if(!al(u)){al(o)||WA(l)&&(o=$b(c,null,e,i,a,s));let d=jf(Ut(),e);$0(r,s,d,i,o)}}function $b(t,n,e,r,i,o){let s=n===null,a;for(;i>0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=e[i+1];h===Ve&&(h=d?Ge:void 0);let p=d?Cc(h,r):u===r?h:void 0;if(l&&!al(p)&&(p=Cc(c,r)),al(p)&&(a=p,s))return a;let m=t[i+1];i=s?Qr(m):Ki(m)}if(n!==null){let c=o?n.residualClasses:n.residualStyles;c!=null&&(a=Cc(c,r))}return a}function al(t){return t!==void 0}function dR(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Xo(ft(t)))),t}function iE(t,n){return(t.flags&(n?8:16))!==0}function fR(t,n=""){let e=C(),r=ce(),i=t+le,o=r.firstCreatePass?Ji(r,i,1,n,null):r.data[i],s=hR(r,e,o,n);e[i]=s,kc()&&Ep(r,e,s,o),Vi(o,!1)}var hR=(t,n,e,r)=>(as(!0),JT(n[oe],r));function oE(t,n,e,r=""){return rt(t,On(),e)?n+un(e)+r:Ve}function pR(t,n,e,r,i,o=""){let s=Jf(),a=ys(t,s,e,i);return os(2),a?n+un(e)+r+un(i)+o:Ve}function mR(t,n,e,r,i,o,s,a=""){let c=Jf(),l=yD(t,c,e,i,s);return os(3),l?n+un(e)+r+un(i)+o+un(s)+a:Ve}function sE(t){return qp("",t),sE}function qp(t,n,e){let r=C(),i=oE(r,t,n,e);return i!==Ve&&Yp(r,Ut(),i),qp}function aE(t,n,e,r,i){let o=C(),s=pR(o,t,n,e,r,i);return s!==Ve&&Yp(o,Ut(),s),aE}function cE(t,n,e,r,i,o,s){let a=C(),c=mR(a,t,n,e,r,i,o,s);return c!==Ve&&Yp(a,Ut(),c),cE}function Yp(t,n,e){let r=jf(n,t);e0(t[oe],r,e)}function lE(t,n,e){jp(n)&&(n=n());let r=C(),i=On();if(rt(r,i,n)){let o=ce(),s=Bi();Y_(s,r,t,n,r[oe],e)}return lE}function gR(t,n){let e=jp(t);return e&&t.set(n),e}function uE(t,n){let e=C(),r=ce(),i=Ee();return ZD(r,e,e[oe],i,t,n),uE}function vR(t,n,e=""){return oE(C(),t,n,e)}function yR(t,n,e){let r=hn()+t,i=C();return i[r]===Ve?eo(i,r,n(e,i)):vD(i,r)}function zb(t,n,e){let r=ce();r.firstCreatePass&&dE(n,r.data,r.blueprint,Bt(t),e)}function dE(t,n,e,r,i){if(t=Me(t),Array.isArray(t))for(let o=0;o<t.length;o++)dE(t[o],n,e,r,i);else{let o=ce(),s=C(),a=Ee(),c=Lr(t)?t:Me(t.provide),l=Rf(t),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Lr(t)||!t.multi){let p=new Zr(l,i,D,null),m=vh(c,n,i?u:u+h,d);m===-1?(bh(Zc(a,s),o,c),gh(o,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[m]=p,s[m]=p)}else{let p=vh(c,n,u+h,d),m=vh(c,n,u,u+h),_=p>=0&&e[p],E=m>=0&&e[m];if(i&&!E||!i&&!_){bh(Zc(a,s),o,c);let I=DR(i?_R:bR,e.length,i,r,l,t);!i&&E&&(e[m].providerFactory=I),gh(o,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(I),s.push(I)}else{let I=fE(e[i?m:p],l,!i&&r);gh(o,t,p>-1?p:m,I)}!i&&r&&E&&e[m].componentProviders++}}}function gh(t,n,e,r){let i=Lr(n),o=Ay(n);if(i||o){let c=(o?Me(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[r,c]):l[u+1].push(r,c)}else l.push(e,c)}}}function fE(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function vh(t,n,e,r){for(let i=e;i<r;i++)if(n[i]===t)return i;return-1}function bR(t,n,e,r,i){return tp(this.multi,[])}function _R(t,n,e,r,i){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=ps(r,r[A],this.providerFactory.index,i);s=c.slice(0,a),tp(o,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],tp(o,s);return s}function tp(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function DR(t,n,e,r,i,o){let s=new Zr(t,e,D,null);return s.multi=[],s.index=n,s.componentProviders=0,fE(s,i,r&&!e),s}function we(t,n){return e=>{e.providersResolver=(r,i)=>zb(r,i?i(t):t,!1),n&&(e.viewProvidersResolver=(r,i)=>zb(r,i?i(n):n,!0))}}function ER(t,n){let e=hn()+t,r=C();return r[e]===Ve?eo(r,e,n()):vD(r,e)}function wR(t,n,e){return hE(C(),hn(),t,n,e)}function CR(t,n,e,r){return pE(C(),hn(),t,n,e,r)}function IR(t,n,e,r,i){return mE(C(),hn(),t,n,e,r,i)}function SR(t,n,e,r,i,o,s){return MR(C(),hn(),t,n,e,r,i,o)}function Fl(t,n){let e=t[n];return e===Ve?void 0:e}function hE(t,n,e,r,i,o){let s=n+e;return rt(t,s,i)?eo(t,s+1,o?r.call(o,i):r(i)):Fl(t,s+1)}function pE(t,n,e,r,i,o,s){let a=n+e;return ys(t,a,i,o)?eo(t,a+2,s?r.call(s,i,o):r(i,o)):Fl(t,a+2)}function mE(t,n,e,r,i,o,s,a){let c=n+e;return yD(t,c,i,o,s)?eo(t,c+3,a?r.call(a,i,o,s):r(i,o,s)):Fl(t,c+3)}function MR(t,n,e,r,i,o,s,a,c){let l=n+e;return Fx(t,l,i,o,s,a)?eo(t,l+4,c?r.call(c,i,o,s,a):r(i,o,s,a)):Fl(t,l+4)}function TR(t,n){let e=ce(),r,i=t+le;e.firstCreatePass?(r=xR(n,e.pipeRegistry),e.data[i]=r,r.onDestroy&&(e.destroyHooks??=[]).push(i,r.onDestroy)):r=e.data[i];let o=r.factory||(r.factory=rr(r.type,!0)),s,a=Ke(D);try{let c=Yc(!1),l=o();return Yc(c),Vf(e,C(),i,l),l}finally{Ke(a)}}function xR(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function AR(t,n,e){let r=t+le,i=C(),o=rs(i,r);return Zp(i,r)?hE(i,hn(),n,o.transform,e,o):o.transform(e)}function RR(t,n,e,r){let i=t+le,o=C(),s=rs(o,i);return Zp(o,i)?pE(o,hn(),n,s.transform,e,r,s):s.transform(e,r)}function NR(t,n,e,r,i){let o=t+le,s=C(),a=rs(s,o);return Zp(s,o)?mE(s,hn(),n,a.transform,e,r,i,a):a.transform(e,r,i)}function Zp(t,n){return t[A].data[n].pure}function OR(t,n){return Dl(t,n)}var cl=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Kp=(()=>{class t{compileModuleSync(e){return new rl(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),i=wf(e),o=k_(i.declarations).reduce((s,a)=>{let c=ln(a);return c&&s.push(new fr(c)),s},[]);return new cl(r,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gE=(()=>{class t{applicationErrorHandler=f(ut);appRef=f(He);taskService=f(kn);ngZone=f(j);zonelessEnabled=f(ls);tracing=f(Wt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ko):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(sh,{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 r=this.useMicrotaskScheduler?ob:rh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ko+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(r){this.applicationErrorHandler(r)}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(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function kR(){return qt("NgZoneless"),sr([...Qp(),[]])}function Qp(){return[{provide:cn,useExisting:gE},{provide:j,useClass:Qo},{provide:ls,useValue:!0}]}function FR(){return typeof $localize<"u"&&$localize.locale||Ns}var Fs=new y("",{factory:()=>f(Fs,{optional:!0,skipSelf:!0})||FR()});var Ps=class{destroyed=!1;listeners=null;errorHandler=f(_t,{optional:!0});destroyRef=f(Ae);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(Dt(953,!1));return}if(this.listeners===null)return;let e=x(null);try{for(let r of this.listeners)try{r(n)}catch(i){this.errorHandler?.handleError(i)}}finally{x(e)}}};function q(t){return hy(t)}function Kt(t,n){return zo(t,n?.equal)}var PR=t=>t;function Xp(t,n){if(typeof t=="function"){let e=nf(t,PR,n?.equal);return vE(e,n?.debugName)}else{let e=nf(t.source,t.computation,t.equal);return vE(e,t.debugName)}}function vE(t,n){let e=t[pe],r=t;return r.set=i=>dy(e,i),r.update=i=>fy(e,i),r.asReadonly=cs.bind(t),r}var Vl=Symbol("InputSignalNode#UNSET"),ME=F(g({},Go),{transformFn:void 0,applyValueToInputSignal(t,n){nr(t,n)}});function TE(t,n){let e=Object.create(ME);e.value=t,e.transformFn=n?.transform;function r(){if(Mn(e),e.value===Vl){let i=null;throw new b(-950,i)}return e.value}return r[pe]=e,r}var Ll=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Es(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},z4=(()=>{let t=new y("");return t.__NG_ELEMENT_ID__=n=>{let e=Ee();if(e===null)throw new b(-204,!1);if(e.type&2)return e.value;if(n&8)return null;throw new b(-204,!1)},t})();function G4(t){return new Ps}function yE(t,n){return TE(t,n)}function qR(t){return TE(Vl,t)}var xE=(yE.required=qR,yE);function bE(t,n){return Pp(n)}function YR(t,n){return Lp(n)}var W4=(bE.required=YR,bE);function q4(t,n){return AD(n)}function _E(t,n){return Pp(n)}function ZR(t,n){return Lp(n)}var Y4=(_E.required=ZR,_E);function AE(t,n){let e=Object.create(ME),r=new Ps;e.value=t;function i(){return Mn(e),DE(e.value),e.value}return i[pe]=e,i.asReadonly=cs.bind(i),i.set=o=>{e.equal(e.value,o)||(nr(e,o),r.emit(o))},i.update=o=>{DE(e.value),i.set(o(e.value))},i.subscribe=r.subscribe.bind(r),i.destroyRef=r.destroyRef,i}function DE(t){if(t===Vl)throw new b(952,!1)}function EE(t,n){return AE(t,n)}function KR(t){return AE(Vl,t)}var Z4=(EE.required=KR,EE);var em=new y(""),QR=new y("");function Ls(t){return!t.moduleRef}function XR(t){let n=Ls(t)?t.r3Injector:t.moduleRef.injector,e=n.get(j);return e.run(()=>{Ls(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(ut),i;if(e.runOutsideAngular(()=>{i=e.onError.subscribe({next:r})}),Ls(t)){let o=()=>n.destroy(),s=t.platformInjector.get(em);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(em);s.add(o),t.moduleRef.onDestroy(()=>{hs(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return eN(r,e,()=>{let o=n.get(kn),s=o.add(),a=n.get(Up);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Fs,Ns);if(qD(c||Ns),!n.get(QR,!0))return Ls(t)?n.get(He):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Ls(t)){let u=n.get(He);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return JR?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(s)})})})}var JR;function eN(t,n,e){try{let r=e();return jn(r)?r.catch(i=>{throw n.runOutsideAngular(()=>t(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var Pl=null;function tN(t=[],n){return $.create({name:n,providers:[{provide:ts,useValue:"platform"},{provide:em,useValue:new Set([()=>Pl=null])},...t]})}function nN(t=[]){if(Pl)return Pl;let n=tN(t);return Pl=n,BD(),rN(n),n}function rN(t){let n=t.get(ll,null);xe(t,()=>{n?.forEach(e=>e())})}var iN=1e4;var K4=iN-1e3;var St=(()=>{class t{static __NG_ELEMENT_ID__=oN}return t})();function oN(t){return sN(Ee(),C(),(t&16)===16)}function sN(t,n,e){if(fn(t)&&!e){let r=It(t.index,n);return new dr(r,r)}else if(t.type&175){let r=n[We];return new dr(r,n)}return null}var tm=class{supports(n){return Np(n)}create(n){return new nm(n)}},aN=(t,n)=>n,nm=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||aN}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,i=0,o=null;for(;e||r;){let s=!r||e&&e.currentIndex<wE(r,i,o)?e:r,a=wE(s,i,o),c=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(e=e._next,s.previousIndex==null)i++;else{o||(o=[]);let l=a-i,u=c-i;if(l!=u){for(let h=0;h<l;h++){let p=h<o.length?o[h]:o[h]=0,m=p+h;u<=m&&m<l&&(o[h]=p+1)}let d=s.previousIndex;o[d]=u-l}}a!==c&&n(s,a,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=[]),!Np(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,r=!1,i,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),r=!0):(r&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else i=0,gD(n,a=>{s=this._trackByFn(i,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,i),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,i++}),this.length=i;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,r,i){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,i)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,i),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,i)):n=this._addAfter(new rm(e,r),o,i)),n}_verifyReinsertion(n,e,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),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,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let i=n._prevRemoved,o=n._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let i=e===null?this._itHead:e._next;return n._next=i,n._prev=e,i===null?this._itTail=n:i._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new jl),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._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 jl),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}},rm=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}},im=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 r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},jl=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new im,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,i=this.map.get(r);return i?i.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 wE(t,n,e){let r=t.previousIndex;if(r===null)return r;let i=0;return e&&r<e.length&&(i=e[r]),r+n+i}var om=class{supports(n){return n instanceof Map||wl(n)}create(){return new sm}},sm=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||wl(n)))throw new b(900,!1);return this.check(n)?this:null}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,i)=>{if(e&&e.key===i)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(i,r);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let r=n._prev;return e._next=n,e._prev=r,n._prev=e,r&&(r._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let i=this._records.get(n);this._maybeAddToChanges(i,e);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let r=new am(n);return this._records.set(n,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(r=>e(n[r],r))}},am=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function CE(){return new Bl([new tm])}var Bl=(()=>{class t{factories;static \u0275prov=v({token:t,providedIn:"root",factory:CE});constructor(e){this.factories=e}static create(e,r){if(r!=null){let i=r.factories.slice();e=e.concat(i)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=f(t,{optional:!0,skipSelf:!0});return t.create(e,r||CE())}}}find(e){let r=this.factories.find(i=>i.supports(e));if(r!=null)return r;throw new b(901,!1)}}return t})();function IE(){return new um([new om])}var um=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:IE});factories;constructor(e){this.factories=e}static create(e,r){if(r){let i=r.factories.slice();e=e.concat(i)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=f(t,{optional:!0,skipSelf:!0});return t.create(e,r||IE())}}}find(e){let r=this.factories.find(i=>i.supports(e));if(r)return r;throw new b(901,!1)}}return t})();var RE=(()=>{class t{constructor(e){}static \u0275fac=function(r){return new(r||t)(w(He))};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function NE(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:i}=t;ie(K.BootstrapApplicationStart);try{let o=i?.injector??nN(r),s=[Qp(),ab,...e||[]],a=new bs({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1});return XR({r3Injector:a.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{ie(K.BootstrapApplicationEnd)}}function ue(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function dm(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var Jp=Symbol("NOT_SET"),OE=new Set,cN=F(g({},Go),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Jp,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!==Jp&&!xi(this))return this.signal;try{for(let i of this.cleanup??OE)i()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Tn(this),r;try{r=this.userFn.apply(null,n)}finally{er(this,e)}return(this.value===Jp||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),cm=class extends ms{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,r,i,o,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,o.get(Ae),s),this.scheduler=i;for(let a of bp){let c=e[a];if(c===void 0)continue;let l=Object.create(cN);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Mn(l),l.value),l.signal[pe]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??OE)e()}finally{tr(n)}}};function Q4(t,n){let e=n?.injector??f($),r=e.get(cn),i=e.get(gl),o=e.get(Wt,null,{optional:!0});i.impl??=e.get(_p);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(Ui,null,{optional:!0}),c=new cm(i.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,o?.snapshot(null));return i.impl.register(c),c}function Ul(t,n){let e=ln(t),r=n.elementInjector||ki();return new fr(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function kE(t){let n=ln(t);if(!n)return null;let e=new fr(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var FE=null;function mt(){return FE}function fm(t){FE??=t}var js=class{},Bn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(PE),providedIn:"platform"})}return t})(),hm=new y(""),PE=(()=>{class t extends Bn{_location;_history;_doc=f(L);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mt().getBaseHref(this._doc)}onPopState(e){let r=mt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=mt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.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,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Hl(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function LE(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Qt(t){return t&&t[0]!=="?"?`?${t}`:t}var Xt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(zl),providedIn:"root"})}return t})(),$l=new y(""),zl=(()=>{class t extends Xt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(L).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 Hl(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Qt(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Qt(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Qt(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(w(Bn),w($l,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yn=(()=>{class t{_subject=new S;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=dN(LE(jE(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Qt(r))}normalize(e){return t.stripTrailingSlash(uN(this._basePath,jE(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qt(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qt(r)),i)}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(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Qt;static joinWithSlash=Hl;static stripTrailingSlash=LE;static \u0275fac=function(r){return new(r||t)(w(Xt))};static \u0275prov=v({token:t,factory:()=>lN(),providedIn:"root"})}return t})();function lN(){return new yn(w(Xt))}function uN(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function jE(t){return t.replace(/\/index.html$/,"")}function dN(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var _m=(()=>{class t extends Xt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}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}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=Hl(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Qt(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Qt(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(w(Bn),w($l,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var Ye=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Ye||{}),ae=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(ae||{}),ot=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(ot||{}),Hn={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 $E(t){return pt(t)[_e.LocaleId]}function zE(t,n,e){let r=pt(t),i=[r[_e.DayPeriodsFormat],r[_e.DayPeriodsStandalone]],o=Mt(i,n);return Mt(o,e)}function GE(t,n,e){let r=pt(t),i=[r[_e.DaysFormat],r[_e.DaysStandalone]],o=Mt(i,n);return Mt(o,e)}function WE(t,n,e){let r=pt(t),i=[r[_e.MonthsFormat],r[_e.MonthsStandalone]],o=Mt(i,n);return Mt(o,e)}function qE(t,n){let r=pt(t)[_e.Eras];return Mt(r,n)}function Vs(t,n){let e=pt(t);return Mt(e[_e.DateFormat],n)}function Bs(t,n){let e=pt(t);return Mt(e[_e.TimeFormat],n)}function Us(t,n){let r=pt(t)[_e.DateTimeFormat];return Mt(r,n)}function Hs(t,n){let e=pt(t),r=e[_e.NumberSymbols][n];if(typeof r>"u"){if(n===Hn.CurrencyDecimal)return e[_e.NumberSymbols][Hn.Decimal];if(n===Hn.CurrencyGroup)return e[_e.NumberSymbols][Hn.Group]}return r}function YE(t){if(!t[_e.ExtraData])throw new b(2303,!1)}function ZE(t){let n=pt(t);return YE(n),(n[_e.ExtraData][2]||[]).map(r=>typeof r=="string"?pm(r):[pm(r[0]),pm(r[1])])}function KE(t,n,e){let r=pt(t);YE(r);let i=[r[_e.ExtraData][0],r[_e.ExtraData][1]],o=Mt(i,n)||[];return Mt(o,e)||[]}function Mt(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new b(2304,!1)}function pm(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var fN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Gl={},hN=/((?:[^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 QE(t,n,e,r){let i=EN(t);n=Un(e,n)||n;let s=[],a;for(;n;)if(a=hN.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=i.getTimezoneOffset();r&&(c=JE(r,c),i=DN(i,r));let l="";return s.forEach(u=>{let d=bN(u);l+=d?d(i,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Kl(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function Un(t,n){let e=$E(t);if(Gl[e]??={},Gl[e][n])return Gl[e][n];let r="";switch(n){case"shortDate":r=Vs(t,ot.Short);break;case"mediumDate":r=Vs(t,ot.Medium);break;case"longDate":r=Vs(t,ot.Long);break;case"fullDate":r=Vs(t,ot.Full);break;case"shortTime":r=Bs(t,ot.Short);break;case"mediumTime":r=Bs(t,ot.Medium);break;case"longTime":r=Bs(t,ot.Long);break;case"fullTime":r=Bs(t,ot.Full);break;case"short":let i=Un(t,"shortTime"),o=Un(t,"shortDate");r=Wl(Us(t,ot.Short),[i,o]);break;case"medium":let s=Un(t,"mediumTime"),a=Un(t,"mediumDate");r=Wl(Us(t,ot.Medium),[s,a]);break;case"long":let c=Un(t,"longTime"),l=Un(t,"longDate");r=Wl(Us(t,ot.Long),[c,l]);break;case"full":let u=Un(t,"fullTime"),d=Un(t,"fullDate");r=Wl(Us(t,ot.Full),[u,d]);break}return r&&(Gl[e][n]=r),r}function Wl(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function Jt(t,n,e="-",r,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),o+s}function pN(t,n){return Jt(t,3).substring(0,n)}function Ce(t,n,e=0,r=!1,i=!1){return function(o,s){let a=mN(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return pN(a,n);let c=Hs(s,Hn.MinusSign);return Jt(a,n,c,r,i)}}function mN(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 b(2301,!1)}}function de(t,n,e=Ye.Format,r=!1){return function(i,o){return gN(i,o,t,n,e,r)}}function gN(t,n,e,r,i,o){switch(e){case 2:return WE(n,i,r)[t.getMonth()];case 1:return GE(n,i,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let l=ZE(n),u=KE(n,i,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,_=s>=p.hours&&a>=p.minutes,E=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(_&&E)return!0}else if(_||E)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return zE(n,i,r)[s<12?0:1];case 3:return qE(n,r)[t.getFullYear()<=0?0:1];default:let c=e;throw new b(2302,!1)}}function ql(t){return function(n,e,r){let i=-1*r,o=Hs(e,Hn.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+Jt(s,2,o)+Jt(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+Jt(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+Jt(s,2,o)+":"+Jt(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+Jt(s,2,o)+":"+Jt(Math.abs(i%60),2,o);default:throw new b(2310,!1)}}}var vN=0,Zl=4;function yN(t){let n=Kl(t,vN,1).getDay();return Kl(t,0,1+(n<=Zl?Zl:Zl+7)-n)}function XE(t){let n=t.getDay(),e=n===0?-3:Zl-n;return Kl(t.getFullYear(),t.getMonth(),t.getDate()+e)}function mm(t,n=!1){return function(e,r){let i;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=XE(e),s=yN(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return Jt(i,t,Hs(r,Hn.MinusSign))}}function Yl(t,n=!1){return function(e,r){let o=XE(e).getFullYear();return Jt(o,t,Hs(r,Hn.MinusSign),n)}}var gm={};function bN(t){if(gm[t])return gm[t];let n;switch(t){case"G":case"GG":case"GGG":n=de(3,ae.Abbreviated);break;case"GGGG":n=de(3,ae.Wide);break;case"GGGGG":n=de(3,ae.Narrow);break;case"y":n=Ce(0,1,0,!1,!0);break;case"yy":n=Ce(0,2,0,!0,!0);break;case"yyy":n=Ce(0,3,0,!1,!0);break;case"yyyy":n=Ce(0,4,0,!1,!0);break;case"Y":n=Yl(1);break;case"YY":n=Yl(2,!0);break;case"YYY":n=Yl(3);break;case"YYYY":n=Yl(4);break;case"M":case"L":n=Ce(1,1,1);break;case"MM":case"LL":n=Ce(1,2,1);break;case"MMM":n=de(2,ae.Abbreviated);break;case"MMMM":n=de(2,ae.Wide);break;case"MMMMM":n=de(2,ae.Narrow);break;case"LLL":n=de(2,ae.Abbreviated,Ye.Standalone);break;case"LLLL":n=de(2,ae.Wide,Ye.Standalone);break;case"LLLLL":n=de(2,ae.Narrow,Ye.Standalone);break;case"w":n=mm(1);break;case"ww":n=mm(2);break;case"W":n=mm(1,!0);break;case"d":n=Ce(2,1);break;case"dd":n=Ce(2,2);break;case"c":case"cc":n=Ce(7,1);break;case"ccc":n=de(1,ae.Abbreviated,Ye.Standalone);break;case"cccc":n=de(1,ae.Wide,Ye.Standalone);break;case"ccccc":n=de(1,ae.Narrow,Ye.Standalone);break;case"cccccc":n=de(1,ae.Short,Ye.Standalone);break;case"E":case"EE":case"EEE":n=de(1,ae.Abbreviated);break;case"EEEE":n=de(1,ae.Wide);break;case"EEEEE":n=de(1,ae.Narrow);break;case"EEEEEE":n=de(1,ae.Short);break;case"a":case"aa":case"aaa":n=de(0,ae.Abbreviated);break;case"aaaa":n=de(0,ae.Wide);break;case"aaaaa":n=de(0,ae.Narrow);break;case"b":case"bb":case"bbb":n=de(0,ae.Abbreviated,Ye.Standalone,!0);break;case"bbbb":n=de(0,ae.Wide,Ye.Standalone,!0);break;case"bbbbb":n=de(0,ae.Narrow,Ye.Standalone,!0);break;case"B":case"BB":case"BBB":n=de(0,ae.Abbreviated,Ye.Format,!0);break;case"BBBB":n=de(0,ae.Wide,Ye.Format,!0);break;case"BBBBB":n=de(0,ae.Narrow,Ye.Format,!0);break;case"h":n=Ce(3,1,-12);break;case"hh":n=Ce(3,2,-12);break;case"H":n=Ce(3,1);break;case"HH":n=Ce(3,2);break;case"m":n=Ce(4,1);break;case"mm":n=Ce(4,2);break;case"s":n=Ce(5,1);break;case"ss":n=Ce(5,2);break;case"S":n=Ce(6,1);break;case"SS":n=Ce(6,2);break;case"SSS":n=Ce(6,3);break;case"Z":case"ZZ":case"ZZZ":n=ql(0);break;case"ZZZZZ":n=ql(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ql(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=ql(2);break;default:return null}return gm[t]=n,n}function JE(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function _N(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function DN(t,n,e){let i=t.getTimezoneOffset(),o=JE(n,i);return _N(t,-1*(o-i))}function EN(t){if(VE(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[i,o=1,s=1]=t.split("-").map(a=>+a);return Kl(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(fN))return wN(r)}let n=new Date(t);if(!VE(n))throw new b(2311,!1);return n}function wN(t){let n=new Date(0),e=0,r=0,i=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-r,c=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,s,a,c,l),n}function VE(t){return t instanceof Date&&!isNaN(t.valueOf())}var vm=/\s+/,BE=[],CN=(()=>{class t{_ngEl;_renderer;initialClasses=BE;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(vm):BE}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(vm):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(vm).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)(D(z),D(Oe))};static \u0275dir=M({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Ql=class{$implicit;ngForOf;index;count;constructor(n,e,r,i){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ew=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new Ql(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),UE(a,i)}});for(let i=0,o=r.length;i<o;i++){let a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=r.get(i.currentIndex);UE(o,i)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(D(qe),D(dt),D(Bl))};static \u0275dir=M({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function UE(t,n){t.context.$implicit=n.item}var IN=(()=>{class t{_viewContainer;_context=new Xl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){HE(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){HE(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(D(qe),D(dt))};static \u0275dir=M({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Xl=class{$implicit=null;ngIf=null};function HE(t,n){if(t&&!t.createEmbeddedView)throw new b(2020,!1)}var SN=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,i){this._ngEl=e,this._differs=r,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:Gt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(D(z),D(um),D(Oe))};static \u0275dir=M({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),MN=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f($);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(D(qe))};static \u0275dir=M({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Re]})}return t})();function Dm(t,n){return new b(2100,!1)}var ym=class{createSubscription(n,e,r){return q(()=>n.subscribe({next:e,error:r}))}dispose(n){q(()=>n.unsubscribe())}},bm=class{createSubscription(n,e,r){return n.then(i=>e?.(i),i=>r?.(i)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},TN=new bm,xN=new ym,AN=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(ut);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r),r=>this.applicationErrorHandler(r))}_selectStrategy(e){if(jn(e))return TN;if(Tl(e))return xN;throw Dm(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(D(St,16))};static \u0275pipe=As({name:"async",type:t,pure:!1})}return t})();var RN=/(?:[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,NN=(()=>{class t{transform(e){return e==null?null:(ON(t,e),e.replace(RN,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=As({name:"titlecase",type:t,pure:!0})}return t})();function ON(t,n){if(typeof n!="string")throw Dm(t,n)}var kN="mediumDate",tw=new y(""),nw=new y(""),FN=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,i){this.locale=e,this.defaultTimezone=r,this.defaultOptions=i}transform(e,r,i,o){if(e==null||e===""||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??kN,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return QE(e,s,o||this.locale,a)}catch(s){throw Dm(t,s.message)}}static \u0275fac=function(r){return new(r||t)(D(Fs,16),D(tw,24),D(nw,24))};static \u0275pipe=As({name:"date",type:t,pure:!0})}return t})();var Em=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function $s(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var ni=class{};var Cm="browser";function rw(t){return t===Cm}var Im=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new wm(f(L),window)})}return t})(),wm=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(F(g({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=PN(this.document,n);r&&(this.scrollToElement(r,e),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Dt(2400,!1))}}scrollToElement(n,e){let r=n.getBoundingClientRect(),i=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(g({},e),{left:i-s[0],top:o-s[1]}))}};function PN(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var zs=class{_doc;constructor(n){this._doc=n}manager},Jl=(()=>{class t extends zs{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||t)(w(L))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),nu=new y(""),xm=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Jl));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Jl);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(w(nu),w(j))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Sm="ng-app-id";function iw(t){for(let n of t)n.remove()}function ow(t,n){let e=n.createElement("style");return e.textContent=t,e}function jN(t,n,e,r){let i=t.head?.querySelectorAll(`style[${Sm}="${n}"],link[${Sm}="${n}"]`);if(i)for(let o of i)o.removeAttribute(Sm),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Tm(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Am=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,jN(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,ow);r?.forEach(i=>this.addUsage(i,this.external,Tm))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(iw(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])iw(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,ow(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,Tm(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(w(L),w(hr),w(Xi,8),w(Xr))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Mm={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"},Rm=/%COMP%/g;var aw="%COMP%",VN=`_nghost-${aw}`,BN=`_ngcontent-${aw}`,UN=!0,HN=new y("",{factory:()=>UN});function $N(t){return BN.replace(Rm,t)}function zN(t){return VN.replace(Rm,t)}function cw(t,n){return n.map(e=>e.replace(Rm,t))}var Nm=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,i,o,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Gs(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof tu?i.applyToHost(e):i instanceof Ws&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case zt.Emulated:o=new tu(c,l,r,this.appId,u,s,a,d);break;case zt.ShadowDom:return new eu(c,e,r,s,a,this.nonce,d,l);case zt.ExperimentalIsolatedShadowDom:return new eu(c,e,r,s,a,this.nonce,d);default:o=new Ws(c,l,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(w(xm),w(Am),w(hr),w(HN),w(L),w(j),w(Xi),w(Wt,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Gs=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Mm[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(sw(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(sw(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=Mm[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Mm[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Gt.DashCase|Gt.Important)?n.style.setProperty(e,r,i&Gt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Gt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=mt().getGlobalEventTarget(this.doc,n),!n))throw new b(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function sw(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var eu=class extends Gs{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,a,c){super(n,i,o,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=cw(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Tm(d,i);s&&h.setAttribute("nonce",s),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,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}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)}},Ws=class extends Gs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,c){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=r.styles;this.styles=c?cw(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Kr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},tu=class extends Ws{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,c){let l=i+"-"+r.id;super(n,e,r,o,s,a,c,l),this.contentAttr=$N(l),this.hostAttr=zN(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var ru=class t extends js{supportsDOMEvents=!0;static makeCurrent(){fm(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}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=GN();return e==null?null:WN(e)}resetBaseElement(){qs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return $s(document.cookie,n)}},qs=null;function GN(){return qs=qs||document.head.querySelector("base"),qs?qs.getAttribute("href"):null}function WN(t){return new URL(t,document.baseURI).pathname}var iu=class{addToWindow(n){ye.getAngularTestability=(r,i=!0)=>{let o=n.findTestabilityInTree(r,i);if(o==null)throw new b(5103,!1);return o},ye.getAllAngularTestabilities=()=>n.getAllTestabilities(),ye.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let i=ye.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};ye.frameworkStabilizers||(ye.frameworkStabilizers=[]),ye.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;let i=n.getTestability(e);return i??(r?mt().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},qN=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),lw=["alt","control","meta","shift"],YN={"\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"},ZN={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},uw=(()=>{class t extends zs{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mt().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),lw.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=YN[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),lw.forEach(s=>{if(s!==i){let a=ZN[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(w(L))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();async function KN(t,n,e){let r=g({rootComponent:t},QN(n,e));return NE(r)}function QN(t,n){return{platformRef:n?.platformRef,appProviders:[...dw,...t?.providers??[]],platformProviders:tO}}function XN(){ru.makeCurrent()}function JN(){return new _t}function eO(){return ip(document),document}var tO=[{provide:Xr,useValue:Cm},{provide:ll,useValue:XN,multi:!0},{provide:L,useFactory:eO}];var nO=[{provide:Ml,useClass:iu},{provide:Sl,useClass:Rs},{provide:Rs,useClass:Rs}],dw=[{provide:ts,useValue:"root"},{provide:_t,useFactory:JN},{provide:nu,useClass:Jl,multi:!0},{provide:nu,useClass:uw,multi:!0},Nm,Am,xm,{provide:je,useExisting:Nm},{provide:ni,useClass:qN},[]],rO=(()=>{class t{constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[...dw,...nO],imports:[Em,RE]})}return t})();var bn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}: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 r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var su=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()}},au=class{encodeKey(n){return fw(n)}encodeValue(n){return fw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function iO(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var oO=/%(\d[a-f0-9])/gi,sO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function fw(t){return encodeURIComponent(t).replace(oO,(n,e)=>sO[e]??n)}function ou(t){return`${t}`}var $n=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new au,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=iO(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(ou):[ou(r)];this.map.set(e,i)})):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(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,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(r=>e+"="+this.encoder.encodeValue(r)).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 r=this.map.get(n.param)||[],i=r.indexOf(ou(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function aO(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function hw(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function pw(t){return typeof Blob<"u"&&t instanceof Blob}function mw(t){return typeof FormData<"u"&&t instanceof FormData}function cO(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gw="Content-Type",vw="Accept",bw="text/plain",_w="application/json",lO=`${_w}, ${bw}, */*`,ro=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,r,i){this.url=e,this.method=n.toUpperCase();let o;if(aO(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,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 b(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 bn,this.context??=new su,!this.params)this.params=new $n,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||hw(this.body)||pw(this.body)||mw(this.body)||cO(this.body)?this.body:this.body instanceof $n?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||mw(this.body)?null:pw(this.body)?this.body.type||null:hw(this.body)?null:typeof this.body=="string"?bw:this.body instanceof $n?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?_w:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,h=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,_=n.timeout??this.timeout,E=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,ee=n.reportProgress??this.reportProgress,Pe=n.headers||this.headers,Le=n.params||this.params,No=n.context??this.context;return n.setHeaders!==void 0&&(Pe=Object.keys(n.setHeaders).reduce((Oo,Er)=>Oo.set(Er,n.setHeaders[Er]),Pe)),n.setParams&&(Le=Object.keys(n.setParams).reduce((Oo,Er)=>Oo.set(Er,n.setParams[Er]),Le)),new t(e,r,E,{params:Le,headers:Pe,context:No,reportProgress:ee,responseType:i,withCredentials:I,transferCache:m,keepalive:o,cache:a,priority:s,timeout:_,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},ri=(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})(ri||{}),oo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new bn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},cu=class t extends oo{constructor(n={}){super(n)}type=ri.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})}},Ys=class t extends oo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=ri.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})}},io=class extends oo{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}},uO=200,dO=204;var fO=new y("");var hO=/^\)\]\}',?\n/;var km=(()=>{class t{xhrFactory;tracingService=f(Wt,{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 b(-2800,!1);let r=this.xhrFactory;return T(null).pipe(Ue(()=>new O(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((E,I)=>s.setRequestHeader(E,I.join(","))),e.headers.has(vw)||s.setRequestHeader(vw,lO),!e.headers.has(gw)){let E=e.detectContentTypeHeader();E!==null&&s.setRequestHeader(gw,E)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let E=e.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let E=s.statusText||"OK",I=new bn(s.getAllResponseHeaders()),ee=s.responseURL||e.url;return c=new cu({headers:I,status:s.status,statusText:E,url:ee}),c},u=this.maybePropagateTrace(()=>{let{headers:E,status:I,statusText:ee,url:Pe}=l(),Le=null;I!==dO&&(Le=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=Le?uO:0);let No=I>=200&&I<300;if(e.responseType==="json"&&typeof Le=="string"){let Oo=Le;Le=Le.replace(hO,"");try{Le=Le!==""?JSON.parse(Le):null}catch(Er){Le=Oo,No&&(No=!1,Le={error:Er,text:Le})}}No?(o.next(new Ys({body:Le,headers:E,status:I,statusText:ee,url:Pe||void 0})),o.complete()):o.error(new io({error:Le,headers:E,status:I,statusText:ee,url:Pe||void 0}))}),d=this.maybePropagateTrace(E=>{let{url:I}=l(),ee=new io({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});o.error(ee)}),h=d;e.timeout&&(h=this.maybePropagateTrace(E=>{let{url:I}=l(),ee=new io({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});o.error(ee)}));let p=!1,m=this.maybePropagateTrace(E=>{p||(o.next(l()),p=!0);let I={type:ri.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),o.next(I)}),_=this.maybePropagateTrace(E=>{let I={type:ri.UploadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),o.next(I)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),o.next({type:ri.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(w(ni))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Dw(t,n){return n(t)}function pO(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function mO(t,n,e){return(r,i)=>xe(e,()=>n(r,o=>t(o,i)))}var Ew=new y(""),Fm=new y("",{factory:()=>[]}),ww=new y(""),Pm=new y("",{factory:()=>!0});function gO(){let t=null;return(n,e)=>{t===null&&(t=(f(Ew,{optional:!0})??[]).reduceRight(pO,Dw));let r=f(Hi);if(f(Pm)){let o=r.add();return t(n,e).pipe(Mi(o))}else return t(n,e)}}var Lm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=w(km),i},providedIn:"root"})}return t})();var lu=(()=>{class t{backend;injector;chain=null;pendingTasks=f(Hi);contributeToStability=f(Pm);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Fm),...this.injector.get(ww,[])]));this.chain=r.reduceRight((i,o)=>mO(i,o,this.injector),Dw)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Mi(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(w(Lm),w(re))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=w(lu),i},providedIn:"root"})}return t})();function Om(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 uu=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof ro)o=e;else{let c;i.headers instanceof bn?c=i.headers:c=new bn(i.headers);let l;i.params&&(i.params instanceof $n?l=i.params:l=new $n({fromObject:i.params})),o=new ro(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=T(o).pipe(Xn(c=>this.handler.handle(c)));if(e instanceof ro||i.observe==="events")return s;let a=s.pipe(fe(c=>c instanceof Ys));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(H(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(H(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(H(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(H(c=>c.body))}case"response":return a;default:throw new b(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new $n().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Om(i,r))}post(e,r,i={}){return this.request("POST",e,Om(i,r))}put(e,r,i={}){return this.request("PUT",e,Om(i,r))}static \u0275fac=function(r){return new(r||t)(w(jm))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var vO=new y("",{factory:()=>!0}),yO="XSRF-TOKEN",bO=new y("",{factory:()=>yO}),_O="X-XSRF-TOKEN",DO=new y("",{factory:()=>_O}),EO=(()=>{class t{cookieName=f(bO);doc=f(L);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=$s(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cw=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=w(EO),i},providedIn:"root"})}return t})();function wO(t,n){if(!f(vO)||t.method==="GET"||t.method==="HEAD")return n(t);try{let i=f(Bn).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch{return n(t)}let e=f(Cw).getToken(),r=f(DO);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var Vm=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Vm||{});function CO(t,n){return{\u0275kind:t,\u0275providers:n}}function Iw(...t){let n=[uu,lu,{provide:jm,useExisting:lu},{provide:Lm,useFactory:()=>f(fO,{optional:!0})??f(km)},{provide:Fm,useValue:wO,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return sr(n)}var yw=new y("");function Sw(){return CO(Vm.LegacyInterceptors,[{provide:yw,useFactory:gO},{provide:Fm,useExisting:yw,multi:!0}])}var IO=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Iw(Sw())]})}return t})();var Mw=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(w(L))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MO(t,n){if(typeof COMPILED>"u"||!COMPILED){let e=ye.ng=ye.ng||{};e[t]=n}}var Bm=class{msPerTick;numTicks;constructor(n,e){this.msPerTick=n,this.numTicks=e}},Um=class{appRef;constructor(n){this.appRef=n.injector.get(He)}timeChangeDetection(n){let e=n&&n.record,r="Change Detection";e&&"profile"in console&&typeof console.profile=="function"&&console.profile(r);let i=performance.now(),o=0;for(;o<5||performance.now()-i<500;)this.appRef.tick(),o++;let s=performance.now();e&&"profileEnd"in console&&typeof console.profileEnd=="function"&&console.profileEnd(r);let a=(s-i)/o;return console.log(`ran ${o} change detection cycles`),console.log(`${a.toFixed(2)} ms per check`),new Bm(a,o)}},TO="profiler";function x9(t){return MO(TO,new Um(t)),t}var Hm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=w(xO),i},providedIn:"root"})}return t})(),xO=(()=>{class t extends Hm{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case it.NONE:return r;case it.HTML:return gn(r,"HTML")?ft(r):hl(this._doc,String(r)).toString();case it.STYLE:return gn(r,"Style")?ft(r):r;case it.SCRIPT:if(gn(r,"Script"))return ft(r);throw new b(5200,!1);case it.URL:return gn(r,"URL")?ft(r):Cs(String(r));case it.RESOURCE_URL:if(gn(r,"ResourceURL"))return ft(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(e){return sp(e)}bypassSecurityTrustStyle(e){return ap(e)}bypassSecurityTrustScript(e){return cp(e)}bypassSecurityTrustUrl(e){return lp(e)}bypassSecurityTrustResourceUrl(e){return up(e)}static \u0275fac=function(r){return new(r||t)(w(L))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zs(t){return t.buttons===0||t.detail===0}function Ks(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 $m;function Tw(){if($m==null){let t=typeof document<"u"?document.head:null;$m=!!(t&&(t.createShadowRoot||t.attachShadow))}return $m}function zm(t){if(Tw()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function RO(){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 Je(t){return t.composedPath?t.composedPath()[0]:t.target}var Gm;try{Gm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Gm=!1}var he=(()=>{class t{_platformId=f(Xr);isBrowser=this._platformId?rw(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||Gm)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qs;function xw(){if(Qs==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Qs=!0}))}finally{Qs=Qs||!1}return Qs}function so(t){return xw()?t:!!t.capture}function ii(t,n=0){return Aw(t)?Number(t):arguments.length===2?n:0}function Aw(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Tt(t){return t instanceof z?t.nativeElement:t}var Rw=new y("cdk-input-modality-detector-options"),Nw={ignoreKeys:[18,17,224,91,16]},Ow=650,Wm={passive:!0,capture:!0},kw=(()=>{class t{_platform=f(he);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ie(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Je(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Ow||(this._modality.next(Zs(e)?"keyboard":"mouse"),this._mostRecentTarget=Je(e))};_onTouchstart=e=>{if(Ks(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Je(e)};constructor(){let e=f(j),r=f(L),i=f(Rw,{optional:!0});if(this._options=g(g({},Nw),i),this.modalityDetected=this._modality.pipe(Uo(1)),this.modalityChanged=this.modalityDetected.pipe(Si()),this._platform.isBrowser){let o=f(je).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(r,"keydown",this._onKeydown,Wm),o.listen(r,"mousedown",this._onMousedown,Wm),o.listen(r,"touchstart",this._onTouchstart,Wm)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xs=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Xs||{}),Fw=new y("cdk-focus-monitor-default-options"),du=so({passive:!0,capture:!0}),fu=(()=>{class t{_ngZone=f(j);_platform=f(he);_inputModalityDetector=f(kw);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=f(L);_stopInputModalityDetector=new S;constructor(){let e=f(Fw,{optional:!0});this._detectionMode=e?.detectionMode||Xs.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=Je(e);for(let i=r;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,r=!1){let i=Tt(e);if(!this._platform.isBrowser||i.nodeType!==1)return T();let o=zm(i)||this._document,s=this._elementInfo.get(i);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new S,rootNode:o};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=Tt(e),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(e,r,i){let o=Tt(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_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===Xs.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===Xs.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Ow:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,r){let i=this._elementInfo.get(r),o=Je(e);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(e,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,du),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,du)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(at(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,du),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,du),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,i){this._setClasses(e,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),NO=(()=>{class t{_elementRef=f(z);_focusMonitor=f(fu);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new U;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(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var hu=new WeakMap,xt=(()=>{class t{_appRef;_injector=f($);_environmentInjector=f(re);load(e){let r=this._appRef=this._appRef||this._injector.get(He),i=hu.get(r);i||(i={loaders:new Set,refs:[]},hu.set(r,i),r.onDestroy(()=>{hu.get(r)?.refs.forEach(o=>o.destroy()),hu.delete(r)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(Ul(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var mu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,i){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
`],encapsulation:2,changeDetection:0})}return t})(),pu;function OO(){if(pu===void 0&&(pu=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(pu=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return pu}function kO(t){return OO()?.createHTML(t)||t}function Pw(t,n,e){let r=e.sanitize(it.HTML,n);t.innerHTML=kO(r||"")}function oi(t){return Array.isArray(t)?t:[t]}var Lw=new Set,si,gu=(()=>{class t{_platform=f(he);_nonce=f(Xi,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):PO}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&FO(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function FO(t,n){if(!Lw.has(t))try{si||(si=document.createElement("style"),n&&si.setAttribute("nonce",n),si.setAttribute("type","text/css"),document.head.appendChild(si)),si.sheet&&(si.sheet.insertRule(`@media ${t} {body{ }}`,0),Lw.add(t))}catch(e){console.error(e)}}function PO(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var qm=(()=>{class t{_mediaMatcher=f(gu);_zone=f(j);_queries=new Map;_destroySubject=new S;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return jw(oi(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=jw(oi(e)).map(s=>this._registerQuery(s).observable),o=Ii(i);return o=rn(o.pipe(Be(1)),o.pipe(Uo(1),Ar(0))),o.pipe(H(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),o={observable:new O(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Rr(r),H(({matches:s})=>({query:e,matches:s})),at(this._destroySubject)),mql:r};return this._queries.set(e,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jw(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function LO(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 Vw=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bw=(()=>{class t{_mutationObserverFactory=f(Vw);_observedElements=new Map;_ngZone=f(j);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=Tt(e);return new O(i=>{let s=this._observeElement(r).pipe(H(a=>a.filter(c=>!LO(c))),fe(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{i.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let r=new S,i=this._mutationObserverFactory.create(o=>r.next(o));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:r,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:r,stream:i}=this._observedElements.get(e);r&&r.disconnect(),i.complete(),this._observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AY=(()=>{class t{_contentObserver=f(Bw);_elementRef=f(z);event=new U;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=ii(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(Ar(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ue],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Uw=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Vw]})}return t})();var jO=(()=>{class t{_platform=f(he);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return BO(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=VO(YO(e));if(r&&(Hw(r)===-1||!this.isVisible(r)))return!1;let i=e.nodeName.toLowerCase(),o=Hw(e);return e.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!WO(e)?!1:i==="audio"?e.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,r){return qO(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function VO(t){try{return t.frameElement}catch{return null}}function BO(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function UO(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function HO(t){return zO(t)&&t.type=="hidden"}function $O(t){return GO(t)&&t.hasAttribute("href")}function zO(t){return t.nodeName.toLowerCase()=="input"}function GO(t){return t.nodeName.toLowerCase()=="a"}function Gw(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Hw(t){if(!Gw(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function WO(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function qO(t){return HO(t)?!1:UO(t)||$O(t)||t.hasAttribute("contenteditable")||Gw(t)}function YO(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Zm=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,r,i,o=!1,s){this._element=n,this._checker=e,this._ngZone=r,this._document=i,this._injector=s,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 r=this._getFirstTabbableElement(e);return r?.focus(n),!!r}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 r=0;r<e.length;r++){let i=e[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[r]):null;if(i)return i}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=e.length-1;r>=0;r--){let i=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(i)return i}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?ht(n,{injector:this._injector}):setTimeout(n)}},ZO=(()=>{class t{_checker=f(jO);_ngZone=f(j);_document=f(L);_injector=f($);constructor(){f(xt).load(mu)}create(e,r=!1){return new Zm(e,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ww=new y("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),qw=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),KO=0,QO=(()=>{class t{_ngZone=f(j);_defaultOptions=f(qw,{optional:!0});_liveElement;_document=f(L);_sanitizer=f(Hm);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=f(Ww,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...r){let i=this._defaultOptions,o,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[o,s]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),s==null&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:Pw(this._liveElement,e,this._sanitizer),typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",r=this._document.getElementsByClassName(e),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(e),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${KO++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(e){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<r.length;i++){let o=r[i],s=o.getAttribute("aria-owns");s?s.indexOf(e)===-1&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var pr=(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})(pr||{}),$w="cdk-high-contrast-black-on-white",zw="cdk-high-contrast-white-on-black",Ym="cdk-high-contrast-active",Yw=(()=>{class t{_platform=f(he);_hasCheckedHighContrastMode=!1;_document=f(L);_breakpointSubscription;constructor(){this._breakpointSubscription=f(qm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return pr.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return pr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return pr.BLACK_ON_WHITE}return pr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Ym,$w,zw),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===pr.BLACK_ON_WHITE?e.add(Ym,$w):r===pr.WHITE_ON_BLACK&&e.add(Ym,zw)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XO=(()=>{class t{constructor(){f(Yw)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Uw]})}return t})();var Km={},Js=class t{_appId=f(hr);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),Km.hasOwnProperty(n)||(Km[n]=0),`${n}${e?t._infix+"-":""}${Km[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})};var JO=200,ao=class{_letterKeyStream=new S;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new S;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:JO;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let 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(nt(e=>this._pressedLetters.push(e)),Ar(n),fe(()=>this._pressedLetters.length>0),H(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;r<this._items.length+1;r++){let i=(this._selectedItemIndex+r)%this._items.length,o=this._items[i];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function vu(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var co=class{_items;_activeItemIndex=W(-1);_activeItem=W(null);_wrap=!1;_typeaheadSubscription=G.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 Fn?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):no(n)&&(this._effectRef=$i(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new S;change=new S;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 ao(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,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,i=["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&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(i||vu(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(),r=typeof n=="number"?n:e.indexOf(n),i=e[r];this._activeItem.set(i??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let r=1;r<=e.length;r++){let i=(this._activeItemIndex()+n*r+e.length)%e.length,o=e[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=e,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return no(this._items)?this._items():this._items instanceof Fn?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let r=n.indexOf(e);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var Qm=class extends co{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Xm=class extends co{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function Jm(t){return Ft(t)?t:T(t)}var eg=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=G.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){n instanceof Fn?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Ft(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new S;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let i=this._items[r];if(this._activeItem!==null&&this._trackByFn(i)===this._trackByFn(this._activeItem))return;let o=this._activeItem;this._activeItem=i??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),o?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let r=n.findIndex(i=>this._trackByFn(i)===this._trackByFn(e));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new ao(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?Jm(this._activeItem.getChildren()).pipe(Be(1)).subscribe(n=>{let e=n.find(r=>!this._skipPredicateFn(r));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=Jm(n.getChildren()):e=T(this._items.filter(r=>r.getParent()===null)),e.pipe(Be(1)).subscribe(r=>{for(let i of r)i.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},SZ=new y("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new eg(t,n)});var Kw=" ";function ek(t,n,e){let r=bu(t,n);e=e.trim(),!r.some(i=>i.trim()===e)&&(r.push(e),t.setAttribute(n,r.join(Kw)))}function tk(t,n,e){let r=bu(t,n);e=e.trim();let i=r.filter(o=>o!==e);i.length?t.setAttribute(n,i.join(Kw)):t.removeAttribute(n)}function bu(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var Qw="cdk-describedby-message",yu="cdk-describedby-host",ng=0,PZ=(()=>{class t{_platform=f(he);_document=f(L);_messageRegistry=new Map;_messagesContainer=null;_id=`${ng++}`;constructor(){f(xt).load(mu),this._id=f(hr)+"-"+ng++}describe(e,r,i){if(!this._canBeDescribed(e,r))return;let o=tg(r,i);typeof r!="string"?(Zw(r,this._id),this._messageRegistry.set(o,{messageElement:r,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(r,i),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,r,i){if(!r||!this._isElementNode(e))return;let o=tg(r,i);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof r=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${yu}="${this._id}"]`);for(let r=0;r<e.length;r++)this._removeCdkDescribedByReferenceIds(e[r]),e[r].removeAttribute(yu);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){let i=this._document.createElement("div");Zw(i,this._id),i.textContent=e,r&&i.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(tg(e,r),{messageElement:i,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",r=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<r.length;o++)r[o].remove();let i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(e),i.classList.add("cdk-visually-hidden"),this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(e){let r=bu(e,"aria-describedby").filter(i=>i.indexOf(Qw)!=0);e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){let i=this._messageRegistry.get(r);ek(e,"aria-describedby",i.messageElement.id),e.setAttribute(yu,this._id),i.referenceCount++}_removeMessageReference(e,r){let i=this._messageRegistry.get(r);i.referenceCount--,tk(e,"aria-describedby",i.messageElement.id),e.removeAttribute(yu)}_isElementDescribedByMessage(e,r){let i=bu(e,"aria-describedby"),o=this._messageRegistry.get(r),s=o&&o.messageElement.id;return!!s&&i.indexOf(s)!=-1}_canBeDescribed(e,r){if(!this._isElementNode(e))return!1;if(r&&typeof r=="object")return!0;let i=r==null?"":`${r}`.trim(),o=e.getAttribute("aria-label");return i?!o||o.trim()!==i:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tg(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function Zw(t,n){t.id||(t.id=`${Qw}-${n}-${ng++}`)}var en=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(en||{}),_u,ai;function Du(){if(ai==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ai=!1,ai;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)ai=!0;else{let t=Element.prototype.scrollTo;t?ai=!/\{\s*\[native code\]\s*\}/.test(t.toString()):ai=!1}}return ai}function lo(){if(typeof document!="object"||!document)return en.NORMAL;if(_u==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"),r=e.style;r.width="2px",r.height="1px",t.appendChild(e),document.body.appendChild(t),_u=en.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,_u=t.scrollLeft===0?en.NEGATED:en.INVERTED),t.remove()}return _u}function rg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var uo,Xw=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function WZ(){if(uo)return uo;if(typeof document!="object"||!document)return uo=new Set(Xw),uo;let t=document.createElement("input");return uo=new Set(Xw.filter(n=>(t.setAttribute("type",n),t.type===n))),uo}var QZ={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 nk=new y("MATERIAL_ANIMATIONS"),Jw=null;function rk(){return f(nk,{optional:!0})?.animationsDisabled||f(ws,{optional:!0})==="NoopAnimations"?"di-disabled":(Jw??=f(gu).matchMedia("(prefers-reduced-motion)").matches,Jw?"reduced-motion":"enabled")}function mr(){return rk()!=="enabled"}function De(t){return t==null?"":typeof t=="string"?t:`${t}px`}function iK(t){return t!=null&&`${t}`!="false"}var At=(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})(At||{}),ig=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=At.HIDDEN;constructor(n,e,r,i=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},eC=so({passive:!0,capture:!0}),og=class{_events=new Map;addHandler(n,e,r,i){let o=this._events.get(e);if(o){let s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(e,new Map([[r,new Set([i])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,eC)})}removeHandler(n,e,r){let i=this._events.get(n);if(!i)return;let o=i.get(e);o&&(o.delete(r),o.size===0&&i.delete(e),i.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,eC)))}_delegateEventHandler=n=>{let e=Je(n);e&&this._events.get(n.type)?.forEach((r,i)=>{(i===e||i.contains(e))&&r.forEach(o=>o.handleEvent(n))})}},ea={enterDuration:225,exitDuration:150},ik=800,tC=so({passive:!0,capture:!0}),nC=["mousedown","touchstart"],rC=["mouseup","mouseleave","touchend","touchcancel"],ok=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
`],encapsulation:2,changeDetection:0})}return t})(),ta=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new og;constructor(n,e,r,i,o){this._target=n,this._ngZone=e,this._platform=i,i.isBrowser&&(this._containerElement=Tt(r)),o&&o.get(xt).load(ok)}fadeInRipple(n,e,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},ea),r.animation);r.centered&&(n=i.left+i.width/2,e=i.top+i.height/2);let s=r.radius||sk(n,e,i),a=n-i.left,c=e-i.top,l=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),h=d.transitionProperty,p=d.transitionDuration,m=h==="none"||p==="0s"||p==="0s, 0s"||i.width===0&&i.height===0,_=new ig(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",_.state=At.FADING_IN,r.persistent||(this._mostRecentTransientRipple=_);let E=null;return!m&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let I=()=>{E&&(E.fallbackTimer=null),clearTimeout(Pe),this._finishRippleTransition(_)},ee=()=>this._destroyRipple(_),Pe=setTimeout(ee,l+100);u.addEventListener("transitionend",I),u.addEventListener("transitioncancel",ee),E={onTransitionEnd:I,onTransitionCancel:ee,fallbackTimer:Pe}}),this._activeRipples.set(_,E),(m||!l)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===At.FADING_OUT||n.state===At.HIDDEN)return;let e=n.element,r=g(g({},ea),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=At.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Tt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,nC.forEach(r=>{t._eventManager.addHandler(this._ngZone,r,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{rC.forEach(e=>{this._triggerElement.addEventListener(e,this,tC)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===At.FADING_IN?this._startFadeOutTransition(n):n.state===At.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=At.VISIBLE,!r&&(!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=At.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=Zs(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+ik;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Ks(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let r=0;r<e.length;r++)this.fadeInRipple(e[r].clientX,e[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===At.VISIBLE||n.config.terminateOnPointerUp&&n.state===At.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(nC.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(rC.forEach(e=>n.removeEventListener(e,this,tC)),this._pointerUpEventsRegistered=!1))}};function sk(t,n,e){let r=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),i=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(r*r+i*i)}var sg=new y("mat-ripple-global-options"),bK=(()=>{class t{_elementRef=f(z);_animationsDisabled=mr();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=f(j),r=f(he),i=f(sg,{optional:!0}),o=f($);this._globalOptions=i||{},this._rippleRenderer=new ta(this,e,this._elementRef,r,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:g(g(g({},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,r=0,i){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,r,g(g({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){r&2&&Xe("mat-ripple-unbounded",i.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 ak={capture:!0},ck=["focus","mousedown","mouseenter","touchstart"],ag="mat-ripple-loader-uninitialized",cg="mat-ripple-loader-class-name",iC="mat-ripple-loader-centered",Eu="mat-ripple-loader-disabled",oC=(()=>{class t{_document=f(L);_animationsDisabled=mr();_globalRippleOptions=f(sg,{optional:!0});_platform=f(he);_ngZone=f(j);_injector=f($);_eventCleanups;_hosts=new Map;constructor(){let e=f(je).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>ck.map(r=>e.listen(this._document,r,this._onInteraction,ak)))}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(e,r){e.setAttribute(ag,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(cg))&&e.setAttribute(cg,r.className||""),r.centered&&e.setAttribute(iC,""),r.disabled&&e.setAttribute(Eu,"")}setDisabled(e,r){let i=this._hosts.get(e);i?(i.target.rippleDisabled=r,!r&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(e))):r?e.setAttribute(Eu,""):e.removeAttribute(Eu)}_onInteraction=e=>{let r=Je(e);if(r instanceof HTMLElement){let i=r.closest(`[${ag}="${this._globalRippleOptions?.namespace??""}"]`);i&&this._createRipple(i)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(cg)),e.append(r);let i=this._globalRippleOptions,o=this._animationsDisabled?0:i?.animation?.enterDuration??ea.enterDuration,s=this._animationsDisabled?0:i?.animation?.exitDuration??ea.exitDuration,a={rippleDisabled:this._animationsDisabled||i?.disabled||e.hasAttribute(Eu),rippleConfig:{centered:e.hasAttribute(iC),terminateOnPointerUp:i?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:s}}},c=new ta(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:c,hasSetUpEvents:l}),e.removeAttribute(ag)}destroyRipple(e){let r=this._hosts.get(e);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var sC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,i){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus-visible::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
`],encapsulation:2,changeDetection:0})}return t})();var lk=["mat-icon-button",""],uk=["*"],dk=new y("MAT_BUTTON_CONFIG");function aC(t){return t==null?void 0:dm(t)}var lg=(()=>{class t{_elementRef=f(z);_ngZone=f(j);_animationsDisabled=mr();_config=f(dk,{optional:!0});_focusMonitor=f(fu);_cleanupClick;_renderer=f(Oe);_rippleLoader=f(oC);_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(){f(xt).load(sC);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",r){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,i){r&2&&(Yt("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled())("tabindex",i._getTabIndex()),Wp(i.color?"mat-"+i.color:""),Xe("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("mat-unthemed",!i.color)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ue],disabled:[2,"disabled","disabled",ue],ariaDisabled:[2,"aria-disabled","ariaDisabled",ue],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ue],tabIndex:[2,"tabIndex","tabIndex",aC],_tabindex:[2,"tabindex","_tabindex",aC]}})}return t})(),fk=(()=>{class t extends lg{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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:[J],attrs:lk,ngContentSelectors:uk,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(ti(),vn(0,"span",0),Vn(1),vn(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0})}return t})();var hk=new y("cdk-dir-doc",{providedIn:"root",factory:()=>f(L)}),pk=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function cC(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?pk.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var fo=(()=>{class t{get value(){return this.valueSignal()}valueSignal=W("ltr");change=new U;constructor(){let e=f(hk,{optional:!0});if(e){let r=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(cC(r||i||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var zn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var lC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[zn]})}return t})();var mk=["matButton",""],gk=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],vk=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var uC=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"]]]),QK=(()=>{class t extends lg{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=yk(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let r=this._elementRef.nativeElement.classList,i=this._appearance?uC.get(this._appearance):null,o=uC.get(e);i&&r.remove(...i),r.add(...o),this._appearance=e}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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:[J],attrs:mk,ngContentSelectors:vk,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(ti(gk),vn(0,"span",0),Vn(1),Jr(2,"span",1),Vn(3,1),ei(),Vn(4,2),vn(5,"span",2)(6,"span",3)),r&2&&Xe("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}@media(hover: none){.mat-mdc-button-base:hover>span.mat-mdc-button-persistent-ripple::before{opacity:0}}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}@media(hover: hover){.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-raised-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus-visible>.mat-focus-indicator::before,.mat-tonal-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0})}return t})();function yk(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 XK=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[lC,zn]})}return t})();var wu={production:!0,electron:!1,githubio:!1,solarputty_download_url:"",current_version:"v3",compute_id:"local"};var na=class{};function bk(t){return t&&typeof t.connect=="function"&&!(t instanceof ko)}var ug=class extends na{_data;constructor(n){super(),this._data=n}connect(){return Ft(this._data)?this._data:T(this._data)}disconnect(){}},_n=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(_n||{}),dg=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,r,i,o){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,e,i(s)),u=l?_n.INSERTED:_n.REPLACED}else c==null?(this._detachAndCacheView(a,e),u=_n.REMOVED):(l=this._moveView(a,c,e,i(s)),u=_n.MOVED);o&&o({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,r,i){let o=this._insertViewFromCache(e,r);if(o){o.context.$implicit=i;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,e){let r=e.detach(n);this._maybeCacheView(r,e)}_moveView(n,e,r,i){let o=r.get(n);return r.move(o,e),o.context.$implicit=i,o}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=e.indexOf(n);r===-1?n.destroy():e.remove(r)}}_insertViewFromCache(n,e){let r=this._viewCache.pop();return r&&e.insert(r,n),r||null}};var _k=["contentWrapper"],Dk=["*"],fC=new y("VIRTUAL_SCROLL_STRATEGY"),fg=class{_scrolledIndexChange=new S;scrolledIndexChange=this._scrolledIndexChange.pipe(Si());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,r){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,r){r<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r,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},r=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),s=this._itemSize>0?o/this._itemSize:0;if(e.end>i){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,i-c));s!=l&&(s=l,o=l*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(i,e.start+c))}let a=o-e.start*this._itemSize;if(a<this._minBufferPx&&e.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);e.start=Math.max(0,e.start-c),e.end=Math.min(i,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=e.end*this._itemSize-(o+r);if(c<this._minBufferPx&&e.end!=i){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(e.end=Math.min(i,e.end+l),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(s))}};function Ek(t){return t._scrollStrategy}var wk=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=ii(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=ii(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=ii(e)}_maxBufferPx=200;_scrollStrategy=new fg(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[we([{provide:fC,useFactory:Ek,deps:[be(()=>t)]}]),Re]})}return t})(),Ck=20,ra=(()=>{class t{_ngZone=f(j);_platform=f(he);_renderer=f(je).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new S;_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 r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Ck){return this._platform.isBrowser?new O(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=e>0?this._scrolled.pipe(Bo(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):T()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){let i=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(fe(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(e){let r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,e)&&r.push(o)}),r}_scrollableContainsElement(e,r){let i=Tt(r),o=e.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pg=(()=>{class t{elementRef=f(z);scrollDispatcher=f(ra);ngZone=f(j);dir=f(fo,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new S;_renderer=f(Oe);_cleanupScroll;_elementScrolled=new S;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 r=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=i?e.end:e.start),e.right==null&&(e.right=i?e.start:e.end),e.bottom!=null&&(e.top=r.scrollHeight-r.clientHeight-e.bottom),i&&lo()!=en.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),lo()==en.INVERTED?e.left=e.right:lo()==en.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=r.scrollWidth-r.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let r=this.elementRef.nativeElement;Du()?r.scrollTo(e):(e.top!=null&&(r.scrollTop=e.top),e.left!=null&&(r.scrollLeft=e.left))}measureScrollOffset(e){let r="left",i="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?i:r:e=="end"&&(e=s?r:i),s&&lo()==en.INVERTED?e==r?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&lo()==en.NEGATED?e==r?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==r?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),Ik=20,ci=(()=>{class t{_platform=f(he);_listeners;_viewportSize=null;_change=new S;_document=f(L);constructor(){let e=f(j),r=f(je).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[r.listen("window","resize",i),r.listen("window","orientationchange",i)]}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:r,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,r=this._getWindow(),i=e.documentElement,o=i.getBoundingClientRect(),s=-o.top||e.body?.scrollTop||r.scrollY||i.scrollTop||0,a=-o.left||e.body?.scrollLeft||r.scrollX||i.scrollLeft||0;return{top:s,left:a}}change(e=Ik){return e>0?this._change.pipe(Bo(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(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dC=new y("VIRTUAL_SCROLLABLE"),Sk=(()=>{class t extends pg{constructor(){super()}measureViewportSize(e){let r=this.elementRef.nativeElement;return e==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,features:[J]})}return t})();function Mk(t,n){return t.start==n.start&&t.end==n.end}var Tk=typeof requestAnimationFrame<"u"?Ld:Pd,xk=new y("CDK_VIRTUAL_SCROLL_VIEWPORT"),Ak=(()=>{class t extends Sk{elementRef=f(z);_changeDetectorRef=f(St);_scrollStrategy=f(fC,{optional:!0});scrollable=f(dC,{optional:!0});_platform=f(he);_detachedSubject=new S;_renderedRangeSubject=new S;_renderedContentOffsetSubject=new S;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new O(e=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(fe(e=>e!==null),Si());_totalContentSize=0;_totalContentWidth=W("");_totalContentHeight=W("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=W(!1);_runAfterChangeDetection=[];_viewportChanges=G.EMPTY;_injector=f($);_isDestroyed=!1;constructor(){super();let e=f(ci);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=$i(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:f(He).injector});f(Ae).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Rr(null),Bo(0,Tk),at(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(at(this._detachedSubject)).subscribe(r=>{let i=r.length;i!==this._dataLength&&(this._dataLength=i,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){Mk(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,r="to-start"){e=this.appendOnly&&r==="to-start"?0:e;let i=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",s=o?"X":"Y",c=`translate${s}(${Number((o&&i?-1:1)*e)}px)`;this._renderedContentOffset=e,r==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,r="auto"){let i={behavior:r};this.orientation==="horizontal"?i.start=e:i.top=e,this.scrollable.scrollTo(i)}scrollToIndex(e,r="auto"){this._scrollStrategy.scrollToIndex(e,r)}measureScrollOffset(e){let r;return this.scrollable==this?r=i=>super.measureScrollOffset(i):r=i=>this.scrollable.measureScrollOffset(i),Math.max(0,r(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let r,i="left",o="right",s=this.dir?.value=="rtl";e=="start"?r=s?o:i:e=="end"?r=s?i:o:e?r=e:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}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),!q(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()),ht(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of e)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,i){if(r&1&&Ol(_k,7),r&2){let o;Os(o=ks())&&(i._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,i){r&2&&Xe("cdk-virtual-scroll-orientation-horizontal",i.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",i.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",ue]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[we([{provide:pg,useFactory:()=>f(dC,{optional:!0})||f(t)},{provide:xk,useExisting:t}]),J],ngContentSelectors:Dk,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,i){r&1&&(ti(),Jr(0,"div",1,0),Vn(2),ei(),vn(3,"div",2)),r&2&&(vp(3),kl("width",i._totalContentWidth())("height",i._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}
`],encapsulation:2,changeDetection:0})}return t})();var hg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})(),mg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[zn,hg,zn,hg]})}return t})();var ia=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}},gg=class extends ia{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,e,r,i,o){super(),this.component=n,this.viewContainerRef=e,this.injector=r,this.projectableNodes=i,this.bindings=o||null}},ho=class extends ia{templateRef;viewContainerRef;context;injector;constructor(n,e,r,i){super(),this.templateRef=n,this.viewContainerRef=e,this.context=r,this.injector=i}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()}},vg=class extends ia{element;constructor(n){super(),this.element=n instanceof z?n.nativeElement:n}},Cu=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof gg)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof ho)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof vg)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Iu=class extends Cu{outletElement;_appRef;_defaultInjector;constructor(n,e,r){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,i=r.get(mn,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let r=this._appRef,i=n.injector||this._defaultInjector||$.NULL,o=i.get(re,r.injector);e=Ul(n.component,{elementInjector:i,environmentInjector:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),r.attachView(e.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,r=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(r);i!==-1&&e.remove(i)}),this._attachedPortal=n,r}attachDomPortal=n=>{let e=n.element;e.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(r,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},x7=(()=>{class t extends ho{constructor(){let e=f(dt),r=f(qe);super(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[J]})}return t})(),A7=(()=>{class t extends Cu{_moduleRef=f(mn,{optional:!0});_document=f(L);_viewContainerRef=f(qe);_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 U;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let r=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,i=r.createComponent(e.component,{index:r.length,injector:e.injector||r.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=e=>{let r=e.element;r.parentNode;let i=this._document.createComment("dom-portal");e.setAttachedHost(this),r.parentNode.insertBefore(i,r),this._getRootNode().appendChild(r),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(r,i)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[J]})}return t})(),hC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var pC=Du();function DC(t){return new Su(t.get(ci),t.get(L))}var Su=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=De(-this._previousScrollPosition.left),n.style.top=De(-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,r=n.style,i=e.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),pC&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),pC&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}};function EC(t,n){return new Mu(t.get(ra),t.get(j),t.get(ci),n)}var Mu=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,r,i){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=r,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(fe(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 oa=class{enable(){}disable(){}attach(){}};function yg(t,n){return n.some(e=>{let r=t.bottom<e.top,i=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return r||i||o||s})}function mC(t,n){return n.some(e=>{let r=t.top<e.top,i=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return r||i||o||s})}function Dg(t,n){return new Tu(t.get(ra),t.get(ci),t.get(j),n)}var Tu=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,r,i){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=r,this._config=i}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:r,height:i}=this._viewportRuler.getViewportSize();yg(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},wC=(()=>{class t{_injector=f($);constructor(){}noop=()=>new oa;close=e=>EC(this._injector,e);block=()=>DC(this._injector);reposition=e=>Dg(this._injector,e);static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sa=class{positionStrategy;scrollStrategy=new oa;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 r of e)n[r]!==void 0&&(this[r]=n[r])}}};var xu=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var CC=(()=>{class t{_attachedOverlays=[];_document=f(L);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,r,i){return i.observers.length<1?!1:e.eventPredicate?e.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IC=(()=>{class t extends CC{_ngZone=f(j);_renderer=f(je).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 r=this._attachedOverlays;for(let i=r.length-1;i>-1;i--){let o=r[i];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),SC=(()=>{class t extends CC{_platform=f(he);_ngZone=f(j);_renderer=f(je).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let r=this._document.body,i={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(r,"pointerdown",this._pointerDownListener,i),o.listen(r,"click",this._clickListener,i),o.listen(r,"auxclick",this._clickListener,i),o.listen(r,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(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=Je(e)};_clickListener=e=>{let r=Je(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,e,c))){if(gC(a.overlayElement,r)||gC(a.overlayElement,i))break;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gC(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===t)return!0;r=e&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var MC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:auto;top:0;left:0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}
`],encapsulation:2,changeDetection:0})}return t})(),Eg=(()=>{class t{_platform=f(he);_containerElement;_document=f(L);_styleLoader=f(xt);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||rg()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let r=this._document.createElement("div");r.classList.add(e),rg()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(MC)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bg=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,r,i){this._renderer=e,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i)}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 wg(t){return t&&t.nodeType===1}var Au=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new S;_attachments=new S;_detachments=new S;_positionStrategy;_scrollStrategy;_locationChanges=G.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new S;_outsidePointerEvents=new S;_afterNextRenderRef;constructor(n,e,r,i,o,s,a,c,l,u=!1,d,h){this._portalOutlet=n,this._host=e,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=d,this._renderer=h,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.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=ht(()=>{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=g(g({},this._config),n),this._updateElementSize()}setDirection(n){this._config=F(g({},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=De(this._config.width),n.height=De(this._config.height),n.minWidth=De(this._config.minWidth),n.minHeight=De(this._config.minHeight),n.maxWidth=De(this._config.maxWidth),n.maxHeight=De(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;wg(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new bg(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,r){let i=oi(e||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=ht(()=>{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?.()}},vC="cdk-overlay-connected-position-bounding-box",Rk=/([A-Za-z%]+)$/;function Cg(t,n){return new Ru(n,t.get(ci),t.get(L),t.get(he),t.get(Eg))}var Ru=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 S;_resizeSubscription=G.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,r,i,o){this._viewportRuler=e,this._document=r,this._platform=i,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(vC),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,r=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(n,i,a),l=this._getOverlayPoint(c,e,a),u=this._getOverlayFit(l,e,r,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,r)){o.push({position:a,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:e})}if(o.length){let a=null,c=-1;for(let l of o){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&li(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(vC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof z?this._origin.nativeElement:wg(this._origin)?this._origin:null}_getOriginPoint(n,e,r){let i;if(r.originX=="center")i=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i=r.originX=="start"?s:a}e.left<0&&(i-=e.left);let o;return r.originY=="center"?o=n.top+n.height/2:o=r.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:i,y:o}}_getOverlayPoint(n,e,r){let i;r.overlayX=="center"?i=-e.width/2:r.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let o;return r.overlayY=="center"?o=-e.height/2:o=r.overlayY=="top"?0:-e.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,e,r,i){let o=bC(e),{x:s,y:a}=n,c=this._getOffset(i,"x"),l=this._getOffset(i,"y");c&&(s+=c),l&&(a+=l);let u=0-s,d=s+o.width-r.width,h=0-a,p=a+o.height-r.height,m=this._subtractOverflows(o.width,u,d),_=this._subtractOverflows(o.height,h,p),E=m*_;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(n,e,r){if(this._hasFlexibleDimensions){let i=r.bottom-e.y,o=r.right-e.x,s=yC(this._overlayRef.getConfig().minHeight),a=yC(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||s!=null&&s<=i,l=n.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(n,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let i=bC(e),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),c=Math.max(o.top-r.top-n.y,0),l=Math.max(o.left-r.left-n.x,0),u=0,d=0;return i.width<=o.width?u=l||-s:u=n.x<this._getViewportMarginStart()?o.left-r.left-n.x:0,i.height<=o.height?d=c||-a:d=n.y<this._getViewportMarginTop()?o.top-r.top-n.y:0,this._previousPushAmount={x:u,y:d},{x:n.x+u,y:n.y+d}}_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 r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!Nk(this._lastScrollVisibility,r)){let i=new xu(n,r);this._positionChanges.next(i)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,i=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(n,e){let r=this._viewportRect,i=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=r.height-s+this._getViewportMarginBottom();else if(e.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=r.height-a+this._getViewportMarginTop();else{let p=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;o=p*2,s=n.y-p,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,l=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,u,d,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(n,e){let r=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="auto",i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.width=De(r.width),i.height=De(r.height),i.top=De(r.top)||"auto",i.bottom=De(r.bottom)||"auto",i.left=De(r.left)||"auto",i.right=De(r.right)||"auto",e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=De(o)),s&&(i.maxWidth=De(s))}this._lastBoundingBoxSize=r,li(this._boundingBox.style,i)}_resetBoundingBoxStyles(){li(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){li(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let u=this._viewportRuler.getViewportScrollPosition();li(r,this._getExactOverlayY(e,n,u)),li(r,this._getExactOverlayX(e,n,u))}else r.position="static";let a="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=De(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=De(s.maxWidth):o&&(r.maxWidth="")),li(this._pane.style,r)}_getExactOverlayY(n,e,r){let i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(o.y+this._overlayRect.height)}px`}else i.top=De(o.y);return i}_getExactOverlayX(n,e,r){let i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=De(o.x);return i}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:mC(n,r),isOriginOutsideView:yg(n,r),isOverlayClipped:mC(e,r),isOverlayOutsideView:yg(e,r)}}_subtractOverflows(n,...e){return e.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+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&&oi(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 z)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+e,height:r,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let r=e.getBoundingClientRect();return n&&(e.style.display=""),r}};function li(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function yC(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Rk);return!e||e==="px"?parseFloat(n):null}return t||null}function bC(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 Nk(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var _C="cdk-global-overlay-wrapper";function TC(t){return new Nu}var Nu=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(_C),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,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,c=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,d=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",_="";c?_="flex-start":u==="center"?(_="center",h?m=d:p=d):h?u==="left"||u==="end"?(_="flex-end",p=d):(u==="right"||u==="start")&&(_="flex-start",m=d):u==="left"||u==="start"?(_="flex-start",p=d):(u==="right"||u==="end")&&(_="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,e.justifyContent=_,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(_C),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},xC=(()=>{class t{_injector=f($);constructor(){}global(){return TC()}flexibleConnectedTo(e){return Cg(this._injector,e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ig=new y("OVERLAY_DEFAULT_CONFIG");function Sg(t,n){t.get(xt).load(MC);let e=t.get(Eg),r=t.get(L),i=t.get(Js),o=t.get(He),s=t.get(fo),a=t.get(Oe,null,{optional:!0})||t.get(je).createRenderer(null,null),c=new sa(n),l=t.get(Ig,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=r.createElement("div"),d=r.createElement("div");u.id=i.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),d.appendChild(u),c.usePopover&&(d.setAttribute("popover","manual"),d.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return wg(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):e.getContainerElement().appendChild(d),new Au(new Iu(u,o,t),d,u,c,t.get(j),t.get(IC),r,t.get(yn),t.get(SC),n?.disableAnimations??t.get(ws,null,{optional:!0})==="NoopAnimations",t.get(re),a)}var AC=(()=>{class t{scrollStrategies=f(wC);_positionBuilder=f(xC);_injector=f($);constructor(){}create(e){return Sg(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ok=[{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"}],kk=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=f($);return()=>Dg(t)}}),_g=(()=>{class t{elementRef=f(z);constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),RC=new y("cdk-connected-overlay-default-config"),Fk=(()=>{class t{_dir=f(fo,{optional:!0});_injector=f($);_overlayRef;_templatePortal;_backdropSubscription=G.EMPTY;_attachSubscription=G.EMPTY;_detachSubscription=G.EMPTY;_positionSubscription=G.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(kk);_ngZone=f(j);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 U;positionChange=new U;attach=new U;detach=new U;overlayKeydown=new U;overlayOutsideClick=new U;constructor(){let e=f(dt),r=f(qe),i=f(RC,{optional:!0}),o=f(Ig,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new ho(e,r),this.scrollStrategy=this._scrollStrategyFactory(),i&&this._assignConfig(i)}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=Ok);let e=this._overlayRef=Sg(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!vu(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let i=this._getOriginElement(),o=Je(r);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new sa({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(e){let r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=Cg(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof _g?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof _g?this.origin.elementRef.nativeElement:this.origin instanceof z?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let 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(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Wd(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(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(r){return new(r||t)};static \u0275dir=M({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",ue],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ue],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ue],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ue],push:[2,"cdkConnectedOverlayPush","push",ue],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ue],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",ue],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Re]})}return t})(),Pk=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[AC],imports:[zn,hC,mg,mg]})}return t})();var UC=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)(D(Oe),D(z))};static \u0275dir=M({type:t})}return t})(),$u=(()=>{class t extends UC{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,features:[J]})}return t})(),di=new y("");var Lk={provide:di,useExisting:be(()=>HC),multi:!0};function jk(){let t=mt()?mt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Vk=new y(""),HC=(()=>{class t extends UC{_compositionMode;_composing=!1;constructor(e,r,i){super(e,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!jk())}writeValue(e){let r=e??"";this.setProperty("value",r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||t)(D(Oe),D(z),D(Vk,8))};static \u0275dir=M({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Zt("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[we([Lk]),J]})}return t})();function Ag(t){return t==null||Rg(t)===0}function Rg(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Dn=new y(""),fi=new y(""),Bk=/^(?=.{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])?)*$/,NC=class{static min(n){return $C(n)}static max(n){return zC(n)}static required(n){return GC(n)}static requiredTrue(n){return Uk(n)}static email(n){return Hk(n)}static minLength(n){return $k(n)}static maxLength(n){return zk(n)}static pattern(n){return Gk(n)}static nullValidator(n){return ku()}static compose(n){return QC(n)}static composeAsync(n){return XC(n)}};function $C(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 zC(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 GC(t){return Ag(t.value)?{required:!0}:null}function Uk(t){return t.value===!0?null:{required:!0}}function Hk(t){return Ag(t.value)||Bk.test(t.value)?null:{email:!0}}function $k(t){return n=>{let e=n.value?.length??Rg(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function zk(t){return n=>{let e=n.value?.length??Rg(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function Gk(t){if(!t)return ku;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),r=>{if(Ag(r.value))return null;let i=r.value;return n.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function ku(t){return null}function WC(t){return t!=null}function qC(t){return jn(t)?se(t):t}function YC(t){let n={};return t.forEach(e=>{n=e!=null?g(g({},n),e):n}),Object.keys(n).length===0?null:n}function ZC(t,n){return n.map(e=>e(t))}function Wk(t){return!t.validate}function KC(t){return t.map(n=>Wk(n)?n:e=>n.validate(e))}function QC(t){if(!t)return null;let n=t.filter(WC);return n.length==0?null:function(e){return YC(ZC(e,n))}}function Ng(t){return t!=null?QC(KC(t)):null}function XC(t){if(!t)return null;let n=t.filter(WC);return n.length==0?null:function(e){let r=ZC(e,n).map(qC);return Vd(r).pipe(H(YC))}}function Og(t){return t!=null?XC(KC(t)):null}function OC(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function JC(t){return t._rawValidators}function eI(t){return t._rawAsyncValidators}function Mg(t){return t?Array.isArray(t)?t:[t]:[]}function Fu(t,n){return Array.isArray(t)?t.includes(n):t===n}function kC(t,n){let e=Mg(n);return Mg(t).forEach(i=>{Fu(e,i)||e.push(i)}),e}function FC(t,n){return Mg(n).filter(e=>!Fu(t,e))}var Pu=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=Ng(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Og(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}},et=class extends Pu{name;get formDirective(){return null}get path(){return null}},Gn=class extends Pu{_parent=null;name=null;valueAccessor=null},Lu=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var FQ=(()=>{class t extends Lu{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(D(Gn,2))};static \u0275dir=M({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&Xe("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[J]})}return t})(),PQ=(()=>{class t extends Lu{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(D(et,10))};static \u0275dir=M({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&Xe("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[J]})}return t})();var aa="VALID",Ou="INVALID",po="PENDING",ca="DISABLED",gr=class{},ju=class extends gr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},ua=class extends gr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},da=class extends gr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},mo=class extends gr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Vu=class extends gr{source;constructor(n){super(),this.source=n}},fa=class extends gr{source;constructor(n){super(),this.source=n}};function kg(t){return(zu(t)?t.validators:t)||null}function qk(t){return Array.isArray(t)?Ng(t):t||null}function Fg(t,n){return(zu(n)?n.asyncValidators:t)||null}function Yk(t){return Array.isArray(t)?Og(t):t||null}function zu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function tI(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new b(1e3,"");if(!r[e])throw new b(1001,"")}function nI(t,n,e){t._forEachChild((r,i)=>{if(e[i]===void 0)throw new b(1002,"")})}var vo=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 q(this.statusReactive)}set status(n){q(()=>this.statusReactive.set(n))}_status=Kt(()=>this.statusReactive());statusReactive=W(void 0);get valid(){return this.status===aa}get invalid(){return this.status===Ou}get pending(){return this.status==po}get disabled(){return this.status===ca}get enabled(){return this.status!==ca}errors;get pristine(){return q(this.pristineReactive)}set pristine(n){q(()=>this.pristineReactive.set(n))}_pristine=Kt(()=>this.pristineReactive());pristineReactive=W(!0);get dirty(){return!this.pristine}get touched(){return q(this.touchedReactive)}set touched(n){q(()=>this.touchedReactive.set(n))}_touched=Kt(()=>this.touchedReactive());touchedReactive=W(!1);get untouched(){return!this.touched}_events=new S;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(kC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(kC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(FC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(FC(n,this._rawAsyncValidators))}hasValidator(n){return Fu(this._rawValidators,n)}hasAsyncValidator(n){return Fu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(F(g({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new da(!0,r))}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 r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),e&&n.emitEvent!==!1&&this._events.next(new da(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(F(g({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new ua(!1,r))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),e&&n.emitEvent!==!1&&this._events.next(new ua(!0,r))}markAsPending(n={}){this.status=po;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new mo(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(F(g({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ca,this.errors=null,this._forEachChild(i=>{i.disable(F(g({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ju(this.value,r)),this._events.next(new mo(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(F(g({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=aa,this._forEachChild(r=>{r.enable(F(g({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(F(g({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!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 r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===aa||this.status===po)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ju(this.value,e)),this._events.next(new mo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(F(g({},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()?ca:aa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=po,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=qC(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{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((r,i)=>r&&r._find(i),this)}getError(n,e){let r=e?this.get(e):this;return r?.errors?r.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,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new mo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?ca:this.errors?Ou:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(po)?po:this._anyControlsHaveStatus(Ou)?Ou:aa}_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 r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,e),i&&this._events.next(new ua(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new da(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){zu(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=qk(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Yk(this._rawAsyncValidators)}},ui=class extends vo{constructor(n,e,r){super(kg(e),Fg(r,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,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.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,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){nI(this,!0,n),Object.keys(n).forEach(r=>{tI(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(r=>{let i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,F(g({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new fa(this))}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((i,o)=>{r=e(r,i,o)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var LQ=ui;var Tg=class extends ui{};var yo=new y("",{factory:()=>Gu}),Gu="always";function Wu(t,n){return[...n.path,t]}function ha(t,n,e=Gu){Pg(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),Kk(t,n),Xk(t,n),Qk(t,n),Zk(t,n)}function Bu(t,n,e=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),Hu(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Uu(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Zk(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Pg(t,n){let e=JC(t);n.validator!==null?t.setValidators(OC(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=eI(t);n.asyncValidator!==null?t.setAsyncValidators(OC(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();Uu(n._rawValidators,i),Uu(n._rawAsyncValidators,i)}function Hu(t,n){let e=!1;if(t!==null){if(n.validator!==null){let i=JC(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.validator);o.length!==i.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let i=eI(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(e=!0,t.setAsyncValidators(o))}}}let r=()=>{};return Uu(n._rawValidators,r),Uu(n._rawAsyncValidators,r),e}function Kk(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&rI(t,n)})}function Qk(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&rI(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function rI(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Xk(t,n){let e=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function iI(t,n){t==null,Pg(t,n)}function Jk(t,n){return Hu(t,n)}function Lg(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function eF(t){return Object.getPrototypeOf(t.constructor)===$u}function oI(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function jg(t,n){if(!n)return null;Array.isArray(n);let e,r,i;return n.forEach(o=>{o.constructor===HC?e=o:eF(o)?r=o:i=o}),i||r||e||null}function tF(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var nF={provide:et,useExisting:be(()=>rF)},la=Promise.resolve(),rF=(()=>{class t extends et{callSetDisabledState;get submitted(){return q(this.submittedReactive)}_submitted=Kt(()=>this.submittedReactive());submittedReactive=W(!1);_directives=new Set;form;ngSubmit=new U;options;constructor(e,r,i){super(),this.callSetDisabledState=i,this.form=new ui({},Ng(e),Og(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){la.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),ha(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){la.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){la.then(()=>{let r=this._findContainer(e.path),i=new ui({});iI(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){la.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){la.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),oI(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Vu(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(r){return new(r||t)(D(Dn,10),D(fi,10),D(yo,8))};static \u0275dir=M({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){r&1&&Zt("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[we([nF]),J]})}return t})();function PC(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function LC(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var go=class extends vo{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(kg(e),Fg(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zu(e)&&(e.nonNullable||e.initialValueIsDefault)&&(LC(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(r=>r(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 fa(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){PC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){PC(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){LC(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}},VQ=go,iF=t=>t instanceof go,oF=(()=>{class t extends et{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Wu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,standalone:!1,features:[J]})}return t})();var sF={provide:Gn,useExisting:be(()=>aF)},jC=Promise.resolve(),aF=(()=>{class t extends Gn{_changeDetectorRef;callSetDisabledState;control=new go;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new U;constructor(e,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=jg(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Lg(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ha(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){jC.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,i=r!==0&&ue(r);jC.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Wu(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(D(et,9),D(Dn,10),D(fi,10),D(di,10),D(St,8),D(yo,8))};static \u0275dir=M({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[we([sF]),J,Re]})}return t})();var BQ=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),cF={provide:di,useExisting:be(()=>lF),multi:!0},lF=(()=>{class t extends $u{writeValue(e){let r=e??"";this.setProperty("value",r)}registerOnChange(e){this.onChange=r=>{e(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){r&1&&Zt("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},standalone:!1,features:[we([cF]),J]})}return t})();var xg=class extends vo{constructor(n,e,r){super(kg(e),Fg(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){Array.isArray(n)?n.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,r={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,e={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){nI(this,!1,n),n.forEach((r,i)=>{tI(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((r,i)=>{r.reset(n[i],F(g({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new fa(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,r)=>r._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,r)=>{n(e,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};var sI=(()=>{class t extends et{callSetDisabledState;get submitted(){return q(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Kt(()=>this._submittedReactive());_submittedReactive=W(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(r)}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&&(Hu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);return ha(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Bu(e.control||null,e,!1),tF(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,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,oI(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Vu(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,i=this.form.get(e.path);r!==i&&(Bu(r||null,e),iF(i)&&(ha(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);iI(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&Jk(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Pg(this.form,this),this._oldForm&&Hu(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(D(Dn,10),D(fi,10),D(yo,8))};static \u0275dir=M({type:t,features:[J,Re]})}return t})();var Vg=new y(""),uF={provide:Gn,useExisting:be(()=>dF)},dF=(()=>{class t extends Gn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new U;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,i,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=jg(this,i)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&Bu(r,this,!1),ha(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Lg(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Bu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)(D(Dn,10),D(fi,10),D(di,10),D(Vg,8),D(yo,8))};static \u0275dir=M({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[we([uF]),J,Re]})}return t})(),fF={provide:et,useExisting:be(()=>aI)},aI=(()=>{class t extends oF{name=null;constructor(e,r,i){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){lI(this._parent)}static \u0275fac=function(r){return new(r||t)(D(et,13),D(Dn,10),D(fi,10))};static \u0275dir=M({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[we([fF]),J]})}return t})(),hF={provide:et,useExisting:be(()=>cI)},cI=(()=>{class t extends et{_parent;name=null;constructor(e,r,i){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){lI(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Wu(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||t)(D(et,13),D(Dn,10),D(fi,10))};static \u0275dir=M({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[we([hF]),J]})}return t})();function lI(t){return!(t instanceof aI)&&!(t instanceof sI)&&!(t instanceof cI)}var pF={provide:Gn,useExisting:be(()=>mF)},mF=(()=>{class t extends Gn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new U;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=jg(this,o)}ngOnChanges(e){this._added||this._setUpControl(),Lg(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Wu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||t)(D(et,13),D(Dn,10),D(fi,10),D(di,10),D(Vg,8))};static \u0275dir=M({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[we([pF]),J,Re]})}return t})();var gF={provide:et,useExisting:be(()=>vF)},vF=(()=>{class t extends sI{form=null;ngSubmit=new U;get control(){return this.form}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Zt("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[we([gF]),J]})}return t})(),yF={provide:di,useExisting:be(()=>dI),multi:!0};function uI(t,n){return t==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function bF(t){return t.split(":")[0]}var dI=(()=>{class t extends $u{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=f(He).injector;destroyRef=f(Ae);cdr=f(St);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,ht({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;let r=this._getOptionId(e),i=uI(r,e);this.setProperty("value",i)}registerOnChange(e){this.onChange=r=>{this.value=this._getOptionValue(r),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),e))return r;return null}_getOptionValue(e){let r=bF(e);return this._optionMap.has(r)?this._optionMap.get(r):e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,i){r&1&&Zt("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[we([yF]),J]})}return t})(),UQ=(()=>{class t{_element;_renderer;_select;id;constructor(e,r,i){this._element=e,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(uI(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select?._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(r){return new(r||t)(D(z),D(Oe),D(dI,9))};static \u0275dir=M({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),_F={provide:di,useExisting:be(()=>fI),multi:!0};function VC(t,n){return t==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function DF(t){return t.split(":")[0]}var fI=(()=>{class t extends $u{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let r;if(Array.isArray(e)){let i=e.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(e){this.onChange=r=>{let i=[],o=r.selectedOptions;if(o!==void 0){let s=o;for(let a=0;a<s.length;a++){let c=s[a],l=this._getOptionValue(c.value);i.push(l)}}else{let s=r.options;for(let a=0;a<s.length;a++){let c=s[a];if(c.selected){let l=this._getOptionValue(c.value);i.push(l)}}}this.value=i,e(i)}}_registerOption(e){let r=(this._idCounter++).toString();return this._optionMap.set(r,e),r}_getOptionId(e){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,e))return r;return null}_getOptionValue(e){let r=DF(e);return this._optionMap.has(r)?this._optionMap.get(r)._value:e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,i){r&1&&Zt("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[we([_F]),J]})}return t})(),HQ=(()=>{class t{_element;_renderer;_select;id;_value;constructor(e,r,i){this._element=e,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(VC(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(VC(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||t)(D(z),D(Oe),D(fI,9))};static \u0275dir=M({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function hI(t){return typeof t=="number"?t:parseFloat(t)}var Bg=(()=>{class t{_validator=ku;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):ku,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,features:[Re]})}return t})(),EF={provide:Dn,useExisting:be(()=>wF),multi:!0},wF=(()=>{class t extends Bg{max;inputName="max";normalizeInput=e=>hI(e);createValidator=e=>zC(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Yt("max",i._enabled?i.max:null)},inputs:{max:"max"},standalone:!1,features:[we([EF]),J]})}return t})(),CF={provide:Dn,useExisting:be(()=>IF),multi:!0},IF=(()=>{class t extends Bg{min;inputName="min";normalizeInput=e=>hI(e);createValidator=e=>$C(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Yt("min",i._enabled?i.min:null)},inputs:{min:"min"},standalone:!1,features:[we([CF]),J]})}return t})(),SF={provide:Dn,useExisting:be(()=>MF),multi:!0};var MF=(()=>{class t extends Bg{required;inputName="required";normalizeInput=ue;createValidator=e=>GC;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275dir=M({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,i){r&2&&Yt("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[we([SF]),J]})}return t})();var pI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function BC(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var TF=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,r=null){let i=this._reduceControls(e),o={};return BC(r)?o=r:r!==null&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new ui(i,o)}record(e,r=null){let i=this._reduceControls(e);return new Tg(i,r)}control(e,r,i){let o={};return this.useNonNullable?(BC(r)?o=r:(o.validators=r,o.asyncValidators=i),new go(e,F(g({},o),{nonNullable:!0}))):new go(e,r,i)}array(e,r,i){let o=e.map(s=>this._createControl(s));return new xg(o,r,i)}_reduceControls(e){let r={};return Object.keys(e).forEach(i=>{r[i]=this._createControl(e[i])}),r}_createControl(e){if(e instanceof go)return e;if(e instanceof vo)return e;if(Array.isArray(e)){let r=e[0],i=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(r,i,o)}else return this.control(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $Q=(()=>{class t extends TF{group(e,r=null){return super.group(e,r)}control(e,r,i){return super.control(e,r,i)}array(e,r,i){return super.array(e,r,i)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zQ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:yo,useValue:e.callSetDisabledState??Gu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[pI]})}return t})(),GQ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Vg,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:yo,useValue:e.callSetDisabledState??Gu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[pI]})}return t})();var V="primary",Sa=Symbol("RouteTitle"),Gg=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 pi(t){return new Gg(t)}function Ug(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function DI(t,n,e){let r=e.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let c={},l=t.slice(0,r.length);return Ug(r,l,c)?{consumed:l,posParams:c}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let a={};return!Ug(o,t.slice(0,o.length),a)||!Ug(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function Xu(t){return new Promise((n,e)=>{t.pipe(Sn()).subscribe({next:r=>n(r),error:r=>e(r)})})}function xF(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!En(t[e],n[e]))return!1;return!0}function En(t,n){let e=t?Wg(t):void 0,r=n?Wg(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!EI(t[i],n[i]))return!1;return!0}function Wg(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function EI(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function AF(t){return t.length>0?t[t.length-1]:null}function gi(t){return Ft(t)?t:jn(t)?se(Promise.resolve(t)):T(t)}function wI(t){return Ft(t)?Xu(t):Promise.resolve(t)}var RF={exact:II,subset:SI},CI={exact:NF,subset:OF,ignored:()=>!0},sv={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ya={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function av(t,n,e){let r=t instanceof tt?t:n.parseUrl(t);return Kt(()=>qg(n.lastSuccessfulNavigation()?.finalUrl??new tt,r,g(g({},ya),e)))}function qg(t,n,e){return RF[e.paths](t.root,n.root,e.matrixParams)&&CI[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function NF(t,n){return En(t,n)}function II(t,n,e){if(!hi(t.segments,n.segments)||!Zu(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!II(t.children[r],n.children[r],e))return!1;return!0}function OF(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>EI(t[e],n[e]))}function SI(t,n,e){return MI(t,n,n.segments,e)}function MI(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!hi(i,e)||n.hasChildren()||!Zu(i,e,r))}else if(t.segments.length===e.length){if(!hi(t.segments,e)||!Zu(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!SI(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!hi(t.segments,i)||!Zu(t.segments,i,r)||!t.children[V]?!1:MI(t.children[V],n,o,r)}}function Zu(t,n,e){return n.every((r,i)=>CI[e](t[i].parameters,r.parameters))}var tt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new te([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=pi(this.queryParams),this._queryParamMap}toString(){return PF.serialize(this)}},te=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ku(this)}},vr=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=pi(this.parameters),this._parameterMap}toString(){return xI(this)}};function kF(t,n){return hi(t,n)&&t.every((e,r)=>En(e.parameters,n[r].parameters))}function hi(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function FF(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===V&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==V&&(e=e.concat(n(i,r)))}),e}var _r=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new qn,providedIn:"root"})}return t})(),qn=class{parse(n){let e=new Zg(n);return new tt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${pa(n.root,!0)}`,r=VF(n.queryParams),i=typeof n.fragment=="string"?`#${LF(n.fragment)}`:"";return`${e}${r}${i}`}},PF=new qn;function Ku(t){return t.segments.map(n=>xI(n)).join("/")}function pa(t,n){if(!t.hasChildren())return Ku(t);if(n){let e=t.children[V]?pa(t.children[V],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==V&&r.push(`${i}:${pa(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=FF(t,(r,i)=>i===V?[pa(t.children[V],!1)]:[`${i}:${pa(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[V]!=null?`${Ku(t)}/${e[0]}`:`${Ku(t)}/(${e.join("//")})`}}function TI(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qu(t){return TI(t).replace(/%3B/gi,";")}function LF(t){return encodeURI(t)}function Yg(t){return TI(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qu(t){return decodeURIComponent(t)}function mI(t){return Qu(t.replace(/\+/g,"%20"))}function xI(t){return`${Yg(t.path)}${jF(t.parameters)}`}function jF(t){return Object.entries(t).map(([n,e])=>`;${Yg(n)}=${Yg(e)}`).join("")}function VF(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${qu(e)}=${qu(i)}`).join("&"):`${qu(e)}=${qu(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var BF=/^[^\/()?;#]+/;function Hg(t){let n=t.match(BF);return n?n[0]:""}var UF=/^[^\/()?;=#]+/;function HF(t){let n=t.match(UF);return n?n[0]:""}var $F=/^[^=?&#]+/;function zF(t){let n=t.match($F);return n?n[0]:""}var GF=/^[^&#]+/;function WF(t){let n=t.match(GF);return n?n[0]:""}var Zg=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],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 b(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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[V]=new te(e,r)),i}parseSegment(){let n=Hg(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(n),new vr(Qu(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=HF(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Hg(this.remaining);i&&(r=i,this.capture(r))}n[Qu(e)]=Qu(r)}parseQueryParam(n){let e=zF(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=WF(this.remaining);s&&(r=s,this.capture(r))}let i=mI(e),o=mI(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Hg(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new b(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=V);let a=this.parseChildren(e+1);r[s??V]=Object.keys(a).length===1&&a[V]?a[V]:new te([],a),this.consumeOptional("//")}return r}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 b(4011,!1)}};function AI(t){return t.segments.length>0?new te([],{[V]:t}):t}function RI(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=RI(i);if(r===V&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let e=new te(t.segments,n);return qF(e)}function qF(t){if(t.numberOfChildren===1&&t.children[V]){let n=t.children[V];return new te(t.segments.concat(n.segments),n.children)}return t}function yr(t){return t instanceof tt}function NI(t,n,e=null,r=null,i=new qn){let o=OI(t);return kI(o,n,e,r,i)}function OI(t){let n;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new te(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=AI(r);return n??i}function kI(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return $g(o,o,o,e,r,i);let s=YF(n);if(s.toRoot())return $g(o,o,new te([],{}),e,r,i);let a=ZF(s,o,t),c=a.processChildren?ga(a.segmentGroup,a.index,s.commands):PI(a.segmentGroup,a.index,s.commands);return $g(o,a.segmentGroup,c,e,r,i)}function Ju(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ba(t){return typeof t=="object"&&t!=null&&t.outlets}function gI(t,n,e){t||="\u0275";let r=new tt;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function $g(t,n,e,r,i,o){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>gI(l,d,o)):gI(l,u,o);let a;t===n?a=e:a=FI(t,n,e);let c=AI(RI(a));return new tt(c,s,i)}function FI(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=FI(o,n,e)}),new te(t.segments,r)}var ed=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Ju(r[0]))throw new b(4003,!1);let i=r.find(ba);if(i&&i!==AF(r))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function YF(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ed(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new ed(e,n,r)}var _o=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function ZF(t,n,e){if(t.isAbsolute)return new _o(n,!0,0);if(!e)return new _o(n,!1,NaN);if(e.parent===null)return new _o(e,!0,0);let r=Ju(t.commands[0])?0:1,i=e.segments.length-1+r;return KF(e,i,t.numberOfDoubleDots)}function KF(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new b(4005,!1);i=r.segments.length}return new _o(r,!1,i-o)}function QF(t){return ba(t[0])?t[0].outlets:{[V]:t}}function PI(t,n,e){if(t??=new te([],{}),t.segments.length===0&&t.hasChildren())return ga(t,n,e);let r=XF(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new te(t.segments.slice(0,r.pathIndex),{});return o.children[V]=new te(t.segments.slice(r.pathIndex),t.children),ga(o,0,i)}else return r.match&&i.length===0?new te(t.segments,{}):r.match&&!t.hasChildren()?Kg(t,n,e):r.match?ga(t,0,i):Kg(t,n,e)}function ga(t,n,e){if(e.length===0)return new te(t.segments,{});{let r=QF(e),i={};if(Object.keys(r).some(o=>o!==V)&&t.children[V]&&t.numberOfChildren===1&&t.children[V].segments.length===0){let o=ga(t.children[V],n,e);return new te(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=PI(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new te(t.segments,i)}}function XF(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],a=e[r];if(ba(a))break;let c=`${a}`,l=r<e.length-1?e[r+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!yI(c,l,s))return o;r+=2}else{if(!yI(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Kg(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(ba(o)){let c=JF(o.outlets);return new te(r,c)}if(i===0&&Ju(e[0])){let c=t.segments[n];r.push(new vr(c.path,vI(e[0]))),i++;continue}let s=ba(o)?o.outlets[V]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Ju(a)?(r.push(new vr(s,vI(a))),i+=2):(r.push(new vr(s,{})),i++)}return new te(r,{})}function JF(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Kg(new te([],{}),0,r))}),n}function vI(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function yI(t,n,e){return t==e.path&&En(n,e.parameters)}var Do="imperative",Fe=(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})(Fe||{}),vt=class{id;url;constructor(n,e){this.id=n,this.url=e}},br=class extends vt{type=Fe.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},yt=class extends vt{urlAfterRedirects;type=Fe.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=(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})(Ze||{}),wo=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(wo||{}),Rt=class extends vt{reason;code;type=Fe.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function LI(t){return t instanceof Rt&&(t.code===Ze.Redirect||t.code===Ze.SupersededByNewNavigation)}var Cn=class extends vt{reason;code;type=Fe.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},mi=class extends vt{error;target;type=Fe.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},_a=class extends vt{urlAfterRedirects;state;type=Fe.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},td=class extends vt{urlAfterRedirects;state;type=Fe.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nd=class extends vt{urlAfterRedirects;state;shouldActivate;type=Fe.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},rd=class extends vt{urlAfterRedirects;state;type=Fe.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},id=class extends vt{urlAfterRedirects;state;type=Fe.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},od=class{route;type=Fe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},sd=class{route;type=Fe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ad=class{snapshot;type=Fe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cd=class{snapshot;type=Fe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ld=class{snapshot;type=Fe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ud=class{snapshot;type=Fe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Co=class{routerEvent;position;anchor;scrollBehavior;type=Fe.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Io=class{},Da=class{},So=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function eP(t){return!(t instanceof Io)&&!(t instanceof So)&&!(t instanceof Da)}var dd=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 vi(this.rootInjector)}},vi=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new dd(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(w(re))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fd=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=Qg(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Qg(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Xg(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Xg(n,this._root).map(e=>e.value)}};function Qg(t,n){if(t===n.value)return n;for(let e of n.children){let r=Qg(t,e);if(r)return r}return null}function Xg(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Xg(t,e);if(r.length)return r.unshift(n),r}return[]}var gt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function bo(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ea=class extends fd{snapshot;constructor(n,e){super(n),this.snapshot=e,lv(this,n)}toString(){return this.snapshot.toString()}};function jI(t,n){let e=tP(t,n),r=new Ie([new vr("",{})]),i=new Ie({}),o=new Ie({}),s=new Ie({}),a=new Ie(""),c=new Yn(r,i,s,a,o,V,t,e.root);return c.snapshot=e.root,new Ea(new gt(c,[]),e)}function tP(t,n){let e={},r={},i={},s=new Mo([],e,i,"",r,V,t,null,{},n);return new wa("",new gt(s,[]))}var Yn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,o,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(H(l=>l[Sa]))??T(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,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(H(n=>pi(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(H(n=>pi(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function cv(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),t.params),data:g(g({},n.data),t.data),resolve:g(g(g(g({},t.data),n.data),i?.data),t._resolvedData)}:r={params:g({},t.params),data:g({},t.data),resolve:g(g({},t.data),t._resolvedData??{})},i&&BI(i)&&(r.resolve[Sa]=i.title),r}var Mo=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Sa]}constructor(n,e,r,i,o,s,a,c,l,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,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??=pi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=pi(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},wa=class extends fd{url;constructor(n,e){super(e),this.url=n,lv(this,e)}toString(){return VI(this._root)}};function lv(t,n){n.value._routerState=t,n.children.forEach(e=>lv(t,e))}function VI(t){let n=t.children.length>0?` { ${t.children.map(VI).join(", ")} } `:"";return`${t.value}${n}`}function zg(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,En(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),En(n.params,e.params)||t.paramsSubject.next(e.params),xF(n.url,e.url)||t.urlSubject.next(e.url),En(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Jg(t,n){let e=En(t.params,n.params)&&kF(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Jg(t.parent,n.parent))}function BI(t){return typeof t.title=="string"||t.title===null}var UI=new y(""),uv=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=V;activateEvents=new U;deactivateEvents=new U;attachEvents=new U;detachEvents=new U;routerOutletData=xE();parentContexts=f(vi);location=f(qe);changeDetector=f(St);inputBinder=f(Ma,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,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,r){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new ev(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Re]})}return t})(),ev=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===Yn?this.route:n===vi?this.childContexts:n===UI?this.outletData:this.parent.get(n,e)}},Ma=new y(""),dv=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=Ii([r.queryParams,r.params,r.data]).pipe(Ue(([o,s,a],c)=>(a=g(g(g({},o),s),a),c===0?T(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=kE(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),fv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&Rl(0,"router-outlet")},dependencies:[uv],encapsulation:2})}return t})();function hv(t){let n=t.children&&t.children.map(hv),e=n?F(g({},t),{children:n}):g({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==V&&(e.component=fv),e}function nP(t,n,e){let r=Ca(t,n._root,e?e._root:void 0);return new Ea(r,n)}function Ca(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=rP(t,n,e);return new gt(r,i)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ca(t,a)),s}}let r=iP(n.value),i=n.children.map(o=>Ca(t,o));return new gt(r,i)}}function rP(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Ca(t,r,i);return Ca(t,r)})}function iP(t){return new Yn(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var To=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},HI="ngNavigationCancelingError";function hd(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=yr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=$I(!1,Ze.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function $I(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[HI]=!0,e.cancellationCode=n,e}function oP(t){return zI(t)&&yr(t.url)}function zI(t){return!!t&&t[HI]}var tv=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),zg(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=bo(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=bo(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=bo(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=bo(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new ud(o.value.snapshot))}),n.children.length&&this.forwardEvent(new cd(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(zg(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zg(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},pd=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Eo=class{component;route;constructor(n,e){this.component=n,this.route=e}};function sP(t,n,e){let r=t._root,i=n?n._root:null;return ma(r,i,e,[r.value])}function aP(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ao(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!vf(t)?t:n.get(t):r}function ma(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=bo(n);return t.children.forEach(s=>{cP(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>va(a,e.getContext(s),i)),i}function cP(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=lP(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new pd(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ma(t,n,a?a.children:null,r,i):ma(t,n,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Eo(a.outlet.component,s))}else s&&va(n,a,i),i.canActivateChecks.push(new pd(r)),o.component?ma(t,null,a?a.children:null,r,i):ma(t,null,e,r,i);return i}function lP(t,n,e){if(typeof e=="function")return xe(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!hi(t.url,n.url);case"pathParamsOrQueryParamsChange":return!hi(t.url,n.url)||!En(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jg(t,n)||!En(t.queryParams,n.queryParams);default:return!Jg(t,n)}}function va(t,n,e){let r=bo(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?va(s,n.children.getContext(o),e):va(s,null,e):va(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Eo(n.outlet.component,i)):e.canDeactivateChecks.push(new Eo(null,i)):e.canDeactivateChecks.push(new Eo(null,i))}function Ta(t){return typeof t=="function"}function uP(t){return typeof t=="boolean"}function dP(t){return t&&Ta(t.canLoad)}function fP(t){return t&&Ta(t.canActivate)}function hP(t){return t&&Ta(t.canActivateChild)}function pP(t){return t&&Ta(t.canDeactivate)}function mP(t){return t&&Ta(t.canMatch)}function GI(t){return t instanceof In||t?.name==="EmptyError"}var Yu=Symbol("INITIAL_VALUE");function xo(){return Ue(t=>Ii(t.map(n=>n.pipe(Be(1),Rr(Yu)))).pipe(H(n=>{for(let e of n)if(e!==!0){if(e===Yu)return Yu;if(e===!1||gP(e))return e}return!0}),fe(n=>n!==Yu),Be(1)))}function gP(t){return yr(t)||t instanceof To}function WI(t){return t.aborted?T(void 0).pipe(Be(1)):new O(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function qI(t){return at(WI(t))}function vP(t){return ve(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?T(F(g({},n),{guardsResult:!0})):yP(o,e,r).pipe(ve(s=>s&&uP(s)?bP(e,i,t):T(s)),H(s=>F(g({},n),{guardsResult:s})))})}function yP(t,n,e){return se(t).pipe(ve(r=>CP(r.component,r.route,e,n)),Sn(r=>r!==!0,!0))}function bP(t,n,e){return se(n).pipe(Xn(r=>rn(DP(r.route.parent,e),_P(r.route,e),wP(t,r.path),EP(t,r.route))),Sn(r=>r!==!0,!0))}function _P(t,n){return t!==null&&n&&n(new ld(t)),T(!0)}function DP(t,n){return t!==null&&n&&n(new ad(t)),T(!0)}function EP(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return T(!0);let r=e.map(i=>Vo(()=>{let o=n._environmentInjector,s=Ao(i,o),a=fP(s)?s.canActivate(n,t):xe(o,()=>s(n,t));return gi(a).pipe(Sn())}));return T(r).pipe(xo())}function wP(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>aP(o)).filter(o=>o!==null).map(o=>Vo(()=>{let s=o.guards.map(a=>{let c=o.node._environmentInjector,l=Ao(a,c),u=hP(l)?l.canActivateChild(e,t):xe(c,()=>l(e,t));return gi(u).pipe(Sn())});return T(s).pipe(xo())}));return T(i).pipe(xo())}function CP(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return T(!0);let o=i.map(s=>{let a=n._environmentInjector,c=Ao(s,a),l=pP(c)?c.canDeactivate(t,n,e,r):xe(a,()=>c(t,n,e,r));return gi(l).pipe(Sn())});return T(o).pipe(xo())}function IP(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return T(!0);let s=o.map(a=>{let c=Ao(a,t),l=dP(c)?c.canLoad(n,e):xe(t,()=>c(n,e)),u=gi(l);return i?u.pipe(qI(i)):u});return T(s).pipe(xo(),YI(r))}function YI(t){return Ad(nt(n=>{if(typeof n!="boolean")throw hd(t,n)}),H(n=>n===!0))}function SP(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return T(!0);let a=s.map(c=>{let l=Ao(c,t),u=mP(l)?l.canMatch(n,e,i):xe(t,()=>l(n,e,i));return gi(u).pipe(qI(o))});return T(a).pipe(xo(),YI(r))}var Wn=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Ia=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function MP(t){throw new b(4e3,!1)}function TP(t){throw $I(!1,Ze.GuardRejected)}var nv=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[V])throw MP(`${n.redirectTo}`);i=i.children[V]}}async applyRedirectCommands(n,e,r,i,o){let s=await xP(e,i,o);if(s instanceof tt)throw new Ia(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Ia(a);return a}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new tt(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,i)}),new te(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new b(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function xP(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return Xu(gi(xe(e,()=>r(n))))}function AP(t,n){return t.providers&&!t._injector&&(t._injector=to(t.providers,n,`Route: ${t.path}`)),t._injector??n}function wn(t){return t.outlet||V}function RP(t,n){let e=t.filter(r=>wn(r)===n);return e.push(...t.filter(r=>wn(r)!==n)),e}var rv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ZI(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function NP(t,n,e,r,i,o,s){let a=KI(t,n,e);if(!a.matched)return T(a);let c=ZI(o(a));return r=AP(n,r),SP(r,n,e,i,c,s).pipe(H(l=>l===!0?a:g({},rv)))}function KI(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?g({},rv):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||DI)(e,t,n);if(!i)return g({},rv);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?g(g({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function bI(t,n,e,r){return e.length>0&&FP(t,e,r)?{segmentGroup:new te(n,kP(r,new te(e,t.children))),slicedSegments:[]}:e.length===0&&PP(t,e,r)?{segmentGroup:new te(t.segments,OP(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new te(t.segments,t.children),slicedSegments:e}}function OP(t,n,e,r){let i={};for(let o of e)if(gd(t,n,o)&&!r[wn(o)]){let s=new te([],{});i[wn(o)]=s}return g(g({},r),i)}function kP(t,n){let e={};e[V]=n;for(let r of t)if(r.path===""&&wn(r)!==V){let i=new te([],{});e[wn(r)]=i}return e}function FP(t,n,e){return e.some(r=>gd(t,n,r)&&wn(r)!==V)}function PP(t,n,e){return e.some(r=>gd(t,n,r))}function gd(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function LP(t,n,e){return n.length===0&&!t.children[e]}var iv=class{};async function jP(t,n,e,r,i,o,s="emptyOnly",a){return new ov(t,n,e,r,i,s,o,a).recognize()}var VP=31,ov=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,a,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new nv(this.urlSerializer,this.urlTree)}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}async recognize(){let n=bI(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),i=new gt(r,e),o=new wa("",i),s=NI(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}async match(n){let e=new Mo([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),V,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,V,e),rootSnapshot:e}}catch(r){if(r instanceof Ia)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Wn?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,i,o){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=await this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof gt?[s]:[]}async processChildren(n,e,r,i){let o=[];for(let c of Object.keys(r.children))c==="primary"?o.unshift(c):o.push(c);let s=[];for(let c of o){let l=r.children[c],u=RP(e,c),d=await this.processSegmentGroup(n,u,l,c,i);s.push(...d)}let a=QI(s);return BP(a),a}async processSegment(n,e,r,i,o,s,a){for(let c of e)try{return await this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,o,s,a)}catch(l){if(l instanceof Wn||GI(l))continue;throw l}if(LP(r,i,o))return new iv;throw new Wn(r)}async processSegmentAgainstRoute(n,e,r,i,o,s,a,c){if(wn(r)!==s&&(s===V||!gd(i,o,r)))throw new Wn(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,c);throw new Wn(i)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=KI(e,i,o);if(!c)throw new Wn(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>VP&&(this.allowRedirects=!1));let p=this.createSnapshot(n,i,o,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let m=await this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,ZI(p),n),_=await this.applyRedirects.lineralizeSegments(i,m);return this.processSegment(n,r,e,_.concat(h),s,!1,a)}createSnapshot(n,e,r,i,o){let s=new Mo(r,i,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,HP(e),wn(e),e.component??e._loadedComponent??null,e,$P(e),n),a=cv(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,e,r,i,o,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=Pe=>this.createSnapshot(n,r,Pe.consumedSegments,Pe.parameters,s),c=await Xu(NP(e,r,i,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!c?.matched)throw new Wn(e);n=r._injector??n;let{routes:l}=await this.getChildConfig(n,r,i),u=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:p}=c,m=this.createSnapshot(n,r,h,d,s),{segmentGroup:_,slicedSegments:E}=bI(e,h,p,l);if(E.length===0&&_.hasChildren()){let Pe=await this.processChildren(u,l,_,m);return new gt(m,Pe)}if(l.length===0&&E.length===0)return new gt(m,[]);let I=wn(r)===o,ee=await this.processSegment(u,l,_,E,I?V:o,!0,m);return new gt(m,ee instanceof gt?[ee]:[])}async getChildConfig(n,e,r){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(await Xu(IP(n,e,r,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw TP(e)}return{routes:[],injector:n}}};function BP(t){t.sort((n,e)=>n.value.outlet===V?-1:e.value.outlet===V?1:n.value.outlet.localeCompare(e.value.outlet))}function UP(t){let n=t.value.routeConfig;return n&&n.path===""}function QI(t){let n=[],e=new Set;for(let r of t){if(!UP(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=QI(r.children);n.push(new gt(r.value,i))}return n.filter(r=>!e.has(r))}function HP(t){return t.data||{}}function $P(t){return t.resolve||{}}function zP(t,n,e,r,i,o,s){return ve(async a=>{let{state:c,tree:l}=await jP(t,n,e,r,a.extractedUrl,i,o,s);return F(g({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function GP(t){return ve(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return T(n);let i=new Set(r.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let c of XI(a))o.add(c);let s=0;return se(o).pipe(Xn(a=>i.has(a)?WP(a,e,t):(a.data=cv(a,a.parent,t).resolve,T(void 0))),nt(()=>s++),oc(1),ve(a=>s===o.size?T(n):Se))})}function XI(t){let n=t.children.map(e=>XI(e)).flat();return[t,...n]}function WP(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!BI(r)&&(i[Sa]=r.title),Vo(()=>(t.data=cv(t,t.parent,e).resolve,qP(i,t,n).pipe(H(o=>(t._resolvedData=o,t.data=g(g({},t.data),o),null)))))}function qP(t,n,e){let r=Wg(t);if(r.length===0)return T({});let i={};return se(r).pipe(ve(o=>YP(t[o],n,e).pipe(Sn(),nt(s=>{if(s instanceof To)throw hd(new qn,s);i[o]=s}))),oc(1),H(()=>i),on(o=>GI(o)?Se:Tr(o)))}function YP(t,n,e){let r=n._environmentInjector,i=Ao(t,r),o=i.resolve?i.resolve(n,e):xe(r,()=>i(n,e));return gi(o)}function _I(t){return Ue(n=>{let e=t(n);return e?se(e).pipe(H(()=>n)):T(n)})}var pv=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===V);return r}getResolvedTitleForRoute(e){return e.data[Sa]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(JI),providedIn:"root"})}return t})(),JI=(()=>{class t extends pv{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(w(Mw))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dr=new y("",{factory:()=>({})}),Ro=new y(""),vd=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=f(Kp);async loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await wI(xe(e,()=>r.loadComponent())),s=await nS(tS(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await eS(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();async function eS(t,n,e,r){let i=await wI(xe(e,()=>t.loadChildren())),o=await nS(tS(i)),s;o instanceof Cl||Array.isArray(o)?s=o:s=await n.compileModuleAsync(o),r&&r(t);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(e).injector,u=s,c=a.get(Ro,[],{optional:!0,self:!0}).flat()),{routes:c.map(hv),injector:a,factory:u}}function ZP(t){return t&&typeof t=="object"&&"default"in t}function tS(t){return ZP(t)?t.default:t}async function nS(t){return t}var yd=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(KP),providedIn:"root"})}return t})(),KP=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mv=new y(""),gv=new y("");function rS(t,n,e){let r=t.get(gv),i=t.get(L);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),QP(t)));a.updateCallbackDone.catch(l=>{}),a.ready.catch(l=>{}),a.finished.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&xe(t,()=>c({transition:a,from:n,to:e})),s}function QP(t){return new Promise(n=>{ht({read:()=>setTimeout(n)},{injector:t})})}var XP=()=>{},vv=new y(""),bd=(()=>{class t{currentNavigation=W(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=W(null);events=new S;transitionAbortWithErrorSubject=new S;configLoader=f(vd);environmentInjector=f(re);destroyRef=f(Ae);urlSerializer=f(_r);rootContexts=f(vi);location=f(yn);inputBindingEnabled=f(Ma,{optional:!0})!==null;titleStrategy=f(pv);options=f(Dr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=f(yd);createViewTransition=f(mv,{optional:!0});navigationErrorHandler=f(vv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>T(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new od(i)),r=i=>this.events.next(new sd(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;q(()=>{this.transitions?.next(F(g({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Ie(null),this.transitions.pipe(fe(r=>r!==null),Ue(r=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===r.id;return T(r).pipe(Ue(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Ze.SupersededByNewNavigation),Se;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?F(g({},c),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new Cn(a.id,this.urlSerializer.serialize(a.rawUrl),"",wo.IgnoredSameUrlNavigation)),a.resolve(!1),Se;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return T(a).pipe(Ue(d=>(this.events.next(new br(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Se:Promise.resolve(d))),zP(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),nt(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new Da)}),Ue(d=>se(r.routesRecognizeHandler.deferredHandle??T(void 0)).pipe(H(()=>d))),nt(()=>{let d=new _a(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:p,restoredState:m,extras:_}=a,E=new br(d,this.urlSerializer.serialize(h),p,m);this.events.next(E);let I=jI(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=F(g({},a),{targetSnapshot:I,urlAfterRedirects:h,extras:F(g({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ee=>(ee.finalUrl=h,ee)),T(r)}else return this.events.next(new Cn(a.id,this.urlSerializer.serialize(a.extractedUrl),"",wo.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Se}),H(a=>{let c=new td(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=F(g({},a),{guards:sP(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),vP(a=>this.events.next(a)),Ue(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw hd(this.urlSerializer,a.guardsResult);let c=new nd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return Se;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",Ze.GuardRejected),Se;if(a.guards.canActivateChecks.length===0)return T(a);let l=new rd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return Se;let u=!1;return T(a).pipe(GP(this.paramsInheritanceStrategy),nt({next:()=>{u=!0;let d=new id(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{u||this.cancelNavigationTransition(a,"",Ze.NoDataFromResolver)}}))}),_I(a=>{let c=u=>{let d=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let h=u._environmentInjector;d.push(this.configLoader.loadComponent(h,u.routeConfig).then(p=>{u.component=p}))}for(let h of u.children)d.push(...c(h));return d},l=c(a.targetSnapshot.root);return l.length===0?T(a):se(Promise.all(l).then(()=>a))}),_I(()=>this.afterPreactivation()),Ue(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?se(l).pipe(H(()=>r)):T(r)}),Be(1),Ue(a=>{let c=nP(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=F(g({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new Io);let l=r.beforeActivateHandler.deferredHandle;return l?se(l.then(()=>a)):T(a)}),nt(a=>{new tv(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(i=!0,this.currentNavigation.update(c=>(c.abort=XP,c)),this.lastSuccessfulNavigation.set(q(this.currentNavigation)),this.events.next(new yt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),at(WI(o.signal).pipe(fe(()=>!i&&!r.targetRouterState),nt(()=>{this.cancelNavigationTransition(r,o.signal.reason+"",Ze.Aborted)}))),nt({complete:()=>{i=!0}}),at(this.transitionAbortWithErrorSubject.pipe(nt(a=>{throw a}))),Mi(()=>{o.abort(),i||this.cancelNavigationTransition(r,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),on(a=>{if(i=!0,this.destroyed)return r.resolve(!1),Se;if(zI(a))this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),oP(a)?this.events.next(new So(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new mi(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=xe(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof To){let{message:u,cancellationCode:d}=hd(this.urlSerializer,l);this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new So(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Se}))}))}cancelNavigationTransition(e,r,i){let o=new Rt(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);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))),r=q(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function JP(t){return t!==Do}var iS=new y("");var oS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(eL),providedIn:"root"})}return t})(),md=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}},eL=(()=>{class t extends md{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_d=(()=>{class t{urlSerializer=f(_r);options=f(Dr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=f(yn);urlHandlingStrategy=f(yd);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new tt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof tt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=jI(null,f(re));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(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(tL),providedIn:"root"})}return t})(),tL=(()=>{class t extends _d{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof br?this.updateStateMemento():e instanceof Cn?this.commitTransition(r):e instanceof _a?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Io?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Rt&&!LI(e)?this.restoreHistory(r):e instanceof mi?this.restoreHistory(r,!0):e instanceof yt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=g(g({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=g(g({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&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,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ne(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Dd(t,n){t.events.pipe(fe(e=>e instanceof yt||e instanceof Rt||e instanceof mi||e instanceof Cn),H(e=>e instanceof yt||e instanceof Cn?0:(e instanceof Rt?e.code===Ze.Redirect||e.code===Ze.SupersededByNewNavigation:!1)?2:1),fe(e=>e!==2),Be(1)).subscribe(()=>{n()})}var bt=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=f(Il);stateManager=f(_d);options=f(Dr,{optional:!0})||{};pendingTasks=f(kn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=f(bd);urlSerializer=f(_r);location=f(yn);urlHandlingStrategy=f(yd);injector=f(re);_events=new S;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=f(oS);injectorCleanup=f(iS,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=f(Ro,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!f(Ma,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new G;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=q(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Rt&&r.code!==Ze.Redirect&&r.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof yt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof So){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=g({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||JP(i.source)},s);this.scheduleNavigation(a,Do,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}eP(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});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),Do,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o)})}navigateToSyncWithBrowser(e,r,i,o){let s=i?.navigationId?i:null;if(i){let c=g({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o).catch(c=>{this.disposed||this.injector.get(ut)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return q(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(hv),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,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=g(g({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=OI(h)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return kI(d,e,u,l??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=yr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Do,null,r)}navigate(e,r={skipLocationChange:!1}){return nL(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Dt(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=g({},sv):r===!1?i=g({},ya):i=g(g({},ya),r),yr(e))return qg(this.currentUrlTree,e,i);let o=this.parseUrl(e);return qg(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,h)=>{a=d,c=h});let u=this.pendingTasks.add();return Dd(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nL(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new b(4008,!1)}var rL=(()=>{class t{router=f(bt);stateManager=f(_d);fragment=W("");queryParams=W({});path=W("");serializer=f(_r);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof yt&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new tt(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ed=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=f(new Ll("href"),{optional:!0});reactiveHref=Xp(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return q(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return q(this._target)}_target=W(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return q(this._queryParams)}_queryParams=W(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return q(this._fragment)}_fragment=W(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return q(this._queryParamsHandling)}_queryParamsHandling=W(void 0);set state(e){this._state.set(e)}get state(){return q(this._state)}_state=W(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return q(this._info)}_info=W(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return q(this._relativeTo)}_relativeTo=W(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return q(this._preserveFragment)}_preserveFragment=W(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return q(this._skipLocationChange)}_skipLocationChange=W(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return q(this._replaceUrl)}_replaceUrl=W(!1);isAnchorElement;onChanges=new S;applicationErrorHandler=f(ut);options=f(Dr,{optional:!0});reactiveRouterState=f(rL);constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=W(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(yr(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=Kt(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:yr(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return q(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(D(bt),D(Yn),Es("tabindex"),D(Oe),D(z),D(Xt))};static \u0275dir=M({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&Zt("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Yt("href",i.reactiveHref(),dp)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ue],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ue],replaceUrl:[2,"replaceUrl","replaceUrl",ue],routerLink:"routerLink"},features:[Re]})}return t})(),iL=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new U;link=f(Ed,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof yt&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(nn()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=se(e).pipe(nn()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=oL(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?g({},sv):g({},ya);return i=>{let o=i.urlTree;return o?q(av(o,e,r)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(D(bt),D(z),D(Oe),D(St))};static \u0275dir=M({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Nl(o,Ed,5),r&2){let s;Os(s=ks())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Re]})}return t})();function oL(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var xa=class{};var sS=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(fe(e=>e instanceof yt),Xn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=to(o.providers,e,""));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return se(i).pipe(nn())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return T(null);let i;r.loadChildren&&r.canLoad===void 0?i=se(this.loader.loadChildren(e,r)):i=T(null);let o=i.pipe(ve(s=>s===null?T(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return se([o,s]).pipe(nn())}else return o})}static \u0275fac=function(r){return new(r||t)(w(bt),w(re),w(xa),w(vd))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aS=new y(""),sL=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Do;restoredId=0;store={};urlSerializer=f(_r);zone=f(j);viewportScroller=f(Im);transitions=f(bd);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof br?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof yt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Cn&&e.code===wo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Co)||e.scrollBehavior==="manual")return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){let i=q(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Co(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){xp()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function aL(){return f(bt).routerState.root}function Aa(t,n){return{\u0275kind:t,\u0275providers:n}}function cL(){let t=f($);return n=>{let e=t.get(He);if(n!==e.components[0])return;let r=t.get(bt),i=t.get(cS);t.get(bv)===1&&r.initialNavigation(),t.get(dS,null,{optional:!0})?.setUpPreloading(),t.get(aS,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var cS=new y("",{factory:()=>new S}),bv=new y("",{factory:()=>1});function lS(){let t=[{provide:ul,useValue:!0},{provide:bv,useValue:0},xl(()=>{let n=f($);return n.get(hm,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(bt),o=n.get(cS);Dd(i,()=>{r(!0)}),n.get(bd).afterPreactivation=()=>(r(!0),o.closed?T(void 0):o),i.initialNavigation()}))})];return Aa(2,t)}function uS(){let t=[xl(()=>{f(bt).setUpLocationChangeListener()}),{provide:bv,useValue:2}];return Aa(3,t)}var dS=new y("");function fS(t){return Aa(0,[{provide:dS,useExisting:sS},{provide:xa,useExisting:t}])}function hS(){return Aa(8,[dv,{provide:Ma,useExisting:dv}])}function pS(t){qt("NgRouterViewTransitions");let n=[{provide:mv,useValue:rS},{provide:gv,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return Aa(9,n)}var mS=[yn,{provide:_r,useClass:qn},bt,vi,{provide:Yn,useFactory:aL},vd,[]],lL=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[mS,[],{provide:Ro,multi:!0,useValue:e},[],r?.errorHandler?{provide:vv,useValue:r.errorHandler}:[],{provide:Dr,useValue:r||{}},r?.useHash?dL():fL(),uL(),r?.preloadingStrategy?fS(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?hL(r):[],r?.bindToComponentInputs?hS().\u0275providers:[],r?.enableViewTransitions?pS().\u0275providers:[],pL()]}}static forChild(e){return{ngModule:t,providers:[{provide:Ro,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function uL(){return{provide:aS,useFactory:()=>{let t=f(Im),n=f(Dr);return n.scrollOffset&&t.setOffset(n.scrollOffset),new sL(n)}}}function dL(){return{provide:Xt,useClass:_m}}function fL(){return{provide:Xt,useClass:zl}}function hL(t){return[t.initialNavigation==="disabled"?uS().\u0275providers:[],t.initialNavigation==="enabledBlocking"?lS().\u0275providers:[]]}var yv=new y("");function pL(){return[{provide:yv,useFactory:cL},{provide:Al,multi:!0,useExisting:yv}]}var wd=class t extends Error{originalError;constructor(n){super(n)}static fromError(n,e){let r=new t(n);return r.originalError=e,r}},gL=(()=>{class t{handleError(e){let r=e;return e.name==="HttpErrorResponse"&&e.status===0?r=wd.fromError("Controller is unreachable",e):e.error?.message&&(r=wd.fromError(e.error.message,e)),Tr(()=>r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),KX=(()=>{class t{http;errorHandler;router;requestsNotificationEmitter=new U;isRefreshing=!1;failedQueue=[];constructor(e,r,i){this.http=e,this.errorHandler=r,this.router=i}get(e,r,i){i=this.getJsonOptions(i);let o=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`GET ${o.url}`),this.handleResponse(e,this.http.get(o.url,o.options),"GET",r,null,i)}getText(e,r,i){i=this.getTextOptions(i);let o=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`GET ${o.url}`),this.handleResponse(e,this.http.get(o.url,o.options),"GET",r,null,i)}getBlob(e,r,i){i=this.getBlobOptions(i);let o=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`GET ${o.url}`),this.handleResponse(e,this.http.get(o.url,o.options),"GET",r,null,i)}post(e,r,i,o){o=this.getJsonOptions(o);let s=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.handleResponse(e,this.http.post(s.url,i,s.options),"POST",r,i,o)}postBlob(e,r,i){let o={responseType:"blob",headers:{}},s=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.handleResponse(e,this.http.post(s.url,i,s.options),"POST",r,i,o)}put(e,r,i,o){o=this.getJsonOptions(o);let s=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`PUT ${s.url}`),this.handleResponse(e,this.http.put(s.url,i,s.options),"PUT",r,i,o)}delete(e,r,i){i=this.getJsonOptions(i);let o=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`DELETE ${o.url}`),this.handleResponse(e,this.http.delete(o.url,o.options),"DELETE",r,null,i)}patch(e,r,i,o){o=this.getJsonOptions(o);let s=this.getOptionsForController(e,r,o);return this.handleResponse(e,this.http.patch(s.url,i,s.options),"PATCH",r,i,o)}head(e,r,i){i=this.getJsonOptions(i);let o=this.getOptionsForController(e,r,i);return this.handleResponse(e,this.http.head(o.url,o.options),"HEAD",r,null,i)}options(e,r,i){i=this.getJsonOptions(i);let o=this.getOptionsForController(e,r,i);return this.handleResponse(e,this.http.options(o.url,o.options),"OPTIONS",r,null,i)}getJsonOptions(e){return e||{responseType:"json"}}getTextOptions(e){return e||{responseType:"text"}}getBlobOptions(e){return e||{responseType:"blob"}}getOptionsForController(e,r,i){return e&&e.host&&e.port?(e.protocol||(e.protocol=location.protocol),r=`${e.protocol}//${e.host}:${e.port}/${wu.current_version}${r}`):r=`/${wu.current_version}${r}`,i.headers||(i.headers={}),e&&e.authToken&&!e.tokenExpired&&(i.headers.Authorization=`Bearer ${e.authToken}`),{url:r,options:i}}handleResponse(e,r,i,o,s,a){return r.pipe(on(c=>{if(c.status!==401)return this.errorHandler.handleError(c);if(o.endsWith("/access/users/login")||o.endsWith("/access/users/authenticate")||o.endsWith("/access/users/refresh"))return this.errorHandler.handleError(c);let l=localStorage.getItem(`refresh_token_${e.id}`);return l?this.retryAfterRefresh(e,i,o,s,a,l):(this.redirectToLogin(e),Tr(()=>c))}))}retryAfterRefresh(e,r,i,o,s,a){return this.isRefreshing?new O(c=>{this.failedQueue.push({resolve:()=>{this.executeRequest(e,r,i,o,s).subscribe({next:l=>{c.next(l),c.complete()},error:l=>c.error(l)})},reject:l=>c.error(l)})}):(this.isRefreshing=!0,this.doRefreshToken(e,a).pipe(Ue(c=>(e.authToken=c.access_token,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e)),c.refresh_token&&localStorage.setItem(`refresh_token_${e.id}`,c.refresh_token),this.isRefreshing=!1,this.processQueue(null),this.executeRequest(e,r,i,o,s))),on(c=>(this.isRefreshing=!1,this.processQueue(c),c.status===401&&this.redirectToLogin(e),Tr(()=>c)))))}doRefreshToken(e,r){let i=`${e.protocol}//${e.host}:${e.port}/${wu.current_version}/access/users/refresh`;return this.http.post(i,{refresh_token:r},{headers:new bn({"Content-Type":"application/json"})})}executeRequest(e,r,i,o,s){let a=this.getOptionsForController(e,i,s);return this.requestsNotificationEmitter.emit(`${r} ${a.url}`),this.http.request(r,a.url,{body:o,headers:a.options.headers,params:a.options.params,responseType:a.options.responseType||"json"})}processQueue(e){e?this.failedQueue.forEach(r=>r.reject(e)):this.failedQueue.forEach(r=>r.resolve()),this.failedQueue=[]}clearTokens(e){localStorage.removeItem(`refresh_token_${e.id}`),e.authToken=null,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e))}redirectToLogin(e){this.clearTokens(e),e.tokenExpired=!0,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e)),this.isRefreshing=!1,this.processQueue(new Error("Session expired, redirecting to login")),this.router.navigate(["/controller",e.id,"login"])}static \u0275fac=function(r){return new(r||t)(w(uu),w(gL),w(bt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var _v=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 S;constructor(n=!1,e,r=!0,i){this._multiple=n,this._emitChanges=r,this.compareWith=i,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(r=>this._markSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(r=>this._unmarkSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,r=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!r.has(this._getConcreteValue(o,r))).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}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 r of e)if(this.compareWith(n,r))return r;return n}else return n}};var vL=(()=>{class t{_listeners=[];notify(e,r){for(let i of this._listeners)i(e,r)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(r=>e!==r)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gS=class{applyChanges(n,e,r,i,o){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=r(s,a,c);l=e.createEmbeddedView(d.templateRef,d.context,d.index),u=_n.INSERTED}else c==null?(e.remove(a),u=_n.REMOVED):(l=e.get(a),e.move(l,c),u=_n.MOVED);o&&o({context:l?.context,operation:u,record:s})})}detach(){}};var uJ=(()=>{class t{_animationsDisabled=mr();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,i){r&2&&Xe("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal",i.appearance==="minimal")("mat-pseudo-checkbox-full",i.appearance==="full")("_mat-animation-noopable",i._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(r,i){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
`],encapsulation:2,changeDetection:0})}return t})();export{g as a,F as b,wS as c,yL as d,bL as e,_L as f,G as g,O as h,S as i,Ie as j,Po as k,Pd as l,Ld as m,Se as n,se as o,T as p,Tr as q,Ft as r,BS as s,HS as t,H as u,Ii as v,ve as w,rn as x,Vo as y,Vd as z,Bd as A,xr as B,iM as C,oM as D,fe as E,Bo as F,on as G,Ud as H,Xn as I,sM as J,Ar as K,Be as L,Hd as M,aM as N,Si as O,Mi as P,oc as Q,ty as R,Gd as S,ny as T,Uo as U,Rr as V,Ue as W,at as X,nt as Y,b as Z,be as _,v as $,Z as aa,y as ba,w as ca,f as da,My as ea,re as fa,By as ga,Uy as ha,Jy as ia,eb as ja,$ as ka,L as la,Ae as ma,U as na,j as oa,_t as pa,W as qa,$i as ra,Re as sa,Ne as ta,z as ua,Fn as va,Xr as wa,ws as xa,it as ya,i0 as za,N_ as Aa,O_ as Ba,c0 as Ca,l0 as Da,vp as Ea,ht as Fa,dt as Ga,je as Ha,Oe as Ia,D as Ja,xp as Ka,qe as La,ke as Ma,X as Na,M as Oa,As as Pa,uA as Qa,J as Ra,PD as Sa,LD as Ta,no as Ua,He as Va,HD as Wa,Yt as Xa,wA as Ya,IA as Za,Hp as _a,SA as $a,MA as ab,TA as bb,xA as cb,AA as db,$D as eb,sl as fb,$p as gb,Rl as hb,Jr as ib,ei as jb,vn as kb,zp as lb,Gp as mb,GD as nb,PA as ob,WD as pb,Zt as qb,YD as rb,UA as sb,ti as tb,Vn as ub,Nl as vb,Ol as wb,Os as xb,ks as yb,KD as zb,QD as Ab,zA as Bb,GA as Cb,kl as Db,Xe as Eb,Wp as Fb,fR as Gb,sE as Hb,qp as Ib,aE as Jb,cE as Kb,lE as Lb,gR as Mb,uE as Nb,vR as Ob,yR as Pb,we as Qb,ER as Rb,wR as Sb,CR as Tb,IR as Ub,SR as Vb,TR as Wb,AR as Xb,RR as Yb,NR as Zb,OR as _b,kR as $b,q as ac,Kt as bc,Ll as cc,z4 as dc,G4 as ec,xE as fc,W4 as gc,q4 as hc,Y4 as ic,Z4 as jc,St as kc,Bl as lc,ue as mc,dm as nc,Q4 as oc,yn as pc,CN as qc,ew as rc,IN as sc,SN as tc,MN as uc,AN as vc,NN as wc,FN as xc,Em as yc,rw as zc,Nm as Ac,KN as Bc,rO as Cc,bn as Dc,$n as Ec,ro as Fc,ri as Gc,io as Hc,Ew as Ic,uu as Jc,IO as Kc,Mw as Lc,x9 as Mc,Hm as Nc,zm as Oc,RO as Pc,Je as Qc,xt as Rc,Zs as Sc,Ks as Tc,ii as Uc,Aw as Vc,Tt as Wc,he as Xc,fo as Yc,zn as Zc,na as _c,bk as $c,ug as ad,_n as bd,dg as cd,wk as dd,ra as ed,pg as fd,ci as gd,xk as hd,Ak as id,hg as jd,mg as kd,Js as ld,oi as md,gg as nd,ho as od,Cu as pd,Iu as qd,x7 as rd,A7 as sd,hC as td,vu as ud,DC as vd,Dg as wd,sa as xd,Eg as yd,Au as zd,Cg as Ad,TC as Bd,Ig as Cd,Sg as Dd,_g as Ed,Fk as Fd,Pk as Gd,gS as Hd,di as Id,HC as Jd,Dn as Kd,NC as Ld,et as Md,Gn as Nd,FQ as Od,PQ as Pd,ui as Qd,LQ as Rd,rF as Sd,go as Td,VQ as Ud,aF as Vd,BQ as Wd,lF as Xd,dF as Yd,aI as Zd,cI as _d,mF as $d,vF as ae,UQ as be,HQ as ce,wF as de,IF as ee,MF as fe,TF as ge,$Q as he,zQ as ie,GQ as je,fu as ke,NO as le,mu as me,kO as ne,gu as oe,qm as pe,AY as qe,Uw as re,jO as se,ZO as te,QO as ue,XO as ve,Qm as we,Xm as xe,Jm as ye,SZ as ze,ek as Ae,tk as Be,PZ as Ce,iK as De,WZ as Ee,QZ as Fe,rk as Ge,mr as He,br as Ie,yt as Je,Rt as Ke,mi as Le,Yn as Me,uv as Ne,bt as Oe,Ed as Pe,iL as Qe,lL as Re,ta as Se,sg as Te,bK as Ue,oC as Ve,sC as We,fk as Xe,lC as Ye,QK as Ze,XK as _e,wu as $e,gL as af,KX as bf,vL as cf,_v as df,uJ as ef};