数据可视化大屏
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

21 satır
737KB

  1. var n_=Object.create;var zl=Object.defineProperty,r_=Object.defineProperties,i_=Object.getOwnPropertyDescriptor,o_=Object.getOwnPropertyDescriptors,s_=Object.getOwnPropertyNames,El=Object.getOwnPropertySymbols,a_=Object.getPrototypeOf,R3=Object.prototype.hasOwnProperty,_f=Object.prototype.propertyIsEnumerable;var N3=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t);var bf=(t,e,r)=>e in t?zl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,b=(t,e)=>{for(var r in e||={})R3.call(e,r)&&bf(t,r,e[r]);if(El)for(var r of El(e))_f.call(e,r)&&bf(t,r,e[r]);return t},ke=(t,e)=>r_(t,o_(e));var HL=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var ss=(t,e)=>{var r={};for(var n in t)R3.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&El)for(var n of El(t))e.indexOf(n)<0&&_f.call(t,n)&&(r[n]=t[n]);return r};var c_=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),VL=(t,e)=>{for(var r in e)zl(t,r,{get:e[r],enumerable:!0})},l_=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s_(e))!R3.call(t,i)&&i!==r&&zl(t,i,{get:()=>e[i],enumerable:!(n=i_(e,i))||n.enumerable});return t};var u_=(t,e,r)=>(r=t!=null?n_(a_(t)):{},l_(e||!t||!t.__esModule?zl(r,"default",{value:t,enumerable:!0}):r,t));var L3=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(l){i(l)}},s=c=>{try{a(r.throw(c))}catch(l){i(l)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(t,e)).next())}),d_=function(t,e){this[0]=t,this[1]=e};var YL=t=>{var e=t[N3("asyncIterator")],r=!1,n,i={};return e==null?(e=t[N3("iterator")](),n=o=>i[o]=s=>e[o](s)):(e=e.call(t),n=o=>i[o]=s=>{if(r){if(r=!1,o==="throw")throw s;return s}return r=!0,{done:!1,value:new d_(new Promise(a=>{var c=e[o](s);if(!(c instanceof Object))throw TypeError("Object expected");a(c)}),1)}}),i[N3("iterator")]=()=>i,n("next"),"throw"in e?n("throw"):i.throw=o=>{throw o},"return"in e&&n("return"),i};var v9=c_((vZ,g9)=>{"use strict";var i2=Object.prototype.hasOwnProperty,m9=Object.prototype.toString,l9=Object.defineProperty,u9=Object.getOwnPropertyDescriptor,d9=function(e){return typeof Array.isArray=="function"?Array.isArray(e):m9.call(e)==="[object Array]"},h9=function(e){if(!e||m9.call(e)!=="[object Object]")return!1;var r=i2.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&i2.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!n)return!1;var i;for(i in e);return typeof i>"u"||i2.call(e,i)},f9=function(e,r){l9&&r.name==="__proto__"?l9(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},p9=function(e,r){if(r==="__proto__")if(i2.call(e,r)){if(u9)return u9(e,r).value}else return;return e[r]};g9.exports=function t(){var e,r,n,i,o,s,a=arguments[0],c=1,l=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},c=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});c<l;++c)if(e=arguments[c],e!=null)for(r in e)n=p9(a,r),i=p9(e,r),a!==i&&(u&&i&&(h9(i)||(o=d9(i)))?(o?(o=!1,s=n&&d9(n)?n:[]):s=n&&h9(n)?n:{},f9(a,{name:r,newValue:t(u,s,i)})):typeof i<"u"&&f9(a,{name:r,newValue:i}));return a}});var Cf=null;var H3=1,Mf=Symbol("SIGNAL");function yt(t){let e=Cf;return Cf=t,e}var Df={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function h_(t){if(!(j3(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===H3)){if(!t.producerMustRecompute(t)&&!V3(t)){t.dirty=!1,t.lastCleanEpoch=H3;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=H3}}function xf(t){return t&&(t.nextProducerIndex=0),yt(t)}function Sf(t,e){if(yt(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(j3(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Y3(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function V3(t){Il(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(h_(r),n!==r.version))return!0}return!1}function Tf(t){if(Il(t),j3(t))for(let e=0;e<t.producerNode.length;e++)Y3(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Y3(t,e){if(f_(t),Il(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)Y3(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],i=t.liveConsumerNode[e];Il(i),i.producerIndexOfThis[n]=e}}function j3(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Il(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function f_(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function p_(){throw new Error}var m_=p_;function Ef(t){m_=t}function K(t){return typeof t=="function"}function as(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var kl=as(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
  2. ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
  3. `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Ki(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ye=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(K(n))try{n()}catch(o){e=o instanceof kl?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{zf(o)}catch(s){e=e??[],s instanceof kl?e=[...e,...s.errors]:e.push(s)}}if(e)throw new kl(e)}}add(e){var r;if(e&&e!==this)if(this.closed)zf(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Ki(r,e)}remove(e){let{_finalizers:r}=this;r&&Ki(r,e),e instanceof t&&e._removeParent(this)}};ye.EMPTY=(()=>{let t=new ye;return t.closed=!0,t})();var B3=ye.EMPTY;function Pl(t){return t instanceof ye||t&&"closed"in t&&K(t.remove)&&K(t.add)&&K(t.unsubscribe)}function zf(t){K(t)?t():t.unsubscribe()}var $n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cs={setTimeout(t,e,...r){let{delegate:n}=cs;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=cs;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ol(t){cs.setTimeout(()=>{let{onUnhandledError:e}=$n;if(e)e(t);else throw t})}function qn(){}var If=U3("C",void 0,void 0);function kf(t){return U3("E",void 0,t)}function Pf(t){return U3("N",t,void 0)}function U3(t,e,r){return{kind:t,value:e,error:r}}var Zi=null;function ls(t){if($n.useDeprecatedSynchronousErrorHandling){let e=!Zi;if(e&&(Zi={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Zi;if(Zi=null,r)throw n}}else t()}function Of(t){$n.useDeprecatedSynchronousErrorHandling&&Zi&&(Zi.errorThrown=!0,Zi.error=t)}var Qi=class extends ye{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Pl(e)&&e.add(this)):this.destination=y_}static create(e,r,n){return new Lr(e,r,n)}next(e){this.isStopped?q3(Pf(e),this):this._next(e)}error(e){this.isStopped?q3(kf(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?q3(If,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},g_=Function.prototype.bind;function $3(t,e){return g_.call(t,e)}var W3=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Al(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Al(n)}else Al(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Al(r)}}},Lr=class extends Qi{constructor(e,r,n){super();let i;if(K(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&$n.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&$3(e.next,o),error:e.error&&$3(e.error,o),complete:e.complete&&$3(e.complete,o)}):i=e}this.destination=new W3(i)}};function Al(t){$n.useDeprecatedSynchronousErrorHandling?Of(t):Ol(t)}function v_(t){throw t}function q3(t,e){let{onStoppedNotification:r}=$n;r&&cs.setTimeout(()=>r(t,e))}var y_={closed:!0,next:qn,error:v_,complete:qn};var us=typeof Symbol=="function"&&Symbol.observable||"@@observable";function It(t){return t}function G3(...t){return K3(t)}function K3(t){return t.length===0?It:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var Y=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=b_(r)?r:new Lr(r,n,i);return ls(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Af(n),new n((i,o)=>{let s=new Lr({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[us](){return this}pipe(...r){return K3(r)(this)}toPromise(r){return r=Af(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Af(t){var e;return(e=t??$n.Promise)!==null&&e!==void 0?e:Promise}function w_(t){return t&&K(t.next)&&K(t.error)&&K(t.complete)}function b_(t){return t&&t instanceof Qi||w_(t)&&Pl(t)}function Z3(t){return K(t?.lift)}function q(t){return e=>{if(Z3(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function H(t,e,r,n,i){return new Q3(t,e,r,n,i)}var Q3=class extends Qi{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function ds(){return q((t,e)=>{let r=null;t._refCount++;let n=H(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var lr=class extends Y{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Z3(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ye;let r=this.getSubject();e.add(this.source.subscribe(H(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ye.EMPTY)}return e}refCount(){return ds()(this)}};var hs={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=hs;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let i=e(o=>{r=void 0,t(o)});return new ye(()=>r?.(i))},requestAnimationFrame(...t){let{delegate:e}=hs;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=hs;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Ff=as(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var S=(()=>{class t extends Y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Fl(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Ff}next(r){ls(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){ls(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){ls(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?B3:(this.currentObservers=null,o.push(r),new ye(()=>{this.currentObservers=null,Ki(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new Y;return r.source=this,r}}return t.create=(e,r)=>new Fl(e,r),t})(),Fl=class extends S{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:B3}};var Re=class extends S{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Fa={now(){return(Fa.delegate||Date).now()},delegate:void 0};var fi=class extends S{constructor(e=1/0,r=1/0,n=Fa){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!e.closed;s+=n?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),r}_trimBuffer(){let{_bufferSize:e,_timestampProvider:r,_buffer:n,_infiniteTimeWindow:i}=this,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){let s=r.now(),a=0;for(let c=1;c<n.length&&n[c]<=s;c+=2)a=c;a&&n.splice(0,a+1)}}};var Nl=class extends ye{constructor(e,r){super()}schedule(e,r=0){return this}};var Na={setInterval(t,e,...r){let{delegate:n}=Na;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Na;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var pi=class extends Nl{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,r),this}requestAsyncId(e,r,n=0){return Na.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Na.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,i;try{this.work(e)}catch(o){n=!0,i=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,Ki(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var __=1,X3,J3={};function Nf(t){return t in J3?(delete J3[t],!0):!1}var Rf={setImmediate(t){let e=__++;return J3[e]=!0,X3||(X3=Promise.resolve()),X3.then(()=>Nf(e)&&t()),e},clearImmediate(t){Nf(t)}};var{setImmediate:C_,clearImmediate:M_}=Rf,Ra={setImmediate(...t){let{delegate:e}=Ra;return(e?.setImmediate||C_)(...t)},clearImmediate(t){let{delegate:e}=Ra;return(e?.clearImmediate||M_)(t)},delegate:void 0};var Rl=class extends pi{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Ra.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(Ra.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var fs=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};fs.now=Fa.now;var mi=class extends fs{constructor(e,r=fs.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Ll=class extends mi{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var e0=new Ll(Rl);var Wn=new mi(pi),Lf=Wn;var Hl=class extends pi{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=hs.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(hs.cancelAnimationFrame(r),e._scheduled=void 0)}};var Vl=class extends mi{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var La=new Vl(Hl);var Dt=new Y(t=>t.complete());function Yl(t){return t&&K(t.schedule)}function t0(t){return t[t.length-1]}function gi(t){return K(t0(t))?t.pop():void 0}function ur(t){return Yl(t0(t))?t.pop():void 0}function Hf(t,e){return typeof t0(t)=="number"?t.pop():e}function je(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}function Yf(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{l(n.next(u))}catch(d){s(d)}}function c(u){try{l(n.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((n=n.apply(t,e||[])).next())})}function Vf(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xi(t){return this instanceof Xi?(this.v=t,this):new Xi(t)}function jf(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(h){n[h]&&(i[h]=function(f){return new Promise(function(p,y){o.push([h,f,p,y])>1||a(h,f)})})}function a(h,f){try{c(n[h](f))}catch(p){d(o[0][3],p)}}function c(h){h.value instanceof Xi?Promise.resolve(h.value.v).then(l,u):d(o[0][2],h)}function l(h){a("next",h)}function u(h){a("throw",h)}function d(h,f){h(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Bf(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Vf=="function"?Vf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[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 ps=t=>t&&typeof t.length=="number"&&typeof t!="function";function jl(t){return K(t?.then)}function Bl(t){return K(t[us])}function Ul(t){return Symbol.asyncIterator&&K(t?.[Symbol.asyncIterator])}function $l(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 D_(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ql=D_();function Wl(t){return K(t?.[ql])}function Gl(t){return jf(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Xi(r.read());if(i)return yield Xi(void 0);yield yield Xi(n)}}finally{r.releaseLock()}})}function Kl(t){return K(t?.getReader)}function ae(t){if(t instanceof Y)return t;if(t!=null){if(Bl(t))return x_(t);if(ps(t))return S_(t);if(jl(t))return T_(t);if(Ul(t))return Uf(t);if(Wl(t))return E_(t);if(Kl(t))return z_(t)}throw $l(t)}function x_(t){return new Y(e=>{let r=t[us]();if(K(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function S_(t){return new Y(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function T_(t){return new Y(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Ol)})}function E_(t){return new Y(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Uf(t){return new Y(e=>{I_(t,e).catch(r=>e.error(r))})}function z_(t){return Uf(Gl(t))}function I_(t,e){var r,n,i,o;return Yf(this,void 0,void 0,function*(){try{for(r=Bf(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Qt(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function Zl(t,e=0){return q((r,n)=>{r.subscribe(H(n,i=>Qt(n,t,()=>n.next(i),e),()=>Qt(n,t,()=>n.complete(),e),i=>Qt(n,t,()=>n.error(i),e)))})}function Ql(t,e=0){return q((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function $f(t,e){return ae(t).pipe(Ql(e),Zl(e))}function qf(t,e){return ae(t).pipe(Ql(e),Zl(e))}function Wf(t,e){return new Y(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Gf(t,e){return new Y(r=>{let n;return Qt(r,e,()=>{n=t[ql](),Qt(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>K(n?.return)&&n.return()})}function Xl(t,e){if(!t)throw new Error("Iterable cannot be null");return new Y(r=>{Qt(r,e,()=>{let n=t[Symbol.asyncIterator]();Qt(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Kf(t,e){return Xl(Gl(t),e)}function Zf(t,e){if(t!=null){if(Bl(t))return $f(t,e);if(ps(t))return Wf(t,e);if(jl(t))return qf(t,e);if(Ul(t))return Xl(t,e);if(Wl(t))return Gf(t,e);if(Kl(t))return Kf(t,e)}throw $l(t)}function Le(t,e){return e?Zf(t,e):ae(t)}function A(...t){let e=ur(t);return Le(t,e)}function vi(t,e){let r=K(t)?t:()=>t,n=i=>i.error(r());return new Y(e?i=>e.schedule(n,0,i):n)}function Tn(t){return!!t&&(t instanceof Y||K(t.lift)&&K(t.subscribe))}var Gn=as(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function k_(t,e){let r=typeof e=="object";return new Promise((n,i)=>{let o=!1,s;t.subscribe({next:a=>{s=a,o=!0},error:i,complete:()=>{o?n(s):r?n(e.defaultValue):i(new Gn)}})})}function Qf(t){return t instanceof Date&&!isNaN(t)}function Z(t,e){return q((r,n)=>{let i=0;r.subscribe(H(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:P_}=Array;function O_(t,e){return P_(e)?t(...e):t(e)}function ms(t){return Z(e=>O_(t,e))}var{isArray:A_}=Array,{getPrototypeOf:F_,prototype:N_,keys:R_}=Object;function Jl(t){if(t.length===1){let e=t[0];if(A_(e))return{args:e,keys:null};if(L_(e)){let r=R_(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function L_(t){return t&&typeof t=="object"&&F_(t)===N_}function e1(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function Ji(...t){let e=ur(t),r=gi(t),{args:n,keys:i}=Jl(t);if(n.length===0)return Le([],e);let o=new Y(H_(n,e,i?s=>e1(i,s):It));return r?o.pipe(ms(r)):o}function H_(t,e,r=It){return n=>{Xf(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c<i;c++)Xf(e,()=>{let l=Le(t[c],e),u=!1;l.subscribe(H(n,d=>{o[c]=d,u||(u=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Xf(t,e,r){t?Qt(r,t,e):e()}function Jf(t,e,r,n,i,o,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&e.complete()},f=y=>l<n?p(y):c.push(y),p=y=>{o&&e.next(y),l++;let v=!1;ae(r(y,u++)).subscribe(H(e,M=>{i?.(M),o?f(M):e.next(M)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;c.length&&l<n;){let M=c.shift();s?Qt(e,s,()=>p(M)):p(M)}h()}catch(M){e.error(M)}}))};return t.subscribe(H(e,f,()=>{d=!0,h()})),()=>{a?.()}}function Ke(t,e,r=1/0){return K(e)?Ke((n,i)=>Z((o,s)=>e(n,o,i,s))(ae(t(n,i))),r):(typeof e=="number"&&(r=e),q((n,i)=>Jf(n,i,t,r)))}function yi(t=1/0){return Ke(It,t)}function e5(){return yi(1)}function dr(...t){return e5()(Le(t,ur(t)))}function gs(t){return new Y(e=>{ae(t()).subscribe(e)})}function V_(...t){let e=gi(t),{args:r,keys:n}=Jl(t),i=new Y(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;ae(r[u]).subscribe(H(o,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(n?e1(n,a):a),o.complete())}))}});return e?i.pipe(ms(e)):i}var Y_=["addListener","removeListener"],j_=["addEventListener","removeEventListener"],B_=["on","off"];function Kn(t,e,r,n){if(K(r)&&(n=r,r=void 0),n)return Kn(t,e,r).pipe(ms(n));let[i,o]=q_(t)?j_.map(s=>a=>t[s](e,a,r)):U_(t)?Y_.map(t5(t,e)):$_(t)?B_.map(t5(t,e)):[];if(!i&&ps(t))return Ke(s=>Kn(s,e,r))(ae(t));if(!i)throw new TypeError("Invalid event target");return new Y(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return i(a),()=>o(a)})}function t5(t,e){return r=>n=>t[r](e,n)}function U_(t){return K(t.addListener)&&K(t.removeListener)}function $_(t){return K(t.on)&&K(t.off)}function q_(t){return K(t.addEventListener)&&K(t.removeEventListener)}function Hr(t=0,e,r=Lf){let n=-1;return e!=null&&(Yl(e)?r=e:n=e),new Y(i=>{let o=Qf(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function n0(t=0,e=Wn){return t<0&&(t=0),Hr(t,t,e)}function vs(...t){let e=ur(t),r=Hf(t,1/0),n=t;return n.length?n.length===1?ae(n[0]):yi(r)(Le(n,e)):Dt}var{isArray:W_}=Array;function n5(t){return t.length===1&&W_(t[0])?t[0]:t}function ge(t,e){return q((r,n)=>{let i=0;r.subscribe(H(n,o=>t.call(e,o,i++)&&n.next(o)))})}function G_(t,e){return new Y(r=>{let n=t(),i=e(n);return(i?ae(i):Dt).subscribe(r),()=>{n&&n.unsubscribe()}})}function K_(...t){let e=gi(t),r=n5(t);return r.length?new Y(n=>{let i=r.map(()=>[]),o=r.map(()=>!1);n.add(()=>{i=o=null});for(let s=0;!n.closed&&s<r.length;s++)ae(r[s]).subscribe(H(n,a=>{if(i[s].push(a),i.every(c=>c.length)){let c=i.map(l=>l.shift());n.next(e?e(...c):c),i.some((l,u)=>!l.length&&o[u])&&n.complete()}},()=>{o[s]=!0,!i[s].length&&n.complete()}));return()=>{i=o=null}}):Dt}function r5(t){return q((e,r)=>{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let l=i;i=null,r.next(l)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe(H(r,l=>{n=!0,i=l,o||ae(t(l)).subscribe(o=H(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function Ha(t,e=Wn){return r5(()=>Hr(t,e))}function En(t){return q((e,r)=>{let n=null,i=!1,o;n=e.subscribe(H(r,void 0,void 0,s=>{o=ae(t(s,En(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function i5(t,e,r,n,i){return(o,s)=>{let a=r,c=e,l=0;o.subscribe(H(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function Vr(t,e){return K(e)?Ke(t,e,1):Ke(t,1)}function o5(t){return new Y(e=>t.subscribe(e))}var Z_={connector:()=>new S};function t1(t,e=Z_){let{connector:r}=e;return q((n,i)=>{let o=r();ae(t(o5(o))).subscribe(i),i.add(n.subscribe(o))})}function Q_(t){return q((e,r)=>{let n=!1,i=null,o=null,s=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let a=i;i=null,r.next(a)}};e.subscribe(H(r,a=>{o?.unsubscribe(),n=!0,i=a,o=H(r,s,qn),ae(t(a)).subscribe(o)},()=>{s(),r.complete()},void 0,()=>{i=o=null}))})}function wi(t,e=Wn){return q((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,n.next(l)}};function c(){let l=s+t,u=e.now();if(u<l){i=this.schedule(void 0,l-u),n.add(i);return}a()}r.subscribe(H(n,l=>{o=l,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function bi(t){return q((e,r)=>{let n=!1;e.subscribe(H(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function ze(t){return t<=0?()=>Dt:q((e,r)=>{let n=0;e.subscribe(H(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function s5(){return q((t,e)=>{t.subscribe(H(e,qn))})}function eo(t){return Z(()=>t)}function r0(t,e){return e?r=>dr(e.pipe(ze(1),s5()),r.pipe(r0(t))):Ke((r,n)=>ae(t(r,n)).pipe(ze(1),eo(r)))}function ys(t,e=Wn){let r=Hr(t,e);return r0(()=>r)}function ws(t,e=It){return t=t??X_,q((r,n)=>{let i,o=!0;r.subscribe(H(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function X_(t,e){return t===e}function n1(t=J_){return q((e,r)=>{let n=!1;e.subscribe(H(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function J_(){return new Gn}function a5(t,e){return e?r=>r.pipe(a5((n,i)=>ae(t(n,i)).pipe(Z((o,s)=>e(n,o,i,s))))):q((r,n)=>{let i=0,o=null,s=!1;r.subscribe(H(n,a=>{o||(o=H(n,void 0,()=>{o=null,s&&n.complete()}),ae(t(a,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function un(t){return q((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function hr(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ge((i,o)=>t(i,o,n)):It,ze(1),r?bi(e):n1(()=>new Gn))}function bs(t){return t<=0?()=>Dt:q((e,r)=>{let n=[];e.subscribe(H(r,i=>{n.push(i),t<n.length&&n.shift()},()=>{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function i0(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ge((i,o)=>t(i,o,n)):It,bs(1),r?bi(e):n1(()=>new Gn))}function r1(t,e){let r=K(t)?t:()=>t;return K(e)?t1(e,{connector:r}):n=>new lr(n,r)}function o0(){return q((t,e)=>{let r,n=!1;t.subscribe(H(e,i=>{let o=r;r=i,n&&e.next([o,i]),n=!0}))})}function eC(t){return t?e=>t1(t)(e):e=>r1(new S)(e)}function tC(t,e,r,n){r&&!K(r)&&(n=r);let i=K(r)?r:void 0;return o=>r1(new fi(t,e,n),i)(o)}function s0(t,e){return q(i5(t,e,arguments.length>=2,!0))}function fr(t={}){let{connector:e=()=>new S,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,u=d=!1},p=()=>{let y=s;f(),y?.unsubscribe()};return q((y,v)=>{l++,!d&&!u&&h();let M=c=c??e();v.add(()=>{l--,l===0&&!d&&!u&&(a=a0(p,i))}),M.subscribe(v),!s&&l>0&&(s=new Lr({next:P=>M.next(P),error:P=>{d=!0,h(),a=a0(f,r,P),M.error(P)},complete:()=>{u=!0,h(),a=a0(f,n),M.complete()}}),ae(y).subscribe(s))})(o)}}function a0(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new Lr({next:()=>{n.unsubscribe(),t()}});return ae(e(...r)).subscribe(n)}function c0(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t??1/0,fr({connector:()=>new fi(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Va(t){return ge((e,r)=>t<=r)}function Rt(...t){let e=ur(t);return q((r,n)=>{(e?dr(t,r,e):dr(t,r)).subscribe(n)})}function Ze(t,e){return q((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(H(n,c=>{i?.unsubscribe();let l=0,u=o++;ae(t(c,u)).subscribe(i=H(n,d=>n.next(e?e(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function ce(t){return q((e,r)=>{ae(t).subscribe(H(r,()=>r.complete(),qn)),!r.closed&&e.subscribe(r)})}function l0(t,e=!1){return q((r,n)=>{let i=0;r.subscribe(H(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function Fe(t,e,r){let n=K(t)||e||r?{next:t,error:e,complete:r}:t;return n?q((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(H(o,c=>{var l;(l=n.next)===null||l===void 0||l.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var l;a=!1,(l=n.error)===null||l===void 0||l.call(n,c),o.error(c)},()=>{var c,l;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(l=n.finalize)===null||l===void 0||l.call(n)}))}):It}function c5(t,e){return q((r,n)=>{let{leading:i=!0,trailing:o=!1}=e??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,o&&(f(),l&&n.complete())},d=()=>{c=null,l&&n.complete()},h=p=>c=ae(t(p)).subscribe(H(n,u,d)),f=()=>{if(s){s=!1;let p=a;a=null,n.next(p),!l&&h(p)}};r.subscribe(H(n,p=>{s=!0,a=p,!(c&&!c.closed)&&(i?f():h(p))},()=>{l=!0,!(o&&s&&c&&!c.closed)&&n.complete()}))})}function nC(t,e=Wn,r){let n=Hr(t,e);return c5(()=>n,r)}function rC(...t){let e=gi(t);return q((r,n)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),a=!1;for(let c=0;c<i;c++)ae(t[c]).subscribe(H(n,l=>{o[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(It))&&(s=null))},qn));r.subscribe(H(n,c=>{if(a){let l=[c,...o];n.next(e?e(...l):l)}}))})}var X5="https://g.co/ng/security#xss",z=class extends Error{constructor(e,r){super(N1(e,r)),this.code=e}};function N1(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Be(t){for(let e in t)if(t[e]===Be)return e;throw Error("Could not find renamed property on target object.")}function iC(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function $t(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map($t).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
  4. `);return r===-1?e:e.substring(0,r)}function S0(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var oC=Be({__forward_ref__:Be});function R1(t){return t.__forward_ref__=R1,t.toString=function(){return $t(this())},t}function Ut(t){return J5(t)?t():t}function J5(t){return typeof t=="function"&&t.hasOwnProperty(oC)&&t.__forward_ref__===R1}function ep(t){return t&&!!t.\u0275providers}var sC=Be({\u0275cmp:Be}),aC=Be({\u0275dir:Be}),cC=Be({\u0275pipe:Be}),lC=Be({\u0275mod:Be}),g1=Be({\u0275fac:Be}),Ya=Be({__NG_ELEMENT_ID__:Be}),l5=Be({__NG_ENV_ID__:Be});function Qn(t){return typeof t=="string"?t:t==null?"":String(t)}function uC(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Qn(t)}function dC(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new z(-200,`Circular dependency in DI detected for ${t}${r}`)}function N8(t,e){throw new z(-201,!1)}function hC(t,e){t==null&&fC(e,t,null,"!=")}function fC(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ee(t){return{providers:t.providers||[],imports:t.imports||[]}}function L1(t){return u5(t,np)||u5(t,rp)}function tp(t){return L1(t)!==null}function u5(t,e){return t.hasOwnProperty(e)?t[e]:null}function pC(t){let e=t&&(t[np]||t[rp]);return e||null}function d5(t){return t&&(t.hasOwnProperty(h5)||t.hasOwnProperty(mC))?t[h5]:null}var np=Be({\u0275prov:Be}),h5=Be({\u0275inj:Be}),rp=Be({ngInjectableDef:Be}),mC=Be({ngInjectorDef:Be}),be=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(be||{}),T0;function ip(){return T0}function Xt(t){let e=T0;return T0=t,e}function op(t,e,r){let n=L1(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&be.Optional)return null;if(e!==void 0)return e;N8(t,"Injector")}var dn=globalThis;var E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=C({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var gC={},Ba=gC,E0="__NG_DI_FLAG__",v1="ngTempTokenPath",vC="ngTokenPath",yC=/\n/gm,wC="\u0275",f5="__source",xs;function bC(){return xs}function _i(t){let e=xs;return xs=t,e}function _C(t,e=be.Default){if(xs===void 0)throw new z(-203,!1);return xs===null?op(t,void 0,e):xs.get(t,e&be.Optional?null:void 0,e)}function g(t,e=be.Default){return(ip()||_C)(Ut(t),e)}function w(t,e=be.Default){return g(t,H1(e))}function H1(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function z0(t){let e=[];for(let r=0;r<t.length;r++){let n=Ut(t[r]);if(Array.isArray(n)){if(n.length===0)throw new z(900,!1);let i,o=be.Default;for(let s=0;s<n.length;s++){let a=n[s],c=CC(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a}e.push(g(i,o))}else e.push(g(n))}return e}function R8(t,e){return t[E0]=e,t.prototype[E0]=e,t}function CC(t){return t[E0]}function MC(t,e,r,n){let i=t[v1];throw e[f5]&&i.unshift(e[f5]),t.message=DC(`
  5. `+t.message,i,r,n),t[vC]=i,t[v1]=null,t}function DC(t,e,r,n=null){t=t&&t.charAt(0)===`
  6. `&&t.charAt(1)==wC?t.slice(2):t;let i=$t(e);if(Array.isArray(e))i=e.map($t).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):$t(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(yC,`
  7. `)}`}function nc(t){return{toString:t}.toString()}var sp=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(sp||{}),vr=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(vr||{}),Ts={},Jt=[],W=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(W||{});function ap(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function I0(t,e,r){let n=0;for(;n<r.length;){let i=r[n];if(typeof i=="number"){if(i!==0)break;n++;let o=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,o)}else{let o=i,s=r[++n];xC(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function cp(t){return t===3||t===4||t===6}function xC(t){return t.charCodeAt(0)===64}function Ua(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let i=e[n];typeof i=="number"?r=i:r===0||(r===-1||r===2?p5(t,r,i,null,e[++n]):p5(t,r,i,null,null))}}return t}function p5(t,e,r,n,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===r){if(n===null){i!==null&&(t[o+1]=i);return}else if(n===t[o+1]){t[o+2]=i;return}}o++,n!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,r),n!==null&&t.splice(o++,0,n),i!==null&&t.splice(o++,0,i)}var lp="ng-template";function SC(t,e,r){let n=0,i=!0;for(;n<t.length;){let o=t[n++];if(typeof o=="string"&&i){let s=t[n++];if(r&&o==="class"&&ap(s.toLowerCase(),e,0)!==-1)return!0}else if(o===1){for(;n<t.length&&typeof(o=t[n++])=="string";)if(o.toLowerCase()===e)return!0;return!1}else typeof o=="number"&&(i=!1)}return!1}function up(t){return t.type===4&&t.value!==lp}function TC(t,e,r){let n=t.type===4&&!r?lp:t.value;return e===n}function EC(t,e,r){let n=4,i=t.attrs||[],o=kC(i),s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!Zn(n)&&!Zn(c))return!1;if(s&&Zn(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!TC(t,c,r)||c===""&&e.length===1){if(Zn(n))return!1;s=!0}}else{let l=n&8?c:e[++a];if(n&8&&t.attrs!==null){if(!SC(t.attrs,l,r)){if(Zn(n))return!1;s=!0}continue}let u=n&8?"class":c,d=zC(u,i,up(t),r);if(d===-1){if(Zn(n))return!1;s=!0;continue}if(l!==""){let h;d>o?h="":h=i[d+1].toLowerCase();let f=n&8?h:null;if(f&&ap(f,l,0)!==-1||n&2&&l!==h){if(Zn(n))return!1;s=!0}}}}return Zn(n)||s}function Zn(t){return(t&1)===0}function zC(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return PC(e,t)}function dp(t,e,r=!1){for(let n=0;n<e.length;n++)if(EC(t,e[n],r))return!0;return!1}function IC(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function kC(t){for(let e=0;e<t.length;e++){let r=t[e];if(cp(r))return e}return t.length}function PC(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function OC(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let i=0;i<t.length;i++)if(t[i]!==n[i])continue e;return!0}}return!1}function m5(t,e){return t?":not("+e.trim()+")":e}function AC(t){let e=t[0],r=1,n=2,i="",o=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Zn(s)&&(e+=m5(o,i),i=""),n=s,o=o||!Zn(n);r++}return i!==""&&(e+=m5(o,i)),e}function FC(t){return t.map(AC).join(",")}function NC(t){let e=[],r=[],n=1,i=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++n]):i===8&&r.push(o);else{if(!Zn(i))break;i=o}n++}return{attrs:e,classes:r}}function bt(t){return nc(()=>{let e=gp(t),r=ke(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===sp.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||vr.Emulated,styles:t.styles||Jt,_:null,schemas:t.schemas||null,tView:null,id:""});vp(r);let n=t.dependencies;return r.directiveDefs=v5(n,!1),r.pipeDefs=v5(n,!0),r.id=HC(r),r})}function RC(t){return Mi(t)||hp(t)}function LC(t){return t!==null}function te(t){return nc(()=>({type:t.type,bootstrap:t.bootstrap||Jt,declarations:t.declarations||Jt,imports:t.imports||Jt,exports:t.exports||Jt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function g5(t,e){if(t==null)return Ts;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=W.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==W.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ne(t){return nc(()=>{let e=gp(t);return vp(e),e})}function en(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 Mi(t){return t[sC]||null}function hp(t){return t[aC]||null}function fp(t){return t[cC]||null}function pp(t){let e=Mi(t)||hp(t)||fp(t);return e!==null?e.standalone:!1}function mp(t,e){let r=t[lC]||null;if(!r&&e===!0)throw new Error(`Type ${$t(t)} does not have '\u0275mod' property.`);return r}function gp(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ts,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Jt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:g5(t.inputs,e),outputs:g5(t.outputs),debugInfo:null}}function vp(t){t.features?.forEach(e=>e(t))}function v5(t,e){if(!t)return null;let r=e?fp:RC;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(LC)}function HC(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,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].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}var Cr=0,fe=1,ue=2,kt=3,Xn=4,fn=5,Es=6,$a=7,Lt=8,zs=9,yr=10,it=11,qa=12,y5=13,Rs=14,zn=15,rc=16,_s=17,gr=18,V1=19,yp=20,Ci=21,u0=22,io=23,xt=25,L8=1;var oo=7,y1=8,Is=9,Ht=10,H8=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(H8||{});function no(t){return Array.isArray(t)&&typeof t[L8]=="object"}function Br(t){return Array.isArray(t)&&t[L8]===!0}function V8(t){return(t.flags&4)!==0}function Y1(t){return t.componentOffset>-1}function j1(t){return(t.flags&1)===1}function Yr(t){return!!t.template}function VC(t){return(t[ue]&512)!==0}function so(t,e){let r=t.hasOwnProperty(g1);return r?t[g1]:null}var k0=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function wp(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function He(){return bp}function bp(t){return t.type.prototype.ngOnChanges&&(t.setInput=jC),YC}He.ngInherit=!0;function YC(){let t=Cp(this),e=t?.current;if(e){let r=t.previous;if(r===Ts)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function jC(t,e,r,n,i){let o=this.declaredInputs[n],s=Cp(t)||BC(t,{previous:Ts,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new k0(l&&l.currentValue,r,c===Ts),wp(t,e,i,r)}var _p="__ngSimpleChanges__";function Cp(t){return t[_p]||null}function BC(t,e){return t[_p]=e}var w5=null;var pr=function(t,e,r){w5?.(t,e,r)},Mp="svg",UC="math",$C=!1;function qC(){return $C}function wr(t){for(;Array.isArray(t);)t=t[Cr];return t}function WC(t){for(;Array.isArray(t);){if(typeof t[L8]=="object")return t;t=t[Cr]}return null}function Dp(t,e){return wr(e[t])}function In(t,e){return wr(e[t.index])}function Y8(t,e){return t.data[e]}function B1(t,e){return t[e]}function Ti(t,e){let r=e[t];return no(r)?r:r[Cr]}function GC(t){return(t[ue]&4)===4}function j8(t){return(t[ue]&128)===128}function KC(t){return Br(t[kt])}function ks(t,e){return e==null?null:t[e]}function xp(t){t[_s]=0}function ZC(t){t[ue]&1024||(t[ue]|=1024,j8(t)&&Wa(t))}function QC(t,e){for(;t>0;)e=e[Rs],t--;return e}function Sp(t){return t[ue]&9216||t[io]?.dirty}function P0(t){Sp(t)?Wa(t):t[ue]&64&&(qC()?(t[ue]|=1024,Wa(t)):t[yr].changeDetectionScheduler?.notify())}function Wa(t){t[yr].changeDetectionScheduler?.notify();let e=Ga(t);for(;e!==null&&!(e[ue]&8192||(e[ue]|=8192,!j8(e)));)e=Ga(e)}function Tp(t,e){if((t[ue]&256)===256)throw new z(911,!1);t[Ci]===null&&(t[Ci]=[]),t[Ci].push(e)}function XC(t,e){if(t[Ci]===null)return;let r=t[Ci].indexOf(e);r!==-1&&t[Ci].splice(r,1)}function Ga(t){let e=t[kt];return Br(e)?e[kt]:e}var pe={lFrame:Fp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function JC(){return pe.lFrame.elementDepthCount}function eM(){pe.lFrame.elementDepthCount++}function tM(){pe.lFrame.elementDepthCount--}function Ep(){return pe.bindingsEnabled}function zp(){return pe.skipHydrationRootTNode!==null}function nM(t){return pe.skipHydrationRootTNode===t}function rM(){pe.skipHydrationRootTNode=null}function ie(){return pe.lFrame.lView}function ot(){return pe.lFrame.tView}function pn(t){return pe.lFrame.contextLView=t,t[Lt]}function mn(t){return pe.lFrame.contextLView=null,t}function Vt(){let t=Ip();for(;t!==null&&t.type===64;)t=t.parent;return t}function Ip(){return pe.lFrame.currentTNode}function iM(){let t=pe.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function po(t,e){let r=pe.lFrame;r.currentTNode=t,r.isParent=e}function B8(){return pe.lFrame.isParent}function U8(){pe.lFrame.isParent=!1}function oM(){return pe.lFrame.contextLView}function mo(){let t=pe.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function kp(){return pe.lFrame.bindingIndex}function sM(t){return pe.lFrame.bindingIndex=t}function go(){return pe.lFrame.bindingIndex++}function U1(t){let e=pe.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function aM(){return pe.lFrame.inI18n}function cM(t,e){let r=pe.lFrame;r.bindingIndex=r.bindingRootIndex=t,O0(e)}function lM(){return pe.lFrame.currentDirectiveIndex}function O0(t){pe.lFrame.currentDirectiveIndex=t}function $8(t){let e=pe.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Pp(){return pe.lFrame.currentQueryIndex}function q8(t){pe.lFrame.currentQueryIndex=t}function uM(t){let e=t[fe];return e.type===2?e.declTNode:e.type===1?t[fn]:null}function Op(t,e,r){if(r&be.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&be.Host);)if(i=uM(o),i===null||(o=o[Rs],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=pe.lFrame=Ap();return n.currentTNode=e,n.lView=t,!0}function W8(t){let e=Ap(),r=t[fe];pe.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Ap(){let t=pe.lFrame,e=t===null?null:t.child;return e===null?Fp(t):e}function Fp(t){let e={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=e),e}function Np(){let t=pe.lFrame;return pe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Rp=Np;function G8(){let t=Np();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 dM(t){return(pe.lFrame.contextLView=QC(t,pe.lFrame.contextLView))[Lt]}function Ur(){return pe.lFrame.selectedIndex}function ao(t){pe.lFrame.selectedIndex=t}function ic(){let t=pe.lFrame;return Y8(t.tView,t.selectedIndex)}function zG(){pe.lFrame.currentNamespace=Mp}function IG(){hM()}function hM(){pe.lFrame.currentNamespace=null}function fM(){return pe.lFrame.currentNamespace}var Lp=!0;function $1(){return Lp}function q1(t){Lp=t}function pM(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=bp(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function W1(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let o=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),c&&(t.viewHooks??=[]).push(-r,c),l&&((t.viewHooks??=[]).push(r,l),(t.viewCheckHooks??=[]).push(r,l)),u!=null&&(t.destroyHooks??=[]).push(r,u)}}function u1(t,e,r){Hp(t,e,3,r)}function d1(t,e,r,n){(t[ue]&3)===r&&Hp(t,e,r,n)}function d0(t,e){let r=t[ue];(r&3)===e&&(r&=16383,r+=1,t[ue]=r)}function Hp(t,e,r,n){let i=n!==void 0?t[_s]&65535:0,o=n??-1,s=e.length-1,a=0;for(let c=i;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[_s]+=65536),(a<o||o==-1)&&(mM(t,r,e,c),t[_s]=(t[_s]&4294901760)+c+2),c++}function b5(t,e){pr(4,t,e);let r=yt(null);try{e.call(t)}finally{yt(r),pr(5,t,e)}}function mM(t,e,r,n){let i=r[n]<0,o=r[n+1],s=i?-r[n]:r[n],a=t[s];i?t[ue]>>14<t[_s]>>16&&(t[ue]&3)===e&&(t[ue]+=16384,b5(a,o)):b5(a,o)}var Ss=-1,co=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function gM(t){return t instanceof co}function vM(t){return(t.flags&8)!==0}function yM(t){return(t.flags&16)!==0}function Vp(t){return t!==Ss}function w1(t){return t&32767}function wM(t){return t>>16}function b1(t,e){let r=wM(t),n=e;for(;r>0;)n=n[Rs],r--;return n}var A0=!0;function _1(t){let e=A0;return A0=t,e}var bM=256,Yp=bM-1,jp=5,_M=0,mr={};function CM(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Ya)&&(n=r[Ya]),n==null&&(n=r[Ya]=_M++);let i=n&Yp,o=1<<i;e.data[t+(i>>jp)]|=o}function C1(t,e){let r=Bp(t,e);if(r!==-1)return r;let n=e[fe];n.firstCreatePass&&(t.injectorIndex=e.length,h0(n.data,t),h0(e,null),h0(n.blueprint,null));let i=K8(t,e),o=t.injectorIndex;if(Vp(i)){let s=w1(i),a=b1(i,e),c=a[fe].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=i,o}function h0(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Bp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function K8(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Gp(i),n===null)return Ss;if(r++,i=i[Rs],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Ss}function F0(t,e,r){CM(t,e,r)}function MM(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i<n;){let o=r[i];if(cp(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<n&&typeof r[i]=="string";)i++;else{if(o===e)return r[i+1];i=i+2}}}return null}function Up(t,e,r){if(r&be.Optional||t!==void 0)return t;N8(e,"NodeInjector")}function $p(t,e,r,n){if(r&be.Optional&&n===void 0&&(n=null),!(r&(be.Self|be.Host))){let i=t[zs],o=Xt(void 0);try{return i?i.get(e,n,r&be.Optional):op(e,n,r&be.Optional)}finally{Xt(o)}}return Up(n,e,r)}function qp(t,e,r,n=be.Default,i){if(t!==null){if(e[ue]&2048&&!(n&be.Self)){let s=TM(t,e,r,n,mr);if(s!==mr)return s}let o=Wp(t,e,r,n,mr);if(o!==mr)return o}return $p(e,r,n,i)}function Wp(t,e,r,n,i){let o=xM(r);if(typeof o=="function"){if(!Op(e,t,n))return n&be.Host?Up(i,r,n):$p(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&be.Optional))N8(r);else return s}finally{Rp()}}else if(typeof o=="number"){let s=null,a=Bp(t,e),c=Ss,l=n&be.Host?e[zn][fn]:null;for((a===-1||n&be.SkipSelf)&&(c=a===-1?K8(t,e):e[a+8],c===Ss||!C5(n,!1)?a=-1:(s=e[fe],a=w1(c),e=b1(c,e)));a!==-1;){let u=e[fe];if(_5(o,a,u.data)){let d=DM(a,e,r,s,n,l);if(d!==mr)return d}c=e[a+8],c!==Ss&&C5(n,e[fe].data[a+8]===l)&&_5(o,a,e)?(s=u,a=w1(c),e=b1(c,e)):a=-1}}return i}function DM(t,e,r,n,i,o){let s=e[fe],a=s.data[t+8],c=n==null?Y1(a)&&A0:n!=s&&(a.type&3)!==0,l=i&be.Host&&o===a,u=h1(a,s,r,c,l);return u!==null?lo(e,s,u,a):mr}function h1(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,c=t.directiveStart,l=t.directiveEnd,u=o>>20,d=n?a:a+u,h=i?a+u:l;for(let f=d;f<h;f++){let p=s[f];if(f<c&&r===p||f>=c&&p.type===r)return f}if(i){let f=s[c];if(f&&Yr(f)&&f.type===r)return c}return null}function lo(t,e,r,n){let i=t[r],o=e.data;if(gM(i)){let s=i;s.resolving&&dC(uC(o[r]));let a=_1(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Xt(s.injectImpl):null,u=Op(t,n,be.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&pM(r,o[r],e)}finally{l!==null&&Xt(l),_1(a),s.resolving=!1,Rp()}}return i}function xM(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ya)?t[Ya]:void 0;return typeof e=="number"?e>=0?e&Yp:SM:e}function _5(t,e,r){let n=1<<t;return!!(r[e+(t>>jp)]&n)}function C5(t,e){return!(t&be.Self)&&!(t&be.Host&&e)}var ro=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return qp(this._tNode,this._lView,e,H1(n),r)}};function SM(){return new ro(Vt(),ie())}function Ls(t){return nc(()=>{let e=t.prototype.constructor,r=e[g1]||N0(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[g1]||N0(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function N0(t){return J5(t)?()=>{let e=N0(Ut(t));return e&&e()}:so(t)}function TM(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[ue]&2048&&!(s[ue]&512);){let a=Wp(o,s,r,n|be.Self,mr);if(a!==mr)return a;let c=o.parent;if(!c){let l=s[yp];if(l){let u=l.get(r,mr,n);if(u!==mr)return u}c=Gp(s),s=s[Rs]}o=c}return i}function Gp(t){let e=t[fe],r=e.type;return r===2?e.declTNode:r===1?t[fn]:null}function Z8(t){return MM(Vt(),t)}var i1="__parameters__";function EM(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Q8(t,e,r){return nc(()=>{let n=EM(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(i1)?c[i1]:Object.defineProperty(c,i1,{value:[]})[i1];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var Kp=Function;function zM(t){return typeof t=="function"}function IM(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let i=t[n],o=e[n];if(r&&(i=r(i),o=r(o)),o!==i)return!1}return!0}function kM(t){return t.flat(Number.POSITIVE_INFINITY)}function X8(t,e){t.forEach(r=>Array.isArray(r)?X8(r,e):e(r))}function Zp(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function M1(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function PM(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function OM(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function vo(t,e,r){let n=oc(t,e);return n>=0?t[n|1]=r:(n=~n,OM(t,n,e,r)),n}function f0(t,e){let r=oc(t,e);if(r>=0)return t[r|1]}function oc(t,e){return AM(t,e,1)}function AM(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<<r];if(e===s)return o<<r;s>e?i=o:n=o+1}return~(i<<r)}var Qp=R8(Q8("Inject",t=>({token:t})),-1),$r=R8(Q8("Optional"),8);var Hs=R8(Q8("SkipSelf"),4);var Di=new E("ENVIRONMENT_INITIALIZER"),Xp=new E("INJECTOR",-1),Jp=new E("INJECTOR_DEF_TYPES"),D1=class{get(e,r=Ba){if(r===Ba){let n=new Error(`NullInjectorError: No provider for ${$t(e)}!`);throw n.name="NullInjectorError",n}return r}};function Wt(t){return{\u0275providers:t}}function J8(...t){return{\u0275providers:em(!0,t),\u0275fromNgModule:!0}}function em(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return X8(e,s=>{let a=s;R0(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&tm(i,o),r}function tm(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:i}=t[r];eu(i,o=>{e(o,n)})}}function R0(t,e,r,n){if(t=Ut(t),!t)return!1;let i=null,o=d5(t),s=!o&&Mi(t);if(!o&&!s){let c=t.ngModule;if(o=d5(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)R0(l,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let l;try{X8(o.imports,u=>{R0(u,e,r,n)&&(l||=[],l.push(u))})}finally{}l!==void 0&&tm(l,e)}if(!a){let l=so(i)||(()=>new i);e({provide:i,useFactory:l,deps:Jt},i),e({provide:Jp,useValue:i,multi:!0},i),e({provide:Di,useValue:()=>g(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=t;eu(c,u=>{e(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function eu(t,e){for(let r of t)ep(r)&&(r=r.\u0275providers),Array.isArray(r)?eu(r,e):e(r)}var FM=Be({provide:String,useValue:Be});function nm(t){return t!==null&&typeof t=="object"&&FM in t}function NM(t){return!!(t&&t.useExisting)}function RM(t){return!!(t&&t.useFactory)}function Ps(t){return typeof t=="function"}function LM(t){return!!t.useClass}var G1=new E("Set Injector scope."),f1={},HM={},p0;function tu(){return p0===void 0&&(p0=new D1),p0}var qt=class{},Ka=class extends qt{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,H0(e,s=>this.processProvider(s)),this.records.set(Xp,Cs(void 0,this)),i.has("environment")&&this.records.set(qt,Cs(void 0,this));let o=this.records.get(G1);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Jp,Jt,be.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;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()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=_i(this),n=Xt(void 0),i;try{return e()}finally{_i(r),Xt(n)}}get(e,r=Ba,n=be.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(l5))return e[l5](this);n=H1(n);let i,o=_i(this),s=Xt(void 0);try{if(!(n&be.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=UM(e)&&L1(e);l&&this.injectableDefInScope(l)?c=Cs(L0(e),f1):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&be.Self?tu():this.parent;return r=n&be.Optional&&r===Ba?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[v1]=a[v1]||[]).unshift($t(e)),o)throw a;return MC(a,e,"R3InjectorError",this.source)}else throw a}finally{Xt(s),_i(o)}}resolveInjectorInitializers(){let e=_i(this),r=Xt(void 0),n;try{let i=this.get(Di,Jt,be.Self);for(let o of i)o()}finally{_i(e),Xt(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push($t(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processProvider(e){e=Ut(e);let r=Ps(e)?e:Ut(e&&e.provide),n=YM(e);if(!Ps(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Cs(void 0,f1,!0),i.factory=()=>z0(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){return r.value===f1&&(r.value=HM,r.value=r.factory()),typeof r.value=="object"&&r.value&&BM(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ut(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function L0(t){let e=L1(t),r=e!==null?e.factory:so(t);if(r!==null)return r;if(t instanceof E)throw new z(204,!1);if(t instanceof Function)return VM(t);throw new z(204,!1)}function VM(t){if(t.length>0)throw new z(204,!1);let r=pC(t);return r!==null?()=>r.factory(t):()=>new t}function YM(t){if(nm(t))return Cs(void 0,t.useValue);{let e=rm(t);return Cs(e,f1)}}function rm(t,e,r){let n;if(Ps(t)){let i=Ut(t);return so(i)||L0(i)}else if(nm(t))n=()=>Ut(t.useValue);else if(RM(t))n=()=>t.useFactory(...z0(t.deps||[]));else if(NM(t))n=()=>g(Ut(t.useExisting));else{let i=Ut(t&&(t.useClass||t.provide));if(jM(t))n=()=>new i(...z0(t.deps));else return so(i)||L0(i)}return n}function Cs(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function jM(t){return!!t.deps}function BM(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function UM(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function H0(t,e){for(let r of t)Array.isArray(r)?H0(r,e):r&&ep(r)?H0(r.\u0275providers,e):e(r)}function Mr(t,e){t instanceof Ka&&t.assertNotDestroyed();let r,n=_i(t),i=Xt(void 0);try{return e()}finally{_i(n),Xt(i)}}function nu(t){if(!ip()&&!bC())throw new z(-203,!1)}function M5(t,e=null,r=null,n){let i=im(t,e,r,n);return i.resolveInjectorInitializers(),i}function im(t,e=null,r=null,n,i=new Set){let o=[r||Jt,J8(t)];return n=n||(typeof t=="object"?void 0:$t(t)),new Ka(o,e||tu(),n||null,i)}var Ue=(()=>{let e=class e{static create(n,i){if(Array.isArray(n))return M5({name:""},i,n,"");{let o=n.name??"";return M5({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=Ba,e.NULL=new D1,e.\u0275prov=C({token:e,providedIn:"any",factory:()=>g(Xp)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var V0;function om(t){V0=t}function sm(){if(V0!==void 0)return V0;if(typeof document<"u")return document;throw new z(210,!1)}var K1=new E("AppId",{providedIn:"root",factory:()=>$M}),$M="ng",ru=new E("Platform Initializer"),Yt=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var gn=new E("AnimationModuleType"),qr=new E("CSP nonce",{providedIn:"root",factory:()=>sm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function kG(t){return t.ownerDocument.defaultView}function PG(t){return t.ownerDocument}function am(t){return t instanceof Function?t():t}function qM(t){return(t??w(Ue)).get(Yt)==="browser"}function cm(t){return(t.flags&128)===128}var br=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(br||{}),WM=/^>|^->|<!--|-->|--!>|<!-$/g,GM=/(<|>)/g,KM="\u200B$1\u200B";function ZM(t){return t.replace(WM,e=>e.replace(GM,KM))}var lm=new Map,QM=0;function XM(){return QM++}function JM(t){lm.set(t[V1],t)}function eD(t){lm.delete(t[V1])}var D5="__ngContext__";function xi(t,e){no(e)?(t[D5]=e[V1],JM(e)):t[D5]=e}var tD;function iu(t,e){return tD(t,e)}function Ms(t,e,r,n,i){if(n!=null){let o,s=!1;Br(n)?o=n:no(n)&&(s=!0,n=n[Cr]);let a=wr(n);t===0&&r!==null?i==null?pm(e,r,a):x1(e,r,a,i||null,!0):t===1&&r!==null?x1(e,r,a,i||null,!0):t===2?vD(e,a,s):t===3&&e.destroyNode(a),o!=null&&wD(e,t,o,r,i)}}function nD(t,e){return t.createText(e)}function rD(t,e,r){t.setValue(e,r)}function iD(t,e){return t.createComment(ZM(e))}function um(t,e,r){return t.createElement(e,r)}function oD(t,e){dm(t,e),e[Cr]=null,e[fn]=null}function sD(t,e,r,n,i,o){n[Cr]=i,n[fn]=e,X1(t,n,r,1,i,o)}function dm(t,e){e[yr].changeDetectionScheduler?.notify(),X1(t,e,e[it],2,null,null)}function aD(t){let e=t[qa];if(!e)return m0(t[fe],t);for(;e;){let r=null;if(no(e))r=e[qa];else{let n=e[Ht];n&&(r=n)}if(!r){for(;e&&!e[Xn]&&e!==t;)no(e)&&m0(e[fe],e),e=e[kt];e===null&&(e=t),no(e)&&m0(e[fe],e),r=e&&e[Xn]}e=r}}function cD(t,e,r,n){let i=Ht+n,o=r.length;n>0&&(r[i-1][Xn]=e),n<o-Ht?(e[Xn]=r[i],Zp(r,Ht+n,e)):(r.push(e),e[Xn]=null),e[kt]=r;let s=e[rc];s!==null&&r!==s&&lD(s,e);let a=e[gr];a!==null&&a.insertView(t),P0(e),e[ue]|=128}function lD(t,e){let r=t[Is],i=e[kt][kt][zn];e[zn]!==i&&(t[ue]|=H8.HasTransplantedViews),r===null?t[Is]=[e]:r.push(e)}function hm(t,e){let r=t[Is],n=r.indexOf(e);r.splice(n,1)}function Za(t,e){if(t.length<=Ht)return;let r=Ht+e,n=t[r];if(n){let i=n[rc];i!==null&&i!==t&&hm(i,n),e>0&&(t[r-1][Xn]=n[Xn]);let o=M1(t,Ht+e);oD(n[fe],n);let s=o[gr];s!==null&&s.detachView(o[fe]),n[kt]=null,n[Xn]=null,n[ue]&=-129}return n}function Z1(t,e){if(!(e[ue]&256)){let r=e[it];r.destroyNode&&X1(t,e,r,3,null,null),aD(e)}}function m0(t,e){if(!(e[ue]&256)){e[ue]&=-129,e[ue]|=256,e[io]&&Tf(e[io]),dD(t,e),uD(t,e),e[fe].type===1&&e[it].destroy();let r=e[rc];if(r!==null&&Br(e[kt])){r!==e[kt]&&hm(r,e);let n=e[gr];n!==null&&n.detachView(t)}eD(e)}}function uD(t,e){let r=t.cleanup,n=e[$a];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let s=r[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[$a]=null);let i=e[Ci];if(i!==null){e[Ci]=null;for(let o=0;o<i.length;o++){let s=i[o];s()}}}function dD(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let i=e[r[n]];if(!(i instanceof co)){let o=r[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],c=o[s+1];pr(4,a,c);try{c.call(a)}finally{pr(5,a,c)}}else{pr(4,i,o);try{o.call(i)}finally{pr(5,i,o)}}}}}function fm(t,e,r){return hD(t,e.parent,r)}function hD(t,e,r){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return r[Cr];{let{componentOffset:i}=n;if(i>-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===vr.None||o===vr.Emulated)return null}return In(n,r)}}function x1(t,e,r,n,i){t.insertBefore(e,r,n,i)}function pm(t,e,r){t.appendChild(e,r)}function x5(t,e,r,n,i){n!==null?x1(t,e,r,n,i):pm(t,e,r)}function fD(t,e,r,n){t.removeChild(e,r,n)}function ou(t,e){return t.parentNode(e)}function pD(t,e){return t.nextSibling(e)}function mm(t,e,r){return gD(t,e,r)}function mD(t,e,r){return t.type&40?In(t,r):null}var gD=mD,S5;function Q1(t,e,r,n){let i=fm(t,n,e),o=e[it],s=n.parent||e[fn],a=mm(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)x5(o,i,r[c],a,!1);else x5(o,i,r,a,!1);S5!==void 0&&S5(o,n,e,r,i)}function p1(t,e){if(e!==null){let r=e.type;if(r&3)return In(e,t);if(r&4)return Y0(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return p1(t,n);{let i=t[e.index];return Br(i)?Y0(-1,i):wr(i)}}else{if(r&32)return iu(e,t)()||wr(t[e.index]);{let n=gm(t,e);if(n!==null){if(Array.isArray(n))return n[0];let i=Ga(t[zn]);return p1(i,n)}else return p1(t,e.next)}}}return null}function gm(t,e){if(e!==null){let n=t[zn][fn],i=e.projection;return n.projection[i]}return null}function Y0(t,e){let r=Ht+t+1;if(r<e.length){let n=e[r],i=n[fe].firstChild;if(i!==null)return p1(n,i)}return e[oo]}function vD(t,e,r){let n=ou(t,e);n&&fD(t,n,e,r)}function su(t,e,r,n,i,o,s){for(;r!=null;){let a=n[r.index],c=r.type;if(s&&e===0&&(a&&xi(wr(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)su(t,e,r.child,n,i,o,!1),Ms(e,t,i,a,o);else if(c&32){let l=iu(r,n),u;for(;u=l();)Ms(e,t,i,u,o);Ms(e,t,i,a,o)}else c&16?vm(t,e,n,r,i,o):Ms(e,t,i,a,o);r=s?r.projectionNext:r.next}}function X1(t,e,r,n,i,o){su(r,n,t.firstChild,e,i,o,!1)}function yD(t,e,r){let n=e[it],i=fm(t,r,e),o=r.parent||e[fn],s=mm(o,r,e);vm(n,0,e,r,i,s)}function vm(t,e,r,n,i,o){let s=r[zn],c=s[fn].projection[n.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Ms(e,t,i,u,o)}else{let l=c,u=s[kt];cm(n)&&(l.flags|=128),su(t,e,l,u,i,o,!0)}}function wD(t,e,r,n,i){let o=r[oo],s=wr(r);o!==s&&Ms(e,t,n,o,i);for(let a=Ht;a<r.length;a++){let c=r[a];X1(c[fe],c,t,e,n,o)}}function bD(t,e,r,n,i){if(e)i?t.addClass(r,n):t.removeClass(r,n);else{let o=n.indexOf("-")===-1?void 0:br.DashCase;i==null?t.removeStyle(r,n,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=br.Important),t.setStyle(r,n,i,o))}}function _D(t,e,r){t.setAttribute(e,"style",r)}function ym(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function wm(t,e,r){let{mergedAttrs:n,classes:i,styles:o}=r;n!==null&&I0(t,e,n),i!==null&&ym(t,e,i),o!==null&&_D(t,e,o)}var o1;function CD(){if(o1===void 0&&(o1=null,dn.trustedTypes))try{o1=dn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return o1}function J1(t){return CD()?.createHTML(t)||t}var s1;function bm(){if(s1===void 0&&(s1=null,dn.trustedTypes))try{s1=dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return s1}function T5(t){return bm()?.createHTML(t)||t}function E5(t){return bm()?.createScriptURL(t)||t}var jr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${X5})`}},j0=class extends jr{getTypeName(){return"HTML"}},B0=class extends jr{getTypeName(){return"Style"}},U0=class extends jr{getTypeName(){return"Script"}},$0=class extends jr{getTypeName(){return"URL"}},q0=class extends jr{getTypeName(){return"ResourceURL"}};function vn(t){return t instanceof jr?t.changingThisBreaksApplicationSecurity:t}function Wr(t,e){let r=MD(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${X5})`)}return r===e}function MD(t){return t instanceof jr&&t.getTypeName()||null}function _m(t){return new j0(t)}function Cm(t){return new B0(t)}function Mm(t){return new U0(t)}function Dm(t){return new $0(t)}function xm(t){return new q0(t)}function DD(t){let e=new G0(t);return xD()?new W0(e):e}var W0=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(J1(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},G0=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=J1(e),r}};function xD(){try{return!!new window.DOMParser().parseFromString(J1(""),"text/html")}catch{return!1}}var SD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function e4(t){return t=String(t),t.match(SD)?t:"unsafe:"+t}function Gr(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function sc(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var Sm=Gr("area,br,col,hr,img,wbr"),Tm=Gr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Em=Gr("rp,rt"),TD=sc(Em,Tm),ED=sc(Tm,Gr("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")),zD=sc(Em,Gr("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")),z5=sc(Sm,ED,zD,TD),zm=Gr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ID=Gr("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"),kD=Gr("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"),PD=sc(zm,ID,kD),OD=Gr("script,style,template"),K0=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!z5.hasOwnProperty(r))return this.sanitizedSomething=!0,!OD.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i<n.length;i++){let o=n.item(i),s=o.name,a=s.toLowerCase();if(!PD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;zm[a]&&(c=e4(c)),this.buf.push(" ",s,'="',I5(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=e.nodeName.toLowerCase();z5.hasOwnProperty(r)&&!Sm.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(I5(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},AD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FD=/([^\#-~ |!])/g;function I5(t){return t.replace(/&/g,"&amp;").replace(AD,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(FD,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var a1;function au(t,e){let r=null;try{a1=a1||DD(t);let n=e?String(e):"";r=a1.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=a1.getInertBodyElement(n)}while(n!==o);let a=new K0().sanitizeChildren(k5(r)||r);return J1(a)}finally{if(r){let n=k5(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function k5(t){return"content"in t&&ND(t)?t.content:null}function ND(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var yn=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}(yn||{});function Dr(t){let e=cu();return e?T5(e.sanitize(yn.HTML,t)||""):Wr(t,"HTML")?T5(vn(t)):au(sm(),Qn(t))}function RD(t){let e=cu();return e?e.sanitize(yn.URL,t)||"":Wr(t,"URL")?vn(t):e4(Qn(t))}function LD(t){let e=cu();if(e)return E5(e.sanitize(yn.RESOURCE_URL,t)||"");if(Wr(t,"ResourceURL"))return E5(vn(t));throw new z(904,!1)}function HD(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?LD:RD}function Im(t,e,r){return HD(e,r)(t)}function cu(){let t=ie();return t&&t[yr].sanitizer}var Z0=class{};var VD="h",YD="b";var jD=()=>null;function lu(t,e,r=!1){return jD(t,e,r)}var Q0=class{},S1=class{};function BD(t){let e=Error(`No component factory found for ${$t(t)}.`);return e[UD]=t,e}var UD="ngComponent";var X0=class{resolveComponentFactory(e){throw BD(e)}},Ei=(()=>{let e=class e{};e.NULL=new X0;let t=e;return t})();function $D(){return Vs(Vt(),ie())}function Vs(t,e){return new oe(In(t,e))}var oe=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=$D;let t=e;return t})();function qD(t){return t instanceof oe?t.nativeElement:t}var Jn=class{},st=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>WD();let t=e;return t})();function WD(){let t=ie(),e=Vt(),r=Ti(e.index,t);return(no(r)?r:t)[it]}var GD=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),g0={};function t4(t){let e=yt(null);try{return t()}finally{yt(e)}}function km(t){return uu(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function KD(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function uu(t){return t!==null&&(typeof t=="function"||typeof t=="object")}var J0=class{constructor(){}supports(e){return km(e)}create(e){return new e8(e)}},ZD=(t,e)=>e,e8=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ZD}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex<P5(n,i,o)?r:n,a=P5(s,i,o),c=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(r=r._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 f=h<o.length?o[h]:o[h]=0,p=f+h;u<=p&&p<l&&(o[h]=f+1)}let d=s.previousIndex;o[d]=u-l}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!km(e))throw new z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,i,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,o,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,o,s,a)),Object.is(r.item,o)||this._addIdentityChange(r,o)),r=r._next}else i=0,KD(e,a=>{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new t8(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new T1),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new T1),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},t8=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},n8=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},T1=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new n8,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function P5(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n<r.length&&(i=r[n]),n+e+i}var r8=class{constructor(){}supports(e){return e instanceof Map||uu(e)}create(){return new i8}},i8=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||uu(e)))throw new z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new o8(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},o8=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function O5(){return new ac([new J0])}var ac=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||O5()),deps:[[e,new Hs,new $r]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new z(901,!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:O5});let t=e;return t})();function A5(){return new du([new r8])}var du=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||A5()),deps:[[e,new Hs,new $r]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new z(901,!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:A5});let t=e;return t})();function E1(t,e,r,n,i=!1){for(;r!==null;){let o=e[r.index];o!==null&&n.push(wr(o)),Br(o)&&QD(o,n);let s=r.type;if(s&8)E1(t,e,r.child,n);else if(s&32){let a=iu(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=gm(e,r);if(Array.isArray(a))n.push(...a);else{let c=Ga(e[zn]);E1(c[fe],c,a,n,!0)}}r=i?r.projectionNext:r.next}return n}function QD(t,e){for(let r=Ht;r<t.length;r++){let n=t[r],i=n[fe].firstChild;i!==null&&E1(n[fe],n,i,e)}t[oo]!==t[Cr]&&e.push(t[oo])}var Pm=[];function XD(t){return t[io]??JD(t)}function JD(t){let e=Pm.pop()??Object.create(tx);return e.lView=t,e}function ex(t){t.lView[io]!==t&&(t.lView=null,Pm.push(t))}var tx=ke(b({},Df),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Wa(t.lView)},consumerOnSignalRead(){this.lView[io]=this}});function Om(t){return Fm(t[qa])}function Am(t){return Fm(t[Xn])}function Fm(t){for(;t!==null&&!Br(t);)t=t[Xn];return t}var nx="ngOriginalError";function v0(t){return t[nx]}var _r=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&v0(e);for(;r&&v0(r);)r=v0(r);return r||null}},Nm=new E("",{providedIn:"root",factory:()=>w(_r).handleError.bind(void 0)});var Rm=!1,rx=new E("",{providedIn:"root",factory:()=>Rm});var tn={};function k(t=1){Lm(ot(),ie(),Ur()+t,!1)}function Lm(t,e,r,n){if(!n)if((e[ue]&3)===3){let o=t.preOrderCheckHooks;o!==null&&u1(e,o,r)}else{let o=t.preOrderHooks;o!==null&&d1(e,o,0,r)}ao(r)}function m(t,e=be.Default){let r=ie();if(r===null)return g(t,e);let n=Vt();return qp(n,r,Ut(t),e)}function n4(){let t="invalid";throw new Error(t)}function Hm(t,e,r,n,i,o){let s=yt(null);try{let a=null;i&W.SignalBased&&(a=e[n][Mf]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),i&W.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,r,n):wp(e,a,n,o)}finally{yt(s)}}function ix(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let i=r[n];if(i<0)ao(~i);else{let o=i,s=r[++n],a=r[++n];cM(s,o);let c=e[o];a(2,c)}}}finally{ao(-1)}}function r4(t,e,r,n,i,o,s,a,c,l,u){let d=e.blueprint.slice();return d[Cr]=i,d[ue]=n|4|128|8|64,(l!==null||t&&t[ue]&2048)&&(d[ue]|=2048),xp(d),d[kt]=d[Rs]=t,d[Lt]=r,d[yr]=s||t&&t[yr],d[it]=a||t&&t[it],d[zs]=c||t&&t[zs]||null,d[fn]=o,d[V1]=XM(),d[Es]=u,d[yp]=l,d[zn]=e.type==2?t[zn]:d,d}function Ys(t,e,r,n,i){let o=t.data[e];if(o===null)o=ox(t,e,r,n,i),aM()&&(o.flags|=32);else if(o.type&64){o.type=r,o.value=n,o.attrs=i;let s=iM();o.injectorIndex=s===null?-1:s.injectorIndex}return po(o,!0),o}function ox(t,e,r,n,i){let o=Ip(),s=B8(),a=s?o:o&&o.parent,c=t.data[e]=dx(t,a,r,e,n,i);return t.firstChild===null&&(t.firstChild=c),o!==null&&(s?o.child==null&&c.parent!==null&&(o.child=c):o.next===null&&(o.next=c,c.prev=o)),c}function Vm(t,e,r,n){if(r===0)return-1;let i=e.length;for(let o=0;o<r;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return i}function Ym(t,e,r,n,i){let o=Ur(),s=n&2;try{ao(-1),s&&e.length>xt&&Lm(t,e,xt,!1),pr(s?2:0,i),r(n,i)}finally{ao(o),pr(s?3:1,i)}}function hu(t,e,r){if(V8(e)){let n=yt(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];a.contentQueries&&a.contentQueries(1,r[s],s)}}finally{yt(n)}}}function fu(t,e,r){Ep()&&(vx(t,e,r,In(r,e)),(r.flags&64)===64&&Um(t,e,r))}function pu(t,e,r=In){let n=e.localNames;if(n!==null){let i=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?r(e,t):t[s];t[i++]=a}}}function jm(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=mu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function mu(t,e,r,n,i,o,s,a,c,l,u){let d=xt+n,h=d+i,f=sx(d,h),p=typeof l=="function"?l():l;return f[fe]={type:t,blueprint:f,template:r,queries:null,viewQuery:a,declTNode:e,data:f.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:p,incompleteFirstPass:!1,ssrId:u}}function sx(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:tn);return r}function ax(t,e,r,n){let o=n.get(rx,Rm)||r===vr.ShadowDom,s=t.selectRootElement(e,o);return cx(s),s}function cx(t){lx(t)}var lx=()=>null;function ux(t,e,r,n){let i=Wm(e);i.push(r),t.firstCreatePass&&Gm(t).push(n,i.length-1)}function dx(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return zp()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function F5(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=W.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}t===0?N5(n,r,l,a,c):N5(n,r,l,a)}return n}function N5(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function hx(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=n;u<i;u++){let d=o[u],h=r?r.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=F5(0,d.inputs,u,c,f),l=F5(1,d.outputs,u,l,p);let y=c!==null&&s!==null&&!up(e)?Ex(c,u,s):null;a.push(y)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=l}function fx(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function i4(t,e,r,n,i,o,s,a){let c=In(e,r),l=e.inputs,u;!a&&l!=null&&(u=l[n])?(vu(t,r,u,n,i),Y1(e)&&px(r,e.index)):e.type&3?(n=fx(n),i=s!=null?s(i,e.value||"",n):i,o.setProperty(c,n,i)):e.type&12}function px(t,e){let r=Ti(e,t);r[ue]&16||(r[ue]|=64)}function gu(t,e,r,n){if(Ep()){let i=n===null?null:{"":-1},o=wx(t,r),s,a;o===null?s=a=null:[s,a]=o,s!==null&&Bm(t,e,r,s,i,a),i&&bx(r,n,i)}r.mergedAttrs=Ua(r.mergedAttrs,r.attrs)}function Bm(t,e,r,n,i,o){for(let l=0;l<n.length;l++)F0(C1(r,e),t,n[l].type);Cx(r,t.data.length,n.length);for(let l=0;l<n.length;l++){let u=n[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=Vm(t,e,n.length,null);for(let l=0;l<n.length;l++){let u=n[l];r.mergedAttrs=Ua(r.mergedAttrs,u.hostAttrs),Mx(t,r,e,c,u),_x(c,u,i),u.contentQueries!==null&&(r.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(r.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}hx(t,r,o)}function mx(t,e,r,n,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;gx(s)!=a&&s.push(a),s.push(r,n,o)}}function gx(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function vx(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Y1(r)&&Dx(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||C1(r,e),xi(n,e);let s=r.initialInputs;for(let a=i;a<o;a++){let c=t.data[a],l=lo(e,t,a,r);if(xi(l,e),s!==null&&Tx(e,a-i,l,c,r,s),Yr(c)){let u=Ti(r.index,e);u[Lt]=lo(e,t,a,r)}}}function Um(t,e,r){let n=r.directiveStart,i=r.directiveEnd,o=r.index,s=lM();try{ao(o);for(let a=n;a<i;a++){let c=t.data[a],l=e[a];O0(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&yx(c,l)}}finally{ao(-1),O0(s)}}function yx(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function wx(t,e){let r=t.directiveRegistry,n=null,i=null;if(r)for(let o=0;o<r.length;o++){let s=r[o];if(dp(e,s.selectors,!1))if(n||(n=[]),Yr(s))if(s.findHostDirectiveDefs!==null){let a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),n.unshift(...a,s);let c=a.length;s8(t,e,c)}else n.unshift(s),s8(t,e,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,n,i),n.push(s)}return n===null?null:[n,i]}function s8(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function bx(t,e,r){if(e){let n=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=r[e[i+1]];if(o==null)throw new z(-301,!1);n.push(e[i],o)}}}function _x(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Yr(e)&&(r[""]=t)}}function Cx(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function Mx(t,e,r,n,i){t.data[n]=i;let o=i.factory||(i.factory=so(i.type,!0)),s=new co(o,Yr(i),m);t.blueprint[n]=s,r[n]=s,mx(t,e,n,Vm(t,r,i.hostVars,tn),i)}function Dx(t,e,r){let n=In(e,t),i=jm(r),o=t[yr].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=o4(t,r4(t,i,null,s,n,e,null,o.createRenderer(n,r),null,null,null));t[e.index]=a}function xx(t,e,r,n,i,o){let s=In(t,e);Sx(e[it],s,o,t.value,r,n,i)}function Sx(t,e,r,n,i,o,s){if(o==null)t.removeAttribute(e,i,r);else{let a=s==null?Qn(o):s(o,n||"",i);t.setAttribute(e,i,a,r)}}function Tx(t,e,r,n,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];Hm(n,r,c,l,u,d)}}function Ex(t,e,r){let n=null,i=0;for(;i<r.length;){let o=r[i];if(o===0){i+=4;continue}else if(o===5){i+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],r[i+1]);break}}i+=2}return n}function $m(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function qm(t,e){let r=t.contentQueries;if(r!==null){let n=yt(null);try{for(let i=0;i<r.length;i+=2){let o=r[i],s=r[i+1];if(s!==-1){let a=t.data[s];q8(o),a.contentQueries(2,e[s],s)}}}finally{yt(n)}}}function o4(t,e){return t[qa]?t[y5][Xn]=e:t[qa]=e,t[y5]=e,e}function a8(t,e,r){q8(0);let n=yt(null);try{e(t,r)}finally{yt(n)}}function Wm(t){return t[$a]||(t[$a]=[])}function Gm(t){return t.cleanup||(t.cleanup=[])}function Km(t,e,r){return(t===null||Yr(t))&&(r=WC(r[e.index])),r[it]}function Zm(t,e){let r=t[zs],n=r?r.get(_r,null):null;n&&n.handleError(e)}function vu(t,e,r,n,i){for(let o=0;o<r.length;){let s=r[o++],a=r[o++],c=r[o++],l=e[s],u=t.data[s];Hm(u,l,n,a,c,i)}}function Qm(t,e,r){let n=Dp(e,t);rD(t[it],n,r)}var zx=100;function Ix(t,e=!0){let r=t[yr],n=r.rendererFactory,i=!1;i||n.begin?.();try{kx(t)}catch(o){throw e&&Zm(t,o),o}finally{i||(n.end?.(),r.inlineEffectRunner?.flush())}}function kx(t){c8(t,0);let e=0;for(;Sp(t);){if(e===zx)throw new z(103,!1);e++,c8(t,1)}}function Px(t,e,r,n){let i=e[ue];if((i&256)===256)return;let o=!1;!o&&e[yr].inlineEffectRunner?.flush(),W8(e);let s=null,a=null;!o&&Ox(t)&&(a=XD(e),s=xf(a));try{xp(e),sM(t.bindingStartIndex),r!==null&&Ym(t,e,r,2,n);let c=(i&3)===3;if(!o)if(c){let d=t.preOrderCheckHooks;d!==null&&u1(e,d,null)}else{let d=t.preOrderHooks;d!==null&&d1(e,d,0,null),d0(e,0)}if(Ax(e),Xm(e,0),t.contentQueries!==null&&qm(t,e),!o)if(c){let d=t.contentCheckHooks;d!==null&&u1(e,d)}else{let d=t.contentHooks;d!==null&&d1(e,d,1),d0(e,1)}ix(t,e);let l=t.components;l!==null&&e7(e,l,0);let u=t.viewQuery;if(u!==null&&a8(2,u,n),!o)if(c){let d=t.viewCheckHooks;d!==null&&u1(e,d)}else{let d=t.viewHooks;d!==null&&d1(e,d,2),d0(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[u0]){for(let d of e[u0])d();e[u0]=null}o||(e[ue]&=-73)}catch(c){throw Wa(e),c}finally{a!==null&&(Sf(a,s),ex(a)),G8()}}function Ox(t){return t.type!==2}function Xm(t,e){for(let r=Om(t);r!==null;r=Am(r))for(let n=Ht;n<r.length;n++){let i=r[n];Jm(i,e)}}function Ax(t){for(let e=Om(t);e!==null;e=Am(e)){if(!(e[ue]&H8.HasTransplantedViews))continue;let r=e[Is];for(let n=0;n<r.length;n++){let i=r[n],o=i[kt];ZC(i)}}}function Fx(t,e,r){let n=Ti(e,t);Jm(n,r)}function Jm(t,e){j8(t)&&c8(t,e)}function c8(t,e){let n=t[fe],i=t[ue],o=t[io],s=!!(e===0&&i&16);if(s||=!!(i&64&&e===0),s||=!!(i&1024),s||=!!(o?.dirty&&V3(o)),o&&(o.dirty=!1),t[ue]&=-9217,s)Px(n,t,n.template,t[Lt]);else if(i&8192){Xm(t,1);let a=n.components;a!==null&&e7(t,a,1)}}function e7(t,e,r){for(let n=0;n<e.length;n++)Fx(t,e[n],r)}function yu(t){for(t[yr].changeDetectionScheduler?.notify();t;){t[ue]|=64;let e=Ga(t);if(VC(t)&&!e)return t;t=e}return null}var uo=class{get rootNodes(){let e=this._lView,r=e[fe];return E1(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Lt]}set context(e){this._lView[Lt]=e}get destroyed(){return(this._lView[ue]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[kt];if(Br(e)){let r=e[y1],n=r?r.indexOf(this):-1;n>-1&&(Za(e,n),M1(r,n))}this._attachedToViewContainer=!1}Z1(this._lView[fe],this._lView)}onDestroy(e){Tp(this._lView,e)}markForCheck(){yu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ue]&=-129}reattach(){P0(this._lView),this._lView[ue]|=128}detectChanges(){this._lView[ue]|=1024,Ix(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,dm(this._lView[fe],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=e,P0(this._lView)}},ft=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Nx;let t=e;return t})();function Nx(t){return Rx(Vt(),ie(),(t&16)===16)}function Rx(t,e,r){if(Y1(t)&&!r){let n=Ti(t.index,e);return new uo(n,n)}else if(t.type&47){let n=e[zn];return new uo(n,e)}return null}var js=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Lx,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),l8=class extends js{constructor(e){super(),this._lView=e}onDestroy(e){return Tp(this._lView,e),()=>XC(this._lView,e)}};function Lx(){return new l8(ie())}var R5=new Set;function Bs(t){R5.has(t)||(R5.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var u8=class extends S{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=y0(o),i&&(i=y0(i)),s&&(s=y0(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ye&&e.add(a),a}};function y0(t){return e=>{setTimeout(t,void 0,e)}}var re=u8;function L5(...t){}function Hx(){let t=typeof dn.requestAnimationFrame=="function",e=dn[t?"requestAnimationFrame":"setTimeout"],r=dn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let i=r[Zone.__symbol__("OriginalDelegate")];i&&(r=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var U=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new re(!1),this.onMicrotaskEmpty=new re(!1),this.onStable=new re(!1),this.onError=new re(!1),typeof Zone>"u")throw new z(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=Hx().nativeRequestAnimationFrame,jx(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new z(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,Vx,L5,L5);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},Vx={};function wu(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 Yx(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(dn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,d8(t),t.isCheckStableRunning=!0,wu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),d8(t))}function jx(t){let e=()=>{Yx(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(Bx(a))return r.invokeTask(i,o,s,a);try{return H5(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),V5(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return H5(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),V5(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,d8(t),wu(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function d8(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function H5(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function V5(t){t._nesting--,wu(t)}function Bx(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Ds=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ds||{}),Ux={destroy(){}};function bu(t,e){!e&&nu(bu);let r=e?.injector??w(Ue);if(!qM(r))return Ux;Bs("NgAfterNextRender");let n=r.get(_u),i=n.handler??=new f8,o=e?.phase??Ds.MixedReadWrite,s=()=>{i.unregister(c),a()},a=r.get(js).onDestroy(s),c=new h8(r,o,()=>{s(),t()});return i.register(c),{destroy:s}}var h8=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(U),this.errorHandler=e.get(_r,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},f8=class{constructor(){this.executingCallbacks=!1,this.buckets={[Ds.EarlyRead]:new Set,[Ds.Write]:new Set,[Ds.MixedReadWrite]:new Set,[Ds.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){let e=!1;this.executingCallbacks=!0;for(let r of Object.values(this.buckets))for(let n of r)e=!0,n.invoke();this.executingCallbacks=!1;for(let r of this.deferredCallbacks)this.buckets[r.phase].add(r);return this.deferredCallbacks.clear(),e}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},_u=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function $x(t,e){let r=Ti(e,t),n=r[fe];qx(n,r);let i=r[Cr];i!==null&&r[Es]===null&&(r[Es]=lu(i,r[zs])),Cu(n,r,r[Lt])}function qx(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function Cu(t,e,r){W8(e);try{let n=t.viewQuery;n!==null&&a8(1,n,r);let i=t.template;i!==null&&Ym(t,e,i,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&qm(t,e),t.staticViewQueries&&a8(2,t.viewQuery,r);let o=t.components;o!==null&&Wx(e,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[ue]&=-5,G8()}}function Wx(t,e){for(let r=0;r<e.length;r++)$x(t,e[r])}function z1(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=S0(i,a);else if(o==2){let c=a,l=e[++s];n=S0(n,c+": "+l+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=i:t.classesWithoutHost=i}var I1=class extends Ei{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Mi(e);return new Os(r,this.ngModule)}};function Y5(t){let e=[];for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:r})}return e}function Gx(t){let e=t.toLowerCase();return e==="svg"?Mp:e==="math"?UC:null}var p8=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=H1(n);let i=this.injector.get(e,g0,n);return i!==g0||r===g0?i:this.parentInjector.get(e,r,n)}},Os=class extends S1{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Y5(e.inputs);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return Y5(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=FC(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){i=i||this.ngModule;let o=i instanceof qt?i:i?.injector;o&&this.componentDef.getStandaloneInjector!==null&&(o=this.componentDef.getStandaloneInjector(o)||o);let s=o?new p8(e,o):e,a=s.get(Jn,null);if(a===null)throw new z(407,!1);let c=s.get(GD,null),l=s.get(_u,null),u=s.get(Z0,null),d={rendererFactory:a,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:u},h=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=n?ax(h,n,this.componentDef.encapsulation,s):um(h,f,Gx(f)),y=512;this.componentDef.signals?y|=4096:this.componentDef.onPush||(y|=16);let v=null;p!==null&&(v=lu(p,s,!0));let M=mu(0,null,null,1,0,null,null,null,null,null,null),P=r4(null,M,null,y,null,null,d,h,s,null,v);W8(P);let X,$;try{let Ae=this.componentDef,_e,Ee=null;Ae.findHostDirectiveDefs?(_e=[],Ee=new Map,Ae.findHostDirectiveDefs(Ae,_e,Ee),_e.push(Ae)):_e=[Ae];let $e=Kx(P,p),Mt=Zx($e,p,Ae,_e,P,d,h);$=Y8(M,xt),p&&Jx(h,Ae,p,n),r!==void 0&&eS($,this.ngContentSelectors,r),X=Xx(Mt,Ae,_e,Ee,P,[tS]),Cu(M,P,null)}finally{G8()}return new m8(this.componentType,X,Vs($,P),P,$)}},m8=class extends Q0{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new uo(i,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;vu(o[fe],o,i,e,r),this.previousInputValues.set(e,r);let s=Ti(this._tNode.index,o);yu(s)}}get injector(){return new ro(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Kx(t,e){let r=t[fe],n=xt;return t[n]=e,Ys(r,n,2,"#host",null)}function Zx(t,e,r,n,i,o,s){let a=i[fe];Qx(n,t,e,s);let c=null;e!==null&&(c=lu(e,i[zs]));let l=o.rendererFactory.createRenderer(e,r),u=16;r.signals?u=4096:r.onPush&&(u=64);let d=r4(i,jm(r),null,u,i[t.index],t,o,l,null,null,c);return a.firstCreatePass&&s8(a,t,n.length-1),o4(i,d),i[t.index]=d}function Qx(t,e,r,n){for(let i of t)e.mergedAttrs=Ua(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(z1(e,e.mergedAttrs,!0),r!==null&&wm(n,r,e))}function Xx(t,e,r,n,i,o){let s=Vt(),a=i[fe],c=In(s,i);Bm(a,i,s,r,null,n);for(let u=0;u<r.length;u++){let d=s.directiveStart+u,h=lo(i,a,d,s);xi(h,i)}Um(a,i,s),c&&xi(c,i);let l=lo(i,a,s.directiveStart+s.componentOffset,s);if(t[Lt]=i[Lt]=l,o!==null)for(let u of o)u(l,e);return hu(a,s,t),l}function Jx(t,e,r,n){if(n)I0(t,r,["ng-version","17.1.0"]);else{let{attrs:i,classes:o}=NC(e.selectors[0]);i&&I0(t,r,i),o&&o.length>0&&ym(t,r,o.join(" "))}}function eS(t,e,r){let n=t.projection=[];for(let i=0;i<e.length;i++){let o=r[i];n.push(o!=null?Array.from(o):null)}}function tS(){let t=Vt();W1(ie()[fe],t)}function nS(t){return Object.getPrototypeOf(t.prototype).constructor}function nn(t){let e=nS(t.type),r=!0,n=[t];for(;e;){let i;if(Yr(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new z(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=c1(t.inputs),s.inputTransforms=c1(t.inputTransforms),s.declaredInputs=c1(t.declaredInputs),s.outputs=c1(t.outputs);let a=i.hostBindings;a&&aS(t,a);let c=i.viewQuery,l=i.contentQueries;if(c&&oS(t,c),l&&sS(t,l),rS(t,i),iC(t.outputs,i.outputs),Yr(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===nn&&(r=!1)}}e=Object.getPrototypeOf(e)}iS(n)}function rS(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let i=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(i))continue;t.inputTransforms??={},t.inputTransforms[i]=e.inputTransforms[i]}}}function iS(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Ua(i.hostAttrs,r=Ua(r,i.hostAttrs))}}function c1(t){return t===Ts?{}:t===Jt?[]:t}function oS(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function sS(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function aS(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function rn(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var OG=new RegExp(`^(\\d+)*(${YD}|${VD})*(.*)`);var cS=()=>null;function Qa(t,e){return cS(t,e)}function s4(t,e,r,n){let i=e.tView,s=t[ue]&4096?4096:16,a=r4(t,i,r,s,null,e,null,null,null,n?.injector??null,n?.dehydratedView??null),c=t[e.index];a[rc]=c;let l=t[gr];return l!==null&&(a[gr]=l.createEmbeddedView(i)),Cu(i,a,r),a}function t7(t,e){let r=Ht+e;if(r<t.length)return t[r]}function Xa(t,e){return!e||e.firstChild===null||cm(t)}function a4(t,e,r,n=!0){let i=e[fe];if(cD(i,e,t,r),n){let s=Y0(r,t),a=e[it],c=ou(a,t[oo]);c!==null&&sD(i,t[fn],a,e,c,s)}let o=e[Es];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function n7(t,e){let r=Za(t,e);return r!==void 0&&Z1(r[fe],r),r}var Xe=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=lS;let t=e;return t})();function lS(){let t=Vt();return i7(t,ie())}var uS=Xe,r7=class extends uS{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Vs(this._hostTNode,this._hostLView)}get injector(){return new ro(this._hostTNode,this._hostLView)}get parentInjector(){let e=K8(this._hostTNode,this._hostLView);if(Vp(e)){let r=b1(e,this._hostLView),n=w1(e),i=r[fe].data[n+8];return new ro(i,r)}else return new ro(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=j5(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ht}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Qa(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Xa(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!zM(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let c=s?e:new Os(Mi(e)),l=n||this.parentInjector;if(!o&&c.ngModule==null){let y=(s?l:this.parentInjector).get(qt,null);y&&(o=y)}let u=Mi(c.componentType??{}),d=Qa(this._lContainer,u?.id??null),h=d?.firstChild??null,f=c.create(l,i,h,o);return this.insertImpl(f.hostView,a,Xa(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(KC(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[kt],l=new r7(c,c[fn],c[kt]);l.detach(l.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return a4(s,i,o,n),e.attachToViewContainerRef(),Zp(w0(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=j5(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Za(this._lContainer,r);n&&(M1(w0(this._lContainer),r),Z1(n[fe],n))}detach(e){let r=this._adjustIndex(e,-1),n=Za(this._lContainer,r);return n&&M1(w0(this._lContainer),r)!=null?new uo(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function j5(t){return t[y1]}function w0(t){return t[y1]||(t[y1]=[])}function i7(t,e){let r,n=e[t.index];return Br(n)?r=n:(r=$m(n,e,null,t),e[t.index]=r,o4(e,r)),hS(r,e,t,n),new r7(r,t,e)}function dS(t,e){let r=t[it],n=r.createComment(""),i=In(e,t),o=ou(r,i);return x1(r,o,n,pD(r,i),!1),n}var hS=mS,fS=()=>!1;function pS(t,e,r){return fS(t,e,r)}function mS(t,e,r,n){if(t[oo])return;let i;r.type&8?i=wr(n):i=dS(e,r),t[oo]=i}function cc(t,e,r){return t[e]=r}function gS(t,e){return t[e]}function hn(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Ja(t,e,r,n){let i=hn(t,e,r);return hn(t,e+1,n)||i}function vS(t,e,r,n,i){let o=Ja(t,e,r,n);return hn(t,e+2,i)||o}function o7(t,e,r,n,i,o){let s=Ja(t,e,r,n);return Ja(t,e+2,i,o)||s}function yS(t,e,r,n,i,o,s,a,c){let l=e.consts,u=Ys(e,t,4,s||null,ks(l,a));gu(e,r,u,ks(l,c)),W1(e,u);let d=u.tView=mu(2,u,n,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function Q(t,e,r,n,i,o,s,a){let c=ie(),l=ot(),u=t+xt,d=l.firstCreatePass?yS(u,l,c,e,r,n,i,o,s):l.data[u];po(d,!1);let h=wS(l,c,d,t);$1()&&Q1(l,c,h,d),xi(h,c);let f=$m(h,c,h,d);return c[u]=f,o4(c,f),pS(f,d,c),j1(d)&&fu(l,c,d),s!=null&&pu(c,d,a),Q}var wS=bS;function bS(t,e,r,n){return q1(!0),e[it].createComment("")}function kn(t,e,r,n){let i=ie(),o=go();if(hn(i,o,e)){let s=ot(),a=ic();xx(a,i,t,e,r,n)}return kn}function Mu(t,e,r,n){return hn(t,go(),r)?e+Qn(r)+n:tn}function s7(t,e,r,n,i,o){let s=kp(),a=Ja(t,s,r,i);return U1(2),a?e+Qn(r)+n+Qn(i)+o:tn}function _S(t,e,r,n,i,o,s,a,c,l){let u=kp(),d=o7(t,u,r,i,s,c);return U1(4),d?e+Qn(r)+n+Qn(i)+o+Qn(s)+a+Qn(c)+l:tn}function l1(t,e){return t<<17|e<<2}function ho(t){return t>>17&32767}function CS(t){return(t&2)==2}function MS(t,e){return t&131071|e<<17}function g8(t){return t|2}function As(t){return(t&131068)>>2}function b0(t,e){return t&-131069|e<<2}function DS(t){return(t&1)===1}function v8(t){return t|1}function xS(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=ho(s),c=As(s);t[n]=r;let l=!1,u;if(Array.isArray(r)){let d=r;u=d[1],(u===null||oc(d,u)>0)&&(l=!0)}else u=r;if(i)if(c!==0){let h=ho(t[a+1]);t[n+1]=l1(h,a),h!==0&&(t[h+1]=b0(t[h+1],n)),t[a+1]=MS(t[a+1],n)}else t[n+1]=l1(a,0),a!==0&&(t[a+1]=b0(t[a+1],n)),a=n;else t[n+1]=l1(c,0),a===0?a=n:t[c+1]=b0(t[c+1],n),c=n;l&&(t[n+1]=g8(t[n+1])),B5(t,u,n,!0),B5(t,u,n,!1),SS(e,u,t,n,o),s=l1(a,c),o?e.classBindings=s:e.styleBindings=s}function SS(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&oc(o,e)>=0&&(r[n+1]=v8(r[n+1]))}function B5(t,e,r,n){let i=t[r+1],o=e===null,s=n?ho(i):As(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];TS(c,e)&&(a=!0,t[s+1]=n?v8(l):g8(l)),s=n?ho(l):As(l)}a&&(t[r+1]=n?g8(i):v8(i))}function TS(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?oc(t,e)>=0:!1}var wt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function a7(t){return t.substring(wt.key,wt.keyEnd)}function ES(t){return t.substring(wt.value,wt.valueEnd)}function zS(t){return u7(t),c7(t,Fs(t,0,wt.textEnd))}function c7(t,e){let r=wt.textEnd;return r===e?-1:(e=wt.keyEnd=kS(t,wt.key=e,r),Fs(t,e,r))}function IS(t){return u7(t),l7(t,Fs(t,0,wt.textEnd))}function l7(t,e){let r=wt.textEnd,n=wt.key=Fs(t,e,r);return r===n?-1:(n=wt.keyEnd=PS(t,n,r),n=U5(t,n,r,58),n=wt.value=Fs(t,n,r),n=wt.valueEnd=OS(t,n,r),U5(t,n,r,59))}function u7(t){wt.key=0,wt.keyEnd=0,wt.value=0,wt.valueEnd=0,wt.textEnd=t.length}function Fs(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function kS(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function PS(t,e,r){let n;for(;e<r&&((n=t.charCodeAt(e))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function U5(t,e,r,n){return e=Fs(t,e,r),e<r&&e++,e}function OS(t,e,r){let n=-1,i=-1,o=-1,s=e,a=s;for(;s<r;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=$5(t,c,s,r):e===s-4&&o===85&&i===82&&n===76&&c===40?a=s=$5(t,41,s,r):c>32&&(a=s),o=i,i=n,n=c&-33}return a}function $5(t,e,r,n){let i=-1,o=r;for(;o<n;){let s=t.charCodeAt(o++);if(s==e&&i!==92)return o;s==92&&i===92?i=0:i=s}throw new Error}function I(t,e,r){let n=ie(),i=go();if(hn(n,i,e)){let o=ot(),s=ic();i4(o,s,n,t,e,n[it],r,!1)}return I}function y8(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";vu(t,r,o[s],s,n)}function Gt(t,e,r){return d7(t,e,r,!1),Gt}function St(t,e){return d7(t,e,null,!0),St}function FG(t){lc(p7,AS,t,!1)}function AS(t,e){for(let r=IS(e);r>=0;r=l7(e,r))p7(t,a7(e),ES(e))}function Du(t){lc(VS,c4,t,!0)}function c4(t,e){for(let r=zS(e);r>=0;r=c7(e,r))vo(t,a7(e),!0)}function d7(t,e,r,n){let i=ie(),o=ot(),s=U1(2);if(o.firstUpdatePass&&f7(o,t,s,n),e!==tn&&hn(i,s,e)){let a=o.data[Ur()];m7(o,a,i,i[it],t,i[s+1]=jS(e,r),n,s)}}function lc(t,e,r,n){let i=ot(),o=U1(2);i.firstUpdatePass&&f7(i,null,o,n);let s=ie();if(r!==tn&&hn(s,o,r)){let a=i.data[Ur()];if(g7(a,n)&&!h7(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=S0(c,r||"")),y8(i,a,s,r,n)}else YS(i,a,s,s[it],s[o+1],s[o+1]=HS(t,e,r),n,o)}}function h7(t,e){return e>=t.expandoStartIndex}function f7(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Ur()],s=h7(t,r);g7(o,n)&&e===null&&!s&&(e=!1),e=FS(i,o,e,n),xS(i,o,e,r,s,n)}}function FS(t,e,r,n){let i=$8(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=_0(null,t,e,r,n),r=ec(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=_0(i,t,e,r,n),o===null){let c=NS(t,e,n);c!==void 0&&Array.isArray(c)&&(c=_0(null,t,e,c[1],n),c=ec(c,e.attrs,n),RS(t,e,n,c))}else o=LS(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function NS(t,e,r){let n=r?e.classBindings:e.styleBindings;if(As(n)!==0)return t[ho(n)]}function RS(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[ho(i)]=n}function LS(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;n=ec(n,s,r)}return ec(n,e.attrs,r)}function _0(t,e,r,n,i){let o=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(o=e[a],n=ec(n,o.hostAttrs,i),o!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function ec(t,e,r){let n=r?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),vo(t,s,r?!0:e[++o]))}return t===void 0?null:t}function HS(t,e,r){if(r==null||r==="")return Jt;let n=[],i=vn(r);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(n,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(n,o,i[o]);else typeof i=="string"&&e(n,i);return n}function p7(t,e,r){vo(t,e,vn(r))}function VS(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&vo(t,n,r)}function YS(t,e,r,n,i,o,s,a){i===tn&&(i=Jt);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,f=l<o.length?o[l+1]:void 0,p=null,y;u===d?(c+=2,l+=2,h!==f&&(p=d,y=f)):d===null||u!==null&&u<d?(c+=2,p=u):(l+=2,p=d,y=f),p!==null&&m7(t,e,r,n,p,y,s,a),u=c<i.length?i[c]:null,d=l<o.length?o[l]:null}}function m7(t,e,r,n,i,o,s,a){if(!(e.type&3))return;let c=t.data,l=c[a+1],u=DS(l)?q5(c,e,r,i,As(l),s):void 0;if(!k1(u)){k1(o)||CS(l)&&(o=q5(c,null,r,i,a,s));let d=Dp(Ur(),r);bD(n,s,d,i,o)}}function q5(t,e,r,n,i,o){let s=e===null,a;for(;i>0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=r[i+1];h===tn&&(h=d?Jt:void 0);let f=d?f0(h,n):u===n?h:void 0;if(l&&!k1(f)&&(f=f0(c,n)),k1(f)&&(a=f,s))return a;let p=t[i+1];i=s?ho(p):As(p)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=f0(c,n))}return a}function k1(t){return t!==void 0}function jS(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=$t(vn(t)))),t}function g7(t,e){return(t.flags&(e?8:16))!==0}function v7(t,e,r){let n=ie(),i=Mu(n,t,e,r);lc(vo,c4,i,!0)}function NG(t,e,r,n,i){let o=ie(),s=s7(o,t,e,r,n,i);lc(vo,c4,s,!0)}function RG(t,e,r,n,i,o,s,a,c){let l=ie(),u=_S(l,t,e,r,n,i,o,s,a,c);lc(vo,c4,u,!0)}var w8=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),i=Math.max(e,r),o=this.detach(i);if(i-n>1){let s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(e,r){this.attach(r,this.detach(e))}};function C0(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function BS(t,e,r){let n,i,o=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;o<=s&&o<=a;){let c=t.at(o),l=e[o],u=C0(o,c,o,l,r);if(u!==0){u<0&&t.updateValue(o,l),o++;continue}let d=t.at(s),h=e[a],f=C0(s,d,a,h,r);if(f!==0){f<0&&t.updateValue(s,h),s--,a--;continue}let p=r(o,c),y=r(s,d),v=r(o,l);if(Object.is(v,y)){let M=r(a,h);Object.is(M,p)?(t.swap(o,s),t.updateValue(s,h),a--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(n??=new P1,i??=G5(t,o,s,r),b8(t,n,o,v))t.updateValue(o,l),o++,s++;else if(i.has(v))n.set(p,t.detach(o)),s--;else{let M=t.create(o,e[o]);t.attach(o,M),o++,s++}}for(;o<=a;)W5(t,n,r,o,e[o]),o++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&o<=s;){let l=t.at(o),u=c.value,d=C0(o,l,o,u,r);if(d!==0)d<0&&t.updateValue(o,u),o++,c=a.next();else{n??=new P1,i??=G5(t,o,s,r);let h=r(o,u);if(b8(t,n,o,h))t.updateValue(o,u),o++,s++,c=a.next();else if(!i.has(h))t.attach(o,t.create(o,u)),o++,s++,c=a.next();else{let f=r(o,l);n.set(f,t.detach(o)),s--}}}for(;!c.done;)W5(t,n,r,t.length,c.value),c=a.next()}for(;o<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function b8(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function W5(t,e,r,n,i){if(b8(t,e,n,r(n,i)))t.updateValue(n,i);else{let o=t.create(n,i);t.attach(n,o)}}function G5(t,e,r,n){let i=new Set;for(let o=e;o<=r;o++)i.add(n(o,t.at(o)));return i}var P1=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,r)}}};function LG(t,e,r){Bs("NgControlFlow");let n=ie(),i=go(),o=D8(n,xt+t),s=0;if(hn(n,i,e)){let a=yt(null);try{if(n7(o,s),e!==-1){let c=x8(n[fe],xt+e),l=Qa(o,c.tView.ssrId),u=s4(n,c,r,{dehydratedView:l});a4(o,u,s,Xa(c,l))}}finally{yt(a)}}else{let a=t7(o,s);a!==void 0&&(a[Lt]=r)}}var _8=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-Ht}};function HG(t){return t}function VG(t,e){return e}var C8=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function YG(t,e,r,n,i,o,s,a,c,l,u,d,h){Bs("NgControlFlow");let f=c!==void 0,p=ie(),y=a?s.bind(p[zn][Lt]):s,v=new C8(f,y);p[xt+t]=v,Q(t+1,e,r,n,i,o),f&&Q(t+2,c,l,u,d,h)}var M8=class extends w8{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ht}at(e){return this.getLView(e)[Lt].$implicit}attach(e,r){let n=r[Es];this.needsIndexUpdate||=e!==this.length,a4(this.lContainer,r,e,Xa(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,US(this.lContainer,e)}create(e,r){let n=Qa(this.lContainer,this.templateTNode.tView.ssrId);return s4(this.hostLView,this.templateTNode,new _8(this.lContainer,r,e),{dehydratedView:n})}destroy(e){Z1(e[fe],e)}updateValue(e,r){this.getLView(e)[Lt].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[Lt].$index=e}getLView(e){return $S(this.lContainer,e)}};function jG(t){let e=yt(null),r=Ur();try{let n=ie(),i=n[fe],o=n[r];if(o.liveCollection===void 0){let a=r+1,c=D8(n,a),l=x8(i,a);o.liveCollection=new M8(c,n,l)}else o.liveCollection.reset();let s=o.liveCollection;if(BS(s,t,o.trackByFn),s.updateIndexes(),o.hasEmptyBlock){let a=go(),c=s.length===0;if(hn(n,a,c)){let l=r+2,u=D8(n,l);if(c){let d=x8(i,l),h=Qa(u,d.tView.ssrId),f=s4(n,d,void 0,{dehydratedView:h});a4(u,f,0,Xa(d,h))}else n7(u,0)}}}finally{yt(e)}}function D8(t,e){return t[e]}function US(t,e){return Za(t,e)}function $S(t,e){return t7(t,e)}function x8(t,e){return Y8(t,e)}function qS(t,e,r,n,i,o){let s=e.consts,a=ks(s,i),c=Ys(e,t,2,n,a);return gu(e,r,c,ks(s,o)),c.attrs!==null&&z1(c,c.attrs,!1),c.mergedAttrs!==null&&z1(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function se(t,e,r,n){let i=ie(),o=ot(),s=xt+t,a=i[it],c=o.firstCreatePass?qS(s,o,i,e,r,n):o.data[s],l=WS(o,i,c,a,e,t);i[s]=l;let u=j1(c);return po(c,!0),wm(a,l,c),(c.flags&32)!==32&&$1()&&Q1(o,i,l,c),JC()===0&&xi(l,i),eM(),u&&(fu(o,i,c),hu(o,c,i)),n!==null&&pu(i,c),se}function le(){let t=Vt();B8()?U8():(t=t.parent,po(t,!1));let e=t;nM(e)&&rM(),tM();let r=ot();return r.firstCreatePass&&(W1(r,t),V8(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&vM(e)&&y8(r,e,ie(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&yM(e)&&y8(r,e,ie(),e.stylesWithoutHost,!1),le}function et(t,e,r,n){return se(t,e,r,n),le(),et}var WS=(t,e,r,n,i,o)=>(q1(!0),um(n,i,fM()));function GS(t,e,r,n,i){let o=e.consts,s=ks(o,n),a=Ys(e,t,8,"ng-container",s);s!==null&&z1(a,s,!0);let c=ks(o,i);return gu(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function tt(t,e,r){let n=ie(),i=ot(),o=t+xt,s=i.firstCreatePass?GS(o,i,n,e,r):i.data[o];po(s,!0);let a=KS(i,n,s,t);return n[o]=a,$1()&&Q1(i,n,a,s),xi(a,n),j1(s)&&(fu(i,n,s),hu(i,s,n)),r!=null&&pu(n,s),tt}function nt(){let t=Vt(),e=ot();return B8()?U8():(t=t.parent,po(t,!1)),e.firstCreatePass&&(W1(e,t),V8(t)&&e.queries.elementEnd(t)),nt}function xu(t,e,r){return tt(t,e,r),nt(),xu}var KS=(t,e,r,n)=>(q1(!0),iD(e[it],""));function Pn(){return ie()}function ZS(t,e,r){let n=ie(),i=go();if(hn(n,i,e)){let o=ot(),s=ic();i4(o,s,n,t,e,n[it],r,!0)}return ZS}function l4(t,e,r){let n=ie(),i=go();if(hn(n,i,e)){let o=ot(),s=ic(),a=$8(o.data),c=Km(a,s,n);i4(o,s,n,t,e,c,r,!0)}return l4}var to=void 0;function QS(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var XS=["en",[["a","p"],["AM","PM"],to],[["AM","PM"],to,to],[["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"]],to,[["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"]],to,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",to,"{1} 'at' {0}",to],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",QS],ja={};function y7(t,e,r){typeof e!="string"&&(r=e,e=t[Qe.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),ja[e]=t,r&&(ja[e][Qe.ExtraData]=r)}function on(t){let e=JS(t),r=K5(e);if(r)return r;let n=e.split("-")[0];if(r=K5(n),r)return r;if(n==="en")return XS;throw new z(701,!1)}function K5(t){return t in ja||(ja[t]=dn.ng&&dn.ng.common&&dn.ng.common.locales&&dn.ng.common.locales[t]),ja[t]}var Qe=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}(Qe||{});function JS(t){return t.toLowerCase().replace(/_/g,"-")}var O1="en-US",eT="USD";var tT=O1;function nT(t){hC(t,"Expected localeId to be defined"),typeof t=="string"&&(tT=t.toLowerCase().replace(/_/g,"-"))}function Us(t){return!!t&&typeof t.then=="function"}function Su(t){return!!t&&typeof t.subscribe=="function"}function Pt(t,e,r,n){let i=ie(),o=ot(),s=Vt();return w7(o,i,i[it],s,t,e,n),Pt}function u4(t,e){let r=Vt(),n=ie(),i=ot(),o=$8(i.data),s=Km(o,r,n);return w7(i,n,s,r,t,e),u4}function rT(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===r&&i[o+1]===n){let a=e[$a],c=i[o+2];return a.length>c?a[c]:null}typeof s=="string"&&(o+=2)}return null}function w7(t,e,r,n,i,o,s){let a=j1(n),l=t.firstCreatePass&&Gm(t),u=e[Lt],d=Wm(e),h=!0;if(n.type&3||s){let y=In(n,e),v=s?s(y):y,M=d.length,P=s?$=>s(wr($[n.index])):n.index,X=null;if(!s&&a&&(X=rT(t,e,i,n.index)),X!==null){let $=X.__ngLastListenerFn__||X;$.__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,h=!1}else{o=Q5(n,e,u,o,!1);let $=r.listen(v,i,o);d.push(o,$),l&&l.push(i,P,M,M+1)}}else o=Q5(n,e,u,o,!1);let f=n.outputs,p;if(h&&f!==null&&(p=f[i])){let y=p.length;if(y)for(let v=0;v<y;v+=2){let M=p[v],P=p[v+1],Ae=e[M][P].subscribe(o),_e=d.length;d.push(o,Ae),l&&l.push(i,n.index,_e,-(_e+1))}}}function Z5(t,e,r,n){try{return pr(6,e,r),r(n)!==!1}catch(i){return Zm(t,i),!1}finally{pr(7,e,r)}}function Q5(t,e,r,n,i){return function o(s){if(s===Function)return n;let a=t.componentOffset>-1?Ti(t.index,e):e;yu(a);let c=Z5(e,r,n,s),l=o.__ngNextListenerFn__;for(;l;)c=Z5(e,r,l,s)&&c,l=l.__ngNextListenerFn__;return i&&c===!1&&s.preventDefault(),c}}function G(t=1){return dM(t)}function iT(t,e){let r=null,n=IC(t);for(let i=0;i<e.length;i++){let o=e[i];if(o==="*"){r=i;continue}if(n===null?dp(t,o,!0):OC(n,o))return i}return r}function yo(t){let e=ie()[zn][fn];if(!e.projection){let r=t?t.length:1,n=e.projection=PM(r,null),i=n.slice(),o=e.child;for(;o!==null;){let s=t?iT(o,t):0;s!==null&&(i[s]?i[s].projectionNext=o:n[s]=o,i[s]=o),o=o.next}}}function wo(t,e=0,r){let n=ie(),i=ot(),o=Ys(i,xt+t,16,null,r||null);o.projection===null&&(o.projection=e),U8(),(!n[Es]||zp())&&(o.flags&32)!==32&&yD(i,n,o)}function oT(t,e,r){return b7(t,"",e,"",r),oT}function b7(t,e,r,n,i){let o=ie(),s=Mu(o,e,r,n);if(s!==tn){let a=ot(),c=ic();i4(a,c,o,t,s,o[it],i,!1)}return b7}function sT(){return this._results[Symbol.iterator]()}var Ns=class t{get changes(){return this._changes??=new re}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=sT)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=kM(e);(this._changesDetected=!IM(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Me=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=lT;let t=e;return t})(),aT=Me,cT=class extends aT{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=s4(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new uo(i)}};function lT(){return d4(Vt(),ie())}function d4(t,e){return t.type&4?new cT(e,t,Vs(t,e)):null}var S8=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},T8=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o<n;o++){let s=r.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new t(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)D7(e,r).matches!==null&&this.queries[r].setDirty()}},A1=class{constructor(e,r,n=null){this.predicate=e,this.flags=r,this.read=n}},E8=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let i=r!==null?r.length:0,o=this.getByIndex(n).embeddedTView(e,i);o&&(o.indexInDeclarationView=n,r!==null?r.push(o):r=[o])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},z8=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){let o=n[i];this.matchTNodeWithReadOption(e,r,uT(r,o)),this.matchTNodeWithReadOption(e,r,h1(r,e,o,!1,!1))}else n===Me?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,h1(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let i=this.metadata.read;if(i!==null)if(i===oe||i===Xe||i===Me&&r.type&4)this.addMatch(r.index,-2);else{let o=h1(r,e,i,!1,!1);o!==null&&this.addMatch(r.index,o)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function uT(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function dT(t,e){return t.type&11?Vs(t,e):t.type&4?d4(t,e):null}function hT(t,e,r,n){return r===-1?dT(e,t):r===-2?fT(t,e,n):lo(t,t[fe],r,e)}function fT(t,e,r){if(r===oe)return Vs(e,t);if(r===Me)return d4(e,t);if(r===Xe)return i7(e,t)}function _7(t,e,r,n){let i=e[gr].queries[n];if(i.matches===null){let o=t.data,s=r.matches,a=[];for(let c=0;c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=o[l];a.push(hT(e,u,s[c+1],r.metadata.read))}}i.matches=a}return i.matches}function I8(t,e,r,n){let i=t.queries.getByIndex(r),o=i.matches;if(o!==null){let s=_7(t,e,i,r);for(let a=0;a<o.length;a+=2){let c=o[a];if(c>0)n.push(s[a/2]);else{let l=o[a+1],u=e[-c];for(let d=Ht;d<u.length;d++){let h=u[d];h[rc]===h[kt]&&I8(h[fe],h,l,n)}if(u[Is]!==null){let d=u[Is];for(let h=0;h<d.length;h++){let f=d[h];I8(f[fe],f,l,n)}}}}}return n}function pT(t,e){return t[gr].queries[e].queryList}function C7(t,e,r){let n=new Ns((r&4)===4);ux(t,e,n,n.destroy),e[gr]===null&&(e[gr]=new T8),e[gr].queries.push(new S8(n))}function M7(t,e,r){t.queries===null&&(t.queries=new E8),t.queries.track(new z8(e,r))}function mT(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function D7(t,e){return t.queries.getByIndex(e)}function wn(t,e,r,n){let i=ot();if(i.firstCreatePass){let o=Vt();M7(i,new A1(e,r,n),o.index),mT(i,t),(r&2)===2&&(i.staticContentQueries=!0)}C7(i,ie(),r)}function On(t,e,r){let n=ot();n.firstCreatePass&&(M7(n,new A1(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),C7(n,ie(),e)}function ct(t){let e=ie(),r=ot(),n=Pp();q8(n+1);let i=D7(r,n);if(t.dirty&&GC(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=i.crossesNgTemplate?I8(r,e,n,[]):_7(r,e,i,n);t.reset(o,qD),t.notifyOnChanges()}return!0}return!1}function lt(){return pT(ie(),Pp())}function gT(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function $s(t){let e=oM();return B1(e,xt+t)}function er(t,e=""){let r=ie(),n=ot(),i=t+xt,o=n.firstCreatePass?Ys(n,i,1,e,null):n.data[i],s=vT(n,r,o,e,t);r[i]=s,$1()&&Q1(n,r,s,o),po(o,!1)}var vT=(t,e,r,n,i)=>(q1(!0),nD(e[it],n));function qs(t){return zi("",t,""),qs}function zi(t,e,r){let n=ie(),i=Mu(n,t,e,r);return i!==tn&&Qm(n,Ur(),i),zi}function yT(t,e,r,n,i){let o=ie(),s=s7(o,t,e,r,n,i);return s!==tn&&Qm(o,Ur(),s),yT}function wT(t,e,r){let n=ot();if(n.firstCreatePass){let i=Yr(t);k8(r,n.data,n.blueprint,i,!0),k8(e,n.data,n.blueprint,i,!1)}}function k8(t,e,r,n,i){if(t=Ut(t),Array.isArray(t))for(let o=0;o<t.length;o++)k8(t[o],e,r,n,i);else{let o=ot(),s=ie(),a=Vt(),c=Ps(t)?t:Ut(t.provide),l=rm(t),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Ps(t)||!t.multi){let f=new co(l,i,m),p=D0(c,e,i?u:u+h,d);p===-1?(F0(C1(a,s),o,c),M0(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[p]=f,s[p]=f)}else{let f=D0(c,e,u+h,d),p=D0(c,e,u,u+h),y=f>=0&&r[f],v=p>=0&&r[p];if(i&&!v||!i&&!y){F0(C1(a,s),o,c);let M=CT(i?_T:bT,r.length,i,n,l);!i&&v&&(r[p].providerFactory=M),M0(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(M),s.push(M)}else{let M=x7(r[i?p:f],l,!i&&n);M0(o,t,f>-1?f:p,M)}!i&&n&&v&&r[p].componentProviders++}}}function M0(t,e,r,n){let i=Ps(e),o=LM(e);if(i||o){let c=(o?Ut(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,c]):l[u+1].push(n,c)}else l.push(r,c)}}}function x7(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function D0(t,e,r,n){for(let i=r;i<n;i++)if(e[i]===t)return i;return-1}function bT(t,e,r,n){return P8(this.multi,[])}function _T(t,e,r,n){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=lo(r,r[fe],this.providerFactory.index,n);o=a.slice(0,s),P8(i,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],P8(i,o);return o}function P8(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function CT(t,e,r,n,i){let o=new co(t,r,m);return o.multi=[],o.index=e,o.componentProviders=0,x7(o,i,n&&!r),o}function Kr(t,e=[]){return r=>{r.providersResolver=(n,i)=>wT(n,i?i(t):t,e)}}var Si=class{},tc=class{};var O8=class extends Si{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new I1(this);let i=mp(e);this._bootstrapComponents=am(i.bootstrap),this._r3Injector=im(e,r,[{provide:Si,useValue:this},{provide:Ei,useValue:this.componentFactoryResolver},...n],$t(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},A8=class extends tc{constructor(e){super(),this.moduleType=e}create(e){return new O8(this.moduleType,e,[])}};var F1=class extends Si{constructor(e){super(),this.componentFactoryResolver=new I1(this),this.instance=null;let r=new Ka([...e.providers,{provide:Si,useValue:this},{provide:Ei,useValue:this.componentFactoryResolver}],e.parent||tu(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function h4(t,e,r=null){return new F1({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var MT=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=em(!1,n.type),o=i.length>0?h4([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(g(qt))});let t=e;return t})();function _t(t){Bs("NgStandalone"),t.getStandaloneInjector=e=>e.get(MT).getOrCreateStandaloneInjector(t)}function UG(t,e,r){let n=mo()+t,i=ie();return i[n]===tn?cc(i,n,r?e.call(r):e()):gS(i,n)}function $G(t,e,r,n){return T7(ie(),mo(),t,e,r,n)}function S7(t,e,r,n,i){return E7(ie(),mo(),t,e,r,n,i)}function qG(t,e,r,n,i,o){return DT(ie(),mo(),t,e,r,n,i,o)}function f4(t,e){let r=t[e];return r===tn?void 0:r}function T7(t,e,r,n,i,o){let s=e+r;return hn(t,s,i)?cc(t,s+1,o?n.call(o,i):n(i)):f4(t,s+1)}function E7(t,e,r,n,i,o,s){let a=e+r;return Ja(t,a,i,o)?cc(t,a+2,s?n.call(s,i,o):n(i,o)):f4(t,a+2)}function DT(t,e,r,n,i,o,s,a){let c=e+r;return vS(t,c,i,o,s)?cc(t,c+3,a?n.call(a,i,o,s):n(i,o,s)):f4(t,c+3)}function xT(t,e,r,n,i,o,s,a,c){let l=e+r;return o7(t,l,i,o,s,a)?cc(t,l+4,c?n.call(c,i,o,s,a):n(i,o,s,a)):f4(t,l+4)}function Tu(t,e){let r=ot(),n,i=t+xt;r.firstCreatePass?(n=ST(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=so(n.type,!0)),s,a=Xt(m);try{let c=_1(!1),l=o();return _1(c),gT(r,ie(),i,l),l}finally{Xt(a)}}function ST(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Eu(t,e,r){let n=t+xt,i=ie(),o=B1(i,n);return zu(i,n)?T7(i,mo(),e,o.transform,r,o):o.transform(r)}function WG(t,e,r,n){let i=t+xt,o=ie(),s=B1(o,i);return zu(o,i)?E7(o,mo(),e,s.transform,r,n,s):s.transform(r,n)}function GG(t,e,r,n,i,o){let s=t+xt,a=ie(),c=B1(a,s);return zu(a,s)?xT(a,mo(),e,c.transform,r,n,i,o,c):c.transform(r,n,i,o)}function zu(t,e){return t[fe].data[e].pure}function bo(t,e){return d4(t,e)}var fo=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}};var p4=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),F8=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},m4=(()=>{let e=class e{compileModuleSync(n){return new A8(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=mp(n),s=am(o.declarations).reduce((a,c)=>{let l=Mi(c);return l&&a.push(new Os(l)),a},[]);return new F8(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ws=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Re(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var z7=new E("");var g4=new E("Application Initializer"),I7=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=w(g4,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Us(s))n.push(s);else if(Su(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),uc=new E("appBootstrapListener");function TT(){Ef(()=>{throw new z(600,!1)})}function ET(t){return t.isBoundToModule}function zT(t,e,r){try{let n=r();return Us(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var xr=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(Nm),this.afterRenderEffectManager=w(_u),this.componentTypes=[],this.components=[],this.isStable=w(Ws).hasPendingTasks.pipe(Z(n=>!n)),this._injector=w(qt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof S1;if(!this._injector.get(I7).done){let f=!o&&pp(n),p=!1;throw new z(405,p)}let a;o?a=n:a=this._injector.get(Ei).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=ET(a)?void 0:this._injector.get(Si),l=i||a.selector,u=a.create(Ue.NULL,[],l,c),d=u.location.nativeElement,h=u.injector.get(z7,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),x0(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new z(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{let n=this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;x0(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(uc,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>x0(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new z(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function x0(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var IT=(()=>{let e=class e{constructor(){this.zone=w(U),this.applicationRef=w(xr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function kT(t){return[{provide:U,useFactory:t},{provide:Di,multi:!0,useFactory:()=>{let e=w(IT,{optional:!0});return()=>e.initialize()}},{provide:Di,multi:!0,useFactory:()=>{let e=w(FT);return()=>{e.initialize()}}},{provide:Nm,useFactory:PT}]}function PT(){let t=w(U),e=w(_r);return r=>t.runOutsideAngular(()=>e.handleError(r))}function OT(t){let e=kT(()=>new U(AT(t)));return Wt([[],e])}function AT(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var FT=(()=>{let e=class e{constructor(){this.subscription=new ye,this.initialized=!1,this.zone=w(U),this.pendingTasks=w(Ws)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{U.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function NT(){return typeof $localize<"u"&&$localize.locale||O1}var Ii=new E("LocaleId",{providedIn:"root",factory:()=>w(Ii,be.Optional|be.SkipSelf)||NT()}),k7=new E("DefaultCurrencyCode",{providedIn:"root",factory:()=>eT});var P7=new E("PlatformDestroyListeners");var m1=null;function RT(t=[],e){return Ue.create({name:e,providers:[{provide:G1,useValue:"platform"},{provide:P7,useValue:new Set([()=>m1=null])},...t]})}function LT(t=[]){if(m1)return m1;let e=RT(t);return m1=e,TT(),HT(e),e}function HT(t){t.get(ru,null)?.forEach(r=>r())}function v4(){return!1}function O7(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=LT(n),o=[OT(),...r||[]],a=new F1({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(U);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(_r,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:f=>{l.handleError(f)}})});let d=()=>a.destroy(),h=i.get(P7);return h.add(d),a.onDestroy(()=>{u.unsubscribe(),h.delete(d)}),zT(l,c,()=>{let f=a.get(I7);return f.runInitializers(),f.donePromise.then(()=>{let p=a.get(Ii,O1);nT(p||O1);let y=a.get(xr);return e!==void 0&&y.bootstrap(e),y})})})}catch(e){return Promise.reject(e)}}function ut(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function VT(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function A7(t){let e=Mi(t);if(!e)return null;let r=new Os(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Nu=null;function Gs(){return Nu}function B7(t){Nu||(Nu=t)}var x4=class{},V=new E("DocumentToken"),Bu=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>w(YT),providedIn:"platform"});let t=e;return t})(),U7=new E("Location Initialized"),YT=(()=>{let e=class e extends Bu{constructor(){super(),this._doc=w(V),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gs().getBaseHref(this._doc)}onPopState(n){let i=Gs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Gs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Uu(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function F7(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Qr(t){return t&&t[0]!=="?"?"?"+t:t}var Tr=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>w($u),providedIn:"root"});let t=e;return t})(),$7=new E("appBaseHref"),$u=(()=>{let e=class e extends Tr{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??w(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Uu(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Qr(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qr(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qr(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(g(Bu),g($7,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qu=(()=>{let e=class e extends Tr{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Uu(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qr(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qr(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(g(Bu),g($7,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),ki=(()=>{let e=class e{constructor(n){this._subject=new re,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=UT(F7(N7(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Qr(i))}normalize(n){return e.stripTrailingSlash(BT(this._basePath,N7(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qr(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qr(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Qr,e.joinWithSlash=Uu,e.stripTrailingSlash=F7,e.\u0275fac=function(i){return new(i||e)(g(Tr))},e.\u0275prov=C({token:e,factory:()=>jT(),providedIn:"root"});let t=e;return t})();function jT(){return new ki(g(Tr))}function BT(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function N7(t){return t.replace(/\/index.html$/,"")}function UT(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var q7={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Wu=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Wu||{});var dt=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(dt||{}),xe=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(xe||{}),bn=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(bn||{}),Ot=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(Ot||{});function $T(t){return on(t)[Qe.LocaleId]}function Pi(t,e,r){let n=on(t),i=[n[Qe.DayPeriodsFormat],n[Qe.DayPeriodsStandalone]],o=An(i,e);return An(o,r)}function qT(t,e,r){let n=on(t),i=[n[Qe.DaysFormat],n[Qe.DaysStandalone]],o=An(i,e);return An(o,r)}function WT(t,e,r){let n=on(t),i=[n[Qe.MonthsFormat],n[Qe.MonthsStandalone]],o=An(i,e);return An(o,r)}function GT(t,e){let n=on(t)[Qe.Eras];return An(n,e)}function y4(t,e){let r=on(t);return An(r[Qe.DateFormat],e)}function w4(t,e){let r=on(t);return An(r[Qe.TimeFormat],e)}function b4(t,e){let n=on(t)[Qe.DateTimeFormat];return An(n,e)}function Sr(t,e){let r=on(t),n=r[Qe.NumberSymbols][e];if(typeof n>"u"){if(e===Ot.CurrencyDecimal)return r[Qe.NumberSymbols][Ot.Decimal];if(e===Ot.CurrencyGroup)return r[Qe.NumberSymbols][Ot.Group]}return n}function W7(t,e){return on(t)[Qe.NumberFormats][e]}function KT(t){return on(t)[Qe.Currencies]}function G7(t){if(!t[Qe.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Qe.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ZT(t){let e=on(t);return G7(e),(e[Qe.ExtraData][2]||[]).map(n=>typeof n=="string"?Iu(n):[Iu(n[0]),Iu(n[1])])}function QT(t,e,r){let n=on(t);G7(n);let i=[n[Qe.ExtraData][0],n[Qe.ExtraData][1]],o=An(i,e)||[];return An(o,r)||[]}function An(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Iu(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}function XT(t,e,r="en"){let n=KT(r)[t]||q7[t]||[],i=n[1];return e==="narrow"&&typeof i=="string"?i:n[0]||t}var JT=2;function eE(t){let e,r=q7[t];return r&&(e=r[2]),typeof e=="number"?e:JT}var tE=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dc={},nE=/((?:[^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]*)/,Xr=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Xr||{}),Oe=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(Oe||{}),Pe=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(Pe||{});function Gu(t,e,r,n){let i=dE(t);e=Zr(r,e)||e;let s=[],a;for(;e;)if(a=nE.exec(e),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;e=u}else{s.push(e);break}let c=i.getTimezoneOffset();n&&(c=Z7(n,c),i=uE(i,n,!0));let l="";return s.forEach(u=>{let d=cE(u);l+=d?d(i,r,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function S4(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Zr(t,e){let r=$T(t);if(dc[r]=dc[r]||{},dc[r][e])return dc[r][e];let n="";switch(e){case"shortDate":n=y4(t,bn.Short);break;case"mediumDate":n=y4(t,bn.Medium);break;case"longDate":n=y4(t,bn.Long);break;case"fullDate":n=y4(t,bn.Full);break;case"shortTime":n=w4(t,bn.Short);break;case"mediumTime":n=w4(t,bn.Medium);break;case"longTime":n=w4(t,bn.Long);break;case"fullTime":n=w4(t,bn.Full);break;case"short":let i=Zr(t,"shortTime"),o=Zr(t,"shortDate");n=_4(b4(t,bn.Short),[i,o]);break;case"medium":let s=Zr(t,"mediumTime"),a=Zr(t,"mediumDate");n=_4(b4(t,bn.Medium),[s,a]);break;case"long":let c=Zr(t,"longTime"),l=Zr(t,"longDate");n=_4(b4(t,bn.Long),[c,l]);break;case"full":let u=Zr(t,"fullTime"),d=Zr(t,"fullDate");n=_4(b4(t,bn.Full),[u,d]);break}return n&&(dc[r][e]=n),n}function _4(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function tr(t,e,r="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),o+s}function rE(t,e){return tr(t,3).substring(0,e)}function gt(t,e,r=0,n=!1,i=!1){return function(o,s){let a=iE(t,o);if((r>0||a>-r)&&(a+=r),t===Oe.Hours)a===0&&r===-12&&(a=12);else if(t===Oe.FractionalSeconds)return rE(a,e);let c=Sr(s,Ot.MinusSign);return tr(a,e,c,n,i)}}function iE(t,e){switch(t){case Oe.FullYear:return e.getFullYear();case Oe.Month:return e.getMonth();case Oe.Date:return e.getDate();case Oe.Hours:return e.getHours();case Oe.Minutes:return e.getMinutes();case Oe.Seconds:return e.getSeconds();case Oe.FractionalSeconds:return e.getMilliseconds();case Oe.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function We(t,e,r=dt.Format,n=!1){return function(i,o){return oE(i,o,t,e,r,n)}}function oE(t,e,r,n,i,o){switch(r){case Pe.Months:return WT(e,i,n)[t.getMonth()];case Pe.Days:return qT(e,i,n)[t.getDay()];case Pe.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(o){let l=ZT(e),u=QT(e,i,n),d=l.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,y=s>=f.hours&&a>=f.minutes,v=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(y&&v)return!0}else if(y||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Pi(e,i,n)[s<12?0:1];case Pe.Eras:return GT(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function C4(t){return function(e,r,n){let i=-1*n,o=Sr(r,Ot.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Xr.Short:return(i>=0?"+":"")+tr(s,2,o)+tr(Math.abs(i%60),2,o);case Xr.ShortGMT:return"GMT"+(i>=0?"+":"")+tr(s,1,o);case Xr.Long:return"GMT"+(i>=0?"+":"")+tr(s,2,o)+":"+tr(Math.abs(i%60),2,o);case Xr.Extended:return n===0?"Z":(i>=0?"+":"")+tr(s,2,o)+":"+tr(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var sE=0,D4=4;function aE(t){let e=S4(t,sE,1).getDay();return S4(t,0,1+(e<=D4?D4:D4+7)-e)}function K7(t){return S4(t.getFullYear(),t.getMonth(),t.getDate()+(D4-t.getDay()))}function ku(t,e=!1){return function(r,n){let i;if(e){let o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{let o=K7(r),s=aE(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return tr(i,t,Sr(n,Ot.MinusSign))}}function M4(t,e=!1){return function(r,n){let o=K7(r).getFullYear();return tr(o,t,Sr(n,Ot.MinusSign),e)}}var Pu={};function cE(t){if(Pu[t])return Pu[t];let e;switch(t){case"G":case"GG":case"GGG":e=We(Pe.Eras,xe.Abbreviated);break;case"GGGG":e=We(Pe.Eras,xe.Wide);break;case"GGGGG":e=We(Pe.Eras,xe.Narrow);break;case"y":e=gt(Oe.FullYear,1,0,!1,!0);break;case"yy":e=gt(Oe.FullYear,2,0,!0,!0);break;case"yyy":e=gt(Oe.FullYear,3,0,!1,!0);break;case"yyyy":e=gt(Oe.FullYear,4,0,!1,!0);break;case"Y":e=M4(1);break;case"YY":e=M4(2,!0);break;case"YYY":e=M4(3);break;case"YYYY":e=M4(4);break;case"M":case"L":e=gt(Oe.Month,1,1);break;case"MM":case"LL":e=gt(Oe.Month,2,1);break;case"MMM":e=We(Pe.Months,xe.Abbreviated);break;case"MMMM":e=We(Pe.Months,xe.Wide);break;case"MMMMM":e=We(Pe.Months,xe.Narrow);break;case"LLL":e=We(Pe.Months,xe.Abbreviated,dt.Standalone);break;case"LLLL":e=We(Pe.Months,xe.Wide,dt.Standalone);break;case"LLLLL":e=We(Pe.Months,xe.Narrow,dt.Standalone);break;case"w":e=ku(1);break;case"ww":e=ku(2);break;case"W":e=ku(1,!0);break;case"d":e=gt(Oe.Date,1);break;case"dd":e=gt(Oe.Date,2);break;case"c":case"cc":e=gt(Oe.Day,1);break;case"ccc":e=We(Pe.Days,xe.Abbreviated,dt.Standalone);break;case"cccc":e=We(Pe.Days,xe.Wide,dt.Standalone);break;case"ccccc":e=We(Pe.Days,xe.Narrow,dt.Standalone);break;case"cccccc":e=We(Pe.Days,xe.Short,dt.Standalone);break;case"E":case"EE":case"EEE":e=We(Pe.Days,xe.Abbreviated);break;case"EEEE":e=We(Pe.Days,xe.Wide);break;case"EEEEE":e=We(Pe.Days,xe.Narrow);break;case"EEEEEE":e=We(Pe.Days,xe.Short);break;case"a":case"aa":case"aaa":e=We(Pe.DayPeriods,xe.Abbreviated);break;case"aaaa":e=We(Pe.DayPeriods,xe.Wide);break;case"aaaaa":e=We(Pe.DayPeriods,xe.Narrow);break;case"b":case"bb":case"bbb":e=We(Pe.DayPeriods,xe.Abbreviated,dt.Standalone,!0);break;case"bbbb":e=We(Pe.DayPeriods,xe.Wide,dt.Standalone,!0);break;case"bbbbb":e=We(Pe.DayPeriods,xe.Narrow,dt.Standalone,!0);break;case"B":case"BB":case"BBB":e=We(Pe.DayPeriods,xe.Abbreviated,dt.Format,!0);break;case"BBBB":e=We(Pe.DayPeriods,xe.Wide,dt.Format,!0);break;case"BBBBB":e=We(Pe.DayPeriods,xe.Narrow,dt.Format,!0);break;case"h":e=gt(Oe.Hours,1,-12);break;case"hh":e=gt(Oe.Hours,2,-12);break;case"H":e=gt(Oe.Hours,1);break;case"HH":e=gt(Oe.Hours,2);break;case"m":e=gt(Oe.Minutes,1);break;case"mm":e=gt(Oe.Minutes,2);break;case"s":e=gt(Oe.Seconds,1);break;case"ss":e=gt(Oe.Seconds,2);break;case"S":e=gt(Oe.FractionalSeconds,1);break;case"SS":e=gt(Oe.FractionalSeconds,2);break;case"SSS":e=gt(Oe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=C4(Xr.Short);break;case"ZZZZZ":e=C4(Xr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=C4(Xr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=C4(Xr.Long);break;default:return null}return Pu[t]=e,e}function Z7(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function lE(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function uE(t,e,r){let n=r?-1:1,i=t.getTimezoneOffset(),o=Z7(e,i);return lE(t,n*(o-i))}function dE(t){if(R7(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 S4(i,o-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(tE))return hE(n)}let e=new Date(t);if(!R7(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function hE(t){let e=new Date(0),r=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(e,s,a,c,l),e}function R7(t){return t instanceof Date&&!isNaN(t.valueOf())}var fE=/^(\d+)?\.((\d+)(-(\d+))?)?$/,L7=22,T4=".",hc="0",pE=";",mE=",",Ou="#",H7="\xA4";function Q7(t,e,r,n,i,o,s=!1){let a="",c=!1;if(!isFinite(t))a=Sr(r,Ot.Infinity);else{let l=wE(t);s&&(l=yE(l));let u=e.minInt,d=e.minFrac,h=e.maxFrac;if(o){let P=o.match(fE);if(P===null)throw new Error(`${o} is not a valid digit info`);let X=P[1],$=P[3],Ae=P[5];X!=null&&(u=Au(X)),$!=null&&(d=Au($)),Ae!=null?h=Au(Ae):$!=null&&d>h&&(h=d)}bE(l,d,h);let f=l.digits,p=l.integerLen,y=l.exponent,v=[];for(c=f.every(P=>!P);p<u;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?v=f.splice(p,f.length):(v=f,f=[0]);let M=[];for(f.length>=e.lgSize&&M.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)M.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&M.unshift(f.join("")),a=M.join(Sr(r,n)),v.length&&(a+=Sr(r,i)+v.join("")),y&&(a+=Sr(r,Ot.Exponential)+"+"+y)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function gE(t,e,r,n,i){let o=W7(e,Wu.Currency),s=X7(o,Sr(e,Ot.MinusSign));return s.minFrac=eE(n),s.maxFrac=s.minFrac,Q7(t,s,e,Ot.CurrencyGroup,Ot.CurrencyDecimal,i).replace(H7,r).replace(H7,"").trim()}function vE(t,e,r){let n=W7(e,Wu.Decimal),i=X7(n,Sr(e,Ot.MinusSign));return Q7(t,i,e,Ot.Group,Ot.Decimal,r)}function X7(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(pE),i=n[0],o=n[1],s=i.indexOf(T4)!==-1?i.split(T4):[i.substring(0,i.lastIndexOf(hc)+1),i.substring(i.lastIndexOf(hc)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf(Ou));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===hc?r.minFrac=r.maxFrac=u+1:d===Ou?r.maxFrac=u+1:r.posSuf+=d}let l=a.split(mE);if(r.gSize=l[1]?l[1].length:0,r.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,o){let u=i.length-r.posPre.length-r.posSuf.length,d=o.indexOf(Ou);r.negPre=o.substring(0,d).replace(/'/g,""),r.negSuf=o.slice(d+u).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function yE(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function wE(t){let e=Math.abs(t)+"",r=0,n,i,o,s,a;for((i=e.indexOf(T4))>-1&&(e=e.replace(T4,"")),(o=e.search(/e/i))>0?(i<0&&(i=o),i+=+e.slice(o+1),e=e.substring(0,o)):i<0&&(i=e.length),o=0;e.charAt(o)===hc;o++);if(o===(a=e.length))n=[0],i=1;else{for(a--;e.charAt(a)===hc;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(e.charAt(o))}return i>L7&&(n=n.splice(0,L7-1),r=i-1,i=1),{digits:n,exponent:r,integerLen:i}}function bE(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(e,i),r),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let c=o!==0,l=e+t.integerLen,u=n.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=l?p.pop():c=!1),h>=10?1:0},0);u&&(n.unshift(u),t.integerLen++)}function Au(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function J7(t,e,r){return y7(t,e,r)}function z4(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Fu=/\s+/,V7=[],fc=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=V7,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Fu):V7}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Fu):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Fu).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(st))},e.\u0275dir=ne({type:e,selectors:[["","ngClass",""]],inputs:{klass:[W.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Ru=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,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}},pc=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Ru(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),Y7(c,o)}});for(let o=0,s=i.length;o<s;o++){let c=i.get(o).context;c.index=o,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=i.get(o.currentIndex);Y7(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(m(Xe),m(Me),m(ac))},e.\u0275dir=ne({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Y7(t,e){t.context.$implicit=e.item}var nr=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Lu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){j7("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){j7("ngIfElse",n),this._elseTemplateRef=n,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 ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(m(Xe),m(Me))},e.\u0275dir=ne({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Lu=class{constructor(){this.$implicit=null,this.ngIf=null}};function j7(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${$t(e)}'.`)}var _E=!0,E4=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},eg=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=_E?n===this._ngSwitch:n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),dK=(()=>{let e=class e{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new E4(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(i){return new(i||e)(m(Xe),m(Me),m(eg,9))},e.\u0275dir=ne({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})(),hK=(()=>{let e=class e{constructor(n,i,o){o._addDefault(new E4(n,i))}};e.\u0275fac=function(i){return new(i||e)(m(Xe),m(Me),m(eg,9))},e.\u0275dir=ne({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let t=e;return t})();var _o=(()=>{let e=class e{constructor(n,i,o){this._ngEl=n,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:br.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${i}${s}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(du),m(st))},e.\u0275dir=ne({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),mc=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(n,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(m(Xe))},e.\u0275dir=ne({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[He]});let t=e;return t})();function I4(t,e){return new z(2100,!1)}var Hu=class{createSubscription(e,r){return t4(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){t4(()=>e.unsubscribe())}},Vu=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},CE=new Vu,ME=new Hu,fK=(()=>{let e=class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Us(n))return CE;if(Su(n))return ME;throw I4(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this._ref.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(m(ft,16))},e.\u0275pipe=en({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var DE="mediumDate",xE=new E("DATE_PIPE_DEFAULT_TIMEZONE"),SE=new E("DATE_PIPE_DEFAULT_OPTIONS"),pK=(()=>{let e=class e{constructor(n,i,o){this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}transform(n,i,o,s){if(n==null||n===""||n!==n)return null;try{let a=i??this.defaultOptions?.dateFormat??DE,c=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Gu(n,a,s||this.locale,c)}catch(a){throw I4(e,a.message)}}};e.\u0275fac=function(i){return new(i||e)(m(Ii,16),m(xE,24),m(SE,24))},e.\u0275pipe=en({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var mK=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,i,o){if(!tg(n))return null;o=o||this._locale;try{let s=ng(n);return vE(s,o,i)}catch(s){throw I4(e,s.message)}}};e.\u0275fac=function(i){return new(i||e)(m(Ii,16))},e.\u0275pipe=en({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();var gK=(()=>{let e=class e{constructor(n,i="USD"){this._locale=n,this._defaultCurrencyCode=i}transform(n,i=this._defaultCurrencyCode,o="symbol",s,a){if(!tg(n))return null;a=a||this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let c=i||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?c=XT(c,o==="symbol"?"wide":"narrow",a):c=o);try{let l=ng(n);return gE(l,a,c,i,s)}catch(l){throw I4(e,l.message)}}};e.\u0275fac=function(i){return new(i||e)(m(Ii,16),m(k7,16))},e.\u0275pipe=en({name:"currency",type:e,pure:!0,standalone:!0});let t=e;return t})();function tg(t){return!(t==null||t===""||t!==t)}function ng(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var gc=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})(),Ku="browser",TE="server";function Zu(t){return t===Ku}function vc(t){return t===TE}var Qu=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>Zu(w(Yt))?new Yu(w(V),window):new ju});let t=e;return t})(),Yu=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=EE(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function EE(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var ju=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ks=class{};var wc=class{},Oi=class{},Co=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
  8. `).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var e6=class{encodeKey(e){return rg(e)}encodeValue(e){return rg(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function kE(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var PE=/%(\d[a-f0-9])/gi,OE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function rg(t){return encodeURIComponent(t).replace(PE,(e,r)=>OE[r]??e)}function k4(t){return`${t}`}var rr=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new e6,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=kE(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(k4):[k4(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(k4(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(k4(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},Qs=class{constructor(e){this.defaultValue=e}},t6=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function AE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ig(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function og(t){return typeof Blob<"u"&&t instanceof Blob}function sg(t){return typeof FormData<"u"&&t instanceof FormData}function FE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var yc=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(AE(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers||(this.headers=new Co),this.context||(this.context=new t6),!this.params)this.params=new rr,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:ig(this.body)||og(this.body)||sg(this.body)||FE(this.body)||typeof this.body=="string"?this.body:this.body instanceof rr?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||sg(this.body)?null:og(this.body)?this.body.type||null:ig(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof rr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,o=e.body!==void 0?e.body:this.body,s=e.withCredentials!==void 0?e.withCredentials:this.withCredentials,a=e.reportProgress!==void 0?e.reportProgress:this.reportProgress,c=e.headers||this.headers,l=e.params||this.params,u=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((d,h)=>d.set(h,e.setHeaders[h]),c)),e.setParams&&(l=Object.keys(e.setParams).reduce((d,h)=>d.set(h,e.setParams[h]),l)),new t(r,n,o,{params:l,headers:c,context:u,reportProgress:a,responseType:i,withCredentials:s})}},Zs=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}(Zs||{}),bc=class{constructor(e,r=A4.Ok,n="OK"){this.headers=e.headers||new Co,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},n6=class t extends bc{constructor(e={}){super(e),this.type=Zs.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},P4=class t extends bc{constructor(e={}){super(e),this.type=Zs.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},O4=class extends bc{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},A4=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(A4||{});function Ju(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var _c=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof yc)s=n;else{let l;o.headers instanceof Co?l=o.headers:l=new Co(o.headers);let u;o.params&&(o.params instanceof rr?u=o.params:u=new rr({fromObject:o.params})),s=new yc(n,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=A(s).pipe(Vr(l=>this.handler.handle(l)));if(n instanceof yc||o.observe==="events")return a;let c=a.pipe(ge(l=>l instanceof P4));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(Z(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(Z(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(Z(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(Z(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new rr().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Ju(o,i))}post(n,i,o={}){return this.request("POST",n,Ju(o,i))}put(n,i,o={}){return this.request("PUT",n,Ju(o,i))}};e.\u0275fac=function(i){return new(i||e)(g(wc))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function NE(t,e){return e(t)}function RE(t,e,r){return(n,i)=>Mr(r,()=>e(n,o=>t(o,i)))}var r6=new E(""),LE=new E(""),HE=new E("");var ag=(()=>{let e=class e extends wc{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=w(Ws);let o=w(HE,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(r6),...this.injector.get(LE,[])]));this.chain=o.reduceRight((s,a)=>RE(s,a,this.injector),NE)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(un(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(g(Oi),g(qt))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();var VE=/^\)\]\}',?\n/;function YE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var cg=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new z(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Le(i.\u0275loadImpl()):A(null)).pipe(Ze(()=>new Y(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((v,M)=>a.setRequestHeader(v,M.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let v=n.detectContentTypeHeader();v!==null&&a.setRequestHeader("Content-Type",v)}if(n.responseType){let v=n.responseType.toLowerCase();a.responseType=v!=="json"?v:"text"}let c=n.serializeBody(),l=null,u=()=>{if(l!==null)return l;let v=a.statusText||"OK",M=new Co(a.getAllResponseHeaders()),P=YE(a)||n.url;return l=new n6({headers:M,status:a.status,statusText:v,url:P}),l},d=()=>{let{headers:v,status:M,statusText:P,url:X}=u(),$=null;M!==A4.NoContent&&($=typeof a.response>"u"?a.responseText:a.response),M===0&&(M=$?A4.Ok:0);let Ae=M>=200&&M<300;if(n.responseType==="json"&&typeof $=="string"){let _e=$;$=$.replace(VE,"");try{$=$!==""?JSON.parse($):null}catch(Ee){$=_e,Ae&&(Ae=!1,$={error:Ee,text:$})}}Ae?(s.next(new P4({body:$,headers:v,status:M,statusText:P,url:X||void 0})),s.complete()):s.error(new O4({error:$,headers:v,status:M,statusText:P,url:X||void 0}))},h=v=>{let{url:M}=u(),P=new O4({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:M||void 0});s.error(P)},f=!1,p=v=>{f||(s.next(u()),f=!0);let M={type:Zs.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(M.total=v.total),n.responseType==="text"&&a.responseText&&(M.partialText=a.responseText),s.next(M)},y=v=>{let M={type:Zs.UploadProgress,loaded:v.loaded};v.lengthComputable&&(M.total=v.total),s.next(M)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",y)),a.send(c),s.next({type:Zs.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",y)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(g(Ks))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),lg=new E("XSRF_ENABLED"),jE="XSRF-TOKEN",BE=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>jE}),UE="X-XSRF-TOKEN",$E=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>UE}),F4=class{},qE=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=z4(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(g(V),g(Yt),g(BE))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function WE(t,e){let r=t.url.toLowerCase();if(!w(lg)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=w(F4).getToken(),i=w($E);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var ug=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}(ug||{});function GE(t,e){return{\u0275kind:t,\u0275providers:e}}function zK(...t){let e=[_c,cg,ag,{provide:wc,useExisting:ag},{provide:Oi,useExisting:cg},{provide:r6,useValue:WE,multi:!0},{provide:lg,useValue:!0},{provide:F4,useClass:qE}];for(let r of t)e.push(...r.\u0275providers);return Wt(e)}function IK(t){return GE(ug.Interceptors,t.map(e=>({provide:r6,useValue:e,multi:!0})))}var s6=class extends x4{constructor(){super(...arguments),this.supportsDOMEvents=!0}},a6=class t extends s6{static makeCurrent(){B7(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=KE();return r==null?null:ZE(r)}resetBaseElement(){Cc=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return z4(document.cookie,e)}},Cc=null;function KE(){return Cc=Cc||document.querySelector("base"),Cc?Cc.getAttribute("href"):null}function ZE(t){return new URL(t,document.baseURI).pathname}var QE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),c6=new E("EventManagerPlugins"),pg=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new z(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(g(c6),g(U))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),N4=class{constructor(e){this._doc=e}},i6="ng-app-id",mg=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=vc(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${i6}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(i6),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(i6,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(g(V),g(K1),g(qr,8),g(Yt))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),o6={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/MathML/"},u6=/%COMP%/g,gg="%COMP%",XE=`_nghost-${gg}`,JE=`_ngcontent-${gg}`,ez=!0,tz=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>ez});function nz(t){return JE.replace(u6,t)}function rz(t){return XE.replace(u6,t)}function vg(t,e){return e.map(r=>r.replace(u6,t))}var R4=(()=>{let e=class e{constructor(n,i,o,s,a,c,l,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=vc(c),this.defaultRenderer=new Mc(n,a,l,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===vr.ShadowDom&&(i=ke(b({},i),{encapsulation:vr.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof L4?o.applyToHost(n):o instanceof Dc&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case vr.Emulated:s=new L4(l,u,i,this.appId,d,a,c,h);break;case vr.ShadowDom:return new l6(l,u,n,i,a,c,this.nonce,h);default:s=new Dc(l,u,i,d,a,c,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(g(pg),g(mg),g(K1),g(tz),g(V),g(Yt),g(U),g(qr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Mc=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(o6[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(hg(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(hg(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new z(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=o6[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=o6[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(br.DashCase|br.Important)?e.style.setProperty(r,n,i&br.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&br.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Gs().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function hg(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var l6=class extends Mc{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=vg(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Dc=class extends Mc{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?vg(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},L4=class extends Dc{constructor(e,r,n,i,o,s,a,c){let l=i+"-"+n.id;super(e,r,n,o,s,a,c,l),this.contentAttr=nz(l),this.hostAttr=rz(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},iz=(()=>{let e=class e extends N4{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(g(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),fg=["alt","control","meta","shift"],oz={"\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"},sz={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},az=(()=>{let e=class e extends N4{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gs().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),fg.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(n,i){let o=oz[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),fg.forEach(a=>{if(a!==o){let c=sz[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(g(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function WK(t,e){return O7(b({rootComponent:t},cz(e)))}function cz(t){return{appProviders:[...fz,...t?.providers??[]],platformProviders:hz}}function lz(){a6.makeCurrent()}function uz(){return new _r}function dz(){return om(document),document}var hz=[{provide:Yt,useValue:Ku},{provide:ru,useValue:lz,multi:!0},{provide:V,useFactory:dz,deps:[]}];var fz=[{provide:G1,useValue:"root"},{provide:_r,useFactory:uz,deps:[]},{provide:c6,useClass:iz,multi:!0,deps:[V,U,Yt]},{provide:c6,useClass:az,multi:!0,deps:[V]},R4,mg,pg,{provide:Jn,useExisting:R4},{provide:Ks,useClass:QE,deps:[]},[]];function pz(){return new xc(g(V))}var xc=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(g(V))},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new i:o=pz(),o},providedIn:"root"});let t=e;return t})();var Mo=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=g(yg),o},providedIn:"root"});let t=e;return t})();function mz(t){return new yg(t.get(V))}var yg=(()=>{let e=class e extends Mo{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case yn.NONE:return i;case yn.HTML:return Wr(i,"HTML")?vn(i):au(this._doc,String(i)).toString();case yn.STYLE:return Wr(i,"Style")?vn(i):i;case yn.SCRIPT:if(Wr(i,"Script"))return vn(i);throw new z(5200,!1);case yn.URL:return Wr(i,"URL")?vn(i):e4(String(i));case yn.RESOURCE_URL:if(Wr(i,"ResourceURL"))return vn(i);throw new z(5201,!1);default:throw new z(5202,!1)}}bypassSecurityTrustHtml(n){return _m(n)}bypassSecurityTrustStyle(n){return Cm(n)}bypassSecurityTrustScript(n){return Mm(n)}bypassSecurityTrustUrl(n){return Dm(n)}bypassSecurityTrustResourceUrl(n){return xm(n)}};e.\u0275fac=function(i){return new(i||e)(g(V))},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new i:o=mz(g(Ue)),o},providedIn:"root"});let t=e;return t})();var ve="primary",Yc=Symbol("RouteTitle"),g6=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function na(t){return new g6(t)}function gz(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function vz(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Er(t[r],e[r]))return!1;return!0}function Er(t,e){let r=t?v6(t):void 0,n=e?v6(e):void 0;if(!r||!n||r.length!=n.length)return!1;let i;for(let o=0;o<r.length;o++)if(i=r[o],!Tg(t[i],e[i]))return!1;return!0}function v6(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Tg(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((i,o)=>n[o]===i)}else return t===e}function Ri(t){return Tn(t)?t:Us(t)?Le(Promise.resolve(t)):A(t)}var yz={exact:zg,subset:Ig},Eg={exact:wz,subset:bz,ignored:()=>!0};function wg(t,e,r){return yz[r.paths](t.root,e.root,r.matrixParams)&&Eg[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function wz(t,e){return Er(t,e)}function zg(t,e,r){if(!xo(t.segments,e.segments)||!Y4(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!zg(t.children[n],e.children[n],r))return!1;return!0}function bz(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Tg(t[r],e[r]))}function Ig(t,e,r){return kg(t,e,e.segments,r)}function kg(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!xo(i,r)||e.hasChildren()||!Y4(i,r,n))}else if(t.segments.length===r.length){if(!xo(t.segments,r)||!Y4(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Ig(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!xo(t.segments,i)||!Y4(t.segments,i,n)||!t.children[ve]?!1:kg(t.children[ve],e,o,n)}}function Y4(t,e,r){return e.every((n,i)=>Eg[r](t[i].parameters,n.parameters))}var Ai=class{constructor(e=new Ne([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=na(this.queryParams),this._queryParamMap}toString(){return Mz.serialize(this)}},Ne=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return j4(this)}},Do=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=na(this.parameters),this._parameterMap}toString(){return Og(this)}};function _z(t,e){return xo(t,e)&&t.every((r,n)=>Er(r.parameters,e[n].parameters))}function xo(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function Cz(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===ve&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==ve&&(r=r.concat(e(i,n)))}),r}var sa=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new Pc,providedIn:"root"});let t=e;return t})(),Pc=class{parse(e){let r=new w6(e);return new Ai(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Sc(e.root,!0)}`,n=Sz(e.queryParams),i=typeof e.fragment=="string"?`#${Dz(e.fragment)}`:"";return`${r}${n}${i}`}},Mz=new Pc;function j4(t){return t.segments.map(e=>Og(e)).join("/")}function Sc(t,e){if(!t.hasChildren())return j4(t);if(e){let r=t.children[ve]?Sc(t.children[ve],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==ve&&n.push(`${i}:${Sc(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=Cz(t,(n,i)=>i===ve?[Sc(t.children[ve],!1)]:[`${i}:${Sc(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[ve]!=null?`${j4(t)}/${r[0]}`:`${j4(t)}/(${r.join("//")})`}}function Pg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function H4(t){return Pg(t).replace(/%3B/gi,";")}function Dz(t){return encodeURI(t)}function y6(t){return Pg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function B4(t){return decodeURIComponent(t)}function bg(t){return B4(t.replace(/\+/g,"%20"))}function Og(t){return`${y6(t.path)}${xz(t.parameters)}`}function xz(t){return Object.entries(t).map(([e,r])=>`;${y6(e)}=${y6(r)}`).join("")}function Sz(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${H4(r)}=${H4(i)}`).join("&"):`${H4(r)}=${H4(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var Tz=/^[^\/()?;#]+/;function h6(t){let e=t.match(Tz);return e?e[0]:""}var Ez=/^[^\/()?;=#]+/;function zz(t){let e=t.match(Ez);return e?e[0]:""}var Iz=/^[^=?&#]+/;function kz(t){let e=t.match(Iz);return e?e[0]:""}var Pz=/^[^&#]+/;function Oz(t){let e=t.match(Pz);return e?e[0]:""}var w6=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){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));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[ve]=new Ne(e,r)),n}parseSegment(){let e=h6(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new z(4009,!1);return this.capture(e),new Do(B4(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=zz(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=h6(this.remaining);i&&(n=i,this.capture(n))}e[B4(r)]=B4(n)}parseQueryParam(e){let r=kz(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=Oz(this.remaining);s&&(n=s,this.capture(n))}let i=bg(r),o=bg(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=h6(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new z(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=ve);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[ve]:new Ne([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new z(4011,!1)}};function Ag(t){return t.segments.length>0?new Ne([],{[ve]:t}):t}function Fg(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=Fg(i);if(n===ve&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new Ne(t.segments,e);return Az(r)}function Az(t){if(t.numberOfChildren===1&&t.children[ve]){let e=t.children[ve];return new Ne(t.segments.concat(e.segments),e.children)}return t}function ra(t){return t instanceof Ai}function Fz(t,e,r=null,n=null){let i=Ng(t);return Rg(i,e,r,n)}function Ng(t){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new Ne(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Ag(n);return e??i}function Rg(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return f6(i,i,i,r,n);let o=Nz(e);if(o.toRoot())return f6(i,i,new Ne([],{}),r,n);let s=Rz(o,i,t),a=s.processChildren?zc(s.segmentGroup,s.index,o.commands):Hg(s.segmentGroup,s.index,o.commands);return f6(i,s.segmentGroup,a,r,n)}function U4(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Oc(t){return typeof t=="object"&&t!=null&&t.outlets}function f6(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===e?s=r:s=Lg(t,e,r);let a=Ag(Fg(s));return new Ai(a,o,i)}function Lg(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Lg(o,e,r)}),new Ne(t.segments,n)}var $4=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&U4(n[0]))throw new z(4003,!1);let i=n.find(Oc);if(i&&i!==n.at(-1))throw new z(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Nz(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new $4(!0,0,t);let e=0,r=!1,n=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===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new $4(r,e,n)}var ea=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function Rz(t,e,r){if(t.isAbsolute)return new ea(e,!0,0);if(!r)return new ea(e,!1,NaN);if(r.parent===null)return new ea(r,!0,0);let n=U4(t.commands[0])?0:1,i=r.segments.length-1+n;return Lz(r,i,t.numberOfDoubleDots)}function Lz(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new z(4005,!1);i=n.segments.length}return new ea(n,!1,i-o)}function Hz(t){return Oc(t[0])?t[0].outlets:{[ve]:t}}function Hg(t,e,r){if(t??=new Ne([],{}),t.segments.length===0&&t.hasChildren())return zc(t,e,r);let n=Vz(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new Ne(t.segments.slice(0,n.pathIndex),{});return o.children[ve]=new Ne(t.segments.slice(n.pathIndex),t.children),zc(o,0,i)}else return n.match&&i.length===0?new Ne(t.segments,{}):n.match&&!t.hasChildren()?b6(t,e,r):n.match?zc(t,0,i):b6(t,e,r)}function zc(t,e,r){if(r.length===0)return new Ne(t.segments,{});{let n=Hz(r),i={};if(Object.keys(n).some(o=>o!==ve)&&t.children[ve]&&t.numberOfChildren===1&&t.children[ve].segments.length===0){let o=zc(t.children[ve],e,r);return new Ne(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Hg(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new Ne(t.segments,i)}}function Vz(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=r.length)return o;let s=t.segments[i],a=r[n];if(Oc(a))break;let c=`${a}`,l=n<r.length-1?r[n+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Cg(c,l,s))return o;n+=2}else{if(!Cg(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function b6(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i<r.length;){let o=r[i];if(Oc(o)){let c=Yz(o.outlets);return new Ne(n,c)}if(i===0&&U4(r[0])){let c=t.segments[e];n.push(new Do(c.path,_g(r[0]))),i++;continue}let s=Oc(o)?o.outlets[ve]:`${o}`,a=i<r.length-1?r[i+1]:null;s&&a&&U4(a)?(n.push(new Do(s,_g(a))),i+=2):(n.push(new Do(s,{})),i++)}return new Ne(n,{})}function Yz(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=b6(new Ne([],{}),0,n))}),e}function _g(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Cg(t,e,r){return t==r.path&&Er(e,r.parameters)}var Ic="imperative",Tt=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}(Tt||{}),Nn=class{constructor(e,r){this.id=e,this.url=r}},ia=class extends Nn{constructor(e,r,n="imperative",i=null){super(e,r),this.type=Tt.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},zr=class extends Nn{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=Tt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Fn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Fn||{}),q4=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(q4||{}),Fi=class extends Nn{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Tt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ni=class extends Nn{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Tt.NavigationSkipped}},Ac=class extends Nn{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=Tt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},W4=class extends Nn{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Tt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_6=class extends Nn{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Tt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},C6=class extends Nn{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Tt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},M6=class extends Nn{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Tt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},D6=class extends Nn{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Tt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},x6=class{constructor(e){this.route=e,this.type=Tt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},S6=class{constructor(e){this.route=e,this.type=Tt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},T6=class{constructor(e){this.snapshot=e,this.type=Tt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},E6=class{constructor(e){this.snapshot=e,this.type=Tt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},z6=class{constructor(e){this.snapshot=e,this.type=Tt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},I6=class{constructor(e){this.snapshot=e,this.type=Tt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},G4=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=Tt.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Fc=class{},Nc=class{constructor(e){this.url=e}};var k6=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new jc,this.attachRef=null}},jc=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new k6,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),K4=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=P6(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=P6(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=O6(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return O6(e,this._root).map(r=>r.value)}};function P6(t,e){if(t===e.value)return e;for(let r of e.children){let n=P6(t,r);if(n)return n}return null}function O6(t,e){if(t===e.value)return[e];for(let r of e.children){let n=O6(t,r);if(n.length)return n.unshift(e),n}return[]}var _n=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Js(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Z4=class extends K4{constructor(e,r){super(e),this.snapshot=r,B6(this,e)}toString(){return this.snapshot.toString()}};function Vg(t){let e=jz(t),r=new Re([new Do("",{})]),n=new Re({}),i=new Re({}),o=new Re({}),s=new Re(""),a=new Ir(r,n,o,s,i,ve,t,e.root);return a.snapshot=e.root,new Z4(new _n(a,[]),e)}function jz(t){let e={},r={},n={},i="",o=new Rc([],e,n,i,r,ve,t,null,{});return new Q4("",new _n(o,[]))}var Ir=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Z(l=>l[Yc]))??A(void 0),this.url=e,this.params=r,this.queryParams=n,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(Z(e=>na(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Z(e=>na(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function j6(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&jg(i)&&(n.resolve[Yc]=i.title),n}var Rc=class{get title(){return this.data?.[Yc]}constructor(e,r,n,i,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=na(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=na(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Q4=class extends K4{constructor(e,r){super(r),this.url=e,B6(this,r)}toString(){return Yg(this._root)}};function B6(t,e){e.value._routerState=t,e.children.forEach(r=>B6(t,r))}function Yg(t){let e=t.children.length>0?` { ${t.children.map(Yg).join(", ")} } `:"";return`${t.value}${e}`}function p6(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Er(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Er(e.params,r.params)||t.paramsSubject.next(r.params),vz(e.url,r.url)||t.urlSubject.next(r.url),Er(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function A6(t,e){let r=Er(t.params,e.params)&&_z(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||A6(t.parent,e.parent))}function jg(t){return typeof t.title=="string"||t.title===null}var Bz=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ve,this.activateEvents=new re,this.deactivateEvents=new re,this.attachEvents=new re,this.detachEvents=new re,this.parentContexts=w(jc),this.location=w(Xe),this.changeDetector=w(ft),this.environmentInjector=w(qt),this.inputBinder=w(t2,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new z(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new z(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new F6(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[He]});let t=e;return t})(),F6=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Ir?this.route:e===jc?this.childContexts:this.parent.get(e,r)}},t2=new E(""),Mg=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=Ji([i.queryParams,i.params,i.data]).pipe(Ze(([s,a,c],l)=>(c=b(b(b({},s),a),c),l===0?A(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=A7(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function Uz(t,e,r){let n=Lc(t,e._root,r?r._root:void 0);return new Z4(n,e)}function Lc(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=$z(t,e,r);return new _n(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Lc(t,a)),s}}let n=qz(e.value),i=e.children.map(o=>Lc(t,o));return new _n(n,i)}}function $z(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Lc(t,n,i);return Lc(t,n)})}function qz(t){return new Ir(new Re(t.url),new Re(t.params),new Re(t.queryParams),new Re(t.fragment),new Re(t.data),t.outlet,t.component,t)}var Bg="ngNavigationCancelingError";function Ug(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=ra(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=$g(!1,Fn.Redirect,e);return i.url=r,i.navigationBehaviorOptions=n,i}function $g(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Bg]=!0,n.cancellationCode=e,r&&(n.url=r),n}function Wz(t){return qg(t)&&ra(t.url)}function qg(t){return t&&t[Bg]}var Gz=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=bt({type:e,selectors:[["ng-component"]],standalone:!0,features:[_t],decls:1,vars:0,template:function(i,o){i&1&&et(0,"router-outlet")},dependencies:[Bz],encapsulation:2});let t=e;return t})();function Kz(t,e){return t.providers&&!t._injector&&(t._injector=h4(t.providers,e,`Route: ${t.path}`)),t._injector??e}function U6(t){let e=t.children&&t.children.map(U6),r=e?ke(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==ve&&(r.component=Gz),r}function kr(t){return t.outlet||ve}function Zz(t,e){let r=t.filter(n=>kr(n)===e);return r.push(...t.filter(n=>kr(n)!==e)),r}function Bc(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Qz=(t,e,r,n)=>Z(i=>(new N6(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),N6=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),p6(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Js(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Js(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Js(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Js(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new I6(o.value.snapshot))}),e.children.length&&this.forwardEvent(new E6(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(p6(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.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),p6(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Bc(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},X4=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ta=class{constructor(e,r){this.component=e,this.route=r}};function Xz(t,e,r){let n=t._root,i=e?e._root:null;return Tc(n,i,r,[n.value])}function Jz(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function aa(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!tp(t)?t:e.get(t):n}function Tc(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Js(e);return t.children.forEach(s=>{eI(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>kc(a,r.getContext(s),i)),i}function eI(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=tI(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new X4(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Tc(t,e,a?a.children:null,n,i):Tc(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ta(a.outlet.component,s))}else s&&kc(e,a,i),i.canActivateChecks.push(new X4(n)),o.component?Tc(t,null,a?a.children:null,n,i):Tc(t,null,r,n,i);return i}function tI(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!xo(t.url,e.url);case"pathParamsOrQueryParamsChange":return!xo(t.url,e.url)||!Er(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!A6(t,e)||!Er(t.queryParams,e.queryParams);case"paramsChange":default:return!A6(t,e)}}function kc(t,e,r){let n=Js(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?kc(s,e.children.getContext(o),r):kc(s,null,r):kc(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ta(e.outlet.component,i)):r.canDeactivateChecks.push(new ta(null,i)):r.canDeactivateChecks.push(new ta(null,i))}function Uc(t){return typeof t=="function"}function nI(t){return typeof t=="boolean"}function rI(t){return t&&Uc(t.canLoad)}function iI(t){return t&&Uc(t.canActivate)}function oI(t){return t&&Uc(t.canActivateChild)}function sI(t){return t&&Uc(t.canDeactivate)}function aI(t){return t&&Uc(t.canMatch)}function Wg(t){return t instanceof Gn||t?.name==="EmptyError"}var V4=Symbol("INITIAL_VALUE");function oa(){return Ze(t=>Ji(t.map(e=>e.pipe(ze(1),Rt(V4)))).pipe(Z(e=>{for(let r of e)if(r!==!0){if(r===V4)return V4;if(r===!1||r instanceof Ai)return r}return!0}),ge(e=>e!==V4),ze(1)))}function cI(t,e){return Ke(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?A(ke(b({},r),{guardsResult:!0})):lI(s,n,i,t).pipe(Ke(a=>a&&nI(a)?uI(n,o,t,e):A(a)),Z(a=>ke(b({},r),{guardsResult:a})))})}function lI(t,e,r,n){return Le(t).pipe(Ke(i=>mI(i.component,i.route,r,e,n)),hr(i=>i!==!0,!0))}function uI(t,e,r,n){return Le(e).pipe(Vr(i=>dr(hI(i.route.parent,n),dI(i.route,n),pI(t,i.path,r),fI(t,i.route,r))),hr(i=>i!==!0,!0))}function dI(t,e){return t!==null&&e&&e(new z6(t)),A(!0)}function hI(t,e){return t!==null&&e&&e(new T6(t)),A(!0)}function fI(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return A(!0);let i=n.map(o=>gs(()=>{let s=Bc(e)??r,a=aa(o,s),c=iI(a)?a.canActivate(e,t):Mr(s,()=>a(e,t));return Ri(c).pipe(hr())}));return A(i).pipe(oa())}function pI(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>Jz(s)).filter(s=>s!==null).map(s=>gs(()=>{let a=s.guards.map(c=>{let l=Bc(s.node)??r,u=aa(c,l),d=oI(u)?u.canActivateChild(n,t):Mr(l,()=>u(n,t));return Ri(d).pipe(hr())});return A(a).pipe(oa())}));return A(o).pipe(oa())}function mI(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let s=o.map(a=>{let c=Bc(e)??i,l=aa(a,c),u=sI(l)?l.canDeactivate(t,e,r,n):Mr(c,()=>l(t,e,r,n));return Ri(u).pipe(hr())});return A(s).pipe(oa())}function gI(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return A(!0);let o=i.map(s=>{let a=aa(s,t),c=rI(a)?a.canLoad(e,r):Mr(t,()=>a(e,r));return Ri(c)});return A(o).pipe(oa(),Gg(n))}function Gg(t){return G3(Fe(e=>{if(ra(e))throw Ug(t,e)}),Z(e=>e===!0))}function vI(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return A(!0);let o=i.map(s=>{let a=aa(s,t),c=aI(a)?a.canMatch(e,r):Mr(t,()=>a(e,r));return Ri(c)});return A(o).pipe(oa(),Gg(n))}var Hc=class{constructor(e){this.segmentGroup=e||null}},J4=class extends Error{constructor(e){super(),this.urlTree=e}};function Xs(t){return vi(new Hc(t))}function yI(t){return vi(new z(4e3,!1))}function wI(t){return vi($g(!1,Fn.GuardRejected))}var R6=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return A(n);if(i.numberOfChildren>1||!i.children[ve])return yI(e.redirectTo);i=i.children[ve]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new J4(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new Ai(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new Ne(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new z(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},L6={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bI(t,e,r,n,i){let o=$6(t,e,r);return o.matched?(n=Kz(e,n),vI(n,e,r,i).pipe(Z(s=>s===!0?o:b({},L6)))):A(o)}function $6(t,e,r){if(e.path==="**")return _I(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},L6):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||gz)(r,t,e);if(!i)return b({},L6);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function _I(t){return{matched:!0,parameters:t.at(-1)?.parameters??{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Dg(t,e,r,n){return r.length>0&&DI(t,r,n)?{segmentGroup:new Ne(e,MI(n,new Ne(r,t.children))),slicedSegments:[]}:r.length===0&&xI(t,r,n)?{segmentGroup:new Ne(t.segments,CI(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new Ne(t.segments,t.children),slicedSegments:r}}function CI(t,e,r,n){let i={};for(let o of r)if(n2(t,e,o)&&!n[kr(o)]){let s=new Ne([],{});i[kr(o)]=s}return b(b({},n),i)}function MI(t,e){let r={};r[ve]=e;for(let n of t)if(n.path===""&&kr(n)!==ve){let i=new Ne([],{});r[kr(n)]=i}return r}function DI(t,e,r){return r.some(n=>n2(t,e,n)&&kr(n)!==ve)}function xI(t,e,r){return r.some(n=>n2(t,e,n))}function n2(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function SI(t,e,r,n){return kr(t)!==n&&(n===ve||!n2(e,r,t))?!1:$6(e,t,r).matched}function TI(t,e,r){return e.length===0&&!t.children[r]}var H6=class{};function EI(t,e,r,n,i,o,s="emptyOnly"){return new V6(t,e,r,n,i,s,o).recognize()}var zI=31,V6=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new R6(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new z(4002,`'${e.segmentGroup}'`)}recognize(){let e=Dg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(Z(r=>{let n=new Rc([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,{},ve,this.rootComponentType,null,{}),i=new _n(n,r),o=new Q4("",i),s=Fz(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,ve).pipe(En(n=>{if(n instanceof J4)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Hc?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=j6(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(Z(o=>o instanceof _n?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return Le(i).pipe(Vr(o=>{let s=n.children[o],a=Zz(r,o);return this.processSegmentGroup(e,a,s,o)}),s0((o,s)=>(o.push(...s),o)),bi(null),i0(),Ke(o=>{if(o===null)return Xs(n);let s=Kg(o);return II(s),A(s)}))}processSegment(e,r,n,i,o,s){return Le(r).pipe(Vr(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(En(c=>{if(c instanceof Hc)return A(null);throw c}))),hr(a=>!!a),En(a=>{if(Wg(a))return TI(n,i,o)?A(new H6):Xs(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return SI(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):Xs(i):Xs(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:u}=$6(r,i,o);if(!a)return Xs(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>zI&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,l);return this.applyRedirects.lineralizeSegments(i,d).pipe(Ke(h=>this.processSegment(e,n,r,h.concat(u),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s=bI(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(Ze(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Ze(({routes:c})=>{let l=n._loadedInjector??e,{consumedSegments:u,remainingSegments:d,parameters:h}=a,f=new Rc(u,h,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,PI(n),kr(n),n.component??n._loadedComponent??null,n,OI(n)),{segmentGroup:p,slicedSegments:y}=Dg(r,u,d,c);if(y.length===0&&p.hasChildren())return this.processChildren(l,c,p).pipe(Z(M=>M===null?null:new _n(f,M)));if(c.length===0&&y.length===0)return A(new _n(f,[]));let v=kr(n)===o;return this.processSegment(l,c,p,y,v?ve:o,!0).pipe(Z(M=>new _n(f,M instanceof _n?[M]:[])))}))):Xs(r)))}getChildConfig(e,r,n){return r.children?A({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?A({routes:r._loadedRoutes,injector:r._loadedInjector}):gI(e,r,n,this.urlSerializer).pipe(Ke(i=>i?this.configLoader.loadChildren(e,r).pipe(Fe(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):wI(r))):A({routes:[],injector:e})}};function II(t){t.sort((e,r)=>e.value.outlet===ve?-1:r.value.outlet===ve?1:e.value.outlet.localeCompare(r.value.outlet))}function kI(t){let e=t.value.routeConfig;return e&&e.path===""}function Kg(t){let e=[],r=new Set;for(let n of t){if(!kI(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Kg(n.children);e.push(new _n(n.value,i))}return e.filter(n=>!r.has(n))}function PI(t){return t.data||{}}function OI(t){return t.resolve||{}}function AI(t,e,r,n,i,o){return Ke(s=>EI(t,e,r,n,s.extractedUrl,i,o).pipe(Z(({state:a,tree:c})=>ke(b({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function FI(t,e){return Ke(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return A(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of Zg(c))s.add(l);let a=0;return Le(s).pipe(Vr(c=>o.has(c)?NI(c,n,t,e):(c.data=j6(c,c.parent,t).resolve,A(void 0))),Fe(()=>a++),bs(1),Ke(c=>a===s.size?A(r):Dt))})}function Zg(t){let e=t.children.map(r=>Zg(r)).flat();return[t,...e]}function NI(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!jg(i)&&(o[Yc]=i.title),RI(o,t,e,n).pipe(Z(s=>(t._resolvedData=s,t.data=j6(t,t.parent,r).resolve,null)))}function RI(t,e,r,n){let i=v6(t);if(i.length===0)return A({});let o={};return Le(i).pipe(Ke(s=>LI(t[s],e,r,n).pipe(hr(),Fe(a=>{o[s]=a}))),bs(1),eo(o),En(s=>Wg(s)?Dt:vi(s)))}function LI(t,e,r,n){let i=Bc(e)??n,o=aa(t,i),s=o.resolve?o.resolve(e,r):Mr(i,()=>o(e,r));return Ri(s)}function m6(t){return Ze(e=>{let r=t(e);return r?Le(r).pipe(Z(()=>e)):A(e)})}var Qg=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===ve);return i}getResolvedTitleForRoute(n){return n.data[Yc]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>w(HI),providedIn:"root"});let t=e;return t})(),HI=(()=>{let e=class e extends Qg{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(g(xc))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$c=new E("",{providedIn:"root",factory:()=>({})}),Vc=new E("ROUTES"),q6=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=w(m4)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return A(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Ri(n.loadComponent()).pipe(Z(Xg),Fe(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),un(()=>{this.componentLoaders.delete(n)})),o=new lr(i,()=>new S).pipe(ds());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return A({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=VI(i,this.compiler,n,this.onLoadEndListener).pipe(un(()=>{this.childrenLoaders.delete(i)})),a=new lr(s,()=>new S).pipe(ds());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function VI(t,e,r,n){return Ri(t.loadChildren()).pipe(Z(Xg),Ke(i=>i instanceof tc||Array.isArray(i)?A(i):Le(e.compileModuleAsync(i))),Z(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(Vc,[],{optional:!0,self:!0}).flat()),{routes:s.map(U6),injector:o}}))}function YI(t){return t&&typeof t=="object"&&"default"in t}function Xg(t){return YI(t)?t.default:t}var W6=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>w(jI),providedIn:"root"});let t=e;return t})(),jI=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jg=new E(""),e9=new E("");function BI(t,e,r){let n=t.get(e9),i=t.get(V);return t.get(U).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),UI(t))),{onViewTransitionCreated:c}=n;return c&&Mr(t,()=>c({transition:a,from:e,to:r})),s})}function UI(t){return new Promise(e=>{bu(e,{injector:t})})}var r2=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new S,this.transitionAbortSubject=new S,this.configLoader=w(q6),this.environmentInjector=w(qt),this.urlSerializer=w(sa),this.rootContexts=w(jc),this.location=w(ki),this.inputBindingEnabled=w(t2,{optional:!0})!==null,this.titleStrategy=w(Qg),this.options=w($c,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=w(W6),this.createViewTransition=w(Jg,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>A(void 0),this.rootComponentType=null;let n=o=>this.events.next(new x6(o)),i=o=>this.events.next(new S6(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(ke(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Re({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ic,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ge(s=>s.id!==0),Z(s=>ke(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ze(s=>{this.currentTransition=s;let a=!1,c=!1;return A(s).pipe(Fe(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ke(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Ze(l=>{let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&d!=="reload"){let h="";return this.events.next(new Ni(l.id,this.urlSerializer.serialize(l.rawUrl),h,q4.IgnoredSameUrlNavigation)),l.resolve(null),Dt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return A(l).pipe(Ze(h=>{let f=this.transitions?.getValue();return this.events.next(new ia(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?Dt:Promise.resolve(h)}),AI(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Fe(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=ke(b({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new W4(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:h,extractedUrl:f,source:p,restoredState:y,extras:v}=l,M=new ia(h,this.urlSerializer.serialize(f),p,y);this.events.next(M);let P=Vg(this.rootComponentType).snapshot;return this.currentTransition=s=ke(b({},l),{targetSnapshot:P,urlAfterRedirects:f,extras:ke(b({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,A(s)}else{let h="";return this.events.next(new Ni(l.id,this.urlSerializer.serialize(l.extractedUrl),h,q4.IgnoredByUrlHandlingStrategy)),l.resolve(null),Dt}}),Fe(l=>{let u=new _6(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),Z(l=>(this.currentTransition=s=ke(b({},l),{guards:Xz(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),cI(this.environmentInjector,l=>this.events.next(l)),Fe(l=>{if(s.guardsResult=l.guardsResult,ra(l.guardsResult))throw Ug(this.urlSerializer,l.guardsResult);let u=new C6(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),ge(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Fn.GuardRejected),!1)),m6(l=>{if(l.guards.canActivateChecks.length)return A(l).pipe(Fe(u=>{let d=new M6(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),Ze(u=>{let d=!1;return A(u).pipe(FI(this.paramsInheritanceStrategy,this.environmentInjector),Fe({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",Fn.NoDataFromResolver)}}))}),Fe(u=>{let d=new D6(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),m6(l=>{let u=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(Fe(f=>{d.component=f}),Z(()=>{})));for(let f of d.children)h.push(...u(f));return h};return Ji(u(l.targetSnapshot.root)).pipe(bi(null),ze(1))}),m6(()=>this.afterPreactivation()),Ze(()=>{let{currentSnapshot:l,targetSnapshot:u}=s,d=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return d?Le(d).pipe(Z(()=>s)):A(s)}),Z(l=>{let u=Uz(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=ke(b({},l),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),Fe(()=>{this.events.next(new Fc)}),Qz(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),ze(1),Fe({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new zr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),ce(this.transitionAbortSubject.pipe(Fe(l=>{throw l}))),un(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Fn.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),En(l=>{if(c=!0,qg(l))this.events.next(new Fi(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),Wz(l)?this.events.next(new Nc(l.url)):s.resolve(!1);else{this.events.next(new Ac(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(l))}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return Dt}))}))}cancelNavigationTransition(n,i,o){let s=new Fi(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function $I(t){return t!==Ic}var qI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>w(WI),providedIn:"root"});let t=e;return t})(),Y6=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},WI=(()=>{let e=class e extends Y6{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ls(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),t9=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>w(GI),providedIn:"root"});let t=e;return t})(),GI=(()=>{let e=class e extends t9{constructor(){super(...arguments),this.location=w(ki),this.urlSerializer=w(sa),this.options=w($c,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=w(W6),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ai,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Vg(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof ia)this.stateMemento=this.createStateMemento();else if(n instanceof Ni)this.rawUrlTree=i.initialUrl;else if(n instanceof W4){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Fc?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof Fi&&(n.code===Fn.GuardRejected||n.code===Fn.NoDataFromResolver)?this.restoreHistory(i):n instanceof Ac?this.restoreHistory(i,!0):n instanceof zr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ls(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ec=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ec||{});function n9(t,e){t.events.pipe(ge(r=>r instanceof zr||r instanceof Fi||r instanceof Ac||r instanceof Ni),Z(r=>r instanceof zr||r instanceof Ni?Ec.COMPLETE:(r instanceof Fi?r.code===Fn.Redirect||r.code===Fn.SupersededByNewNavigation:!1)?Ec.REDIRECTING:Ec.FAILED),ge(r=>r!==Ec.REDIRECTING),ze(1)).subscribe(()=>{e()})}function KI(t){throw t}var ZI={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},QI={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ir=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=w(p4),this.stateManager=w(t9),this.options=w($c,{optional:!0})||{},this.pendingTasks=w(Ws),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=w(r2),this.urlSerializer=w(sa),this.location=w(ki),this.urlHandlingStrategy=w(W6),this._events=new S,this.errorHandler=this.options.errorHandler||KI,this.navigated=!1,this.routeReuseStrategy=w(qI),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=w(Vc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!w(t2,{optional:!0}),this.eventsSubscription=new ye,this.isNgZoneEnabled=w(U)instanceof U&&U.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Fi&&i.code!==Fn.Redirect&&i.code!==Fn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof zr)this.navigated=!0;else if(i instanceof Nc){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||$I(o.source)};this.scheduleNavigation(a,Ic,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}JI(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ic,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=b({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(U6),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=o?o.snapshot:this.routerState.snapshot.root;h=Ng(f)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),h=this.currentUrlTree.root}return Rg(h,n,d,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=ra(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ic,null,i)}navigate(n,i={skipLocationChange:!1}){return XI(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},ZI):i===!1?o=b({},QI):o=i,ra(n))return wg(this.currentUrlTree,n,o);let s=this.parseUrl(n);return wg(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((h,f)=>{c=h,l=f});let d=this.pendingTasks.add();return n9(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function XI(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new z(4008,!1)}function JI(t){return!(t instanceof Fc)&&!(t instanceof Nc)}var dZ=(()=>{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new S,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof zr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||i||o||s||a||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(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:Im(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(m(ir),m(Ir),Z8("tabindex"),m(st),m(oe),m(Tr))},e.\u0275dir=ne({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&Pt("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&kn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[W.HasDecoratorInputTransform,"preserveFragment","preserveFragment",ut],skipLocationChange:[W.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",ut],replaceUrl:[W.HasDecoratorInputTransform,"replaceUrl","replaceUrl",ut],routerLink:"routerLink"},standalone:!0,features:[rn,He]});let t=e;return t})();var e2=class{};var ek=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ge(n=>n instanceof zr),Vr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=h4(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return Le(o).pipe(yi())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=A(null);let s=o.pipe(Ke(a=>a===null?A(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return Le([s,a]).pipe(yi())}else return s})}};e.\u0275fac=function(i){return new(i||e)(g(ir),g(m4),g(qt),g(e2),g(q6))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),G6=new E(""),r9=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.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(n=>{n instanceof ia?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof zr?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ni&&n.code===q4.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof G4&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new G4(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){n4()},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function hZ(t,...e){return Wt([{provide:Vc,multi:!0,useValue:t},[],{provide:Ir,useFactory:i9,deps:[ir]},{provide:uc,multi:!0,useFactory:o9},e.map(r=>r.\u0275providers)])}function i9(t){return t.routerState.root}function So(t,e){return{\u0275kind:t,\u0275providers:e}}function fZ(t={}){return So(4,[{provide:G6,useFactory:()=>{let r=w(Qu),n=w(U),i=w(r2),o=w(sa);return new r9(o,i,r,n,t)}}])}function o9(){let t=w(Ue);return e=>{let r=t.get(xr);if(e!==r.components[0])return;let n=t.get(ir),i=t.get(s9);t.get(K6)===1&&n.initialNavigation(),t.get(a9,null,be.Optional)?.setUpPreloading(),t.get(G6,null,be.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var s9=new E("",{factory:()=>new S}),K6=new E("",{providedIn:"root",factory:()=>1});function tk(){return So(2,[{provide:K6,useValue:0},{provide:g4,multi:!0,deps:[Ue],useFactory:e=>{let r=e.get(U7,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(ir),o=e.get(s9);n9(i,()=>{n(!0)}),e.get(r2).afterPreactivation=()=>(n(!0),o.closed?A(void 0):o),i.initialNavigation()}))}}])}function nk(){return So(3,[{provide:g4,multi:!0,useFactory:()=>{let e=w(ir);return()=>{e.setUpLocationChangeListener()}}},{provide:K6,useValue:2}])}var a9=new E("");function rk(t){return So(0,[{provide:a9,useExisting:ek},{provide:e2,useExisting:t}])}function pZ(){return So(6,[{provide:Tr,useClass:qu}])}function ik(){return So(8,[Mg,{provide:t2,useExisting:Mg}])}function ok(t){let e=[{provide:Jg,useValue:BI},{provide:e9,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return So(9,e)}var xg=new E("ROUTER_FORROOT_GUARD"),sk=[ki,{provide:sa,useClass:Pc},ir,jc,{provide:Ir,useFactory:i9,deps:[ir]},q6,[]],c9=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[sk,[],{provide:Vc,multi:!0,useValue:n},{provide:xg,useFactory:uk,deps:[[ir,new $r,new Hs]]},{provide:$c,useValue:i||{}},i?.useHash?ck():lk(),ak(),i?.preloadingStrategy?rk(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?dk(i):[],i?.bindToComponentInputs?ik().\u0275providers:[],i?.enableViewTransitions?ok().\u0275providers:[],hk()]}}static forChild(n){return{ngModule:e,providers:[{provide:Vc,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(g(xg,8))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();function ak(){return{provide:G6,useFactory:()=>{let t=w(Qu),e=w(U),r=w($c),n=w(r2),i=w(sa);return r.scrollOffset&&t.setOffset(r.scrollOffset),new r9(i,n,t,e,r)}}}function ck(){return{provide:Tr,useClass:qu}}function lk(){return{provide:Tr,useClass:$u}}function uk(t){return"guarded"}function dk(t){return[t.initialNavigation==="disabled"?nk().\u0275providers:[],t.initialNavigation==="enabledBlocking"?tk().\u0275providers:[]]}var Sg=new E("");function hk(){return[{provide:Sg,useFactory:o9},{provide:uc,multi:!0,useExisting:Sg}]}var y9=u_(v9(),1);function CZ(t,e,r){if(!t||e==null||e.length===0)return r;if(Array.isArray(e)||(e=~e.indexOf(".")?e.split("."):[e]),e.length===1){let i=t[e[0]];return typeof i>"u"?r:i}let n=e.reduce((i,o)=>(i||{})[o],t);return typeof n>"u"?r:n}function fk(t){return(0,y9.default)(!0,{},{_:t})._}function Z6(t,e,...r){if(Array.isArray(t)||typeof t!="object")return t;let n=o=>typeof o=="object",i=(o,s)=>(Object.keys(s).filter(a=>a!=="__proto__"&&Object.prototype.hasOwnProperty.call(s,a)).forEach(a=>{let c=s[a],l=o[a];Array.isArray(l)?o[a]=e?c:[...l,...c]:typeof c=="function"?o[a]=c:c!=null&&n(c)&&l!=null&&n(l)?o[a]=i(l,c):o[a]=fk(c)}),o);return r.filter(o=>o!=null&&n(o)).forEach(o=>i(t,o)),t}function Q6(t,...e){return Z6(t,!1,...e)}var MZ=(()=>{let e=class e{constructor(){this.doc=w(V),this.list={},this.cached={},this._notify=new Re([])}get change(){return this._notify.asObservable().pipe(fr(),ge(n=>n.length!==0))}clear(){this.list={},this.cached={}}attachAttributes(n,i){i!=null&&Object.entries(i).forEach(([o,s])=>{n.setAttribute(o,s)})}load(n){Array.isArray(n)||(n=[n]);let i=[];return n.map(o=>typeof o!="object"?{path:o}:o).forEach(o=>{o.path.endsWith(".js")?i.push(this.loadScript(o.path,o.options)):i.push(this.loadStyle(o.path,o.options))}),Promise.all(i).then(o=>(this._notify.next(o),Promise.resolve(o)))}loadScript(n,i,o){let s=typeof i=="object"?i:{innerContent:i,attributes:o};return new Promise(a=>{if(this.list[n]===!0){a(ke(b({},this.cached[n]),{status:"loading"}));return}this.list[n]=!0;let c=u=>{this.cached[n]=u,a(u),this._notify.next([u])},l=this.doc.createElement("script");l.type="text/javascript",l.src=n,this.attachAttributes(l,s.attributes),s.innerContent&&(l.innerHTML=s.innerContent),l.onload=()=>c({path:n,status:"ok"}),l.onerror=u=>c({path:n,status:"error",error:u}),this.doc.getElementsByTagName("head")[0].appendChild(l)})}loadStyle(n,i,o,s){let a=typeof i=="object"?i:{rel:i,innerContent:o,attributes:s};return new Promise(c=>{if(this.list[n]===!0){c(this.cached[n]);return}this.list[n]=!0;let l=this.doc.createElement("link");l.rel=a.rel??"stylesheet",l.type="text/css",l.href=n,this.attachAttributes(l,a.attributes),a.innerContent&&(l.innerHTML=a.innerContent),this.doc.getElementsByTagName("head")[0].appendChild(l);let u={path:n,status:"ok"};this.cached[n]=u,c(u)})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var X6=new E("alain-config",{providedIn:"root",factory:pk});function pk(){return{}}var Jr=(()=>{let e=class e{constructor(n){this.config=b({},n)}get(n,i){let o=this.config[n]||{};return i?{[i]:o[i]}:o}merge(n,...i){return Z6({},!0,...i,this.get(n))}attach(n,i,o){Object.assign(n,this.merge(i,o))}attachKey(n,i,o){Object.assign(n,this.get(i,o))}set(n,i){this.config[n]=b(b({},this.config[n]),i)}};e.\u0275fac=function(i){return new(i||e)(g(X6,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ca(t){t||(nu(ca),t=w(js));let e=new Y(r=>t.onDestroy(r.next.bind(r)));return r=>r.pipe(ce(e))}var mk={guard_url:"/403"},o2=(()=>{let e=class e{get change(){return this.aclChange.asObservable()}get data(){return{full:this.full,roles:this.roles,abilities:this.abilities}}get guard_url(){return this.options.guard_url}constructor(n){this.roles=[],this.abilities=[],this.full=!1,this.aclChange=new Re(null),this.options=n.merge("acl",mk)}parseACLType(n){let i;return typeof n=="number"?i={ability:[n]}:Array.isArray(n)&&n.length>0&&typeof n[0]=="number"?i={ability:n}:typeof n=="object"&&!Array.isArray(n)?i=b({},n):Array.isArray(n)?i={role:n}:i={role:n==null?[]:[n]},b({except:!1},i)}set(n){this.full=!1,this.abilities=[],this.roles=[],this.add(n),this.aclChange.next(n)}setFull(n){this.full=n,this.aclChange.next(n)}setAbility(n){this.set({ability:n})}setRole(n){this.set({role:n})}add(n){n.role&&n.role.length>0&&this.roles.push(...n.role),n.ability&&n.ability.length>0&&this.abilities.push(...n.ability)}attachRole(n){for(let i of n)this.roles.includes(i)||this.roles.push(i);this.aclChange.next(this.data)}attachAbility(n){for(let i of n)this.abilities.includes(i)||this.abilities.push(i);this.aclChange.next(this.data)}removeRole(n){for(let i of n){let o=this.roles.indexOf(i);o!==-1&&this.roles.splice(o,1)}this.aclChange.next(this.data)}removeAbility(n){for(let i of n){let o=this.abilities.indexOf(i);o!==-1&&this.abilities.splice(o,1)}this.aclChange.next(this.data)}can(n){let{preCan:i}=this.options;i&&(n=i(n));let o=this.parseACLType(n),s=!1;return this.full===!0||!n?s=!0:(o.role&&o.role.length>0&&(o.mode==="allOf"?s=o.role.every(a=>this.roles.includes(a)):s=o.role.some(a=>this.roles.includes(a))),o.ability&&o.ability.length>0&&(o.mode==="allOf"?s=o.ability.every(a=>this.abilities.includes(a)):s=o.ability.some(a=>this.abilities.includes(a)))),o.except===!0?!s:s}parseAbility(n){return(typeof n=="number"||typeof n=="string"||Array.isArray(n))&&(n={ability:Array.isArray(n)?n:[n]}),delete n.role,n}canAbility(n){return this.can(this.parseAbility(n))}};e.\u0275fac=function(i){return new(i||e)(g(Jr))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var GZ=(()=>{let e=class e{set acl(n){this.set(n)}set ability(n){this.set(this.srv.parseAbility(n))}set(n){this._value=n;let i="acl__hide",o=this.el;this.srv.can(this._value)?this.renderer.removeClass(o,i):this.renderer.addClass(o,i)}constructor(){this.el=w(oe).nativeElement,this.renderer=w(st),this.srv=w(o2),this.change$=this.srv.change.pipe(ca(),ge(n=>n!=null)).subscribe(()=>this.set(this._value))}ngOnDestroy(){this.change$.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["","acl",""]],inputs:{acl:"acl",ability:[W.None,"acl-ability","ability"]},exportAs:["acl"],standalone:!0});let t=e;return t})();var KZ=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[gc]});let t=e;return t})();function Ct(t,e){gk(t)&&(t="100%");var r=vk(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function qc(t){return Math.min(1,Math.max(0,t))}function gk(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function vk(t){return typeof t=="string"&&t.indexOf("%")!==-1}function s2(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Wc(t){return t<=1?"".concat(Number(t)*100,"%"):t}function Li(t){return t.length===1?"0"+t:String(t)}function b9(t,e,r){return{r:Ct(t,255)*255,g:Ct(e,255)*255,b:Ct(r,255)*255}}function ed(t,e,r){t=Ct(t,255),e=Ct(e,255),r=Ct(r,255);var n=Math.max(t,e,r),i=Math.min(t,e,r),o=0,s=0,a=(n+i)/2;if(n===i)s=0,o=0;else{var c=n-i;switch(s=a>.5?c/(2-n-i):c/(n+i),n){case t:o=(e-r)/c+(e<r?6:0);break;case e:o=(r-t)/c+2;break;case r:o=(t-e)/c+4;break;default:break}o/=6}return{h:o,s,l:a}}function J6(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*(6*r):r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function _9(t,e,r){var n,i,o;if(t=Ct(t,360),e=Ct(e,100),r=Ct(r,100),e===0)i=r,o=r,n=r;else{var s=r<.5?r*(1+e):r+e-r*e,a=2*r-s;n=J6(a,s,t+1/3),i=J6(a,s,t),o=J6(a,s,t-1/3)}return{r:n*255,g:i*255,b:o*255}}function To(t,e,r){t=Ct(t,255),e=Ct(e,255),r=Ct(r,255);var n=Math.max(t,e,r),i=Math.min(t,e,r),o=0,s=n,a=n-i,c=n===0?0:a/n;if(n===i)o=0;else{switch(n){case t:o=(e-r)/a+(e<r?6:0);break;case e:o=(r-t)/a+2;break;case r:o=(t-e)/a+4;break;default:break}o/=6}return{h:o,s:c,v:s}}function C9(t,e,r){t=Ct(t,360)*6,e=Ct(e,100),r=Ct(r,100);var n=Math.floor(t),i=t-n,o=r*(1-e),s=r*(1-i*e),a=r*(1-(1-i)*e),c=n%6,l=[r,s,o,o,a,r][c],u=[a,r,r,s,o,o][c],d=[o,o,a,r,r,s][c];return{r:l*255,g:u*255,b:d*255}}function Eo(t,e,r,n){var i=[Li(Math.round(t).toString(16)),Li(Math.round(e).toString(16)),Li(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function M9(t,e,r,n,i){var o=[Li(Math.round(t).toString(16)),Li(Math.round(e).toString(16)),Li(Math.round(r).toString(16)),Li(yk(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function yk(t){return Math.round(parseFloat(t)*255).toString(16)}function td(t){return sn(t)/255}function sn(t){return parseInt(t,16)}function D9(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var Gc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function an(t){var e={r:0,g:0,b:0},r=1,n=null,i=null,o=null,s=!1,a=!1;return typeof t=="string"&&(t=_k(t)),typeof t=="object"&&(ei(t.r)&&ei(t.g)&&ei(t.b)?(e=b9(t.r,t.g,t.b),s=!0,a=String(t.r).substr(-1)==="%"?"prgb":"rgb"):ei(t.h)&&ei(t.s)&&ei(t.v)?(n=Wc(t.s),i=Wc(t.v),e=C9(t.h,n,i),s=!0,a="hsv"):ei(t.h)&&ei(t.s)&&ei(t.l)&&(n=Wc(t.s),o=Wc(t.l),e=_9(t.h,n,o),s=!0,a="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(r=t.a)),r=s2(r),{ok:s,format:t.format||a,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}var wk="[-\\+]?\\d+%?",bk="[-\\+]?\\d*\\.\\d+%?",Hi="(?:".concat(bk,")|(?:").concat(wk,")"),nd="[\\s|\\(]+(".concat(Hi,")[,|\\s]+(").concat(Hi,")[,|\\s]+(").concat(Hi,")\\s*\\)?"),rd="[\\s|\\(]+(".concat(Hi,")[,|\\s]+(").concat(Hi,")[,|\\s]+(").concat(Hi,")[,|\\s]+(").concat(Hi,")\\s*\\)?"),or={CSS_UNIT:new RegExp(Hi),rgb:new RegExp("rgb"+nd),rgba:new RegExp("rgba"+rd),hsl:new RegExp("hsl"+nd),hsla:new RegExp("hsla"+rd),hsv:new RegExp("hsv"+nd),hsva:new RegExp("hsva"+rd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function _k(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(Gc[t])t=Gc[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=or.rgb.exec(t);return r?{r:r[1],g:r[2],b:r[3]}:(r=or.rgba.exec(t),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=or.hsl.exec(t),r?{h:r[1],s:r[2],l:r[3]}:(r=or.hsla.exec(t),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=or.hsv.exec(t),r?{h:r[1],s:r[2],v:r[3]}:(r=or.hsva.exec(t),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=or.hex8.exec(t),r?{r:sn(r[1]),g:sn(r[2]),b:sn(r[3]),a:td(r[4]),format:e?"name":"hex8"}:(r=or.hex6.exec(t),r?{r:sn(r[1]),g:sn(r[2]),b:sn(r[3]),format:e?"name":"hex"}:(r=or.hex4.exec(t),r?{r:sn(r[1]+r[1]),g:sn(r[2]+r[2]),b:sn(r[3]+r[3]),a:td(r[4]+r[4]),format:e?"name":"hex8"}:(r=or.hex3.exec(t),r?{r:sn(r[1]+r[1]),g:sn(r[2]+r[2]),b:sn(r[3]+r[3]),format:e?"name":"hex"}:!1)))))))))}function ei(t){return!!or.CSS_UNIT.exec(String(t))}var a2=function(){function t(e,r){e===void 0&&(e=""),r===void 0&&(r={});var n;if(e instanceof t)return e;typeof e=="number"&&(e=D9(e)),this.originalInput=e;var i=an(e);this.originalInput=e,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},t.prototype.getLuminance=function(){var e=this.toRgb(),r,n,i,o=e.r/255,s=e.g/255,a=e.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(e){return this.a=s2(e),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var e=this.toHsl().s;return e===0},t.prototype.toHsv=function(){var e=To(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},t.prototype.toHsvString=function(){var e=To(this.r,this.g,this.b),r=Math.round(e.h*360),n=Math.round(e.s*100),i=Math.round(e.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var e=ed(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},t.prototype.toHslString=function(){var e=ed(this.r,this.g,this.b),r=Math.round(e.h*360),n=Math.round(e.s*100),i=Math.round(e.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(e){return e===void 0&&(e=!1),Eo(this.r,this.g,this.b,e)},t.prototype.toHexString=function(e){return e===void 0&&(e=!1),"#"+this.toHex(e)},t.prototype.toHex8=function(e){return e===void 0&&(e=!1),M9(this.r,this.g,this.b,this.a,e)},t.prototype.toHex8String=function(e){return e===void 0&&(e=!1),"#"+this.toHex8(e)},t.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var e=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(e,", ").concat(r,", ").concat(n,")"):"rgba(".concat(e,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var e=function(r){return"".concat(Math.round(Ct(r,255)*100),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var e=function(r){return Math.round(Ct(r,255)*100)};return this.a===1?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e="#"+Eo(this.r,this.g,this.b,!1),r=0,n=Object.entries(Gc);r<n.length;r++){var i=n[r],o=i[0],s=i[1];if(e===s)return o}return!1},t.prototype.toString=function(e){var r=!!e;e=e??this.format;var n=!1,i=this.a<1&&this.a>=0,o=!r&&i&&(e.startsWith("hex")||e==="name");return o?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.l+=e/100,r.l=qc(r.l),new t(r)},t.prototype.brighten=function(e){e===void 0&&(e=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(e/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(e/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(e/100)))),new t(r)},t.prototype.darken=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.l-=e/100,r.l=qc(r.l),new t(r)},t.prototype.tint=function(e){return e===void 0&&(e=10),this.mix("white",e)},t.prototype.shade=function(e){return e===void 0&&(e=10),this.mix("black",e)},t.prototype.desaturate=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.s-=e/100,r.s=qc(r.s),new t(r)},t.prototype.saturate=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.s+=e/100,r.s=qc(r.s),new t(r)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var r=this.toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,new t(r)},t.prototype.mix=function(e,r){r===void 0&&(r=50);var n=this.toRgb(),i=new t(e).toRgb(),o=r/100,s={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new t(s)},t.prototype.analogous=function(e,r){e===void 0&&(e=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*e>>1)+720)%360;--e;)n.h=(n.h+i)%360,o.push(new t(n));return o},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){e===void 0&&(e=6);for(var r=this.toHsv(),n=r.h,i=r.s,o=r.v,s=[],a=1/e;e--;)s.push(new t({h:n,s:i,v:o})),o=(o+a)%1;return s},t.prototype.splitcomplement=function(){var e=this.toHsl(),r=e.h;return[this,new t({h:(r+72)%360,s:e.s,l:e.l}),new t({h:(r+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var r=this.toRgb(),n=new t(e).toRgb(),i=r.a+n.a*(1-r.a);return new t({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var r=this.toHsl(),n=r.h,i=[this],o=360/e,s=1;s<e;s++)i.push(new t({h:(n+s*o)%360,s:r.s,l:r.l}));return i},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}();var Ck=["success","processing","error","default","warning"],Mk=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function hQ(t){return Mk.indexOf(t)!==-1}function fQ(t){return Ck.indexOf(t)!==-1}var c2=2,x9=.16,Dk=.05,xk=.05,Sk=.15,I9=5,k9=4,Tk=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function S9({r:t,g:e,b:r}){let n=To(t,e,r);return{h:n.h*360,s:n.s,v:n.v}}function l2({r:t,g:e,b:r}){return`#${Eo(t,e,r,!1)}`}function Ek(t,e,r){let n=r/100;return{r:(e.r-t.r)*n+t.r,g:(e.g-t.g)*n+t.g,b:(e.b-t.b)*n+t.b}}function T9(t,e,r){let n;return Math.round(t.h)>=60&&Math.round(t.h)<=240?n=r?Math.round(t.h)-c2*e:Math.round(t.h)+c2*e:n=r?Math.round(t.h)+c2*e:Math.round(t.h)-c2*e,n<0?n+=360:n>=360&&(n-=360),n}function E9(t,e,r){if(t.h===0&&t.s===0)return t.s;let n;return r?n=t.s-x9*e:e===k9?n=t.s+x9:n=t.s+Dk*e,n>1&&(n=1),r&&e===I9&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function z9(t,e,r){let n;return r?n=t.v+xk*e:n=t.v-Sk*e,n>1&&(n=1),Number(n.toFixed(2))}function id(t,e={}){let r=[],n=an(t);for(let i=I9;i>0;i-=1){let o=S9(n),s=l2(an({h:T9(o,i,!0),s:E9(o,i,!0),v:z9(o,i,!0)}));r.push(s)}r.push(l2(n));for(let i=1;i<=k9;i+=1){let o=S9(n),s=l2(an({h:T9(o,i),s:E9(o,i),v:z9(o,i)}));r.push(s)}return e.theme==="dark"?Tk.map(({index:i,opacity:o})=>l2(Ek(an(e.backgroundColor||"#141414"),an(r[i]),o*100))):r}var P9={isTestMode:!1};var O9={},zk="[NG-ZORRO]:";function Ik(...t){let e=t.reduce((r,n)=>r+n.toString(),"");return O9[e]?!1:(O9[e]=!0,!0)}function kk(t,...e){(P9.isTestMode||v4()&&Ik(...e))&&t(...e)}var Cn=(...t)=>kk((...e)=>console.warn(zk,...e),...t);function A9(t){return t!=null&&`${t}`!="false"}function ti(t,e=0){return od(t)?Number(t):e}function od(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function zo(t){return Array.isArray(t)?t:[t]}function at(t){return t==null?"":typeof t=="string"?t:`${t}px`}function rt(t){return t instanceof oe?t.nativeElement:t}function xQ(t,e){if(!t||!e||t.length!==e.length)return!1;let r=t.length;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function Mn(t){return typeof t<"u"&&t!==null}function Pk(t){return typeof t>"u"||t===null}function SQ(t,e){if(t===e)return!0;if(typeof t!="object"||!t||typeof e!="object"||!e)return!1;let r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;let i=Object.prototype.hasOwnProperty.bind(e);for(let o=0;o<r.length;o++){let s=r[o];if(!i(s)||t[s]!==e[s])return!1}return!0}function TQ(t){return typeof t=="string"&&t!==""}function EQ(t){return t instanceof Me}function Ok(t){return A9(t)}function Ak(t,e=0){return od(t)?Number(t):e}function Kc(t){return at(t)}function zQ(t,...e){return typeof t=="function"?t(...e):t}function R9(t,e){function r(n,i,o){let s=`$$__zorroPropDecorator__${i}`;return Object.prototype.hasOwnProperty.call(n,s)&&Cn(`The prop "${s}" is already exist, it will be overrided by ${t} decorator.`),Object.defineProperty(n,s,{configurable:!0,writable:!0}),{get(){return o&&o.get?o.get.bind(this)():this[s]},set(a){o&&o.set&&o.set.bind(this)(e(a)),this[s]=e(a)}}}return r}function Je(){return R9("InputBoolean",Ok)}function IQ(t){return R9("InputNumber",e=>Ak(e,t))}function L9(t){if(!t.getClientRects().length)return{top:0,left:0};let e=t.getBoundingClientRect(),r=t.ownerDocument.defaultView;return{top:e.top+r.pageYOffset,left:e.left+r.pageXOffset}}function kQ(t){return t.type.startsWith("touch")}function u2(t){return!!t&&typeof t.then=="function"&&typeof t.catch=="function"}function ld(t){return typeof t=="number"&&isFinite(t)}function ud(t,e){return Math.round(t*Math.pow(10,e))/Math.pow(10,e)}function PQ(t){let e=t;if(e.scrollIntoViewIfNeeded){e.scrollIntoViewIfNeeded(!1);return}if(t.scrollIntoView){t.scrollIntoView(!1);return}}var Fk=typeof window<"u",OQ=Fk&&window.mozInnerScreenX!=null;function AQ(t){return t?Object.keys(t).map(e=>{let r=t[e];return`${e}:${typeof r=="string"?r:`${r}px`}`}).join(";"):""}var sd,ad,F9={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function FQ(t="vertical",e="ant"){if(typeof document>"u"||typeof window>"u")return 0;let r=t==="vertical";if(r&&sd)return sd;if(!r&&ad)return ad;let n=document.createElement("div");Object.keys(F9).forEach(o=>{n.style[o]=F9[o]}),n.className=`${e}-hide-scrollbar scroll-div-append-to-body`,r?n.style.overflowY="scroll":n.style.overflowX="scroll",document.body.appendChild(n);let i=0;return r?(i=n.offsetWidth-n.clientWidth,sd=i):(i=n.offsetHeight-n.clientHeight,ad=i),document.body.removeChild(n),i}function NQ(t,e){return t&&t<e?t:e}function RQ(t){return Tn(t)?t:u2(t)?Le(Promise.resolve(t)):A(t)}function dd(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Nk="rc-util-key";function H9({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:Nk}function hd(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function N9(t,e={}){if(!dd())return null;let r=document.createElement("style");e.cspNonce&&(r.nonce=e.cspNonce),r.innerHTML=t;let n=hd(e),{firstChild:i}=n;return e.prepend&&n.prepend?n.prepend(r):e.prepend&&i?n.insertBefore(r,i):n.appendChild(r),r}var cd=new Map;function Rk(t,e={}){let r=hd(e);return Array.from(cd.get(r)?.children||[]).find(n=>n.tagName==="STYLE"&&n.getAttribute(H9(e))===t)}function V9(t,e,r={}){let n=hd(r);if(!cd.has(n)){let s=N9("",r),{parentNode:a}=s;cd.set(n,a),a.removeChild(s)}let i=Rk(e,r);if(i)return r.cspNonce&&i.nonce!==r.cspNonce&&(i.nonce=r.cspNonce),i.innerHTML!==t&&(i.innerHTML=t),i;let o=N9(t,r);return o?.setAttribute(H9(r),e),o}function LQ(t,e,r){return{[`${t}-status-success`]:e==="success",[`${t}-status-warning`]:e==="warning",[`${t}-status-error`]:e==="error",[`${t}-status-validating`]:e==="validating",[`${t}-has-feedback`]:r}}var U9=new E("nz-config");function ZQ(t){return Wt([{provide:U9,useValue:t}])}var Lk=`-ant-${Date.now()}-${Math.random()}`;function Hk(t,e){let r={},n=(s,a)=>{let c=s.clone();return c=a?.(c)||c,c.toRgbString()},i=(s,a)=>{let c=new a2(s),l=id(c.toRgbString());r[`${a}-color`]=n(c),r[`${a}-color-disabled`]=l[1],r[`${a}-color-hover`]=l[4],r[`${a}-color-active`]=l[7],r[`${a}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),r[`${a}-color-deprecated-bg`]=l[1],r[`${a}-color-deprecated-border`]=l[3]};if(e.primaryColor){i(e.primaryColor,"primary");let s=new a2(e.primaryColor),a=id(s.toRgbString());a.forEach((l,u)=>{r[`primary-${u+1}`]=l}),r["primary-color-deprecated-l-35"]=n(s,l=>l.lighten(35)),r["primary-color-deprecated-l-20"]=n(s,l=>l.lighten(20)),r["primary-color-deprecated-t-20"]=n(s,l=>l.tint(20)),r["primary-color-deprecated-t-50"]=n(s,l=>l.tint(50)),r["primary-color-deprecated-f-12"]=n(s,l=>l.setAlpha(l.getAlpha()*.12));let c=new a2(a[0]);r["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(c,l=>l.darken(2))}return e.successColor&&i(e.successColor,"success"),e.warningColor&&i(e.warningColor,"warning"),e.errorColor&&i(e.errorColor,"error"),e.infoColor&&i(e.infoColor,"info"),`
  9. :root {
  10. ${Object.keys(r).map(s=>`--${t}-${s}: ${r[s]};`).join(`
  11. `)}
  12. }
  13. `.trim()}function Y9(t,e,r){let n=Hk(t,e);dd()?V9(n,`${Lk}-dynamic-theme`,{cspNonce:r}):Cn("NzConfigService: SSR do not support dynamic theme with css variables.")}var j9=function(t){return t!==void 0},B9="ant",Rn=(()=>{let e=class e{constructor(n,i){this.configUpdated$=new S,this.config=n||{},this.cspNonce=i,this.config.theme&&Y9(this.getConfig().prefixCls?.prefixCls||B9,this.config.theme,i)}getConfig(){return this.config}getConfigForComponent(n){return this.config[n]}getConfigChangeEventForComponent(n){return this.configUpdated$.pipe(ge(i=>i===n),eo(void 0))}set(n,i){this.config[n]=b(b({},this.config[n]),i),n==="theme"&&this.config.theme&&Y9(this.getConfig().prefixCls?.prefixCls||B9,this.config.theme,this.cspNonce),this.configUpdated$.next(n)}};e.\u0275fac=function(i){return new(i||e)(g(U9,8),g(qr,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ln(){return function(e,r,n){let i=`$$__zorroConfigDecorator__${r}`;return Object.defineProperty(e,i,{configurable:!0,writable:!0,enumerable:!1}),{get(){let o=n?.get?n.get.bind(this)():this[i],s=(this.propertyAssignCounter?.[r]||0)>1,a=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[r];return s&&j9(o)?o:j9(a)?a:o},set(o){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[r]=(this.propertyAssignCounter[r]||0)+1,n?.set?n.set.bind(this)(o):this[i]=o},configurable:!0,enumerable:!0}}}var he=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(he||{}),Pr="*";function $9(t,e){return{type:he.Trigger,name:t,definitions:e,options:{}}}function fd(t,e=null){return{type:he.Animate,styles:e,timings:t}}function q9(t,e=null){return{type:he.Sequence,steps:t,options:e}}function Yi(t){return{type:he.Style,styles:t,offset:null}}function pd(t,e,r){return{type:he.State,name:t,styles:e,options:r}}function md(t,e,r=null){return{type:he.Transition,expr:t,animation:e,options:r}}function XQ(t,e,r=null){return{type:he.Query,selector:t,animation:e,options:r}}function JQ(t,e){return{type:he.Stagger,timings:t,animation:e}}var Vi=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},Qc=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},d2="!";function W9(t){return new z(3e3,!1)}function Vk(){return new z(3100,!1)}function Yk(){return new z(3101,!1)}function jk(t){return new z(3001,!1)}function Bk(t){return new z(3003,!1)}function Uk(t){return new z(3004,!1)}function $k(t,e){return new z(3005,!1)}function qk(){return new z(3006,!1)}function Wk(){return new z(3007,!1)}function Gk(t,e){return new z(3008,!1)}function Kk(t){return new z(3002,!1)}function Zk(t,e,r,n,i){return new z(3010,!1)}function Qk(){return new z(3011,!1)}function Xk(){return new z(3012,!1)}function Jk(){return new z(3200,!1)}function eP(){return new z(3202,!1)}function tP(){return new z(3013,!1)}function nP(t){return new z(3014,!1)}function rP(t){return new z(3015,!1)}function iP(t){return new z(3016,!1)}function oP(t,e){return new z(3404,!1)}function sP(t){return new z(3502,!1)}function aP(t){return new z(3503,!1)}function cP(){return new z(3300,!1)}function lP(t){return new z(3504,!1)}function uP(t){return new z(3301,!1)}function dP(t,e){return new z(3302,!1)}function hP(t){return new z(3303,!1)}function fP(t,e){return new z(3400,!1)}function pP(t){return new z(3401,!1)}function mP(t){return new z(3402,!1)}function gP(t,e){return new z(3505,!1)}function ji(t){switch(t.length){case 0:return new Vi;case 1:return t[0];default:return new Qc(t)}}function av(t,e,r=new Map,n=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((h,f)=>{let p=f,y=h;if(f!=="offset")switch(p=t.normalizePropertyName(p,i),y){case d2:y=r.get(f);break;case Pr:y=n.get(f);break;default:y=t.normalizeStyleValue(f,p,y,i);break}d.set(p,y)}),u||o.push(d),a=d,s=l}),i.length)throw sP(i);return o}function Rd(t,e,r,n){switch(e){case"start":t.onStart(()=>n(r&&gd(r,"start",t)));break;case"done":t.onDone(()=>n(r&&gd(r,"done",t)));break;case"destroy":t.onDestroy(()=>n(r&&gd(r,"destroy",t)));break}}function gd(t,e,r){let n=r.totalTime,i=!!r.disabled,o=Ld(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Ld(t,e,r,n,i="",o=0,s){return{element:t,triggerName:e,fromState:r,toState:n,phaseName:i,totalTime:o,disabled:!!s}}function xn(t,e,r){let n=t.get(e);return n||t.set(e,n=r),n}function G9(t){let e=t.indexOf(":"),r=t.substring(1,e),n=t.slice(e+1);return[r,n]}var vP=typeof document>"u"?null:document.documentElement;function Hd(t){let e=t.parentNode||t.host||null;return e===vP?null:e}function yP(t){return t.substring(1,6)=="ebkit"}var Io=null,K9=!1;function wP(t){Io||(Io=bP()||{},K9=Io.style?"WebkitAppearance"in Io.style:!1);let e=!0;return Io.style&&!yP(t)&&(e=t in Io.style,!e&&K9&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Io.style)),e}function bP(){return typeof document<"u"?document.body:null}function cv(t,e){for(;e;){if(e===t)return!0;e=Hd(e)}return!1}function lv(t,e,r){if(r)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var Vd=(()=>{let e=class e{validateStyleProperty(n){return wP(n)}matchesElement(n,i){return!1}containsElement(n,i){return cv(n,i)}getParentElement(n){return Hd(n)}query(n,i,o){return lv(n,i,o)}computeStyle(n,i,o){return o||""}animate(n,i,o,s,a,c=[],l){return new Vi(o,s)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),il=(()=>{let e=class e{};e.NOOP=new Vd;let t=e;return t})(),Oo=class{};var _P=1e3,uv="{{",CP="}}",dv="ng-enter",Cd="ng-leave",h2="ng-trigger",v2=".ng-trigger",Z9="ng-animating",Md=".ng-animating";function ni(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Dd(parseFloat(e[1]),e[2])}function Dd(t,e){switch(e){case"s":return t*_P;default:return t}}function y2(t,e,r){return t.hasOwnProperty("duration")?t:MP(t,e,r)}function MP(t,e,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(W9(t)),{duration:0,delay:0,easing:""};i=Dd(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=Dd(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else i=t;if(!r){let a=!1,c=e.length;i<0&&(e.push(Vk()),a=!0),o<0&&(e.push(Yk()),a=!0),a&&e.splice(c,0,W9(t))}return{duration:i,delay:o,easing:s}}function DP(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Or(t,e,r){e.forEach((n,i)=>{let o=Yd(i);r&&!r.has(i)&&r.set(i,t.style[o]),t.style[o]=n})}function Po(t,e){e.forEach((r,n)=>{let i=Yd(n);t.style[i]=""})}function Xc(t){return Array.isArray(t)?t.length==1?t[0]:q9(t):t}function xP(t,e,r){let n=e.params||{},i=hv(t);i.length&&i.forEach(o=>{n.hasOwnProperty(o)||r.push(jk(o))})}var xd=new RegExp(`${uv}\\s*(.+?)\\s*${CP}`,"g");function hv(t){let e=[];if(typeof t=="string"){let r;for(;r=xd.exec(t);)e.push(r[1]);xd.lastIndex=0}return e}function el(t,e,r){let n=`${t}`,i=n.replace(xd,(o,s)=>{let a=e[s];return a==null&&(r.push(Bk(s)),a=""),a.toString()});return i==n?t:i}var SP=/-+([a-z0-9])/g;function Yd(t){return t.replace(SP,(...e)=>e[1].toUpperCase())}function TP(t,e){return t===0||e===0}function EP(t,e,r){if(r.size&&e.length){let n=e[0],i=[];if(r.forEach((o,s)=>{n.has(s)||i.push(s),n.set(s,o)}),i.length)for(let o=1;o<e.length;o++){let s=e[o];i.forEach(a=>s.set(a,jd(t,a)))}}return e}function Dn(t,e,r){switch(e.type){case he.Trigger:return t.visitTrigger(e,r);case he.State:return t.visitState(e,r);case he.Transition:return t.visitTransition(e,r);case he.Sequence:return t.visitSequence(e,r);case he.Group:return t.visitGroup(e,r);case he.Animate:return t.visitAnimate(e,r);case he.Keyframes:return t.visitKeyframes(e,r);case he.Style:return t.visitStyle(e,r);case he.Reference:return t.visitReference(e,r);case he.AnimateChild:return t.visitAnimateChild(e,r);case he.AnimateRef:return t.visitAnimateRef(e,r);case he.Query:return t.visitQuery(e,r);case he.Stagger:return t.visitStagger(e,r);default:throw Uk(e.type)}}function jd(t,e){return window.getComputedStyle(t)[e]}var zP=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),w2=class extends Oo{normalizePropertyName(e,r){return Yd(e)}normalizeStyleValue(e,r,n,i){let o="",s=n.toString().trim();if(zP.has(r)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push($k(e,n))}return s+o}};var b2="*";function IP(t,e){let r=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>kP(n,r,e)):r.push(t),r}function kP(t,e,r){if(t[0]==":"){let c=PP(t,r);if(typeof c=="function"){e.push(c);return}t=c}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(rP(t)),e;let i=n[1],o=n[2],s=n[3];e.push(Q9(i,s));let a=i==b2&&s==b2;o[0]=="<"&&!a&&e.push(Q9(s,i))}function PP(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return e.push(iP(t)),"* => *"}}var f2=new Set(["true","1"]),p2=new Set(["false","0"]);function Q9(t,e){let r=f2.has(t)||p2.has(t),n=f2.has(e)||p2.has(e);return(i,o)=>{let s=t==b2||t==i,a=e==b2||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?f2.has(t):p2.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?f2.has(e):p2.has(e)),s&&a}}var fv=":self",OP=new RegExp(`s*${fv}s*,?`,"g");function pv(t,e,r,n){return new Sd(t).build(e,r,n)}var X9="",Sd=class{constructor(e){this._driver=e}build(e,r,n){let i=new Td(r);return this._resetContextStyleTimingState(i),Dn(this,Xc(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=X9,e.collectedStyles=new Map,e.collectedStyles.set(X9,new Map),e.currentTime=0}visitTrigger(e,r){let n=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(qk()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==he.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,o.push(this.visitState(c,r))}),c.name=l}else if(a.type==he.Transition){let c=this.visitTransition(a,r);n+=c.queryCount,i+=c.depCount,s.push(c)}else r.errors.push(Wk())}),{type:he.Trigger,name:e.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,r){let n=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=i||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{hv(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&r.errors.push(Gk(e.name,[...o.values()]))}return{type:he.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let n=Dn(this,Xc(e.animation),r),i=IP(e.expr,r.errors);return{type:he.Transition,matchers:i,animation:n,queryCount:r.queryCount,depCount:r.depCount,options:ko(e.options)}}visitSequence(e,r){return{type:he.Sequence,steps:e.steps.map(n=>Dn(this,n,r)),options:ko(e.options)}}visitGroup(e,r){let n=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=n;let a=Dn(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:he.Group,steps:o,options:ko(e.options)}}visitAnimate(e,r){let n=RP(e.timings,r.errors);r.currentAnimateTimings=n;let i,o=e.styles?e.styles:Yi({});if(o.type==he.Keyframes)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let l={};n.easing&&(l.easing=n.easing),s=Yi(l)}r.currentTime+=n.duration+n.delay;let c=this.visitStyle(s,r);c.isEmptyStep=a,i=c}return r.currentAnimateTimings=null,{type:he.Animate,timings:n,style:i,options:null}}visitStyle(e,r){let n=this._makeStyleAst(e,r);return this._validateStyleAst(n,r),n}_makeStyleAst(e,r){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Pr?n.push(a):r.errors.push(Kk(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(uv)>=0){o=!0;break}}}),{type:he.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let n=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=r.collectedStyles.get(r.currentQuerySelector),u=l.get(c),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(r.errors.push(Zk(c,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&l.set(c,{startTime:o,endTime:i}),r.options&&xP(a,r.options,r.errors)})})}visitKeyframes(e,r){let n={type:he.Keyframes,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(Qk()),n;let i=1,o=0,s=[],a=!1,c=!1,l=0,u=e.steps.map(M=>{let P=this._makeStyleAst(M,r),X=P.offset!=null?P.offset:NP(P.styles),$=0;return X!=null&&(o++,$=P.offset=X),c=c||$<0||$>1,a=a||$<l,l=$,s.push($),P});c&&r.errors.push(Xk()),a&&r.errors.push(Jk());let d=e.steps.length,h=0;o>0&&o<d?r.errors.push(eP()):o==0&&(h=i/(d-1));let f=d-1,p=r.currentTime,y=r.currentAnimateTimings,v=y.duration;return u.forEach((M,P)=>{let X=h>0?P==f?1:h*P:s[P],$=X*v;r.currentTime=p+y.delay+$,y.duration=$,this._validateStyleAst(M,r),M.offset=X,n.styles.push(M)}),n}visitReference(e,r){return{type:he.Reference,animation:Dn(this,Xc(e.animation),r),options:ko(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:he.AnimateChild,options:ko(e.options)}}visitAnimateRef(e,r){return{type:he.AnimateRef,animation:this.visitReference(e.animation,r),options:ko(e.options)}}visitQuery(e,r){let n=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=AP(e.selector);r.currentQuerySelector=n.length?n+" "+o:o,xn(r.collectedStyles,r.currentQuerySelector,new Map);let a=Dn(this,Xc(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=n,{type:he.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:ko(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(tP());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:y2(e.timings,r.errors,!0);return{type:he.Stagger,animation:Dn(this,Xc(e.animation),r),timings:n,options:null}}};function AP(t){let e=!!t.split(/\s*,\s*/).find(r=>r==fv);return e&&(t=t.replace(OP,"")),t=t.replace(/@\*/g,v2).replace(/@\w+/g,r=>v2+"-"+r.slice(1)).replace(/:animating/g,Md),[t,e]}function FP(t){return t?b({},t):null}var Td=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function NP(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function RP(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=y2(t,e).duration;return vd(o,0,"")}let r=t;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=vd(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=y2(r,e);return vd(i.duration,i.delay,i.easing)}function ko(t){return t?(t=b({},t),t.params&&(t.params=FP(t.params))):t={},t}function vd(t,e,r){return{duration:t,delay:e,easing:r}}function Bd(t,e,r,n,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:r,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var tl=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},LP=1,HP=":enter",VP=new RegExp(HP,"g"),YP=":leave",jP=new RegExp(YP,"g");function mv(t,e,r,n,i,o=new Map,s=new Map,a,c,l=[]){return new Ed().buildKeyframes(t,e,r,n,i,o,s,a,c,l)}var Ed=class{buildKeyframes(e,r,n,i,o,s,a,c,l,u=[]){l=l||new tl;let d=new zd(e,r,l,i,o,u,[]);d.options=c;let h=c.delay?ni(c.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,c),Dn(this,n,d);let f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let y=f.length-1;y>=0;y--){let v=f[y];if(v.element===r){p=v;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,c)}return f.length?f.map(p=>p.buildKeyframes()):[Bd(r,[],[],[],0,h,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let n=r.subInstructions.get(r.element);if(n){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let n=r.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,n),this.visitReference(e.animation,n),r.transformIntoNewTimeline(n.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,n){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:ni(el(o,i?.params??{},r.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,r,n){let o=r.currentTimeline.currentTime,s=n.duration!=null?ni(n.duration):null,a=n.delay!=null?ni(n.delay):null;return s!==0&&e.forEach(c=>{let l=r.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),Dn(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let n=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==he.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=_2);let s=ni(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Dn(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let n=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?ni(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),Dn(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let n=e.strValue,i=r.params?el(n,r.params,r.errors):n;return y2(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let n=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;n.delay&&(r.incrementTime(n.delay),i.snapshotCurrentStyles());let o=e.style;o.type==he.Keyframes?this.visitKeyframes(o,r):(r.incrementTime(n.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let n=r.currentTimeline,i=r.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let n=r.currentAnimateTimings,i=r.currentTimeline.duration,o=n.duration,a=r.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*o),a.setStyles(c.styles,c.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let n=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?ni(i.delay):0;o&&(r.previousNode.type===he.Style||n==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_2);let s=n,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{r.currentQueryIndex=u;let d=r.createSubContext(e.options,l);o&&d.delayNextStep(o),l===r.element&&(c=d.currentTimeline),Dn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),c&&(r.currentTimeline.mergeTimelineCollectedStyles(c),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let n=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),c=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=n.currentStaggerTime;break}let u=r.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;Dn(this,e.animation,r),r.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},_2={},zd=class t{constructor(e,r,n,i,o,s,a,c){this._driver=e,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_2,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new C2(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=ni(n.duration)),n.delay!=null&&(i.delay=ni(n.delay));let o=n.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=el(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let n=e.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return e}createSubContext(e=null,r,n){let i=r||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=_2,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,n){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Id(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,n,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(VP,"."+this._enterClassName),e=e.replace(jP,"."+this._leaveClassName);let c=n!=1,l=this._driver.query(this.element,e,c);n!==0&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),a.push(...l)}return!o&&a.length==0&&s.push(nP(r)),a}},C2=class t{constructor(e,r,n,i){this._driver=e,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new t(this._driver,e,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=LP,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Pr),this._currentKeyframe.set(r,Pr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,n,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=BP(e,this._globalTimelineStyles);for(let[a,c]of s){let l=el(c,o,n);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Pr),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{u===d2?e.add(d):u===Pr&&r.add(d)}),n||l.set("offset",c/this.duration),i.push(l)});let o=[...e.values()],s=[...r.values()];if(n){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return Bd(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Id=class extends C2{constructor(e,r,n,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=n+r,a=r/s,c=new Map(e[0]);c.set("offset",0),o.push(c);let l=new Map(e[0]);l.set("offset",J9(a)),o.push(l);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),f=h.get("offset"),p=r+f*n;h.set("offset",J9(p/s)),o.push(h)}n=s,r=0,i="",e=o}return Bd(this.element,e,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function J9(t,e=3){let r=Math.pow(10,e-1);return Math.round(t*r)/r}function BP(t,e){let r=new Map,n;return t.forEach(i=>{if(i==="*"){n??=e.keys();for(let o of n)r.set(o,Pr)}else for(let[o,s]of i)r.set(o,s)}),r}function ev(t,e,r,n,i,o,s,a,c,l,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}var yd={},M2=class{constructor(e,r,n){this._triggerName=e,this.ast=r,this._stateStyles=n}match(e,r,n,i){return UP(this.ast.matchers,e,r,n,i)}buildStyles(e,r,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(r,n):new Map}build(e,r,n,i,o,s,a,c,l,u){let d=[],h=this.ast.options&&this.ast.options.params||yd,f=a&&a.params||yd,p=this.buildStyles(n,f,d),y=c&&c.params||yd,v=this.buildStyles(i,y,d),M=new Set,P=new Map,X=new Map,$=i==="void",Ae={params:gv(y,h),delay:this.ast.options?.delay},_e=u?[]:mv(e,r,this.ast.animation,o,s,p,v,Ae,l,d),Ee=0;return _e.forEach($e=>{Ee=Math.max($e.duration+$e.delay,Ee)}),d.length?ev(r,this._triggerName,n,i,$,p,v,[],[],P,X,Ee,d):(_e.forEach($e=>{let Mt=$e.element,Bt=xn(P,Mt,new Set);$e.preStyleProps.forEach(ln=>Bt.add(ln));let di=xn(X,Mt,new Set);$e.postStyleProps.forEach(ln=>di.add(ln)),Mt!==r&&M.add(Mt)}),ev(r,this._triggerName,n,i,$,p,v,_e,[...M.values()],P,X,Ee))}};function UP(t,e,r,n,i){return t.some(o=>o(e,r,n,i))}function gv(t,e){let r=b({},e);return Object.entries(t).forEach(([n,i])=>{i!=null&&(r[n]=i)}),r}var kd=class{constructor(e,r,n){this.styles=e,this.defaultParams=r,this.normalizer=n}buildStyles(e,r){let n=new Map,i=gv(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=el(s,i,r));let c=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,c,s,r),n.set(a,s)})}),n}};function $P(t,e,r){return new Pd(t,e,r)}var Pd=class{constructor(e,r,n){this.name=e,this.ast=r,this._normalizer=n,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new kd(i.style,o,n))}),tv(this.states,"true","1"),tv(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new M2(e,i,this.states))}),this.fallbackTransition=qP(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,n,i){return this.transitionFactories.find(s=>s.match(e,r,n,i))||null}matchStyles(e,r,n){return this.fallbackTransition.buildStyles(e,r,n)}};function qP(t,e,r){let n=[(s,a)=>!0],i={type:he.Sequence,steps:[],options:null},o={type:he.Transition,animation:i,matchers:n,options:null,queryCount:0,depCount:0};return new M2(t,o,e)}function tv(t,e,r){t.has(e)?t.has(r)||t.set(r,t.get(e)):t.has(r)&&t.set(e,t.get(r))}var WP=new tl,Od=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let n=[],i=[],o=pv(this._driver,r,n,i);if(n.length)throw aP(n);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,n){let i=e.element,o=av(this._normalizer,e.keyframes,r,n);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,n={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=mv(this._driver,r,o,dv,Cd,new Map,new Map,n,WP,i),s.forEach(u=>{let d=xn(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(cP()),s=[]),i.length)throw lP(i);a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,Pr))})});let c=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=ji(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let n=this.players.indexOf(r);n>=0&&this.players.splice(n,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw uP(e);return r}listen(e,r,n,i){let o=Ld(r,"","","");return Rd(this._getPlayer(e),n,o,i),()=>{}}command(e,r,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},nv="ng-animate-queued",GP=".ng-animate-queued",wd="ng-animate-disabled",KP=".ng-animate-disabled",ZP="ng-star-inserted",QP=".ng-star-inserted",XP=[],vv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},JP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},sr="__ng_removed",nl=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=tO(i),n){let o=e,{value:s}=o,a=ss(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let n=this.options.params;Object.keys(r).forEach(i=>{n[i]==null&&(n[i]=r[i])})}}},Jc="void",bd=new nl(Jc),Ad=class{constructor(e,r,n){this.id=e,this.hostElement=r,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Hn(r,this._hostClassName)}listen(e,r,n,i){if(!this._triggers.has(r))throw dP(n,r);if(n==null||n.length==0)throw hP(r);if(!nO(n))throw fP(n,r);let o=xn(this._elementListeners,e,[]),s={name:r,phase:n,callback:i};o.push(s);let a=xn(this._engine.statesByElement,e,new Map);return a.has(r)||(Hn(e,h2),Hn(e,h2+"-"+r),a.set(r,bd)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw pP(e);return r}trigger(e,r,n,i=!0){let o=this._getTrigger(r),s=new rl(this.id,r,e),a=this._engine.statesByElement.get(e);a||(Hn(e,h2),Hn(e,h2+"-"+r),this._engine.statesByElement.set(e,a=new Map));let c=a.get(r),l=new nl(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(r,l),c||(c=bd),!(l.value===Jc)&&c.value===l.value){if(!oO(c.params,l.params)){let y=[],v=o.matchStyles(c.value,c.params,y),M=o.matchStyles(l.value,l.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Po(e,v),Or(e,M)})}return}let h=xn(this._engine.playersByElement,e,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==r&&y.queued&&y.destroy()});let f=o.matchTransition(c.value,l.value,e,l.params),p=!1;if(!f){if(!i)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:f,fromState:c,toState:l,player:s,isFallbackTransition:p}),p||(Hn(e,nv),s.onStart(()=>{la(e,nv)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let v=this._engine.playersByElement.get(e);if(v){let M=v.indexOf(s);M>=0&&v.splice(M,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,n)=>{this._elementListeners.set(n,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let n=this._engine.driver.query(e,v2,!0);n.forEach(i=>{if(i[sr])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,n,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(e,l,Jc,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),n&&ji(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(r&&n){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=n.get(s)||bd,u=new nl(Jc),d=new rl(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,r){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,r);else{let o=e[sr];(!o||o===vv)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,r))}}insertNode(e,r){Hn(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let c=Ld(o,n.triggerName,n.fromState.value,n.toState.value);c._data=e,Rd(n.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(n)}),this._queue=[],r.sort((n,i)=>{let o=n.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Fd=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,n){this.bodyNode=e,this.driver=r,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,r){let n=new Ad(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(n,r):(this.newHostElements.set(r,n),this.collectEnterElement(r)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,r){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let c=i.get(a);if(c){let l=n.indexOf(c);n.splice(l+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return i.set(r,e),e}register(e,r){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,r)),n}registerTrigger(e,r,n){let i=this._namespaceLookup[e];i&&i.register(r,n)&&this.totalAnimations++}destroy(e,r){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(r),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,n,i){if(m2(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,n,i),!0}return!1}insertNode(e,r,n,i){if(!m2(r))return;let o=r[sr];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,n)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Hn(e,wd)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),la(e,wd))}removeNode(e,r,n){if(m2(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,n):this.markElementAsRemoved(e,r,!1,n);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,n)}else this._onRemovalComplete(r,n)}markElementAsRemoved(e,r,n,i,o){this.collectedLeaveElements.push(r),r[sr]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,n,i,o){return m2(r)?this._fetchNamespace(e).listen(r,n,i,o):()=>{}}_buildInstruction(e,r,n,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,v2,!0);r.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Md,!0),r.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ji(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[sr];if(r&&r.setForRemoval){if(e[sr]=vv,r.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(r.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(wd)&&this.markElementAsDisabled(e,!1),this.driver.query(e,KP,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];Hn(i,ZP)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{r=this._flushAnimations(n,e)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],r.length?ji(r).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw mP(e)}_flushAnimations(e,r){let n=new tl,i=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(O=>{u.add(O);let B=this.driver.query(O,GP,!0);for(let J=0;J<B.length;J++)u.add(B[J])});let d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=ov(h,this.collectedEnterElements),p=new Map,y=0;f.forEach((O,B)=>{let J=dv+y++;p.set(B,J),O.forEach(Ce=>Hn(Ce,J))});let v=[],M=new Set,P=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){let B=this.collectedLeaveElements[O],J=B[sr];J&&J.setForRemoval&&(v.push(B),M.add(B),J.hasAnimation?this.driver.query(B,QP,!0).forEach(Ce=>M.add(Ce)):P.add(B))}let X=new Map,$=ov(h,Array.from(M));$.forEach((O,B)=>{let J=Cd+y++;X.set(B,J),O.forEach(Ce=>Hn(Ce,J))}),e.push(()=>{f.forEach((O,B)=>{let J=p.get(B);O.forEach(Ce=>la(Ce,J))}),$.forEach((O,B)=>{let J=X.get(B);O.forEach(Ce=>la(Ce,J))}),v.forEach(O=>{this.processLeaveNode(O)})});let Ae=[],_e=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(r).forEach(J=>{let Ce=J.player,mt=J.element;if(Ae.push(Ce),this.collectedEnterElements.length){let ht=mt[sr];if(ht&&ht.setForMove){if(ht.previousTriggersValues&&ht.previousTriggersValues.has(J.triggerName)){let qe=ht.previousTriggersValues.get(J.triggerName),we=this.statesByElement.get(J.element);if(we&&we.has(J.triggerName)){let zt=we.get(J.triggerName);zt.value=qe,we.set(J.triggerName,zt)}}Ce.destroy();return}}let Zt=!d||!this.driver.containsElement(d,mt),vt=X.get(mt),Un=p.get(mt),Ye=this._buildInstruction(J,n,Un,vt,Zt);if(Ye.errors&&Ye.errors.length){_e.push(Ye);return}if(Zt){Ce.onStart(()=>Po(mt,Ye.fromStyles)),Ce.onDestroy(()=>Or(mt,Ye.toStyles)),i.push(Ce);return}if(J.isFallbackTransition){Ce.onStart(()=>Po(mt,Ye.fromStyles)),Ce.onDestroy(()=>Or(mt,Ye.toStyles)),i.push(Ce);return}let Aa=[];Ye.timelines.forEach(ht=>{ht.stretchStartingKeyframe=!0,this.disabledNodes.has(ht.element)||Aa.push(ht)}),Ye.timelines=Aa,n.append(mt,Ye.timelines);let Tl={instruction:Ye,player:Ce,element:mt};s.push(Tl),Ye.queriedElements.forEach(ht=>xn(a,ht,[]).push(Ce)),Ye.preStyleProps.forEach((ht,qe)=>{if(ht.size){let we=c.get(qe);we||c.set(qe,we=new Set),ht.forEach((zt,hi)=>we.add(hi))}}),Ye.postStyleProps.forEach((ht,qe)=>{let we=l.get(qe);we||l.set(qe,we=new Set),ht.forEach((zt,hi)=>we.add(hi))})});if(_e.length){let O=[];_e.forEach(B=>{O.push(gP(B.triggerName,B.errors))}),Ae.forEach(B=>B.destroy()),this.reportError(O)}let Ee=new Map,$e=new Map;s.forEach(O=>{let B=O.element;n.has(B)&&($e.set(B,B),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,Ee))}),i.forEach(O=>{let B=O.element;this._getPreviousPlayers(B,!1,O.namespaceId,O.triggerName,null).forEach(Ce=>{xn(Ee,B,[]).push(Ce),Ce.destroy()})});let Mt=v.filter(O=>sv(O,c,l)),Bt=new Map;iv(Bt,this.driver,P,l,Pr).forEach(O=>{sv(O,c,l)&&Mt.push(O)});let ln=new Map;f.forEach((O,B)=>{iv(ln,this.driver,new Set(O),c,d2)}),Mt.forEach(O=>{let B=Bt.get(O),J=ln.get(O);Bt.set(O,new Map([...B?.entries()??[],...J?.entries()??[]]))});let Rr=[],os=[],pt={};s.forEach(O=>{let{element:B,player:J,instruction:Ce}=O;if(n.has(B)){if(u.has(B)){J.onDestroy(()=>Or(B,Ce.toStyles)),J.disabled=!0,J.overrideTotalTime(Ce.totalTime),i.push(J);return}let mt=pt;if($e.size>1){let vt=B,Un=[];for(;vt=vt.parentNode;){let Ye=$e.get(vt);if(Ye){mt=Ye;break}Un.push(vt)}Un.forEach(Ye=>$e.set(Ye,mt))}let Zt=this._buildAnimation(J.namespaceId,Ce,Ee,o,ln,Bt);if(J.setRealPlayer(Zt),mt===pt)Rr.push(J);else{let vt=this.playersByElement.get(mt);vt&&vt.length&&(J.parentPlayer=ji(vt)),i.push(J)}}else Po(B,Ce.fromStyles),J.onDestroy(()=>Or(B,Ce.toStyles)),os.push(J),u.has(B)&&i.push(J)}),os.forEach(O=>{let B=o.get(O.element);if(B&&B.length){let J=ji(B);O.setRealPlayer(J)}}),i.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O<v.length;O++){let B=v[O],J=B[sr];if(la(B,Cd),J&&J.hasAnimation)continue;let Ce=[];if(a.size){let Zt=a.get(B);Zt&&Zt.length&&Ce.push(...Zt);let vt=this.driver.query(B,Md,!0);for(let Un=0;Un<vt.length;Un++){let Ye=a.get(vt[Un]);Ye&&Ye.length&&Ce.push(...Ye)}}let mt=Ce.filter(Zt=>!Zt.destroyed);mt.length?rO(this,B,mt):this.processLeaveNode(B)}return v.length=0,Rr.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();let B=this.players.indexOf(O);this.players.splice(B,1)}),O.play()}),Rr}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,n,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==Jc;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(n||i)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,n){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let c of r.timelines){let l=c.element,u=l!==o,d=xn(n,l,[]);this._getPreviousPlayers(l,u,s,a,r.toState).forEach(f=>{let p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}Po(o,r.fromStyles)}_buildAnimation(e,r,n,i,o,s){let a=r.triggerName,c=r.element,l=[],u=new Set,d=new Set,h=r.timelines.map(p=>{let y=p.element;u.add(y);let v=y[sr];if(v&&v.removedBeforeQueried)return new Vi(p.duration,p.delay);let M=y!==c,P=iO((n.get(y)||XP).map(Ee=>Ee.getRealPlayer())).filter(Ee=>{let $e=Ee;return $e.element?$e.element===y:!1}),X=o.get(y),$=s.get(y),Ae=av(this._normalizer,p.keyframes,X,$),_e=this._buildPlayer(p,Ae,P);if(p.subTimeline&&i&&d.add(y),M){let Ee=new rl(e,a,y);Ee.setRealPlayer(_e),l.push(Ee)}return _e});l.forEach(p=>{xn(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>eO(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>Hn(p,Z9));let f=ji(h);return f.onDestroy(()=>{u.forEach(p=>la(p,Z9)),Or(c,r.toStyles)}),d.forEach(p=>{xn(i,p,[]).push(f)}),f}_buildPlayer(e,r,n){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,n):new Vi(e.duration,e.delay)}},rl=class{constructor(e,r,n){this.namespaceId=e,this.triggerName=r,this.element=n,this._player=new Vi,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,n)=>{r.forEach(i=>Rd(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){xn(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function eO(t,e,r){let n=t.get(e);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&t.delete(e)}return n}function tO(t){return t??null}function m2(t){return t&&t.nodeType===1}function nO(t){return t=="start"||t=="done"}function rv(t,e){let r=t.style.display;return t.style.display=e??"none",r}function iv(t,e,r,n,i){let o=[];r.forEach(c=>o.push(rv(c)));let s=[];n.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let h=e.computeStyle(l,d,i);u.set(d,h),(!h||h.length==0)&&(l[sr]=JP,s.push(l))}),t.set(l,u)});let a=0;return r.forEach(c=>rv(c,o[a++])),s}function ov(t,e){let r=new Map;if(t.forEach(a=>r.set(a,[])),e.length==0)return r;let n=1,i=new Set(e),o=new Map;function s(a){if(!a)return n;let c=o.get(a);if(c)return c;let l=a.parentNode;return r.has(l)?c=l:i.has(l)?c=n:c=s(l),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==n&&r.get(c).push(a)}),r}function Hn(t,e){t.classList?.add(e)}function la(t,e){t.classList?.remove(e)}function rO(t,e,r){ji(r).onDone(()=>t.processLeaveNode(e))}function iO(t){let e=[];return yv(t,e),e}function yv(t,e){for(let r=0;r<t.length;r++){let n=t[r];n instanceof Qc?yv(n.players,e):e.push(n)}}function oO(t,e){let r=Object.keys(t),n=Object.keys(e);if(r.length!=n.length)return!1;for(let i=0;i<r.length;i++){let o=r[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function sv(t,e,r){let n=r.get(t);if(!n)return!1;let i=e.get(t);return i?n.forEach(o=>i.add(o)):e.set(t,n),r.delete(t),!0}var ua=class{constructor(e,r,n){this._driver=r,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Fd(e.body,r,n),this._timelineEngine=new Od(e.body,r,n),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,n,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let c=[],l=[],u=pv(this._driver,o,c,l);if(c.length)throw oP(i,c);l.length&&void 0,a=$P(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,n,i){this._transitionEngine.insertNode(e,r,n,i)}onRemove(e,r,n){this._transitionEngine.removeNode(e,r,n)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,n,i){if(n.charAt(0)=="@"){let[o,s]=G9(n),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,n,i)}listen(e,r,n,i,o){if(n.charAt(0)=="@"){let[s,a]=G9(n);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,n,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function sO(t,e){let r=null,n=null;return Array.isArray(e)&&e.length?(r=_d(e[0]),e.length>1&&(n=_d(e[e.length-1]))):e instanceof Map&&(r=_d(e)),r||n?new aO(t,r,n):null}var aO=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._startStyles=i,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(n);s||e.initialStylesByElement.set(n,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Or(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Or(this._element,this._initialStyles),this._endStyles&&(Or(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Po(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Po(this._element,this._endStyles),this._endStyles=null),Or(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let t=e;return t})();function _d(t){let e=null;return t.forEach((r,n)=>{cO(n)&&(e=e||new Map,e.set(n,r))}),e}function cO(t){return t==="display"||t==="position"}var D2=class{constructor(e,r,n,i){this.element=e,this.keyframes=r,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();this.domPlayer.addEventListener("finish",r),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",r)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(n=>{r.push(Object.fromEntries(n))}),r}_triggerWebAnimation(e,r,n){return e.animate(this._convertKeyframesToObject(r),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:jd(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},x2=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,r){return!1}containsElement(e,r){return cv(e,r)}getParentElement(e){return Hd(e)}query(e,r,n){return lv(e,r,n)}computeStyle(e,r,n){return jd(e,r)}animate(e,r,n,i,o,s=[]){let a=i==0?"both":"forwards",c={duration:n,delay:i,fill:a};o&&(c.easing=o);let l=new Map,u=s.filter(f=>f instanceof D2);TP(n,i)&&u.forEach(f=>{f.currentSnapshot.forEach((p,y)=>l.set(y,p))});let d=DP(r).map(f=>new Map(f));d=EP(e,d,l);let h=sO(e,d);return new D2(e,d,c,h)}};var g2="@",wv="@.disabled",S2=class{constructor(e,r,n,i){this.namespaceId=e,this.delegate=r,this.engine=n,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,n,i=!0){this.delegate.insertBefore(e,r,n),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,n){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){r.charAt(0)==g2&&r==wv?this.disableAnimations(e,!!n):this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n){return this.delegate.listen(e,r,n)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},Nd=class extends S2{constructor(e,r,n,i,o){super(r,n,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,n){r.charAt(0)==g2?r.charAt(1)=="."&&r==wv?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,r.slice(1),n):this.delegate.setProperty(e,r,n)}listen(e,r,n){if(r.charAt(0)==g2){let i=lO(e),o=r.slice(1),s="";return o.charAt(0)!=g2&&([o,s]=uO(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,n,a)})}return this.delegate.listen(e,r,n)}};function lO(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function uO(t){let e=t.indexOf("."),r=t.substring(0,e),n=t.slice(e+1);return[r,n]}var T2=class{constructor(e,r,n){this.delegate=e,this.engine=r,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,r.onRemovalComplete=(i,o)=>{let s=o?.parentNode(i);s&&o.removeChild(s,i)}}createRenderer(e,r){let n="",i=this.delegate.createRenderer(e,r);if(!e||!r?.data?.animation){let l=this._rendererCache,u=l.get(i);if(!u){let d=()=>l.delete(i);u=new S2(n,i,this.engine,d),l.set(i,u)}return u}let o=r.id,s=r.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(o,s,e,l.name,l)};return r.data.animation.forEach(a),new Nd(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>r(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([r,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var hO=(()=>{let e=class e extends ua{constructor(n,i,o,s){super(n,i,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(g(V),g(il),g(Oo),g(xr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function fO(){return new w2}function pO(t,e,r){return new T2(t,e,r)}var bv=[{provide:Oo,useFactory:fO},{provide:ua,useClass:hO},{provide:Jn,useFactory:pO,deps:[R4,ua,U]}],mO=[{provide:il,useFactory:()=>new x2},{provide:gn,useValue:"BrowserAnimations"},...bv],fX=[{provide:il,useClass:Vd},{provide:gn,useValue:"NoopAnimations"},...bv];function pX(){return[...mO]}var E2=2,_v=.16,gO=.05,vO=.05,yO=.15,Sv=5,Tv=4,wO=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Cv(t){var e=t.r,r=t.g,n=t.b,i=To(e,r,n);return{h:i.h*360,s:i.s,v:i.v}}function z2(t){var e=t.r,r=t.g,n=t.b;return"#".concat(Eo(e,r,n,!1))}function bO(t,e,r){var n=r/100,i={r:(e.r-t.r)*n+t.r,g:(e.g-t.g)*n+t.g,b:(e.b-t.b)*n+t.b};return i}function Mv(t,e,r){var n;return Math.round(t.h)>=60&&Math.round(t.h)<=240?n=r?Math.round(t.h)-E2*e:Math.round(t.h)+E2*e:n=r?Math.round(t.h)+E2*e:Math.round(t.h)-E2*e,n<0?n+=360:n>=360&&(n-=360),n}function Dv(t,e,r){if(t.h===0&&t.s===0)return t.s;var n;return r?n=t.s-_v*e:e===Tv?n=t.s+_v:n=t.s+gO*e,n>1&&(n=1),r&&e===Sv&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function xv(t,e,r){var n;return r?n=t.v+vO*e:n=t.v-yO*e,n>1&&(n=1),Number(n.toFixed(2))}function da(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=an(t),i=Sv;i>0;i-=1){var o=Cv(n),s=z2(an({h:Mv(o,i,!0),s:Dv(o,i,!0),v:xv(o,i,!0)}));r.push(s)}r.push(z2(n));for(var a=1;a<=Tv;a+=1){var c=Cv(n),l=z2(an({h:Mv(c,a),s:Dv(c,a),v:xv(c,a)}));r.push(l)}return e.theme==="dark"?wO.map(function(u){var d=u.index,h=u.opacity,f=z2(bO(an(e.backgroundColor||"#141414"),an(r[d]),h*100));return f}):r}var Ud={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},At={},$d={};Object.keys(Ud).forEach(function(t){At[t]=da(Ud[t]),At[t].primary=At[t][5],$d[t]=da(Ud[t],{theme:"dark",backgroundColor:"#141414"}),$d[t].primary=$d[t][5]});var bX=At.red,_X=At.volcano,CX=At.gold,MX=At.orange,DX=At.yellow,xX=At.lime,SX=At.green,TX=At.cyan,EX=At.blue,zX=At.geekblue,IX=At.purple,kX=At.magenta,PX=At.grey,OX=At.grey;var ri="[@ant-design/icons-angular]:";function _O(t){console.error(`${ri} ${t}.`)}function Iv(t){v4()&&console.warn(`${ri} ${t}.`)}function Ev(t){return da(t)[0]}function I2(t,e){switch(e){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${ri}Theme "${e}" is not a recognized theme!`)}}function CO(t,e,r,n){return`${I2(t,e)}-${r}-${n}`}function MO(t){return t==="o"?"outline":t}function DO(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}function kv(t){return typeof t=="object"&&typeof t.name=="string"&&(typeof t.theme=="string"||t.theme===void 0)&&typeof t.icon=="string"}function xO(t){let e=t.split("-"),r=MO(e.splice(e.length-1,1)[0]);return{name:e.join("-"),theme:r,icon:""}}function SO(t){return t.cloneNode(!0)}function TO(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function k2(t){let e=t.split(":");switch(e.length){case 1:return[t,""];case 2:return[e[1],e[0]];default:throw new Error(`${ri}The icon type ${t} is not valid!`)}}function EO(t){return k2(t)[1]!==""}function zO(){return new Error(`${ri}Type should have a namespace. Try "namespace:${name}".`)}function zv(t){return new Error(`${ri}the icon ${t} does not exist or is not registered.`)}function IO(){return _O('you need to import "HttpClientModule" to use dynamic importing.'),null}function kO(t){return new Error(`${ri}The url "${t}" is unsafe.`)}function PO(){return new Error(`${ri}<svg> tag not found.`)}function OO(){return new Error(`${ri}Importing timeout error.`)}var AO="__ant_icon_load",FO=new E("ant_icons"),qd=(()=>{let e=class e{set twoToneColor({primaryColor:n,secondaryColor:i}){this._twoToneColorPalette.primaryColor=n,this._twoToneColorPalette.secondaryColor=i||Ev(n)}get twoToneColor(){return b({},this._twoToneColorPalette)}get _disableDynamicLoading(){return!1}constructor(n,i,o,s,a){this._rendererFactory=n,this._handler=i,this._document=o,this.sanitizer=s,this._antIcons=a,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new S,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new _c(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?Iv("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window[AO]=n=>{this._jsonpIconLoad$.next(n)})}changeAssetsSource(n){this._assetsUrlRoot=n.endsWith("/")?n:n+"/"}addIcon(...n){n.forEach(i=>{this._svgDefinitions.set(I2(i.name,i.theme),i)})}addIconLiteral(n,i){let[o,s]=k2(n);if(!s)throw zO();this.addIcon({name:n,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(n,i){let o=kv(n)?n:this._svgDefinitions.get(n)||null;if(!o&&this._disableDynamicLoading)throw zv(n);return(o?A(o):this._loadIconDynamically(n)).pipe(Z(a=>{if(!a)throw zv(n);return this._loadSVGFromCacheOrCreateNew(a,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(n){if(!this._http&&!this._enableJsonpLoading)return A(IO());let i=this._inProgressFetches.get(n);if(!i){let[o,s]=k2(n),a=s?{name:n,icon:""}:xO(o),c=this._enableJsonpLoading?".js":".svg",l=(s?`${this._assetsUrlRoot}assets/${s}/${o}`:`${this._assetsUrlRoot}assets/${a.theme}/${a.name}`)+c,u=this.sanitizer.sanitize(yn.URL,l);if(!u)throw kO(l);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(a,u):this._http.get(u,{responseType:"text"}).pipe(Z(h=>ke(b({},a),{icon:h})))).pipe(Fe(h=>this.addIcon(h)),un(()=>this._inProgressFetches.delete(n)),En(()=>A(null)),fr()),this._inProgressFetches.set(n,i)}return i}_loadIconDynamicallyWithJsonp(n,i){return new Y(o=>{let s=this._document.createElement("script"),a=setTimeout(()=>{c(),o.error(OO())},6e3);s.src=i;function c(){s.parentNode.removeChild(s),clearTimeout(a)}this._document.body.appendChild(s),this._jsonpIconLoad$.pipe(ge(l=>l.name===n.name&&l.theme===n.theme),ze(1)).subscribe(l=>{o.next(l),c()})})}_loadSVGFromCacheOrCreateNew(n,i){let o,s=i||this._twoToneColorPalette.primaryColor,a=Ev(s)||this._twoToneColorPalette.secondaryColor,c=n.theme==="twotone"?CO(n.name,n.theme,s,a):n.theme===void 0?n.name:I2(n.name,n.theme),l=this._svgRenderedDefinitions.get(c);return l?o=l.icon:(o=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(EO(n.name)?n.icon:TO(n.icon)),n.theme==="twotone",s,a)),this._svgRenderedDefinitions.set(c,ke(b({},n),{icon:o}))),SO(o)}_createSVGElementFromString(n){let i=this._document.createElement("div");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw PO;return o}_setSVGAttribute(n){return this._renderer.setAttribute(n,"width","1em"),this._renderer.setAttribute(n,"height","1em"),n}_colorizeSVGIcon(n,i,o,s){if(i){let a=n.childNodes,c=a.length;for(let l=0;l<c;l++){let u=a[l];u.getAttribute("fill")==="secondaryColor"?this._renderer.setAttribute(u,"fill",s):this._renderer.setAttribute(u,"fill",o)}}return this._renderer.setAttribute(n,"fill","currentColor"),n}};e.\u0275fac=function(i){return new(i||e)(g(Jn),g(Oi,8),g(V,8),g(Mo),g(FO,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function NO(t,e){return t.type===e.type&&t.theme===e.theme&&t.twoToneColor===e.twoToneColor}var Pv=(()=>{let e=class e{constructor(n,i,o){this._iconService=n,this._elementRef=i,this._renderer=o}ngOnChanges(n){(n.type||n.theme||n.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(n=>{if(!this.type){this._clearSVGElement(),n(null);return}let i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(o=>{let s=this._getSelfRenderMeta();NO(i,s)?(this._setSVGElement(o),n(o)):n(null)})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(n,i){if(kv(n))return n;{let[o,s]=k2(n);return s?n:DO(o)?(i&&Iv(`'type' ${o} already gets a theme inside so 'theme' ${i} would be ignored`),o):I2(o,i||this._iconService.defaultTheme)}}_setSVGElement(n){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,n)}_clearSVGElement(){let n=this._elementRef.nativeElement,i=n.childNodes,o=i.length;for(let s=o-1;s>=0;s--){let a=i[s];a.tagName?.toLowerCase()==="svg"&&this._renderer.removeChild(n,a)}}};e.\u0275fac=function(i){return new(i||e)(m(qd),m(oe),m(st))},e.\u0275dir=ne({type:e,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[He]});let t=e;return t})();var KX={name:"alipay-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zm460.5 67c100.1 33.4 154.7 43 166.7 44.8A445.9 445.9 0 00960 512c0-247.4-200.6-448-448-448S64 264.6 64 512s200.6 448 448 448c155.9 0 293.2-79.7 373.5-200.5-75.6-29.8-213.6-85-286.8-120.1-69.9 85.7-160.1 137.8-253.7 137.8-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9z" /></svg>'};var ZX={name:"appstore",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z" /></svg>'};var Ov={name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var Wd={name:"bell",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z" /></svg>'};var QX={name:"arrow-down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" /></svg>'};var Av={name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'},Fv={name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var Nv={name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var Rv={name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},Lv={name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'};var Hv={name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'};var Vv={name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var Yv={name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'};var jv={name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'},Bv={name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'};var Uv={name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'};var $v={name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var qv={name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'};var ol={name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'};var Wv={name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'};var XX={name:"copyright",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z" /></svg>'},Gv={name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'};var Kv={name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'};var Zv={name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'},Qv={name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var Xv={name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'};var Jv={name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var ey={name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'};var ty={name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'};var JX={name:"fullscreen",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z" /></svg>'};var eJ={name:"fullscreen-exit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z" /></svg>'};var tJ={name:"github",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z" /></svg>'};var ny={name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'};var Gd={name:"inbox",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" /></svg>'};var ry={name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var iy={name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'};var oy={name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'};var nJ={name:"logout",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z" /></svg>'};var rJ={name:"lock",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z" /></svg>'};var iJ={name:"mail",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z" /></svg>'};var sy={name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'};var ay={name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'};var cy={name:"menu-unfold",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z" /></svg>'};var ly={name:"menu-fold",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z" /></svg>'};var uy={name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'};var Kd={name:"plus",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /><path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /></svg>'};var dy={name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'};var hy={name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'};var fy={name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'};var py={name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'};var my={name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'};var Zd={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'};var gy={name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'};var oJ={name:"taobao-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z" /></svg>'};var sJ={name:"tool",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z" /></svg>'};var aJ={name:"setting",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /></svg>'};var vy={name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'},yy={name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'};var cJ={name:"user",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z" /></svg>'};var wy={name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'};var lJ={name:"weibo-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z" /></svg>'};var by={name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var _y={name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var Xd;try{Xd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xd=!1}var Ge=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Zu(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Xd)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(g(Yt))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gJ=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var sl;function RO(){if(sl==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>sl=!0}))}finally{sl=sl||!1}return sl}function Fo(t){return RO()?t:!!t.capture}var ar=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(ar||{}),P2,Ao;function O2(){if(Ao==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ao=!1,Ao;if("scrollBehavior"in document.documentElement.style)Ao=!0;else{let t=Element.prototype.scrollTo;t?Ao=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Ao=!1}}return Ao}function ha(){if(typeof document!="object"||!document)return ar.NORMAL;if(P2==null){let t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",t.appendChild(r),document.body.appendChild(t),P2=ar.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,P2=t.scrollLeft===0?ar.NEGATED:ar.INVERTED),t.remove()}return P2}var Qd;function LO(){if(Qd==null){let t=typeof document<"u"?document.head:null;Qd=!!(t&&(t.createShadowRoot||t.attachShadow))}return Qd}function al(t){if(LO()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Cy(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function cn(t){return t.composedPath?t.composedPath()[0]:t.target}function Jd(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var HO=[Ov,Av,Nv,$v,Fv,Vv,Rv,Lv,Hv,Bv,jv,Yv,Uv,qv,ol,Wv,Gv,Kv,Zv,Qv,Jv,Xv,ay,ey,iy,ty,ry,ny,oy,sy,uy,dy,hy,py,fy,Zd,my,Zd,vy,wy,yy,gy,by,_y],Dy=new E("nz_icons"),OJ=new E("nz_icon_default_twotone_color"),My="#1890ff",fa=(()=>{let e=class e extends qd{get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(n){n.getAttribute("viewBox")||this._renderer.setAttribute(n,"viewBox","0 0 1024 1024"),(!n.getAttribute("width")||!n.getAttribute("height"))&&(this._renderer.setAttribute(n,"width","1em"),this._renderer.setAttribute(n,"height","1em")),n.getAttribute("fill")||this._renderer.setAttribute(n,"fill","currentColor")}fetchFromIconfont(n){let{scriptUrl:i}=n;if(this._document&&!this.iconfontCache.has(i)){let o=this._renderer.createElement("script");this._renderer.setAttribute(o,"src",i),this._renderer.setAttribute(o,"data-namespace",i.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,o),this.iconfontCache.add(i)}}createIconfontIcon(n){return this._createSVGElementFromString(`<svg><use xlink:href="${n}"></svg>`)}constructor(n,i,o,s,a,c,l){super(n,a,c,i,[...HO,...l||[]]),this.nzConfigService=o,this.platform=s,this.configUpdated$=new S,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){let n=this.getConfig();this.defaultTheme=n.nzTheme||"outline"}configDefaultTwotoneColor(){let i=this.getConfig().nzTwotoneColor||My,o=My;i&&(i.startsWith("#")?o=i:Cn("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:o}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}};e.\u0275fac=function(i){return new(i||e)(g(Jn),g(Mo),g(Rn),g(Ge),g(Oi,8),g(V,8),g(Dy,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xy=new E("nz_icons_patch"),Sy=(()=>{let e=class e{constructor(n,i){this.extraIcons=n,this.rootIconService=i,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(n=>this.rootIconService.addIcon(n)),this.patched=!0)}};e.\u0275fac=function(i){return new(i||e)(g(xy,2),g(fa))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),ii=(()=>{let e=class e extends Pv{set nzSpin(n){this.spin=n}set nzType(n){this.type=n}set nzTheme(n){this.theme=n}set nzTwotoneColor(n){this.twoToneColor=n}set nzIconfont(n){this.iconfont=n}constructor(n,i,o,s,a,c){super(s,o,a),this.ngZone=n,this.changeDetectorRef=i,this.iconService=s,this.renderer=a,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new S,c&&c.doPatch(),this.el=o.nativeElement}ngOnChanges(n){let{nzType:i,nzTwotoneColor:o,nzSpin:s,nzTheme:a,nzRotate:c}=n;i||o||s||a?this.changeIcon2():c?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){let n=this.el.children,i=n.length;if(!this.type&&n.length)for(;i--;){let o=n[i];o.tagName.toLowerCase()==="svg"&&this.iconService.normalizeSvgElement(o)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{Le(this._changeIcon()).pipe(ce(this.destroy$)).subscribe({next:n=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),n&&(this.setSVGData(n),this.handleSpin(n),this.handleRotate(n))})},error:Cn})})}handleSpin(n){this.spin||this.type==="loading"?this.renderer.addClass(n,"anticon-spin"):this.renderer.removeClass(n,"anticon-spin")}handleRotate(n){this.nzRotate?this.renderer.setAttribute(n,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(n,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(n){this.renderer.setAttribute(n,"data-icon",this.type),this.renderer.setAttribute(n,"aria-hidden","true")}};e.\u0275fac=function(i){return new(i||e)(m(U),m(ft),m(oe),m(fa),m(st),m(Sy,8))},e.\u0275dir=ne({type:e,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(i,o){i&2&&St("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],standalone:!0,features:[nn,He]});let t=e;return je([Je()],t.prototype,"nzSpin",null),t})(),No=(()=>{let e=class e{static forRoot(n){return{ngModule:e,providers:[{provide:Dy,useValue:n}]}}static forChild(n){return{ngModule:e,providers:[Sy,{provide:xy,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var eh=(()=>{let e=class e{setHiddenAttribute(){this.hidden?typeof this.hidden=="string"?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden):this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(n,i){this.elementRef=n,this.renderer=i,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(st))},e.\u0275dir=ne({type:e,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},standalone:!0,features:[He]});let t=e;return t})(),Ty=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var th=class{get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(e,r,n,i,o){this.triggerElement=e,this.ngZone=r,this.insertExtraNode=n,this.platformId=i,this.cspNonce=o,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=s=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||s.target.tagName==="INPUT"||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new Ge(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){let e=this.triggerElement,r=this.getWaveColor(e);e.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(r)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`
  14. [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {
  15. --antd-wave-shadow-color: ${r};
  16. }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",e.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{e.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(e){return!!e&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&this.isNotGrey(e)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(e)&&e!=="transparent"}isNotGrey(e){let r=e.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return r&&r[1]&&r[2]&&r[3]?!(r[1]===r[2]&&r[2]===r[3]):!0}getWaveColor(e){let r=getComputedStyle(e);return r.getPropertyValue("border-top-color")||r.getPropertyValue("border-color")||r.getPropertyValue("background-color")}runTimeoutOutsideZone(e,r){this.ngZone.runOutsideAngular(()=>setTimeout(e,r))}},YO={disabled:!1},Ey=new E("nz-wave-global-options");function jO(t){return Wt([{provide:Ey,useValue:t}])}var nh=(()=>{let e=class e{get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}constructor(n,i,o,s,a,c){this.ngZone=n,this.elementRef=i,this.config=o,this.animationType=s,this.platformId=a,this.cspNonce=c,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let n=!1;return this.config&&typeof this.config.disabled=="boolean"&&(n=this.config.disabled),this.animationType==="NoopAnimations"&&(n=!0),n}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new th(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}};e.\u0275fac=function(i){return new(i||e)(m(U),m(oe),m(Ey,8),m(gn,8),m(Yt),m(qr,8))},e.\u0275dir=ne({type:e,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"],standalone:!0});let t=e;return t})(),zy=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[jO(YO)]});let t=e;return t})();var UO=new E("cdk-dir-doc",{providedIn:"root",factory:$O});function $O(){return w(V)}var qO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function WO(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?qO.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Ft=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new re,n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=WO(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(g(UO,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ro=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var GO=["nz-button",""];function KO(t,e){t&1&&et(0,"span",1)}var ZO=["*"],Iy="button",F2=(()=>{let e=class e{insertSpan(n,i){n.forEach(o=>{if(o.nodeName==="#text"){let s=i.createElement("span"),a=i.parentNode(o);i.insertBefore(a,s,o),i.appendChild(s,o)}})}get iconOnly(){let n=Array.from(this.elementRef?.nativeElement?.childNodes||[]),i=n.every(a=>a.nodeName!=="#text"),o=n.filter(a=>!(a.nodeName==="#comment"||a?.attributes?.getNamedItem("nz-icon"))).length==0;return!!this.nzIconDirectiveElement&&o&&i}constructor(n,i,o,s,a,c){this.ngZone=n,this.elementRef=i,this.cdr=o,this.renderer=s,this.nzConfigService=a,this.directionality=c,this._nzModuleName=Iy,this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new S,this.loading$=new S,this.nzConfigService.getConfigChangeEventForComponent(Iy).pipe(ce(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe(ce(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{Kn(this.elementRef.nativeElement,"click",{capture:!0}).pipe(ce(this.destroy$)).subscribe(n=>{(this.disabled&&n.target?.tagName==="A"||this.nzLoading)&&(n.preventDefault(),n.stopImmediatePropagation())})})}ngOnChanges(n){let{nzLoading:i}=n;i&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(Rt(this.nzLoading),ge(()=>!!this.nzIconDirectiveElement),ce(this.destroy$)).subscribe(n=>{let i=this.nzIconDirectiveElement.nativeElement;n?this.renderer.setStyle(i,"display","none"):this.renderer.removeStyle(i,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}};e.\u0275fac=function(i){return new(i||e)(m(U),m(oe),m(ft),m(st),m(Rn),m(Ft,8))},e.\u0275cmp=bt({type:e,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(i,o,s){if(i&1&&wn(s,ii,5,oe),i&2){let a;ct(a=lt())&&(o.nzIconDirectiveElement=a.first)}},hostAttrs:[1,"ant-btn"],hostVars:32,hostBindings:function(i,o){i&2&&(kn("tabindex",o.disabled?-1:o.tabIndex===null?null:o.tabIndex)("disabled",o.disabled||null),St("ant-btn-primary",o.nzType==="primary")("ant-btn-dashed",o.nzType==="dashed")("ant-btn-link",o.nzType==="link")("ant-btn-text",o.nzType==="text")("ant-btn-circle",o.nzShape==="circle")("ant-btn-round",o.nzShape==="round")("ant-btn-lg",o.nzSize==="large")("ant-btn-sm",o.nzSize==="small")("ant-btn-dangerous",o.nzDanger)("ant-btn-loading",o.nzLoading)("ant-btn-background-ghost",o.nzGhost)("ant-btn-block",o.nzBlock)("ant-input-search-button",o.nzSearch)("ant-btn-rtl",o.dir==="rtl")("ant-btn-icon-only",o.iconOnly))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],standalone:!0,features:[He,_t],attrs:GO,ngContentSelectors:ZO,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(i,o){i&1&&(yo(),Q(0,KO,1,0,"span",0),wo(1)),i&2&&I("ngIf",o.nzLoading)},dependencies:[No,ii,nr],encapsulation:2,changeDetection:0});let t=e;return je([Je()],t.prototype,"nzBlock",void 0),je([Je()],t.prototype,"nzGhost",void 0),je([Je()],t.prototype,"nzSearch",void 0),je([Je()],t.prototype,"nzLoading",void 0),je([Je()],t.prototype,"nzDanger",void 0),je([Je()],t.prototype,"disabled",void 0),je([Ln()],t.prototype,"nzSize",void 0),t})();var rh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[F2,Ty,zy]});let t=e;return t})();function jt(t){"@babel/helpers - typeof";return jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jt(t)}function de(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function _(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function T(t){_(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||jt(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function pa(t,e){_(2,arguments);var r=T(t),n=de(e);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function ma(t,e){_(2,arguments);var r=T(t),n=de(e);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),o=new Date(r.getTime());o.setMonth(r.getMonth()+n+1,0);var s=o.getDate();return i>=s?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function ll(t,e){_(2,arguments);var r=T(t).getTime(),n=de(e);return new Date(r+n)}var XO={};function Et(){return XO}function Ho(t,e){var r,n,i,o,s,a,c,l;_(1,arguments);var u=Et(),d=de((r=(n=(i=(o=e?.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=T(t),f=h.getDay(),p=(f<d?7:0)+f-d;return h.setDate(h.getDate()-p),h.setHours(0,0,0,0),h}function Bi(t){return _(1,arguments),Ho(t,{weekStartsOn:1})}function ih(t){_(1,arguments);var e=T(t),r=e.getFullYear(),n=new Date(0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);var i=Bi(n),o=new Date(0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);var s=Bi(o);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function oh(t){_(1,arguments);var e=ih(t),r=new Date(0);r.setFullYear(e,0,4),r.setHours(0,0,0,0);var n=Bi(r);return n}function cr(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function Ui(t){_(1,arguments);var e=T(t);return e.setHours(0,0,0,0),e}var JO=864e5;function Vo(t,e){_(2,arguments);var r=Ui(t),n=Ui(e),i=r.getTime()-cr(r),o=n.getTime()-cr(n);return Math.round((i-o)/JO)}function N2(t,e){_(2,arguments);var r=de(e);return ll(t,r*1e3)}function R2(t,e){_(2,arguments);var r=de(e);return ma(t,r*12)}function Yo(t,e){_(2,arguments);var r=T(t),n=T(e),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}var eA=365.2425,tA=Math.pow(10,8)*24*60*60*1e3,jo=6e4,Bo=36e5,ky=1e3,pte=-tA;var nA=3600;var Py=nA*24,mte=Py*7,rA=Py*eA,iA=rA/12,gte=iA*3;function Uo(t,e){_(2,arguments);var r=Ui(t),n=Ui(e);return r.getTime()===n.getTime()}function sh(t){return _(1,arguments),t instanceof Date||jt(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ga(t){if(_(1,arguments),!sh(t)&&typeof t!="number")return!1;var e=T(t);return!isNaN(Number(e))}function va(t,e){_(2,arguments);var r=T(t),n=T(e),i=r.getFullYear()-n.getFullYear(),o=r.getMonth()-n.getMonth();return i*12+o}function L2(t,e){_(2,arguments);var r=T(t),n=T(e);return r.getFullYear()-n.getFullYear()}function $o(t,e){return _(2,arguments),T(t).getTime()-T(e).getTime()}var Oy={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},oA="trunc";function ya(t){return t?Oy[t]:Oy[oA]}function H2(t,e,r){_(2,arguments);var n=$o(t,e)/Bo;return ya(r?.roundingMethod)(n)}function V2(t,e,r){_(2,arguments);var n=$o(t,e)/jo;return ya(r?.roundingMethod)(n)}function Y2(t){_(1,arguments);var e=T(t);return e.setHours(23,59,59,999),e}function j2(t){_(1,arguments);var e=T(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function wa(t){_(1,arguments);var e=T(t);return Y2(e).getTime()===j2(e).getTime()}function ah(t,e){_(2,arguments);var r=T(t),n=T(e),i=Yo(r,n),o=Math.abs(va(r,n)),s;if(o<1)s=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*o);var a=Yo(r,n)===-i;wa(T(t))&&o===1&&Yo(t,n)===1&&(a=!1),s=i*(o-Number(a))}return s===0?0:s}function ba(t,e,r){_(2,arguments);var n=$o(t,e)/1e3;return ya(r?.roundingMethod)(n)}function B2(t){_(1,arguments);var e=T(t);return e.setSeconds(0,0),e}function ul(t){_(1,arguments);var e=T(t);return e.setDate(1),e.setHours(0,0,0,0),e}function dl(t,e){_(2,arguments);var r=de(e);return ll(t,-r)}var sA=864e5;function ch(t){_(1,arguments);var e=T(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),i=r-n;return Math.floor(i/sA)+1}function Vn(t){_(1,arguments);var e=1,r=T(t),n=r.getUTCDay(),i=(n<e?7:0)+n-e;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function hl(t){_(1,arguments);var e=T(t),r=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Vn(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=Vn(o);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function lh(t){_(1,arguments);var e=hl(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=Vn(r);return n}var aA=6048e5;function fl(t){_(1,arguments);var e=T(t),r=Vn(e).getTime()-lh(e).getTime();return Math.round(r/aA)+1}function Sn(t,e){var r,n,i,o,s,a,c,l;_(1,arguments);var u=Et(),d=de((r=(n=(i=(o=e?.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=T(t),f=h.getUTCDay(),p=(f<d?7:0)+f-d;return h.setUTCDate(h.getUTCDate()-p),h.setUTCHours(0,0,0,0),h}function qo(t,e){var r,n,i,o,s,a,c,l;_(1,arguments);var u=T(t),d=u.getUTCFullYear(),h=Et(),f=de((r=(n=(i=(o=e?.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:h.firstWeekContainsDate)!==null&&n!==void 0?n:(c=h.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(d+1,0,f),p.setUTCHours(0,0,0,0);var y=Sn(p,e),v=new Date(0);v.setUTCFullYear(d,0,f),v.setUTCHours(0,0,0,0);var M=Sn(v,e);return u.getTime()>=y.getTime()?d+1:u.getTime()>=M.getTime()?d:d-1}function uh(t,e){var r,n,i,o,s,a,c,l;_(1,arguments);var u=Et(),d=de((r=(n=(i=(o=e?.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),h=qo(t,e),f=new Date(0);f.setUTCFullYear(h,0,d),f.setUTCHours(0,0,0,0);var p=Sn(f,e);return p}var cA=6048e5;function pl(t,e){_(1,arguments);var r=T(t),n=Sn(r,e).getTime()-uh(r,e).getTime();return Math.round(n/cA)+1}function Ie(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var lA={y:function(e,r){var n=e.getUTCFullYear(),i=n>0?n:1-n;return Ie(r==="yy"?i%100:i,r.length)},M:function(e,r){var n=e.getUTCMonth();return r==="M"?String(n+1):Ie(n+1,2)},d:function(e,r){return Ie(e.getUTCDate(),r.length)},a:function(e,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,r){return Ie(e.getUTCHours()%12||12,r.length)},H:function(e,r){return Ie(e.getUTCHours(),r.length)},m:function(e,r){return Ie(e.getUTCMinutes(),r.length)},s:function(e,r){return Ie(e.getUTCSeconds(),r.length)},S:function(e,r){var n=r.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return Ie(o,r.length)}},oi=lA;var _a={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},uA={G:function(e,r,n){var i=e.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,r,n){if(r==="yo"){var i=e.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return oi.y(e,r)},Y:function(e,r,n,i){var o=qo(e,i),s=o>0?o:1-o;if(r==="YY"){var a=s%100;return Ie(a,2)}return r==="Yo"?n.ordinalNumber(s,{unit:"year"}):Ie(s,r.length)},R:function(e,r){var n=hl(e);return Ie(n,r.length)},u:function(e,r){var n=e.getUTCFullYear();return Ie(n,r.length)},Q:function(e,r,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return Ie(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,r,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return Ie(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,r,n){var i=e.getUTCMonth();switch(r){case"M":case"MM":return oi.M(e,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,r,n){var i=e.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return Ie(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,r,n,i){var o=pl(e,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):Ie(o,r.length)},I:function(e,r,n){var i=fl(e);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):Ie(i,r.length)},d:function(e,r,n){return r==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):oi.d(e,r)},D:function(e,r,n){var i=ch(e);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Ie(i,r.length)},E:function(e,r,n){var i=e.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,r,n,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(s);case"ee":return Ie(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,r,n,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(s);case"cc":return Ie(s,r.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,r,n){var i=e.getUTCDay(),o=i===0?7:i;switch(r){case"i":return String(o);case"ii":return Ie(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,r,n){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,r,n){var i=e.getUTCHours(),o;switch(i===12?o=_a.noon:i===0?o=_a.midnight:o=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,r,n){var i=e.getUTCHours(),o;switch(i>=17?o=_a.evening:i>=12?o=_a.afternoon:i>=4?o=_a.morning:o=_a.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,r,n){if(r==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return oi.h(e,r)},H:function(e,r,n){return r==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):oi.H(e,r)},K:function(e,r,n){var i=e.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Ie(i,r.length)},k:function(e,r,n){var i=e.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):Ie(i,r.length)},m:function(e,r,n){return r==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):oi.m(e,r)},s:function(e,r,n){return r==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):oi.s(e,r)},S:function(e,r){return oi.S(e,r)},X:function(e,r,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();if(s===0)return"Z";switch(r){case"X":return Fy(s);case"XXXX":case"XX":return Wo(s);case"XXXXX":case"XXX":default:return Wo(s,":")}},x:function(e,r,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(r){case"x":return Fy(s);case"xxxx":case"xx":return Wo(s);case"xxxxx":case"xxx":default:return Wo(s,":")}},O:function(e,r,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Ay(s,":");case"OOOO":default:return"GMT"+Wo(s,":")}},z:function(e,r,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Ay(s,":");case"zzzz":default:return"GMT"+Wo(s,":")}},t:function(e,r,n,i){var o=i._originalDate||e,s=Math.floor(o.getTime()/1e3);return Ie(s,r.length)},T:function(e,r,n,i){var o=i._originalDate||e,s=o.getTime();return Ie(s,r.length)}};function Ay(t,e){var r=t>0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),o=n%60;if(o===0)return r+String(i);var s=e||"";return r+String(i)+s+Ie(o,2)}function Fy(t,e){if(t%60===0){var r=t>0?"-":"+";return r+Ie(Math.abs(t)/60,2)}return Wo(t,e)}function Wo(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t),o=Ie(Math.floor(i/60),2),s=Ie(i%60,2);return n+o+r+s}var Ny=uA;var Ry=function(e,r){switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},Ly=function(e,r){switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},dA=function(e,r){var n=e.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return Ry(e,r);var s;switch(i){case"P":s=r.dateTime({width:"short"});break;case"PP":s=r.dateTime({width:"medium"});break;case"PPP":s=r.dateTime({width:"long"});break;case"PPPP":default:s=r.dateTime({width:"full"});break}return s.replace("{{date}}",Ry(i,r)).replace("{{time}}",Ly(o,r))},hA={p:Ly,P:dA},ml=hA;var fA=["D","DD"],pA=["YY","YYYY"];function U2(t){return fA.indexOf(t)!==-1}function $2(t){return pA.indexOf(t)!==-1}function Ca(t,e,r){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var mA={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gA=function(e,r,n){var i,o=mA[e];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},Hy=gA;function gl(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var vA={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yA={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wA={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bA={date:gl({formats:vA,defaultWidth:"full"}),time:gl({formats:yA,defaultWidth:"full"}),dateTime:gl({formats:wA,defaultWidth:"full"})},Vy=bA;var _A={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},CA=function(e,r,n,i){return _A[e]},Yy=CA;function Go(t){return function(e,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=r!=null&&r.width?String(r.width):o;i=t.formattingValues[s]||t.formattingValues[o]}else{var a=t.defaultWidth,c=r!=null&&r.width?String(r.width):t.defaultWidth;i=t.values[c]||t.values[a]}var l=t.argumentCallback?t.argumentCallback(e):e;return i[l]}}var MA={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},DA={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},xA={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},SA={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},TA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},EA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},zA=function(e,r){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},IA={ordinalNumber:zA,era:Go({values:MA,defaultWidth:"wide"}),quarter:Go({values:DA,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Go({values:xA,defaultWidth:"wide"}),day:Go({values:SA,defaultWidth:"wide"}),dayPeriod:Go({values:TA,defaultWidth:"wide",formattingValues:EA,defaultFormattingWidth:"wide"})},jy=IA;function Ko(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var s=o[0],a=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(a)?PA(a,function(d){return d.test(s)}):kA(a,function(d){return d.test(s)}),l;l=t.valueCallback?t.valueCallback(c):c,l=r.valueCallback?r.valueCallback(l):l;var u=e.slice(s.length);return{value:l,rest:u}}}function kA(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function PA(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}function dh(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var i=n[0],o=e.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=r.valueCallback?r.valueCallback(s):s;var a=e.slice(i.length);return{value:s,rest:a}}}var OA=/^(\d+)(th|st|nd|rd)?/i,AA=/\d+/i,FA={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},NA={any:[/^b/i,/^(a|c)/i]},RA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},LA={any:[/1/i,/2/i,/3/i,/4/i]},HA={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},VA={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},YA={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},jA={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},BA={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},UA={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$A={ordinalNumber:dh({matchPattern:OA,parsePattern:AA,valueCallback:function(e){return parseInt(e,10)}}),era:Ko({matchPatterns:FA,defaultMatchWidth:"wide",parsePatterns:NA,defaultParseWidth:"any"}),quarter:Ko({matchPatterns:RA,defaultMatchWidth:"wide",parsePatterns:LA,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Ko({matchPatterns:HA,defaultMatchWidth:"wide",parsePatterns:VA,defaultParseWidth:"any"}),day:Ko({matchPatterns:YA,defaultMatchWidth:"wide",parsePatterns:jA,defaultParseWidth:"any"}),dayPeriod:Ko({matchPatterns:BA,defaultMatchWidth:"any",parsePatterns:UA,defaultParseWidth:"any"})},By=$A;var qA={code:"en-US",formatDistance:Hy,formatLong:Vy,formatRelative:Yy,localize:jy,match:By,options:{weekStartsOn:0,firstWeekContainsDate:1}},Uy=qA;var Ma=Uy;var WA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,GA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,KA=/^'([^]*?)'?$/,ZA=/''/g,QA=/[a-zA-Z]/;function Zo(t,e,r){var n,i,o,s,a,c,l,u,d,h,f,p,y,v,M,P,X,$;_(2,arguments);var Ae=String(e),_e=Et(),Ee=(n=(i=r?.locale)!==null&&i!==void 0?i:_e.locale)!==null&&n!==void 0?n:Ma,$e=de((o=(s=(a=(c=r?.firstWeekContainsDate)!==null&&c!==void 0?c:r==null||(l=r.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&a!==void 0?a:_e.firstWeekContainsDate)!==null&&s!==void 0?s:(d=_e.locale)===null||d===void 0||(h=d.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!($e>=1&&$e<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Mt=de((f=(p=(y=(v=r?.weekStartsOn)!==null&&v!==void 0?v:r==null||(M=r.locale)===null||M===void 0||(P=M.options)===null||P===void 0?void 0:P.weekStartsOn)!==null&&y!==void 0?y:_e.weekStartsOn)!==null&&p!==void 0?p:(X=_e.locale)===null||X===void 0||($=X.options)===null||$===void 0?void 0:$.weekStartsOn)!==null&&f!==void 0?f:0);if(!(Mt>=0&&Mt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Ee.localize)throw new RangeError("locale must contain localize property");if(!Ee.formatLong)throw new RangeError("locale must contain formatLong property");var Bt=T(t);if(!ga(Bt))throw new RangeError("Invalid time value");var di=cr(Bt),ln=dl(Bt,di),Rr={firstWeekContainsDate:$e,weekStartsOn:Mt,locale:Ee,_originalDate:Bt},os=Ae.match(GA).map(function(pt){var O=pt[0];if(O==="p"||O==="P"){var B=ml[O];return B(pt,Ee.formatLong)}return pt}).join("").match(WA).map(function(pt){if(pt==="''")return"'";var O=pt[0];if(O==="'")return XA(pt);var B=Ny[O];if(B)return!(r!=null&&r.useAdditionalWeekYearTokens)&&$2(pt)&&Ca(pt,e,String(t)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&U2(pt)&&Ca(pt,e,String(t)),B(ln,pt,Ee.localize,Rr);if(O.match(QA))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return pt}).join("");return os}function XA(t){var e=t.match(KA);return e?e[1].replace(ZA,"'"):t}function Qo(t,e){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function hh(t){return Qo({},t)}var $y=1440,JA=2520,fh=43200,eF=86400;function ph(t,e,r){var n,i;_(2,arguments);var o=Et(),s=(n=(i=r?.locale)!==null&&i!==void 0?i:o.locale)!==null&&n!==void 0?n:Ma;if(!s.formatDistance)throw new RangeError("locale must contain formatDistance property");var a=Yo(t,e);if(isNaN(a))throw new RangeError("Invalid time value");var c=Qo(hh(r),{addSuffix:!!r?.addSuffix,comparison:a}),l,u;a>0?(l=T(e),u=T(t)):(l=T(t),u=T(e));var d=ba(u,l),h=(cr(u)-cr(l))/1e3,f=Math.round((d-h)/60),p;if(f<2)return r!=null&&r.includeSeconds?d<5?s.formatDistance("lessThanXSeconds",5,c):d<10?s.formatDistance("lessThanXSeconds",10,c):d<20?s.formatDistance("lessThanXSeconds",20,c):d<40?s.formatDistance("halfAMinute",0,c):d<60?s.formatDistance("lessThanXMinutes",1,c):s.formatDistance("xMinutes",1,c):f===0?s.formatDistance("lessThanXMinutes",1,c):s.formatDistance("xMinutes",f,c);if(f<45)return s.formatDistance("xMinutes",f,c);if(f<90)return s.formatDistance("aboutXHours",1,c);if(f<$y){var y=Math.round(f/60);return s.formatDistance("aboutXHours",y,c)}else{if(f<JA)return s.formatDistance("xDays",1,c);if(f<fh){var v=Math.round(f/$y);return s.formatDistance("xDays",v,c)}else if(f<eF)return p=Math.round(f/fh),s.formatDistance("aboutXMonths",p,c)}if(p=ah(u,l),p<12){var M=Math.round(f/fh);return s.formatDistance("xMonths",M,c)}else{var P=p%12,X=Math.floor(p/12);return P<3?s.formatDistance("aboutXYears",X,c):P<9?s.formatDistance("overXYears",X,c):s.formatDistance("almostXYears",X+1,c)}}function q2(t,e){return _(1,arguments),ph(t,Date.now(),e)}function mh(t){_(1,arguments);var e=T(t),r=e.getFullYear(),n=e.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}var tF=6048e5;function W2(t){_(1,arguments);var e=T(t),r=Bi(e).getTime()-oh(e).getTime();return Math.round(r/tF)+1}function G2(t){return _(1,arguments),T(t).getDate()===1}function K2(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function gh(t,e){if(t){if(typeof t=="string")return K2(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return K2(t,e)}}function Z2(t,e){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=gh(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  17. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,a;return{s:function(){r=r.call(t)},n:function(){var l=r.next();return o=l.done,l},e:function(l){s=!0,a=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw a}}}}function x(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vl(t,e){return vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},vl(t,e)}function R(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&vl(t,e)}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(t)}function vh(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function yh(t,e){if(e&&(jt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x(t)}function L(t){var e=vh();return function(){var n=Da(t),i;if(e){var o=Da(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return yh(this,i)}}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wh(t,e){if(jt(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(jt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function yl(t){var e=wh(t,"string");return jt(e)=="symbol"?e:String(e)}function qy(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,yl(n.key),n)}}function N(t,e,r){return e&&qy(t.prototype,e),r&&qy(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function D(t,e,r){return e=yl(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nF=10,Wy=function(){function t(){F(this,t),D(this,"priority",void 0),D(this,"subPriority",0)}return N(t,[{key:"validate",value:function(r,n){return!0}}]),t}(),Gy=function(t){R(r,t);var e=L(r);function r(n,i,o,s,a){var c;return F(this,r),c=e.call(this),c.value=n,c.validateValue=i,c.setValue=o,c.priority=s,a&&(c.subPriority=a),c}return N(r,[{key:"validate",value:function(i,o){return this.validateValue(i,this.value,o)}},{key:"set",value:function(i,o,s){return this.setValue(i,o,this.value,s)}}]),r}(Wy),Ky=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",nF),D(x(n),"subPriority",-1),n}return N(r,[{key:"set",value:function(i,o){if(o.timestampIsSet)return i;var s=new Date(0);return s.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),s.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),s}}]),r}(Wy);var j=function(){function t(){F(this,t),D(this,"incompatibleTokens",void 0),D(this,"priority",void 0),D(this,"subPriority",void 0)}return N(t,[{key:"run",value:function(r,n,i,o){var s=this.parse(r,n,i,o);return s?{setter:new Gy(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}},{key:"validate",value:function(r,n,i){return!0}}]),t}();var Zy=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",140),D(x(n),"incompatibleTokens",["R","u","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"G":case"GG":case"GGG":return s.era(i,{width:"abbreviated"})||s.era(i,{width:"narrow"});case"GGGGG":return s.era(i,{width:"narrow"});case"GGGG":default:return s.era(i,{width:"wide"})||s.era(i,{width:"abbreviated"})||s.era(i,{width:"narrow"})}}},{key:"set",value:function(i,o,s){return o.era=s,i.setUTCFullYear(s,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(j);var Se={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Yn={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ve(t,e){return t&&{value:e(t.value),rest:t.rest}}function De(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function jn(t,e){var r=e.match(t);if(!r)return null;if(r[0]==="Z")return{value:0,rest:e.slice(1)};var n=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,o=r[3]?parseInt(r[3],10):0,s=r[5]?parseInt(r[5],10):0;return{value:n*(i*Bo+o*jo+s*ky),rest:e.slice(r[0].length)}}function Q2(t){return De(Se.anyDigitsSigned,t)}function me(t,e){switch(t){case 1:return De(Se.singleDigit,e);case 2:return De(Se.twoDigits,e);case 3:return De(Se.threeDigits,e);case 4:return De(Se.fourDigits,e);default:return De(new RegExp("^\\d{1,"+t+"}"),e)}}function xa(t,e){switch(t){case 1:return De(Se.singleDigitSigned,e);case 2:return De(Se.twoDigitsSigned,e);case 3:return De(Se.threeDigitsSigned,e);case 4:return De(Se.fourDigitsSigned,e);default:return De(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Sa(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function X2(t,e){var r=e>0,n=r?e:1-e,i;if(n<=50)i=t||100;else{var o=n+50,s=Math.floor(o/100)*100,a=t>=o%100;i=t+s-(a?100:0)}return r?i:1-i}function J2(t){return t%400===0||t%4===0&&t%100!==0}var Qy=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",130),D(x(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){var a=function(l){return{year:l,isTwoDigitYear:o==="yy"}};switch(o){case"y":return Ve(me(4,i),a);case"yo":return Ve(s.ordinalNumber(i,{unit:"year"}),a);default:return Ve(me(o.length,i),a)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,s){var a=i.getUTCFullYear();if(s.isTwoDigitYear){var c=X2(s.year,a);return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}var l=!("era"in o)||o.era===1?s.year:1-s.year;return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(j);var Xy=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",130),D(x(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){var a=function(l){return{year:l,isTwoDigitYear:o==="YY"}};switch(o){case"Y":return Ve(me(4,i),a);case"Yo":return Ve(s.ordinalNumber(i,{unit:"year"}),a);default:return Ve(me(o.length,i),a)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,s,a){var c=qo(i,a);if(s.isTwoDigitYear){var l=X2(s.year,c);return i.setUTCFullYear(l,0,a.firstWeekContainsDate),i.setUTCHours(0,0,0,0),Sn(i,a)}var u=!("era"in o)||o.era===1?s.year:1-s.year;return i.setUTCFullYear(u,0,a.firstWeekContainsDate),i.setUTCHours(0,0,0,0),Sn(i,a)}}]),r}(j);var Jy=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",130),D(x(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o){return o==="R"?xa(4,i):xa(o.length,i)}},{key:"set",value:function(i,o,s){var a=new Date(0);return a.setUTCFullYear(s,0,4),a.setUTCHours(0,0,0,0),Vn(a)}}]),r}(j);var ew=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",130),D(x(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o){return o==="u"?xa(4,i):xa(o.length,i)}},{key:"set",value:function(i,o,s){return i.setUTCFullYear(s,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(j);var tw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",120),D(x(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"Q":case"QQ":return me(o.length,i);case"Qo":return s.ordinalNumber(i,{unit:"quarter"});case"QQQ":return s.quarter(i,{width:"abbreviated",context:"formatting"})||s.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(i,{width:"wide",context:"formatting"})||s.quarter(i,{width:"abbreviated",context:"formatting"})||s.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,s){return i.setUTCMonth((s-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),r}(j);var nw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",120),D(x(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"q":case"qq":return me(o.length,i);case"qo":return s.ordinalNumber(i,{unit:"quarter"});case"qqq":return s.quarter(i,{width:"abbreviated",context:"standalone"})||s.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(i,{width:"wide",context:"standalone"})||s.quarter(i,{width:"abbreviated",context:"standalone"})||s.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,s){return i.setUTCMonth((s-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),r}(j);var rw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),D(x(n),"priority",110),n}return N(r,[{key:"parse",value:function(i,o,s){var a=function(l){return l-1};switch(o){case"M":return Ve(De(Se.month,i),a);case"MM":return Ve(me(2,i),a);case"Mo":return Ve(s.ordinalNumber(i,{unit:"month"}),a);case"MMM":return s.month(i,{width:"abbreviated",context:"formatting"})||s.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(i,{width:"wide",context:"formatting"})||s.month(i,{width:"abbreviated",context:"formatting"})||s.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,s){return i.setUTCMonth(s,1),i.setUTCHours(0,0,0,0),i}}]),r}(j);var iw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",110),D(x(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){var a=function(l){return l-1};switch(o){case"L":return Ve(De(Se.month,i),a);case"LL":return Ve(me(2,i),a);case"Lo":return Ve(s.ordinalNumber(i,{unit:"month"}),a);case"LLL":return s.month(i,{width:"abbreviated",context:"standalone"})||s.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(i,{width:"wide",context:"standalone"})||s.month(i,{width:"abbreviated",context:"standalone"})||s.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,s){return i.setUTCMonth(s,1),i.setUTCHours(0,0,0,0),i}}]),r}(j);function bh(t,e,r){_(2,arguments);var n=T(t),i=de(e),o=pl(n,r)-i;return n.setUTCDate(n.getUTCDate()-o*7),n}var ow=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",100),D(x(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"w":return De(Se.week,i);case"wo":return s.ordinalNumber(i,{unit:"week"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,s,a){return Sn(bh(i,s,a),a)}}]),r}(j);function _h(t,e){_(2,arguments);var r=T(t),n=de(e),i=fl(r)-n;return r.setUTCDate(r.getUTCDate()-i*7),r}var sw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",100),D(x(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"I":return De(Se.week,i);case"Io":return s.ordinalNumber(i,{unit:"week"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,s){return Vn(_h(i,s))}}]),r}(j);var rF=[31,28,31,30,31,30,31,31,30,31,30,31],iF=[31,29,31,30,31,30,31,31,30,31,30,31],aw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",90),D(x(n),"subPriority",1),D(x(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"d":return De(Se.date,i);case"do":return s.ordinalNumber(i,{unit:"date"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){var s=i.getUTCFullYear(),a=J2(s),c=i.getUTCMonth();return a?o>=1&&o<=iF[c]:o>=1&&o<=rF[c]}},{key:"set",value:function(i,o,s){return i.setUTCDate(s),i.setUTCHours(0,0,0,0),i}}]),r}(j);var cw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",90),D(x(n),"subpriority",1),D(x(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"D":case"DD":return De(Se.dayOfYear,i);case"Do":return s.ordinalNumber(i,{unit:"date"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){var s=i.getUTCFullYear(),a=J2(s);return a?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,s){return i.setUTCMonth(0,s),i.setUTCHours(0,0,0,0),i}}]),r}(j);function Xo(t,e,r){var n,i,o,s,a,c,l,u;_(2,arguments);var d=Et(),h=de((n=(i=(o=(s=r?.weekStartsOn)!==null&&s!==void 0?s:r==null||(a=r.locale)===null||a===void 0||(c=a.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&o!==void 0?o:d.weekStartsOn)!==null&&i!==void 0?i:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=T(t),p=de(e),y=f.getUTCDay(),v=p%7,M=(v+7)%7,P=(M<h?7:0)+p-y;return f.setUTCDate(f.getUTCDate()+P),f}var lw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",90),D(x(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"E":case"EE":case"EEE":return s.day(i,{width:"abbreviated",context:"formatting"})||s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(i,{width:"wide",context:"formatting"})||s.day(i,{width:"abbreviated",context:"formatting"})||s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=Xo(i,s,a),i.setUTCHours(0,0,0,0),i}}]),r}(j);var uw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",90),D(x(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s,a){var c=function(u){var d=Math.floor((u-1)/7)*7;return(u+a.weekStartsOn+6)%7+d};switch(o){case"e":case"ee":return Ve(me(o.length,i),c);case"eo":return Ve(s.ordinalNumber(i,{unit:"day"}),c);case"eee":return s.day(i,{width:"abbreviated",context:"formatting"})||s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"});case"eeeee":return s.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(i,{width:"wide",context:"formatting"})||s.day(i,{width:"abbreviated",context:"formatting"})||s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=Xo(i,s,a),i.setUTCHours(0,0,0,0),i}}]),r}(j);var dw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",90),D(x(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s,a){var c=function(u){var d=Math.floor((u-1)/7)*7;return(u+a.weekStartsOn+6)%7+d};switch(o){case"c":case"cc":return Ve(me(o.length,i),c);case"co":return Ve(s.ordinalNumber(i,{unit:"day"}),c);case"ccc":return s.day(i,{width:"abbreviated",context:"standalone"})||s.day(i,{width:"short",context:"standalone"})||s.day(i,{width:"narrow",context:"standalone"});case"ccccc":return s.day(i,{width:"narrow",context:"standalone"});case"cccccc":return s.day(i,{width:"short",context:"standalone"})||s.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(i,{width:"wide",context:"standalone"})||s.day(i,{width:"abbreviated",context:"standalone"})||s.day(i,{width:"short",context:"standalone"})||s.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=Xo(i,s,a),i.setUTCHours(0,0,0,0),i}}]),r}(j);function Ch(t,e){_(2,arguments);var r=de(e);r%7===0&&(r=r-7);var n=1,i=T(t),o=i.getUTCDay(),s=r%7,a=(s+7)%7,c=(a<n?7:0)+r-o;return i.setUTCDate(i.getUTCDate()+c),i}var hw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",90),D(x(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){var a=function(l){return l===0?7:l};switch(o){case"i":case"ii":return me(o.length,i);case"io":return s.ordinalNumber(i,{unit:"day"});case"iii":return Ve(s.day(i,{width:"abbreviated",context:"formatting"})||s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ve(s.day(i,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ve(s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ve(s.day(i,{width:"wide",context:"formatting"})||s.day(i,{width:"abbreviated",context:"formatting"})||s.day(i,{width:"short",context:"formatting"})||s.day(i,{width:"narrow",context:"formatting"}),a)}}},{key:"validate",value:function(i,o){return o>=1&&o<=7}},{key:"set",value:function(i,o,s){return i=Ch(i,s),i.setUTCHours(0,0,0,0),i}}]),r}(j);var fw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",80),D(x(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"a":case"aa":case"aaa":return s.dayPeriod(i,{width:"abbreviated",context:"formatting"})||s.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(i,{width:"wide",context:"formatting"})||s.dayPeriod(i,{width:"abbreviated",context:"formatting"})||s.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,s){return i.setUTCHours(Sa(s),0,0,0),i}}]),r}(j);var pw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",80),D(x(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"b":case"bb":case"bbb":return s.dayPeriod(i,{width:"abbreviated",context:"formatting"})||s.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(i,{width:"wide",context:"formatting"})||s.dayPeriod(i,{width:"abbreviated",context:"formatting"})||s.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,s){return i.setUTCHours(Sa(s),0,0,0),i}}]),r}(j);var mw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",80),D(x(n),"incompatibleTokens",["a","b","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"B":case"BB":case"BBB":return s.dayPeriod(i,{width:"abbreviated",context:"formatting"})||s.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(i,{width:"wide",context:"formatting"})||s.dayPeriod(i,{width:"abbreviated",context:"formatting"})||s.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,s){return i.setUTCHours(Sa(s),0,0,0),i}}]),r}(j);var gw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",70),D(x(n),"incompatibleTokens",["H","K","k","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"h":return De(Se.hour12h,i);case"ho":return s.ordinalNumber(i,{unit:"hour"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=12}},{key:"set",value:function(i,o,s){var a=i.getUTCHours()>=12;return a&&s<12?i.setUTCHours(s+12,0,0,0):!a&&s===12?i.setUTCHours(0,0,0,0):i.setUTCHours(s,0,0,0),i}}]),r}(j);var vw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",70),D(x(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"H":return De(Se.hour23h,i);case"Ho":return s.ordinalNumber(i,{unit:"hour"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=23}},{key:"set",value:function(i,o,s){return i.setUTCHours(s,0,0,0),i}}]),r}(j);var yw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",70),D(x(n),"incompatibleTokens",["h","H","k","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"K":return De(Se.hour11h,i);case"Ko":return s.ordinalNumber(i,{unit:"hour"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,s){var a=i.getUTCHours()>=12;return a&&s<12?i.setUTCHours(s+12,0,0,0):i.setUTCHours(s,0,0,0),i}}]),r}(j);var ww=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",70),D(x(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"k":return De(Se.hour24h,i);case"ko":return s.ordinalNumber(i,{unit:"hour"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=24}},{key:"set",value:function(i,o,s){var a=s<=24?s%24:s;return i.setUTCHours(a,0,0,0),i}}]),r}(j);var bw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",60),D(x(n),"incompatibleTokens",["t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"m":return De(Se.minute,i);case"mo":return s.ordinalNumber(i,{unit:"minute"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,s){return i.setUTCMinutes(s,0,0),i}}]),r}(j);var _w=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",50),D(x(n),"incompatibleTokens",["t","T"]),n}return N(r,[{key:"parse",value:function(i,o,s){switch(o){case"s":return De(Se.second,i);case"so":return s.ordinalNumber(i,{unit:"second"});default:return me(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,s){return i.setUTCSeconds(s,0),i}}]),r}(j);var Cw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",30),D(x(n),"incompatibleTokens",["t","T"]),n}return N(r,[{key:"parse",value:function(i,o){var s=function(c){return Math.floor(c*Math.pow(10,-o.length+3))};return Ve(me(o.length,i),s)}},{key:"set",value:function(i,o,s){return i.setUTCMilliseconds(s),i}}]),r}(j);var Mw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",10),D(x(n),"incompatibleTokens",["t","T","x"]),n}return N(r,[{key:"parse",value:function(i,o){switch(o){case"X":return jn(Yn.basicOptionalMinutes,i);case"XX":return jn(Yn.basic,i);case"XXXX":return jn(Yn.basicOptionalSeconds,i);case"XXXXX":return jn(Yn.extendedOptionalSeconds,i);case"XXX":default:return jn(Yn.extended,i)}}},{key:"set",value:function(i,o,s){return o.timestampIsSet?i:new Date(i.getTime()-s)}}]),r}(j);var Dw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",10),D(x(n),"incompatibleTokens",["t","T","X"]),n}return N(r,[{key:"parse",value:function(i,o){switch(o){case"x":return jn(Yn.basicOptionalMinutes,i);case"xx":return jn(Yn.basic,i);case"xxxx":return jn(Yn.basicOptionalSeconds,i);case"xxxxx":return jn(Yn.extendedOptionalSeconds,i);case"xxx":default:return jn(Yn.extended,i)}}},{key:"set",value:function(i,o,s){return o.timestampIsSet?i:new Date(i.getTime()-s)}}]),r}(j);var xw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",40),D(x(n),"incompatibleTokens","*"),n}return N(r,[{key:"parse",value:function(i){return Q2(i)}},{key:"set",value:function(i,o,s){return[new Date(s*1e3),{timestampIsSet:!0}]}}]),r}(j);var Sw=function(t){R(r,t);var e=L(r);function r(){var n;F(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=e.call.apply(e,[this].concat(o)),D(x(n),"priority",20),D(x(n),"incompatibleTokens","*"),n}return N(r,[{key:"parse",value:function(i){return Q2(i)}},{key:"set",value:function(i,o,s){return[new Date(s),{timestampIsSet:!0}]}}]),r}(j);var Tw={G:new Zy,y:new Qy,Y:new Xy,R:new Jy,u:new ew,Q:new tw,q:new nw,M:new rw,L:new iw,w:new ow,I:new sw,d:new aw,D:new cw,E:new lw,e:new uw,c:new dw,i:new hw,a:new fw,b:new pw,B:new mw,h:new gw,H:new vw,K:new yw,k:new ww,m:new bw,s:new _w,S:new Cw,X:new Mw,x:new Dw,t:new xw,T:new Sw};var oF=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,sF=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,aF=/^'([^]*?)'?$/,cF=/''/g,lF=/\S/,uF=/[a-zA-Z]/;function Ta(t,e,r,n){var i,o,s,a,c,l,u,d,h,f,p,y,v,M,P,X,$,Ae;_(3,arguments);var _e=String(t),Ee=String(e),$e=Et(),Mt=(i=(o=n?.locale)!==null&&o!==void 0?o:$e.locale)!==null&&i!==void 0?i:Ma;if(!Mt.match)throw new RangeError("locale must contain match property");var Bt=de((s=(a=(c=(l=n?.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(u=n.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&c!==void 0?c:$e.firstWeekContainsDate)!==null&&a!==void 0?a:(h=$e.locale)===null||h===void 0||(f=h.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(Bt>=1&&Bt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var di=de((p=(y=(v=(M=n?.weekStartsOn)!==null&&M!==void 0?M:n==null||(P=n.locale)===null||P===void 0||(X=P.options)===null||X===void 0?void 0:X.weekStartsOn)!==null&&v!==void 0?v:$e.weekStartsOn)!==null&&y!==void 0?y:($=$e.locale)===null||$===void 0||(Ae=$.options)===null||Ae===void 0?void 0:Ae.weekStartsOn)!==null&&p!==void 0?p:0);if(!(di>=0&&di<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(Ee==="")return _e===""?T(r):new Date(NaN);var ln={firstWeekContainsDate:Bt,weekStartsOn:di,locale:Mt},Rr=[new Ky],os=Ee.match(sF).map(function(qe){var we=qe[0];if(we in ml){var zt=ml[we];return zt(qe,Mt.formatLong)}return qe}).join("").match(oF),pt=[],O=Z2(os),B;try{var J=function(){var we=B.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&$2(we)&&Ca(we,Ee,t),!(n!=null&&n.useAdditionalDayOfYearTokens)&&U2(we)&&Ca(we,Ee,t);var zt=we[0],hi=Tw[zt];if(hi){var vf=hi.incompatibleTokens;if(Array.isArray(vf)){var yf=pt.find(function(wf){return vf.includes(wf.token)||wf.token===zt});if(yf)throw new RangeError("The format string mustn't contain `".concat(yf.fullToken,"` and `").concat(we,"` at the same time"))}else if(hi.incompatibleTokens==="*"&&pt.length>0)throw new RangeError("The format string mustn't contain `".concat(we,"` and any other token at the same time"));pt.push({token:zt,fullToken:we});var F3=hi.run(_e,we,Mt.match,ln);if(!F3)return{v:new Date(NaN)};Rr.push(F3.setter),_e=F3.rest}else{if(zt.match(uF))throw new RangeError("Format string contains an unescaped latin alphabet character `"+zt+"`");if(we==="''"?we="'":zt==="'"&&(we=dF(we)),_e.indexOf(we)===0)_e=_e.slice(we.length);else return{v:new Date(NaN)}}};for(O.s();!(B=O.n()).done;){var Ce=J();if(jt(Ce)==="object")return Ce.v}}catch(qe){O.e(qe)}finally{O.f()}if(_e.length>0&&lF.test(_e))return new Date(NaN);var mt=Rr.map(function(qe){return qe.priority}).sort(function(qe,we){return we-qe}).filter(function(qe,we,zt){return zt.indexOf(qe)===we}).map(function(qe){return Rr.filter(function(we){return we.priority===qe}).sort(function(we,zt){return zt.subPriority-we.subPriority})}).map(function(qe){return qe[0]}),Zt=T(r);if(isNaN(Zt.getTime()))return new Date(NaN);var vt=dl(Zt,cr(Zt)),Un={},Ye=Z2(mt),Aa;try{for(Ye.s();!(Aa=Ye.n()).done;){var Tl=Aa.value;if(!Tl.validate(vt,ln))return new Date(NaN);var ht=Tl.set(vt,Un,ln);Array.isArray(ht)?(vt=ht[0],Qo(Un,ht[1])):vt=ht}}catch(qe){Ye.e(qe)}finally{Ye.f()}return vt}function dF(t){return t.match(aF)[1].replace(cF,"'")}function e3(t){_(1,arguments);var e=T(t);return e.setMinutes(0,0,0),e}function t3(t,e){_(2,arguments);var r=e3(t),n=e3(e);return r.getTime()===n.getTime()}function n3(t,e){_(2,arguments);var r=B2(t),n=B2(e);return r.getTime()===n.getTime()}function r3(t,e){_(2,arguments);var r=T(t),n=T(e);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function i3(t){_(1,arguments);var e=T(t);return e.setMilliseconds(0),e}function o3(t,e){_(2,arguments);var r=i3(t),n=i3(e);return r.getTime()===n.getTime()}function s3(t,e){_(2,arguments);var r=T(t),n=T(e);return r.getFullYear()===n.getFullYear()}function a3(t){return _(1,arguments),Uo(t,Date.now())}function l3(t,e){var r;_(1,arguments);var n=de((r=e?.additionalDigits)!==null&&r!==void 0?r:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=mF(t),o;if(i.date){var s=gF(i.date,n);o=vF(s.restDateString,s.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var a=o.getTime(),c=0,l;if(i.time&&(c=yF(i.time),isNaN(c)))return new Date(NaN);if(i.timezone){if(l=wF(i.timezone),isNaN(l))return new Date(NaN)}else{var u=new Date(a+c),d=new Date(0);return d.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),d.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),d}return new Date(a+c+l)}var c3={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},hF=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,fF=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,pF=/^([+-])(\d{2})(?::?(\d{2}))?$/;function mF(t){var e={},r=t.split(c3.dateTimeDelimiter),n;if(r.length>2)return e;if(/:/.test(r[0])?n=r[0]:(e.date=r[0],n=r[1],c3.timeZoneDelimiter.test(e.date)&&(e.date=t.split(c3.timeZoneDelimiter)[0],n=t.substr(e.date.length,t.length))),n){var i=c3.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function gF(t,e){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=t.match(r);if(!n)return{year:NaN,restDateString:""};var i=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?i:o*100,restDateString:t.slice((n[1]||n[2]).length)}}function vF(t,e){if(e===null)return new Date(NaN);var r=t.match(hF);if(!r)return new Date(NaN);var n=!!r[4],i=wl(r[1]),o=wl(r[2])-1,s=wl(r[3]),a=wl(r[4]),c=wl(r[5])-1;if(n)return DF(e,a,c)?bF(e,a,c):new Date(NaN);var l=new Date(0);return!CF(e,o,s)||!MF(e,i)?new Date(NaN):(l.setUTCFullYear(e,o,Math.max(i,s)),l)}function wl(t){return t?parseInt(t):1}function yF(t){var e=t.match(fF);if(!e)return NaN;var r=Mh(e[1]),n=Mh(e[2]),i=Mh(e[3]);return xF(r,n,i)?r*Bo+n*jo+i*1e3:NaN}function Mh(t){return t&&parseFloat(t.replace(",","."))||0}function wF(t){if(t==="Z")return 0;var e=t.match(pF);if(!e)return 0;var r=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return SF(n,i)?r*(n*Bo+i*jo):NaN}function bF(t,e,r){var n=new Date(0);n.setUTCFullYear(t,0,4);var i=n.getUTCDay()||7,o=(e-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+o),n}var _F=[31,null,31,30,31,30,31,31,30,31,30,31];function Ew(t){return t%400===0||t%4===0&&t%100!==0}function CF(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(_F[e]||(Ew(t)?29:28))}function MF(t,e){return e>=1&&e<=(Ew(t)?366:365)}function DF(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function xF(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function SF(t,e){return e>=0&&e<=59}function u3(t,e){_(2,arguments);var r=T(t),n=de(e),i=r.getFullYear(),o=r.getDate(),s=new Date(0);s.setFullYear(i,n,15),s.setHours(0,0,0,0);var a=mh(s);return r.setMonth(n,Math.min(o,a)),r}function d3(t,e,r){var n,i,o,s,a,c,l,u;_(2,arguments);var d=Et(),h=de((n=(i=(o=(s=r?.weekStartsOn)!==null&&s!==void 0?s:r==null||(a=r.locale)===null||a===void 0||(c=a.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&o!==void 0?o:d.weekStartsOn)!==null&&i!==void 0?i:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=T(t),p=de(e),y=f.getDay(),v=p%7,M=(v+7)%7,P=7-h,X=p<0||p>6?p-(y+P)%7:(M+P)%7-(y+P)%7;return pa(f,X)}function h3(t,e){_(2,arguments);var r=T(t),n=de(e);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(n),r)}function R3e(t){let[e,r]=t;return!!e&&!!r&&r.isBeforeDay(e)}function L3e(t,e,r="month",n="left"){let[i,o]=t,s=i||new bl,a=o||(e?s:s.add(1,r));return i&&!o?(s=i,a=e?i:i.add(1,r)):!i&&o?(s=e?o:o.add(-1,r),a=o):i&&o&&!e&&(i.isSame(o,r)||n==="left"?a=s.add(1,r):s=a.add(-1,r)),[s,a]}function H3e(t){return Array.isArray(t)?t.map(e=>e instanceof bl?e.clone():null):t instanceof bl?t.clone():null}var bl=class t{constructor(e){if(e)if(e instanceof Date)this.nativeDate=e;else if(typeof e=="string"||typeof e=="number")Cn('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(e);else throw new Error('The input date type is not supported ("Date" is now recommended)');else this.nativeDate=new Date}calendarStart(e){return new t(Ho(ul(this.nativeDate),e))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new t(new Date(this.nativeDate))}setHms(e,r,n){let i=new Date(this.nativeDate.setHours(e,r,n));return new t(i)}setYear(e){return new t(h3(this.nativeDate,e))}addYears(e){return new t(R2(this.nativeDate,e))}setMonth(e){return new t(u3(this.nativeDate,e))}addMonths(e){return new t(ma(this.nativeDate,e))}setDay(e,r){return new t(d3(this.nativeDate,e,r))}setDate(e){let r=new Date(this.nativeDate);return r.setDate(e),new t(r)}addDays(e){return this.setDate(this.getDate()+e)}add(e,r){switch(r){case"decade":return this.addYears(e*10);case"year":return this.addYears(e);case"month":return this.addMonths(e);default:return this.addMonths(e)}}isSame(e,r="day"){let n;switch(r){case"decade":n=(i,o)=>Math.abs(i.getFullYear()-o.getFullYear())<11;break;case"year":n=s3;break;case"month":n=r3;break;case"day":n=Uo;break;case"hour":n=t3;break;case"minute":n=n3;break;case"second":n=o3;break;default:n=Uo;break}return n(this.nativeDate,this.toNativeDate(e))}isSameYear(e){return this.isSame(e,"year")}isSameMonth(e){return this.isSame(e,"month")}isSameDay(e){return this.isSame(e,"day")}isSameHour(e){return this.isSame(e,"hour")}isSameMinute(e){return this.isSame(e,"minute")}isSameSecond(e){return this.isSame(e,"second")}isBefore(e,r="day"){if(e===null)return!1;let n;switch(r){case"year":n=L2;break;case"month":n=va;break;case"day":n=Vo;break;case"hour":n=H2;break;case"minute":n=V2;break;case"second":n=ba;break;default:n=Vo;break}return n(this.nativeDate,this.toNativeDate(e))<0}isBeforeYear(e){return this.isBefore(e,"year")}isBeforeMonth(e){return this.isBefore(e,"month")}isBeforeDay(e){return this.isBefore(e,"day")}isToday(){return a3(this.nativeDate)}isValid(){return ga(this.nativeDate)}isFirstDayOfMonth(){return G2(this.nativeDate)}isLastDayOfMonth(){return wa(this.nativeDate)}toNativeDate(e){return e instanceof t?e.nativeDate:e}},V3e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],f3=class{constructor(e,r){this.format=e,this.localeId=r,this.regex=null,this.matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null},this.genRegexp()}toDate(e){let r=this.getTimeResult(e),n=new Date;return Mn(r?.hour)&&n.setHours(r.hour),Mn(r?.minute)&&n.setMinutes(r.minute),Mn(r?.second)&&n.setSeconds(r.second),r?.period===1&&n.getHours()<12&&n.setHours(n.getHours()+12),n}getTimeResult(e){let r=this.regex.exec(e),n=null;return r?(Mn(this.matchMap.periodNarrow)&&(n=Pi(this.localeId,dt.Format,xe.Narrow).indexOf(r[this.matchMap.periodNarrow+1])),Mn(this.matchMap.periodWide)&&(n=Pi(this.localeId,dt.Format,xe.Wide).indexOf(r[this.matchMap.periodWide+1])),Mn(this.matchMap.periodAbbreviated)&&(n=Pi(this.localeId,dt.Format,xe.Abbreviated).indexOf(r[this.matchMap.periodAbbreviated+1])),{hour:Mn(this.matchMap.hour)?Number.parseInt(r[this.matchMap.hour+1],10):null,minute:Mn(this.matchMap.minute)?Number.parseInt(r[this.matchMap.minute+1],10):null,second:Mn(this.matchMap.second)?Number.parseInt(r[this.matchMap.second+1],10):null,period:n}):null}genRegexp(){let e=this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&"),r=/h{1,2}/i,n=/m{1,2}/,i=/s{1,2}/,o=/aaaaa/,s=/aaaa/,a=/a{1,3}/,c=r.exec(this.format),l=n.exec(this.format),u=i.exec(this.format),d=o.exec(this.format),h=null,f=null;d||(h=s.exec(this.format)),!h&&!d&&(f=a.exec(this.format)),[c,l,u,d,h,f].filter(y=>!!y).sort((y,v)=>y.index-v.index).forEach((y,v)=>{switch(y){case c:this.matchMap.hour=v,e=e.replace(r,"(\\d{1,2})");break;case l:this.matchMap.minute=v,e=e.replace(n,"(\\d{1,2})");break;case u:this.matchMap.second=v,e=e.replace(i,"(\\d{1,2})");break;case d:this.matchMap.periodNarrow=v;let M=Pi(this.localeId,dt.Format,xe.Narrow).join("|");e=e.replace(o,`(${M})`);break;case h:this.matchMap.periodWide=v;let P=Pi(this.localeId,dt.Format,xe.Wide).join("|");e=e.replace(s,`(${P})`);break;case f:this.matchMap.periodAbbreviated=v;let X=Pi(this.localeId,dt.Format,xe.Abbreviated).join("|");e=e.replace(a,`(${X})`);break}}),this.regex=new RegExp(e)}};var TF={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh"}},EF={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},TimePicker:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},Calendar:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectNone:"\u6E05\u7A7A\u6240\u6709"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Image:{preview:"\u9884\u89C8"},CronExpression:{cronError:"cron \u8868\u8FBE\u5F0F\u4E0D\u5408\u6CD5",second:"\u79D2",minute:"\u5206\u949F",hour:"\u5C0F\u65F6",day:"\u65E5",month:"\u6708",week:"\u5468"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"}},zw=new E("nz-i18n");function Iw(t){return Wt([{provide:zw,useValue:t}])}var Sh=new E("nz-date-locale"),$i=(()=>{let e=class e{get localeChange(){return this._change.asObservable()}constructor(n,i){this._change=new Re(this._locale),this.setLocale(n||EF),this.setDateLocale(i||null)}translate(n,i){let o=this._getObjectPath(this._locale,n);return typeof o=="string"?(i&&Object.keys(i).forEach(s=>o=o.replace(new RegExp(`%${s}%`,"g"),i[s])),o):n}setLocale(n){this._locale&&this._locale.locale===n.locale||(this._locale=n,this._change.next(n))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(n){this.dateLocale=n}getDateLocale(){return this.dateLocale}getLocaleData(n,i){let o=n?this._getObjectPath(this._locale,n):this._locale;return!o&&!i&&Cn(`Missing translations for "${n}" in language "${this._locale.locale}".
  18. You can use "NzI18nService.setLocale" as a temporary fix.
  19. Welcome to submit a pull request to help us optimize the translations!
  20. https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),o||i||this._getObjectPath(TF,n)||{}}_getObjectPath(n,i){let o=n,s=i.split("."),a=s.length,c=0;for(;o&&c<a;)o=o[s[c++]];return c===a?o:null}};e.\u0275fac=function(i){return new(i||e)(g(zw,8),g(Sh,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),J3e=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,i){return this._locale.translate(n,i)}};e.\u0275fac=function(i){return new(i||e)(m($i,16))},e.\u0275pipe=en({name:"nzI18n",type:e,pure:!0,standalone:!0});let t=e;return t})(),kw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})(),Pw=new E("date-config"),zF={firstDayOfWeek:void 0};function IF(t){return b(b({},zF),t)}function kF(){let t=w($i),e=w(Pw,{optional:!0});return t.getDateLocale()?new Dh(t,e):new xh(t,e)}var Ow=(()=>{let e=class e{constructor(n,i){this.i18n=n,this.config=IF(i)}};e.\u0275fac=function(i){return new(i||e)(g($i),g(Pw,8))},e.\u0275prov=C({token:e,factory:()=>kF(),providedIn:"root"});let t=e;return t})(),Dh=class extends Ow{getISOWeek(e){return W2(e)}getFirstDayOfWeek(){let e;try{e=this.i18n.getDateLocale().options.weekStartsOn}catch{e=1}return this.config.firstDayOfWeek==null?e:this.config.firstDayOfWeek}format(e,r){return e?Zo(e,r,{locale:this.i18n.getDateLocale()}):""}parseDate(e,r){return Ta(e,r,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(e,r){return this.parseDate(e,r)}},xh=class extends Ow{getISOWeek(e){return+this.format(e,"w")}getFirstDayOfWeek(){if(this.config.firstDayOfWeek===void 0){let e=this.i18n.getLocaleId();return e&&["zh-cn","zh-tw"].indexOf(e.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(e,r){return e?Gu(e,r,this.i18n.getLocaleId()):""}parseDate(e){return new Date(e)}parseTime(e,r){return new f3(r,this.i18n.getLocaleId()).toDate(e)}};var Th=class{};function Aw(t){return t&&typeof t.connect=="function"&&!(t instanceof lr)}var p3=class extends Th{constructor(e){super(),this._data=e}connect(){return Tn(this._data)?this._data:A(this._data)}disconnect(){}},_l=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(_l||{}),Eh=new E("_ViewRepeater");var m3=class{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,r,n,i,o){e.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>n(s,a,c);l=this._insertView(d,c,r,i(s)),u=l?_l.INSERTED:_l.REPLACED}else c==null?(this._detachAndCacheView(a,r),u=_l.REMOVED):(l=this._moveView(a,c,r,i(s)),u=_l.MOVED);o&&o({context:l?.context,operation:u,record:s})})}detach(){for(let e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,r,n,i){let o=this._insertViewFromCache(r,n);if(o){o.context.$implicit=i;return}let s=e();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(e,r){let n=r.detach(e);this._maybeCacheView(n,r)}_moveView(e,r,n,i){let o=n.get(e);return n.move(o,r),o.context.$implicit=i,o}_maybeCacheView(e,r){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{let n=r.indexOf(e);n===-1?e.destroy():r.remove(n)}}_insertViewFromCache(e,r){let n=this._viewCache.pop();return n&&r.insert(n,e),n||null}};var OF=["contentWrapper"],AF=["*"],Lw=new E("VIRTUAL_SCROLL_STRATEGY"),zh=class{constructor(e,r,n){this._scrolledIndexChange=new S,this.scrolledIndexChange=this._scrolledIndexChange.pipe(ws()),this._viewport=null,this._itemSize=e,this._minBufferPx=r,this._maxBufferPx=n}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,r,n){n<r,this._itemSize=e,this._minBufferPx=r,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,r){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,r)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let e=this._viewport.getRenderedRange(),r={start:e.start,end:e.end},n=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),s=this._itemSize>0?o/this._itemSize:0;if(r.end>i){let c=Math.ceil(n/this._itemSize),l=Math.max(0,Math.min(s,i-c));s!=l&&(s=l,o=l*this._itemSize,r.start=Math.floor(s)),r.end=Math.max(0,Math.min(i,r.start+c))}let a=o-r.start*this._itemSize;if(a<this._minBufferPx&&r.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);r.start=Math.max(0,r.start-c),r.end=Math.min(i,Math.ceil(s+(n+this._minBufferPx)/this._itemSize))}else{let c=r.end*this._itemSize-(o+n);if(c<this._minBufferPx&&r.end!=i){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(r.end=Math.min(i,r.end+l),r.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(s))}};function FF(t){return t._scrollStrategy}var M0e=(()=>{let e=class e{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new zh(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(n){this._itemSize=ti(n)}get minBufferPx(){return this._minBufferPx}set minBufferPx(n){this._minBufferPx=ti(n)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(n){this._maxBufferPx=ti(n)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[Kr([{provide:Lw,useFactory:FF,deps:[R1(()=>e)]}]),He]});let t=e;return t})(),NF=20,Jo=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new S,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=NF){return this._platform.isBrowser?new Y(i=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(Ha(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):A()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){let o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(ge(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=rt(i),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return Kn(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(g(U),g(Ge),g(V,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ih=(()=>{let e=class e{constructor(n,i,o,s){this.elementRef=n,this.scrollDispatcher=i,this.ngZone=o,this.dir=s,this._destroyed=new S,this._elementScrolled=new Y(a=>this.ngZone.runOutsideAngular(()=>Kn(this.elementRef.nativeElement,"scroll").pipe(ce(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=o?n.end:n.start),n.right==null&&(n.right=o?n.start:n.end),n.bottom!=null&&(n.top=i.scrollHeight-i.clientHeight-n.bottom),o&&ha()!=ar.NORMAL?(n.left!=null&&(n.right=i.scrollWidth-i.clientWidth-n.left),ha()==ar.INVERTED?n.left=n.right:ha()==ar.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=i.scrollWidth-i.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let i=this.elementRef.nativeElement;O2()?i.scrollTo(n):(n.top!=null&&(i.scrollTop=n.top),n.left!=null&&(i.scrollLeft=n.left))}measureScrollOffset(n){let i="left",o="right",s=this.elementRef.nativeElement;if(n=="top")return s.scrollTop;if(n=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let a=this.dir&&this.dir.value=="rtl";return n=="start"?n=a?o:i:n=="end"&&(n=a?i:o),a&&ha()==ar.INVERTED?n==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:a&&ha()==ar.NEGATED?n==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:n==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(Jo),m(U),m(Ft,8))},e.\u0275dir=ne({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let t=e;return t})(),RF=20,es=(()=>{let e=class e{constructor(n,i,o){this._platform=n,this._change=new S,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,c=-s.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(n=RF){return n>0?this._change.pipe(Ha(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(i){return new(i||e)(g(Ge),g(U),g(V,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Fw=new E("VIRTUAL_SCROLLABLE"),LF=(()=>{let e=class e extends Ih{constructor(n,i,o,s){super(n,i,o,s)}measureViewportSize(n){let i=this.elementRef.nativeElement;return n==="horizontal"?i.clientWidth:i.clientHeight}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(Jo),m(U),m(Ft,8))},e.\u0275dir=ne({type:e,features:[nn]});let t=e;return t})();function HF(t,e){return t.start==e.start&&t.end==e.end}var VF=typeof requestAnimationFrame<"u"?La:e0,YF=(()=>{let e=class e extends LF{get orientation(){return this._orientation}set orientation(n){this._orientation!==n&&(this._orientation=n,this._calculateSpacerSize())}constructor(n,i,o,s,a,c,l,u){super(n,c,o,a),this.elementRef=n,this._changeDetectorRef=i,this._scrollStrategy=s,this.scrollable=u,this._platform=w(Ge),this._detachedSubject=new S,this._renderedRangeSubject=new S,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new Y(d=>this._scrollStrategy.scrolledIndexChange.subscribe(h=>Promise.resolve().then(()=>this.ngZone.run(()=>d.next(h))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=ye.EMPTY,this._viewportChanges=l.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}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(Rt(null),Ha(0,VF),ce(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(n){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=n,this._forOf.dataStream.pipe(ce(this._detachedSubject)).subscribe(i=>{let o=i.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(n){return this.getElementRef().nativeElement.getBoundingClientRect()[n]}setTotalContentSize(n){this._totalContentSize!==n&&(this._totalContentSize=n,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(n){HF(this._renderedRange,n)||(this.appendOnly&&(n={start:0,end:Math.max(this._renderedRange.end,n.end)}),this._renderedRangeSubject.next(this._renderedRange=n),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(n,i="to-start"){n=this.appendOnly&&i==="to-start"?0:n;let o=this.dir&&this.dir.value=="rtl",s=this.orientation=="horizontal",a=s?"X":"Y",l=`translate${a}(${Number((s&&o?-1:1)*n)}px)`;this._renderedContentOffset=n,i==="to-end"&&(l+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=l&&(this._renderedContentTransform=l,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(n,i="auto"){let o={behavior:i};this.orientation==="horizontal"?o.start=n:o.top=n,this.scrollable.scrollTo(o)}scrollToIndex(n,i="auto"){this._scrollStrategy.scrollToIndex(n,i)}measureScrollOffset(n){let i;return this.scrollable==this?i=o=>super.measureScrollOffset(o):i=o=>this.scrollable.measureScrollOffset(o),Math.max(0,i(n??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(n){let i,o="left",s="right",a=this.dir?.value=="rtl";n=="start"?i=a?s:o:n=="end"?i=a?o:s:n?i=n:i=this.orientation==="horizontal"?"left":"top";let c=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-c}measureRenderedContentSize(){let n=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?n.offsetWidth:n.offsetHeight}measureRangeSize(n){return this._forOf?this._forOf.measureRangeSize(n,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(n){n&&this._runAfterChangeDetection.push(n),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());let n=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let i of n)i()}_calculateSpacerSize(){this._totalContentHeight=this.orientation==="horizontal"?"":`${this._totalContentSize}px`,this._totalContentWidth=this.orientation==="horizontal"?`${this._totalContentSize}px`:""}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(ft),m(U),m(Lw,8),m(Ft,8),m(Jo),m(es),m(Fw,8))},e.\u0275cmp=bt({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,o){if(i&1&&On(OF,7),i&2){let s;ct(s=lt())&&(o._contentWrapper=s.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,o){i&2&&St("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[W.HasDecoratorInputTransform,"appendOnly","appendOnly",ut]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Kr([{provide:Ih,useFactory:(n,i)=>n||i,deps:[[new $r,new Qp(Fw)],e]}]),rn,nn,_t],ngContentSelectors:AF,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(i,o){i&1&&(yo(),se(0,"div",0,1),wo(2),le(),et(3,"div",2)),i&2&&(k(3),Gt("width",o._totalContentWidth)("height",o._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.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});let t=e;return t})();function Nw(t,e,r){let n=r;if(!n.getBoundingClientRect)return 0;let i=n.getBoundingClientRect();return t==="horizontal"?e==="start"?i.left:i.right:e==="start"?i.top:i.bottom}var D0e=(()=>{let e=class e{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(n){this._cdkVirtualForOf=n,Aw(n)?this._dataSourceChanges.next(n):this._dataSourceChanges.next(new p3(Tn(n)?n:Array.from(n||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(n){this._needsUpdate=!0,this._cdkVirtualForTrackBy=n?(i,o)=>n(i+(this._renderedRange?this._renderedRange.start:0),o):void 0}set cdkVirtualForTemplate(n){n&&(this._needsUpdate=!0,this._template=n)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(n){this._viewRepeater.viewCacheSize=ti(n)}constructor(n,i,o,s,a,c){this._viewContainerRef=n,this._template=i,this._differs=o,this._viewRepeater=s,this._viewport=a,this.viewChange=new S,this._dataSourceChanges=new S,this.dataStream=this._dataSourceChanges.pipe(Rt(null),o0(),Ze(([l,u])=>this._changeDataSource(l,u)),c0(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new S,this.dataStream.subscribe(l=>{this._data=l,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(ce(this._destroyed)).subscribe(l=>{this._renderedRange=l,this.viewChange.observers.length&&c.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(n,i){if(n.start>=n.end)return 0;n.start<this._renderedRange.start||n.end>this._renderedRange.end;let o=n.start-this._renderedRange.start,s=n.end-n.start,a,c;for(let l=0;l<s;l++){let u=this._viewContainerRef.get(l+o);if(u&&u.rootNodes.length){a=c=u.rootNodes[0];break}}for(let l=s-1;l>-1;l--){let u=this._viewContainerRef.get(l+o);if(u&&u.rootNodes.length){c=u.rootNodes[u.rootNodes.length-1];break}}return a&&c?Nw(i,"end",c)-Nw(i,"start",a):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let n=this._differ.diff(this._renderedItems);n?this._applyChanges(n):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((n,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(n,i):i)),this._needsUpdate=!0)}_changeDataSource(n,i){return n&&n.disconnect(this),this._needsUpdate=!0,i?i.connect(this):A()}_updateContext(){let n=this._data.length,i=this._viewContainerRef.length;for(;i--;){let o=this._viewContainerRef.get(i);o.context.index=this._renderedRange.start+i,o.context.count=n,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(n){this._viewRepeater.applyChanges(n,this._viewContainerRef,(s,a,c)=>this._getEmbeddedViewArgs(s,c),s=>s.item),n.forEachIdentityChange(s=>{let a=this._viewContainerRef.get(s.currentIndex);a.context.$implicit=s.item});let i=this._data.length,o=this._viewContainerRef.length;for(;o--;){let s=this._viewContainerRef.get(o);s.context.index=this._renderedRange.start+o,s.context.count=i,this._updateComputedContextProperties(s.context)}}_updateComputedContextProperties(n){n.first=n.index===0,n.last=n.index===n.count-1,n.even=n.index%2===0,n.odd=!n.even}_getEmbeddedViewArgs(n,i){return{templateRef:this._template,context:{$implicit:n.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}};e.\u0275fac=function(i){return new(i||e)(m(Xe),m(Me),m(ac),m(Eh),m(YF,4),m(U))},e.\u0275dir=ne({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[Kr([{provide:Eh,useClass:m3}])]});let t=e;return t})();var Rw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})(),kh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[Ro,Rw,Ro,Rw]});let t=e;return t})();var Cl=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},si=class extends Cl{constructor(e,r,n,i,o){super(),this.component=e,this.viewContainerRef=r,this.injector=n,this.componentFactoryResolver=i,this.projectableNodes=o}},ai=class extends Cl{constructor(e,r,n,i){super(),this.templateRef=e,this.viewContainerRef=r,this.context=n,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Ph=class extends Cl{constructor(e){super(),this.element=e instanceof oe?e.nativeElement:e}},Ea=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof si)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof ai)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Ph)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var g3=class extends Ea{constructor(e,r,n,i,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(e){let n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=n.create(e.injector||this._defaultInjector||Ue.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let r=e.viewContainerRef,n=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(i=>this.outletElement.appendChild(i)),n.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(n);i!==-1&&r.remove(i)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Ar=(()=>{let e=class e extends Ea{constructor(n,i,o){super(),this._componentFactoryResolver=n,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new re,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(c,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);let i=n.viewContainerRef!=null?n.viewContainerRef:this._viewContainerRef,s=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),a=i.createComponent(s,i.length,n.injector||i.injector,n.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=n,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(n){n.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}};e.\u0275fac=function(i){return new(i||e)(m(Ei),m(Xe),m(V))},e.\u0275dir=ne({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[W.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[nn]});let t=e;return t})();var ts=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();function za(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Yw=O2(),Oh=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=at(-this._previousScrollPosition.left),e.style.top=at(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,n=e.style,i=r.style,o=n.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Yw&&(n.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Yw&&(n.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,n=this._viewportRuler.getViewportSize();return r.scrollHeight>n.height||r.scrollWidth>n.width}};var Ah=class{constructor(e,r,n,i){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ge(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},v3=class{enable(){}disable(){}attach(){}};function Fh(t,e){return e.some(r=>{let n=t.bottom<r.top,i=t.top>r.bottom,o=t.right<r.left,s=t.left>r.right;return n||i||o||s})}function jw(t,e){return e.some(r=>{let n=t.top<r.top,i=t.bottom>r.bottom,o=t.left<r.left,s=t.right>r.right;return n||i||o||s})}var Nh=class{constructor(e,r,n,i){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:i}=this._viewportRuler.getViewportSize();Fh(r,[{width:n,height:i,bottom:i,right:n,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}},jF=(()=>{let e=class e{constructor(n,i,o,s){this._scrollDispatcher=n,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new v3,this.close=a=>new Ah(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Oh(this._viewportRuler,this._document),this.reposition=a=>new Nh(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(i){return new(i||e)(g(Jo),g(es),g(U),g(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qi=class{constructor(e){if(this.scrollStrategy=new v3,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let n of r)e[n]!==void 0&&(this[n]=e[n])}}},Bw=class{constructor(e,r,n,i,o){this.offsetX=n,this.offsetY=i,this.panelClass=o,this.originX=e.originX,this.originY=e.originY,this.overlayX=r.overlayX,this.overlayY=r.overlayY}};var Rh=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var Gw=(()=>{let e=class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(i){return new(i||e)(g(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vh=(()=>{let e=class e extends Gw{constructor(n,i){super(n),this._ngZone=i,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let c=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(i){return new(i||e)(g(V),g(U,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),BF=(()=>{let e=class e extends Gw{constructor(n,i,o){super(n),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=cn(s)},this._clickListener=s=>{let a=cn(s),c=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){let d=l[u];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(c))break;let h=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(i){return new(i||e)(g(V),g(Ge),g(U,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kw=(()=>{let e=class e{constructor(n,i){this._platform=i,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||Jd()){let o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let i=this._document.createElement("div");i.classList.add(n),Jd()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}};e.\u0275fac=function(i){return new(i||e)(g(V),g(Ge))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wi=class{constructor(e,r,n,i,o,s,a,c,l,u=!1){this._portalOutlet=e,this._host=r,this._pane=n,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new S,this._attachments=new S,this._detachments=new S,this._locationChanges=ye.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new S,this._outsidePointerEvents=new S,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(ze(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),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._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=b(b({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ke(b({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=at(this._config.width),e.height=at(this._config.height),e.minWidth=at(this._config.minWidth),e.minHeight=at(this._config.minHeight),e.maxWidth=at(this._config.maxWidth),e.maxHeight=at(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,n){let i=zo(r||[]).filter(o=>!!o);i.length&&(n?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(ce(vs(this._attachments,this._detachments))).subscribe(()=>{(!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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Uw="cdk-overlay-connected-position-bounding-box",UF=/([A-Za-z%]+)$/,Lh=class{get positions(){return this._preferredPositions}constructor(e,r,n,i,o){this._viewportRuler=r,this._document=n,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new S,this._resizeSubscription=ye.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Uw),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,r=this._overlayRect,n=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,i,a),l=this._getOverlayPoint(c,r,a),u=this._getOverlayFit(l,r,n,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,n)){o.push({position:a,origin:c,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:r})}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&&ns(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Uw),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,n){let i;if(n.originX=="center")i=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;i=n.originX=="start"?s:a}r.left<0&&(i-=r.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(e,r,n){let i;n.overlayX=="center"?i=-r.width/2:n.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return n.overlayY=="center"?o=-r.height/2:o=n.overlayY=="top"?0:-r.height,{x:e.x+i,y:e.y+o}}_getOverlayFit(e,r,n,i){let o=qw(r),{x:s,y:a}=e,c=this._getOffset(i,"x"),l=this._getOffset(i,"y");c&&(s+=c),l&&(a+=l);let u=0-s,d=s+o.width-n.width,h=0-a,f=a+o.height-n.height,p=this._subtractOverflows(o.width,u,d),y=this._subtractOverflows(o.height,h,f),v=p*y;return{visibleArea:v,isCompletelyWithinViewport:o.width*o.height===v,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,r,n){if(this._hasFlexibleDimensions){let i=n.bottom-r.y,o=n.right-r.x,s=$w(this._overlayRef.getConfig().minHeight),a=$w(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=i,l=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(e,r,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=qw(r),o=this._viewportRect,s=Math.max(e.x+i.width-o.width,0),a=Math.max(e.y+i.height-o.height,0),c=Math.max(o.top-n.top-e.y,0),l=Math.max(o.left-n.left-e.x,0),u=0,d=0;return i.width<=o.width?u=l||-s:u=e.x<this._viewportMargin?o.left-n.left-e.x:0,i.height<=o.height?d=c||-a:d=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:u,y:d},{x:e.x+u,y:e.y+d}}_applyPosition(e,r){if(this._setTransformOrigin(e),this._setOverlayElementStyles(r,e),this._setBoundingBoxStyles(r,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){let n=this._getScrollVisibility(),i=new Rh(e,n);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let r=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,i=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<r.length;o++)r[o].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(e,r){let n=this._viewportRect,i=this._isRtl(),o,s,a;if(r.overlayY==="top")s=e.y,o=n.height-s+this._viewportMargin;else if(r.overlayY==="bottom")a=n.height-e.y+this._viewportMargin*2,o=n.height-a+this._viewportMargin;else{let f=Math.min(n.bottom-e.y+n.top,e.y),p=this._lastBoundingBoxSize.height;o=f*2,s=e.y-f,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-p/2)}let c=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,l=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,u,d,h;if(l)h=n.width-e.x+this._viewportMargin,u=e.x-this._viewportMargin;else if(c)d=e.x,u=n.right-e.x;else{let f=Math.min(n.right-e.x+n.left,e.x),p=this._lastBoundingBoxSize.width;u=f*2,d=e.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(e,r){let n=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=at(n.height),i.top=at(n.top),i.bottom=at(n.bottom),i.width=at(n.width),i.left=at(n.left),i.right=at(n.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=at(o)),s&&(i.maxWidth=at(s))}this._lastBoundingBoxSize=n,ns(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ns(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ns(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let n={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let u=this._viewportRuler.getViewportScrollPosition();ns(n,this._getExactOverlayY(r,e,u)),ns(n,this._getExactOverlayX(r,e,u))}else n.position="static";let a="",c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),n.transform=a.trim(),s.maxHeight&&(i?n.maxHeight=at(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=at(s.maxWidth):o&&(n.maxWidth="")),ns(this._pane.style,n)}_getExactOverlayY(e,r,n){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(o.y+this._overlayRect.height)}px`}else i.top=at(o.y);return i}_getExactOverlayX(e,r,n){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=at(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),n=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:jw(e,n),isOriginOutsideView:Fh(e,n),isOverlayClipped:jw(r,n),isOverlayOutsideView:Fh(r,n)}}_subtractOverflows(e,...r){return r.reduce((n,i)=>n-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&zo(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof oe)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+r,height:n,width:r}}};function ns(t,e){for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function $w(t){if(typeof t!="number"&&t!=null){let[e,r]=t.split(UF);return!r||r==="px"?parseFloat(e):null}return t||null}function qw(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)}}var Ww="cdk-global-overlay-wrapper",Hh=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Ww),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=n,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",f="",p="",y="";c?y="flex-start":u==="center"?(y="center",h?p=d:f=d):h?u==="left"||u==="end"?(y="flex-end",f=d):(u==="right"||u==="start")&&(y="flex-start",p=d):u==="left"||u==="start"?(y="flex-start",f=d):(u==="right"||u==="end")&&(y="flex-end",p=d),e.position=this._cssPosition,e.marginLeft=c?"0":f,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":p,r.justifyContent=y,r.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,n=r.style;r.classList.remove(Ww),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},$F=(()=>{let e=class e{constructor(n,i,o,s){this._viewportRuler=n,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new Hh}flexibleConnectedTo(n){return new Lh(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(g(es),g(V),g(Ge),g(Kw))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qF=0,ci=(()=>{let e=class e{constructor(n,i,o,s,a,c,l,u,d,h,f,p){this.scrollStrategies=n,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=u,this._directionality=d,this._location=h,this._outsideClickDispatcher=f,this._animationsModuleType=p}create(n){let i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new qi(n);return a.direction=a.direction||this._directionality.value,new Wi(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(n){let i=this._document.createElement("div");return i.id=`cdk-overlay-${qF++}`,i.classList.add("cdk-overlay-pane"),n.appendChild(i),i}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(xr)),new g3(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(g(jF),g(Kw),g(Ei),g($F),g(Vh),g(Ue),g(U),g(V),g(Ft),g(ki),g(BF),g(gn,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),WF=[{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"}],Zw=new E("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=w(ci);return()=>t.scrollStrategies.reposition()}}),GF=(()=>{let e=class e{constructor(n){this.elementRef=n}};e.\u0275fac=function(i){return new(i||e)(m(oe))},e.\u0275dir=ne({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),K0e=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(n){this._disposeOnNavigation=n}constructor(n,i,o,s,a){this._overlay=n,this._dir=a,this._backdropSubscription=ye.EMPTY,this._attachSubscription=ye.EMPTY,this._detachSubscription=ye.EMPTY,this._positionSubscription=ye.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new re,this.positionChange=new re,this.attach=new re,this.detach=new re,this.overlayKeydown=new re,this.overlayOutsideClick=new re,this._templatePortal=new ai(i,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=WF);let n=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!za(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),i=new qi({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(n){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let n=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(n),n}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof GF?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(l0(()=>this.positionChange.observers.length>0)).subscribe(n=>{this.positionChange.emit(n),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(m(ci),m(Me),m(Xe),m(Zw),m(Ft,8))},e.\u0275dir=ne({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[W.None,"cdkConnectedOverlayOrigin","origin"],positions:[W.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[W.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[W.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[W.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[W.None,"cdkConnectedOverlayWidth","width"],height:[W.None,"cdkConnectedOverlayHeight","height"],minWidth:[W.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[W.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[W.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[W.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[W.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[W.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[W.None,"cdkConnectedOverlayOpen","open"],disableClose:[W.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[W.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[W.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ut],lockPosition:[W.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",ut],flexibleDimensions:[W.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ut],growAfterOpen:[W.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ut],push:[W.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",ut],disposeOnNavigation:[W.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ut]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[rn,He]});let t=e;return t})();function KF(t){return()=>t.scrollStrategies.reposition()}var ZF={provide:Zw,deps:[ci],useFactory:KF},Qw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[ci,ZF],imports:[Ro,ts,kh,kh]});let t=e;return t})();var Fr=(()=>{let e=class e{static ngTemplateContextGuard(n,i){return!0}recreateView(){this.viewContainer.clear();let n=this.nzStringTemplateOutlet instanceof Me,i=n?this.nzStringTemplateOutlet:this.templateRef;this.embeddedViewRef=this.viewContainer.createEmbeddedView(i,n?this.nzStringTemplateOutletContext:this.context)}updateContext(){let i=this.nzStringTemplateOutlet instanceof Me?this.nzStringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(i)for(let s of Object.keys(i))o[s]=i[s]}constructor(n,i){this.viewContainer=n,this.templateRef=i,this.embeddedViewRef=null,this.context=new Yh,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}ngOnChanges(n){let{nzStringTemplateOutletContext:i,nzStringTemplateOutlet:o}=n,s=()=>{let c=!1;if(o)if(o.firstChange)c=!0;else{let d=o.previousValue instanceof Me,h=o.currentValue instanceof Me;c=d||h}return i&&(d=>{let h=Object.keys(d.previousValue||{}),f=Object.keys(d.currentValue||{});if(h.length===f.length){for(let p of f)if(h.indexOf(p)===-1)return!0;return!1}else return!0})(i)||c};o&&(this.context.$implicit=o.currentValue),s()?this.recreateView():this.updateContext()}};e.\u0275fac=function(i){return new(i||e)(m(Xe),m(Me))},e.\u0275dir=ne({type:e,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],standalone:!0,features:[He]});let t=e;return t})(),Yh=class{},Nr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var Nt=class Nt{transform(e,r=0,n="B",i){if(!(ld(e)&&ld(r)&&r%1===0&&r>=0))return e;let o=e,s=n;for(;s!=="B";)o*=1024,s=Nt.formats[s].prev;if(i){let a=Nt.formats[i],c=ud(Nt.calculateResult(a,o),r);return Nt.formatResult(c,i)}for(let a in Nt.formats)if(Nt.formats.hasOwnProperty(a)){let c=Nt.formats[a];if(o<c.max){let l=ud(Nt.calculateResult(c,o),r);return Nt.formatResult(l,a)}}}static formatResult(e,r){return`${e} ${r}`}static calculateResult(e,r){let n=e.prev?Nt.formats[e.prev]:void 0;return n?r/n.max:r}};Nt.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}},Nt.\u0275fac=function(r){return new(r||Nt)},Nt.\u0275pipe=en({name:"nzBytes",type:Nt,pure:!0,standalone:!0});var Jw=Nt,Bh=(()=>{let e=class e{transform(n,i="px"){return typeof n=="number"?`${n}${i}`:n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=en({name:"nzToCssUnit",type:e,pure:!0,standalone:!0});let t=e;return t})();var Uh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var eb=["moz","ms","webkit"];function XF(){let t=0;return function(e){let r=new Date().getTime(),n=Math.max(0,16-(r-t)),i=setTimeout(()=>{e(r+n)},n);return t=r+n,i}}function JF(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);let t=eb.filter(e=>`${e}RequestAnimationFrame`in window)[0];return t?window[`${t}RequestAnimationFrame`]:XF()}function i8e(t){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(t);let e=eb.filter(r=>`${r}CancelAnimationFrame`in window||`${r}CancelRequestAnimationFrame`in window)[0];return e?(window[`${e}CancelAnimationFrame`]||window[`${e}CancelRequestAnimationFrame`]).call(this,t):clearTimeout(t)}var tb=JF();var nb=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eN=(()=>{let e=class e{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((n,i)=>this._cleanupObserver(i))}observe(n){let i=rt(n);return new Y(o=>{let a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let i=new S,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:i,count:1})}return this._observedElements.get(n).stream}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:i,stream:o}=this._observedElements.get(n);i&&i.disconnect(),o.complete(),this._observedElements.delete(n)}}};e.\u0275fac=function(i){return new(i||e)(g(nb))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),m8e=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(n){this._debounce=ti(n),this._subscribe()}constructor(n,i,o){this._contentObserver=n,this._elementRef=i,this._ngZone=o,this.event=new re,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?n.pipe(wi(this.debounce)):n).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(m(eN),m(oe),m(U))},e.\u0275dir=ne({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[W.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",ut],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[rn]});let t=e;return t})(),rb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[nb]});let t=e;return t})();var ib=new Set,rs,tN=(()=>{let e=class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):rN}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&nN(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(i){return new(i||e)(g(Ge),g(qr,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function nN(t,e){if(!ib.has(t))try{rs||(rs=document.createElement("style"),e&&(rs.nonce=e),rs.setAttribute("type","text/css"),document.head.appendChild(rs)),rs.sheet&&(rs.sheet.insertRule(`@media ${t} {body{ }}`,0),ib.add(t))}catch(r){console.error(r)}}function rN(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var sb=(()=>{let e=class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new S}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return ob(zo(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=ob(zo(n)).map(a=>this._registerQuery(a).observable),s=Ji(o);return s=dr(s.pipe(ze(1)),s.pipe(Va(1),wi(0))),s.pipe(Z(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:u})=>{c.matches=c.matches||l,c.breakpoints[u]=l}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new Y(a=>{let c=l=>this._zone.run(()=>a.next(l));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Rt(i),Z(({matches:a})=>({query:n,matches:a})),ce(this._destroySubject)),mql:i};return this._queries.set(n,s),s}};e.\u0275fac=function(i){return new(i||e)(g(tN),g(U))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ob(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var qh=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S,this._typeaheadSubscription=ye.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=r=>r.disabled,this._pressedLetters=[],this.tabOut=new S,this.change=new S,e instanceof Ns&&(this._itemChangesSubscription=e.changes.subscribe(r=>{if(this._activeItem){let i=r.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Fe(r=>this._pressedLetters.push(r)),wi(e),ge(()=>this._pressedLetters.length>0),Z(()=>this._pressedLetters.join(""))).subscribe(r=>{let n=this._getItemsArray();for(let i=1;i<n.length+1;i++){let o=(this._activeItemIndex+i)%n.length,s=n[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(r)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,r=10){return this._pageUpAndDown={enabled:e,delta:r},this}setActiveItem(e){let r=this._activeItem;this.updateActiveItem(e),this._activeItem!==r&&this.change.next(this._activeItemIndex)}onKeydown(e){let r=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){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||za(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Ns?this._items.toArray():this._items}};var ab=class extends qh{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var CN=(()=>{let e=class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return DN(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=MN(PN(n));if(i&&(cb(i)===-1||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),s=cb(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!IN(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return kN(n)&&!this.isDisabled(n)&&(i?.ignoreVisibility||this.isVisible(n))}};e.\u0275fac=function(i){return new(i||e)(g(Ge))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function MN(t){try{return t.frameElement}catch{return null}}function DN(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function xN(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function SN(t){return EN(t)&&t.type=="hidden"}function TN(t){return zN(t)&&t.hasAttribute("href")}function EN(t){return t.nodeName.toLowerCase()=="input"}function zN(t){return t.nodeName.toLowerCase()=="a"}function db(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function cb(t){if(!db(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function IN(t){let e=t.nodeName.toLowerCase(),r=e==="input"&&t.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function kN(t){return SN(t)?!1:xN(t)||TN(t)||t.hasAttribute("contenteditable")||db(t)}function PN(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Wh=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,n,i,o=!1){this._element=e,this._checker=r,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.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(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let n=this._getFirstTabbableElement(r);return n?.focus(e),!!n}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=0;n<r.length;n++){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(r[n]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=r.length-1;n>=0;n--){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(ze(1)).subscribe(e)}},ka=(()=>{let e=class e{constructor(n,i,o){this._checker=n,this._ngZone=i,this._document=o}create(n,i=!1){return new Wh(n,this._checker,this._ngZone,this._document,i)}};e.\u0275fac=function(i){return new(i||e)(g(CN),g(U),g(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),j8e=(()=>{let e=class e{get enabled(){return this.focusTrap?.enabled||!1}set enabled(n){this.focusTrap&&(this.focusTrap.enabled=n)}constructor(n,i,o){this._elementRef=n,this._focusTrapFactory=i,this._previouslyFocusedElement=null,w(Ge).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(n){let i=n.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Cy(),this.focusTrap?.focusInitialElementWhenReady()}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(ka),m(V))},e.\u0275dir=ne({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[W.HasDecoratorInputTransform,"cdkTrapFocus","enabled",ut],autoCapture:[W.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",ut]},exportAs:["cdkTrapFocus"],standalone:!0,features:[rn,He]});let t=e;return t})();function Gh(t){return t.buttons===0||t.detail===0}function Kh(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var ON=new E("cdk-input-modality-detector-options"),AN={ignoreKeys:[18,17,224,91,16]},hb=650,Ia=Fo({passive:!0,capture:!0}),FN=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new Re(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=cn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<hb||(this._modality.next(Gh(a)?"keyboard":"mouse"),this._mostRecentTarget=cn(a))},this._onTouchstart=a=>{if(Kh(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=cn(a)},this._options=b(b({},AN),s),this.modalityDetected=this._modality.pipe(Va(1)),this.modalityChanged=this.modalityDetected.pipe(ws()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ia),o.addEventListener("mousedown",this._onMousedown,Ia),o.addEventListener("touchstart",this._onTouchstart,Ia)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ia),document.removeEventListener("mousedown",this._onMousedown,Ia),document.removeEventListener("touchstart",this._onTouchstart,Ia))}};e.\u0275fac=function(i){return new(i||e)(g(Ge),g(U),g(V),g(ON,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var b3=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(b3||{}),NN=new E("cdk-focus-monitor-default-options"),w3=Fo({passive:!0,capture:!0}),RN=(()=>{let e=class e{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new S,this._rootNodeFocusAndBlurListener=c=>{let l=cn(c);for(let u=l;u;u=u.parentElement)c.type==="focus"?this._onFocus(c,u):this._onBlur(c,u)},this._document=s,this._detectionMode=a?.detectionMode||b3.IMMEDIATE}monitor(n,i=!1){let o=rt(n);if(!this._platform.isBrowser||o.nodeType!==1)return A();let s=al(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new S,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=rt(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=rt(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,l])=>this._originChanged(c,i,l)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===b3.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===b3.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?hb:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=cn(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,w3),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,w3)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ce(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,w3),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,w3),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(i))return!0}return!1}};e.\u0275fac=function(i){return new(i||e)(g(U),g(Ge),g(FN),g(V,8),g(NN,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),B8e=(()=>{let e=class e{constructor(n,i){this._elementRef=n,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new re}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let n=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(n,n.nodeType===1&&n.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(RN))},e.\u0275dir=ne({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let t=e;return t})(),is=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}(is||{}),lb="cdk-high-contrast-black-on-white",ub="cdk-high-contrast-white-on-black",$h="cdk-high-contrast-active",LN=(()=>{let e=class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=w(sb).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return is.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return is.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return is.BLACK_ON_WHITE}return is.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove($h,lb,ub),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===is.BLACK_ON_WHITE?n.add($h,lb):i===is.WHITE_ON_BLACK&&n.add($h,ub)}}};e.\u0275fac=function(i){return new(i||e)(g(Ge),g(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),U8e=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(g(LN))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[rb]});let t=e;return t})();var HN=["nz-modal-close",""];function VN(t,e){if(t&1&&(tt(0),et(1,"span",2),nt()),t&2){let r=e.$implicit;k(),I("nzType",r)}}var gb=["modalElement"];function YN(t,e){if(t&1){let r=Pn();se(0,"button",16),Pt("click",function(){pn(r);let i=G();return mn(i.onCloseClick())}),le()}}function jN(t,e){if(t&1&&(tt(0),et(1,"span",17),nt()),t&2){let r=G();k(),I("innerHTML",r.config.nzTitle,Dr)}}function BN(t,e){}function UN(t,e){if(t&1&&et(0,"div",17),t&2){let r=G();I("innerHTML",r.config.nzContent,Dr)}}function $N(t,e){if(t&1){let r=Pn();se(0,"button",18),Pt("click",function(){pn(r);let i=G();return mn(i.onCancel())}),er(1),le()}if(t&2){let r=G();I("nzLoading",!!r.config.nzCancelLoading)("disabled",r.config.nzCancelDisabled),kn("cdkFocusInitial",r.config.nzAutofocus==="cancel"||null),k(),zi(" ",r.config.nzCancelText||r.locale.cancelText," ")}}function qN(t,e){if(t&1){let r=Pn();se(0,"button",19),Pt("click",function(){pn(r);let i=G();return mn(i.onOk())}),er(1),le()}if(t&2){let r=G();I("nzType",r.config.nzOkType)("nzLoading",!!r.config.nzOkLoading)("disabled",r.config.nzOkDisabled)("nzDanger",r.config.nzOkDanger),kn("cdkFocusInitial",r.config.nzAutofocus==="ok"||null),k(),zi(" ",r.config.nzOkText||r.locale.okText," ")}}var WN=["nz-modal-footer",""];function GN(t,e){if(t&1&&et(0,"div",5),t&2){let r=G(3);I("innerHTML",r.config.nzFooter,Dr)}}function KN(t,e){if(t&1){let r=Pn();se(0,"button",7),Pt("click",function(){let o=pn(r).$implicit,s=G(4);return mn(s.onButtonClick(o))}),er(1),le()}if(t&2){let r=e.$implicit,n=G(4);I("hidden",!n.getButtonCallableProp(r,"show"))("nzLoading",n.getButtonCallableProp(r,"loading"))("disabled",n.getButtonCallableProp(r,"disabled"))("nzType",r.type)("nzDanger",r.danger)("nzShape",r.shape)("nzSize",r.size)("nzGhost",r.ghost),k(),zi(" ",r.label," ")}}function ZN(t,e){if(t&1&&(tt(0),Q(1,KN,2,9,"button",6),nt()),t&2){let r=G(3);k(),I("ngForOf",r.buttons)}}function QN(t,e){if(t&1&&(tt(0),Q(1,GN,1,1,"div",3)(2,ZN,2,1,"ng-container",4),nt()),t&2){let r=G(2);k(),I("ngIf",!r.buttonsFooter),k(),I("ngIf",r.buttonsFooter)}}var XN=(t,e)=>({$implicit:t,modalRef:e});function JN(t,e){if(t&1&&(tt(0),Q(1,QN,3,2,"ng-container",2),nt()),t&2){let r=G();k(),I("nzStringTemplateOutlet",r.config.nzFooter)("nzStringTemplateOutletContext",S7(2,XN,r.config.nzData,r.modalRef))}}function eR(t,e){if(t&1){let r=Pn();se(0,"button",10),Pt("click",function(){pn(r);let i=G(2);return mn(i.onCancel())}),er(1),le()}if(t&2){let r=G(2);I("nzLoading",!!r.config.nzCancelLoading)("disabled",r.config.nzCancelDisabled),kn("cdkFocusInitial",r.config.nzAutofocus==="cancel"||null),k(),zi(" ",r.config.nzCancelText||r.locale.cancelText," ")}}function tR(t,e){if(t&1){let r=Pn();se(0,"button",11),Pt("click",function(){pn(r);let i=G(2);return mn(i.onOk())}),er(1),le()}if(t&2){let r=G(2);I("nzType",r.config.nzOkType)("nzDanger",r.config.nzOkDanger)("nzLoading",!!r.config.nzOkLoading)("disabled",r.config.nzOkDisabled),kn("cdkFocusInitial",r.config.nzAutofocus==="ok"||null),k(),zi(" ",r.config.nzOkText||r.locale.okText," ")}}function nR(t,e){if(t&1&&Q(0,eR,2,4,"button",8)(1,tR,2,6,"button",9),t&2){let r=G();I("ngIf",r.config.nzCancelText!==null),k(),I("ngIf",r.config.nzOkText!==null)}}var rR=["nz-modal-title",""];function iR(t,e){if(t&1&&(tt(0),et(1,"div",2),nt()),t&2){let r=G();k(),I("innerHTML",r.config.nzTitle,Dr)}}function oR(t,e){if(t&1){let r=Pn();se(0,"button",9),Pt("click",function(){pn(r);let i=G();return mn(i.onCloseClick())}),le()}}function sR(t,e){t&1&&et(0,"div",10)}function aR(t,e){}function cR(t,e){if(t&1&&et(0,"div",11),t&2){let r=G();I("innerHTML",r.config.nzContent,Dr)}}function lR(t,e){if(t&1){let r=Pn();se(0,"div",12),Pt("cancelTriggered",function(){pn(r);let i=G();return mn(i.onCloseClick())})("okTriggered",function(){pn(r);let i=G();return mn(i.onOkClick())}),le()}if(t&2){let r=G();I("modalRef",r.modalRef)}}var pb=()=>{},li=class{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=pb,this.nzOnOk=pb,this.nzIconType="question-circle"}},Gi={enter:"ant-zoom-enter",enterActive:"ant-zoom-enter-active",leave:"ant-zoom-leave",leaveActive:"ant-zoom-leave-active"},Pa={enter:"ant-fade-enter",enterActive:"ant-fade-enter-active",leave:"ant-fade-leave",leaveActive:"ant-fade-leave-active"},_3="ant-modal-mask",C3="modal",uR=new E("NZ_MODAL_DATA"),vb={modalContainer:$9("modalContainer",[pd("void, exit",Yi({})),pd("enter",Yi({})),md("* => enter",fd(".24s",Yi({}))),md("* => void, * => exit",fd(".2s",Yi({})))])},Zh=(()=>{let e=class e{constructor(n){this.config=n}};e.\u0275fac=function(i){return new(i||e)(m(li))},e.\u0275cmp=bt({type:e,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],standalone:!0,features:[_t],attrs:HN,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(i,o){i&1&&(se(0,"span",0),Q(1,VN,2,1,"ng-container",1),le()),i&2&&(k(),I("nzStringTemplateOutlet",o.config.nzCloseIcon))},dependencies:[No,ii,Nr,Fr],encapsulation:2,changeDetection:0});let t=e;return t})();function dR(t,e){return b(b({},e),t)}function Ml(t,e,r){return typeof t>"u"?typeof e>"u"?r:e:t}function mb(){throw Error("Attempting to attach modal content after content is already attached")}var yb=(()=>{let e=class e extends Ea{get showMask(){let n=this.nzConfigService.getConfigForComponent(C3)||{};return!!Ml(this.config.nzMask,n.nzMask,!0)}get maskClosable(){let n=this.nzConfigService.getConfigForComponent(C3)||{};return!!Ml(this.config.nzMaskClosable,n.nzMaskClosable,!0)}constructor(n,i,o,s,a,c,l,u,d,h){super(),this.ngZone=n,this.host=i,this.focusTrapFactory=o,this.cdr=s,this.render=a,this.overlayRef=c,this.nzConfigService=l,this.config=u,this.animationType=h,this.animationStateChanged=new re,this.containerClick=new re,this.cancelTriggered=new re,this.okTriggered=new re,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new S,this.document=d,this.dir=c.getDirection(),this.isStringContent=typeof u.nzContent=="string",this.nzConfigService.getConfigChangeEventForComponent(C3).pipe(ce(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}onContainerClick(n){n.target===n.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(n){return this.portalOutlet.hasAttached()&&mb(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(n)}attachTemplatePortal(n){return this.portalOutlet.hasAttached()&&mb(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(n)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||this.animationType==="NoopAnimations"}setModalTransformOrigin(){let n=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){let i=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),o=L9(this.elementFocusedBeforeModalWasOpened),s=o.left+i.width/2,a=o.top+i.height/2,c=`${s-n.offsetLeft}px ${a-n.offsetTop}px 0px`;this.render.setStyle(n,"transform-origin",c)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>tb(()=>this.host.nativeElement.focus())))}trapFocus(){let n=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{let i=this.document.activeElement;i!==n&&!n.contains(i)&&n.focus()}}restoreFocus(){let n=this.elementFocusedBeforeModalWasOpened;if(n&&typeof n.focus=="function"){let i=this.document.activeElement,o=this.host.nativeElement;(!i||i===this.document.body||i===o||o.contains(i))&&n.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();let n=this.modalElementRef.nativeElement,i=this.overlayRef.backdropElement;n.classList.add(Gi.enter),n.classList.add(Gi.enterActive),i&&(i.classList.add(Pa.enter),i.classList.add(Pa.enterActive))}setExitAnimationClass(){let n=this.modalElementRef.nativeElement;n.classList.add(Gi.leave),n.classList.add(Gi.leaveActive),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(n=!1){let i=this.overlayRef.backdropElement;if(i){if(this.animationDisabled()||n){i.classList.remove(_3);return}i.classList.add(Pa.leave),i.classList.add(Pa.leaveActive)}}cleanAnimationClass(){if(this.animationDisabled())return;let n=this.overlayRef.backdropElement,i=this.modalElementRef.nativeElement;n&&(n.classList.remove(Pa.enter),n.classList.remove(Pa.enterActive)),i.classList.remove(Gi.enter),i.classList.remove(Gi.enterActive),i.classList.remove(Gi.leave),i.classList.remove(Gi.leaveActive)}setZIndexForBackdrop(){let n=this.overlayRef.backdropElement;n&&Mn(this.config.nzZIndex)&&this.render.setStyle(n,"z-index",this.config.nzZIndex)}bindBackdropStyle(){let n=this.overlayRef.backdropElement;if(n){if(this.oldMaskStyle){let i=this.oldMaskStyle;Object.keys(i).forEach(o=>{this.render.removeStyle(n,o)}),this.oldMaskStyle=null}if(this.setZIndexForBackdrop(),typeof this.config.nzMaskStyle=="object"&&Object.keys(this.config.nzMaskStyle).length){let i=b({},this.config.nzMaskStyle);Object.keys(i).forEach(o=>{this.render.setStyle(n,o,i[o])}),this.oldMaskStyle=i}}}updateMaskClassname(){let n=this.overlayRef.backdropElement;n&&(this.showMask?n.classList.add(_3):n.classList.remove(_3))}onAnimationDone(n){n.toState==="enter"?this.trapFocus():n.toState==="exit"&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(n)}onAnimationStart(n){n.toState==="enter"?(this.setEnterAnimationClass(),this.bindBackdropStyle()):n.toState==="exit"&&this.setExitAnimationClass(),this.animationStateChanged.emit(n)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(!0),this.destroy$.complete()}setupMouseListeners(n){this.ngZone.runOutsideAngular(()=>{Kn(this.host.nativeElement,"mouseup").pipe(ce(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),Kn(n.nativeElement,"mousedown").pipe(ce(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}};e.\u0275fac=function(i){n4()},e.\u0275dir=ne({type:e,features:[nn]});let t=e;return t})(),wb=(()=>{let e=class e extends yb{constructor(n,i,o,s,a,c,l,u,d,h,f){super(n,o,s,a,c,l,u,d,h,f),this.i18n=i,this.config=d,this.cancelTriggered=new re,this.okTriggered=new re,this.i18n.localeChange.pipe(ce(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}};e.\u0275fac=function(i){return new(i||e)(m(U),m($i),m(oe),m(ka),m(ft),m(st),m(Wi),m(Rn),m(li),m(V,8),m(gn,8))},e.\u0275cmp=bt({type:e,selectors:[["nz-modal-confirm-container"]],viewQuery:function(i,o){if(i&1&&(On(Ar,7),On(gb,7)),i&2){let s;ct(s=lt())&&(o.portalOutlet=s.first),ct(s=lt())&&(o.modalElementRef=s.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(i,o){i&1&&(u4("@modalContainer.start",function(a){return o.onAnimationStart(a)})("@modalContainer.done",function(a){return o.onAnimationDone(a)}),Pt("click",function(a){return o.onContainerClick(a)})),i&2&&(l4("@.disabled",o.config.nzNoAnimation)("@modalContainer",o.state),Du(o.config.nzWrapClassName?"ant-modal-wrap "+o.config.nzWrapClassName:"ant-modal-wrap"),Gt("z-index",o.config.nzZIndex),St("ant-modal-wrap-rtl",o.dir==="rtl")("ant-modal-centered",o.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],standalone:!0,features:[nn,_t],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(i,o){i&1&&(se(0,"div",0,1),Tu(2,"nzToCssUnit"),se(3,"div",2),Q(4,YN,1,0,"button",3),se(5,"div",4)(6,"div",5)(7,"div",6),et(8,"span",7),se(9,"span",8),Q(10,jN,2,1,"ng-container",9),le(),se(11,"div",10),Q(12,BN,0,0,"ng-template",11)(13,UN,1,1,"div",12),le()(),se(14,"div",13),Q(15,$N,2,4,"button",14)(16,qN,2,6,"button",15),le()()()()()),i&2&&(Gt("width",Eu(2,11,o.config==null?null:o.config.nzWidth)),I("ngClass",o.config.nzClassName)("ngStyle",o.config.nzStyle),k(4),I("ngIf",o.config.nzClosable),k(),I("ngStyle",o.config.nzBodyStyle),k(3),I("nzType",o.config.nzIconType),k(2),I("nzStringTemplateOutlet",o.config.nzTitle),k(3),I("ngIf",o.isStringContent),k(2),I("ngIf",o.config.nzCancelText!==null),k(),I("ngIf",o.config.nzOkText!==null))},dependencies:[fc,_o,Uh,Bh,No,ii,nr,Zh,Nr,Fr,ts,Ar,rh,F2,eh,nh],encapsulation:2,data:{animation:[vb.modalContainer]}});let t=e;return t})(),bb=(()=>{let e=class e{constructor(n,i){this.i18n=n,this.config=i,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new re,this.okTriggered=new re,this.destroy$=new S,Array.isArray(i.nzFooter)&&(this.buttonsFooter=!0,this.buttons=i.nzFooter.map(hR)),this.i18n.localeChange.pipe(ce(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(n,i){let o=n[i],s=this.modalRef.getContentComponent();return typeof o=="function"?o.apply(n,s&&[s]):o}onButtonClick(n){if(!this.getButtonCallableProp(n,"loading")){let o=this.getButtonCallableProp(n,"onClick");n.autoLoading&&u2(o)&&(n.loading=!0,o.then(()=>n.loading=!1).catch(s=>{throw n.loading=!1,s}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}};e.\u0275fac=function(i){return new(i||e)(m($i),m(li))},e.\u0275cmp=bt({type:e,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],standalone:!0,features:[_t],attrs:WN,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(i,o){if(i&1&&Q(0,JN,2,5,"ng-container",0)(1,nR,2,2,"ng-template",null,1,bo),i&2){let s=$s(2);I("ngIf",o.config.nzFooter)("ngIfElse",s)}},dependencies:[nr,Nr,Fr,pc,rh,F2,eh,nh],encapsulation:2});let t=e;return t})();function hR(t){return b({type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1},t)}var _b=(()=>{let e=class e{constructor(n){this.config=n}};e.\u0275fac=function(i){return new(i||e)(m(li))},e.\u0275cmp=bt({type:e,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],standalone:!0,features:[_t],attrs:rR,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(i,o){i&1&&(se(0,"div",0),Q(1,iR,2,1,"ng-container",1),le()),i&2&&(k(),I("nzStringTemplateOutlet",o.config.nzTitle))},dependencies:[Nr,Fr],encapsulation:2,changeDetection:0});let t=e;return t})(),Cb=(()=>{let e=class e extends yb{constructor(n,i,o,s,a,c,l,u,d,h){super(n,i,o,s,a,c,l,u,d,h),this.config=u}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}};e.\u0275fac=function(i){return new(i||e)(m(U),m(oe),m(ka),m(ft),m(st),m(Wi),m(Rn),m(li),m(V,8),m(gn,8))},e.\u0275cmp=bt({type:e,selectors:[["nz-modal-container"]],viewQuery:function(i,o){if(i&1&&(On(Ar,7),On(gb,7)),i&2){let s;ct(s=lt())&&(o.portalOutlet=s.first),ct(s=lt())&&(o.modalElementRef=s.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(i,o){i&1&&(u4("@modalContainer.start",function(a){return o.onAnimationStart(a)})("@modalContainer.done",function(a){return o.onAnimationDone(a)}),Pt("click",function(a){return o.onContainerClick(a)})),i&2&&(l4("@.disabled",o.config.nzNoAnimation)("@modalContainer",o.state),Du(o.config.nzWrapClassName?"ant-modal-wrap "+o.config.nzWrapClassName:"ant-modal-wrap"),Gt("z-index",o.config.nzZIndex),St("ant-modal-wrap-rtl",o.dir==="rtl")("ant-modal-centered",o.config.nzCentered))},exportAs:["nzModalContainer"],standalone:!0,features:[nn,_t],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(i,o){i&1&&(se(0,"div",0,1),Tu(2,"nzToCssUnit"),se(3,"div",2),Q(4,oR,1,0,"button",3)(5,sR,1,0,"div",4),se(6,"div",5),Q(7,aR,0,0,"ng-template",6)(8,cR,1,1,"div",7),le(),Q(9,lR,1,1,"div",8),le()()),i&2&&(Gt("width",Eu(2,9,o.config==null?null:o.config.nzWidth)),I("ngClass",o.config.nzClassName)("ngStyle",o.config.nzStyle),k(4),I("ngIf",o.config.nzClosable),k(),I("ngIf",o.config.nzTitle),k(),I("ngStyle",o.config.nzBodyStyle),k(2),I("ngIf",o.isStringContent),k(),I("ngIf",o.config.nzFooter!==null))},dependencies:[fc,_o,nr,Zh,_b,ts,Ar,bb,Uh,Bh],encapsulation:2,data:{animation:[vb.modalContainer]}});let t=e;return t})(),M3=class{constructor(e,r,n){this.overlayRef=e,this.config=r,this.containerInstance=n,this.componentInstance=null,this.state=0,this.afterClose=new S,this.afterOpen=new S,this.destroy$=new S,n.animationStateChanged.pipe(ge(i=>i.phaseName==="done"&&i.toState==="enter"),ze(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),r.nzAfterOpen instanceof re&&r.nzAfterOpen.emit()}),n.animationStateChanged.pipe(ge(i=>i.phaseName==="done"&&i.toState==="exit"),ze(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),n.containerClick.pipe(ze(1),ce(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),e.keydownEvents().pipe(ge(i=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&i.keyCode===27&&!za(i))).subscribe(i=>{i.preventDefault(),this.trigger("cancel")}),n.cancelTriggered.pipe(ce(this.destroy$)).subscribe(()=>this.trigger("cancel")),n.okTriggered.pipe(ce(this.destroy$)).subscribe(()=>this.trigger("ok")),e.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),r.nzAfterClose instanceof re&&r.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(e){this.close(e)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(e){this.state===0&&(this.result=e,this.containerInstance.animationStateChanged.pipe(ge(r=>r.phaseName==="start"),ze(1)).subscribe(r=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},r.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(e){Object.assign(this.config,e),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(e){return L3(this,null,function*(){if(this.state===1)return;let r={ok:this.config.nzOnOk,cancel:this.config.nzOnCancel}[e],n={ok:"nzOkLoading",cancel:"nzCancelLoading"}[e];if(!this.config[n]){if(r instanceof re)r.emit(this.getContentComponent());else if(typeof r=="function"){let o=r(this.getContentComponent());if(u2(o)){this.config[n]=!0;let s=!1;try{s=yield o}finally{this.config[n]=!1,this.closeWhitResult(s)}}else this.closeWhitResult(o)}}})}closeWhitResult(e){e!==!1&&this.close(e)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}},Qh=(()=>{let e=class e{get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){let n=this.parentModal;return n?n._afterAllClosed:this.afterAllClosedAtThisLevel}constructor(n,i,o,s,a){this.overlay=n,this.injector=i,this.nzConfigService=o,this.parentModal=s,this.directionality=a,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new S,this.afterAllClose=gs(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(Rt(void 0)))}create(n){return this.open(n.nzContent,n)}closeAll(){this.closeModals(this.openModals)}confirm(n={},i="confirm"){return"nzFooter"in n&&Cn(`The Confirm-Modal doesn't support "nzFooter", this property will be ignored.`),"nzWidth"in n||(n.nzWidth=416),"nzMaskClosable"in n||(n.nzMaskClosable=!1),n.nzModalType="confirm",n.nzClassName=`ant-modal-confirm ant-modal-confirm-${i} ${n.nzClassName||""}`,this.create(n)}info(n={}){return this.confirmFactory(n,"info")}success(n={}){return this.confirmFactory(n,"success")}error(n={}){return this.confirmFactory(n,"error")}warning(n={}){return this.confirmFactory(n,"warning")}open(n,i){let o=dR(i||{},new li),s=this.createOverlay(o),a=this.attachModalContainer(s,o),c=this.attachModalContent(n,a,s,o);return a.modalRef=c,this.openModals.push(c),c.afterClose.subscribe(()=>this.removeOpenModal(c)),c}removeOpenModal(n){let i=this.openModals.indexOf(n);i>-1&&(this.openModals.splice(i,1),this.openModals.length||this._afterAllClosed.next())}closeModals(n){let i=n.length;for(;i--;)n[i].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(n){let i=this.nzConfigService.getConfigForComponent(C3)||{},o=new qi({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:Ml(n.nzCloseOnNavigation,i.nzCloseOnNavigation,!0),direction:Ml(n.nzDirection,i.nzDirection,this.directionality.value)});return Ml(n.nzMask,i.nzMask,!0)&&(o.backdropClass=_3),this.overlay.create(o)}attachModalContainer(n,i){let o=i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector,s=Ue.create({parent:o||this.injector,providers:[{provide:Wi,useValue:n},{provide:li,useValue:i}]}),a=i.nzModalType==="confirm"?wb:Cb,c=new si(a,i.nzViewContainerRef,s);return n.attach(c).instance}attachModalContent(n,i,o,s){let a=new M3(o,s,i);if(n instanceof Me)i.attachTemplatePortal(new ai(n,null,{$implicit:s.nzData,modalRef:a}));else if(Mn(n)&&typeof n!="string"){let c=this.createInjector(a,s),l=i.attachComponentPortal(new si(n,s.nzViewContainerRef,c));a.componentInstance=l.instance}else i.attachStringContent();return a}createInjector(n,i){let o=i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector;return Ue.create({parent:o||this.injector,providers:[{provide:M3,useValue:n},{provide:uR,useValue:i.nzData}]})}confirmFactory(n={},i){let o={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"};return"nzIconType"in n||(n.nzIconType=o[i]),"nzCancelText"in n||(n.nzCancelText=null),this.confirm(n,i)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}};e.\u0275fac=function(i){return new(i||e)(g(ci),g(Ue),g(Rn),g(e,12),g(Ft,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();var Mb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[Qh],imports:[Zh,bb,_b,Cb,wb]});let t=e;return t})();var Db="nz-animate-disabled",xb=(()=>{let e=class e{constructor(n,i,o){this.element=n,this.renderer=i,this.animationType=o,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){let n=rt(this.element);n&&(this.nzNoAnimation||this.animationType==="NoopAnimations"?this.renderer.addClass(n,Db):this.renderer.removeClass(n,Db))}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(st),m(gn,8))},e.\u0275dir=ne({type:e,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],standalone:!0,features:[He]});let t=e;return je([Je()],t.prototype,"nzNoAnimation",void 0),t})();var fR=["drawerTemplate"];function pR(t,e){if(t&1){let r=Pn();se(0,"div",11),Pt("click",function(){pn(r);let i=G(2);return mn(i.maskClick())}),le()}if(t&2){let r=G(2);I("ngStyle",r.nzMaskStyle)}}function mR(t,e){if(t&1&&(tt(0),et(1,"span",19),nt()),t&2){let r=e.$implicit;k(),I("nzType",r)}}function gR(t,e){if(t&1){let r=Pn();se(0,"button",17),Pt("click",function(){pn(r);let i=G(3);return mn(i.closeClick())}),Q(1,mR,2,1,"ng-container",18),le()}if(t&2){let r=G(3);k(),I("nzStringTemplateOutlet",r.nzCloseIcon)}}function vR(t,e){if(t&1&&(tt(0),et(1,"div",21),nt()),t&2){let r=G(4);k(),I("innerHTML",r.nzTitle,Dr)}}function yR(t,e){if(t&1&&(se(0,"div",20),Q(1,vR,2,1,"ng-container",18),le()),t&2){let r=G(3);k(),I("nzStringTemplateOutlet",r.nzTitle)}}function wR(t,e){if(t&1&&(tt(0),et(1,"div",21),nt()),t&2){let r=G(4);k(),I("innerHTML",r.nzExtra,Dr)}}function bR(t,e){if(t&1&&(se(0,"div",22),Q(1,wR,2,1,"ng-container",18),le()),t&2){let r=G(3);k(),I("nzStringTemplateOutlet",r.nzExtra)}}function _R(t,e){if(t&1&&(se(0,"div",12)(1,"div",13),Q(2,gR,2,1,"button",14)(3,yR,2,1,"div",15),le(),Q(4,bR,2,1,"div",16),le()),t&2){let r=G(2);St("ant-drawer-header-close-only",!r.nzTitle),k(2),I("ngIf",r.nzClosable),k(),I("ngIf",r.nzTitle),k(),I("ngIf",r.nzExtra)}}function CR(t,e){}function MR(t,e){t&1&&xu(0)}function DR(t,e){if(t&1&&(tt(0),Q(1,MR,1,0,"ng-container",24),nt()),t&2){let r=G(3);k(),I("ngTemplateOutlet",r.nzContent)("ngTemplateOutletContext",r.templateContext)}}function xR(t,e){if(t&1&&(tt(0),Q(1,DR,2,2,"ng-container",23),nt()),t&2){let r=G(2);k(),I("ngIf",r.isTemplateRef(r.nzContent))}}function SR(t,e){}function TR(t,e){if(t&1&&(tt(0),Q(1,SR,0,0,"ng-template",25),nt()),t&2){let r=G(3);k(),I("ngTemplateOutlet",r.contentFromContentChild)}}function ER(t,e){if(t&1&&Q(0,TR,2,1,"ng-container",23),t&2){let r=G(2);I("ngIf",r.contentFromContentChild&&(r.isOpen||r.inAnimation))}}function zR(t,e){if(t&1&&(tt(0),et(1,"div",21),nt()),t&2){let r=G(3);k(),I("innerHTML",r.nzFooter,Dr)}}function IR(t,e){if(t&1&&(se(0,"div",26),Q(1,zR,2,1,"ng-container",18),le()),t&2){let r=G(2);k(),I("nzStringTemplateOutlet",r.nzFooter)}}function kR(t,e){if(t&1&&(se(0,"div",1),Q(1,pR,1,1,"div",2),se(2,"div")(3,"div",3)(4,"div",4),Q(5,_R,5,5,"div",5),se(6,"div",6),Q(7,CR,0,0,"ng-template",7)(8,xR,2,1,"ng-container",8)(9,ER,1,1,"ng-template",null,9,bo),le(),Q(11,IR,2,1,"div",10),le()()()()),t&2){let r=$s(10),n=G();Gt("transform",n.offsetTransform)("transition",n.placementChanging?"none":null)("z-index",n.nzZIndex),St("ant-drawer-rtl",n.dir==="rtl")("ant-drawer-open",n.isOpen)("no-mask",!n.nzMask)("ant-drawer-top",n.nzPlacement==="top")("ant-drawer-bottom",n.nzPlacement==="bottom")("ant-drawer-right",n.nzPlacement==="right")("ant-drawer-left",n.nzPlacement==="left"),I("nzNoAnimation",n.nzNoAnimation),k(),I("ngIf",n.nzMask),k(),v7("ant-drawer-content-wrapper ",n.nzWrapClassName,""),Gt("width",n.width)("height",n.height)("transform",n.transform)("transition",n.placementChanging?"none":null),k(2),Gt("height",n.isLeftOrRight?"100%":null),k(),I("ngIf",n.nzTitle||n.nzClosable),k(),I("ngStyle",n.nzBodyStyle),k(2),I("ngIf",n.nzContent)("ngIfElse",r),k(3),I("ngIf",n.nzFooter)}}var PR=(()=>{let e=class e{constructor(n){this.templateRef=n}};e.\u0275fac=function(i){return new(i||e)(m(Me))},e.\u0275dir=ne({type:e,selectors:[["","nzDrawerContent",""]],exportAs:["nzDrawerContent"],standalone:!0});let t=e;return t})(),Sb=378,Tb=736,OR=new E("NZ_DRAWER_DATA"),D3=class{},AR=300,FR="drawer",Eb=(()=>{let e=class e extends D3{set nzVisible(n){this.isOpen=n}get nzVisible(){return this.isOpen}get offsetTransform(){if(!this.isOpen||this.nzOffsetX+this.nzOffsetY===0)return null;switch(this.nzPlacement){case"left":return`translateX(${this.nzOffsetX}px)`;case"right":return`translateX(-${this.nzOffsetX}px)`;case"top":return`translateY(${this.nzOffsetY}px)`;case"bottom":return`translateY(-${this.nzOffsetY}px)`}}get transform(){if(this.isOpen)return null;switch(this.nzPlacement){case"left":return"translateX(-100%)";case"right":return"translateX(100%)";case"top":return"translateY(-100%)";case"bottom":return"translateY(100%)"}}get width(){if(this.isLeftOrRight){let n=this.nzSize==="large"?Tb:Sb;return this.nzWidth===void 0?Kc(n):Kc(this.nzWidth)}return null}get height(){if(!this.isLeftOrRight){let n=this.nzSize==="large"?Tb:Sb;return this.nzHeight===void 0?Kc(n):Kc(this.nzHeight)}return null}get isLeftOrRight(){return this.nzPlacement==="left"||this.nzPlacement==="right"}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}isTemplateRef(n){return n instanceof Me}constructor(n,i,o,s,a,c,l,u,d,h,f){super(),this.cdr=n,this.document=i,this.nzConfigService=o,this.renderer=s,this.overlay=a,this.injector=c,this.changeDetectorRef=l,this.focusTrapFactory=u,this.viewContainerRef=d,this.overlayKeyboardDispatcher=h,this.directionality=f,this._nzModuleName=FR,this.nzCloseIcon="close",this.nzClosable=!0,this.nzMaskClosable=!0,this.nzMask=!0,this.nzCloseOnNavigation=!0,this.nzNoAnimation=!1,this.nzKeyboard=!0,this.nzPlacement="right",this.nzSize="default",this.nzMaskStyle={},this.nzBodyStyle={},this.nzZIndex=1e3,this.nzOffsetX=0,this.nzOffsetY=0,this.componentInstance=null,this.nzOnViewInit=new re,this.nzOnClose=new re,this.nzVisibleChange=new re,this.destroy$=new S,this.placementChanging=!1,this.placementChangeTimeoutId=-1,this.isOpen=!1,this.inAnimation=!1,this.templateContext={$implicit:void 0,drawerRef:this},this.nzAfterOpen=new S,this.nzAfterClose=new S,this.nzDirection=void 0,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe(ce(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.nzDirection||this.directionality.value,this.attachOverlay(),this.updateOverlayStyle(),this.updateBodyOverflow(),this.templateContext={$implicit:this.nzData||this.nzContentParams,drawerRef:this},this.changeDetectorRef.detectChanges()}ngAfterViewInit(){this.attachBodyContent(),this.nzOnViewInit.observers.length&&setTimeout(()=>{this.nzOnViewInit.emit()})}ngOnChanges(n){let{nzPlacement:i,nzVisible:o}=n;o&&(n.nzVisible.currentValue?this.open():this.close()),i&&!i.isFirstChange()&&this.triggerPlacementChangeCycleOnce()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),clearTimeout(this.placementChangeTimeoutId),this.disposeOverlay()}getAnimationDuration(){return this.nzNoAnimation?0:AR}triggerPlacementChangeCycleOnce(){this.nzNoAnimation||(this.placementChanging=!0,this.changeDetectorRef.markForCheck(),clearTimeout(this.placementChangeTimeoutId),this.placementChangeTimeoutId=setTimeout(()=>{this.placementChanging=!1,this.changeDetectorRef.markForCheck()},this.getAnimationDuration()))}close(n){this.isOpen=!1,this.inAnimation=!0,this.nzVisibleChange.emit(!1),this.updateOverlayStyle(),this.overlayKeyboardDispatcher.remove(this.overlayRef),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.updateBodyOverflow(),this.restoreFocus(),this.inAnimation=!1,this.nzAfterClose.next(n),this.nzAfterClose.complete(),this.componentInstance=null},this.getAnimationDuration())}open(){this.attachOverlay(),this.isOpen=!0,this.inAnimation=!0,this.nzVisibleChange.emit(!0),this.overlayKeyboardDispatcher.add(this.overlayRef),this.updateOverlayStyle(),this.updateBodyOverflow(),this.savePreviouslyFocusedElement(),this.trapFocus(),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.inAnimation=!1,this.changeDetectorRef.detectChanges(),this.nzAfterOpen.next()},this.getAnimationDuration())}getContentComponent(){return this.componentInstance}closeClick(){this.nzOnClose.emit()}maskClick(){this.nzMaskClosable&&this.nzMask&&this.nzOnClose.emit()}attachBodyContent(){if(this.bodyPortalOutlet.dispose(),this.nzContent instanceof Kp){let n=Ue.create({parent:this.injector,providers:[{provide:D3,useValue:this},{provide:OR,useValue:this.nzData}]}),i=new si(this.nzContent,null,n),o=this.bodyPortalOutlet.attachComponentPortal(i);this.componentInstance=o.instance,Object.assign(o.instance,this.nzData||this.nzContentParams),o.changeDetectorRef.detectChanges()}}attachOverlay(){this.overlayRef||(this.portal=new ai(this.drawerTemplate,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayRef.keydownEvents().pipe(ce(this.destroy$)).subscribe(n=>{n.keyCode===27&&this.isOpen&&this.nzKeyboard&&this.nzOnClose.emit()}),this.overlayRef.detachments().pipe(ce(this.destroy$)).subscribe(()=>{this.disposeOverlay()}))}disposeOverlay(){this.overlayRef?.dispose(),this.overlayRef=null}getOverlayConfig(){return new qi({disposeOnNavigation:this.nzCloseOnNavigation,positionStrategy:this.overlay.position().global(),scrollStrategy:this.overlay.scrollStrategies.block()})}updateOverlayStyle(){this.overlayRef&&this.overlayRef.overlayElement&&this.renderer.setStyle(this.overlayRef.overlayElement,"pointer-events",this.isOpen?"auto":"none")}updateBodyOverflow(){this.overlayRef&&(this.isOpen?this.overlayRef.getConfig().scrollStrategy.enable():this.overlayRef.getConfig().scrollStrategy.disable())}savePreviouslyFocusedElement(){this.document&&!this.previouslyFocusedElement&&(this.previouslyFocusedElement=this.document.activeElement,this.previouslyFocusedElement&&typeof this.previouslyFocusedElement.blur=="function"&&this.previouslyFocusedElement.blur())}trapFocus(){!this.focusTrap&&this.overlayRef&&this.overlayRef.overlayElement&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.overlayElement),this.focusTrap.focusInitialElement())}restoreFocus(){this.previouslyFocusedElement&&typeof this.previouslyFocusedElement.focus=="function"&&this.previouslyFocusedElement.focus(),this.focusTrap&&this.focusTrap.destroy()}};e.\u0275fac=function(i){return new(i||e)(m(ft),m(V,8),m(Rn),m(st),m(ci),m(Ue),m(ft),m(ka),m(Xe),m(Vh),m(Ft,8))},e.\u0275cmp=bt({type:e,selectors:[["nz-drawer"]],contentQueries:function(i,o,s){if(i&1&&wn(s,PR,7,Me),i&2){let a;ct(a=lt())&&(o.contentFromContentChild=a.first)}},viewQuery:function(i,o){if(i&1&&(On(fR,7),On(Ar,5)),i&2){let s;ct(s=lt())&&(o.drawerTemplate=s.first),ct(s=lt())&&(o.bodyPortalOutlet=s.first)}},inputs:{nzContent:"nzContent",nzCloseIcon:"nzCloseIcon",nzClosable:"nzClosable",nzMaskClosable:"nzMaskClosable",nzMask:"nzMask",nzCloseOnNavigation:"nzCloseOnNavigation",nzNoAnimation:"nzNoAnimation",nzKeyboard:"nzKeyboard",nzTitle:"nzTitle",nzExtra:"nzExtra",nzFooter:"nzFooter",nzPlacement:"nzPlacement",nzSize:"nzSize",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzWrapClassName:"nzWrapClassName",nzWidth:"nzWidth",nzHeight:"nzHeight",nzZIndex:"nzZIndex",nzOffsetX:"nzOffsetX",nzOffsetY:"nzOffsetY",nzVisible:"nzVisible"},outputs:{nzOnViewInit:"nzOnViewInit",nzOnClose:"nzOnClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzDrawer"],standalone:!0,features:[nn,He,_t],decls:2,vars:0,consts:[["drawerTemplate",""],[1,"ant-drawer",3,"nzNoAnimation"],["class","ant-drawer-mask",3,"ngStyle","click",4,"ngIf"],[1,"ant-drawer-content"],[1,"ant-drawer-wrapper-body"],["class","ant-drawer-header",3,"ant-drawer-header-close-only",4,"ngIf"],[1,"ant-drawer-body",3,"ngStyle"],["cdkPortalOutlet",""],[4,"ngIf","ngIfElse"],["contentElseTemp",""],["class","ant-drawer-footer",4,"ngIf"],[1,"ant-drawer-mask",3,"ngStyle","click"],[1,"ant-drawer-header"],[1,"ant-drawer-header-title"],["aria-label","Close","class","ant-drawer-close","style","--scroll-bar: 0px;",3,"click",4,"ngIf"],["class","ant-drawer-title",4,"ngIf"],["class","ant-drawer-extra",4,"ngIf"],["aria-label","Close",1,"ant-drawer-close",2,"--scroll-bar","0px",3,"click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],[1,"ant-drawer-title"],[3,"innerHTML"],[1,"ant-drawer-extra"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngTemplateOutlet"],[1,"ant-drawer-footer"]],template:function(i,o){i&1&&Q(0,kR,12,40,"ng-template",null,0,bo)},dependencies:[xb,nr,_o,Nr,Fr,No,ii,ts,Ar,mc],encapsulation:2,changeDetection:0});let t=e;return je([Je()],t.prototype,"nzClosable",void 0),je([Ln(),Je()],t.prototype,"nzMaskClosable",void 0),je([Ln(),Je()],t.prototype,"nzMask",void 0),je([Ln(),Je()],t.prototype,"nzCloseOnNavigation",void 0),je([Je()],t.prototype,"nzNoAnimation",void 0),je([Je()],t.prototype,"nzKeyboard",void 0),je([Ln()],t.prototype,"nzDirection",void 0),t})(),Xh=class{constructor(e,r){this.overlay=e,this.options=r,this.unsubscribe$=new S;let o=this.options,{nzOnCancel:n}=o,i=ss(o,["nzOnCancel"]);this.overlayRef=this.overlay.create(),this.drawerRef=this.overlayRef.attach(new si(Eb)).instance,this.updateOptions(i),this.drawerRef.savePreviouslyFocusedElement(),this.drawerRef.nzOnViewInit.pipe(ce(this.unsubscribe$)).subscribe(()=>{this.drawerRef.open()}),this.drawerRef.nzOnClose.subscribe(()=>{n?n().then(s=>{s!==!1&&this.drawerRef.close()}):this.drawerRef.close()}),this.drawerRef.afterClose.pipe(ce(this.unsubscribe$)).subscribe(()=>{this.overlayRef.dispose(),this.drawerRef=null,this.unsubscribe$.next(),this.unsubscribe$.complete()})}getInstance(){return this.drawerRef}updateOptions(e){Object.assign(this.drawerRef,e)}},Jh=(()=>{let e=class e{constructor(n){this.overlay=n}create(n){return new Xh(this.overlay,n).getInstance()}};e.\u0275fac=function(i){return new(i||e)(g(ci))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),zb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[Jh],imports:[Eb]});let t=e;return t})();function lf(t,e,r){for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];i?t.setProperty(n,i,r?.has(n)?"important":""):t.removeProperty(n)}return t}function Oa(t,e){let r=e?"":"none";lf(t.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":r,"-ms-user-select":r,"-webkit-user-select":r,"-moz-user-select":r})}function Ib(t,e,r){lf(t.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},r)}function E3(t,e){return e&&e!="none"?t+" "+e:t}function kb(t){let e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function NR(t){let e=getComputedStyle(t),r=ef(e,"transition-property"),n=r.find(a=>a==="transform"||a==="all");if(!n)return 0;let i=r.indexOf(n),o=ef(e,"transition-duration"),s=ef(e,"transition-delay");return kb(o[i])+kb(s[i])}function ef(t,e){return t.getPropertyValue(e).split(",").map(n=>n.trim())}function uf(t){let e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function nf(t,e,r){let{top:n,bottom:i,left:o,right:s}=t;return r>=n&&r<=i&&e>=o&&e<=s}function xl(t,e,r){t.top+=e,t.bottom=t.top+t.height,t.left+=r,t.right=t.left+t.width}function Pb(t,e,r,n){let{top:i,right:o,bottom:s,left:a,width:c,height:l}=t,u=c*e,d=l*e;return n>i-d&&n<s+d&&r>a-u&&r<o+u}var z3=class{constructor(e){this._document=e,this.positions=new Map}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),e.forEach(r=>{this.positions.set(r,{scrollPosition:{top:r.scrollTop,left:r.scrollLeft},clientRect:uf(r)})})}handleScroll(e){let r=cn(e),n=this.positions.get(r);if(!n)return null;let i=n.scrollPosition,o,s;if(r===this._document){let l=this.getViewportScrollPosition();o=l.top,s=l.left}else o=r.scrollTop,s=r.scrollLeft;let a=i.top-o,c=i.left-s;return this.positions.forEach((l,u)=>{l.clientRect&&r!==u&&r.contains(u)&&xl(l.clientRect,a,c)}),i.top=o,i.left=s,{top:a,left:c}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function Ob(t){let e=t.cloneNode(!0),r=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let i=0;i<r.length;i++)r[i].removeAttribute("id");return n==="canvas"?Nb(t,e):(n==="input"||n==="select"||n==="textarea")&&Fb(t,e),Ab("canvas",t,e,Nb),Ab("input, textarea, select",t,e,Fb),e}function Ab(t,e,r,n){let i=e.querySelectorAll(t);if(i.length){let o=r.querySelectorAll(t);for(let s=0;s<i.length;s++)n(i[s],o[s])}}var RR=0;function Fb(t,e){e.type!=="file"&&(e.value=t.value),e.type==="radio"&&e.name&&(e.name=`mat-clone-${e.name}-${RR++}`)}function Nb(t,e){let r=e.getContext("2d");if(r)try{r.drawImage(t,0,0)}catch{}}var Rb=Fo({passive:!0}),x3=Fo({passive:!1}),LR=800,tf=new Set(["position"]),rf=class{get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(r=>Oa(r,e)))}constructor(e,r,n,i,o,s){this._config=r,this._document=n,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new S,this._pointerMoveSubscription=ye.EMPTY,this._pointerUpSubscription=ye.EMPTY,this._scrollSubscription=ye.EMPTY,this._resizeSubscription=ye.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new S,this.started=new S,this.released=new S,this.ended=new S,this.entered=new S,this.exited=new S,this.dropped=new S,this.moved=this._moveEvents,this._pointerDown=a=>{if(this.beforeStarted.next(),this._handles.length){let c=this._getTargetHandle(a);c&&!this._disabledHandles.has(c)&&!this.disabled&&this._initializeDragSequence(c,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{let c=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){let u=Math.abs(c.x-this._pickupPositionOnPage.x),d=Math.abs(c.y-this._pickupPositionOnPage.y);if(u+d>=this._config.dragStartThreshold){let f=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),p=this._dropContainer;if(!f){this._endDragSequence(a);return}(!p||!p.isDragging()&&!p.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}a.preventDefault();let l=this._getConstrainedPointerPosition(c);if(this._hasMoved=!0,this._lastKnownPointerPosition=c,this._updatePointerDirectionDelta(l),this._dropContainer)this._updateActiveDropContainer(l,c);else{let u=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,d=this._activeTransform;d.x=l.x-u.x+this._passiveTransform.x,d.y=l.y-u.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:l,event:a,distance:this._getDragDistance(l),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){let c=this._getTargetHandle(a);c&&!this._disabledHandles.has(c)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(e).withParent(r.parentDragRef||null),this._parentPositions=new z3(n),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(n=>rt(n)),this._handles.forEach(n=>Oa(n,this.disabled)),this._toggleNativeDragInteractions();let r=new Set;return this._disabledHandles.forEach(n=>{this._handles.indexOf(n)>-1&&r.add(n)}),this._disabledHandles=r,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){let r=rt(e);return r!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{r.addEventListener("mousedown",this._pointerDown,x3),r.addEventListener("touchstart",this._pointerDown,Rb),r.addEventListener("dragstart",this._nativeDragStart,x3)}),this._initialTransform=void 0,this._rootElement=r),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?rt(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),Oa(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),Oa(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){let e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){let e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let r=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(r),dropPoint:r,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){Dl(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let r=this._dropContainer;if(r){let n=this._rootElement,i=n.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();i.insertBefore(s,n),this._initialTransform=n.style.transform||"",this._preview=this._createPreviewElement(),Ib(n,!1,tf),this._document.body.appendChild(i.replaceChild(o,n)),this._getPreviewInsertionPoint(i,a).appendChild(this._preview),this.started.next({source:this,event:e}),r.start(),this._initialContainer=r,this._initialIndex=r.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(r?r.getScrollableParents():[])}_initializeDragSequence(e,r){this._parentDragRef&&r.stopPropagation();let n=this.isDragging(),i=Dl(r),o=!i&&r.button!==0,s=this._rootElement,a=cn(r),c=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+LR>Date.now(),l=i?Kh(r):Gh(r);if(a&&a.draggable&&r.type==="mousedown"&&r.preventDefault(),n||o||c||l)return;if(this._handles.length){let h=s.style;this._rootElementTapHighlight=h.webkitTapHighlightColor||"",h.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(h=>this._updateOnScroll(h)),this._boundaryElement&&(this._boundaryRect=uf(this._boundaryElement));let u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,r);let d=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(r);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:d.x,y:d.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,r)}_cleanupDragArtifacts(e){Ib(this._rootElement,!0,tf),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let r=this._dropContainer,n=r.getItemIndex(this),i=this._getPointerPositionOnPage(e),o=this._getDragDistance(i),s=r._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:o,dropPoint:i,event:e}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:r,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:o,dropPoint:i,event:e}),r.drop(this,n,this._initialIndex,this._initialContainer,s,o,i,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:r},{x:n,y:i}){let o=this._initialContainer._getSiblingContainerFromPosition(this,e,r);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,r)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,e,r,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(n,i),this._dropContainer._sortItem(this,e,r,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,r):this._applyPreviewTransform(e-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}_createPreviewElement(){let e=this._previewTemplate,r=this.previewClass,n=e?e.template:null,i;if(n&&e){let o=e.matchSize?this._initialDomRect:null,s=e.viewContainer.createEmbeddedView(n,e.context);s.detectChanges(),i=Hb(s,this._document),this._previewRef=s,e.matchSize?Vb(i,o):i.style.transform=T3(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else i=Ob(this._rootElement),Vb(i,this._initialDomRect),this._initialTransform&&(i.style.transform=this._initialTransform);return lf(i.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},tf),Oa(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("dir",this._direction),r&&(Array.isArray(r)?r.forEach(o=>i.classList.add(o)):i.classList.add(r)),i}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);let r=NR(this._preview);return r===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(n=>{let i=s=>{(!s||cn(s)===this._preview&&s.propertyName==="transform")&&(this._preview?.removeEventListener("transitionend",i),n(),clearTimeout(o))},o=setTimeout(i,r*1.5);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){let e=this._placeholderTemplate,r=e?e.template:null,n;return r?(this._placeholderRef=e.viewContainer.createEmbeddedView(r,e.context),this._placeholderRef.detectChanges(),n=Hb(this._placeholderRef,this._document)):n=Ob(this._rootElement),n.style.pointerEvents="none",n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(e,r,n){let i=r===this._rootElement?null:r,o=i?i.getBoundingClientRect():e,s=Dl(n)?n.targetTouches[0]:n,a=this._getViewportScrollPosition(),c=s.pageX-o.left-a.left,l=s.pageY-o.top-a.top;return{x:o.left-e.left+c,y:o.top-e.top+l}}_getPointerPositionOnPage(e){let r=this._getViewportScrollPosition(),n=Dl(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-r.left,o=n.pageY-r.top;if(this._ownerSVGElement){let s=this._ownerSVGElement.getScreenCTM();if(s){let a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=o,a.matrixTransform(s.inverse())}}return{x:i,y:o}}_getConstrainedPointerPosition(e){let r=this._dropContainer?this._dropContainer.lockAxis:null,{x:n,y:i}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if(this.lockAxis==="x"||r==="x"?i=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||r==="y")&&(n=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:o,y:s}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:c,height:l}=this._getPreviewRect(),u=a.top+s,d=a.bottom-(l-s),h=a.left+o,f=a.right-(c-o);n=Lb(n,h,f),i=Lb(i,u,d)}return{x:n,y:i}}_updatePointerDirectionDelta(e){let{x:r,y:n}=e,i=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,s=Math.abs(r-o.x),a=Math.abs(n-o.y);return s>this._config.pointerDirectionChangeThreshold&&(i.x=r>o.x?1:-1,o.x=r),a>this._config.pointerDirectionChangeThreshold&&(i.y=n>o.y?1:-1,o.y=n),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,Oa(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,x3),e.removeEventListener("touchstart",this._pointerDown,Rb),e.removeEventListener("dragstart",this._nativeDragStart,x3)}_applyRootElementTransform(e,r){let n=T3(e,r),i=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=i.transform&&i.transform!="none"?i.transform:""),i.transform=E3(n,this._initialTransform)}_applyPreviewTransform(e,r){let n=this._previewTemplate?.template?void 0:this._initialTransform,i=T3(e,r);this._preview.style.transform=E3(i,n)}_getDragDistance(e){let r=this._pickupPositionOnPage;return r?{x:e.x-r.x,y:e.y-r.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:r}=this._passiveTransform;if(e===0&&r===0||this.isDragging()||!this._boundaryElement)return;let n=this._rootElement.getBoundingClientRect(),i=this._boundaryElement.getBoundingClientRect();if(i.width===0&&i.height===0||n.width===0&&n.height===0)return;let o=i.left-n.left,s=n.right-i.right,a=i.top-n.top,c=n.bottom-i.bottom;i.width>n.width?(o>0&&(e+=o),s>0&&(e-=s)):e=0,i.height>n.height?(a>0&&(r+=a),c>0&&(r-=c)):r=0,(e!==this._passiveTransform.x||r!==this._passiveTransform.y)&&this.setFreeDragPosition({y:r,x:e})}_getDragStartDelay(e){let r=this.dragStartDelay;return typeof r=="number"?r:Dl(e)?r.touch:r?r.mouse:0}_updateOnScroll(e){let r=this._parentPositions.handleScroll(e);if(r){let n=cn(e);this._boundaryRect&&n!==this._boundaryElement&&n.contains(this._boundaryElement)&&xl(this._boundaryRect,r.top,r.left),this._pickupPositionOnPage.x+=r.left,this._pickupPositionOnPage.y+=r.top,this._dropContainer||(this._activeTransform.x-=r.left,this._activeTransform.y-=r.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=al(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,r){let n=this._previewContainer||"global";if(n==="parent")return e;if(n==="global"){let i=this._document;return r||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}return rt(n)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(e){return this._handles.find(r=>e.target&&(e.target===r||r.contains(e.target)))}};function T3(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function Lb(t,e,r){return Math.max(e,Math.min(r,t))}function Dl(t){return t.type[0]==="t"}function Hb(t,e){let r=t.rootNodes;if(r.length===1&&r[0].nodeType===e.ELEMENT_NODE)return r[0];let n=e.createElement("div");return r.forEach(i=>n.appendChild(i)),n}function Vb(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=T3(e.left,e.top)}function HR(t,e,r){let n=Yb(e,t.length-1),i=Yb(r,t.length-1);if(n===i)return;let o=t[n],s=i<n?-1:1;for(let a=n;a!==i;a+=s)t[a]=t[a+s];t[i]=o}function Yb(t,e){return Math.max(0,Math.min(e,t))}var of=class{constructor(e,r){this._element=e,this._dragDropRegistry=r,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(e){this.withItems(e)}sort(e,r,n,i){let o=this._itemPositions,s=this._getItemIndexFromPointerPosition(e,r,n,i);if(s===-1&&o.length>0)return null;let a=this.orientation==="horizontal",c=o.findIndex(v=>v.drag===e),l=o[s],u=o[c].clientRect,d=l.clientRect,h=c>s?1:-1,f=this._getItemOffsetPx(u,d,h),p=this._getSiblingOffsetPx(c,o,h),y=o.slice();return HR(o,c,s),o.forEach((v,M)=>{if(y[M]===v)return;let P=v.drag===e,X=P?f:p,$=P?e.getPlaceholderElement():v.drag.getRootElement();v.offset+=X,a?($.style.transform=E3(`translate3d(${Math.round(v.offset)}px, 0, 0)`,v.initialTransform),xl(v.clientRect,0,X)):($.style.transform=E3(`translate3d(0, ${Math.round(v.offset)}px, 0)`,v.initialTransform),xl(v.clientRect,X,0))}),this._previousSwap.overlaps=nf(d,r,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=a?i.x:i.y,{previousIndex:c,currentIndex:s}}enter(e,r,n,i){let o=i==null||i<0?this._getItemIndexFromPointerPosition(e,r,n):i,s=this._activeDraggables,a=s.indexOf(e),c=e.getPlaceholderElement(),l=s[o];if(l===e&&(l=s[o+1]),!l&&(o==null||o===-1||o<s.length-1)&&this._shouldEnterAsFirstChild(r,n)&&(l=s[0]),a>-1&&s.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){let u=l.getRootElement();u.parentElement.insertBefore(c,u),s.splice(o,0,e)}else rt(this._element).appendChild(c),s.push(e);c.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables.forEach(e=>{let r=e.getRootElement();if(r){let n=this._itemPositions.find(i=>i.drag===e)?.initialTransform;r.style.transform=n||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(n=>n.drag===e)}updateOnScroll(e,r){this._itemPositions.forEach(({clientRect:n})=>{xl(n,e,r)}),this._itemPositions.forEach(({drag:n})=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}_cacheItemPositions(){let e=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(r=>{let n=r.getVisibleElement();return{drag:r,offset:0,initialTransform:n.style.transform||"",clientRect:uf(n)}}).sort((r,n)=>e?r.clientRect.left-n.clientRect.left:r.clientRect.top-n.clientRect.top)}_getItemOffsetPx(e,r,n){let i=this.orientation==="horizontal",o=i?r.left-e.left:r.top-e.top;return n===-1&&(o+=i?r.width-e.width:r.height-e.height),o}_getSiblingOffsetPx(e,r,n){let i=this.orientation==="horizontal",o=r[e].clientRect,s=r[e+n*-1],a=o[i?"width":"height"]*n;if(s){let c=i?"left":"top",l=i?"right":"bottom";n===-1?a-=s.clientRect[c]-o[l]:a+=o[c]-s.clientRect[l]}return a}_shouldEnterAsFirstChild(e,r){if(!this._activeDraggables.length)return!1;let n=this._itemPositions,i=this.orientation==="horizontal";if(n[0].drag!==this._activeDraggables[0]){let s=n[n.length-1].clientRect;return i?e>=s.right:r>=s.bottom}else{let s=n[0].clientRect;return i?e<=s.left:r<=s.top}}_getItemIndexFromPointerPosition(e,r,n,i){let o=this.orientation==="horizontal",s=this._itemPositions.findIndex(({drag:a,clientRect:c})=>{if(a===e)return!1;if(i){let l=o?i.x:i.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&l===this._previousSwap.delta)return!1}return o?r>=Math.floor(c.left)&&r<Math.floor(c.right):n>=Math.floor(c.top)&&n<Math.floor(c.bottom)});return s===-1||!this._sortPredicate(s,e)?-1:s}},jb=.05,Bb=.05,Bn=function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t}(Bn||{}),Kt=function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t}(Kt||{}),sf=class{constructor(e,r,n,i,o){this._dragDropRegistry=r,this._ngZone=i,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new S,this.entered=new S,this.exited=new S,this.dropped=new S,this.sorted=new S,this.receivingStarted=new S,this.receivingStopped=new S,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=ye.EMPTY,this._verticalScrollDirection=Bn.NONE,this._horizontalScrollDirection=Kt.NONE,this._stopScrollTimers=new S,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),n0(0,La).pipe(ce(this._stopScrollTimers)).subscribe(()=>{let s=this._scrollNode,a=this.autoScrollStep;this._verticalScrollDirection===Bn.UP?s.scrollBy(0,-a):this._verticalScrollDirection===Bn.DOWN&&s.scrollBy(0,a),this._horizontalScrollDirection===Kt.LEFT?s.scrollBy(-a,0):this._horizontalScrollDirection===Kt.RIGHT&&s.scrollBy(a,0)})},this.element=rt(e),this._document=n,this.withScrollableParents([this.element]),r.registerDropContainer(this),this._parentPositions=new z3(n),this._sortStrategy=new of(this.element,r),this._sortStrategy.withSortPredicate((s,a)=>this.sortPredicate(s,a,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,r,n,i){this._draggingStarted(),i==null&&this.sortingDisabled&&(i=this._draggables.indexOf(e)),this._sortStrategy.enter(e,r,n,i),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,r,n,i,o,s,a,c={}){this._reset(),this.dropped.next({item:e,currentIndex:r,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:o,distance:s,dropPoint:a,event:c})}withItems(e){let r=this._draggables;return this._draggables=e,e.forEach(n=>n._withDropContainer(this)),this.isDragging()&&(r.filter(i=>i.isDragging()).every(i=>e.indexOf(i)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._sortStrategy.direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._sortStrategy.orientation=e,this}withScrollableParents(e){let r=rt(this.element);return this._scrollableElements=e.indexOf(r)===-1?[r,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,r,n,i){if(this.sortingDisabled||!this._domRect||!Pb(this._domRect,jb,r,n))return;let o=this._sortStrategy.sort(e,r,n,i);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,r){if(this.autoScrollDisabled)return;let n,i=Bn.NONE,o=Kt.NONE;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||n||Pb(s.clientRect,jb,e,r)&&([i,o]=VR(a,s.clientRect,this._sortStrategy.direction,e,r),(i||o)&&(n=a))}),!i&&!o){let{width:s,height:a}=this._viewportRuler.getViewportSize(),c={width:s,height:a,top:0,right:s,bottom:a,left:0};i=Ub(c,r),o=$b(c,e),n=window}n&&(i!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||n!==this._scrollNode)&&(this._verticalScrollDirection=i,this._horizontalScrollDirection=o,this._scrollNode=n,(i||o)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let e=rt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){let e=rt(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(e).clientRect}_reset(){this._isDragging=!1;let e=rt(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(r=>r._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(e,r){return this._domRect!=null&&nf(this._domRect,e,r)}_getSiblingContainerFromPosition(e,r,n){return this._siblings.find(i=>i._canReceive(e,r,n))}_canReceive(e,r,n){if(!this._domRect||!nf(this._domRect,r,n)||!this.enterPredicate(e,this))return!1;let i=this._getShadowRoot().elementFromPoint(r,n);if(!i)return!1;let o=rt(this.element);return i===o||o.contains(i)}_startReceiving(e,r){let n=this._activeSiblings;!n.has(e)&&r.every(i=>this.enterPredicate(i,this)||this._draggables.indexOf(i)>-1)&&(n.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:r}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){let r=this._parentPositions.handleScroll(e);r&&this._sortStrategy.updateOnScroll(r.top,r.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let e=al(rt(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let e=this._sortStrategy.getActiveItemsSnapshot().filter(r=>r.isDragging());this._siblings.forEach(r=>r._startReceiving(this,e))}};function Ub(t,e){let{top:r,bottom:n,height:i}=t,o=i*Bb;return e>=r-o&&e<=r+o?Bn.UP:e>=n-o&&e<=n+o?Bn.DOWN:Bn.NONE}function $b(t,e){let{left:r,right:n,width:i}=t,o=i*Bb;return e>=r-o&&e<=r+o?Kt.LEFT:e>=n-o&&e<=n+o?Kt.RIGHT:Kt.NONE}function VR(t,e,r,n,i){let o=Ub(e,i),s=$b(e,n),a=Bn.NONE,c=Kt.NONE;if(o){let l=t.scrollTop;o===Bn.UP?l>0&&(a=Bn.UP):t.scrollHeight-l>t.clientHeight&&(a=Bn.DOWN)}if(s){let l=t.scrollLeft;r==="rtl"?s===Kt.RIGHT?l<0&&(c=Kt.RIGHT):t.scrollWidth+l>t.clientWidth&&(c=Kt.LEFT):s===Kt.LEFT?l>0&&(c=Kt.LEFT):t.scrollWidth-l>t.clientWidth&&(c=Kt.RIGHT)}return[a,c]}var S3=Fo({passive:!1,capture:!0}),YR=(()=>{let e=class e{constructor(n,i){this._ngZone=n,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=o=>o.isDragging(),this.pointerMove=new S,this.pointerUp=new S,this.scroll=new S,this._preventDefaultWhileDragging=o=>{this._activeDragInstances.length>0&&o.preventDefault()},this._persistentTouchmoveListener=o=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&o.preventDefault(),this.pointerMove.next(o))},this._document=i}registerDropContainer(n){this._dropInstances.has(n)||this._dropInstances.add(n)}registerDragItem(n){this._dragInstances.add(n),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,S3)})}removeDropContainer(n){this._dropInstances.delete(n)}removeDragItem(n){this._dragInstances.delete(n),this.stopDragging(n),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,S3)}startDragging(n,i){if(!(this._activeDragInstances.indexOf(n)>-1)&&(this._activeDragInstances.push(n),this._activeDragInstances.length===1)){let o=i.type.startsWith("touch");this._globalListeners.set(o?"touchend":"mouseup",{handler:s=>this.pointerUp.next(s),options:!0}).set("scroll",{handler:s=>this.scroll.next(s),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:S3}),o||this._globalListeners.set("mousemove",{handler:s=>this.pointerMove.next(s),options:S3}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((s,a)=>{this._document.addEventListener(a,s.handler,s.options)})})}}stopDragging(n){let i=this._activeDragInstances.indexOf(n);i>-1&&(this._activeDragInstances.splice(i,1),this._activeDragInstances.length===0&&this._clearGlobalListeners())}isDragging(n){return this._activeDragInstances.indexOf(n)>-1}scrolled(n){let i=[this.scroll];return n&&n!==this._document&&i.push(new Y(o=>this._ngZone.runOutsideAngular(()=>{let a=c=>{this._activeDragInstances.length&&o.next(c)};return n.addEventListener("scroll",a,!0),()=>{n.removeEventListener("scroll",a,!0)}}))),vs(...i)}ngOnDestroy(){this._dragInstances.forEach(n=>this.removeDragItem(n)),this._dropInstances.forEach(n=>this.removeDropContainer(n)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((n,i)=>{this._document.removeEventListener(i,n.handler,n.options)}),this._globalListeners.clear()}};e.\u0275fac=function(i){return new(i||e)(g(U),g(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jR={dragStartThreshold:5,pointerDirectionChangeThreshold:5},df=(()=>{let e=class e{constructor(n,i,o,s){this._document=n,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=s}createDrag(n,i=jR){return new rf(n,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(n){return new sf(n,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}};e.\u0275fac=function(i){return new(i||e)(g(V),g(U),g(es),g(YR))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),af=new E("CDK_DRAG_PARENT");var cf=new E("CdkDragHandle"),g6e=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._stateChanges.next(this)}constructor(n,i){this.element=n,this._stateChanges=new S,this._disabled=!1,this._parentDrag=i}ngOnDestroy(){this._stateChanges.complete()}};e.\u0275fac=function(i){return new(i||e)(m(oe),m(af,12))},e.\u0275dir=ne({type:e,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[W.HasDecoratorInputTransform,"cdkDragHandleDisabled","disabled",ut]},standalone:!0,features:[Kr([{provide:cf,useExisting:e}]),rn]});let t=e;return t})(),BR=new E("CdkDragPlaceholder");var UR=new E("CdkDragPreview");var $R=new E("CDK_DRAG_CONFIG"),qR="cdk-drag",WR=new E("CdkDropList"),v6e=(()=>{let e=class e{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(n){this._disabled=n,this._dragRef.disabled=this._disabled}constructor(n,i,o,s,a,c,l,u,d,h,f){this.element=n,this.dropContainer=i,this._ngZone=s,this._viewContainerRef=a,this._dir=l,this._changeDetectorRef=d,this._selfHandle=h,this._parentDrag=f,this._destroyed=new S,this.started=new re,this.released=new re,this.ended=new re,this.entered=new re,this.exited=new re,this.dropped=new re,this.moved=new Y(p=>{let y=this._dragRef.moved.pipe(Z(v=>({source:this,pointerPosition:v.pointerPosition,event:v.event,delta:v.delta,distance:v.distance}))).subscribe(p);return()=>{y.unsubscribe()}}),this._dragRef=u.createDrag(n,{dragStartThreshold:c&&c.dragStartThreshold!=null?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&c.pointerDirectionChangeThreshold!=null?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(n){this._dragRef.setFreeDragPosition(n)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ze(1),ce(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(n){let i=n.rootElementSelector,o=n.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),o&&!o.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);let n=e._dragInstances.indexOf(this);n>-1&&e._dragInstances.splice(n,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){let n=this.element.nativeElement,i=n;this.rootElementSelector&&(i=n.closest!==void 0?n.closest(this.rootElementSelector):n.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||n)}_getBoundaryElement(){let n=this.boundaryElement;return n?typeof n=="string"?this.element.nativeElement.closest(n):rt(n):null}_syncInputs(n){n.beforeStarted.subscribe(()=>{if(!n.isDragging()){let i=this._dir,o=this.dragStartDelay,s=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;n.disabled=this.disabled,n.lockAxis=this.lockAxis,n.dragStartDelay=typeof o=="object"&&o?o:ti(o),n.constrainPosition=this.constrainPosition,n.previewClass=this.previewClass,n.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(s).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&n.withDirection(i.value)}}),n.beforeStarted.pipe(ze(1)).subscribe(()=>{if(this._parentDrag){n.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains(qR)){n.withParent(e._dragInstances.find(o=>o.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(n){n.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),n.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),n.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),n.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),n.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),n.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(n){let{lockAxis:i,dragStartDelay:o,constrainPosition:s,previewClass:a,boundaryElement:c,draggingDisabled:l,rootElementSelector:u,previewContainer:d}=n;this.disabled=l??!1,this.dragStartDelay=o||0,i&&(this.lockAxis=i),s&&(this.constrainPosition=s),a&&(this.previewClass=a),c&&(this.boundaryElement=c),u&&(this.rootElementSelector=u),d&&(this.previewContainer=d)}_setupHandlesListener(){this._handles.changes.pipe(Rt(this._handles),Fe(n=>{let i=n.filter(o=>o._parentDrag===this).map(o=>o.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Ze(n=>vs(...n.map(i=>i._stateChanges.pipe(Rt(i))))),ce(this._destroyed)).subscribe(n=>{let i=this._dragRef,o=n.element.nativeElement;n.disabled?i.disableHandle(o):i.enableHandle(o)})}};e._dragInstances=[],e.\u0275fac=function(i){return new(i||e)(m(oe),m(WR,12),m(V),m(U),m(Xe),m($R,8),m(Ft,8),m(df),m(ft),m(cf,10),m(af,12))},e.\u0275dir=ne({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(i,o,s){if(i&1&&(wn(s,UR,5),wn(s,BR,5),wn(s,cf,5)),i&2){let a;ct(a=lt())&&(o._previewTemplate=a.first),ct(a=lt())&&(o._placeholderTemplate=a.first),ct(a=lt())&&(o._handles=a)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,o){i&2&&St("cdk-drag-disabled",o.disabled)("cdk-drag-dragging",o._dragRef.isDragging())},inputs:{data:[W.None,"cdkDragData","data"],lockAxis:[W.None,"cdkDragLockAxis","lockAxis"],rootElementSelector:[W.None,"cdkDragRootElement","rootElementSelector"],boundaryElement:[W.None,"cdkDragBoundary","boundaryElement"],dragStartDelay:[W.None,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[W.None,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[W.HasDecoratorInputTransform,"cdkDragDisabled","disabled",ut],constrainPosition:[W.None,"cdkDragConstrainPosition","constrainPosition"],previewClass:[W.None,"cdkDragPreviewClass","previewClass"],previewContainer:[W.None,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Kr([{provide:af,useExisting:e}]),rn,He]});let t=e;return t})();function GR(t,e){let{formatString:r,defaultValue:n,timestampSecond:i}=b({formatString:"yyyy-MM-dd HH:mm:ss",defaultValue:new Date(NaN),timestampSecond:!1},typeof e=="string"?{formatString:e}:e);if(t==null)return n;if(t instanceof Date)return t;if(typeof t=="number"||typeof t=="string"&&/^[0-9]+$/.test(t)){let s=+t;return new Date(i?s*1e3:s)}let o=l3(t);return isNaN(o)&&(o=Ta(t,r,new Date)),isNaN(o)?n:o}function qb(t,e,r){if(t=GR(t),isNaN(t))return"";let n={locale:r};return e==="fn"?q2(t,n):Zo(t,e,n)}var hf=class{get now(){return new Date}get date(){return this.removeTime(this.now)}removeTime(e){return new Date(e.toDateString())}format(e,r="yyyy-MM-dd HH:mm:ss"){return Zo(e,r)}genTick(e){return new Array(e).fill(0).map((r,n)=>n)}getDiffDays(e,r){return Vo(e,typeof r=="number"?pa(this.date,r):r||this.date)}disabledBeforeDate(e){return r=>this.getDiffDays(r,e?.offsetDays)<0}disabledAfterDate(e){return r=>this.getDiffDays(r,e?.offsetDays)>0}baseDisabledTime(e,r){let n=this.genTick(24),i=this.genTick(60);return o=>{let s=o;if(s==null)return{};let a=N2(this.now,r||0),c=a.getHours(),l=a.getMinutes(),u=s.getHours(),d=this.getDiffDays(this.removeTime(s))===0;return{nzDisabledHours:()=>d?e==="before"?n.slice(0,c):n.slice(c+1):[],nzDisabledMinutes:()=>d&&u===c?e==="before"?i.slice(0,l):i.slice(l+1):[],nzDisabledSeconds:()=>{if(d&&u===c&&s.getMinutes()===l){let h=a.getSeconds();return e==="before"?i.slice(0,h):i.slice(h+1)}return[]}}}}disabledBeforeTime(e){return this.baseDisabledTime("before",e?.offsetSeconds)}disabledAfterTime(e){return this.baseDisabledTime("after",e?.offsetSeconds)}},S6e=new hf;function X6e(){let t=w(V);if(vc(w(Yt)))return()=>{};let r=t.querySelector("body");r.style.overflow="hidden";let n=!1;return()=>{if(n)return;n=!0;let i=t.querySelector(".preloader");if(i==null)return;let o="preloader-hidden";i.addEventListener("transitionend",()=>{i.className=o}),i.className+=` ${o}-add ${o}-add-active`,r.style.overflow=""}}var O3=new E("alainI18nToken",{providedIn:"root",factory:()=>new ZR(w(Jr))}),KR=(()=>{let e=class e{get change(){return this._change$.asObservable().pipe(ge(n=>n!=null))}get defaultLang(){return this._defaultLang}get currentLang(){return this._currentLang}get data(){return this._data}constructor(n){this._change$=new Re(null),this._currentLang="",this._defaultLang="",this._data={},this.cog=n.merge("themeI18n",{interpolation:["{{","}}"]})}flatData(n,i){let o={};for(let s of Object.keys(n)){let a=n[s];if(typeof a=="object"){let c=this.flatData(a,i.concat(s));Object.keys(c).forEach(l=>o[l]=c[l])}else o[(s?i.concat(s):i).join(".")]=`${a}`}return o}fanyi(n,i){let o=this._data[n]||"";if(!o)return n;if(!i)return o;if(typeof i=="object"){let s=this.cog.interpolation,a=i;Object.keys(a).forEach(c=>o=o.replace(new RegExp(`${s[0]}\\s?${c}\\s?${s[1]}`,"g"),`${a[c]}`))}return(Array.isArray(i)?i:[i]).forEach((s,a)=>o=o.replace(new RegExp(`\\{\\s?${a}\\s?\\}`,"g"),`${s}`)),o}};e.\u0275fac=function(i){return new(i||e)(g(Jr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),ZR=(()=>{let e=class e extends KR{use(n,i){this._data=this.flatData(i??{},[]),this._currentLang=n,this._change$.next(n)}getLangs(){return[]}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ls(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),QR=(()=>{let e=class e{constructor(){this.i18nSrv=w(O3,{optional:!0}),this.aclService=w(o2,{optional:!0}),this._change$=new Re([]),this.data=[],this.openStrictly=!1,this.i18n$=this.i18nSrv?.change.subscribe(()=>this.resume())}get change(){return this._change$.pipe(fr())}get menus(){return this.data}visit(n,i){let o=(s,a,c)=>{for(let l of s)i(l,a,c),l.children&&l.children.length>0?o(l.children,l,c+1):l.children=[]};o(n,null,0)}add(n){this.data=n,this.resume()}fixItem(n){if(n._aclResult=!0,n.link||(n.link=""),n.externalLink||(n.externalLink=""),n.badge&&(n.badgeDot!==!0&&(n.badgeDot=!1),n.badgeStatus||(n.badgeStatus="error")),Array.isArray(n.children)||(n.children=[]),typeof n.icon=="string"){let i="class",o=n.icon;~n.icon.indexOf("anticon-")?(i="icon",o=o.split("-").slice(1).join("-")):/^https?:\/\//.test(n.icon)&&(i="img"),n.icon={type:i,value:o}}n.icon!=null&&(n.icon=b({theme:"outline",spin:!1},n.icon)),n.text=n.i18n&&this.i18nSrv?this.i18nSrv.fanyi(n.i18n):n.text,n.group=n.group!==!1,n._hidden=typeof n.hide>"u"?!1:n.hide,n.disabled=typeof n.disabled>"u"?!1:n.disabled,n._aclResult=n.acl&&this.aclService?this.aclService.can(n.acl):!0,n.open=n.open!=null?n.open:!1}resume(n){let i=1,o=[];this.visit(this.data,(s,a,c)=>{s._id=i++,s._parent=a,s._depth=c,this.fixItem(s),a&&s.shortcut===!0&&a.shortcutRoot!==!0&&o.push(s),n&&n(s,a,c)}),this.loadShortcut(o),this._change$.next(this.data)}loadShortcut(n){if(n.length===0||this.data.length===0)return;let i=this.data[0].children,o=i.findIndex(a=>a.shortcutRoot===!0);if(o===-1){o=i.findIndex(c=>c.link.includes("dashboard")),o=(o!==-1?o:-1)+1;let a={text:"\u5FEB\u6377\u83DC\u5355",i18n:"shortcut",icon:"icon-rocket",children:[]};this.data[0].children.splice(o,0,a)}let s=this.data[0].children[o];s.i18n&&this.i18nSrv&&(s.text=this.i18nSrv.fanyi(s.i18n)),s=Object.assign(s,{shortcutRoot:!0,_id:-1,_parent:null,_depth:1}),s.children=n.map(a=>(a._depth=2,a._parent=s,a))}clear(){this.data=[],this._change$.next(this.data)}find(n){let i=b({recursive:!1,ignoreHide:!1},n);if(i.key!=null)return this.getItem(i.key);let o=i.url,s=null;for(;!s&&o&&(this.visit(i.data??this.data,a=>{if(!(i.ignoreHide&&a.hide)){if(i.cb){let c=i.cb(a);!s&&typeof c=="boolean"&&c&&(s=a)}a.link!=null&&a.link===o&&(s=a)}}),!!i.recursive);)/[?;]/g.test(o)?o=o.split(/[?;]/g)[0]:o=o.split("/").slice(0,-1).join("/");return s}getPathByUrl(n,i=!1){let o=[],s=this.find({url:n,recursive:i});if(!s)return o;do o.splice(0,0,s),s=s._parent;while(s);return o}getItem(n){let i=null;return this.visit(this.data,o=>{i==null&&o.key===n&&(i=o)}),i}setItem(n,i,o){let s=typeof n=="string"?this.getItem(n):n;s!=null&&(Object.keys(i).forEach(a=>{s[a]=i[a]}),this.fixItem(s),o?.emit!==!1&&this._change$.next(this.data))}open(n,i){let o=typeof n=="string"?this.find({key:n}):n;if(o!=null){this.visit(this.menus,s=>{s._selected=!1,this.openStrictly||(s.open=!1)});do o._selected=!0,o.open=!0,o=o._parent;while(o);i?.emit!==!1&&this._change$.next(this.data)}}openAll(n){this.toggleOpen(null,{allStatus:n})}toggleOpen(n,i){let o=typeof n=="string"?this.find({key:n}):n;if(o==null)this.visit(this.menus,s=>{s._selected=!1,s.open=i?.allStatus===!0});else{if(!this.openStrictly){this.visit(this.menus,a=>{a!==o&&(a.open=!1)});let s=o._parent;for(;s;)s.open=!0,s=s._parent}o.open=!o.open}i?.emit!==!1&&this._change$.next(this.data)}ngOnDestroy(){this._change$.unsubscribe(),this.i18n$?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qb=new E("ALAIN_SETTING_KEYS"),Xb={provide:Qb,useValue:{layout:"layout",user:"user",app:"app"}},J6e=(()=>{let e=class e{constructor(){this.KEYS=w(Qb),this.platform=w(Ge),this.notify$=new S,this._app=null,this._user=null,this._layout=null}getData(n){return this.platform.isBrowser&&JSON.parse(localStorage.getItem(n)||"null")||null}setData(n,i){this.platform.isBrowser&&localStorage.setItem(n,JSON.stringify(i))}get layout(){return this._layout||(this._layout=b({fixed:!0,collapsed:!1,boxed:!1,lang:null},this.getData(this.KEYS.layout)),this.setData(this.KEYS.layout,this._layout)),this._layout}get app(){return this._app||(this._app=b({year:new Date().getFullYear()},this.getData(this.KEYS.app)),this.setData(this.KEYS.app,this._app)),this._app}get user(){return this._user||(this._user=b({},this.getData(this.KEYS.user)),this.setData(this.KEYS.user,this._user)),this._user}get notify(){return this.notify$.asObservable()}setLayout(n,i){return typeof n=="string"?this.layout[n]=i:this._layout=n,this.setData(this.KEYS.layout,this._layout),this.notify$.next({type:"layout",name:n,value:i}),!0}getLayout(){return this._layout}setApp(n){this._app=n,this.setData(this.KEYS.app,n),this.notify$.next({type:"app",value:n})}getApp(){return this._app}setUser(n){this._user=n,this.setData(this.KEYS.user,n),this.notify$.next({type:"user",value:n})}getUser(){return this._user}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),I3=6,XR=24,ede=(()=>{let e=class e{constructor(n){if(this.cog=n.merge("themeResponsive",{rules:{1:{xs:24},2:{xs:24,sm:12},3:{xs:24,sm:12,md:8},4:{xs:24,sm:12,md:8,lg:6},5:{xs:24,sm:12,md:8,lg:6,xl:4},6:{xs:24,sm:12,md:8,lg:6,xl:4,xxl:2}}}),Object.keys(this.cog.rules).map(i=>+i).some(i=>i<1||i>I3))throw new Error(`[theme] the responseive rule index value range must be 1-${I3}`)}genCls(n,i=1){let o=b({},this.cog.rules[n>I3?I3:Math.max(n,1)]),s="ant-col",a=XR/i,c=u=>u==null||i<=1||n>=i?u:Math.max(u,n*a),l=[`${s}-xs-${c(o.xs)}`];return o.sm&&l.push(`${s}-sm-${c(o.sm)}`),o.md&&l.push(`${s}-md-${c(o.md)}`),o.lg&&l.push(`${s}-lg-${c(o.lg)}`),o.xl&&l.push(`${s}-xl-${c(o.xl)}`),o.xxl&&l.push(`${s}-xxl-${c(o.xxl)}`),l}};e.\u0275fac=function(i){return new(i||e)(g(Jr))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var tde=(()=>{let e=class e{constructor(){this.destroy$=w(js),this._prefix="",this._suffix="",this._separator=" - ",this._reverse=!1,this.DELAY_TIME=25,this.doc=w(V),this.injector=w(Ue),this.title=w(xc),this.menuSrv=w(QR),this.i18nSrv=w(O3,{optional:!0}),this.default="Not Page Name",this.i18nSrv?.change.pipe(ca()).subscribe(()=>this.setTitle())}set separator(n){this._separator=n}set prefix(n){this._prefix=n}set suffix(n){this._suffix=n}set reverse(n){this._reverse=n}getByElement(){return A("").pipe(ys(this.DELAY_TIME),Z(()=>{let n=(this.selector!=null?this.doc.querySelector(this.selector):null)||this.doc.querySelector(".alain-default__content-title h1")||this.doc.querySelector(".page-header__title");if(n){let i="";return n.childNodes.forEach(o=>{!i&&o.nodeType===3&&(i=o.textContent.trim())}),i||n.firstChild.textContent.trim()}return""}))}getByRoute(){let n=this.injector.get(Ir);for(;n.firstChild;)n=n.firstChild;let i=n.snapshot&&n.snapshot.data||{};return i.titleI18n&&this.i18nSrv&&(i.title=this.i18nSrv.fanyi(i.titleI18n)),Tn(i.title)?i.title:A(i.title)}getByMenu(){let n=this.menuSrv.getPathByUrl(this.injector.get(ir).url);if(!n||n.length<=0)return A("");let i=n[n.length-1],o;return i.i18n&&this.i18nSrv&&(o=this.i18nSrv.fanyi(i.i18n)),A(o||i.text)}setTitle(n){this.tit$?.unsubscribe(),this.tit$=A(n).pipe(Ze(i=>i?A(i):this.getByRoute()),Ze(i=>i?A(i):this.getByMenu()),Ze(i=>i?A(i):this.getByElement()),Z(i=>i||this.default),Z(i=>Array.isArray(i)?i:[i]),ca(this.destroy$)).subscribe(i=>{let o=[];this._prefix&&o.push(this._prefix),o.push(...i.filter(s=>!!s)),this._suffix&&o.push(this._suffix),this._reverse&&(o=o.reverse()),this.title.setTitle(o.join(this._separator))})}setTitleByI18n(n,i){this.setTitle(this.i18nSrv?.fanyi(n,i))}ngOnDestroy(){this.tit$?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nde=(()=>{let e=class e{constructor(){this.i18n=w(O3)}transform(n,i){return this.i18n.fanyi(n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=en({name:"i18n",type:e,pure:!0,standalone:!0});let t=e;return t})();var ff="MODAL-DRAG",JR=(()=>{let e=class e{constructor(){this.srv=w(Qh),this.drag=w(df),this.doc=w(V)}createDragRef(n,i){let o=this.doc.querySelector(i),s=o.firstChild,a=n.handleCls?o.querySelector(n.handleCls):null;return a&&a.classList.add(`${ff}-HANDLE`),this.drag.createDrag(a??s).withHandles([a??s]).withBoundaryElement(o).withRootElement(s)}create(n,i,o){return o=Q6({size:"lg",exact:!0,includeTabs:!1},o),new Y(s=>{let{size:a,includeTabs:c,modalOptions:l,drag:u,useNzData:d}=o,h=[],f="";a&&(typeof a=="number"?f=`${a}px`:["sm","md","lg","xl"].includes(a)?h.push(`modal-${a}`):f=a),c&&h.push("modal-include-tabs"),l&&l.nzWrapClassName&&(h.push(l.nzWrapClassName),delete l.nzWrapClassName);let p,y=`${ff}-${+new Date}`,v;u!=null&&u!==!1&&(p=b({handleCls:".modal-header, .ant-modal-title"},typeof u=="object"?u:{}),h.push(ff,y));let M=this.srv.create(b({nzWrapClassName:h.join(" "),nzContent:n,nzWidth:f||void 0,nzFooter:null,nzData:i},l));d!==!0&&Object.assign(M.componentInstance,i),M.afterOpen.pipe(ze(1),ge(()=>p!=null)).subscribe(()=>{v=this.createDragRef(p,`.${y}`)}),M.afterClose.pipe(ze(1)).subscribe(P=>{o.exact===!0?P!=null&&s.next(P):s.next(P),s.complete(),v?.dispose()})})}createStatic(n,i,o){let s=b({nzMaskClosable:!1},o&&o.modalOptions);return this.create(n,i,ke(b({},o),{modalOptions:s}))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eL=(()=>{let e=class e{constructor(){this.srv=w(Jh),this.parentDrawer=w(e,{optional:!0,skipSelf:!0}),this.openDrawersAtThisLevel=[]}get openDrawers(){return this.parentDrawer?this.parentDrawer.openDrawers:this.openDrawersAtThisLevel}create(n,i,o,s){return s=Q6({size:"md",footer:!0,footerHeight:50,exact:!0,drawerOptions:{nzPlacement:"right",nzWrapClassName:""}},s),new Y(a=>{let{size:c,footer:l,footerHeight:u,drawerOptions:d}=s,h={nzContent:i,nzContentParams:o,nzTitle:n};typeof c=="number"?h[d.nzPlacement==="top"||d.nzPlacement==="bottom"?"nzHeight":"nzWidth"]=s.size:d.nzWidth||(h.nzWrapClassName=`${d.nzWrapClassName} drawer-${s.size}`.trim(),delete d.nzWrapClassName),l&&(h.nzBodyStyle={"padding-bottom.px":u+24});let f=this.srv.create(b(b({},h),d));this.openDrawers.push(f);let p=f.afterClose.subscribe(y=>{s.exact===!0?y!=null&&a.next(y):a.next(y),a.complete(),p.unsubscribe(),this.close(f)})})}close(n){let i=this.openDrawers.indexOf(n);i!==-1&&this.openDrawers.splice(i,1)}closeAll(){let n=this.openDrawers.length;for(;n--;)this.openDrawers[n].close()}static(n,i,o,s){let a=b({nzMaskClosable:!1},s&&s.drawerOptions);return this.create(n,i,o,ke(b({},s),{drawerOptions:a}))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tL=(()=>{let e=class e{constructor(n){this.http=w(_c),this.lc=0,this.cog=n.merge("themeHttp",{nullValueHandling:"include",dateValueHandling:"timestamp"})}get loading(){return this.lc>0}get loadingCount(){return this.lc}parseParams(n){let i={};if(n instanceof rr)return n;let{nullValueHandling:o,dateValueHandling:s}=this.cog;return Object.keys(n).forEach(a=>{let c=n[a];o==="ignore"&&c==null||(c instanceof Date&&(s==="timestamp"||s==="timestampSecond")&&(c=s==="timestamp"?c.valueOf():Math.trunc(c.valueOf()/1e3)),i[a]=c)}),new rr({fromObject:i})}appliedUrl(n,i){if(!i)return n;n+=~n.indexOf("?")?"":"?";let o=[];return Object.keys(i).forEach(s=>{o.push(`${s}=${i[s]}`)}),n+o.join("&")}setCount(n){Promise.resolve(null).then(()=>this.lc=n<=0?0:n)}push(){this.setCount(++this.lc)}pop(){this.setCount(--this.lc)}cleanLoading(){this.setCount(0)}get(n,i,o={}){return this.request("GET",n,b({params:i},o))}post(n,i,o,s={}){return this.request("POST",n,b({body:i,params:o},s))}delete(n,i,o={}){return this.request("DELETE",n,b({params:i},o))}jsonp(n,i,o="JSONP_CALLBACK"){return A(null).pipe(ys(0),Fe(()=>this.push()),Ze(()=>this.http.jsonp(this.appliedUrl(n,i),o)),un(()=>this.pop()))}patch(n,i,o,s={}){return this.request("PATCH",n,b({body:i,params:o},s))}put(n,i,o,s={}){return this.request("PUT",n,b({body:i,params:o},s))}form(n,i,o,s={}){return this.request("POST",n,ke(b({body:i,params:o},s),{headers:{"content-type":"application/x-www-form-urlencoded"}}))}request(n,i,o={}){return o.params&&(o.params=this.parseParams(o.params)),A(null).pipe(ys(0),Fe(()=>this.push()),Ze(()=>this.http.request(n,i,o)),un(()=>this.pop()))}};e.\u0275fac=function(i){return new(i||e)(g(Jr))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var nL="__api_params";function k3(t,e=nL){let r=t[e];return typeof r>"u"&&(r=t[e]={}),r}function Sl(t){return function(e){return function(r,n,i){let o=k3(k3(r),n),s=o[t];typeof s>"u"&&(s=o[t]=[]),s.push({key:e,index:i})}}}var rde=Sl("path"),ide=Sl("query"),ode=Sl("body")(),sde=Sl("headers"),ade=Sl("payload")();function Wb(t,e,r){if(!(!t[e]||!Array.isArray(t[e])||t[e].length<=0))return r[t[e][0].index]}function rL(t,e){return Array.isArray(t)||Array.isArray(e)?Object.assign([],t,e):b(b({},t),e)}function ui(t){return function(e="",r){return(n,i,o)=>(o.value=function(...s){r=r||{};let a=this.injector,c=a.get(tL,null);if(c==null)throw new TypeError("Not found '_HttpClient', You can import 'AlainThemeModule' && 'HttpClientModule' in your root module.");let l=k3(this),u=k3(l,i),d=e||"";if(d=[l.baseUrl||"",d.startsWith("/")?d.substring(1):d].join("/"),d.length>1&&d.endsWith("/")&&(d=d.substring(0,d.length-1)),r.acl){let v=a.get(o2,null);if(v&&!v.can(r.acl))return vi(()=>({url:d,status:401,statusText:"From Http Decorator"}));delete r.acl}d=d.replace(/::/g,"^^"),(u.path||[]).filter(v=>typeof s[v.index]<"u").forEach(v=>{d=d.replace(new RegExp(`:${v.key}`,"g"),encodeURIComponent(s[v.index]))}),d=d.replace(/\^\^/g,":");let h=(u.query||[]).reduce((v,M)=>(v[M.key]=s[M.index],v),{}),f=(u.headers||[]).reduce((v,M)=>(v[M.key]=s[M.index],v),{});t==="FORM"&&(f["content-type"]="application/x-www-form-urlencoded");let p=Wb(u,"payload",s),y=["POST","PUT","PATCH","DELETE"].some(v=>v===t);return c.request(t,d,b({body:y?rL(Wb(u,"body",s),p):null,params:y?h:b(b({},h),p),headers:b(b({},l.baseHeaders),f)},r))},o)}}var cde=ui("OPTIONS"),lde=ui("GET"),ude=ui("POST"),dde=ui("DELETE"),hde=ui("PUT"),fde=ui("HEAD"),pde=ui("PATCH"),mde=ui("JSONP"),gde=ui("FORM"),vde=new Qs(()=>!1),yde=new Qs(()=>!1),wde=new Qs(()=>!1),A3=new E("delon-locale"),P3={abbr:"zh-CN",exception:{403:"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762",404:"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",500:"\u62B1\u6B49\uFF0C\u670D\u52A1\u5668\u51FA\u9519\u4E86",backToHome:"\u8FD4\u56DE\u9996\u9875"},noticeIcon:{emptyText:"\u6682\u65E0\u6570\u636E",clearText:"\u6E05\u7A7A"},reuseTab:{close:"\u5173\u95ED\u6807\u7B7E",closeOther:"\u5173\u95ED\u5176\u5B83\u6807\u7B7E",closeRight:"\u5173\u95ED\u53F3\u4FA7\u6807\u7B7E",refresh:"\u5237\u65B0"},tagSelect:{expand:"\u5C55\u5F00",collapse:"\u6536\u8D77"},miniProgress:{target:"\u76EE\u6807\u503C\uFF1A"},st:{total:"\u5171 {{total}} \u6761",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E"},sf:{submit:"\u63D0\u4EA4",reset:"\u91CD\u7F6E",search:"\u641C\u7D22",edit:"\u4FDD\u5B58",addText:"\u6DFB\u52A0",removeText:"\u79FB\u9664",checkAllText:"\u5168\u9009",error:{"false schema":"\u5E03\u5C14\u6A21\u5F0F\u51FA\u9519",$ref:"\u65E0\u6CD5\u627E\u5230\u5F15\u7528{ref}",additionalItems:"\u4E0D\u5141\u8BB8\u8D85\u8FC7{limit}\u4E2A\u5143\u7D20",additionalProperties:"\u4E0D\u5141\u8BB8\u6709\u989D\u5916\u7684\u5C5E\u6027",anyOf:"\u6570\u636E\u5E94\u4E3A anyOf \u6240\u6307\u5B9A\u7684\u5176\u4E2D\u4E00\u4E2A",dependencies:"\u5E94\u5F53\u62E5\u6709\u5C5E\u6027{property}\u7684\u4F9D\u8D56\u5C5E\u6027{deps}",enum:"\u5E94\u5F53\u662F\u9884\u8BBE\u5B9A\u7684\u679A\u4E3E\u503C\u4E4B\u4E00",format:"\u683C\u5F0F\u4E0D\u6B63\u786E",type:"\u7C7B\u578B\u5E94\u5F53\u662F {type}",required:"\u5FC5\u586B\u9879",maxLength:"\u81F3\u591A {limit} \u4E2A\u5B57\u7B26",minLength:"\u81F3\u5C11 {limit} \u4E2A\u5B57\u7B26\u4EE5\u4E0A",minimum:"\u5FC5\u987B {comparison}{limit}",formatMinimum:"\u5FC5\u987B {comparison}{limit}",maximum:"\u5FC5\u987B {comparison}{limit}",formatMaximum:"\u5FC5\u987B {comparison}{limit}",maxItems:"\u4E0D\u5E94\u591A\u4E8E {limit} \u4E2A\u9879",minItems:"\u4E0D\u5E94\u5C11\u4E8E {limit} \u4E2A\u9879",maxProperties:"\u4E0D\u5E94\u591A\u4E8E {limit} \u4E2A\u5C5E\u6027",minProperties:"\u4E0D\u5E94\u5C11\u4E8E {limit} \u4E2A\u5C5E\u6027",multipleOf:"\u5E94\u5F53\u662F {multipleOf} \u7684\u6574\u6570\u500D",not:'\u4E0D\u5E94\u5F53\u5339\u914D "not" schema',oneOf:'\u53EA\u80FD\u5339\u914D\u4E00\u4E2A "oneOf" \u4E2D\u7684 schema',pattern:"\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E",uniqueItems:"\u4E0D\u5E94\u5F53\u542B\u6709\u91CD\u590D\u9879 (\u7B2C {j} \u9879\u4E0E\u7B2C {i} \u9879\u662F\u91CD\u590D\u7684)",custom:"\u683C\u5F0F\u4E0D\u6B63\u786E",propertyNames:'\u5C5E\u6027\u540D "{propertyName}" \u65E0\u6548',patternRequired:"\u5E94\u5F53\u6709\u5C5E\u6027\u5339\u914D\u6A21\u5F0F {missingPattern}",switch:'\u7531\u4E8E {caseIndex} \u5931\u8D25\uFF0C\u672A\u901A\u8FC7 "switch" \u6821\u9A8C',const:"\u5E94\u5F53\u7B49\u4E8E\u5E38\u91CF",contains:"\u5E94\u5F53\u5305\u542B\u4E00\u4E2A\u6709\u6548\u9879",formatExclusiveMaximum:"formatExclusiveMaximum \u5E94\u5F53\u662F\u5E03\u5C14\u503C",formatExclusiveMinimum:"formatExclusiveMinimum \u5E94\u5F53\u662F\u5E03\u5C14\u503C",if:'\u5E94\u5F53\u5339\u914D\u6A21\u5F0F "{failingKeyword}"'}},onboarding:{skip:"\u8DF3\u8FC7",prev:"\u4E0A\u4E00\u9879",next:"\u4E0B\u4E00\u9879",done:"\u5B8C\u6210"}},gf=(()=>{let e=class e{constructor(n){this._locale=P3,this.change$=new Re(this._locale),this.setLocale(n||P3)}get change(){return this.change$.asObservable()}setLocale(n){this._locale&&this._locale.abbr===n.abbr||(this._locale=n,this.change$.next(n))}get locale(){return this._locale}getData(n){return this._locale[n]||{}}};e.\u0275fac=function(i){return new(i||e)(g(A3))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function iL(t,e){return t||new gf(e)}var Jb={provide:gf,useFactory:iL,deps:[[new $r,new Hs,gf],A3]},oL=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[{provide:A3,useValue:P3},Jb]});let t=e;return t})();var bde=(()=>{let e=class e{constructor(){this.nzI18n=w($i),this.defFormat=w(Jr).get("themePipe")?.dateFormat??"yyyy-MM-dd HH:mm"}transform(n,i){return qb(n,i??this.defFormat,this.nzI18n.getDateLocale())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=en({name:"_date",type:e,pure:!0,standalone:!0});let t=e;return t})();var Gb='<svg viewBox="64 64 896 896" fill="currentColor" width="1em" height="1em" aria-hidden="true"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"></path></svg>',Kb='<svg viewBox="64 64 896 896" fill="currentColor" width="1em" height="1em" aria-hidden="true"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg>',pf='class="yn__yes"',mf='class="yn__no"';function sL(t,e){let r="",{yes:n,no:i,mode:o}=b({},e);switch(n=n||"\u662F",i=i||"\u5426",o){case"full":r=t?`<i ${pf}>${Gb}<span>${n}</span></i>`:`<i ${mf}>${Kb}<span>${i}</span></i>`;break;case"text":r=t?`<i ${pf}>${n}</i>`:`<i ${mf}>${i}</i>`;break;default:r=t?`<i ${pf} title="${n}">${Gb}</i>`:`<i ${mf} title="${i}">${Kb}</i>`;break}return r}var _de=(()=>{let e=class e{constructor(){this.dom=w(Mo)}transform(n,i,o,s,a=!0){let c=sL(n,{yes:i,no:o,mode:s});return a?this.dom.bypassSecurityTrustHtml(c):c}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=en({name:"yn",type:e,pure:!0,standalone:!0});let t=e;return t})();var Zb=[JR,eL];var aL=[Wd,ol,Kd,Gd],Cde=(()=>{let e=class e{constructor(n){n.addIcon(...aL)}static forRoot(){return{ngModule:e,providers:Zb}}static forChild(){return{ngModule:e,providers:Zb}}};e.\u0275fac=function(i){return new(i||e)(g(fa))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[Xb],imports:[gc,c9,Qw,kw,oL]});let t=e;return t})();function Mde(t){let e=t?.defaultLang,r=[{provide:X6,useValue:t?.config},{provide:A3,useValue:e?.delon??P3},Jb,J8([zb,Mb]),Xb];e&&(J7(e.ng,e.abbr),r.push({provide:Ii,useValue:e.abbr},Iw(e.zorro),{provide:Sh,useValue:e.date}));let n=t?.i18nClass;n&&r.push({provide:O3,useClass:n,multi:!1});let i=[Wd,ol,Kd,Gd,ly,cy,...t.icons??[]];return r.push({provide:Di,multi:!0,useValue:()=>{w(fa,{optional:!0})?.addIcon(...i)}}),Wt(r)}var Dde=new fo("17.1.0");function cL(t,e){if(t&1&&(se(0,"div",4),et(1,"div",5),le()),t&2){let r=e.$implicit;I("ngClass",r)}}function lL(t,e){if(t&1&&(se(0,"div",2),Q(1,cL,2,1,"div",3),le()),t&2){let r=e.$implicit;k(),I("ngForOf",r)}}function uL(t,e){t&1&&wo(0)}var t_=["*"];function dL(t,e){if(t&1&&(tt(0),er(1),nt()),t&2){let r=G(3);k(),qs(r.nzTitle)}}function hL(t,e){if(t&1&&(se(0,"div",11),Q(1,dL,2,1,"ng-container",12),le()),t&2){let r=G(2);k(),I("nzStringTemplateOutlet",r.nzTitle)}}function fL(t,e){if(t&1&&(tt(0),er(1),nt()),t&2){let r=G(3);k(),qs(r.nzExtra)}}function pL(t,e){if(t&1&&(se(0,"div",13),Q(1,fL,2,1,"ng-container",12),le()),t&2){let r=G(2);k(),I("nzStringTemplateOutlet",r.nzExtra)}}function mL(t,e){}function gL(t,e){if(t&1&&(tt(0),Q(1,mL,0,0,"ng-template",14),nt()),t&2){let r=G(2);k(),I("ngTemplateOutlet",r.listOfNzCardTabComponent.template)}}function vL(t,e){if(t&1&&(se(0,"div",6)(1,"div",7),Q(2,hL,2,1,"div",8)(3,pL,2,1,"div",9),le(),Q(4,gL,2,1,"ng-container",10),le()),t&2){let r=G();k(2),I("ngIf",r.nzTitle),k(),I("ngIf",r.nzExtra),k(),I("ngIf",r.listOfNzCardTabComponent)}}function yL(t,e){}function wL(t,e){if(t&1&&(se(0,"div",15),Q(1,yL,0,0,"ng-template",14),le()),t&2){let r=G();k(),I("ngTemplateOutlet",r.nzCover)}}function bL(t,e){t&1&&(tt(0),wo(1),nt())}function _L(t,e){t&1&&et(0,"nz-card-loading")}function CL(t,e){}function ML(t,e){if(t&1&&(se(0,"li")(1,"span"),Q(2,CL,0,0,"ng-template",14),le()()),t&2){let r=e.$implicit,n=G(2);Gt("width",100/n.nzActions.length,"%"),k(2),I("ngTemplateOutlet",r)}}function DL(t,e){if(t&1&&(se(0,"ul",16),Q(1,ML,3,3,"li",17),le()),t&2){let r=G();k(),I("ngForOf",r.nzActions)}}function xL(t,e){}function SL(t,e){if(t&1&&(se(0,"div",2),Q(1,xL,0,0,"ng-template",3),le()),t&2){let r=G();k(),I("ngTemplateOutlet",r.nzAvatar)}}function TL(t,e){if(t&1&&(tt(0),er(1),nt()),t&2){let r=G(3);k(),qs(r.nzTitle)}}function EL(t,e){if(t&1&&(se(0,"div",7),Q(1,TL,2,1,"ng-container",8),le()),t&2){let r=G(2);k(),I("nzStringTemplateOutlet",r.nzTitle)}}function zL(t,e){if(t&1&&(tt(0),er(1),nt()),t&2){let r=G(3);k(),qs(r.nzDescription)}}function IL(t,e){if(t&1&&(se(0,"div",9),Q(1,zL,2,1,"ng-container",8),le()),t&2){let r=G(2);k(),I("nzStringTemplateOutlet",r.nzDescription)}}function kL(t,e){if(t&1&&(se(0,"div",4),Q(1,EL,2,1,"div",5)(2,IL,2,1,"div",6),le()),t&2){let r=G();k(),I("ngIf",r.nzTitle),k(),I("ngIf",r.nzDescription)}}var PL=(()=>{let e=class e{constructor(){this.nzHoverable=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(i,o){i&2&&St("ant-card-hoverable",o.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"],standalone:!0});let t=e;return je([Je()],t.prototype,"nzHoverable",void 0),t})(),OL=(()=>{let e=class e{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=bt({type:e,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],standalone:!0,features:[_t],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(i,o){i&1&&(se(0,"div",0),Q(1,lL,2,1,"div",1),le()),i&2&&(k(),I("ngForOf",o.listOfLoading))},dependencies:[pc,fc],encapsulation:2,changeDetection:0});let t=e;return t})(),AL=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=bt({type:e,selectors:[["nz-card-tab"]],viewQuery:function(i,o){if(i&1&&On(Me,7),i&2){let s;ct(s=lt())&&(o.template=s.first)}},exportAs:["nzCardTab"],standalone:!0,features:[_t],ngContentSelectors:t_,decls:1,vars:0,template:function(i,o){i&1&&(yo(),Q(0,uL,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let t=e;return t})(),e_="card",FL=(()=>{let e=class e{constructor(n,i,o){this.nzConfigService=n,this.cdr=i,this.directionality=o,this._nzModuleName=e_,this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new S,this.nzConfigService.getConfigChangeEventForComponent(e_).pipe(ce(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe(ce(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};e.\u0275fac=function(i){return new(i||e)(m(Rn),m(ft),m(Ft,8))},e.\u0275cmp=bt({type:e,selectors:[["nz-card"]],contentQueries:function(i,o,s){if(i&1&&(wn(s,AL,5),wn(s,PL,4)),i&2){let a;ct(a=lt())&&(o.listOfNzCardTabComponent=a.first),ct(a=lt())&&(o.listOfNzCardGridDirective=a)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(i,o){i&2&&St("ant-card-loading",o.nzLoading)("ant-card-bordered",o.nzBorderless===!1&&o.nzBordered)("ant-card-hoverable",o.nzHoverable)("ant-card-small",o.nzSize==="small")("ant-card-contain-grid",o.listOfNzCardGridDirective&&o.listOfNzCardGridDirective.length)("ant-card-type-inner",o.nzType==="inner")("ant-card-contain-tabs",!!o.listOfNzCardTabComponent)("ant-card-rtl",o.dir==="rtl")},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],standalone:!0,features:[_t],ngContentSelectors:t_,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(i,o){if(i&1&&(yo(),Q(0,vL,5,3,"div",0)(1,wL,2,1,"div",1),se(2,"div",2),Q(3,bL,2,0,"ng-container",3)(4,_L,1,0,"ng-template",null,4,bo),le(),Q(6,DL,2,1,"ul",5)),i&2){let s=$s(5);I("ngIf",o.nzTitle||o.nzExtra||o.listOfNzCardTabComponent),k(),I("ngIf",o.nzCover),k(),I("ngStyle",o.nzBodyStyle),k(),I("ngIf",!o.nzLoading)("ngIfElse",s),k(3),I("ngIf",o.nzActions.length)}},dependencies:[nr,Nr,Fr,mc,_o,OL,pc],encapsulation:2,changeDetection:0});let t=e;return je([Ln(),Je()],t.prototype,"nzBordered",void 0),je([Ln(),Je()],t.prototype,"nzBorderless",void 0),je([Je()],t.prototype,"nzLoading",void 0),je([Ln(),Je()],t.prototype,"nzHoverable",void 0),je([Ln()],t.prototype,"nzSize",void 0),t})(),NL=(()=>{let e=class e{constructor(){this.nzTitle=null,this.nzDescription=null,this.nzAvatar=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=bt({type:e,selectors:[["nz-card-meta"]],hostAttrs:[1,"ant-card-meta"],inputs:{nzTitle:"nzTitle",nzDescription:"nzDescription",nzAvatar:"nzAvatar"},exportAs:["nzCardMeta"],standalone:!0,features:[_t],decls:2,vars:2,consts:[["class","ant-card-meta-avatar",4,"ngIf"],["class","ant-card-meta-detail",4,"ngIf"],[1,"ant-card-meta-avatar"],[3,"ngTemplateOutlet"],[1,"ant-card-meta-detail"],["class","ant-card-meta-title",4,"ngIf"],["class","ant-card-meta-description",4,"ngIf"],[1,"ant-card-meta-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-meta-description"]],template:function(i,o){i&1&&Q(0,SL,2,1,"div",0)(1,kL,3,2,"div",1),i&2&&(I("ngIf",o.nzAvatar),k(),I("ngIf",o.nzTitle||o.nzDescription))},dependencies:[nr,mc,Nr,Fr],encapsulation:2,changeDetection:0});let t=e;return t})(),qde=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[FL,NL,Ro]});let t=e;return t})();function Xde(t){return new Promise(e=>{let r=null;try{r=document.createElement("textarea"),r.style.height="0px",r.style.opacity="0",r.style.width="0px",document.body.appendChild(r),r.value=t,r.select(),document.execCommand("copy"),e(t)}finally{r&&r.parentNode&&r.parentNode.removeChild(r)}})}function Jde(t){let e=t.childNodes;for(let r=0;r<e.length;r++){let n=e.item(r);if(n.nodeType===1&&n.outerHTML.toString().trim().length!==0)return!1;if(n.nodeType===3&&n.textContent.toString().trim().length!==0)return!1}return!0}var ehe=(()=>{let e=class e{constructor(){this._doc=w(V),this.platform=w(Ge)}_getDoc(){return this._doc||document}_getWin(){return this._getDoc().defaultView||window}getScrollPosition(n){if(!this.platform.isBrowser)return[0,0];let i=this._getWin();return n&&n!==i?[n.scrollLeft,n.scrollTop]:[i.scrollX,i.scrollY]}scrollToPosition(n,i){this.platform.isBrowser&&(n||this._getWin()).scrollTo(i[0],i[1])}scrollToElement(n,i=0){if(!this.platform.isBrowser)return;n||(n=this._getDoc().body),n.scrollIntoView();let o=this._getWin();o&&o.scrollBy&&(o.scrollBy(0,n.getBoundingClientRect().top-i),o.scrollY<20&&o.scrollBy(0,-o.scrollY))}scrollToTop(n=0){this.platform.isBrowser&&this.scrollToElement(this._getDoc().body,n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function RL(t,e,r){Object.keys(e).forEach(n=>r.removeClass(t,n))}function LL(t,e,r){for(let n in e)e[n]&&r.addClass(t,n)}function the(t,e,r,n=!1){n===!0?e.removeAttribute(t,"class"):RL(t,r,e),r=b({},r),LL(t,r,e)}export{b as a,ke as b,HL as c,ss as d,c_ as e,VL as f,u_ as g,L3 as h,YL as i,ye as j,Y as k,ds as l,S as m,Re as n,fi as o,e0 as p,La as q,Dt as r,je as s,Le as t,A as u,vi as v,Tn as w,k_ as x,Z as y,Ji as z,Ke as A,gs as B,V_ as C,Kn as D,Hr as E,n0 as F,vs as G,ge as H,G_ as I,K_ as J,Ha as K,En as L,Q_ as M,wi as N,ze as O,eo as P,ys as Q,ws as R,a5 as S,un as T,hr as U,eC as V,tC as W,fr as X,Va as Y,Rt as Z,Ze as _,ce as $,Fe as aa,nC as ba,rC as ca,z as da,R1 as ea,C as fa,ee as ga,E as ha,g as ia,w as ja,W as ka,bt as la,te as ma,ne as na,en as oa,He as pa,pn as qa,mn as ra,zG as sa,IG as ta,Ls as ua,Kp as va,Di as wa,Wt as xa,Ue as ya,Yt as za,gn as Aa,kG as Ba,PG as Ca,Dr as Da,RD as Ea,oe as Fa,Jn as Ga,st as Ha,k as Ia,m as Ja,ft as Ka,js as La,re as Ma,U as Na,nn as Oa,rn as Pa,Xe as Qa,Q as Ra,kn as Sa,I as Ta,Gt as Ua,St as Va,FG as Wa,Du as Xa,v7 as Ya,NG as Za,RG as _a,LG as $a,HG as ab,VG as bb,YG as cb,jG as db,se as eb,le as fb,et as gb,tt as hb,nt as ib,xu as jb,Pn as kb,ZS as lb,l4 as mb,Us as nb,Pt as ob,u4 as pb,G as qb,yo as rb,wo as sb,oT as tb,b7 as ub,Ns as vb,Me as wb,wn as xb,On as yb,ct as zb,lt as Ab,$s as Bb,er as Cb,qs as Db,zi as Eb,yT as Fb,Kr as Gb,_t as Hb,UG as Ib,$G as Jb,S7 as Kb,qG as Lb,Tu as Mb,Eu as Nb,WG as Ob,GG as Pb,bo as Qb,fo as Rb,g4 as Sb,Ii as Tb,k7 as Ub,v4 as Vb,ut as Wb,VT as Xb,Gs as Yb,V as Zb,vE as _b,fc as $b,pc as ac,nr as bc,eg as cc,dK as dc,hK as ec,_o as fc,mc as gc,fK as hc,pK as ic,mK as jc,gK as kc,gc as lc,Zu as mc,rr as nc,Qs as oc,t6 as pc,bc as qc,O4 as rc,_c as sc,zK as tc,IK as uc,WK as vc,Mo as wc,ve as xc,ia as yc,zr as zc,Fi as Ac,Ac as Bc,x6 as Cc,S6 as Dc,Ir as Ec,Bz as Fc,$c as Gc,ir as Hc,dZ as Ic,hZ as Jc,fZ as Kc,pZ as Lc,ik as Mc,ok as Nc,c9 as Oc,CZ as Pc,fk as Qc,Z6 as Rc,Q6 as Sc,MZ as Tc,Jr as Uc,ca as Vc,o2 as Wc,GZ as Xc,KZ as Yc,Ge as Zc,gJ as _c,Fo as $c,Ft as ad,Ro as bd,Ck as cd,Mk as dd,hQ as ed,fQ as fd,P9 as gd,zk as hd,Cn as id,ti as jd,rt as kd,xQ as ld,Mn as md,Pk as nd,SQ as od,TQ as pd,EQ as qd,Ok as rd,Ak as sd,Kc as td,zQ as ud,Je as vd,IQ as wd,kQ as xd,PQ as yd,AQ as zd,FQ as Ad,NQ as Bd,RQ as Cd,LQ as Dd,ZQ as Ed,Rn as Fd,Ln as Gd,M0e as Hd,es as Id,YF as Jd,D0e as Kd,kh as Ld,za as Md,m8e as Nd,rb as Od,tN as Pd,ab as Qd,j8e as Rd,RN as Sd,B8e as Td,U8e as Ud,g6e as Vd,v6e as Wd,si as Xd,ai as Yd,Ar as Zd,ts as _d,qi as $d,Bw as ae,Wi as be,ci as ce,GF as de,K0e as ee,Qw as fe,$9 as ge,fd as he,Yi as ie,pd as je,md as ke,XQ as le,JQ as me,pX as ne,KX as oe,ZX as pe,QX as qe,XX as re,JX as se,eJ as te,tJ as ue,nJ as ve,rJ as we,iJ as xe,oJ as ye,sJ as ze,aJ as Ae,cJ as Be,lJ as Ce,ii as De,No as Ee,eh as Fe,nh as Ge,zy as He,F2 as Ie,rh as Je,Fr as Ke,Nr as Le,i8e as Me,tb as Ne,_ as Oe,ga as Pe,Sn as Qe,gl as Re,Go as Se,Ko as Te,dh as Ue,Zo as Ve,R3e as We,L3e as Xe,H3e as Ye,bl as Ze,EF as _e,$i as $e,J3e as af,kw as bf,Ow as cf,uR as df,Qh as ef,Mb as ff,xb as gf,PR as hf,Eb as if,zb as jf,GR as kf,qb as lf,X6e as mf,O3 as nf,QR as of,J6e as pf,ede as qf,tde as rf,nde as sf,JR as tf,eL as uf,tL as vf,yde as wf,P3 as xf,gf as yf,oL as zf,bde as Af,sL as Bf,_de as Cf,Cde as Df,Mde as Ef,Dde as Ff,Xde as Gf,Jde as Hf,ehe as If,the as Jf,FL as Kf,qde as Lf};