@knoflows/engine 0.1.0-alpha.0 → 0.1.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/engine.js +33 -128
- package/dist/migrations/20260917165450_baseline/migration.sql +127 -0
- package/dist/migrations/20260917165450_baseline/snapshot.json +1212 -0
- package/dist/migrations/20260918025930_context_files/migration.sql +7 -0
- package/dist/migrations/20260918025930_context_files/snapshot.json +1275 -0
- package/dist/migrations/20260918074816_large_kate_bishop/migration.sql +8 -0
- package/dist/migrations/20260918074816_large_kate_bishop/snapshot.json +1338 -0
- package/package.json +19 -10
- package/static/assets/i18n/en.json +261 -14
- package/static/assets/i18n/es.json +261 -14
- package/static/{chunk-DLA1DsR_.js → chunk-2KSNHCgb.js} +1 -1
- package/static/chunk-3mppll1n.js +1 -0
- package/static/chunk-6BQlxALO.js +1 -0
- package/static/chunk-A4AkMf2s.js +1 -0
- package/static/chunk-B2hO-qT3.js +1 -0
- package/static/chunk-B8MrNxxk.js +1 -0
- package/static/chunk-BAc0DRm8.js +1 -0
- package/static/chunk-BFkZ796p.js +7 -0
- package/static/chunk-BNOYZq-b.js +1 -0
- package/static/chunk-BUuwGTt7.js +66 -0
- package/static/chunk-BVw7xkK9.js +1 -0
- package/static/chunk-BbcTWKT2.js +1 -0
- package/static/chunk-BhGgxvgu.js +1 -0
- package/static/chunk-BjZIiizu.js +1 -0
- package/static/chunk-CDWIMt6y.js +1 -0
- package/static/{chunk-B8aKNL-C.js → chunk-CEcbtdnK.js} +1 -1
- package/static/chunk-CJDp11v5.js +1 -0
- package/static/chunk-CJRNatUw.js +1 -0
- package/static/chunk-CWbxWv5I.js +1 -0
- package/static/chunk-Cd8F2jeN.js +1 -0
- package/static/chunk-Cf_xd8ER.js +1 -0
- package/static/chunk-CgqRVtSF.js +1 -0
- package/static/chunk-CxBYhrEj.js +1 -0
- package/static/chunk-D6YfO72h.js +1 -0
- package/static/chunk-DNOjVPY0.js +1 -0
- package/static/chunk-DQnMulwi.js +1 -0
- package/static/chunk-DblClAqu.js +1 -0
- package/static/chunk-DjibVmY7.js +1 -0
- package/static/chunk-DoXxOh8j.js +1 -0
- package/static/chunk-Ojn34cvU.js +1 -0
- package/static/chunk-W5GAgssE.js +1 -0
- package/static/chunk-XLpSkczx.js +1 -0
- package/static/chunk-cHfOiAJm.js +1 -0
- package/static/chunk-eSxb3-OU.js +1 -0
- package/static/chunk-hZzW00VR.js +1 -0
- package/static/chunk-jct1_zOr.js +1 -0
- package/static/chunk-mzyds3TS.js +1 -0
- package/static/chunk-tYnBYi0l.js +1 -0
- package/static/chunk-wbdetocK.js +5 -0
- package/static/index.html +6 -3
- package/static/main-MNK6ZYDO.js +249 -0
- package/static/styles-6MW3GE4V.css +1 -0
- package/static/chunk-8joH1h3C.js +0 -1
- package/static/chunk-B4A7hSM3.js +0 -1
- package/static/chunk-B5hULR_G.js +0 -1
- package/static/chunk-BNylhXVN.js +0 -1
- package/static/chunk-BV9svMMc.js +0 -1
- package/static/chunk-BX5sYPy1.js +0 -1
- package/static/chunk-Be6g3Cmv.js +0 -1
- package/static/chunk-Bgtkf8nM.js +0 -1
- package/static/chunk-Bl6kwpIK.js +0 -1
- package/static/chunk-BvDaTl4u.js +0 -1
- package/static/chunk-ByacugWF.js +0 -1
- package/static/chunk-CPYgCVHJ.js +0 -1
- package/static/chunk-CRPsjdw8.js +0 -1
- package/static/chunk-CZLubDvD.js +0 -1
- package/static/chunk-Cczqw9G5.js +0 -1
- package/static/chunk-CntkJjcW.js +0 -1
- package/static/chunk-Cuh7ppOq.js +0 -1
- package/static/chunk-Cv76Fxhr.js +0 -66
- package/static/chunk-D3rwM_uV.js +0 -7
- package/static/chunk-DHPxevqq.js +0 -1
- package/static/chunk-DYzjfNdD.js +0 -1
- package/static/chunk-DdSpqYCm.js +0 -5
- package/static/chunk-Di8Mt9Sl.js +0 -1
- package/static/chunk-Di_OsX8x.js +0 -1
- package/static/chunk-DlU8g0UO.js +0 -1
- package/static/chunk-DpU7iV6a.js +0 -1
- package/static/chunk-iJsU0w_6.js +0 -1
- package/static/chunk-mjUdDQQg.js +0 -1
- package/static/main-JSLBK4RN.js +0 -235
- package/static/styles-W2TNDHKW.css +0 -1
package/static/main-JSLBK4RN.js
DELETED
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
var k$1=Object.defineProperty,p=Object.defineProperties;var q$3=Object.getOwnPropertyDescriptors;var f$1=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,m$1=Object.prototype.propertyIsEnumerable;var j$2=(b,c,a)=>c in b?k$1(b,c,{enumerable:true,configurable:true,writable:true,value:a}):b[c]=a,r=(b,c)=>{for(var a in c||={})l.call(c,a)&&j$2(b,a,c[a]);if(f$1)for(var a of f$1(c))m$1.call(c,a)&&j$2(b,a,c[a]);return b},s=(b,c)=>p(b,q$3(c));var t=(b,c)=>{var a={};for(var d in b)l.call(b,d)&&c.indexOf(d)<0&&(a[d]=b[d]);if(b!=null&&f$1)for(var d of f$1(b))c.indexOf(d)<0&&m$1.call(b,d)&&(a[d]=b[d]);return a};var u=(b,c)=>{for(var a in c)k$1(b,a,{get:c[a],enumerable:true});};var v$1=(b,c,a)=>new Promise((d,i)=>{var n=e=>{try{g(a.next(e));}catch(h){i(h);}},o=e=>{try{g(a.throw(e));}catch(h){i(h);}},g=e=>e.done?d(e.value):Promise.resolve(e.value).then(n,o);g((a=a.apply(b,c)).next());});function I(e){return typeof e=="function"}function zi$2(e){return I(e?.lift)}function D(e){return t=>{if(zi$2(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r);}});throw new TypeError("Unable to lift unknown Observable type")}}function Zt$2(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack;});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Hr$3=Zt$2(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
-
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n;});function dt$1(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1);}}var H$1=class e{constructor(t){this.initialTeardown=t,this.closed=false,this._parentage=null,this._finalizers=null;}unsubscribe(){let t;if(!this.closed){this.closed=true;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r();}catch(i){t=i instanceof Hr$3?i.errors:[i];}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{pl$2(i);}catch(s){t=t??[],s instanceof Hr$3?t=[...t,...s.errors]:t.push(s);}}if(t)throw new Hr$3(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pl$2(t);else {if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this);}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t);}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t;}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&dt$1(n,t);}remove(t){let{_finalizers:n}=this;n&&dt$1(n,t),t instanceof e&&t._removeParent(this);}};H$1.EMPTY=(()=>{let e=new H$1;return e.closed=true,e})();var Qi$4=H$1.EMPTY;function Br$3(e){return e instanceof H$1||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function pl$2(e){I(e)?e():e.unsubscribe();}var Ie$1={Promise:void 0};var Yt$1={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return (clearTimeout)(e)},delegate:void 0};function $r$3(e){Yt$1.setTimeout(()=>{throw e});}function ft$2(){}function Kt$2(e){e();}var ht$1=class ht extends H$1{constructor(t){super(),this.isStopped=false,t?(this.destination=t,Br$3(t)&&t.add(this)):this.destination=hg;}static create(t,n,r){return new Le$1(t,n,r)}next(t){this.isStopped?Ki$4():this._next(t);}error(t){this.isStopped?Ki$4():(this.isStopped=true,this._error(t));}complete(){this.isStopped?Ki$4():(this.isStopped=true,this._complete());}unsubscribe(){this.closed||(this.isStopped=true,super.unsubscribe(),this.destination=null);}_next(t){this.destination.next(t);}_error(t){try{this.destination.error(t);}finally{this.unsubscribe();}}_complete(){try{this.destination.complete();}finally{this.unsubscribe();}}};var Ji$4=class Ji{constructor(t){this.partialObserver=t;}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t);}catch(r){Ur$3(r);}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t);}catch(r){Ur$3(r);}else Ur$3(t);}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete();}catch(n){Ur$3(n);}}},Le$1=class Le extends ht$1{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else {o=t;}this.destination=new Ji$4(o);}};function Ur$3(e){$r$3(e);}function pg(e){throw e}function Ki$4(e,t){}var hg={closed:true,next:ft$2,error:pg,complete:ft$2};function E(e,t,n,r,o){return new Xi$4(e,t,n,r,o)}var Xi$4=class Xi extends ht$1{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a);}catch(c){t.error(c);}}:super._next,this._error=o?function(a){try{o(a);}catch(c){t.error(c);}finally{this.unsubscribe();}}:super._error,this._complete=r?function(){try{r();}catch(a){t.error(a);}finally{this.unsubscribe();}}:super._complete;}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this));}}};function Me$2(e,t){return D((n,r)=>{let o=0;n.subscribe(E(r,i=>{r.next(e.call(t,i,o++));}));})}var Jt$1=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J$2(e){return e}function gg(...e){return es$2(e)}function es$2(e){return e.length===0?J$2:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n);}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=yg(n)?n:new Le$1(n,r,o);return Kt$2(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i));}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r);}}forEach(n,r){return r=vl$1(r),new r((o,i)=>{let s=new Le$1({next:a=>{try{n(a);}catch(c){i(c),s.unsubscribe();}},error:i,complete:o});this.subscribe(s);})}_subscribe(n){var r;return (r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Jt$1](){return this}pipe(...n){return es$2(n)(this)}toPromise(n){return n=vl$1(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i));})}}return e.create=t=>new e(t),e})();function vl$1(e){var t;return (t=e??Ie$1.Promise)!==null&&t!==void 0?t:Promise}function mg(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function yg(e){return e&&e instanceof ht$1||mg(e)&&Br$3(e)}var{isArray:vg}=Array,{getPrototypeOf:Ig,prototype:Eg,keys:Dg}=Object;function qr$3(e){if(e.length===1){let t=e[0];if(vg(t))return {args:t,keys:null};if(wg(t)){let n=Dg(t);return {args:n.map(r=>t[r]),keys:n}}}return {args:e,keys:null}}function wg(e){return e&&typeof e=="object"&&Ig(e)===Eg}function dC(e,t,n,r,o,i){function s(M){if(M!==void 0&&typeof M!="function")throw new TypeError("Function expected");return M}for(var a=r.kind,c=a==="getter"?"get":a==="setter"?"set":"value",l=null,u=(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d,p=false,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]=m==="access"?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(M){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(M||null));};var T=(0, n[f])(a==="accessor"?{get:u.get,set:u.set}:u[c],h);if(a==="accessor"){if(T===void 0)continue;if(T===null||typeof T!="object")throw new TypeError("Object expected");(d=s(T.get))&&(u.get=d),(d=s(T.set))&&(u.set=d),(d=s(T.init))&&o.unshift(d);}else (d=s(T))&&(a==="field"?o.unshift(d):u[c]=d);}l&&Object.defineProperty(l,r.name,u),p=true;}function fC(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function El$1(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i);})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u));}catch(d){s(d);}}function c(u){try{l(r.throw(u));}catch(d){s(d);}}function l(u){u.done?i(u.value):o(u.value).then(a,c);}l((r=r.apply(e,[])).next());})}function Il$1(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return {next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gt$2(e){return this instanceof gt$2?(this.v=e,this):new gt$2(e)}function Dl$1(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(T,M){i.push([f,m,T,M])>1||c(f,m);})},h&&(o[f]=h(o[f])));}function c(f,h){try{l(r[f](h));}catch(m){p(i[0][3],m);}}function l(f){f.value instanceof gt$2?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f);}function u(f){c("next",f);}function d(f){c("throw",f);}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1]);}}function wl$1(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Il$1=="function"?Il$1(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value);})};}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a});},s);}}var Xt$2=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wr$3(e){return I(e?.then)}function Gr$3(e){return I(e[Jt$1])}function zr$3(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Qr$4(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Tg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Zr$4=Tg();function Yr$3(e){return I(e?.[Zr$4])}function Kr$3(e){return Dl$1(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield gt$2(n.read());if(o)return yield gt$2(void 0);yield yield gt$2(r);}}finally{n.releaseLock();}})}function Jr$4(e){return I(e?.getReader)}function N$3(e){if(e instanceof S)return e;if(e!=null){if(Gr$3(e))return Cg(e);if(Xt$2(e))return bg(e);if(Wr$3(e))return _g(e);if(zr$3(e))return Tl$1(e);if(Yr$3(e))return Mg(e);if(Jr$4(e))return Sg(e)}throw Qr$4(e)}function Cg(e){return new S(t=>{let n=e[Jt$1]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bg(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete();})}function _g(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete());},n=>t.error(n)).then(null,$r$3);})}function Mg(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete();})}function Tl$1(e){return new S(t=>{Ng(e,t).catch(n=>t.error(n));})}function Sg(e){return Tl$1(Kr$3(e))}function Ng(e,t){var n,r,o,i;return El$1(this,void 0,void 0,function*(){try{for(n=wl$1(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s};}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n));}finally{if(o)throw o.error}}t.complete();})}function Xr$3(e){return e&&I(e.schedule)}function ts$2(e){return e[e.length-1]}function eo$3(e){return I(ts$2(e))?e.pop():void 0}function Se$2(e){return Xr$3(ts$2(e))?e.pop():void 0}function Cl$1(e,t){return typeof ts$2(e)=="number"?e.pop():t}var{isArray:xg}=Array;function Ag(e,t){return xg(t)?e(...t):e(t)}function en$3(e){return Me$2(t=>Ag(e,t))}function to$3(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Rg(...e){let t=eo$3(e),{args:n,keys:r}=qr$3(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=false;N$3(n[u]).subscribe(E(i,p=>{d||(d=true,l--),a[u]=p;},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?to$3(r,a):a),i.complete());}));}});return t?o.pipe(en$3(t)):o}function bl$1(){return D((e,t)=>{let n=null;e._refCount++;let r=E(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe();});e.subscribe(r),r.closed||(n=e.connect());})}var ns$2=class ns extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,zi$2(t)&&(this.lift=t.lift);}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return (!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe();}connect(){let t=this._connection;if(!t){t=this._connection=new H$1;let n=this.getSubject();t.add(this.source.subscribe(E(n,void 0,()=>{this._teardown(),n.complete();},r=>{this._teardown(),n.error(r);},()=>this._teardown()))),t.closed&&(this._connection=null,t=H$1.EMPTY);}return t}refCount(){return bl$1()(this)}};var tn$3={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;let o=t(i=>{n=void 0,e(i);});return new H$1(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=tn$3;return (t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){return (cancelAnimationFrame)(...e)},delegate:void 0};var _l$1=Zt$2(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var re=(()=>{class e extends S{constructor(){super(),this.closed=false,this.currentObservers=null,this.observers=[],this.isStopped=false,this.hasError=false,this.thrownError=null;}lift(n){let r=new no$3(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new _l$1}next(n){Kt$2(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n);}});}error(n){Kt$2(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=true,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n);}});}complete(){Kt$2(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=true;let{observers:n}=this;for(;n.length;)n.shift().complete();}});}unsubscribe(){this.isStopped=this.closed=true,this.observers=this.currentObservers=null;}get observed(){var n;return ((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Qi$4:(this.currentObservers=null,i.push(n),new H$1(()=>{this.currentObservers=null,dt$1(i,n);}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete();}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new no$3(t,n),e})(),no$3=class no extends re{constructor(t,n){super(),this.destination=t,this.source=n;}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t);}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t);}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t);}_subscribe(t){var n,r;return (r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Qi$4}};var On$3=class On extends re{constructor(t){super(),this._value=t;}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return !n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t);}};var Pn$3={now(){return (Pn$3.delegate||Date).now()},delegate:void 0};var Ln$3=class Ln extends re{constructor(t=1/0,n=1/0,r=Pn$3){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=true,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n);}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t);}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1);}}};var ro$3=class ro extends H$1{constructor(t,n){super();}schedule(t,n=0){return this}};var Fn$2={setInterval(e,t,...n){let{delegate:r}=Fn$2;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return (clearInterval)(e)},delegate:void 0};var ze$3=class ze extends ro$3{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=false;}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=true,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Fn$2.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===false)return n;n!=null&&Fn$2.clearInterval(n);}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=false;let r=this._execute(t,n);if(r)return r;this.pending===false&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null));}_execute(t,n){let r=false,o;try{this.work(t);}catch(i){r=true,o=i||new Error("Scheduled action threw falsy error");}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=false,dt$1(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe();}}};var kg=1,rs$2,os$1={};function Ml$1(e){return e in os$1?(delete os$1[e],true):false}var Sl$1={setImmediate(e){let t=kg++;return os$1[t]=true,rs$2||(rs$2=Promise.resolve()),rs$2.then(()=>Ml$1(t)&&e()),t},clearImmediate(e){Ml$1(e);}};var{setImmediate:Og,clearImmediate:Pg}=Sl$1,jn$3={setImmediate(...e){let{delegate:t}=jn$3;return (t?.setImmediate||Og)(...e)},clearImmediate(e){return (Pg)(e)},delegate:void 0};var oo$3=class oo extends ze$3{constructor(t,n){super(t,n),this.scheduler=t,this.work=n;}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=jn$3.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(jn$3.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0));}};var nn$2=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n;}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};nn$2.now=Pn$3.now;var Qe$2=class Qe extends nn$2{constructor(t,n=nn$2.now){super(t,n),this.actions=[],this._active=false;}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=true;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=false,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var io$3=class io extends Qe$2{flush(t){this._active=true;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=false,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Lg=new io$3(oo$3);var mt$4=new Qe$2(ze$3),Nl$1=mt$4;var so$3=class so extends ze$3{constructor(t,n){super(t,n),this.scheduler=t,this.work=n;}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=tn$3.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(tn$3.cancelAnimationFrame(n),t._scheduled=void 0);}};var ao$3=class ao extends Qe$2{flush(t){this._active=true;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=false,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Fg=new ao$3(so$3);var yt$2=new S(e=>e.complete());function ne(e,t,n,r=0,o=false){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe();},r);if(e.add(i),!o)return i}function co$3(e,t=0){return D((n,r)=>{n.subscribe(E(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)));})}function lo$3(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t));})}function xl$1(e,t){return N$3(e).pipe(lo$3(t),co$3(t))}function Al$1(e,t){return N$3(e).pipe(lo$3(t),co$3(t))}function Rl$1(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule());})})}function kl$1(e,t){return new S(n=>{let r;return ne(n,t,()=>{r=e[Zr$4](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next());}catch(s){n.error(s);return}i?n.complete():n.next(o);},0,true);}),()=>I(r?.return)&&r.return()})}function uo$3(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value);});},0,true);});})}function Ol$1(e,t){return uo$3(Kr$3(e),t)}function Pl$1(e,t){if(e!=null){if(Gr$3(e))return xl$1(e,t);if(Xt$2(e))return Rl$1(e,t);if(Wr$3(e))return Al$1(e,t);if(zr$3(e))return uo$3(e,t);if(Yr$3(e))return kl$1(e,t);if(Jr$4(e))return Ol$1(e,t)}throw Qr$4(e)}function Ne$2(e,t){return t?Pl$1(e,t):N$3(e)}function jg(...e){let t=Se$2(e);return Ne$2(e,t)}function Vg(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new S(r)}function Hg(e){return !!e&&(e instanceof S||I(e.lift)&&I(e.subscribe))}var Vn$2=Zt$2(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence";});function Ll$1(e){return e instanceof Date&&!isNaN(e)}function Bg(...e){let t=Se$2(e),n=eo$3(e),{args:r,keys:o}=qr$3(e);if(r.length===0)return Ne$2([],t);let i=new S($g(r,t,o?s=>to$3(o,s):J$2));return n?i.pipe(en$3(n)):i}function $g(e,t,n=J$2){return r=>{Fl$1(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Fl$1(t,()=>{let l=Ne$2(e[c],t),u=false;l.subscribe(E(r,d=>{i[c]=d,u||(u=true,a--),a||r.next(n(i.slice()));},()=>{--s||r.complete();}));},r);},r);}}function Fl$1(e,t,n){e?ne(n,e,t):t();}function jl$1(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=false,p=()=>{d&&!c.length&&!l&&t.complete();},f=m=>l<r?h(m):c.push(m),h=m=>{l++;let T=false;N$3(n(m,u++)).subscribe(E(t,M=>{t.next(M);},()=>{T=true;},void 0,()=>{if(T)try{for(l--;c.length&&l<r;){let M=c.shift();s?ne(t,s,()=>h(M)):h(M);}p();}catch(M){t.error(M);}}));};return e.subscribe(E(t,f,()=>{d=true,p();})),()=>{}}function Ee$3(e,t,n=1/0){return I(t)?Ee$3((r,o)=>Me$2((i,s)=>t(r,i,o,s))(N$3(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>jl$1(r,o,e,n)))}function Hn$3(e=1/0){return Ee$3(J$2,e)}function Vl$1(){return Hn$3(1)}function rn$2(...e){return Vl$1()(Ne$2(e,Se$2(e)))}function Ug(e){return new S(t=>{N$3(e()).subscribe(t);})}var qg=["addListener","removeListener"],Wg=["addEventListener","removeEventListener"],Gg=["on","off"];function is$2(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return is$2(e,t,n).pipe(en$3(r));let[o,i]=Zg(e)?Wg.map(s=>a=>e[s](t,a,n)):zg(e)?qg.map(Hl$1(e,t)):Qg(e)?Gg.map(Hl$1(e,t)):[];if(!o&&Xt$2(e))return Ee$3(s=>is$2(s,t,n))(N$3(e));if(!o)throw new TypeError("Invalid event target");return new S(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Hl$1(e,t){return n=>r=>e[n](t,r)}function zg(e){return I(e.addListener)&&I(e.removeListener)}function Qg(e){return I(e.on)&&I(e.off)}function Zg(e){return I(e.addEventListener)&&I(e.removeEventListener)}function on$2(e=0,t,n=Nl$1){let r=-1;return t!=null&&(Xr$3(t)?n=t:r=t),new S(o=>{let i=Ll$1(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete());},i)})}function Yg(...e){let t=Se$2(e),n=Cl$1(e,1/0),r=e;return r.length?r.length===1?N$3(r[0]):Hn$3(n)(Ne$2(r,t)):yt$2}function sn$2(e,t){return D((n,r)=>{let o=0;n.subscribe(E(r,i=>e.call(t,i,o++)&&r.next(i)));})}function Bl$1(e){return D((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l);}s&&n.complete();},c=()=>{i=null,s&&n.complete();};t.subscribe(E(n,l=>{r=!0,o=l,i||N$3(e(l)).subscribe(i=E(n,a,c));},()=>{s=!0,(!r||!i||i.closed)&&n.complete();}));})}function Kg(e,t=mt$4){return Bl$1(()=>on$2(e,t))}function ss$1(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E(n,void 0,void 0,s=>{i=N$3(e(s,ss$1(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0;})),o&&(r.unsubscribe(),r=null,i.subscribe(n));})}function Jg(e,t){return I(t)?Ee$3(e,t,1):Ee$3(e,1)}function $l$1(e,t=mt$4){return D((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l);}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a();}n.subscribe(E(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o));},()=>{a(),r.complete();},void 0,()=>{i=o=null;}));})}function Ul$1(e){return D((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o);},()=>{r||n.next(e),n.complete();}));})}function vt$3(e){return e<=0?()=>yt$2:D((t,n)=>{let r=0;t.subscribe(E(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete());}));})}function ql$1(){return D((e,t)=>{e.subscribe(E(t,ft$2));})}function Wl$1(e){return Me$2(()=>e)}function as$1(e,t){return t?n=>rn$2(t.pipe(vt$3(1),ql$1()),n.pipe(as$1(e))):Ee$3((n,r)=>N$3(e(n,r)).pipe(vt$3(1),Wl$1(n)))}function Xg(e,t=mt$4){let n=on$2(e,t);return as$1(()=>n)}function em(e,t=J$2){return e=e??tm,D((n,r)=>{let o,i=!0;n.subscribe(E(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s));}));})}function tm(e,t){return e===t}function Gl$1(e=nm){return D((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o);},()=>r?n.complete():n.error(e())));})}function nm(){return new Vn$2}function zl$1(e){return D((t,n)=>{try{t.subscribe(n);}finally{n.add(e);}})}function rm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?sn$2((o,i)=>e(o,i,r)):J$2,vt$3(1),n?Ul$1(t):Gl$1(()=>new Vn$2))}function om$1(e){return e<=0?()=>yt$2:D((t,n)=>{let r=[];t.subscribe(E(n,o=>{r.push(o),e<r.length&&r.shift();},()=>{for(let o of r)n.next(o);n.complete();},void 0,()=>{r=null;}));})}function im(){return D((e,t)=>{let n,r=!1;e.subscribe(E(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0;}));})}function sm(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=false}=t;return n<=0?J$2:D((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(E(s,d=>{o&&(a=0),s.next(d);},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0;};if(r!=null){let f=typeof r=="number"?on$2(r):N$3(r(d,a)),h=E(s,()=>{h.unsubscribe(),p();},()=>{s.complete();});f.subscribe(h);}else p();}else s.error(d);})),u&&(c.unsubscribe(),c=null,l());};l();})}function ls$1(e={}){let{connector:t=()=>new re,resetOnError:n=true,resetOnComplete:r=true,resetOnRefCountZero:o=true}=e;return i=>{let s,a,c,l=0,u=false,d=false,p=()=>{a?.unsubscribe(),a=void 0;},f=()=>{p(),s=c=void 0,u=d=false;},h=()=>{let m=s;f(),m?.unsubscribe();};return D((m,T)=>{l++,!d&&!u&&p();let M=c=c??t();T.add(()=>{l--,l===0&&!d&&!u&&(a=cs$1(h,o));}),M.subscribe(T),!s&&l>0&&(s=new Le$1({next:ve=>M.next(ve),error:ve=>{d=!0,p(),a=cs$1(f,n,ve),M.error(ve);},complete:()=>{u=!0,p(),a=cs$1(f,r),M.complete();}}),N$3(m).subscribe(s));})(i)}}function cs$1(e,t,...n){if(t===true){e();return}if(t===false)return;let r=new Le$1({next:()=>{r.unsubscribe(),e();}});return N$3(t(...n)).subscribe(r)}function Ql$1(e,t,n){let r,o=false;return r=e,ls$1({connector:()=>new Ln$3(r,t,n),resetOnError:true,resetOnComplete:false,resetOnRefCountZero:o})}function am(e){return sn$2((t,n)=>e<=n)}function Zl$1(...e){let t=Se$2(e);return D((n,r)=>{(t?rn$2(e,n,t):rn$2(e,n)).subscribe(r);})}function Yl$1(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(E(r,c=>{o?.unsubscribe();let l=0,u=i++;N$3(e(c,u)).subscribe(o=E(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a();}));},()=>{s=!0,a();}));})}function cm(e){return D((t,n)=>{N$3(e).subscribe(E(n,()=>n.complete(),ft$2)),!n.closed&&t.subscribe(n);})}function lm(e,t=false){return D((n,r)=>{let o=0;n.subscribe(E(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete();}));})}function Kl$1(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(E(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c);},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete();},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c);},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r);}));}):J$2}var X$2=null,fo$3=false,It$2=1,B=Symbol("SIGNAL");function v(e){let t=X$2;return X$2=e,t}function po$3(){return X$2}var Ze$1={version:0,lastCleanEpoch:0,dirty:false,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:false,consumerAllowSignalWrites:false,consumerIsAlwaysLive:false,kind:"unknown",producerMustRecompute:()=>false,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ye$1(e){if(fo$3)throw new Error("");if(X$2===null)return;X$2.consumerOnSignalRead(e);let t=X$2.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=X$2.recomputing;if(r&&(n=t!==void 0?t.nextProducer:X$2.producers,n!==void 0&&n.producer===e)){X$2.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=It$2;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===X$2&&(!r||o.knownValidAtEpoch===It$2))return;let i=cn$2(X$2),s={producer:e,consumer:X$2,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:It$2,lastReadVersion:e.version,nextConsumer:void 0};X$2.producersTail=s,t!==void 0?t.nextProducer=s:X$2.producers=s,i&&tu(e,s);}function Jl$1(){It$2++;}function wt$3(e){if(!(cn$2(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===It$2)){if(!e.producerMustRecompute(e)&&!Bn$2(e)){an$2(e);return}e.producerRecomputeValue(e),an$2(e);}}function us$1(e){if(e.consumers===void 0)return;let t=fo$3;fo$3=true;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||dm(r);}}finally{fo$3=t;}}function ds$1(){return X$2?.consumerAllowSignalWrites!==false}function dm(e){e.dirty=true,us$1(e),e.consumerMarkedDirty?.(e);}function an$2(e){e.dirty=false,e.lastCleanEpoch=It$2;}function Ke$1(e){return e&&Xl$1(e),v(e)}function Xl$1(e){if(e.producersTail?.knownValidAtEpoch===It$2){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer;}e.producersTail=void 0,e.recomputing=true;}function Tt$3(e,t){v(t),e&&eu(e);}function eu(e){e.recomputing=false;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(cn$2(e))do n=fs$1(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0;}}function Bn$2(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(wt$3(n),r!==n.version))return true}return false}function Ct$3(e){if(cn$2(e)){let t=e.producers;for(;t!==void 0;)t=fs$1(t);}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0;}function tu(e,t){let n=e.consumersTail,r=cn$2(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)tu(o.producer,o);}function fs$1(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!cn$2(t)){let i=t.producers;for(;i!==void 0;)i=fs$1(i);}return n}function cn$2(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Un$3(e,t){return Object.is(e,t)}function qn$2(e,t){let n=Object.create(fm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(wt$3(n),Ye$1(n),n.value===xe$1)throw n.error;return n.value};return r[B]=n,r}var Et$2=Symbol("UNSET"),Dt$2=Symbol("COMPUTING"),xe$1=Symbol("ERRORED"),fm=s(r({},Ze$1),{value:Et$2,dirty:true,error:null,equal:Un$3,kind:"computed",producerMustRecompute(e){return e.value===Et$2||e.value===Dt$2},producerRecomputeValue(e){if(e.value===Dt$2)throw new Error("");let t=e.value;e.value=Dt$2;let n=Ke$1(e),r,o=false;try{r=e.computation(),v(null),o=t!==Et$2&&t!==xe$1&&r!==xe$1&&e.equal(t,r);}catch(i){r=xe$1,e.error=i;}finally{Tt$3(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function pm(){throw new Error}var nu=pm;function ru(e){nu(e);}function ps$1(e){nu=e;}function hs$1(e,t){let n=Object.create(go$3);n.value=e,t!==void 0&&(n.equal=t);let r=()=>ou(n);return r[B]=n,[r,s=>Je$2(n,s),s=>ho$3(n,s)]}function ou(e){return Ye$1(e),e.value}function Je$2(e,t){ds$1()||ru(e),e.equal(e.value,t)||(e.value=t,gm(e));}function ho$3(e,t){ds$1()||ru(e),Je$2(e,t(e.value));}var go$3=s(r({},Ze$1),{equal:Un$3,value:void 0,kind:"signal"});function gm(e){e.version++,Jl$1(),us$1(e);}var gs$1=s(r({},Ze$1),{consumerIsAlwaysLive:true,consumerAllowSignalWrites:true,dirty:true,kind:"effect"});function ms$1(e){if(e.dirty=false,e.version>0&&!Bn$2(e))return;e.version++;let t=Ke$1(e);try{e.cleanup(),e.fn();}finally{Tt$3(e,t);}}var ys$1;function mo$3(){return ys$1}function Ae$2(e){let t=ys$1;return ys$1=e,t}var iu=Symbol("NotFound");function ln$3(e){return e===iu||e?.name==="\u0275NotFound"}function vs$1(e,t,n){let r=Object.create(mm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(wt$3(r),Ye$1(r),r.value===xe$1)throw r.error;return r.value};return i[B]=r,i}function su(e,t){wt$3(e),Je$2(e,t),an$2(e);}function au(e,t){if(wt$3(e),e.value===xe$1)throw e.error;ho$3(e,t),an$2(e);}var mm=s(r({},Ze$1),{value:Et$2,dirty:true,error:null,equal:Un$3,kind:"linkedSignal",producerMustRecompute(e){return e.value===Et$2||e.value===Dt$2},producerRecomputeValue(e){if(e.value===Dt$2)throw new Error("");let t=e.value;e.value=Dt$2;let n=Ke$1(e),r,o=false;try{let i=e.source(),s=t!==Et$2&&t!==xe$1,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,v(null),o=s&&r!==xe$1&&e.equal(t,r);}catch(i){r=xe$1,e.error=i;}finally{Tt$3(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function cu(e){let t=v(null);try{return e()}finally{v(t);}}var To$3="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_$2=class _ extends Error{code;constructor(t,n){super(Yn$3(t,n)),this.code=t;}};function ym(e){return `NG0${Math.abs(e)}`}function Yn$3(e,t){return `${ym(e)}${t?": "+t:""}`}function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function pu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);}function Kn$3(e){if(typeof e=="string")return e;if(Array.isArray(e))return `[${e.map(Kn$3).join(", ")}]`;if(e==null)return ""+e;let t=e.overriddenName||e.name;if(t)return `${t}`;let n=e.toString();if(n==null)return ""+n;let r=n.indexOf(`
|
|
4
|
-
`);return r>=0?n.slice(0,r):n}function Co$3(e,t){return e?t?`${e} ${t}`:e:t||""}var vm=k({__forward_ref__:k});function bo$3(e){return e.__forward_ref__=bo$3,e}function $$1(e){return As$1(e)?e():e}function As$1(e){return typeof e=="function"&&e.hasOwnProperty(vm)&&e.__forward_ref__===bo$3}function ie$2(e){return {token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function hu(e){return {providers:e.providers||[],imports:e.imports||[]}}function Jn$2(e){return Em(e,_o$2)}function Im(e){return Jn$2(e)!==null}function Em(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Dm(e){let t=e?.[_o$2]??null;return t||null}function Es$1(e){return e&&e.hasOwnProperty(vo$3)?e[vo$3]:null}var _o$2=k({\u0275prov:k}),vo$3=k({\u0275inj:k}),A$2=class A{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=ie$2({token:this,providedIn:n.providedIn||"root",factory:n.factory}));}get multi(){return this}toString(){return `InjectionToken ${this._desc}`}};function Rs$1(e){return e&&!!e.\u0275providers}var ks$1=k({\u0275cmp:k}),Os$1=k({\u0275dir:k}),Ps$1=k({\u0275pipe:k}),Ls$1=k({\u0275mod:k}),Gn$3=k({\u0275fac:k}),Nt$2=k({__NG_ELEMENT_ID__:k}),lu=k({__NG_ENV_ID__:k});function gu(e){return So$2(e),e[Ls$1]||null}function tt$1(e){return So$2(e),e[ks$1]||null}function Mo$3(e){return So$2(e),e[Os$1]||null}function mu(e){return So$2(e),e[Ps$1]||null}function So$2(e,t){if(e==null)throw new _$2(-919,false)}function de$1(e){return typeof e=="string"?e:e==null?"":String(e)}var yu=k({ngErrorCode:k}),wm=k({ngErrorMessage:k});k({ngTokenPath:k});function Fs$1(e,t){return vu("",-200)}function No$2(e,t){throw new _$2(-201,false)}function vu(e,t,n){let r=new _$2(t,e);return r[yu]=t,r[wm]=e,r}function Cm(e){return e[yu]}var Ds$1;function Iu(){return Ds$1}function ee(e){let t=Ds$1;return Ds$1=e,t}function js$1(e,t,n){let r=Jn$2(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;No$2();}var ke$2=globalThis;var bm={},bt$2=bm,_m="__NG_DI_FLAG__",ws$1=class ws{injector;constructor(t){this.injector=t;}retrieve(t,n){let r=_t$1(n)||0;try{return this.injector.get(t,r&8?null:bt$2,r)}catch(o){if(ln$3(o))return o;throw o}}};function Mm(e,t=0){let n=mo$3();if(n===void 0)throw new _$2(-203,false);if(n===null)return js$1(e,void 0,t);{let r=Sm(t),o=n.retrieve(e,r);if(ln$3(o)){if(r.optional)return null;throw o}return o}}function Re$2(e,t=0){return (Iu()||Mm)($$1(e),t)}function C$2(e,t){return Re$2(e,_t$1(t))}function _t$1(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sm(e){return {optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ts(e){let t=[];for(let n=0;n<e.length;n++){let r=$$1(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _$2(900,false);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Nm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a;}t.push(Re$2(o,i));}else t.push(Re$2(r));}return t}function Nm(e){return e[_m]}function Xe$2(e,t){let n=e.hasOwnProperty(Gn$3);return n?e[Gn$3]:null}function Eu(e,t,n){if(e.length!==t.length)return false;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return false}return true}function Du(e){return e.flat(Number.POSITIVE_INFINITY)}function xo$2(e,t){e.forEach(n=>Array.isArray(n)?xo$2(n,t):t(n));}function Vs$1(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n);}function Xn$2(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Tu(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else {for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--;}e[t]=n,e[t+1]=r;}}function er$4(e,t,n){let r=fn$2(e,t);return r>=0?e[r|1]=n:(r=~r,Tu(e,r,t,n)),r}function Ao$3(e,t){let n=fn$2(e,t);if(n>=0)return e[n|1]}function fn$2(e,t){return xm(e,t,1)}function xm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1;}return ~(o<<n)}var nt$1={},Z$1=[],tr$4=new A$2(""),nr$4=new A$2("",-1),Hs$1=new A$2(""),dn$3=class dn{get(t,n=bt$2){if(n===bt$2){let o=vu("",-201);throw o.name="\u0275NotFound",o}return n}};function Cu(e){return {\u0275providers:e}}function bu(...e){return {\u0275providers:Bs$1(true,e),\u0275fromNgModule:true}}function Bs$1(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s);};return xo$2(t,s=>{let a=s;Io$2(a,i,[],r)&&(o||=[],o.push(a));}),o!==void 0&&_u(o,i),n}function _u(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];$s$1(o,i=>{t(i,r);});}}function Io$2(e,t,n,r){if(e=$$1(e),!e)return false;let o=null,i=Es$1(e),s=!i&&tt$1(e);if(!i&&!s){let c=e.ngModule;if(i=Es$1(c),i)o=c;else return false}else {if(s&&!s.standalone)return false;o=e;}let a=r.has(o);if(s){if(a)return false;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Io$2(l,t,n,r);}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;xo$2(i.imports,u=>{Io$2(u,t,n,r)&&(l||=[],l.push(u));}),l!==void 0&&_u(l,t);}if(!a){let l=Xe$2(o)||(()=>new o);t({provide:o,useFactory:l,deps:Z$1},o),t({provide:Hs$1,useValue:o,multi:true},o),t({provide:tr$4,useValue:()=>Re$2(o),multi:true},o);}let c=i.providers;if(c!=null&&!a){let l=e;$s$1(c,u=>{t(u,l);});}}else return false;return o!==e&&e.providers!==void 0}function $s$1(e,t){for(let n of e)Rs$1(n)&&(n=n.\u0275providers),Array.isArray(n)?$s$1(n,t):t(n);}var Am=k({provide:String,useValue:k});function Mu(e){return e!==null&&typeof e=="object"&&Am in e}function Rm(e){return !!(e&&e.useExisting)}function km(e){return !!(e&&e.useFactory)}function Mt$2(e){return typeof e=="function"}function Su(e){return !!e.useClass}var Us$1=new A$2(""),yo$3={},uu={},Is$1;function pn$3(){return Is$1===void 0&&(Is$1=new dn$3),Is$1}var ue$2=class ue{},St$3=class St extends ue$2{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=false;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,bs$1(t,s=>this.processProvider(s)),this.records.set(nr$4,un$3(void 0,this)),o.has("environment")&&this.records.set(ue$2,un$3(void 0,this));let i=this.records.get(Us$1);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Hs$1,Z$1,{self:true}));}retrieve(t,n){let r=_t$1(n)||0;try{return this.get(t,bt$2,r)}catch(o){if(ln$3(o))return o;throw o}}destroy(){Wn$3(this),this._destroyed=true;let t=v(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r();}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),v(t);}}onDestroy(t){return Wn$3(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Wn$3(this);let n=Ae$2(this),r=ee(void 0);try{return t()}finally{Ae$2(n),ee(r);}}get(t,n=bt$2,r){if(Wn$3(this),t.hasOwnProperty(lu))return t[lu](this);let o=_t$1(r),s=Ae$2(this),a=ee(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=jm(t)&&Jn$2(t);u&&this.injectableDefInScope(u)?l=un$3(Cs$1(t),yo$3):l=null,this.records.set(t,l);}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?pn$3():this.parent;return n=o&8&&n===bt$2?null:n,c.get(t,n)}catch(c){let l=Cm(c);throw l===-200||l===-201?new _$2(l,null):c}finally{ee(a),Ae$2(s);}}resolveInjectorInitializers(){let t=v(null),n=Ae$2(this),r=ee(void 0);try{let i=this.get(tr$4,Z$1,{self:!0});for(let s of i)s();}finally{Ae$2(n),ee(r),v(t);}}toString(){return "R3Injector[...]"}processProvider(t){t=$$1(t);let n=Mt$2(t)?t:$$1(t&&t.provide),r=Pm(t);if(!Mt$2(t)&&t.multi===true){let o=this.records.get(n);o||(o=un$3(void 0,yo$3,true),o.factory=()=>Ts(o.multi),this.records.set(n,o)),n=t,o.multi.push(t);}this.records.set(n,r);}hydrate(t,n,r){let o=v(null);try{if(n.value===uu)throw Fs$1("");return n.value===yo$3&&(n.value=uu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Fm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o);}}injectableDefInScope(t){if(!t.providedIn)return false;let n=$$1(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1);}};function Cs$1(e){let t=Jn$2(e),n=t!==null?t.factory:Xe$2(e);if(n!==null)return n;if(e instanceof A$2)throw new _$2(-204,false);if(e instanceof Function)return Om(e);throw new _$2(-204,false)}function Om(e){if(e.length>0)throw new _$2(-204,false);let n=Dm(e);return n!==null?()=>n.factory(e):()=>new e}function Pm(e){if(Mu(e))return un$3(void 0,e.useValue);{let t=qs$1(e);return un$3(t,yo$3)}}function qs$1(e,t,n){let r;if(Mt$2(e)){let o=$$1(e);return Xe$2(o)||Cs$1(o)}else if(Mu(e))r=()=>$$1(e.useValue);else if(km(e))r=()=>e.useFactory(...Ts(e.deps||[]));else if(Rm(e))r=(o,i)=>Re$2($$1(e.useExisting),i!==void 0&&i&8?8:void 0);else {let o=$$1(e&&(e.useClass||e.provide));if(Lm(e))r=()=>new o(...Ts(e.deps));else return Xe$2(o)||Cs$1(o)}return r}function Wn$3(e){if(e.destroyed)throw new _$2(-205,false)}function un$3(e,t,n=false){return {factory:e,value:t,multi:n?[]:void 0}}function Lm(e){return !!e.deps}function Fm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function jm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function bs$1(e,t){for(let n of e)Array.isArray(n)?bs$1(n,t):n&&Rs$1(n)?bs$1(n.\u0275providers,t):t(n);}function Ro$3(e,t){let n;e instanceof St$3?(Wn$3(e),n=e):n=new ws$1(e);let o=Ae$2(n),i=ee(void 0);try{return t()}finally{Ae$2(o),ee(i);}}function Nu$1(){return Iu()!==void 0||mo$3()!=null}var we$2=0,y=1,w=2,U$2=3,fe$1=4,Y$1=5,xt$2=6,hn$2=7,F$1=8,q$2=9,Te$3=10,R$1=11,gn$2=12,Ws$1=13,rt$2=14,K=15,ot$1=16,At$2=17,Oe$2=18,pe$2=19,Gs$1=20,je$3=21,ko$2=22,et$1=23,se$2=24,Rt$3=25,he$2=26,L$2=27,xu=1,zs$1=6,it$1=7,rr$4=8,kt$2=9,j$1=10;function $e$2(e){return Array.isArray(e)&&typeof e[xu]=="object"}function ge$1(e){return Array.isArray(e)&&e[xu]===true}function Qs$1(e){return (e.flags&4)!==0}function Ue$1(e){return e.componentOffset>-1}function mn$3(e){return (e.flags&1)===1}function Ce$2(e){return !!e.template}function yn$2(e){return (e[w]&512)!==0}function Ot$2(e){return (e[w]&256)===256}var Zs$1="svg",Au="math";function me$1(e){for(;Array.isArray(e);)e=e[we$2];return e}function Ys$1(e,t){return me$1(t[e])}function te(e,t){return me$1(t[e.index])}function Oo$2(e,t){return e.data[t]}function or$4(e,t){return e[t]}function ir$4(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r;}function ye$2(e,t){let n=t[e];return $e$2(n)?n:n[we$2]}function Ru(e){return (e[w]&4)===4}function Po$2(e){return (e[w]&128)===128}function ku(e){return ge$1(e[U$2])}function ae$2(e,t){return t==null?null:e[t]}function Ks$1(e){e[At$2]=0;}function Js$1(e){e[w]&1024||(e[w]|=1024,Po$2(e)&&Pt$2(e));}function Ou(e,t){for(;e>0;)t=t[rt$2],e--;return t}function sr$4(e){return !!(e[w]&9216||e[se$2]?.dirty)}function Lo$2(e){e[Te$3].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),sr$4(e)&&Pt$2(e);}function Pt$2(e){e[Te$3].changeDetectionScheduler?.notify(0);let t=Ve$1(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!Po$2(t)));)t=Ve$1(t);}function Fo$2(e,t){if(Ot$2(e))throw new _$2(911,false);e[je$3]===null&&(e[je$3]=[]),e[je$3].push(t);}function Pu(e,t){if(e[je$3]===null)return;let n=e[je$3].indexOf(t);n!==-1&&e[je$3].splice(n,1);}function Ve$1(e){let t=e[U$2];return ge$1(t)?t[U$2]:t}function Xs$1(e){return e[hn$2]??=[]}function ea$2(e){return e.cleanup??=[]}function Lu(e,t,n,r){let o=Xs$1(t);o.push(n),e.firstCreatePass&&ea$2(e).push(r,o.length-1);}var b$1={lFrame:Qu(null),bindingsEnabled:true,skipHydrationRootTNode:null};var _s$1=false;function Fu(){return b$1.lFrame.elementDepthCount}function ju(){b$1.lFrame.elementDepthCount++;}function ta$2(){b$1.lFrame.elementDepthCount--;}function jo$2(){return b$1.bindingsEnabled}function na$2(){return b$1.skipHydrationRootTNode!==null}function ra$2(e){return b$1.skipHydrationRootTNode===e}function oa$2(){b$1.skipHydrationRootTNode=null;}function g$2(){return b$1.lFrame.lView}function O$2(){return b$1.lFrame.tView}function Vu(e){return b$1.lFrame.contextLView=e,e[F$1]}function Hu(e){return b$1.lFrame.contextLView=null,e}function V$2(){let e=ia$2();for(;e!==null&&e.type===64;)e=e.parent;return e}function ia$2(){return b$1.lFrame.currentTNode}function Bu(){let e=b$1.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt$1(e,t){let n=b$1.lFrame;n.currentTNode=e,n.isParent=t;}function sa$2(){return b$1.lFrame.isParent}function aa$2(){b$1.lFrame.isParent=false;}function ca$2(){return b$1.lFrame.contextLView}function la$2(){return _s$1}function zn$3(e){let t=_s$1;return _s$1=e,t}function vn$2(){let e=b$1.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ua$2(){return b$1.lFrame.bindingIndex}function $u(e){return b$1.lFrame.bindingIndex=e}function qe$1(){return b$1.lFrame.bindingIndex++}function ar$4(e){let t=b$1.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Uu(){return b$1.lFrame.inI18n}function qu(e,t){let n=b$1.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vo$2(t);}function Wu(){return b$1.lFrame.currentDirectiveIndex}function Vo$2(e){b$1.lFrame.currentDirectiveIndex=e;}function Gu(e){let t=b$1.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ho$2(){return b$1.lFrame.currentQueryIndex}function cr$4(e){b$1.lFrame.currentQueryIndex=e;}function Vm(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[Y$1]:null}function da$2(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Vm(i),o===null||(i=i[rt$2],o.type&10))break;if(o===null)return false;t=o,e=i;}let r=b$1.lFrame=zu();return r.currentTNode=t,r.lView=e,true}function Bo$2(e){let t=zu(),n=e[y];b$1.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=false;}function zu(){let e=b$1.lFrame,t=e===null?null:e.child;return t===null?Qu(e):t}function Qu(e){let t={currentTNode:null,isParent:true,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:false};return e!==null&&(e.child=t),t}function Zu(){let e=b$1.lFrame;return b$1.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var fa$2=Zu;function $o$2(){let e=Zu();e.isParent=true,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0;}function Yu(e){return (b$1.lFrame.contextLView=Ou(e,b$1.lFrame.contextLView))[F$1]}function be$2(){return b$1.lFrame.selectedIndex}function st$1(e){b$1.lFrame.selectedIndex=e;}function In$3(){let e=b$1.lFrame;return Oo$2(e.tView,e.selectedIndex)}function Ku(){b$1.lFrame.currentNamespace=Zs$1;}function pa$2(){return b$1.lFrame.currentNamespace}var Ju$1=true;function Uo$2(){return Ju$1}function lr$4(e){Ju$1=e;}function qo$3(){let e,t;return {promise:new Promise((r,o)=>{e=r,t=o;}),resolve:e,reject:t}}function Ms$1(e,t=null,n=null,r){let o=ha$2(e,t,n);return o.resolveInjectorInitializers(),o}function ha$2(e,t=null,n=null,r,o=new Set){let i=[n||Z$1,bu(e)];return new St$3(i,t||pn$3(),null,o)}var De$2=class e{static THROW_IF_NOT_FOUND=bt$2;static NULL=new dn$3;static create(t,n){if(Array.isArray(t))return Ms$1({name:""},n,t);{let r=t.name??"";return Ms$1({name:r},t.parent,t.providers)}}static \u0275prov=ie$2({token:e,providedIn:"any",factory:()=>Re$2(nr$4)});static __NG_ELEMENT_ID__=-1},Wo$2=new A$2(""),at$1=(()=>{class e{static __NG_ELEMENT_ID__=Hm;static __NG_ENV_ID__=n=>n}return e})(),Eo$3=class Eo extends at$1{_lView;constructor(t){super(),this._lView=t;}get destroyed(){return Ot$2(this._lView)}onDestroy(t){let n=this._lView;return Fo$2(n,t),()=>Pu(n,t)}};function Hm(){return new Eo$3(g$2())}var Xu=false,ed=new A$2(""),Ft$2=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=false;pendingTask=new On$3(false);debugTaskTracker=C$2(ed,{optional:true});get hasPendingTasks(){return this.destroyed?false:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(n=>{n.next(false),n.complete();}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(true);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(false);}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(false),this.destroyed=true,this.pendingTask.unsubscribe();}static \u0275prov=ie$2({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ss$1=class Ss extends re{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=false){super(),this.__isAsync=t,Nu$1()&&(this.destroyRef=C$2(at$1,{optional:true})??void 0,this.pendingTasks=C$2(Ft$2,{optional:true})??void 0);}emit(t){let n=v(null);try{super.next(t);}finally{v(n);}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c);}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof H$1&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n);}finally{r!==void 0&&this.pendingTasks?.remove(r);}});}}},Fe$1=Ss$1;function Do$3(...e){}function ga$2(e){let t,n;function r(){e=Do$3;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t);}catch(o){}}return t=setTimeout(()=>{e(),r();}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r();})),()=>r()}function td(e){return queueMicrotask(()=>e()),()=>{e=Do$3;}}var ma$2="isAngularZone",Qn$2=ma$2+"_ID",Bm=0,oe$3=class e{hasPendingMacrotasks=false;hasPendingMicrotasks=false;isStable=true;onUnstable=new Fe$1(false);onMicrotaskEmpty=new Fe$1(false);onStable=new Fe$1(false);onError=new Fe$1(false);constructor(t){let{enableLongStackTrace:n=false,shouldCoalesceEventChangeDetection:r=false,shouldCoalesceRunChangeDetection:o=false,scheduleInRootZone:i=Xu}=t;if(typeof Zone>"u")throw new _$2(908,false);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=false,s.scheduleInRootZone=i,qm(s);}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ma$2)===true}static assertInAngularZone(){if(!e.isInAngularZone())throw new _$2(909,false)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _$2(909,false)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,$m,Do$3,Do$3);try{return i.runTask(s,n,r)}finally{i.cancelTask(s);}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},$m={};function ya$2(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null);}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null));}finally{e.isStable=true;}}}function Um(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=true;function t(){ga$2(()=>{e.callbackScheduled=false,Ns$1(e),e.isCheckStableRunning=true,ya$2(e),e.isCheckStableRunning=false;});}e.scheduleInRootZone?Zone.root.run(()=>{t();}):e._outer.run(()=>{t();}),Ns$1(e);}function qm(e){let t=()=>{Um(e);},n=Bm++;e._inner=e._inner.fork({name:"angular",properties:{[ma$2]:true,[Qn$2]:n,[Qn$2+n]:true},onInvokeTask:(r,o,i,s,a,c)=>{if(Wm(c))return r.invokeTask(i,s,a,c);try{return du(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),fu(e);}},onInvoke:(r,o,i,s,a,c,l)=>{try{return du(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Gm(c)&&t(),fu(e);}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ns$1(e),ya$2(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask));},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),false)});}function Ns$1(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===true?e.hasPendingMicrotasks=true:e.hasPendingMicrotasks=false;}function du(e){e._nesting++,e.isStable&&(e.isStable=false,e.onUnstable.emit(null));}function fu(e){e._nesting--,ya$2(e);}var Zn$2=class Zn{hasPendingMicrotasks=false;hasPendingMacrotasks=false;isStable=true;onUnstable=new Fe$1;onMicrotaskEmpty=new Fe$1;onStable=new Fe$1;onError=new Fe$1;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Wm(e){return nd(e,"__ignore_ng_zone__")}function Gm(e){return nd(e,"__scheduler_tick__")}function nd(e,t){return !Array.isArray(e)||e.length!==1?false:e[0]?.data?.[t]===true}var He$2=class He{_console=console;handleError(t){this._console.error("ERROR",t);}},jt$2=new A$2("",{factory:()=>{let e=C$2(oe$3),t=C$2(ue$2),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(He$2),n.handleError(r));});}}}),rd={provide:tr$4,useValue:()=>{C$2(He$2,{optional:true});},multi:true};function Go$2(e,t){let [n,r,o]=hs$1(e,t?.equal),i=n;i[B];return i.set=r,i.update=o,i.asReadonly=ur$4.bind(i),i}function ur$4(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=e,e.readonlyFn=t;}return e.readonlyFn}var od=new A$2("",{factory:()=>zm}),zm="ng";var id=new A$2(""),Qm=new A$2("",{providedIn:"platform",factory:()=>"unknown"}),Zm=new A$2(""),Ym=new A$2("",{factory:()=>C$2(Wo$2).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var dr$4=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r;}static __NG_ELEMENT_ID__=Km}return e})();function Km(){return new dr$4(g$2(),V$2())}var Be$1=class Be{},fr$3=new A$2("",{factory:()=>true});var va$2=new A$2(""),zo$2=(()=>{class e{static \u0275prov=ie$2({token:e,providedIn:"root",factory:()=>new xs$1})}return e})(),xs$1=class xs{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t);}schedule(t){t.dirty&&this.dirtyEffectCount++;}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--);}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t);}flush(){for(;this.dirtyEffectCount>0;){let t=false;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0);}}flushQueue(t){let n=false;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=true,r.run());return n}},wo$3=class wo{[B];constructor(t){this[B]=t;}destroy(){this[B].destroy();}};function sd(e,t){let n=t?.injector??C$2(De$2),r=t?.manualCleanup!==true?n.get(at$1):null,o,i=n.get(dr$4,null,{optional:true}),s=n.get(Be$1);return i!==null?(o=ey(i.view,s,e),r instanceof Eo$3&&r._lView===i.view&&(r=null)):o=ty(e,n.get(zo$2),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new wo$3(o)}var ad=s(r({},gs$1),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=zn$3(false);try{ms$1(this);}finally{zn$3(e);}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()();}finally{this.cleanupFns=[],v(e);}}}),Jm=s(r({},ad),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12);},destroy(){if(Ct$3(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this);}}),Xm=s(r({},ad),{consumerMarkedDirty(){this.view[w]|=8192,Pt$2(this.view),this.notifier.notify(13);},destroy(){if(Ct$3(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[et$1]?.delete(this);}});function ey(e,t,n){let r=Object.create(Xm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=cd(r,n),e[et$1]??=new Set,e[et$1].add(r),r.consumerMarkedDirty(r),r}function ty(e,t,n){let r=Object.create(Jm);return r.fn=cd(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function cd(e,t){return ()=>{t(n=>(e.cleanupFns??=[]).push(n));}}function Qo$2(e){return typeof e=="function"&&e[B]!==void 0}function Zo$2(e){return Qo$2(e)&&typeof e.set=="function"}var Ia$1=(()=>{class e{internalPendingTasks=C$2(Ft$2);scheduler=C$2(Be$1);errorHandler=C$2(jt$2);add(){let n=this.internalPendingTasks.add();return ()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n));}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r);}catch(o){this.errorHandler(o),r();}}static \u0275prov=ie$2({token:e,providedIn:"root",factory:()=>new e})}return e})();function Mr$3(e){return {toString:e}.toString()}var x$1=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x$1||{}),ai$3=class ai{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r;}isFirstChange(){return this.firstChange}};function ef(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r;}var tf=null,fy=(()=>{tf=ld;let e=()=>ld;return e.ngInherit=true,e})();function py(){return tf}function ld(e){return e.type.prototype.ngOnChanges&&(e.setInput=gy),hy}function hy(){let e=nf(this),t=e?.current;if(t){let n=e.previous;if(n===nt$1)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t);}}function gy(e,t,n,r,o){let i=this.declaredInputs[r],s=nf(e)||my(e,{previous:nt$1,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ai$3(l&&l.currentValue,n,c===nt$1),ef(e,t,o,n);}var xa$2="__ngSimpleChanges__";function nf(e){return Object.hasOwn(e,xa$2)&&e[xa$2]||null}function my(e,t){return e[xa$2]=t}var ud=[];var P$1=function(e,t=null,n){for(let r=0;r<ud.length;r++){let o=ud[r];o(e,t,n);}};function yy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=py()(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s);}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i));}function rf(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u);}}function ti$3(e,t,n){of(e,t,3,n);}function ni$2(e,t,n,r){(e[w]&3)===n&&of(e,t,n,r);}function Ea$2(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n);}function of(e,t,n,r){let o=r!==void 0?e[At$2]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[At$2]+=65536),(a<i||i==-1)&&(vy(e,n,t,c),e[At$2]=(e[At$2]&4294901760)+c+2),c++;}function dd(e,t){P$1(x$1.LifecycleHookStart,e,t);let n=v(null);try{t.call(e);}finally{v(n),P$1(x$1.LifecycleHookEnd,e,t);}}function vy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[At$2]>>16&&(e[w]&3)===t&&(e[w]+=16384,dd(a,i)):dd(a,i);}var Dn$2=-1,$t$3=class $t{factory;name;injectImpl;resolving=false;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r;}};function Iy(e){return (e.flags&8)!==0}function Ey(e){return (e.flags&16)!==0}function Dy(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i);}else {let i=o,s=n[++r];wy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++;}}return r}function sf(e){return e===3||e===4||e===6}function wy(e){return e.charCodeAt(0)===64}function wn$2(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else {let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?fd(e,n,o,null,t[++r]):fd(e,n,o,null,null));}}return e}function fd(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++;}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o);}function af(e){return e!==Dn$2}function ci$3(e){return e&32767}function Ty(e){return e>>16}function li$3(e,t){let n=Ty(e),r=t;for(;n>0;)r=r[rt$2],n--;return r}var Aa$2=true;function ui$3(e){let t=Aa$2;return Aa$2=e,t}var Cy=256,cf=Cy-1,lf=5,by=0,Pe$2={};function _y(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Nt$2)&&(r=n[Nt$2]),r==null&&(r=n[Nt$2]=by++);let o=r&cf,i=1<<o;t.data[e+(o>>lf)]|=i;}function di$3(e,t){let n=uf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Da$2(r.data,e),Da$2(t,null),Da$2(r.blueprint,null));let o=mc$1(e,t),i=e.injectorIndex;if(af(o)){let s=ci$3(o),a=li$3(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l];}return t[i+8]=o,i}function Da$2(e,t){e.push(0,0,0,0,0,0,0,0,t);}function uf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function mc$1(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=gf(o),r===null)return Dn$2;if(n++,o=o[rt$2],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Dn$2}function Ra$2(e,t,n){_y(e,t,n);}function My(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(sf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else {if(i===t)return n[o+1];o=o+2;}}}return null}function df(e,t,n){if(n&8||e!==void 0)return e;No$2();}function ff(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[q$2],i=ee(void 0);try{return o?o.get(t,r,n&8):js$1(t,r,n&8)}finally{ee(i);}}return df(r,t,n)}function pf(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=Ry(e,t,n,r,Pe$2);if(s!==Pe$2)return s}let i=hf(e,t,n,r,Pe$2);if(i!==Pe$2)return i}return ff(t,n,r,o)}function hf(e,t,n,r,o){let i=Ny(n);if(typeof i=="function"){if(!da$2(t,e,r))return r&1?df(o,n,r):ff(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))No$2(n);else return s}finally{fa$2();}}else if(typeof i=="number"){let s=null,a=uf(e,t),c=Dn$2,l=r&1?t[K][Y$1]:null;for((a===-1||r&4)&&(c=a===-1?mc$1(e,t):t[a+8],c===Dn$2||!hd(r,false)?a=-1:(s=t[y],a=ci$3(c),t=li$3(c,t)));a!==-1;){let u=t[y];if(pd(i,a,u.data)){let d=Sy(a,t,n,s,r,l);if(d!==Pe$2)return d}c=t[a+8],c!==Dn$2&&hd(r,t[y].data[a+8]===l)&&pd(i,a,t)?(s=u,a=ci$3(c),t=li$3(c,t)):a=-1;}}return o}function Sy(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?Ue$1(a)&&Aa$2:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ri$2(a,s,n,c,l);return u!==null?vr$3(t,s,u,a,o):Pe$2}function ri$2(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ce$2(f)&&f.type===n)return c}return null}function vr$3(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof $t$3){let a=i;if(a.resolving)throw Fs$1();let c=ui$3(a.canSeeViewProviders);a.resolving=true;s[n].type||s[n];let d=a.injectImpl?ee(a.injectImpl):null;da$2(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&yy(n,s[n],t);}finally{d!==null&&ee(d),ui$3(c),a.resolving=false,fa$2();}}return i}function Ny(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Nt$2)?e[Nt$2]:void 0;return typeof t=="number"?t>=0?t&cf:xy:t}function pd(e,t,n){let r=1<<e;return !!(n[t+(e>>lf)]&r)}function hd(e,t){return !(e&2)&&!(e&1&&t)}var ct$1=class ct{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n;}get(t,n,r){return pf(this._tNode,this._lView,t,_t$1(r),n)}};function xy(){return new ct$1(V$2(),g$2())}function Ay(e){return Mr$3(()=>{let t=e.prototype.constructor,n=t[Gn$3]||ka$2(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Gn$3]||ka$2(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o);}return i=>new i})}function ka$2(e){return As$1(e)?()=>{let t=ka$2($$1(e));return t&&t()}:Xe$2(e)}function Ry(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!yn$2(s);){let a=hf(i,s,n,r|2,Pe$2);if(a!==Pe$2)return a;let c=i.parent;if(!c){let l=s[Gs$1];if(l){let u=l.get(n,Pe$2,r&-5);if(u!==Pe$2)return u}c=gf(s),s=s[rt$2];}i=c;}return o}function gf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[Y$1]:null}function mf(e){return My(V$2(),e)}function Sr$3(e){return {token:e.token,providedIn:e.autoProvided===false?null:"root",factory:e.factory,value:void 0}}var ky=Function;function Oy(){return An$2(V$2(),g$2())}function An$2(e,t){return new Nr$3(te(e,t))}var Nr$3=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n;}static __NG_ELEMENT_ID__=Oy}return e})();function yf(e){return e instanceof Nr$3?e.nativeElement:e}function Py(){return this._results[Symbol.iterator]()}var fi$3=class fi{_emitDistinctChangesOnly;dirty=true;_onDirty=void 0;_results=[];_changesDetected=false;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new re}constructor(t=false){this._emitDistinctChangesOnly=t;}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t);}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=false;let r=Du(t);(this._changesDetected=!Eu(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0]);}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this);}onDirty(t){this._onDirty=t;}setDirty(){this.dirty=true,this._onDirty?.();}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe());}[Symbol.iterator]=Py};function vf(e){return (e.flags&128)===128}var yc$1=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(yc$1||{}),If=new Map,Ly=0;function Fy(){return Ly++}function jy(e){If.set(e[pe$2],e);}function Oa$2(e){If.delete(e[pe$2]);}var gd="__ngContext__";function Tn$2(e,t){$e$2(t)?(e[gd]=t[pe$2],jy(t)):e[gd]=t;}function Ef(e){return wf(e[gn$2])}function Df(e){return wf(e[fe$1])}function wf(e){for(;e!==null&&!ge$1(e);)e=e[fe$1];return e}var Pa$2;function Vy(e){Pa$2=e;}function vc$1(){if(Pa$2!==void 0)return Pa$2;if(typeof document<"u")return document;throw new _$2(210,false)}var Tf="r";var Cf="di";var bf=false,_f=new A$2("",{factory:()=>bf});var md=new WeakMap;function Hy(e,t){if(e==null||typeof e!="object")return;let n=md.get(e);n||(n=new WeakSet,md.set(e,n)),n.add(t);}function Ai$3(e){return (e.flags&32)===32}var Uy=()=>null;function Mf(e,t,n=false){return Uy()}function Sf(e,t){let n=e.contentQueries;if(n!==null){let r=v(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];cr$4(i),a.contentQueries(2,t[s],s);}}}finally{v(r);}}}function La$2(e,t,n){cr$4(0);let r=v(null);try{t(e,n);}finally{v(r);}}function Ic$1(e,t,n){if(Qs$1(t)){let r=v(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s);}}}finally{v(r);}}}var Ut$2=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ut$2||{});var Yo$2;function qy(){if(Yo$2===void 0&&(Yo$2=null,ke$2.trustedTypes))try{Yo$2=ke$2.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch(e){}return Yo$2}function Ri$3(e){return qy()?.createHTML(e)||e}var Ko$2;function Nf(){if(Ko$2===void 0&&(Ko$2=null,ke$2.trustedTypes))try{Ko$2=ke$2.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch(e){}return Ko$2}function yd(e){return Nf()?.createHTML(e)||e}function vd(e){return Nf()?.createScriptURL(e)||e}var We$1=class We{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t;}toString(){return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${To$3})`}},Fa$1=class Fa extends We$1{getTypeName(){return "HTML"}},ja$2=class ja extends We$1{getTypeName(){return "Style"}},Va$2=class Va extends We$1{getTypeName(){return "Script"}},Ha$2=class Ha extends We$1{getTypeName(){return "URL"}},Ba$2=class Ba extends We$1{getTypeName(){return "ResourceURL"}};function zt$2(e){return e instanceof We$1?e.changingThisBreaksApplicationSecurity:e}function ki$3(e,t){let n=xf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return true;throw new Error(`Required a safe ${t}, got a ${n} (see ${To$3})`)}return n===t}function xf(e){return e instanceof We$1&&e.getTypeName()||null}function Wy(e){return new Fa$1(e)}function Gy(e){return new ja$2(e)}function zy(e){return new Va$2(e)}function Qy(e){return new Ha$2(e)}function Zy(e){return new Ba$2(e)}function Yy(e){let t=new Ua$2(e);return Ky()?new $a$2(t):t}var $a$2=class $a{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t;}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ri$3(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ua$2=class Ua{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ri$3(t),n}};function Ky(){try{return !!new window.DOMParser().parseFromString(Ri$3(""),"text/html")}catch(e){return false}}var Jy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ec$1(e){return e=String(e),e.match(Jy)?e:"unsafe:"+e}function Ge$1(e){let t={};for(let n of e.split(","))t[n]=true;return t}function xr$3(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=true);return t}var Af=Ge$1("area,br,col,hr,img,wbr"),Rf=Ge$1("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kf=Ge$1("rp,rt"),Xy=xr$3(kf,Rf),ev=xr$3(Rf,Ge$1("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")),tv=xr$3(kf,Ge$1("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")),Id=xr$3(Af,ev,tv,Xy),Of=Ge$1("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nv=Ge$1("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"),rv=Ge$1("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"),ov=xr$3(Of,nv,rv),iv=Ge$1("script,style,template"),qa$2=class qa{sanitizedSomething=false;buf=[];sanitizeChildren(t){let n=t.firstChild,r=true,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=true,r&&n.firstChild){o.push(n),n=cv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=av(n);if(i){n=i;break}n=o.pop();}}return this.buf.join("")}startElement(t){let n=Ed(t).toLowerCase();if(!Id.hasOwnProperty(n))return this.sanitizedSomething=true,!iv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!ov.hasOwnProperty(a)){this.sanitizedSomething=true;continue}let c=i.value;Of[a]&&(c=Ec$1(c)),this.buf.push(" ",s,'="',Dd(c),'"');}return this.buf.push(">"),true}endElement(t){let n=Ed(t).toLowerCase();Id.hasOwnProperty(n)&&!Af.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"));}chars(t){this.buf.push(Dd(t));}};function sv(e,t){return (e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function av(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Pf(t);return t}function cv(e){let t=e.firstChild;if(t&&sv(e,t))throw Pf(t);return t}function Ed(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Pf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var lv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uv=/([^\#-~ |!])/g;function Dd(e){return e.replace(/&/g,"&").replace(lv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return "&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(uv,function(t){return "&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Jo$3;function Lf(e,t){let n=null;try{Jo$3=Jo$3||Yy(e);let r=t?String(t):"";n=Jo$3.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Jo$3.getInertBodyElement(r);}while(r!==i);let a=new qa$2().sanitizeChildren(wd(n)||n);return Ri$3(a)}finally{if(n){let r=wd(n)||n;for(;r.firstChild;)r.firstChild.remove();}}}function wd(e){return "content"in e&&dv(e)?e.content:null}function dv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var fv=/^>|^->|<!--|-->|--!>|<!-$/g,pv=/(<|>)/g,hv="\u200B$1\u200B";function gv(e){return e.replace(fv,t=>t.replace(pv,hv))}function mv(e,t){return e.createText(t)}function yv(e,t,n){e.setValue(t,n);}function vv(e,t){return e.createComment(gv(t))}function Ff(e,t,n){return e.createElement(t,n)}function pi$3(e,t,n,r,o){e.insertBefore(t,n,r,o);}function jf(e,t,n){e.appendChild(t,n);}function Td(e,t,n,r,o){r!==null?pi$3(e,t,n,r,o):jf(e,t,n);}function Vf(e,t,n,r){e.removeChild(null,t,n,r);}function Iv(e,t,n){e.setAttribute(t,"style",n);}function Ev(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n);}function Hf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Dy(e,t,r),o!==null&&Ev(e,t,o),i!==null&&Iv(e,t,i);}var Ar$3=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Ar$3||{});function Dv(e){let t=Dc$1();return t?yd(t.sanitize(Ar$3.HTML,e)||""):ki$3(e,"HTML")?yd(zt$2(e)):Lf(vc$1(),de$1(e))}function Bf(e){let t=Dc$1();return t?t.sanitize(Ar$3.URL,e)||"":ki$3(e,"URL")?zt$2(e):Ec$1(de$1(e))}function $f(e){let t=Dc$1();if(t)return vd(t.sanitize(Ar$3.RESOURCE_URL,e)||"");if(ki$3(e,"ResourceURL"))return vd(zt$2(e));throw new _$2(904,false)}var wv={embed:{src:true},frame:{src:true},iframe:{src:true},media:{src:true},base:{href:true},link:{href:true},object:{data:true,codebase:true}};function Tv(e,t){return wv[e.toLowerCase()]?.[t.toLowerCase()]===true?$f:Bf}function Cv(e,t,n){return Tv(t,n)(e)}function Dc$1(){let e=g$2();return e&&e[Te$3].sanitizer}function bv(e){return e instanceof Function?e():e}function _v(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1;}}var Uf="ng-template";function Mv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&_v(t[o+1].toLowerCase(),n,0)!==-1)return true}else if(wc$1(e))return false;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return true}return false}function wc$1(e){return e.type===4&&e.value!==Uf}function Sv(e,t,n){let r=e.type===4&&!n?Uf:e.value;return t===r}function Nv(e,t,n){let r=4,o=e.attrs,i=o!==null?Rv(o):0,s=false;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!_e$1(r)&&!_e$1(c))return false;if(s&&_e$1(c))continue;s=false,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Sv(e,c,n)||c===""&&t.length===1){if(_e$1(r))return false;s=true;}}else if(r&8){if(o===null||!Mv(e,o,c,n)){if(_e$1(r))return false;s=true;}}else {let l=t[++a],u=xv(c,o,wc$1(e),n);if(u===-1){if(_e$1(r))return false;s=true;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(_e$1(r))return false;s=true;}}}}return _e$1(r)||s}function _e$1(e){return (e&1)===0}function xv(e,t,n,r){if(t===null)return -1;let o=0;if(r||!n){let i=false;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=true;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else {if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2;}return -1}else return kv(t,e)}function qf(e,t,n=false){for(let r=0;r<t.length;r++)if(Nv(e,t[r],n))return true;return false}function Av(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Rv(e){for(let t=0;t<e.length;t++){let n=e[t];if(sf(n))return t}return e.length}function kv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return -1;if(r===t)return n;n++;}return -1}function Ov(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return true}}return false}function Cd(e,t){return e?":not("+t.trim()+")":t}function Pv(e){let t=e[0],n=1,r=2,o="",i=false;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]";}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!_e$1(s)&&(t+=Cd(i,o),o=""),r=s,i=i||!_e$1(r);n++;}return o!==""&&(t+=Cd(i,o)),t}function Lv(e){return e.map(Pv).join(",")}function Fv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else {if(!_e$1(o))break;o=i;}r++;}return n.length&&t.push(1,...n),t}var Q={},hi$3=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(hi$3||{}),jv;function Tc$1(e,t){return jv(e,t)}var Wf=new A$2("",{factory:()=>false}),Gf=new A$2("",{factory:()=>Vv}),Vv=4e3,Hv=false,Rn$3=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Cc$1(e){return e[q$2].get(Wf,Hv)}function Bv(e,t,n){let r=Cn$2.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o);}else Cn$2.set(e,{classList:t,cleanupFns:n});}function bc$1(e){let t=Cn$2.get(e);if(t){for(let n of t.cleanupFns)n();Cn$2.delete(e);}Ht$3.delete(e);}var Cn$2=new WeakMap,Ht$3=new WeakMap,Ir$3=new WeakMap;function zf(e){return e?e[rt$2]??e:null}var hr$4=new WeakSet;function Wa$2(e,t){let n=Ir$3.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o.el===t);r>-1&&n.splice(r,1);}n?.length===0&&Ir$3.delete(e);}function $v(e,t,n){let r=Ir$3.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=zf(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),hr$4.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c));}}function _c$1(e,t,n){let r=zf(n),o=Ir$3.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Ir$3.set(e,[{el:t,declarationView:r}]);}function bd(e){let t=e[he$2]??={};return t.enter??=new Map}function qt$2(e){let t=e[he$2]??={};return t.leave??=new Map}function Qf(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function Uv(e,t){if(!Rn$3)return;let n=Cn$2.get(e);if(n&&n.classList.length>0&&qv(e,n.classList))for(let r of n.classList)t.removeClass(e,r);bc$1(e);}function qv(e,t){for(let n of t)if(e.classList.contains(n))return true;return false}function Er$3(e){return e.composedPath?e.composedPath()[0]:e.target}function Mc$1(e,t){let n=Ht$3.get(t);return n===void 0?true:t===Er$3(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName==="all"||e.propertyName===n.propertyName))}function Sc$1(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r);}function Ga$2(e,t){if(e)for(let n of e)n();for(let n of t)n();}function za$2(e,t){let n=qt$2(e).get(t.index);n&&(n.resolvers=void 0);}function Xo$2(e,t,n,r,o){Wa$2(t,n),Ga$2(r,o),za$2(e,t);}function gi$3(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Vt$3(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function Wv(e){let t=Vt$3(e,"transition-property"),n=Vt$3(e,"transition-duration"),r=Vt$3(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=gi$3(r[i])+gi$3(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s);}return o}function Gv(e){let t=Vt$3(e,"animation-name"),n=Vt$3(e,"animation-delay"),r=Vt$3(e,"animation-duration"),o=Vt$3(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=gi$3(n[s])+gi$3(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=t[s],i.duration=a);}return i}function Zf(e,t){return e!==void 0&&e.duration>t.duration}function Yf(e){return (e.animationName!=null||e.propertyName!=null)&&e.duration>0}function zv(e,t){let n=getComputedStyle(e),r=Gv(n),o=Wv(n),i=r.duration>o.duration?r:o;Zf(t.get(e),i)||Yf(i)&&t.set(e,i);}function Kf(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?zv(e,t):Qv(e,t,r)}function Qv(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let l,u;o.animationName?u=o.animationName:l=o.transitionProperty,a>=r.duration&&(r={animationName:u,propertyName:l,duration:a});}Zf(t.get(e),r)||Yf(r)&&t.set(e,r);}var lt$1=new Set,Oi$4=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Oi$4||{}),kn$3=new A$2(""),_d=new Set;function le$1(e){_d.has(e)||(_d.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}));}var Nc$1=(()=>{class e{impl=null;execute(){this.impl?.execute();}static \u0275prov=ie$2({token:e,providedIn:"root",factory:()=>new e})}return e})(),Jf=[0,1,2,3],Xf=(()=>{class e{ngZone=C$2(oe$3);scheduler=C$2(Be$1);errorHandler=C$2(He$2,{optional:true});sequences=new Set;deferredRegistrations=new Set;executing=false;constructor(){C$2(kn$3,{optional:true});}execute(){let n=this.sequences.size>0;n&&P$1(x$1.AfterRenderHooksStart),this.executing=true;for(let r of Jf)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot));}catch(i){o.erroredOrDestroyed=true,this.errorHandler?.handleError(i);}this.executing=false;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&P$1(x$1.AfterRenderHooksEnd);}register(n){let{view:r}=n;r!==void 0?((r[Rt$3]??=[]).push(n),Pt$2(r),r[w]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n);}addSequence(n){this.sequences.add(n),this.scheduler.notify(7);}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=true,n.pipelinedValue=void 0,n.once=true):(this.sequences.delete(n),this.deferredRegistrations.delete(n));}maybeTrace(n,r){return r?r.run(Oi$4.AFTER_NEXT_RENDER,n):n()}static \u0275prov=ie$2({token:e,providedIn:"root",factory:()=>new e})}return e})(),mi$3=class mi{impl;hooks;view;once;snapshot;erroredOrDestroyed=false;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy());}afterRun(){this.erroredOrDestroyed=false,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null;}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Rt$3];t&&(this.view[Rt$3]=t.filter(n=>n!==this));}};function Zv(e,t){let n=C$2(De$2);return le$1("NgAfterRender"),tp(e,n,t,false)}function ep(e,t){let n=t?.injector??C$2(De$2);return le$1("NgAfterNextRender"),tp(e,n,t,true)}function Yv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function tp(e,t,n,r){let o=t.get(Nc$1);o.impl??=t.get(Xf);let i=t.get(kn$3,null,{optional:true}),s=n?.manualCleanup!==true?t.get(at$1):null,a=t.get(dr$4,null,{optional:true}),c=new mi$3(o.impl,Yv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Rr$2=new A$2("",{factory:()=>{let e=C$2(ue$2),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:false,scheduler:null,injector:e}}});function np(e,t,n){let r=e.get(Rr$2);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e);}function Kv(e,t){let n=e.get(Rr$2);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t);}function Jv(e,t){let n=e.get(Rr$2);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0;}}function Xv(e){let t=e.get(Rr$2);t.isScheduled||(ep(()=>{t.isScheduled=false;for(let n of t.queue)n();t.queue.clear();},{injector:t.injector}),t.isScheduled=true);}function xc$1(e){let t=e.get(Rr$2);t.scheduler=Xv,t.scheduler(e);}function rp(e,t){for(let[n,r]of t)np(e,r.animateFns);}function Md(e,t,n,r){let o=e?.[he$2]?.enter;t!==null&&o&&o.has(n.index)&&rp(r,o);}function Sd(e,t,n,r){try{n.get(nr$4);}catch(s){return r(false)}let o=e?.[he$2];o?.enter?.has(t.index)&&Kv(n,o.enter.get(t.index).animateFns);let i=eI(e,t,o);if(i.size===0){let s=false;if(e){let a=[];Pi$4(e,t,a),s=a.length>0;}if(!s)return r(false)}e&<$1.add(e[pe$2]),np(n,()=>tI(e,t,o||void 0,i,r),o||void 0);}function eI(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[y].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent;}}return r}function tI(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l);}n.detachedLeaveAnimationFns=void 0;}if(e&&Pi$4(e,t,i),i.length>0){let s=n||e?.[he$2];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),rI(e,s.running,o);}else Promise.allSettled(i).then(()=>{e&<$1.delete(e[pe$2]),o(true);});}else e&<$1.delete(e[pe$2]),o(false);}function Pi$4(e,t,n){if(t.type&12){let o=e[t.index];if(ge$1(o))for(let i=j$1;i<o.length;i++){let s=o[i];s[y].type===2&&nI(s,n);}}let r=t.child;for(;r;)Pi$4(e,r,n),r=r.next;}function nI(e,t){let n=e[he$2];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s);}let r=e[y].firstChild;for(;r;)Pi$4(e,r,t),r=r.next;}function rI(e,t,n){t.then(()=>{e[he$2]?.running===t&&(e[he$2].running=void 0,lt$1.delete(e[pe$2])),n(true);});}function En$2(e,t,n,r,o,i,s,a){if(o!=null){let c,l=false;ge$1(o)?c=o:$e$2(o)&&(l=true,o=o[we$2]);let u=me$1(o);e===0&&r!==null?(Md(a,r,i,n),s==null?jf(t,r,u):pi$3(t,r,u,s||null,true)):e===1&&r!==null?(Md(a,r,i,n),pi$3(t,r,u,s||null,true),$v(i,u,a)):e===2?(a?.[he$2]?.leave?.has(i.index)&&_c$1(i,u,a),hr$4.delete(u),Sd(a,i,n,d=>{if(hr$4.has(u)){hr$4.delete(u);return}Vf(t,u,l,d);})):e===3&&(hr$4.delete(u),Sd(a,i,n,()=>{t.destroyNode(u);})),c!=null&&pI(t,e,n,c,i,r,s);}}function oI(e,t){op(e,t),t[we$2]=null,t[Y$1]=null;}function iI(e,t,n,r,o,i){r[we$2]=o,r[Y$1]=t,Fi$4(e,r,n,1,o,i);}function op(e,t){t[Te$3].changeDetectionScheduler?.notify(9),Fi$4(e,t,t[R$1],2,null,null);}function sI(e){let t=e[gn$2];if(!t)return wa$2(e[y],e);for(;t;){let n=null;if($e$2(t))n=t[gn$2];else {let r=t[j$1];r&&(n=r);}if(!n){for(;t&&!t[fe$1]&&t!==e;)$e$2(t)&&wa$2(t[y],t),t=t[U$2];t===null&&(t=e),$e$2(t)&&wa$2(t[y],t),n=t&&t[fe$1];}t=n;}}function Ac$1(e,t){let n=e[kt$2],r=n.indexOf(t);n.splice(r,1);}function Li$3(e,t){if(Ot$2(t))return;let n=t[R$1];n.destroyNode&&Fi$4(e,t,n,3,null,null),sI(t);}function wa$2(e,t){if(Ot$2(t))return;let n=v(null);try{t[w]&=-129,t[w]|=256,t[se$2]&&Ct$3(t[se$2]),cI(e,t),aI(e,t),t[y].type===1&&t[R$1].destroy();let r=t[ot$1];if(r!==null&&ge$1(t[U$2])){r!==t[U$2]&&Ac$1(r,t);let o=t[Oe$2];o!==null&&o.detachView(e);}Oa$2(t);}finally{v(n);}}function aI(e,t){let n=e.cleanup,r=t[hn$2];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2;}else {let a=r[n[s+1]];n[s].call(a);}r!==null&&(t[hn$2]=null);let o=t[je$3];if(o!==null){t[je$3]=null;for(let s=0;s<o.length;s++){let a=o[s];a();}}let i=t[et$1];if(i!==null){t[et$1]=null;for(let s of i)s.destroy();}}function cI(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof $t$3)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];P$1(x$1.LifecycleHookStart,a,c);try{c.call(a);}finally{P$1(x$1.LifecycleHookEnd,a,c);}}else {P$1(x$1.LifecycleHookStart,o,i);try{i.call(o);}finally{P$1(x$1.LifecycleHookEnd,o,i);}}}}}function ip(e,t,n){return lI(e,t.parent,n)}function lI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[we$2];if(Ue$1(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ut$2.None||o===Ut$2.Emulated)return null}return te(r,n)}function sp(e,t,n){return dI(e,t,n)}function uI(e,t,n){return e.type&40?te(e,n):null}var dI=uI;function Rc$1(e,t,n,r){let o=ip(e,r,t),i=t[R$1],s=r.parent||t[Y$1],a=sp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Td(i,o,n[c],a,false);else Td(i,o,n,a,false);}function gr$3(e,t){if(t!==null){let n=t.type;if(n&3)return te(t,e);if(n&4)return Qa$2(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return gr$3(e,r);{let o=e[t.index];return ge$1(o)?Qa$2(-1,o):me$1(o)}}else {if(n&128)return gr$3(e,t.next);if(n&32)return Tc$1(t,e)()||me$1(e[t.index]);{let r=ap(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ve$1(e[K]);return gr$3(o,r)}else return gr$3(e,t.next)}}}return null}function ap(e,t){if(t!==null){let r=e[K][Y$1],o=t.projection;return r.projection[o]}return null}function Qa$2(e,t){let n=j$1+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return gr$3(r,o)}return t[it$1]}function kc$1(e,t,n,r,o,i,s){for(;n!=null;){let a=r[q$2];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Tn$2(me$1(c),r),n.flags|=2),!Ai$3(n))if(l&8)kc$1(e,t,n.child,r,o,i,false),En$2(t,e,a,o,c,n,i,r);else if(l&32){let u=Tc$1(n,r),d;for(;d=u();)En$2(t,e,a,o,d,n,i,r);En$2(t,e,a,o,c,n,i,r);}else l&16?cp(e,t,r,n,o,i):En$2(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next;}}function Fi$4(e,t,n,r,o,i){kc$1(n,r,e.firstChild,t,o,i,false);}function fI(e,t,n){let r=t[R$1],o=ip(e,n,t),i=n.parent||t[Y$1],s=sp(i,n,t);cp(r,0,t,n,o,s);}function cp(e,t,n,r,o,i){let s=n[K],c=s[Y$1].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];En$2(t,e,n[q$2],o,u,r,i,n);}else {let l=c,u=s[U$2];vf(r)&&(l.flags|=128),kc$1(e,t,l,u,o,i,true);}}function pI(e,t,n,r,o,i,s){let a=r[it$1],c=me$1(r);a!==c&&En$2(t,e,n,i,a,o,s);for(let l=j$1;l<r.length;l++){let u=r[l];Fi$4(u[y],u,e,t,i,a);}}function hI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else {let i=r.indexOf("-")===-1?void 0:hi$3.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=hi$3.Important),e.setStyle(n,r,o,i));}}function Oc$1(e,t,n,r,o,i,s,a,c,l,u){let d=L$2+r,p=d+o,f=gI(d,p),h=typeof l=="function"?l():l;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:true,firstUpdatePass:true,staticViewQueries:false,staticContentQueries:false,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:false,ssrId:u}}function gI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function mI(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Oc$1(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Pc$1(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[we$2]=o,d[w]=r|4|128|8|64|1024,(l!==null||e&&e[w]&2048)&&(d[w]|=2048),Ks$1(d),d[U$2]=d[rt$2]=e,d[F$1]=n,d[Te$3]=s||e&&e[Te$3],d[R$1]=a||e&&e[R$1],d[q$2]=c||e&&e[q$2]||null,d[Y$1]=i,d[pe$2]=Fy(),d[xt$2]=u,d[Gs$1]=l,d[K]=t.type==2?e[K]:d,d}function yI(e,t,n){let r=te(t,e),o=mI(n),i=e[Te$3].rendererFactory,s=Lc$1(e,Pc$1(e,o,null,lp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function lp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function up(e,t,n,r){if(n===0)return -1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Lc$1(e,t){return e[gn$2]?e[Ws$1][fe$1]=t:e[gn$2]=t,e[Ws$1]=t,t}function vI(e=1){dp(O$2(),g$2(),be$2()+e);}function dp(e,t,n,r){if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ti$3(t,i,n);}else {let i=e.preOrderHooks;i!==null&&ni$2(t,i,0,n);}st$1(n);}var ji$4=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ji$4||{});function Wt$3(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ji$4.SignalBased)!==0&&(c=t[i][B]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):ef(t,c,i,r);}finally{v(o);}}function fp(e,t,n,r,o){let i=be$2(),s=r&2;try{st$1(-1),s&&t.length>L$2&&dp(e,t,L$2,!1);let a=s?x$1.TemplateUpdateStart:x$1.TemplateCreateStart;P$1(a,o,n),n(r,o);}finally{st$1(i);let a=s?x$1.TemplateUpdateEnd:x$1.TemplateCreateEnd;P$1(a,o,n);}}function Vi$4(e,t,n){CI(e,t,n),(n.flags&64)===64&&bI(e,t,n);}function kr$3(e,t,n=te){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a;}}}function II(e,t,n,r){let i=r.get(_f,bf)||n===Ut$2.ShadowDom||n===Ut$2.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return s}function wI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function pp(e,t,n,r,o,i){let s=t[y];if(Hc$1(e,s,t,n,r)){Ue$1(e)&&TI(t,e.index);return}e.type&3&&(n=wI(n)),hp(e,t,n,r,o,i);}function hp(e,t,n,r,o,i){if(e.type&3){let s=te(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r);}else e.type&12;}function TI(e,t){let n=ye$2(t,e);n[w]&16||(n[w]|=64);}function CI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ue$1(n)&&yI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||di$3(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=vr$3(t,e,s,n);if(Tn$2(c,t),i!==null&&NI(t,s-r,c,a,n,i),Ce$2(a)){let l=ye$2(n.index,t);l[F$1]=vr$3(t,e,s,n);}}}function bI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Wu();try{st$1(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Vo$2(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&_I(c,l);}}finally{st$1(-1),Vo$2(s);}}function _I(e,t){e.hostBindings!==null&&e.hostBindings(1,t);}function Fc$1(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];qf(t,i.selectors,false)&&(r??=[],Ce$2(i)?r.unshift(i):r.push(i));}return r}function MI(e,t,n,r,o,i){let s=te(e,t);SI(t[R$1],s,i,e.value,n,r,o);}function SI(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else {let a=s==null?de$1(i):s(i,r||"",o);e.setAttribute(t,o,a,n);}}function NI(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Wt$3(r,n,c,l);}}function jc$1(e,t,n,r,o){let i=L$2+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,Lt$1(e,true);let c=e.type===2;return c?(Hf(t[R$1],a,e),(Fu()===0||mn$3(e))&&Tn$2(a,t),ju()):Tn$2(a,t),Uo$2()&&(!c||!Ai$3(e))&&Rc$1(s,t,a,e),e}function Vc$1(e){let t=e;return sa$2()?aa$2():(t=t.parent,Lt$1(t,false)),t}function xI(e,t){let n=e[q$2];if(!n)return;let r;try{r=n.get(jt$2,null);}catch(o){r=null;}r?.(t);}function Hc$1(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=false;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Wt$3(d,n[l],u,o),a=true;}if(i)for(let c of i){let l=n[c],u=t.data[c];Wt$3(u,l,r,o),a=true;}return a}function AI(e,t,n,r,o,i){let s=null,a=null,c=null,l=false,u=e.directiveToIndex.get(r.type);if(typeof u=="number"?s=u:[s,a,c]=u,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let h=t.data[f],m=d[p+1];Wt$3(h,n[f],m,i),l=true;}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(Wt$3(r,n[s],o,i),l=true),l}function RI(e,t){let n=ye$2(t,e),r=n[y];kI(r,n);let o=n[we$2];o!==null&&n[xt$2]===null&&(n[xt$2]=Mf(o,n[q$2])),P$1(x$1.ComponentStart);try{Bc$1(r,n,n[F$1]);}finally{P$1(x$1.ComponentEnd,n[F$1]);}}function kI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n]);}function Bc$1(e,t,n){Bo$2(t);try{let r=e.viewQuery;r!==null&&La$2(1,r,n);let o=e.template;o!==null&&fp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Oe$2]?.finishViewCreation(e),e.staticContentQueries&&Sf(e,t),e.staticViewQueries&&La$2(2,e.viewQuery,n);let i=e.components;i!==null&&OI(t,i);}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=true,e.firstCreatePass=false),r}finally{t[w]&=-5,$o$2();}}function OI(e,t){for(let n=0;n<t.length;n++)RI(e,t[n]);}function Or$3(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=Pc$1(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ot$1]=l;let u=e[Oe$2];return u!==null&&(c[Oe$2]=u.createEmbeddedView(i)),Bc$1(i,c,n),c}finally{v(o);}}function bn$2(e,t){return !t||t.firstChild===null||vf(e)}function Dr$3(e,t,n,r,o=false){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(me$1(i)),ge$1(i)&&gp(i,r);let s=n.type;if(s&8)Dr$3(e,t,n.child,r);else if(s&32){let a=Tc$1(n,t),c;for(;c=a();)r.push(c);}else if(s&16){let a=ap(t,n);if(Array.isArray(a))r.push(...a);else {let c=Ve$1(t[K]);Dr$3(c[y],c,a,r,true);}}n=o?n.projectionNext:n.next;}return r}function gp(e,t){for(let n=j$1;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&Dr$3(r[y],r,o,t);}e[it$1]!==e[we$2]&&t.push(e[it$1]);}function mp(e){if(e[Rt$3]!==null){for(let t of e[Rt$3])t.impl.addSequence(t);e[Rt$3].length=0;}}var yp=[];function PI(e){return e[se$2]??LI(e)}function LI(e){let t=yp.pop()??Object.create(jI);return t.lView=e,t}function FI(e){e.lView[se$2]!==e&&(e.lView=null,yp.push(e));}var jI=s(r({},Ze$1),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{Pt$2(e.lView);},consumerOnSignalRead(){this.lView[se$2]=this;}});function VI(e){let t=e[se$2]??Object.create(HI);return t.lView=e,t}var HI=s(r({},Ze$1),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{let t=Ve$1(e.lView);for(;t&&!vp(t[y]);)t=Ve$1(t);t&&Js$1(t);},consumerOnSignalRead(){this.lView[se$2]=this;}});function vp(e){return e.type!==2}function Ip(e){if(e[et$1]===null)return;let t=true;for(;t;){let n=false;for(let r of e[et$1])r.dirty&&(n=true,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192);}}var BI=100;function Ep(e,t=0){let r=e[Te$3].rendererFactory;r.begin?.();try{$I(e,t);}finally{r.end?.();}}function $I(e,t){let n=la$2();try{zn$3(!0),Za$2(e,t);let r=0;for(;sr$4(e);){if(r===BI)throw new _$2(103,!1);r++,Za$2(e,1);}}finally{zn$3(n);}}function UI(e,t,n,r){if(Ot$2(t))return;let o=t[w],i=false,s=false;Bo$2(t);let a=true,c=null,l=null;(vp(e)?(l=PI(t),c=Ke$1(l)):po$3()===null?(a=false,l=VI(t),c=Ke$1(l)):t[se$2]&&(Ct$3(t[se$2]),t[se$2]=null));try{Ks$1(t),$u(e.bindingStartIndex),n!==null&&fp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ti$3(t,f,null);}else {let f=e.preOrderHooks;f!==null&&ni$2(t,f,0,null),Ea$2(t,0);}if(s||qI(t),Ip(t),Dp(t,0),e.contentQueries!==null&&Sf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ti$3(t,f);}else {let f=e.contentHooks;f!==null&&ni$2(t,f,1),Ea$2(t,1);}GI(e,t);let d=e.components;d!==null&&Tp(t,d,0);let p=e.viewQuery;if(p!==null&&La$2(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ti$3(t,f);}else {let f=e.viewHooks;f!==null&&ni$2(t,f,2),Ea$2(t,2);}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ko$2]){for(let f of t[ko$2])f();t[ko$2]=null;}i||(mp(t),t[w]&=-73);}catch(u){throw Pt$2(t),u}finally{l!==null&&(Tt$3(l,c),a&&FI(l)),$o$2();}}function Dp(e,t){for(let n=Ef(e);n!==null;n=Df(n))for(let r=j$1;r<n.length;r++){let o=n[r];wp(o,t);}}function qI(e){for(let t=Ef(e);t!==null;t=Df(t)){if(!(t[w]&2))continue;let n=t[kt$2];for(let r=0;r<n.length;r++){let o=n[r];Js$1(o);}}}function WI(e,t,n){P$1(x$1.ComponentStart);let r=ye$2(t,e);try{wp(r,n);}finally{P$1(x$1.ComponentEnd,r[F$1]);}}function wp(e,t){Po$2(e)&&Za$2(e,t);}function Za$2(e,t){let r=e[y],o=e[w],i=e[se$2],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Bn$2(i)),s||=false,i&&(i.dirty=false),e[w]&=-9217,s)UI(r,e,r.template,e[F$1]);else if(o&8192){let a=v(null);try{Ip(e),Dp(e,1);let c=r.components;c!==null&&Tp(e,c,1),mp(e);}finally{v(a);}}}function Tp(e,t,n){for(let r=0;r<t.length;r++)WI(e,t[r],n);}function GI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)st$1(~o);else {let i=o,s=n[++r],a=n[++r];qu(s,i);let c=t[i];P$1(x$1.HostBindingsUpdateStart,c);try{a(2,c);}finally{P$1(x$1.HostBindingsUpdateEnd,c);}}}}finally{st$1(-1);}}function $c$1(e,t){let n=la$2()?64:1088;for(e[Te$3].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=Ve$1(e);if(yn$2(e)&&!r)return e;e=r;}return null}function Cp(e,t,n,r){return [e,true,0,t,null,r,null,n,null,null]}function bp(e,t){let n=j$1+t;if(n<e.length)return e[n]}function Pr$3(e,t,n,r=true){let o=t[y];if(zI(o,t,e,n),r){let s=Qa$2(n,e),a=t[R$1],c=a.parentNode(e[it$1]);c!==null&&iI(o,e[Y$1],a,t,c,s);}let i=t[xt$2];i!==null&&i.firstChild!==null&&(i.firstChild=null);}function _p(e,t){let n=wr$3(e,t);return n!==void 0&&Li$3(n[y],n),n}function wr$3(e,t){if(e.length<=j$1)return;let n=j$1+t,r=e[n];if(r){let o=r[ot$1];o!==null&&o!==e&&Ac$1(o,r),t>0&&(e[n-1][fe$1]=r[fe$1]);let i=Xn$2(e,j$1+t);oI(r[y],r);let s=i[Oe$2];s!==null&&s.detachView(i[y]),r[U$2]=null,r[fe$1]=null,r[w]&=-129;}return r}function zI(e,t,n,r){let o=j$1+r,i=n.length;r>0&&(n[o-1][fe$1]=t),r<i-j$1?(t[fe$1]=n[o],Vs$1(n,j$1+r,t)):(n.push(t),t[fe$1]=null),t[U$2]=n;let s=t[ot$1];s!==null&&n!==s&&Mp(s,t);let a=t[Oe$2];a!==null&&a.insertView(e),Lo$2(t),t[w]|=128;}function Mp(e,t){let n=e[kt$2],r=t[U$2];if($e$2(r))e[w]|=2;else {let o=r[U$2][K];t[K]!==o&&(e[w]|=2);}n===null?e[kt$2]=[t]:n.push(t);}var ut$3=class ut{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=false;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return Dr$3(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n;}get context(){return this._lView[F$1]}set context(t){this._lView[F$1]=t;}get destroyed(){return Ot$2(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U$2];if(ge$1(t)){let n=t[rr$4],r=n?n.indexOf(this):-1;r>-1&&(wr$3(t,r),Xn$2(n,r));}this._attachedToViewContainer=false;}Li$3(this._lView[y],this._lView);}onDestroy(t){Fo$2(this._lView,t);}markForCheck(){$c$1(this._cdRefInjectingView||this._lView,4);}detach(){this._lView[w]&=-129;}reattach(){Lo$2(this._lView),this._lView[w]|=128;}detectChanges(){this._lView[w]|=1024,Ep(this._lView);}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _$2(902,false);this._attachedToViewContainer=true;}detachFromAppRef(){this._appRef=null;let t=yn$2(this._lView),n=this._lView[ot$1];n!==null&&!t&&Ac$1(n,this._lView),op(this._lView[y],this._lView);}attachToAppRef(t){if(this._attachedToViewContainer)throw new _$2(902,false);this._appRef=t;let n=yn$2(this._lView),r=this._lView[ot$1];r!==null&&!n&&Mp(r,this._lView),Lo$2(this._lView);}};var Tr$3=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=QI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o;}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Or$3(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new ut$3(i)}}return e})();function QI(){return Hi$3(V$2(),g$2())}function Hi$3(e,t){return e.type&4?new Tr$3(t,e,An$2(e,t)):null}function Qt$2(e,t,n,r,o){let i=e.data[t];if(i===null)i=ZI(e,t,n,r,o),Uu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Bu();i.injectorIndex=s===null?-1:s.injectorIndex;}return Lt$1(i,true),i}function ZI(e,t,n,r,o){let i=ia$2(),s=sa$2(),a=s?i:i&&i.parent,c=e.data[t]=KI(e,a,n,t,r,o);return YI(e,c,i,s),c}function YI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n));}function KI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return na$2()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:pa$2(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function JI(e){let t=e[zs$1]??[],r=e[U$2][R$1],o=[];for(let i of t)i.data[Cf]!==void 0?o.push(i):XI(i,r);e[zs$1]=o;}function XI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Tf];for(;n<o;){let i=r.nextSibling;Vf(t,r,false),r=i,n++;}}}var eE=()=>null,tE=()=>null;function yi$4(e,t){return eE()}function Sp(e,t,n){return tE()}var Np=class{},Cr$2=class Cr{},nE=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>rE()}return e})();function rE(){let e=g$2(),t=V$2(),n=ye$2(t.index,e);return ($e$2(n)?n:e)[R$1]}var xp=(()=>{class e{static \u0275prov=ie$2({token:e,providedIn:"root",factory:()=>null})}return e})();function Ap(e){return e.debugInfo?.className||e.type.name||null}var oi$3={},vi$3=class vi{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n;}get(t,n,r){let o=this.injector.get(t,oi$3,r);return o!==oi$3||n===oi$3?o:this.parentInjector.get(t,n,r)}};function Uc$1(e){return kp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:false}function Rp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else {let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value);}}function kp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function qc$1(e,t,n){return e[t]=n}function oE(e,t){return e[t]}function ce$2(e,t,n){if(n===Q)return false;let r=e[t];return Object.is(r,n)?false:(e[t]=n,true)}function Ii$3(e,t,n,r){let o=ce$2(e,t,n);return ce$2(e,t+1,r)||o}function iE(e,t,n,r,o,i){let s=Ii$3(e,t,n,r);return Ii$3(e,t+2,o,i)||s}function Bt$2(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Hy(o,i);let s=Ue$1(e)?ye$2(e.index,t):t;$c$1(s,5);let a=t[F$1],c=xd(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=xd(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function xd(e,t,n,r){let o=v(null);try{return P$1(x$1.OutputStart,t,n),n(r)!==!1}catch(i){return xI(e,i),false}finally{P$1(x$1.OutputEnd,t,n),v(o);}}function Wc(e,t,n,r,o,i,s,a){let c=mn$3(e),l=false,u=null;if(!r&&c&&(u=aE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=true;}else {let d=te(e,n),p=r?r(d):d;r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!sE(i)){let h=r?m=>r(me$1(m[e.index])):e.index;Op(h,t,n,i,a,f,false);}}return l}function sE(e){return e.startsWith("animation")||e.startsWith("transition")}function aE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[hn$2],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2);}return null}function Op(e,t,n,r,o,i,s){let a=t.firstCreatePass?ea$2(t):null,c=Xs$1(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1));}function Ad(e,t,n,r,o){let i=null,s=null,a=null,c=false,l=e.directiveToIndex.get(n.type);if(typeof l=="number"?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d<u.length;d+=2){let p=u[d];if(p>=s&&p<=a)c=true,Ei$4(e,t,p,u[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=true,Ei$4(e,t,i,r,r,o)),c}function Ei$4(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);Op(e.index,a,t,o,i,d,true);}function cE(){lE();}function lE(){let e=g$2(),t=O$2(),n=V$2();if(t.firstCreatePass&&fE(t,n),n.controlDirectiveIndex===-1)return;le$1("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new Di$4(e,t,n));}function uE(){dE();}function dE(){let e=g$2(),t=O$2(),n=In$3();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new Di$4(e,t,n));}var Di$4=class Di{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096);}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return te(this.tNode,this.lView)}get descriptor(){return `<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Ad(this.tNode,this.lView,r,t,Bt$2(this.tNode,this.lView,n));}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Ad(this.tNode,this.lView,r,n,Bt$2(this.tNode,this.lView,t));}listenToDom(t,n){Wc(this.tNode,this.tView,this.lView,void 0,this.lView[R$1],t,n,Bt$2(this.tNode,this.lView,n));}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return false;let i=false;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];Wt$3(a,c,t,n),i=true;}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],l=this.tView.data[a],u=this.lView[a];Wt$3(l,u,c,n),i=true;}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";AI(this.tNode,this.tView,this.lView,n,r,t);}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return false;let n=this.tView.data[this.tNode.customControlIndex];return (n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===true}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=true;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!="function"){for(let s in o.inputs)n[o.inputs[s]]=true;let i=Rd(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i=="function")continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=true;}let s=Rd(i.directive);s!==null&&r.push(...s);}}}return n}};function Rd(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function fE(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}pE(e,t);}function pE(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(kd(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(kd(r,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!i||!s)return false;for(let a=0;a<i.length;a+=2){let c=i[a];for(let l=0;l<s.length;l+=2){let u=s[l];if(c===u)for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,h]=d;if(c>=f&&c<=h)return t.flags|=o,t.customControlIndex=p,true}}}return false};if(n("value",1024)||n("checked",2048))return}}function kd(e,t){return hE(e,t)&&gE(e,t+"Change")}function hE(e,t){return t in e.inputs}function gE(e,t){return t in e.outputs}var Ya$2=Symbol("BINDING");var Pp=new A$2("");function wi$4(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Co$3(o,a);else if(i==2){let c=a,l=t[++s];r=Co$3(r,c+": "+l+";");}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o;}function Lr$3(e,t=0){let n=g$2();if(n===null)return Re$2(e,t);let r=V$2();return pf(r,n,$$1(e),t)}function mE(){let e="invalid";throw new Error(e)}function Lp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}IE(e,t,n,a,i,c,l);}i!==null&&r!==null&&yE(n,r,i);}function yE(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new _$2(-301,false);r.push(t[o],i);}}function vE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index);}function IE(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Ce$2(f)&&(c=f,vE(e,n,p)),Ra$2(di$3(n,t),e,f.type);}bE(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f);}let l=false,u=false,d=up(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=wn$2(n.mergedAttrs,f.hostAttrs),DE(e,n,t,d,f),CE(d,f,o),s!==null&&s.has(f)){let[m,T]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,T+n.directiveStart]);}else (i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=true),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=true),d++;}EE(e,n,i);}function EE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Od(0,t,o,r),Od(1,t,o,r),Ld(t,r,false);else {let i=n.get(o);Pd(0,t,i,r),Pd(1,t,i,r),Ld(t,r,true);}}}function Od(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Fp(t,i);}}function Pd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Fp(t,s);}}function Fp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16);}function Ld(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||wc$1(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2;}e.initialInputs??=[],e.initialInputs.push(s);}function DE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Xe$2(o.type)),s=new $t$3(i,Ce$2(o),Lr$3,null);e.blueprint[r]=s,n[r]=s,wE(e,t,r,up(e,n,o.hostVars,Q),o);}function wE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;TE(s)!=a&&s.push(a),s.push(n,r,i);}}function TE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function CE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ce$2(t)&&(n[""]=e);}}function bE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t;}function Gc$1(e,t,n,r,o,i,s,a){let c=t[y],l=c.consts,u=ae$2(l,s),d=Qt$2(c,e,n,r,u);return Lp(c,t,d,ae$2(l,a),o),d.mergedAttrs=wn$2(d.mergedAttrs,d.attrs),d.attrs!==null&&wi$4(d,d.attrs,false),d.mergedAttrs!==null&&wi$4(d,d.mergedAttrs,true),c.queries!==null&&c.queries.elementStart(c,d),d}function zc$1(e,t){rf(e,t),Qs$1(t)&&e.queries.elementEnd(t);}function _E(e,t,n,r,o,i){let s=t.consts,a=ae$2(s,o),c=Qt$2(t,e,n,r,a);if(c.mergedAttrs=wn$2(c.mergedAttrs,c.attrs),i!=null){let l=ae$2(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1);}return c.attrs!==null&&wi$4(c,c.attrs,false),c.mergedAttrs!==null&&wi$4(c,c.mergedAttrs,true),t.queries!==null&&t.queries.elementStart(t,c),c}var jp=typeof ShadowRoot<"u",ME=typeof Document<"u";function SE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ji$4.SignalBased)!==0};return o&&(i.transform=o),i})}function NE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function xE(e,t,n){let r=t instanceof ue$2?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new vi$3(n,r):n}function AE(e){let t=e.get(Cr$2,null);if(t===null)throw new _$2(407,false);let n=e.get(xp,null),r=e.get(Be$1,null),o=e.get(kn$3,null,{optional:true});return {rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:false,tracingService:o}}function RE(e,t){let n=Vp(e);return Ff(t,n,n==="svg"?Zs$1:n==="math"?Au:null)}function kE(e){if(e?.toLowerCase()==="script")throw new _$2(905,false)}function Vp(e){return (e.selectors[0][0]||"div").toLowerCase()}var _n$2=class _n{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=SE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=NE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Lv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n;}create(t,n,r,o,i,s){P$1(x$1.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,l=xE(c,o||this.ngModule,t),u=AE(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Ap(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{v(a);}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=OE(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?II(l,o,a.encapsulation,n):RE(a,l);kE(u?.tagName);let d=n.get(Pp,null),p=PE(u,()=>n.get(Wo$2,null)??vc$1());d&&d.addHost(p);let f=s?.some(Fd)||i?.some(T=>typeof T!="function"&&T.bindings.some(Fd)),h=Pc$1(null,c,null,512|lp(a),null,null,t,l,n,null,Mf(u,n,true));d&&jp&&p instanceof ShadowRoot&&Fo$2(h,()=>{d.removeHost(p);}),h[L$2]=u,Bo$2(h);let m=null;try{let T=Gc$1(L$2,h,2,"#host",()=>c.directiveRegistry,!0,0);Hf(l,u,T),Tn$2(u,h),Vi$4(c,h,T),Ic$1(c,T,h),zc$1(c,T),r!==void 0&&FE(T,this.ngContentSelectors,r),m=ye$2(T.index,h),h[F$1]=m[F$1],Bc$1(c,h,null);}catch(T){throw m!==null&&Oa$2(m),Oa$2(h),T}finally{P$1(x$1.DynamicComponentEnd),$o$2();}return new Ti$4(this.componentType,h,!!f)}};function OE(e,t,n,r){let o=e?["ng-version","22.0.8"]:Fv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ya$2].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ya$2].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p));}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Mo$3(d);c.push(p);}return Oc$1(0,null,LE(i,s),1,a,c,null,null,null,[o],null)}function PE(e,t){let n=e.getRootNode?.();return ME&&n instanceof Document?n.head:n&&jp&&n instanceof ShadowRoot?n:t().head}function LE(e,t){return !e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update();}}function Fd(e){let t=e[Ya$2].kind;return t==="input"||t==="twoWay"}var Ti$4=class Ti extends Np{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Oo$2(n[y],L$2),this.location=An$2(this._tNode,n),this.instance=ye$2(this._tNode.index,n)[F$1],this.hostView=this.changeDetectorRef=new ut$3(n,void 0),this.componentType=t;}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;Hc$1(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=ye$2(r.index,o);$c$1(s,1);}get injector(){return new ct$1(this._tNode,this._rootLView)}destroy(){this.hostView.destroy();}onDestroy(t){this.hostView.onDestroy(t);}};function FE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null);}}var Bi$3=(()=>{class e{static __NG_ELEMENT_ID__=jE}return e})();function jE(){let e=V$2();return Hp(e,g$2())}var Ka$2=class e extends Bi$3{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r;}get element(){return An$2(this._hostTNode,this._hostLView)}get injector(){return new ct$1(this._hostTNode,this._hostLView)}get parentInjector(){let t=mc$1(this._hostTNode,this._hostLView);if(af(t)){let n=li$3(t,this._hostLView),r=ci$3(t),o=n[y].data[r+8];return new ct$1(o,n)}else return new ct$1(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1);}get(t){let n=jd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j$1}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=yi$4(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,bn$2(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new _n$2(tt$1(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let M=this.parentInjector.get(ue$2,null);M&&(i=M);}let p=tt$1(u.componentType??{}),f=yi$4(this._lContainer,p?.id??null),h=null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,c,bn$2(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,true)}insertImpl(t,n,r){let o=t._lView;if(ku(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else {let c=o[U$2],l=new e(c,c[Y$1],c[U$2]);l.detach(l.indexOf(t));}}let i=this._adjustIndex(n),s=this._lContainer;return Pr$3(s,o,i,r),t.attachToViewContainerRef(),Vs$1(Ta$2(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=jd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=wr$3(this._lContainer,n);r&&(Xn$2(Ta$2(this._lContainer),n),Li$3(r[y],r));}detach(t){let n=this._adjustIndex(t,-1),r=wr$3(this._lContainer,n);return r&&Xn$2(Ta$2(this._lContainer),n)!=null?new ut$3(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jd(e){return e[rr$4]}function Ta$2(e){return e[rr$4]||(e[rr$4]=[])}function Hp(e,t){let n,r=t[e.index];return ge$1(r)?n=r:(n=Cp(r,t,null,e),t[e.index]=n,Lc$1(t,n)),HE(n,t,e,r),new Ka$2(n,e,t)}function VE(e,t){let n=e[R$1],r=n.createComment(""),o=te(t,e),i=n.parentNode(o);return pi$3(n,i,r,n.nextSibling(o),false),r}var HE=UE;function UE(e,t,n,r){if(e[it$1])return;let o;n.type&8?o=me$1(r):o=VE(t,n),e[it$1]=o;}var Ja$2=class e{queryList;matches=null;constructor(t){this.queryList=t;}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty();}},Xa$2=class e{queries;constructor(t=[]){this.queries=t;}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone());}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t);}detachView(t){this.dirtyQueriesWithMatches(t);}finishViewCreation(t){this.dirtyQueriesWithMatches(t);}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Zc$1(t,n).matches!==null&&this.queries[n].setDirty();}},Ci$3=class Ci{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=QE(t):this.predicate=t;}},ec$1=class e{queries;constructor(t=[]){this.queries=t;}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n);}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t);}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i]);}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n);}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t);}},tc$1=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=false;_declarationNodeIndex;_appliesToNextNode=true;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n;}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n);}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=false);}template(t,n){this.elementStart(t,n);}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=true,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,qE(n,i)),this.matchTNodeWithReadOption(t,n,ri$2(n,t,i,false,false));}else r===Tr$3?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ri$2(n,t,r,false,false));}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Nr$3||o===Bi$3||o===Tr$3&&n.type&4)this.addMatch(n.index,-2);else {let i=ri$2(n,t,o,false,false);i!==null&&this.addMatch(n.index,i);}else this.addMatch(n.index,r);}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n);}};function qE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function WE(e,t){return e.type&11?An$2(e,t):e.type&4?Hi$3(e,t):null}function GE(e,t,n,r){return n===-1?WE(t,e):n===-2?zE(e,t,r):vr$3(e,e[y],n,t)}function zE(e,t,n){if(n===Nr$3)return An$2(t,e);if(n===Tr$3)return Hi$3(t,e);if(n===Bi$3)return Hp(t,e)}function Bp(e,t,n,r){let o=t[Oe$2].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else {let u=i[l];a.push(GE(t,u,s[c+1],n.metadata.read));}}o.matches=a;}return o.matches}function nc$1(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Bp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else {let l=i[a+1],u=t[-c];for(let d=j$1;d<u.length;d++){let p=u[d];p[ot$1]===p[U$2]&&nc$1(p[y],p,l,r);}if(u[kt$2]!==null){let d=u[kt$2];for(let p=0;p<d.length;p++){let f=d[p];nc$1(f[y],f,l,r);}}}}}return r}function Qc(e,t){return e[Oe$2].queries[t].queryList}function $p(e,t,n){let r=new fi$3((n&4)===4);return Lu(e,t,r,r.destroy),(t[Oe$2]??=new Xa$2).queries.push(new Ja$2(r))-1}function Up(e,t,n){let r=O$2();return r.firstCreatePass&&(Wp(r,new Ci$3(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=true)),$p(r,g$2(),t)}function qp(e,t,n,r){let o=O$2();if(o.firstCreatePass){let i=V$2();Wp(o,new Ci$3(t,n,r),i.index),ZE(o,e),(n&2)===2&&(o.staticContentQueries=true);}return $p(o,g$2(),n)}function QE(e){return e.split(",").map(t=>t.trim())}function Wp(e,t,n){e.queries===null&&(e.queries=new ec$1),e.queries.track(new tc$1(t,n));}function ZE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t);}function Zc$1(e,t){return e.queries.getByIndex(t)}function Gp(e,t){let n=e[y],r=Zc$1(n,t);return r.crossesNgTemplate?nc$1(n,e,t,[]):Bp(n,e,r,t)}function zp(e,t,n){let r,o=qn$2(()=>{r._dirtyCounter();let i=YE(r,e);if(t&&i===void 0)throw new _$2(-951,false);return i});return r=o[B],r._dirtyCounter=Go$2(0),r._flatValue=void 0,o}function Yc$1(e){return zp(true,false)}function Kc$1(e){return zp(true,true)}function Qp(e,t){let n=e[B];n._lView=g$2(),n._queryIndex=t,n._queryList=Qc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1));}function YE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:Z$1;let o=Qc(n,r),i=Gp(n,r);return o.reset(i,yf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Jc$1(e){return !!e&&typeof e.then=="function"}function Zp(e){return !!e&&typeof e.subscribe=="function"}var Mn$2=class Mn{},Yp=class{};var bi$4=class bi extends Mn$2{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=true){super(),this.ngModuleType=t,this._parent=n;let i=gu(t);this._bootstrapComponents=bv(i.bootstrap),this._r3Injector=ha$2(t,n,[{provide:Mn$2,useValue:this},...r],Kn$3(t),new Set(["environment"])),o&&this.resolveInjectorInitializers();}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType);}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null;}onDestroy(t){this.destroyCbs.push(t);}},_i$3=class _i extends Yp{moduleType;constructor(t){super(),this.moduleType=t;}create(t){return new bi$4(this.moduleType,t,[])}};var br$3=class br extends Mn$2{injector;instance=null;constructor(t){super();let n=new St$3([...t.providers,{provide:Mn$2,useValue:this}],t.parent||pn$3(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers();}destroy(){this.injector.destroy();}onDestroy(t){this.injector.onDestroy(t);}};function Kp(e,t,n=null){return new br$3({providers:e,parent:t,debugName:n,runEnvironmentInitializers:true}).injector}var KE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n;}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Bs$1(false,n.type),o=r.length>0?Kp([r],this._injector,""):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();}}static \u0275prov=ie$2({token:e,providedIn:"environment",factory:()=>new e(Re$2(ue$2))})}return e})();function JE(e){return Mr$3(()=>{let t=Jp(e),n=s(r({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==yc$1.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(KE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??false,data:e.data||{},encapsulation:e.encapsulation||Ut$2.Emulated,styles:e.styles||Z$1,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&le$1("NgStandalone"),Xp(n);let r$1=e.dependencies;return n.directiveDefs=Vd$1(r$1,XE),n.pipeDefs=Vd$1(r$1,mu),n.id=iD(n),n})}function XE(e){return tt$1(e)||Mo$3(e)}function eD(e){return Mr$3(()=>({type:e.type,bootstrap:e.bootstrap||Z$1,declarations:e.declarations||Z$1,imports:e.imports||Z$1,exports:e.exports||Z$1,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function tD(e,t){if(e==null)return nt$1;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ji$4.None,c=null),n[i]=[r,a,c],t[i]=s;}return n}function nD(e){if(e==null)return nt$1;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function rD(e){return Mr$3(()=>{let t=Jp(e);return Xp(t),t})}function oD(e){return {type:e.type,name:e.name,factory:null,pure:e.pure!==false,standalone:e.standalone??true,onDestroy:e.type.prototype.ngOnDestroy||null}}function Jp(e){let t={};return {type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||nt$1,exportAs:e.exportAs||null,standalone:e.standalone??true,signals:e.signals===true,selectors:e.selectors||Z$1,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:tD(e.inputs,t),outputs:nD(e.outputs),debugInfo:null}}function Xp(e){e.features?.forEach(t=>t(e));}function Vd$1(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i);}return r}:null}function iD(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var eh=new A$2("");var Xc$1=(()=>{class e{resolve;reject;initialized=false;done=false;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r;});appInits=C$2(eh,{optional:true})??[];injector=C$2(De$2);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ro$3(this.injector,o);if(Jc$1(i))n.push(i);else if(Zp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c});});n.push(s);}}let r=()=>{this.done=true,this.resolve();};Promise.all(n).then(()=>{r();}).catch(o=>{this.reject(o);}),n.length===0&&r(),this.initialized=true;}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Sr$3({token:e,factory:e.\u0275fac})}return e})();function sD(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r);},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r);},passThroughInput:e};}}function aD(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=cD,n.hostDirectives=r?e.map(rc$1):[e]):r?n.hostDirectives.unshift(...e.map(rc$1)):n.hostDirectives.unshift(e);};return t.ngInherit=true,t}function cD(e){let t=[],n=false,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,th(s,t,r,e),o.set(s,[a,t.length-1]);}i===0&&Ce$2(s)&&(n=true,t.push(s));}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{lD(s.declaredInputs,i.inputs);}),[t,r,o]}function th(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)Hd(rc$1(s),t,n,r);}else Hd(o,t,n,r);}function Hd(e,t,n,r){let o=Mo$3(e.directive);if(th(o,t,n,r),n.has(o)){let i=n.get(o);Bd(i,e.inputs,"input"),Bd(i,e.outputs,"output");}else r.includes(o)||(n.set(o,e),t.push(o));}function Bd(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i);});}function rc$1(e){return typeof e=="function"?{directive:$$1(e),inputs:{},outputs:{}}:{directive:$$1(e.directive),inputs:$d(e.inputs),outputs:$d(e.outputs)}}function $d(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function lD(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o;}}function uD(e){return Object.getPrototypeOf(e.prototype).constructor}function nh(e){let t=uD(e.type),n=true,r=[e];for(;t;){let o;if(Ce$2(e))o=t.\u0275cmp||t.\u0275dir;else {if(t.\u0275cmp)throw new _$2(903,false);o=t.\u0275dir;}if(o){if(n){r.push(o);let s=e;s.inputs=Ca$1(e.inputs),s.declaredInputs=Ca$1(e.declaredInputs),s.outputs=Ca$1(e.outputs);let a=o.hostBindings;a&&gD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&pD(e,c),l&&hD(e,l),dD(e,o),pu(e.outputs,o.outputs),Ce$2(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation);}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===nh&&(n=false);}}t=Object.getPrototypeOf(t);}fD(r);}function dD(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n]);}}function fD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=wn$2(o.hostAttrs,n=wn$2(n,o.hostAttrs));}}function Ca$1(e){return e===nt$1?{}:e===Z$1?[]:e}function pD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o);}:e.viewQuery=t;}function hD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i);}:e.contentQueries=t;}function gD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o);}:e.hostBindings=t;}function rh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=wn$2(e.mergedAttrs,e.attrs);let u=e.tView=Oc$1(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e));}a&&(e.flags|=a),Lt$1(e,false);let c=yD(n,t);Uo$2()&&Rc$1(n,t,c,e),Tn$2(c,t);let l=Cp(c,t,c,e);t[r+L$2]=l,Lc$1(t,l);}function mD(e,t,n,r,o,i,s,a,c,l,u){let d=n+L$2,p;return t.firstCreatePass?(p=Qt$2(t,d,4,s||null,a||null),Lp(t,e,p,ae$2(t.consts,l),Fc$1),rf(t,p)):p=t.data[d],rh(p,e,t,n,r,o,i,c),mn$3(p)&&Vi$4(t,e,p),l!=null&&kr$3(e,p,u),p}function Sn$2(e,t,n,r,o,i,s,a,c,l,u){let d=n+L$2,p;if(t.firstCreatePass){if(p=Qt$2(t,d,4,s||null,a||null),l!=null){let f=ae$2(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1);}}else p=t.data[d];return rh(p,e,t,n,r,o,i,c),l!=null&&kr$3(e,p,u),p}function oh(e,t,n,r,o,i,s,a){let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return mD(c,l,e,t,n,r,o,u,void 0,s,a),oh}function ih(e,t,n,r,o,i,s,a){let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return Sn$2(c,l,e,t,n,r,o,u,void 0,s,a),ih}var yD=vD;function vD(e,t,n,r){return lr$4(true),t[R$1].createComment("")}var ID=(()=>{class e{log(n){console.log(n);}warn(n){console.warn(n);}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ie$2({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var sh=new A$2("");var ah=new A$2("");function ch(){ps$1(()=>{let e="";throw new _$2(600,e)});}var ED=10;var $i$3=(()=>{class e{_runningTick=false;_destroyed=false;_destroyListeners=[];_views=[];internalErrorHandler=C$2(jt$2);afterRenderManager=C$2(Nc$1);zonelessEnabled=C$2(fr$3);rootEffectScheduler=C$2(zo$2);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=false;afterTick=new re;get allViews(){return [...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C$2(Ft$2);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Me$2(n=>!n))}constructor(){C$2(kn$3,{optional:true});}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r();}});}).finally(()=>{n.unsubscribe();})}_injector=C$2(ue$2);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=De$2.NULL){return this._injector.get(oe$3).run(()=>{if(P$1(x$1.BootstrapComponentStart),!this._injector.get(Xc$1).done){let M="";throw new _$2(405,M)}let a=tt$1(n),c=this._injector.get(Mn$2),l=new _n$2(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=DD(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),m=h.location.nativeElement,T=h.injector.get(sh,null);return T?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),mr$3(this.components,h),T?.unregisterApplication(m);}),this._loadComponent(h),P$1(x$1.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick();}_tick(){P$1(x$1.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Oi$4.CHANGE_DETECTION,this.tickImpl):this.tickImpl();}tickImpl=()=>{if(this._runningTick)throw P$1(x$1.ChangeDetectionEnd),new _$2(101,false);let n=v(null);try{this._runningTick=!0,this.synchronize();}finally{this._runningTick=false,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),P$1(x$1.ChangeDetectionEnd);}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Cr$2,null,{optional:true}));let n=0;for(;this.dirtyFlags!==0&&n++<ED;){P$1(x$1.ChangeDetectionSyncStart);try{this.synchronizeOnce();}finally{P$1(x$1.ChangeDetectionSyncEnd);}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=false;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!sr$4(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ep(o,i),n=true;}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews();}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>sr$4(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8;}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this);}detachView(n){let r=n;mr$3(this._views,r),r.detachFromAppRef();}_loadComponent(n){this.attachView(n.hostView);try{this.tick();}catch(o){this.internalErrorHandler(o);}this.components.push(n),this._injector.get(ah,[]).forEach(o=>o(n));}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy());}finally{this._destroyed=true,this._views=[],this._destroyListeners=[];}}onDestroy(n){return this._destroyListeners.push(n),()=>mr$3(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _$2(406,false);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy();}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Sr$3({token:e,factory:e.\u0275fac})}return e})();function DD(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function mr$3(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1);}function lh(e,t,n,r){let o=g$2(),i=qe$1();if(ce$2(o,i,t)){O$2();let a=In$3();MI(a,o,e,t,n,r);}return lh}function ii$3(e){if(le$1("NgAnimateEnter"),!Rn$3)return ii$3;let t=g$2();if(Cc$1(t))return ii$3;let n=V$2(),r=t[q$2].get(oe$3);return Sc$1(bd(t),n,()=>wD(t,n,e,r)),xc$1(t[q$2]),rp(t[q$2],bd(t)),ii$3}function wD(e,t,n,r){let o=te(t,e),i=e[R$1],s=Qf(n),a=[],c=false,l=d=>{if(Er$3(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,u);});},u=d=>{Er$3(d)===o&&(Mc$1(d,o)&&(c=true),TD(d,o,i));};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l));}),Bv(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Kf(o,Ht$3,Rn$3),!Ht$3.has(o))){for(let d of s)i.removeClass(o,d);bc$1(o);}});});}}function TD(e,t,n){let r=Cn$2.get(t);if(!(Er$3(e)!==t||!r)&&Mc$1(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);bc$1(t);}}function si$3(e){if(le$1("NgAnimateLeave"),!Rn$3)return si$3;let t=g$2();if(Cc$1(t))return si$3;let r=V$2(),o=t[q$2].get(oe$3);return Sc$1(qt$2(t),r,()=>CD(t,r,e,o)),xc$1(t[q$2]),si$3}function CD(e,t,n,r){let{promise:o,resolve:i}=qo$3(),s=te(t,e),a=e[R$1];lt$1.add(e[pe$2]),(qt$2(e).get(t.index).resolvers??=[]).push(i);let c=Qf(n);return c&&c.length>0?bD(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function bD(e,t,n,r,o,i){Uv(e,o);let s=[],a=qt$2(n).get(t.index)?.resolvers,c,l=false,u=d=>{if(!(Er$3(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Mc$1(d,e))){if(l=true,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Ht$3.delete(e),Wa$2(t,e),Array.isArray(t.projection))for(let f of r)o.removeClass(e,f);Ga$2(a,s),za$2(n,t);}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u));}),_c$1(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;Kf(e,Ht$3,Rn$3);let d=Ht$3.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"));},d.duration+50),s.push(()=>clearTimeout(c))):(Wa$2(t,e),Ga$2(a,s),za$2(n,t));});});}function oc$1(e){if(le$1("NgAnimateLeave"),!Rn$3)return oc$1;let t=g$2(),n=V$2();lt$1.add(t[pe$2]);let r=t[q$2].get(oe$3),o=t[q$2].get(Gf);return Sc$1(qt$2(t),n,()=>_D(t,n,e,r,o)),xc$1(t[q$2]),oc$1}function _D(e,t,n,r,o){let{promise:i,resolve:s}=qo$3(),a=te(t,e),c=[],l=e[R$1],u=Cc$1(e);(qt$2(e).get(t.index).resolvers??=[]).push(s);let d=qt$2(e).get(t.index)?.resolvers;if(u)Xo$2(e,t,a,d,c);else {let p=setTimeout(()=>Xo$2(e,t,a,d,c),o),f={target:a,animationComplete:()=>{Xo$2(e,t,a,d,c),clearTimeout(p);}};_c$1(t,a),r.runOutsideAngular(()=>{c.push(l.listen(a,"animationend",()=>{Xo$2(e,t,a,d,c),clearTimeout(p);},{once:true}));}),n.call(e[F$1],f);}return {promise:i,resolve:s}}function MD(){return g$2()[K][F$1]}var ic$1=class ic{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s);}else this.attach(r,i);}move(t,n){this.attach(n,this.detach(t));}};function ba$2(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function SD(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){v(r);let l=t.length-1;for(v(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=ba$2(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],m=ba$2(a,f,l,h,n);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let T=n(s,u),M=n(a,f),ve=n(s,d);if(Object.is(ve,M)){let Gi=n(l,h);Object.is(Gi,T)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Mi$4,i??=qd(e,s,a,n),sc$1(e,o,s,ve))e.updateValue(s,d),s++,a++;else if(i.has(ve))o.set(T,e.detach(s)),a--;else {let Gi=e.create(s,t[s]);e.attach(s,Gi),s++,a++;}}for(;s<=l;)Ud(e,o,n,s,t[s]),s++;}else if(t!=null){v(r);let l=t[Symbol.iterator]();v(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=ba$2(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else {o??=new Mi$4,i??=qd(e,s,a,n);let h=n(s,p);if(sc$1(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else {let m=n(s,d);o.set(m,e.detach(s)),a--;}}}for(;!u.done;)Ud(e,o,n,e.length,u.value),u=l.next();}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l);});}function sc$1(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),true):false}function Ud(e,t,n,r,o){if(sc$1(e,t,r,n(r,o)))e.updateValue(r,o);else {let i=e.create(r,o);e.attach(r,i);}}function qd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Mi$4=class Mi{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return false;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),true}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n);}else this.kvMap.set(t,n);}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n);}}};function ND(e,t,n,r,o,i,s,a){le$1("NgControlFlow");let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return Sn$2(c,l,e,t,n,r,o,u,256,s,a),el$1}function el$1(e,t,n,r,o,i,s,a){le$1("NgControlFlow");let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return Sn$2(c,l,e,t,n,r,o,u,512,s,a),el$1}function xD(e,t){le$1("NgControlFlow");let n=g$2(),r=qe$1(),o=n[r]!==Q?n[r]:-1,i=o!==-1?Si$4(n,L$2+o):void 0,s=0;if(ce$2(n,r,e)){let a=v(null);try{if(i!==void 0&&_p(i,s),e!==-1){let c=L$2+e,l=Si$4(n,c),u=uc$1(n[y],c),d=Sp(l,u,n),p=Or$3(n,u,t,{dehydratedView:d});Pr$3(l,p,s,bn$2(u,d));}}finally{v(a);}}else if(i!==void 0){let a=bp(i,s);a!==void 0&&(a[F$1]=t);}}var ac$1=class ac{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r;}get $count(){return this.lContainer.length-j$1}};function AD(e){return e}function RD(e,t){return t}var cc$1=class cc{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r;}};function kD(e,t,n,r,o,i,s,a,c,l,u,d,p){le$1("NgControlFlow");let f=g$2(),h=O$2(),m=c!==void 0,T=g$2(),M=a?s.bind(T[K][F$1]):s,ve=new cc$1(m,M);T[L$2+e]=ve,Sn$2(f,h,e+1,t,n,r,o,ae$2(h.consts,i),256),m&&Sn$2(f,h,e+2,c,l,u,d,ae$2(h.consts,p),512);}var lc$1=class lc extends ic$1{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=false;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r;}get length(){return this.lContainer.length-j$1}at(t){return this.getLView(t)[F$1].$implicit}attach(t,n){let r=n[xt$2];this.needsIndexUpdate||=t!==this.length,Pr$3(this.lContainer,n,t,bn$2(this.templateTNode,r)),PD(this.lContainer,t);}detach(t){return this.needsIndexUpdate||=t!==this.length-1,LD(this.lContainer,t),FD(this.lContainer,t)}create(t,n){let r=yi$4(this.lContainer,this.templateTNode.tView.ssrId);return Or$3(this.hostLView,this.templateTNode,new ac$1(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Li$3(t[y],t);}updateValue(t,n){this.getLView(t)[F$1].$implicit=n;}reset(){this.needsIndexUpdate=false;}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[F$1].$index=t;}getLView(t){return jD(this.lContainer,t)}};function OD(e){let t=v(null),n=be$2();try{let r=g$2(),o=r[y],i=r[n],s=n+1,a=Si$4(r,s);if(i.liveCollection===void 0){let l=uc$1(o,s);i.liveCollection=new lc$1(a,r,l);}else i.liveCollection.reset();let c=i.liveCollection;if(SD(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=qe$1(),u=c.length===0;if(ce$2(r,l,u)){let d=n+2,p=Si$4(r,d);if(u){let f=uc$1(o,d),h=Sp(p,f,r),m=Or$3(r,f,void 0,{dehydratedView:h});Pr$3(p,m,0,bn$2(f,h));}else o.firstUpdatePass&&JI(p),_p(p,0);}}}finally{v(t);}}function Si$4(e,t){return e[t]}function PD(e,t){if(e.length<=j$1)return;let n=j$1+t,r=e[n],o=r?r[he$2]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[q$2];Jv(i,o),lt$1.delete(r[pe$2]),o.detachedLeaveAnimationFns=void 0;}}function LD(e,t){if(e.length<=j$1)return;let n=j$1+t,r=e[n],o=r?r[he$2]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[]);}function FD(e,t){return wr$3(e,t)}function jD(e,t){return bp(e,t)}function uc$1(e,t){return Oo$2(e,t)}function uh(e,t,n){let r=g$2(),o=qe$1();if(ce$2(r,o,t)){O$2();let s=In$3();pp(s,r,e,t,r[R$1],n);}return uh}function dc$2(e,t,n,r,o){Hc$1(t,e,n,o?"class":"style",r);}function Ni$3(e,t,n,r){let o=g$2(),i=o[y],s=e+L$2,a=i.firstCreatePass?Gc$1(s,o,2,t,Fc$1,jo$2(),n,r):i.data[s];if(Ue$1(a)){let c=o[Te$3].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Ap(l),()=>(Wd(e,t,o,a,r),Ni$3))}}return Wd(e,t,o,a,r),Ni$3}function Wd(e,t,n,r,o){if(jc$1(r,n,e,t,ph),mn$3(r)){let i=n[y];Vi$4(i,n,r),Ic$1(i,r,n);}o!=null&&kr$3(n,r);}function tl$1(){let e=O$2(),t=V$2(),n=Vc$1(t);return e.firstCreatePass&&zc$1(e,n),ra$2(n)&&oa$2(),ta$2(),n.classesWithoutHost!=null&&Iy(n)&&dc$2(e,n,g$2(),n.classesWithoutHost,true),n.stylesWithoutHost!=null&&Ey(n)&&dc$2(e,n,g$2(),n.stylesWithoutHost,false),tl$1}function dh(e,t,n,r){return Ni$3(e,t,n,r),tl$1(),dh}function nl$1(e,t,n,r){let o=g$2(),i=o[y],s=e+L$2,a=i.firstCreatePass?_E(s,i,2,t,n,r):i.data[s];return jc$1(a,o,e,t,ph),r!=null&&kr$3(o,a),nl$1}function rl$2(){let e=V$2(),t=Vc$1(e);return ra$2(t)&&oa$2(),ta$2(),rl$2}function fh(e,t,n,r){return nl$1(e,t,n,r),rl$2(),fh}var ph=(e,t,n,r,o)=>(lr$4(true),Ff(t[R$1],r,pa$2()));function ol$1(e,t,n){let r=g$2(),o=r[y],i=e+L$2,s=o.firstCreatePass?Gc$1(i,r,8,"ng-container",Fc$1,jo$2(),t,n):o.data[i];if(jc$1(s,r,e,"ng-container",VD),mn$3(s)){let a=r[y];Vi$4(a,r,s),Ic$1(a,s,r);}return n!=null&&kr$3(r,s),ol$1}function il$2(){let e=O$2(),t=V$2(),n=Vc$1(t);return e.firstCreatePass&&zc$1(e,n),il$2}function hh(e,t,n){return ol$1(e,t,n),il$2(),hh}var VD=(e,t,n,r,o)=>(lr$4(true),vv(t[R$1],""));function HD(){return g$2()}function gh(e,t,n){let r=g$2(),o=qe$1();if(ce$2(r,o,t)){O$2();let s=In$3();hp(s,r,e,t,r[R$1],n);}return gh}var pr$3=void 0;function BD(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var $D=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],pr$3,[["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"]],pr$3,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",pr$3,pr$3,pr$3],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",BD],yr$3=Object.create(null);function UD(e,t,n){typeof t!="string"&&(n=t,t=e[fc$2.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),yr$3[t]=e,n&&(yr$3[t][fc$2.ExtraData]=n);}function qD(e){let t=WD(e),n=Gd(t);if(n)return n;let r=t.split("-")[0];if(n=Gd(r),n)return n;if(r==="en")return $D;throw new _$2(701,false)}function Gd(e){if(!(e in yr$3)){let t=ke$2.ng&&ke$2.ng.common&&ke$2.ng.common.locales&&ke$2.ng.common.locales[e];return t!==void 0&&(yr$3[e]=t),t}return yr$3[e]}var fc$2={LocaleId:0,NumberSymbols:13,NumberFormats:14,ExtraData:21};function WD(e){return e.toLowerCase().replace(/_/g,"-")}var Fr$3="en-US";function mh(e){typeof e=="string"&&(e.toLowerCase().replace(/_/g,"-"));}function yh(e,t,n){let r=g$2(),o=O$2(),i=V$2();return Ih(o,r,r[R$1],i,e,t,n),yh}function vh(e,t,n){let r=g$2(),o=O$2(),i=V$2();return (i.type&3||n)&&Wc(i,o,r,n,r[R$1],e,t,Bt$2(i,r,t)),vh}function Ih(e,t,n,r,o,i,s){let a=true,c=null;if((r.type&3||s)&&(c??=Bt$2(r,t,i),Wc(r,e,t,s,n,o,i,c)&&(a=false)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Bt$2(r,t,i),Ei$4(r,t,p,f,o,c);}if(l&&l.length)for(let d of l)c??=Bt$2(r,t,i),Ei$4(r,t,d,o,o,c);}}function zD(e=1){return Yu(e)}function QD(e,t){let n=null,r=Av(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?qf(e,i,true):Ov(r,i))return o}return n}function ZD(e){let t=g$2()[K][Y$1];if(!t.projection){let n=e?e.length:1,r=t.projection=wu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?QD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i);}i=i.next;}}}function YD(e,t=0,n,r,o,i){let s=g$2(),a=O$2(),c=r?e+1:null;c!==null&&Sn$2(s,a,c,r,o,i,null,n);let l=Qt$2(a,L$2+e,16,null,n||null);l.projection===null&&(l.projection=t),aa$2();let d=!s[xt$2]||na$2();s[K][Y$1].projection[l.projection]===null&&c!==null?KD(s,a,c):d&&!Ai$3(l)&&fI(a,s,l);}function KD(e,t,n){let r=L$2+n,o=t.data[r],i=e[r],s=yi$4(i,o.tView.ssrId),a=Or$3(e,o,void 0,{dehydratedView:s});Pr$3(i,a,0,bn$2(o,s));}function Eh(e,t,n,r){return qp(e,t,n,r),Eh}function Dh(e,t,n){return Up(e,t,n),Dh}function JD(e){let t=g$2(),n=O$2(),r=Ho$2();cr$4(r+1);let o=Zc$1(n,r);if(e.dirty&&Ru(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else {let i=Gp(t,r);e.reset(i,yf),e.notifyOnChanges();}return true}return false}function XD(){return Qc(g$2(),Ho$2())}function wh(e,t,n,r,o){return Qp(t,qp(e,n,r,o)),wh}function Th(e,t,n,r){return Qp(e,Up(t,n,r)),Th}function ew(e=1){cr$4(Ho$2()+e);}function tw(e){let t=ca$2();return or$4(t,L$2+e)}function ei$3(e,t){return e<<17|t<<2}function Gt$3(e){return e>>17&32767}function nw(e){return (e&2)==2}function rw(e,t){return e&131071|t<<17}function pc$1(e){return e|2}function Nn$3(e){return (e&131068)>>2}function _a$2(e,t){return e&-131069|t<<2}function ow(e){return (e&1)===1}function hc$2(e){return e|1}function iw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Gt$3(s),c=Nn$3(s);e[r]=n;let l=false,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||fn$2(d,u)>0)&&(l=true);}else u=n;if(o)if(c!==0){let p=Gt$3(e[a+1]);e[r+1]=ei$3(p,a),p!==0&&(e[p+1]=_a$2(e[p+1],r)),e[a+1]=rw(e[a+1],r);}else e[r+1]=ei$3(a,0),a!==0&&(e[a+1]=_a$2(e[a+1],r)),a=r;else e[r+1]=ei$3(c,0),a===0?a=r:e[c+1]=_a$2(e[c+1],r),c=r;l&&(e[r+1]=pc$1(e[r+1])),zd(e,u,r,true),zd(e,u,r,false),sw(t,u,e,r,i),s=ei$3(a,c),i?t.classBindings=s:t.styleBindings=s;}function sw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&fn$2(i,t)>=0&&(n[r+1]=hc$2(n[r+1]));}function zd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Gt$3(o):Nn$3(o),a=false;for(;s!==0&&(a===false||i);){let c=e[s],l=e[s+1];aw(c,t)&&(a=true,e[s+1]=r?hc$2(l):pc$1(l)),s=r?Gt$3(l):Nn$3(l);}a&&(e[n+1]=r?pc$1(o):hc$2(o));}function aw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?true:Array.isArray(e)&&typeof t=="string"?fn$2(e,t)>=0:false}var W$2={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ch(e){return e.substring(W$2.key,W$2.keyEnd)}function cw(e){return e.substring(W$2.value,W$2.valueEnd)}function lw(e){return Mh(e),bh(e,xn$3(e,0,W$2.textEnd))}function bh(e,t){let n=W$2.textEnd;return n===t?-1:(t=W$2.keyEnd=dw(e,W$2.key=t,n),xn$3(e,t,n))}function uw(e){return Mh(e),_h(e,xn$3(e,0,W$2.textEnd))}function _h(e,t){let n=W$2.textEnd,r=W$2.key=xn$3(e,t,n);return n===r?-1:(r=W$2.keyEnd=fw(e,r,n),r=Qd(e,r,n),r=W$2.value=xn$3(e,r,n),r=W$2.valueEnd=pw(e,r,n),Qd(e,r,n))}function Mh(e){W$2.key=0,W$2.keyEnd=0,W$2.value=0,W$2.valueEnd=0,W$2.textEnd=e.length;}function xn$3(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function dw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function fw(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Qd(e,t,n,r){return t=xn$3(e,t,n),t<n&&t++,t}function pw(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Zd(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Zd(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33;}return a}function Zd(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s;}throw new Error}function Sh(e,t,n){return xh(e,t,n,false),Sh}function Nh(e,t){return xh(e,t,null,true),Nh}function hw(e){Ah(Oh,gw,e,false);}function gw(e,t){for(let n=uw(t);n>=0;n=_h(t,n))Oh(e,Ch(t),cw(t));}function mw(e){Ah(Tw,yw,e,true);}function yw(e,t){for(let n=lw(t);n>=0;n=bh(t,n))er$4(e,Ch(t),true);}function xh(e,t,n,r){let o=g$2(),i=O$2(),s=ar$4(2);if(i.firstUpdatePass&&kh(i,e,s,r),t!==Q&&ce$2(o,s,t)){let a=i.data[be$2()];Ph(i,a,o,o[R$1],e,o[s+1]=bw(t,n),r,s);}}function Ah(e,t,n,r){let o=O$2(),i=ar$4(2);o.firstUpdatePass&&kh(o,null,i,r);let s=g$2();if(n!==Q&&ce$2(s,i,n)){let a=o.data[be$2()];if(Lh(a,r)&&!Rh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Co$3(c,n||"")),dc$2(o,a,s,n,r);}else Cw(o,a,s,s[R$1],s[i+1],s[i+1]=ww(e,t,n),r,i);}}function Rh(e,t){return t>=e.expandoStartIndex}function kh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[be$2()],s=Rh(e,n);Lh(i,r)&&t===null&&!s&&(t=false),t=vw(o,i,t,r),iw(o,i,t,n,s,r);}}function vw(e,t,n,r){let o=Gu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ma$2(null,e,t,n,r),n=_r$3(n,t.attrs,r),i=null);else {let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ma$2(o,e,t,n,r),i===null){let c=Iw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ma$2(null,e,t,c[1],r),c=_r$3(c,t.attrs,r),Ew(e,t,r,c));}else i=Dw(e,t,r);}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Iw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Nn$3(r)!==0)return e[Gt$3(r)]}function Ew(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Gt$3(o)]=r;}function Dw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=_r$3(r,s,n);}return _r$3(r,t.attrs,n)}function Ma$2(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=_r$3(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function _r$3(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),er$4(e,s,n?true:t[++i]));}return e===void 0?null:e}function ww(e,t,n){if(n==null||n==="")return Z$1;let r=[],o=zt$2(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],true);else if(o instanceof Set)for(let i of o)e(r,i,true);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Oh(e,t,n){er$4(e,t,zt$2(n));}function Tw(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&er$4(e,r,n);}function Cw(e,t,n,r,o,i,s,a){o===Q&&(o=Z$1);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,p!==f&&(h=d,m=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=f),h!==null&&Ph(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null;}}function Ph(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=ow(l)?Yd(c,t,n,o,Nn$3(l),s):void 0;if(!xi$3(u)){xi$3(i)||nw(l)&&(i=Yd(c,null,n,o,a,s));let d=Ys$1(be$2(),n);hI(r,s,d,o,i);}}function Yd(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Q&&(p=d?Z$1:void 0);let f=d?Ao$3(p,r):u===r?p:void 0;if(l&&!xi$3(f)&&(f=Ao$3(c,r)),xi$3(f)&&(a=f,s))return a;let h=e[o+1];o=s?Gt$3(h):Nn$3(h);}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ao$3(c,r));}return a}function xi$3(e){return e!==void 0}function bw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Kn$3(zt$2(e)))),e}function Lh(e,t){return (e.flags&(t?8:16))!==0}function _w(e,t=""){let n=g$2(),r=O$2(),o=e+L$2,i=r.firstCreatePass?Qt$2(r,o,1,t,null):r.data[o],s=Mw(r,n,i,t);n[o]=s,Uo$2()&&Rc$1(r,n,s,i),Lt$1(i,false);}var Mw=(e,t,n,r)=>(lr$4(true),mv(t[R$1],r));function Fh(e,t,n,r=""){return ce$2(e,qe$1(),n)?t+de$1(n)+r:Q}function jh(e,t,n,r,o,i=""){let s=ua$2(),a=Ii$3(e,s,n,o);return ar$4(2),a?t+de$1(n)+r+de$1(o)+i:Q}function Sw(e,t,n,r,o,i,s,a,c,l=""){let u=ua$2(),d=iE(e,u,n,o,s,c);return ar$4(4),d?t+de$1(n)+r+de$1(o)+i+de$1(s)+a+de$1(c)+l:Q}function Vh(e){return sl$2("",e),Vh}function sl$2(e,t,n){let r=g$2(),o=Fh(r,e,t,n);return o!==Q&&Bh(r,be$2(),o),sl$2}function Hh(e,t,n,r,o){let i=g$2(),s=jh(i,e,t,n,r,o);return s!==Q&&Bh(i,be$2(),s),Hh}function Bh(e,t,n){let r=Ys$1(t,e);yv(e[R$1],r,n);}function $h(e,t,n){Zo$2(t)&&(t=t());let r=g$2(),o=qe$1();if(ce$2(r,o,t)){O$2();let s=In$3();pp(s,r,e,t,r[R$1],n);}return $h}function Nw(e,t){let n=Zo$2(e);return n&&e.set(t),n}function Uh(e,t){let n=g$2(),r=O$2(),o=V$2();return Ih(r,n,n[R$1],o,e,t),Uh}var qh={};function Wh(e){le$1("NgLet");let t=O$2(),n=g$2(),r=e+L$2,o=Qt$2(t,r,128,null,null);return Lt$1(o,false),ir$4(t,n,r,qh),Wh}function xw(e){let t=O$2(),n=g$2(),r=be$2();return ir$4(t,n,r,e),e}function Aw(e){let t=ca$2(),n=or$4(t,L$2+e);if(n===qh)throw new _$2(314,false);return n}function Rw(e){return ce$2(g$2(),qe$1(),e)?de$1(e):Q}function kw(e,t,n=""){return Fh(g$2(),e,t,n)}function Ow(e,t,n,r,o=""){return jh(g$2(),e,t,n,r,o)}function Pw(e,t,n,r,o,i,s,a,c=""){return Sw(g$2(),e,t,n,r,o,i,s,a,c)}function Kd(e,t,n){let r=O$2();r.firstCreatePass&&Gh(t,r.data,r.blueprint,Ce$2(e),n);}function Gh(e,t,n,r,o){if(e=$$1(e),Array.isArray(e))for(let i=0;i<e.length;i++)Gh(e[i],t,n,r,o);else {let i=O$2(),s=g$2(),a=V$2(),c=Mt$2(e)?e:$$1(e.provide),l=qs$1(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Mt$2(e)||!e.multi){let f=new $t$3(l,o,Lr$3,null),h=Na$2(c,t,u+p,d);h===-1?(Ra$2(di$3(a,s),i,c),Sa$2(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(f),s.push(f)):(n[h]=f,s[h]=f);}else {let f=Na$2(c,t,u+p,d),h=Na$2(c,t,u,u+p),m=f>=0&&n[f],T=h>=0&&n[h];if(!m){Ra$2(di$3(a,s),i,c);let M=jw(Lw,n.length,o,r,l);T&&(n[h].providerFactory=M),Sa$2(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(M),s.push(M);}else {let M=zh(n[f],l,r);Sa$2(i,e,f>-1?f:h,M);}r&&T&&n[h].componentProviders++;}}}function Sa$2(e,t,n,r){let o=Mt$2(t),i=Su(t);if(o||i){let c=(i?$$1(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c);}else l.push(n,c);}}}function zh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Na$2(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return -1}function Lw(e,t,n,r,o){return gc$1(this.multi,[])}function gc$1(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r());}return t}function jw(e,t,n,r,o,i){let s=new $t$3(e,n,Lr$3,null);return s.multi=[],s.index=t,s.componentProviders=0,zh(s,o,r&&!n),s}function Vw(e,t){return n=>{n.providersResolver=(r,o)=>Kd(r,o?o(e):e,false);}}function Hw(e,t){let n=vn$2()+e,r=g$2();return r[n]===Q?qc$1(r,n,t()):oE(r,n)}function Bw(e,t,n){return Zh(g$2(),vn$2(),e,t,n)}function $w(e,t,n,r){return Yh(g$2(),vn$2(),e,t,n,r)}function Qh(e,t){let n=e[t];return n===Q?void 0:n}function Zh(e,t,n,r,o,i){let s=t+n;return ce$2(e,s,o)?qc$1(e,s+1,i?r.call(i,o):r(o)):Qh(e,s+1)}function Yh(e,t,n,r,o,i,s){let a=t+n;return Ii$3(e,a,o,i)?qc$1(e,a+2,s?r.call(s,o,i):r(o,i)):Qh(e,a+2)}function Uw(e,t){let n=O$2(),r,o=e+L$2;n.firstCreatePass?(r=qw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Xe$2(r.type)),a=ee(Lr$3);try{let c=ui$3(!1),l=i();return ui$3(c),ir$4(n,g$2(),o,l),l}finally{ee(a);}}function qw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Ww(e,t,n){let r=e+L$2,o=g$2(),i=or$4(o,r);return Kh(o,r)?Zh(o,vn$2(),t,i.transform,n,i):i.transform(n)}function Gw(e,t,n,r){let o=e+L$2,i=g$2(),s=or$4(i,o);return Kh(i,o)?Yh(i,vn$2(),t,s.transform,n,r,s):s.transform(n,r)}function Kh(e,t){return e[y].data[t].pure}function zw(e,t){return Hi$3(e,t)}var Jh=(()=>{class e{applicationErrorHandler=C$2(jt$2);appRef=C$2($i$3);taskService=C$2(Ft$2);ngZone=C$2(oe$3);zonelessEnabled=C$2(fr$3);tracing=C$2(kn$3,{optional:true});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:true}}];subscriptions=new H$1;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qn$2):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C$2(va$2,{optional:true})??false);cancelScheduledCallback=null;useMicrotaskScheduler=false;runningTick=false;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n);})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup();}));}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=true,queueMicrotask(()=>{this.useMicrotaskScheduler=false,this.taskService.remove(n);});});}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8;}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?td:ga$2;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()));}shouldScheduleTick(){return !(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qn$2+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick();},void 0,this.schedulerTickApplyArgs);}catch(r){this.applicationErrorHandler(r);}finally{this.taskService.remove(n),this.cleanup();}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup();}cleanup(){if(this.runningTick=false,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n);}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Sr$3({token:e,factory:e.\u0275fac})}return e})();function Xh(){return [{provide:Be$1,useExisting:Jh},{provide:oe$3,useClass:Zn$2},{provide:fr$3,useValue:true}]}var Qw=(()=>{class e{compileModuleSync(n){return new _i$3(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Sr$3({token:e,factory:e.\u0275fac})}return e})();function Zw(){return typeof $localize<"u"&&$localize.locale||Fr$3}var al$1=new A$2("",{factory:()=>C$2(al$1,{optional:true,skipSelf:true})||Zw()});var jr$3=class jr{destroyed=false;listeners=null;errorHandler=C$2(He$2,{optional:true});isEmitting=false;hasNullListeners=false;destroyRef=C$2(at$1);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=true,this.listeners=null;});}subscribe(t){if(this.destroyed)throw new _$2(953,false);return (this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=true,this.listeners[n]=null):this.listeners.splice(n,1));}}}emit(t){if(this.destroyed){console.warn(Yn$3(953,false));return}if(this.listeners===null)return;this.isEmitting=true;let n=v(null);try{for(let r of this.listeners)try{r!==null&&r(t);}catch(o){this.errorHandler?.handleError(o);}}finally{this.hasNullListeners&&(this.hasNullListeners=false,this.listeners&&Yw(this.listeners)),v(n),this.isEmitting=false;}}};function Yw(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--;}function Kw(e,t){return qn$2(e,t?.equal)}function Jw(e){return cu(e)}var Xw=e=>e;function eT(e,t){if(typeof e=="function"){let n=vs$1(e,Xw,t?.equal);return eg(n)}else {let n=vs$1(e.source,e.computation,e.equal);return eg(n,e.debugName)}}function eg(e,t){let n=e[B],r=e;return r.set=o=>su(n,o),r.update=o=>au(n,o),r.asReadonly=ur$4.bind(e),r}var Wi$4=Symbol("InputSignalNode#UNSET"),lg=s(r({},go$3),{transformFn:void 0,applyValueToInputSignal(e,t){Je$2(e,t);}});function ug(e,t){let n=Object.create(lg);n.value=e,n.transformFn=t?.transform;function r(){if(Ye$1(n),n.value===Wi$4){let o=null;throw new _$2(-950,o)}return n.value}return r[B]=n,r}var tg=class{attributeName;constructor(t){this.attributeName=t;}__NG_ELEMENT_ID__=()=>mf(this.attributeName);toString(){return `HostAttributeToken ${this.attributeName}`}};function $0$1(e){return tT(e)?e.default:e}function tT(e){return e&&typeof e=="object"&&"default"in e}function U0$1(e){return new jr$3}function ng(e,t){return ug(e,t)}function nT(e){return ug(Wi$4,e)}var q0$1=(ng.required=nT,ng);function dg(e,t){let n=Object.create(lg),r=new jr$3;n.value=e;function o(){return Ye$1(n),rg(n.value),n.value}return o[B]=n,o.asReadonly=ur$4.bind(o),o.set=i=>{n.equal(n.value,i)||(Je$2(n,i),r.emit(i));},o.update=i=>{rg(n.value),o.set(i(n.value));},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function rg(e){if(e===Wi$4)throw new _$2(952,false)}function og(e,t){return dg(e)}function rT(e){return dg(Wi$4)}var W0$1=(og.required=rT,og);function ig(e,t){return Yc$1()}function oT(e,t){return Kc$1()}var G0$1=(ig.required=oT,ig);function sg(e,t){return Yc$1()}function iT(e,t){return Kc$1()}var z0$1=(sg.required=iT,sg);var cl$2=class cl{supports(t){return Uc$1(t)}create(t){return new ll$1(t)}},aT=(e,t)=>t,ll$1=class ll{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||aT;}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n);}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<ag(r,o,i)?n:r,a=ag(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else {i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1);}let d=s.previousIndex;i[d]=u-l;}}a!==c&&t(s,a,c);}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n);}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n);}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n);}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n);}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n);}diff(t){if(t==null&&(t=[]),!Uc$1(t))throw new _$2(900,false);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=false,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=true):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next;}else o=0,Rp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=true):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++;}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null;}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ul$1(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n;}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(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new qi$4),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new qi$4),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ul$1=class ul{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n;}},dl$2=class dl{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t);}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},qi$4=class qi{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new dl$2,this.map.set(n,r)),r.add(t);}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear();}};function ag(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function cg(){return new cT([new cl$2])}var cT=(()=>{class e{factories;static \u0275prov=ie$2({token:e,providedIn:"root",factory:cg});constructor(n){this.factories=n;}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o);}return new e(n)}static extend(n){return {provide:e,useFactory:()=>{let r=C$2(e,{optional:true,skipSelf:true});return e.create(n,r||cg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _$2(901,false)}}return e})();var Z0$1=(()=>{class e{static __NG_ELEMENT_ID__=lT}return e})();function lT(e){return uT(V$2(),g$2(),(e&16)===16)}function uT(e,t,n){if(Ue$1(e)&&!n){let r=ye$2(e.index,t);return new ut$3(r,r)}else if(e.type&175){let r=t[K];return new ut$3(r,t)}return null}var fl$1=new A$2(""),dT=new A$2("");function Vr$3(e){return !e.moduleRef}function fT(e){let t=Vr$3(e)?e.r3Injector:e.moduleRef.injector,n=t.get(oe$3);return n.run(()=>{Vr$3(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(jt$2),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r});}),Vr$3(e)){let i=()=>t.destroy(),s=e.platformInjector.get(fl$1);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i);});}else {let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(fl$1);s.add(i),e.moduleRef.onDestroy(()=>{mr$3(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i);});}return hT(r,n,()=>{let i=t.get(Ft$2),s=i.add(),a=t.get(Xc$1);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(al$1,Fr$3);if(mh(c||Fr$3),!t.get(dT,!0))return Vr$3(e)?t.get($i$3):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vr$3(e)){let u=t.get($i$3);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return pT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s);})})})}var pT;function hT(e,t,n){try{let r=n();return Jc$1(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ui$4=null;function gT(e=[],t){return De$2.create({name:t,providers:[{provide:Us$1,useValue:"platform"},{provide:fl$1,useValue:new Set([()=>Ui$4=null])},...e]})}function mT(e=[]){if(Ui$4)return Ui$4;let t=gT(e);return Ui$4=t,ch(),yT(t),t}function yT(e){let t=e.get(id,null);Ro$3(e,()=>{t?.forEach(n=>n());});}function Y0$1(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;P$1(x$1.BootstrapApplicationStart);try{let i=o?.injector??mT(r),s=[Xh(),rd,...n||[]],a=new br$3({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return fT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{P$1(x$1.BootstrapApplicationEnd);}}function K0$1(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function J0$1(e,t=NaN){return !isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function X0$1(e,t){let n=tt$1(e),r=t.elementInjector||pn$3();return new _n$2(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var Rn$2=null;function O$1(){return Rn$2}function pt$3(n){Rn$2??=n;}var De$1=class De{},ie$1=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:()=>C$2(Ln$2),providedIn:"platform"})}return n})();var Ln$2=(()=>{class n extends ie$1{_location;_history;_doc=C$2(Wo$2);constructor(){super(),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return O$1().getBaseHref(this._doc)}onPopState(e){let t=O$1().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,false),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=O$1().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,false),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e;}pushState(e,t,i){this._history.pushState(e,t,i);}replaceState(e,t,i){this._history.replaceState(e,t,i);}forward(){this._history.forward();}back(){this._history.back();}historyGo(e=0){this._history.go(e);}getState(){return this._history.state}static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function Pn$2(n,r){return n?r?n.endsWith("/")?r.startsWith("/")?n+r.slice(1):n+r:r.startsWith("/")?n+r:`${n}/${r}`:n:r}function In$2(n){let r=n.search(/#|\?|$/);return n[r-1]==="/"?n.slice(0,r-1)+n.slice(r):n}function U$1(n){return n&&n[0]!=="?"?`?${n}`:n}var je$2=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:()=>C$2(Ar$2),providedIn:"root"})}return n})(),Tr$2=new A$2(""),Ar$2=(()=>{class n extends je$2{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??C$2(Wo$2).location?.origin??"";}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()();}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e));}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Pn$2(this._baseHref,e)}path(e=false){let t=this._platformLocation.pathname+U$1(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,s){let o=this.prepareExternalUrl(i+U$1(s));this._platformLocation.pushState(e,t,o);}replaceState(e,t,i,s){let o=this.prepareExternalUrl(i+U$1(s));this._platformLocation.replaceState(e,t,o);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e);}static \u0275fac=function(t){return new(t||n)(Re$2(ie$1),Re$2(Tr$2,8))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Nn$2=(()=>{class n{_subject=new re;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=Mr$2(In$2(On$2(t))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(true),pop:true,state:i.state,type:i.type});});}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[];}path(e=false){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+U$1(t))}normalize(e){return n.stripTrailingSlash(Fr$2(this._basePath,On$2(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._locationStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+U$1(t)),i);}replaceState(e,t="",i=null){this._locationStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+U$1(t)),i);}forward(){this._locationStrategy.forward();}back(){this._locationStrategy.back();}historyGo(e=0){this._locationStrategy.historyGo?.(e);}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state);}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t));}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t??void 0,complete:i??void 0})}static normalizeQueryParams=U$1;static joinWithSlash=Pn$2;static stripTrailingSlash=In$2;static \u0275fac=function(t){return new(t||n)(Re$2(je$2))};static \u0275prov=ie$2({token:n,factory:()=>_r$2(),providedIn:"root"})}return n})();function _r$2(){return new Nn$2(Re$2(je$2))}function Fr$2(n,r){if(!n||!r.startsWith(n))return r;let e=r.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function On$2(n){return n.replace(/\/index\.html$/,"")}function Mr$2(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}var wt$2=(function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n})(wt$2||{});var R={Decimal:0,Group:1,MinusSign:5,Exponential:6,Infinity:9,CurrencyDecimal:12,CurrencyGroup:13};function se$1(n,r){let e=qD(n),t=e[fc$2.NumberSymbols][r];if(typeof t>"u"){if(r===R.CurrencyDecimal)return e[fc$2.NumberSymbols][R.Decimal];if(r===R.CurrencyGroup)return e[fc$2.NumberSymbols][R.Group]}return t}function kn$2(n,r){return qD(n)[fc$2.NumberFormats][r]}var Lr$2=/^(\d+)?\.((\d+)(-(\d+))?)?$/,xn$2=22,$e$1=".",ye$1="0",Ir$2=";",Or$2=",",mt$3="#";function Pr$2(n,r,e,t,i,s,o=false){let a="",u=false;if(!isFinite(n))a=se$1(e,R.Infinity);else {let c=kr$2(n);o&&(c=xr$2(c));let l=r.minInt,d=r.minFrac,y=r.maxFrac;if(s){let C=s.match(Lr$2);if(C===null)throw new _$2(2306,false);let x=C[1],F=C[3],k=C[5];x!=null&&(l=Dt$1(x)),F!=null&&(d=Dt$1(F)),k!=null?y=Dt$1(k):F!=null&&d>y&&(y=d);let T=100;if(l>T||d>T||y>T)throw new _$2(2306,false)}Br$2(c,d,y);let v=c.digits,b=c.integerLen,V=c.exponent,w=[];for(u=v.every(C=>!C);b<l;b++)v.unshift(0);for(;b<0;b++)v.unshift(0);b>0?w=v.splice(b,v.length):(w=v,v=[0]);let S=[];for(v.length>=r.lgSize&&S.unshift(v.splice(-r.lgSize,v.length).join(""));v.length>r.gSize;)S.unshift(v.splice(-r.gSize,v.length).join(""));v.length&&S.unshift(v.join("")),a=S.join(se$1(e,t)),w.length&&(a+=se$1(e,i)+w.join("")),V&&(a+=se$1(e,R.Exponential)+"+"+V);}return n<0&&!u?a=r.negPre+a+r.negSuf:a=r.posPre+a+r.posSuf,a}function Bn$1(n,r,e){let t=kn$2(r,wt$2.Decimal),i=Nr$2(t,se$1(r,R.MinusSign));return Pr$2(n,i,r,R.Group,R.Decimal,e)}function Nr$2(n,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},t=n.split(Ir$2),i=t[0],s=t[1],o=i.indexOf($e$1)!==-1?i.split($e$1):[i.substring(0,i.lastIndexOf(ye$1)+1),i.substring(i.lastIndexOf(ye$1)+1)],a=o[0],u=o[1]||"";e.posPre=a.substring(0,a.indexOf(mt$3));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===ye$1?e.minFrac=e.maxFrac=l+1:d===mt$3?e.maxFrac=l+1:e.posSuf+=d;}let c=a.split(Or$2);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){let l=i.length-e.posPre.length-e.posSuf.length,d=s.indexOf(mt$3);e.negPre=s.substring(0,d).replace(/'/g,""),e.negSuf=s.slice(d+l).replace(/'/g,"");}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e}function xr$2(n){if(n.digits[0]===0)return n;let r=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(r===0?n.digits.push(0,0):r===1&&n.digits.push(0),n.integerLen+=2),n}function kr$2(n){let r=Math.abs(n)+"",e=0,t,i,s,o,a;for((i=r.indexOf($e$1))>-1&&(r=r.replace($e$1,"")),(s=r.search(/e/i))>0?(i<0&&(i=s),i+=+r.slice(s+1),r=r.substring(0,s)):i<0&&(i=r.length),s=0;r.charAt(s)===ye$1;s++);if(s===(a=r.length))t=[0],i=1;else {for(a--;r.charAt(a)===ye$1;)a--;for(i-=s,t=[],o=0;s<=a;s++,o++)t[o]=Number(r.charAt(s));}return i>xn$2&&(t=t.splice(0,xn$2-1),e=i-1,i=1),{digits:t,exponent:e,integerLen:i}}function Br$2(n,r,e){if(r>e)throw new _$2(2307,false);let t=n.digits,i=t.length-n.integerLen,s=Math.min(Math.max(r,i),e),o=s+n.integerLen,a=t[o];if(o>0){t.splice(Math.max(n.integerLen,o));for(let d=o;d<t.length;d++)t[d]=0;}else {i=Math.max(0,i),n.integerLen=1,t.length=Math.max(1,o=s+1),t[0]=0;for(let d=1;d<o;d++)t[d]=0;}if(a>=5)if(o-1<0){for(let d=0;d>o;d--)t.unshift(0),n.integerLen++;t.unshift(1),n.integerLen++;}else t[o-1]++;for(;i<Math.max(0,s);i++)t.push(0);let u=s!==0,c=r+n.integerLen,l=t.reduceRight(function(d,y,v,b){return y=y+d,b[v]=y<10?y:y-10,u&&(b[v]===0&&v>=c?b.pop():u=false),y>=10?1:0},0);l&&(t.unshift(l),n.integerLen++);}function Dt$1(n){let r=parseInt(n);if(isNaN(r))throw new _$2(2305,false);return r}var Ur$2=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=C$2(De$2);constructor(e){this._viewContainerRef=e;}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this._getInjector()});}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return !!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,i):false,get:(e,t,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,i)}})}static \u0275fac=function(t){return new(t||n)(Lr$3(Bi$3))};static \u0275dir=rD({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[fy]})}return n})();function Un$2(n,r){return new _$2(2100,false)}var yt$1=class yt{createSubscription(r,e,t){return Jw(()=>r.subscribe({next:e,error:t}))}dispose(r){Jw(()=>r.unsubscribe());}},vt$2=class vt{createSubscription(r,e,t){return r.then(i=>e?.(i),i=>t?.(i)),{unsubscribe:()=>{e=null,t=null;}}}dispose(r){r.unsubscribe();}},jr$2=new vt$2,$r$2=new yt$1,Vr$2=(()=>{class n{_ref;_latestValue=null;markForCheckOnValueUpdate=true;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=C$2(jt$2);constructor(e){this._ref=e;}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null;}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e);}finally{this.markForCheckOnValueUpdate=true;}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t),t=>this.applicationErrorHandler(t));}_selectStrategy(e){if(Jc$1(e))return jr$2;if(Zp(e))return $r$2;throw Un$2()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null;}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck());}static \u0275fac=function(t){return new(t||n)(Lr$3(Z0$1,16))};static \u0275pipe=oD({name:"async",type:n,pure:false})}return n})();var zr$2=(()=>{class n{_locale;constructor(e){this._locale=e;}transform(e,t,i){if(!Hr$2(e))return null;i||=this._locale;try{let s=Gr$2(e);return Bn$1(s,i,t)}catch(s){throw Un$2(n,s.message)}}static \u0275fac=function(t){return new(t||n)(Lr$3(al$1,16))};static \u0275pipe=oD({name:"number",type:n,pure:true})}return n})();function Hr$2(n){return !(n==null||n===""||n!==n)}function Gr$2(n){if(typeof n=="string"&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if(typeof n!="number")throw new _$2(2309,false);return n}var jn$2=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();function ve$1(n,r){r=encodeURIComponent(r);for(let e of n.split(";")){let t=e.indexOf("="),[i,s]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(i.trim()===r)return decodeURIComponent(s)}return null}function Jo$2(n,r,e){return UD(n,r,e)}var bt$1="browser";function qo$2(n){return n===bt$1}var Ee$2=class Ee{_doc;constructor(r){this._doc=r;}manager},Ve=(()=>{class n extends Ee$2{constructor(e){super(e);}supports(e){return true}addEventListener(e,t,i,s){return e.addEventListener(t,i,s),()=>this.removeEventListener(e,t,i,s)}removeEventListener(e,t,i,s){return e.removeEventListener(t,i,s)}static \u0275fac=function(t){return new(t||n)(Re$2(Wo$2))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),Ge=new A$2(""),At$1=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this;});let i=e.filter(o=>!(o instanceof Ve));this._plugins=i.slice().reverse();let s=e.find(o=>o instanceof Ve);s&&this._plugins.push(s);}addEventListener(e,t,i,s){return this._findPluginFor(t).addEventListener(e,t,i,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new _$2(-5101,false);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(Re$2(Ge),Re$2(oe$3))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),St$2="ng-app-id";function $n$1(n){for(let r of n)r.remove();}function Vn$1(n,r){let e=r.createElement("style");return e.textContent=n,e}function Zr$3(n,r,e,t){let i=n.head?.querySelectorAll(`style[${St$2}="${r}"],link[${St$2}="${r}"]`);if(!i||i.length===0)return false;for(let s of i)s.removeAttribute(St$2),s instanceof HTMLLinkElement?t.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]});return true}function Tt$2(n,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var _t=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,i,s={}){this.doc=e,this.appId=t,this.nonce=i,Zr$3(e,t,this.inline,this.external)&&this.hosts.add(e.head);}addStyles(e,t){for(let i of e)this.addUsage(i,this.inline,Vn$1);t?.forEach(i=>this.addUsage(i,this.external,Tt$2));}removeStyles(e,t){for(let i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external));}addUsage(e,t,i){let s=t.get(e);s?s.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,i(e,this.doc)))});}removeUsage(e,t){let i=t.get(e);i&&(i.usage--,i.usage<=0&&($n$1(i.elements),t.delete(e)));}ngOnDestroy(){for(let[,{elements:e}]of [...this.inline,...this.external])$n$1(e);this.hosts.clear();}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[t,{elements:i}]of this.inline)i.push(this.addElement(e,Vn$1(t,this.doc)));for(let[t,{elements:i}]of this.external)i.push(this.addElement(e,Tt$2(t,this.doc)));}}removeHost(e){this.hosts.delete(e);for(let t of [...this.inline.values(),...this.external.values()]){let i=[];for(let s of t.elements)s.parentNode===e?s.remove():i.push(s);t.elements=i;}}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(Re$2(Wo$2),Re$2(od),Re$2(Ym,8),Re$2(Qm))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),Ct$2={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ft$1=/%COMP%/g;var Hn$2="%COMP%",Jr$3=`_nghost-${Hn$2}`,qr$2=`_ngcontent-${Hn$2}`,Qr$3=true,ei$2=new A$2("",{factory:()=>Qr$3});function ti$2(n){return qr$2.replace(Ft$1,n)}function ni$1(n){return Jr$3.replace(Ft$1,n)}function Gn$2(n,r){return r.map(e=>e.replace(Ft$1,n))}var Mt$1=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,i,s,o,a,u=null,c=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.ngZone=a,this.nonce=u,this.tracingService=c,this.defaultRenderer=new we$1(e,o,a,this.tracingService);}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,t);return i instanceof He$1?i.applyToHost(e):i instanceof be$1&&i.applyStyles(),i}getOrCreateRenderer(e,t){let i=this.rendererByCompId,s=i.get(t.id);if(!s){let o=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(t.encapsulation){case Ut$2.Emulated:s=new He$1(u,c,t,this.appId,l,o,a,d);break;case Ut$2.ShadowDom:return new ze$2(u,e,t,o,a,this.nonce,d,c);case Ut$2.ExperimentalIsolatedShadowDom:return new ze$2(u,e,t,o,a,this.nonce,d);default:s=new be$1(u,c,t,l,o,a,d);break}i.set(t.id,s);}return s}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(e){this.rendererByCompId.delete(e);}static \u0275fac=function(t){return new(t||n)(Re$2(At$1),Re$2(Pp),Re$2(od),Re$2(ei$2),Re$2(Wo$2),Re$2(oe$3),Re$2(Ym),Re$2(kn$3,8))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),we$1=class we{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=true;constructor(r,e,t,i){this.eventManager=r,this.doc=e,this.ngZone=t,this.tracingService=i;}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(Ct$2[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(zn$2(r)?r.content:r).appendChild(e);}insertBefore(r,e,t){r&&(zn$2(r)?r.content:r).insertBefore(e,t);}removeChild(r,e){e.remove();}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new _$2(-5104,false);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,i){if(i){e=i+":"+e;let s=Ct$2[i];s?r.setAttributeNS(s,e,t):r.setAttribute(e,t);}else r.setAttribute(e,t);}removeAttribute(r,e,t){if(t){let i=Ct$2[t];i?r.removeAttributeNS(i,e):r.removeAttribute(`${t}:${e}`);}else r.removeAttribute(e);}addClass(r,e){r.classList.add(e);}removeClass(r,e){r.classList.remove(e);}setStyle(r,e,t,i){i&(hi$3.DashCase|hi$3.Important)?r.style.setProperty(e,t,i&hi$3.Important?"important":""):r.style[e]=t;}removeStyle(r,e,t){t&hi$3.DashCase?r.style.removeProperty(e):r.style[e]="";}setProperty(r,e,t){r!=null&&(r[e]=t);}setValue(r,e){r.nodeValue=e;}listen(r,e,t,i){if(typeof r=="string"&&(r=O$1().getGlobalEventTarget(this.doc,r),!r))throw new _$2(-5102,false);let s=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(r,e,s)),this.eventManager.addEventListener(r,e,s,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===false&&e.preventDefault();}}};function zn$2(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var ze$2=class ze extends we$1{hostEl;sharedStylesHost;shadowRoot;constructor(r,e,t,i,s,o,a,u){super(r,i,s,a),this.hostEl=e,this.sharedStylesHost=u,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=t.styles;c=Gn$2(t.id,c);for(let d of c){let y=document.createElement("style");o&&y.setAttribute("nonce",o),y.textContent=d,this.shadowRoot.appendChild(y);}let l=t.getExternalStyles?.();if(l)for(let d of l){let y=Tt$2(d,i);o&&y.setAttribute("nonce",o),this.shadowRoot.appendChild(y);}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,t){return super.insertBefore(this.nodeOrShadowRoot(r),e,t)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot);}},be$1=class be extends we$1{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,t,i,s,o,a,u){super(r,s,o,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let c=t.styles;this.styles=u?Gn$2(u,c):c,this.styleUrls=t.getExternalStyles?.(u);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&<$1.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},He$1=class He extends be$1{contentAttr;hostAttr;constructor(r,e,t,i,s,o,a,u){let c=i+"-"+t.id;super(r,e,t,s,o,a,u,c),this.contentAttr=ti$2(c),this.hostAttr=ni$1(c);}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"");}createElement(r,e){let t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}};var We=class n extends De$1{supportsDOMEvents=true;static makeCurrent(){pt$3(new n);}onAndCancel(r,e,t,i){return r.addEventListener(e,t,i),()=>{r.removeEventListener(e,t,i);}}dispatchEvent(r,e){r.dispatchEvent(e);}remove(r){r.remove();}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=ii$2();return e==null?null:si$2(e)}resetBaseElement(){Se$1=null;}getUserAgent(){return window.navigator.userAgent}getCookie(r){return ve$1(document.cookie,r)}},Se$1=null;function ii$2(){return Se$1=Se$1||document.head.querySelector("base"),Se$1?Se$1.getAttribute("href"):null}function si$2(n){return new URL(n,document.baseURI).pathname}var Wn$2=["alt","control","meta","shift"],oi$2={"\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"},ai$2={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Yn$2=(()=>{class n extends Ee$2{constructor(e){super(e);}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,i,s){let o=n.parseEventName(t),a=n.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>O$1().onAndCancel(e,o.domEventName,a,s))}static parseEventName(e){let t=e.toLowerCase().split("."),i=t.shift();if(t.length===0||!(i==="keydown"||i==="keyup"))return null;let s=n._normalizeKey(t.pop()),o="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),o="code."),Wn$2.forEach(c=>{let l=t.indexOf(c);l>-1&&(t.splice(l,1),o+=c+".");}),o+=s,t.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=o,u}static matchEventFullKeyCode(e,t){let i=oi$2[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?false:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Wn$2.forEach(o=>{if(o!==i){let a=ai$2[o];a(e)&&(s+=o+".");}}),s+=i,s===t)}static eventCallback(e,t,i){return s=>{n.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>t(s));}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(Re$2(Wo$2))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})();function ui$2(n,r$1,e){return v$1(this,null,function*(){let t=r({rootComponent:n},ci$2(r$1,e));return Y0$1(t)})}function ci$2(n,r){return {platformRef:r?.platformRef,appProviders:[...gi$2,...n?.providers??[]],platformProviders:hi$2}}function li$2(){We.makeCurrent();}function di$2(){return new He$2}function fi$2(){return Vy(document),document}var hi$2=[{provide:Qm,useValue:bt$1},{provide:id,useValue:li$2,multi:true},{provide:Wo$2,useFactory:fi$2}];var gi$2=[{provide:Us$1,useValue:"root"},{provide:He$2,useFactory:di$2},{provide:Ge,useClass:Ve,multi:true},{provide:Ge,useClass:Yn$2,multi:true},Mt$1,{provide:Pp,useClass:_t},{provide:_t,useExisting:Pp},At$1,{provide:Cr$2,useExisting:Mt$1},[]];var N$2=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
|
|
5
|
-
`).forEach(e=>{let t=e.indexOf(":");if(t>0){let i=e.slice(0,t),s=e.slice(t+1).trim();this.addHeaderEntry(i,s);}});}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,t)=>{this.addHeaderEntry(t,e);})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,t])=>{this.setHeaderEntries(e,t);});}:this.headers=new Map;}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r);}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null));}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e));});}clone(r){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case "a":case "s":let t=r.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...t),this.headers.set(e,i);break;case "d":let s=r.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else {let o=this.headers.get(e);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o);}break}}addHeaderEntry(r,e){let t=r.toLowerCase();this.maybeSetNormalizedName(r,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e]);}setHeaderEntries(r,e){let t=(Array.isArray(e)?e:[e]).map(s=>s.toString()),i=r.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(r,i);}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)));}};var Ke=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}},Xe$1=class Xe{encodeKey(r){return Kn$2(r)}encodeValue(r){return Kn$2(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function pi$2(n,r){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[o,a]=s==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,s)),r.decodeValue(i.slice(s+1))],u=e.get(o)||[];u.push(a),e.set(o,u);}),e}var mi$2=/%(\d[a-f0-9])/gi,Di$3={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Kn$2(n){return encodeURIComponent(n).replace(mi$2,(r,e)=>Di$3[e]??r)}function Ye(n){return `${n}`}var P=class n{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new Xe$1,r.fromString){if(r.fromObject)throw new _$2(2805,false);this.map=pi$2(r.fromString,this.encoder);}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let t=r.fromObject[e],i=Array.isArray(t)?t.map(Ye):[Ye(t)];this.map.set(e,i);})):this.map=null;}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(t=>{let i=r[t];Array.isArray(i)?i.forEach(s=>{e.push({param:t,value:s,op:"a"});}):e.push({param:t,value:i,op:"a"});}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case "a":case "s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Ye(r.value)),this.map.set(r.param,e);break;case "d":if(r.value!==void 0){let t=this.map.get(r.param)||[],i=t.indexOf(Ye(r.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(r.param,t):this.map.delete(r.param);}else {this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null);}};function yi$3(n){switch(n){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":return false;default:return true}}function Xn$1(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Zn$1(n){return typeof Blob<"u"&&n instanceof Blob}function Jn$1(n){return typeof FormData<"u"&&n instanceof FormData}function vi$2(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Rt$2="Content-Type",qn$1="Accept",er$3="text/plain",tr$3="application/json",Ei$3=`${tr$3}, ${er$3}, */*`,oe$2=class n{url;body=null;headers;context;reportProgress=false;reportUploadProgress=false;reportDownloadProgress=false;withCredentials=false;credentials;keepalive=false;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,t,i){this.url=e,this.method=r.toUpperCase();let s;if(yi$3(this.method)||i?(this.body=t!==void 0?t:null,s=i):s=t,s){if(this.reportProgress=!!s.reportProgress,this.reportUploadProgress=!!s.reportUploadProgress,this.reportDownloadProgress=!!s.reportDownloadProgress,this.withCredentials=!!s.withCredentials,this.keepalive=!!s.keepalive,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),s.priority&&(this.priority=s.priority),s.cache&&(this.cache=s.cache),s.credentials&&(this.credentials=s.credentials),typeof s.timeout=="number"){if(s.timeout<1||!Number.isInteger(s.timeout))throw new _$2(2822,"");this.timeout=s.timeout;}s.mode&&(this.mode=s.mode),s.redirect&&(this.redirect=s.redirect),s.integrity&&(this.integrity=s.integrity),s.referrer!==void 0&&(this.referrer=s.referrer),s.referrerPolicy&&(this.referrerPolicy=s.referrerPolicy),this.transferCache=s.transferCache;}if(this.headers??=new N$2,this.context??=new Ke,!this.params)this.params=new P,this.urlWithParams=e;else {let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else {let a=e,u="",c=e.indexOf("#");c!==-1&&(u=e.substring(c),a=e.substring(0,c));let l=a.indexOf("?"),d=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+d+o+u;}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Xn$1(this.body)||Zn$1(this.body)||Jn$1(this.body)||vi$2(this.body)?this.body:this.body instanceof P?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||Jn$1(this.body)?null:Zn$1(this.body)?this.body.type||null:Xn$1(this.body)?null:typeof this.body=="string"?er$3:this.body instanceof P?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?tr$3:null}clone(r={}){let e=r.method||this.method,t=r.url||this.url,i=r.responseType||this.responseType,s=r.keepalive??this.keepalive,o=r.priority||this.priority,a=r.cache||this.cache,u=r.mode||this.mode,c=r.redirect||this.redirect,l=r.credentials||this.credentials,d=r.referrer??this.referrer,y=r.integrity||this.integrity,v=r.referrerPolicy||this.referrerPolicy,b=r.transferCache??this.transferCache,V=r.timeout??this.timeout,w=r.body!==void 0?r.body:this.body,S=r.withCredentials??this.withCredentials,C=r.reportProgress??this.reportProgress,x=r.reportUploadProgress??this.reportUploadProgress,F=r.reportDownloadProgress??this.reportDownloadProgress,k=r.headers||this.headers,T=r.params||this.params,_e=r.context??this.context;return r.setHeaders!==void 0&&(k=Object.keys(r.setHeaders).reduce((Z,z)=>Z.set(z,r.setHeaders[z]),k)),r.setParams&&(T=Object.keys(r.setParams).reduce((Z,z)=>Z.set(z,r.setParams[z]),T)),new n(e,t,w,{params:T,headers:k,context:_e,reportProgress:C,reportUploadProgress:x,reportDownloadProgress:F,responseType:i,withCredentials:S,transferCache:b,keepalive:s,cache:a,priority:o,timeout:V,mode:u,redirect:c,credentials:l,referrer:d,integrity:y,referrerPolicy:v})}},ae$1=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(ae$1||{}),ue$1=class ue{headers;status;statusText;url;ok;type;redirected;responseType;constructor(r,e=200,t="OK"){this.headers=r.headers||new N$2,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||t,this.url=r.url||null,this.redirected=r.redirected,this.responseType=r.responseType,this.ok=this.status>=200&&this.status<300;}},Ze=class n extends ue$1{constructor(r={}){super(r);}type=ae$1.ResponseHeader;clone(r={}){return new n({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Ce$1=class n extends ue$1{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null;}type=ae$1.Response;clone(r={}){return new n({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected,responseType:r.responseType??this.responseType})}},X$1=class X extends ue$1{name="HttpErrorResponse";message;error;ok=false;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null;}},wi$3=200;var bi$3=/^\)\]\}',?\n/,nr$3=new A$2("",{factory:()=>null}),Je$1=(()=>{class n{fetchImpl=C$2(It$1,{optional:true})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=C$2(oe$3);destroyRef=C$2(at$1);maxResponseSize=C$2(nr$3);handle(e){return new S(t=>{let i=new AbortController;this.doRequest(e,i.signal,t).then(Ot$1,o=>t.error(new X$1({error:o})));let s;return e.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"));},e.timeout))),()=>{s!==void 0&&clearTimeout(s),i.abort();}})}doRequest(e,t,i){return v$1(this,null,function*(){let s=this.createRequestInit(e),o;try{let w=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,r({signal:t},s)));Si$3(w),i.next({type:ae$1.Sent}),o=yield w;}catch(w){i.error(new X$1({error:w,status:w.status??0,statusText:w.statusText,url:e.urlWithParams,headers:w.headers}));return}let a=new N$2(o.headers),u=o.statusText,c=o.url||e.urlWithParams,l=o.status,d=null,y=e.reportProgress||e.reportDownloadProgress;if(y&&i.next(new Ze({headers:a,status:l,statusText:u,url:c})),o.body){let w=o.headers.get("content-length"),S=w!==null?Number(w):NaN;this.maxResponseSize!==null&&Number.isFinite(S)&&S>this.maxResponseSize&&Qn$1(this.maxResponseSize);let C=[],x=o.body.getReader(),F=0,k,T,_e=typeof Zone<"u"&&Zone.current,Z=false;if(yield this.ngZone.runOutsideAngular(()=>v$1(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield x.cancel(),Z=true;break}let{done:de,value:nt}=yield x.read();if(de)break;if(C.push(nt),F+=nt.length,this.maxResponseSize!==null&&F>this.maxResponseSize&&(yield x.cancel(),Qn$1(this.maxResponseSize)),y){T=e.responseType==="text"?(T??"")+(k??=new TextDecoder).decode(nt,{stream:true}):void 0;let Yt=()=>i.next({type:ae$1.DownloadProgress,total:Number.isFinite(S)?S:void 0,loaded:F,partialText:T});_e?_e.run(Yt):Yt();}}})),Z){i.complete();return}let z=this.concatChunks(C,F);try{let de=o.headers.get(Rt$2)??"";d=this.parseBody(e,z,de,l);}catch(de){i.error(new X$1({error:de,headers:new N$2(o.headers),status:o.status,statusText:o.statusText,url:o.url||e.urlWithParams}));return}}l===0&&(l=d?wi$3:0);let v=l>=200&&l<300,b=o.redirected,V=o.type;v?(i.next(new Ce$1({body:d,headers:a,status:l,statusText:u,url:c,redirected:b,responseType:V})),i.complete()):i.error(new X$1({error:d,headers:a,status:l,statusText:u,url:c,redirected:b,responseType:V}));})}parseBody(e,t,i,s){switch(e.responseType){case "json":let o=new TextDecoder().decode(t).replace(bi$3,"");if(o==="")return null;try{return JSON.parse(o)}catch(a){if(s<200||s>=300)return o;throw a}case "text":return new TextDecoder().decode(t);case "blob":return new Blob([t],{type:i});case "arraybuffer":return t.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new _$2(2824,false);let t={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((s,o)=>t[s]=o.join(",")),e.headers.has(qn$1)||(t[qn$1]=Ei$3),!e.headers.has(Rt$2)){let s=e.detectContentTypeHeader();s!==null&&(t[Rt$2]=s);}return {body:e.serializeBody(),method:e.method,headers:t,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,t){let i=new Uint8Array(t),s=0;for(let o of e)i.set(o,s),s+=o.length;return i}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),It$1=class It{};function Ot$1(){}function Si$3(n){n.then(Ot$1,Ot$1);}function Qn$1(n){throw new _$2(-2825,false)}function Ci$2(n,r){return r(n)}function Ti$3(n,r,e){return (t,i)=>Ro$3(e,()=>r(t,s=>n(s,i)))}var rr$3=new A$2("",{factory:()=>[]}),ir$3=new A$2(""),sr$3=new A$2("",{factory:()=>true});var Pt$1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=Re$2(Je$1),i},providedIn:"root"})}return n})();var qe=(()=>{class n{backend;injector;chain=null;pendingTasks=C$2(Ia$1);contributeToStability=C$2(sr$3);constructor(e,t){this.backend=e,this.injector=t;}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(rr$3),...this.injector.get(ir$3,[])]));this.chain=i.reduceRight((s,o)=>Ti$3(s,o,this.injector),Ci$2);}let t=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return Jw(()=>t(e,s=>this.backend.handle(s))).pipe(zl$1(i))}else return Jw(()=>t(e,i=>this.backend.handle(i)))}static \u0275fac=function(t){return new(t||n)(Re$2(Pt$1),Re$2(ue$2))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Nt$1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=Re$2(qe),i},providedIn:"root"})}return n})();function Lt(n,r$1){return r({body:r$1},n)}var or$3=(()=>{class n{handler;constructor(e){this.handler=e;}request(e,t,i={}){let s;if(e instanceof oe$2)s=e;else {let u;i.headers instanceof N$2?u=i.headers:u=new N$2(i.headers);let c;i.params&&(i.params instanceof P?c=i.params:c=new P({fromObject:i.params})),s=new oe$2(e,t,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,reportUploadProgress:i.reportUploadProgress,reportDownloadProgress:i.reportDownloadProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout});}let o=jg(s).pipe(Jg(u=>this.handler.handle(u)));if(e instanceof oe$2||i.observe==="events")return o;let a=o.pipe(sn$2(u=>u instanceof Ce$1));switch(i.observe||"body"){case "body":switch(s.responseType){case "arraybuffer":return a.pipe(Me$2(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new _$2(2806,false);return u.body}));case "blob":return a.pipe(Me$2(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new _$2(2807,false);return u.body}));case "text":return a.pipe(Me$2(u=>{if(u.body!==null&&typeof u.body!="string")throw new _$2(2808,false);return u.body}));default:return a.pipe(Me$2(u=>u.body))}case "response":return a;default:throw new _$2(2809,false)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new P().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,Lt(i,t))}post(e,t,i={}){return this.request("POST",e,Lt(i,t))}put(e,t,i={}){return this.request("PUT",e,Lt(i,t))}static \u0275fac=function(t){return new(t||n)(Re$2(Nt$1))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ai$2=new A$2("",{factory:()=>true}),_i$2="XSRF-TOKEN",Fi$3=new A$2("",{factory:()=>_i$2}),Mi$3="X-XSRF-TOKEN",Ri$2=new A$2("",{factory:()=>Mi$3}),Li$2=(()=>{class n{cookieName=C$2(Fi$3);doc=C$2(Wo$2);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ve$1(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),ar$3=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=Re$2(Li$2),i},providedIn:"root"})}return n})();function Ii$2(n,r){if(!C$2(Ai$2)||n.method==="GET"||n.method==="HEAD")return r(n);try{let i=C$2(ie$1).href,{origin:s}=new URL(i),{origin:o}=new URL(n.url,s);if(s!==o)return r(n)}catch(i){return r(n)}let e=C$2(ar$3).getToken(),t=C$2(Ri$2);return e!=null&&!n.headers.has(t)&&(n=n.clone({headers:n.headers.set(t,e)})),r(n)}function Oi$3(...n){let r=[or$3,Je$1,qe,{provide:Nt$1,useExisting:qe},{provide:Pt$1,useFactory:()=>C$2(Je$1)},{provide:rr$3,useValue:Ii$2,multi:true}];for(let e of n)r.push(...e.\u0275providers);return Cu(r)}var Nu=(()=>{class n{_doc;constructor(e){this._doc=e;}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||"";}static \u0275fac=function(t){return new(t||n)(Re$2(Wo$2))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Pi$3=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=Re$2(Ni$2),i},providedIn:"root"})}return n})(),Ni$2=(()=>{class n extends Pi$3{_doc=C$2(Wo$2);sanitize(e,t){if(t==null)return null;switch(e){case Ar$3.NONE:return t;case Ar$3.HTML:return ki$3(t,"HTML")?zt$2(t):Lf(this._doc,String(t)).toString();case Ar$3.STYLE:return ki$3(t,"Style")?zt$2(t):t;case Ar$3.SCRIPT:if(ki$3(t,"Script"))return zt$2(t);throw new _$2(5200,false);case Ar$3.URL:return ki$3(t,"URL")?zt$2(t):Ec$1(String(t));case Ar$3.RESOURCE_URL:if(ki$3(t,"ResourceURL"))return zt$2(t);throw new _$2(-5201,false);default:throw new _$2(5202,false)}}bypassSecurityTrustHtml(e){return Wy(e)}bypassSecurityTrustStyle(e){return Gy(e)}bypassSecurityTrustScript(e){return zy(e)}bypassSecurityTrustUrl(e){return Qy(e)}bypassSecurityTrustResourceUrl(e){return Zy(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();function xt$1(n){n||(n=C$2(at$1));let r=new S(e=>{if(n.destroyed){e.next();return}return n.onDestroy(e.next.bind(e))});return e=>e.pipe(cm(r))}function xi$2(n,r){let e=C$2(De$2),t=new Ln$3(1),i=sd(()=>{let s;try{s=n();}catch(o){Jw(()=>t.error(o));return}Jw(()=>t.next(s));},{injector:e,manualCleanup:true});return e.get(at$1).onDestroy(()=>{i.destroy(),t.complete();}),t.asObservable()}function ur$3(n,r){let t=!r?.manualCleanup?r?.injector?.get(at$1)??C$2(at$1):null,i=ki$2(r?.equal),s;r?.requireSync?s=Go$2({kind:0},{equal:i}):s=Go$2({kind:1,value:r?.initialValue},{equal:i});let o,a=n.subscribe({next:u=>s.set({kind:1,value:u}),error:u=>{s.set({kind:2,error:u}),o?.();},complete:()=>{o?.();}});if(r?.requireSync&&s().kind===0)throw new _$2(601,false);return o=t?.onDestroy(a.unsubscribe.bind(a)),Kw(()=>{let u=s();switch(u.kind){case 1:return u.value;case 2:throw u.error;case 0:throw new _$2(601,false)}},{equal:r?.equal})}function ki$2(n=Object.is){return (r,e)=>r.kind===1&&e.kind===1&&n(r.value,e.value)}function cr$3(n){return typeof n=="function"}function j(n){return typeof n=="string"}function Te$2(n){return !!n&&typeof n=="object"&&!Array.isArray(n)}function Qe$1(n){return n==null}function kt$1(n){return !Qe$1(n)}function Bt$1(n){return n?Array.isArray(n)||j(n)?n.length:Te$2(n)?Object.keys(n).length:0:0}function lr$3(n){return Bt$1(n)===0}function Ut$1(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(r,e)=>e==0?r.toLowerCase():r.toUpperCase()).replace(/\s+|_|-|\//g,"")}var Vt$2=class Vt{translations;constructor(r){this.translations=r;}getTranslation(r){return jg(this.translations.get(r)||{})}},fr$2=new A$2(""),le=new A$2("",{factory:()=>ce$1}),ce$1={defaultLang:"en",reRenderOnLangChange:false,prodMode:false,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:true,useFallbackTranslation:false,allowEmpty:false},flatten:{aot:false},interpolation:["{{","}}"],scopes:{keepCasing:false,autoPrefixKeys:true}};function Bi$2(n={}){return s(r(r({},ce$1),n),{missingHandler:r(r({},ce$1.missingHandler),n.missingHandler),flatten:r(r({},ce$1.flatten),n.flatten),scopes:r(r({},ce$1.scopes),n.scopes)})}function jt$1(n,r){return n&&(Object.prototype.hasOwnProperty.call(n,r)?n[r]:r.split(".").reduce((e,t)=>e?.[t],n))}function Ui$3(n,r$1,e){n=r({},n);let t=r$1.split("."),i=t.length-1;return t.reduce((s,o,a)=>(a===i?s[o]=e:s[o]=Array.isArray(s[o])?s[o].slice():r({},s[o]),s&&s[o]),n),n}function ji$3(n){return `[transloco]:${n}`}var hr$3=new A$2(""),$i$2=(()=>{class n{config=C$2(le,{optional:true})??ce$1;get interpolationMatcher(){return Vi$3(this.config)}transpile({value:e,params:t={},translation:i,key:s}){if(j(e)){let o,a=e;for(;(o=this.interpolationMatcher.exec(a))!==null;){let[u,c]=o;a=a.replace(u,()=>{let l=c.trim(),d=jt$1(t,l);return kt$1(d)?d:kt$1(i[l])?this.transpile({params:t,translation:i,key:s,value:i[l]}):""});}return a}else t&&(Te$2(e)?e=this.handleObject({value:e,params:t,translation:i,key:s}):Array.isArray(e)&&(e=this.handleArray({value:e,params:t,translation:i,key:s})));return e}handleObject({value:e,params:t={},translation:i,key:s}){let o=e;return Object.keys(t).forEach(a=>{let u=this.transpile({value:jt$1(o,a),params:jt$1(t,a),translation:i,key:s});o=Ui$3(o,a,u);}),o}handleArray(i){var s=i,{value:e}=s,t$1=t(s,["value"]);return e.map(o=>this.transpile(r({value:o},t$1)))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})();function Vi$3(n){let[r,e]=n.interpolation;return new RegExp(`${r}([^${r}${e}]*?)${e}`,"g")}var gr$2=new A$2(""),zi$1=(()=>{class n{handle(e,t){return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),pr$2=new A$2(""),Hi$2=(()=>{class n{preSaveTranslation(e){return e}preSaveTranslationKey(e,t){return t}static \u0275fac=function(t){return new(t||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),mr$2=new A$2(""),Gi$3=(()=>{class n{userConfig;constructor(e){this.userConfig=e;}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e){let t;throw t=ji$3(4),new Error(t)}return Array.isArray(e)?e:[e]}static \u0275fac=function(t){return new(t||n)(Re$2(le))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})();function Dr$2(n){let{path:r,inlineLoader:e,mainLoader:t,data:i}=n;if(e){let s=e[r];if(cr$3(s)===false)throw `You're using an inline loader but didn't provide a loader for ${r}`;return e[r]().then(o=>o.default?o.default:o)}return t.getTranslation(r,i)}function Wi$3({mainLoader:n,path:r,data:e,fallbackPath:t,inlineLoader:i}){return (t?[r,t]:[r]).map(o=>{let a=Dr$2({path:o,mainLoader:n,inlineLoader:i,data:e});return Ne$2(a).pipe(Me$2(u=>({translation:u,lang:o})))})}function dr$3(n){let r={};function e(t,i){if(t===null)r[i]=null;else if(Te$2(t))for(let[s,o]of Object.entries(t))e(o,i?`${i}.${s}`:s);else r[i]=t;}return e(n,""),r}function Yi$3(n){let r={};for(let[e,t]of Object.entries(n)){let i=e.split("."),s=r;i.forEach((o,a)=>{a===i.length-1?s[o]=t:(s[o]??={},s=s[o]);});}return r}function Ae$1(n){if(!n)return "";let r=n.split("/");return r.pop(),r.join("/")}function $(n){return n?n.split("/").pop():""}function Ki$3(n,r){return Object.keys(n).reduce((e,t)=>(e[`${r}/${t}`]=n[t],e),{})}function yr$2(n){return typeof n?.scope=="string"}function Xi$3(n){return n?.loader&&Te$2(n.loader)}function Wt$2(n,r){return Xi$3(n)?Ki$3(n.loader,r):void 0}function $t$2(n){return {scope:Ae$1(n)||null,langName:$(n)}}var zt$1=class n extends Error{lang;fallbackLangs;isScope;name="TranslationLoadError";constructor(r,e,t){super(""),this.lang=r,this.fallbackLangs=e,this.isScope=t,Object.setPrototypeOf(this,n.prototype);}},vr$2=(()=>{class n{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=false;lang;failedLangs=new Set;events=new re;events$=this.events.asObservable();config;activeLang;destroyRef=C$2(at$1);destroyed=false;constructor(e,t,i,s,o,a){this.loader=e,this.parser=t,this.missingHandler=i,this.interceptor=s,this.fallbackStrategy=a,this.loader||(this.loader=new Vt$2(this.translations)),this.config=JSON.parse(JSON.stringify(o)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new On$3(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.activeLang=ur$3(this.lang,{requireSync:true}),this.events$.subscribe(u=>{u.type==="translationLoadSuccess"&&u.wasFailure&&this.setActiveLang(u.payload.langName);}),this.destroyRef.onDestroy(()=>{this.destroyed=true,this.lang.complete(),this.events.complete(),this.cache.clear();});}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e;}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:$t$2(e)}),this}setAvailableLangs(e){this.availableLangs=e;}getAvailableLangs(){return this.availableLangs}load(e,t={}){if(this.destroyed)return yt$2;let i=this.cache.get(e);if(i)return i;let s$1,o=this._isLangScoped(e),a;o&&(a=Ae$1(e));let u={path:e,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:o?{scope:a}:void 0};if(this.useFallbackTranslation(e)){let l=o?`${a}/${this.firstFallbackLang}`:this.firstFallbackLang,d=Wi$3(s(r({},u),{fallbackPath:l}));s$1=Rg(d);}else {let l=Dr$2(u);s$1=Ne$2(l);}let c=s$1.pipe(sm(this.config.failedRetries),Kl$1(l=>{if(Array.isArray(l)){l.forEach(d=>{this.handleSuccess(d.lang,d.translation),d.lang!==e&&this.cache.set(d.lang,jg({}));});return}this.handleSuccess(e,l);}),ss$1(l=>this.handleFailure(e,t)),Ql$1(1),xt$1(this.destroyRef));return this.cache.set(e,c),c}translate(e,t={},i=this.getActiveLang()){if(!e)return e;let{scope:s,resolveLang:o}=this.resolveLangAndScope(i);if(Array.isArray(e))return e.map(c=>this.translate(this.config.scopes.autoPrefixKeys&&s?`${s}.${c}`:c,t,o));e=this.config.scopes.autoPrefixKeys&&s?`${s}.${e}`:e;let a=this.getTranslation(o),u=a[e];return u?this.parser.transpile({value:u,params:t,translation:a,key:e}):this._handleMissingKey(e,u,t)}selectTranslate(e,t,i,s=false){let o,a=(c,l)=>this.load(c,l).pipe(Me$2(()=>s?this.translateObject(e,t,c):this.translate(e,t,c)));if(Qe$1(i))return this.langChanges$.pipe(Yl$1(c=>a(c)));if(i=Array.isArray(i)?i[i.length-1]:i,yr$2(i)){let c=i;i=c.scope,o=Wt$2(c,c.scope);}if(i=i,this.isLang(i)||this.isScopeWithLang(i))return a(i);let u=i;return this.langChanges$.pipe(Yl$1(c=>a(`${u}/${c}`,{inlineLoader:o})))}isScopeWithLang(e){return this.isLang($(e))}translateObject(e,t={},i=this.getActiveLang()){if(j(e)||Array.isArray(e)){let{resolveLang:o,scope:a}=this.resolveLangAndScope(i);if(Array.isArray(e))return e.map(l=>this.translateObject(this.config.scopes.autoPrefixKeys&&a?`${a}.${l}`:l,t,o));let u=this.getTranslation(o);e=this.config.scopes.autoPrefixKeys&&a?`${a}.${e}`:e;let c=Yi$3(this.getObjectByKey(u,e));return lr$3(c)?this.translate(e,t,i):this.parser.transpile({value:c,params:t,translation:u,key:e})}let s=[];for(let[o,a]of this.getEntries(e))s.push(this.translateObject(o,a,i));return s}selectTranslateObject(e,t,i){if(j(e)||Array.isArray(e))return this.selectTranslate(e,t,i,true);let[[s,o],...a]=this.getEntries(e);return this.selectTranslateObject(s,o,i).pipe(Me$2(u=>{let c=[u];for(let[l,d]of a)c.push(this.translateObject(l,d,i));return c}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:t,resolveLang:i}=this.resolveLangAndScope(e),s=this.translations.get(i)||{};return this.getObjectByKey(s,t)}}return this.translations}selectTranslation(e){let t=this.langChanges$;if(e){let i=$(e)!==e;this.isLang(e)||i?t=jg(e):t=this.langChanges$.pipe(Me$2(s=>`${e}/${s}`));}return t.pipe(Yl$1(i=>this.load(i).pipe(Me$2(()=>this.getTranslation(i)))))}setTranslation(e,t=this.getActiveLang(),i={}){let o=r(r({},{merge:true,emitChange:true}),i),a=Ae$1(t),u=e;if(a){let v=this.getMappedScope(a);u=dr$3({[v]:e});}let c=a?$(t):t,l=r(r({},o.merge&&this.getTranslation(c)),u),d=this.config.flatten.aot?l:dr$3(l),y=this.interceptor.preSaveTranslation(d,c);this.translations.set(c,y),o.emitChange&&this.setActiveLang(this.getActiveLang());}setTranslationKey(e,t,i={}){let s$1=i.lang||this.getActiveLang(),o=this.interceptor.preSaveTranslationKey(e,t,s$1),a={[e]:o};this.setTranslation(a,s$1,s(r({},i),{merge:true}));}setFallbackLangForMissingTranslation({fallbackLang:e}){let t=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t);}_handleMissingKey(e,t,i){if(this.config.missingHandler.allowEmpty&&t==="")return "";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=true;let s=this.translate(e,i,this.firstFallbackLang);return this.isResolvedMissingOnce=false,s}return this.missingHandler.handle(e,this.getMissingHandlerData(),i)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,t){let i=$(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(i)?Bg([this.load(i),this.load(e,{inlineLoader:t})]):this.load(e,{inlineLoader:t})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang($(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=t;}isLoadedTranslation(e){return Bt$1(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return j(e)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return s(r({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,t){this.setTranslation(t,e,{emitChange:false}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:$t$2(e)}),this.failedLangs.forEach(i=>this.cache.delete(i)),this.failedLangs.clear();}handleFailure(e,t){Qe$1(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let i=e.split("/"),s=t.fallbackLangs,o=s[t.failedCounter];if(this.failedLangs.add(e),this.cache.has(o))return this.handleSuccess(o,this.getTranslation(o)),yt$2;let a=o===i[i.length-1];if(!o||a)throw new zt$1(e,s??[],i.length>1);let u=o;return i.length>1&&(i[i.length-1]=o,u=i.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:$t$2(e)}),this.load(u,t)}getMappedScope(e){let{scopeMapping:t={},scopes:i={keepCasing:false}}=this.config;return t[e]||(i.keepCasing?e:Ut$1(e))}resolveLangAndScope(e){let t=e,i;if(this._isLangScoped(e)){let s=$(e),o=this.isLang(s);t=o?s:this.getActiveLang(),i=this.getMappedScope(o?Ae$1(e):e);}return {scope:i,resolveLang:t}}getObjectByKey(e,t){let i={},s=`${t}.`;for(let o in e)o.startsWith(s)&&(i[o.replace(s,"")]=e[o]);return i}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(t){return new(t||n)(Re$2(fr$2,8),Re$2(hr$3),Re$2(gr$2),Re$2(pr$2),Re$2(le),Re$2(mr$2))};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ji$3=(()=>{class n{html;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=JE({type:n,selectors:[["ng-component"]],inputs:{html:"html"},decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(t,i){t&1&&fh(0,"div",0),t&2&&gh("innerHTML",i.html,Dv);},encapsulation:2,changeDetection:1})}return n})(),Ht$2=class Ht{view;vcr;constructor(r,e){this.view=r,this.vcr=e;}attachView(){if(this.view instanceof Tr$3)this.vcr.createEmbeddedView(this.view);else if(j(this.view)){let r=this.vcr.createComponent(Ji$3);r.instance.html=this.view,r.hostView.detectChanges();}else this.vcr.createComponent(this.view);}detachView(){this.vcr.clear();}},Er$2=new A$2(""),qi$3=new A$2(""),wr$2=new A$2("");function Gt$2(n,r,e="|"){if(j(n)){let t=n.split(e),i=t.pop();return i===r?[true,t.toString()]:[false,i]}return [false,""]}function br$2(n,r){let[e]=Gt$2(r,"static");return e?false:!!n.config.reRenderOnLangChange}function Sr$2(n){return n?r=>r:vt$3(1)}var et=class{initialized=false;resolve({inline:r,provider:e,active:t}){let i=t;if(this.initialized)return i=t,i;if(e){let[,s]=Gt$2(e,"static");i=s;}if(r){let[,s]=Gt$2(r,"static");i=s;}return this.initialized=true,i}resolveLangBasedOnScope(r){return Ae$1(r)?$(r):r}resolveLangPath(r,e){return e?`${e}/${r}`:r}},tt=class{service;constructor(r){this.service=r;}resolve(r){let{inline:e,provider:t}=r;if(e)return e;if(t){if(yr$2(t)){let{scope:i,alias:s=this.service.config.scopes.keepCasing?i:Ut$1(i)}=t;return this.service._setScopeAlias(i,s),i}return t}}},dc$1=(()=>{class n{destroyRef=C$2(at$1);service=C$2(vr$2);tpl=C$2(Tr$3,{optional:true});providerLang=C$2(Er$2,{optional:true});providerScope=C$2(wr$2,{optional:true});providedLoadingTpl=C$2(qi$3,{optional:true});cdr=C$2(Z0$1);host=C$2(Nr$3);vcr=C$2(Bi$3);renderer=C$2(nE);view;memo=new Map;key;params={};inlineScope;inlineRead;prefix;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=false;path;langResolver=new et;scopeResolver=new tt(this.service);strategy=this.tpl===null?"attribute":"structural";static ngTemplateContextGuard(e,t){return true}ngOnInit(){let e=br$2(this.service,this.providerLang||this.inlineLang);if(this.service.langChanges$.pipe(Yl$1(t=>{let i=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?Rg(this.providerScope.map(s=>this.resolveScope(i,s))):this.resolveScope(i,this.providerScope)}),Sr$2(e),xt$1(this.destroyRef)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),this.strategy==="attribute"?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.prefix||this.inlineRead),this.cdr.markForCheck(),this.initialized=true;}),!this.initialized){let t=this.resolveLoadingContent();t&&(this.loaderTplHandler=new Ht$2(t,this.vcr),this.loaderTplHandler.attachView());}}ngOnChanges(e){this.strategy==="attribute"&&Object.keys(e).some(i=>!e[i].firstChange)&&this.attributeStrategy();}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang));}structuralStrategy(e,t){this.memo.clear();let i=this.getTranslateFn(e,t);this.view?(this.view.context.$implicit=i,this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:i,currentLang:this.currentLang}));}getTranslateFn(e,t){return (i,s)=>{let o=t?`${t}.${i}`:i,a=s?`${o}${JSON.stringify(s)}`:o;return this.memo.has(a)||this.memo.set(a,this.service.translate(o,s,e)),this.memo.get(a)}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.memo.clear();}detachLoader(){this.loaderTplHandler?.detachView();}resolveScope(e,t){let i=this.scopeResolver.resolve({inline:this.inlineScope,provider:t});this.path=this.langResolver.resolveLangPath(e,i);let s=Wt$2(t,i);return this.service._loadDependencies(this.path,s)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=rD({type:n,selectors:[["","transloco",""]],inputs:{key:[0,"transloco","key"],params:[0,"translocoParams","params"],inlineScope:[0,"translocoScope","inlineScope"],inlineRead:[0,"translocoRead","inlineRead"],prefix:[0,"translocoPrefix","prefix"],inlineLang:[0,"translocoLang","inlineLang"],inlineTpl:[0,"translocoLoadingTpl","inlineTpl"]},features:[fy]})}return n})(),fc$1=(()=>{class n{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new et;scopeResolver;constructor(e,t,i,s){this.service=e,this.providerScope=t,this.providerLang=i,this.cdr=s,this.scopeResolver=new tt(this.service);}transform(e,t,i){if(!e)return e;let s=t?`${e}${JSON.stringify(t)}`:e;if(s===this.lastKey)return this.lastValue;this.lastKey=s,this.subscription?.unsubscribe();let o=br$2(this.service,this.providerLang||i);return this.subscription=this.service.langChanges$.pipe(Yl$1(a=>{let u=this.langResolver.resolve({inline:i,provider:this.providerLang,active:a});return Array.isArray(this.providerScope)?Rg(this.providerScope.map(c=>this.resolveScope(u,c))):this.resolveScope(u,this.providerScope)}),Sr$2(o)).subscribe(()=>this.updateValue(e,t)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null;}updateValue(e,t){let i=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(e,t,i),this.cdr.markForCheck();}resolveScope(e,t){let i=this.scopeResolver.resolve({inline:void 0,provider:t});this.path=this.langResolver.resolveLangPath(e,i);let s=Wt$2(t,i);return this.service._loadDependencies(this.path,s)}static \u0275fac=function(t){return new(t||n)(Lr$3(vr$2,16),Lr$3(wr$2,24),Lr$3(Er$2,24),Lr$3(Z0$1,16))};static \u0275pipe=oD({name:"transloco",type:n,pure:false})}return n})();function hc$1(n){let r=[ts$1($i$2),rs$1(zi$1),is$1(Hi$2),ns$1(Gi$3)];return n.config&&r.push(Qi$3(n.config)),n.loader&&r.push(es$1(n.loader)),r}function Qi$3(n){return Cu([{provide:le,useValue:Bi$2(n)}])}function es$1(n){return Cu([{provide:fr$2,useClass:n}])}function ts$1(n){return Cu([{provide:hr$3,useClass:n,deps:[le]}])}function ns$1(n){return Cu([{provide:mr$2,useClass:n,deps:[le]}])}function rs$1(n){return Cu([{provide:gr$2,useClass:n}])}function is$1(n){return Cu([{provide:pr$2,useClass:n}])}
|
|
6
|
-
var q6=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,o){this._renderer=e,this._elementRef=o;}setProperty(e,o){this._renderer.setProperty(this._elementRef.nativeElement,e,o);}registerOnTouched(e){this.onTouched=e;}registerOnChange(e){this.onChange=e;}setDisabledState(e){this.setProperty("disabled",e);}static \u0275fac=function(o){return new(o||n)(Lr$3(nE),Lr$3(Nr$3))};static \u0275dir=rD({type:n})}return n})(),K6=(()=>{class n extends q6{static \u0275fac=(()=>{let e;return function(a){return (e||(e=Ay(n)))(a||n)}})();static \u0275dir=rD({type:n,features:[nh]})}return n})(),d1=new A$2(""),Br$1={provide:d1,useExisting:bo$3(()=>Rr$1),multi:true},Rr$1=(()=>{class n extends K6{writeValue(e){this.setProperty("checked",e);}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Ay(n)))(a||n)}})();static \u0275dir=rD({type:n,selectors:[["input","type","checkbox","formControlName","",3,"ngNoCva",""],["input","type","checkbox","formControl","",3,"ngNoCva",""],["input","type","checkbox","ngModel","",3,"ngNoCva",""]],hostBindings:function(o,a){o&1&&yh("change",function(r){return a.onChange(r.target.checked)})("blur",function(){return a.onTouched()});},standalone:false,features:[Vw([Br$1]),nh]})}return n})(),jr$1={provide:d1,useExisting:bo$3(()=>F4),multi:true};function Ur$1(){let n=O$1()?O$1().getUserAgent():"";return /android (\d+)/.test(n.toLowerCase())}var P3=new A$2(""),F4=(()=>{class n extends q6{_compositionMode;_composing=false;constructor(e,o,a){super(e,o),this._compositionMode=a,this._compositionMode==null&&(this._compositionMode=!Ur$1());}writeValue(e){let o=e??"";this.setProperty("value",o);}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e);}_compositionStart(){this._composing=true;}_compositionEnd(e){this._composing=false,this._compositionMode&&this.onChange(e);}static \u0275fac=function(o){return new(o||n)(Lr$3(nE),Lr$3(Nr$3),Lr$3(P3,8))};static \u0275dir=rD({type:n,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(o,a){o&1&&yh("input",function(r){return a._handleInput(r.target.value)})("blur",function(){return a.onTouched()})("compositionstart",function(){return a._compositionStart()})("compositionend",function(r){return a._compositionEnd(r.target.value)});},standalone:false,features:[Vw([jr$1]),nh]})}return n})();function H3(n){return n==null||E3(n)===0}function E3(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var A4=new A$2(""),G6=new A$2(""),Wr$2=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,C3=class{static min(t){return qr$1(t)}static max(t){return Kr$2(t)}static required(t){return $6(t)}static requiredTrue(t){return Gr$1(t)}static email(t){return $r$1(t)}static minLength(t){return Zr$2(t)}static maxLength(t){return Z6(t)}static pattern(t){return Qr$2(t)}static nullValidator(t){return T4()}static compose(t){return no$2(t)}static composeAsync(t){return ao$2(t)}};function qr$1(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return !isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}function Kr$2(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return !isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function $6(n){return H3(n.value)?{required:true}:null}function Gr$1(n){return n.value===true?null:{required:true}}function $r$1(n){return H3(n.value)||Wr$2.test(n.value)?null:{email:true}}function Zr$2(n){return t=>{let e=t.value?.length??E3(t.value);return e===null||e===0?null:e<n?{minlength:{requiredLength:n,actualLength:e}}:null}}function Z6(n){return t=>{let e=t.value?.length??E3(t.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function Qr$2(n){if(!n)return T4;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),o=>{if(H3(o.value))return null;let a=o.value;return t.test(a)?null:{pattern:{requiredPattern:e,actualValue:a}}}}function T4(n){return null}function Q6(n){return n!=null}function X6(n){return Jc$1(n)?Ne$2(n):n}function J6(n){let t={};return n.forEach(e=>{t=e!=null?r(r({},t),e):t;}),Object.keys(t).length===0?null:t}function eo$2(n,t){return t.map(e=>e(n))}function Xr$2(n){return !n.validate}function to$2(n){return n.map(t=>Xr$2(t)?t:e=>t.validate(e))}function no$2(n){if(!n)return null;let t=n.filter(Q6);return t.length==0?null:function(e){return J6(eo$2(e,t))}}function oo$2(n){return n!=null?no$2(to$2(n)):null}function ao$2(n){if(!n)return null;let t=n.filter(Q6);return t.length==0?null:function(e){let o=eo$2(e,t).map(X6);return Rg(o).pipe(Me$2(J6))}}function io$2(n){return n!=null?ao$2(to$2(n)):null}function L6(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function ro$2(n){return n._rawValidators}function co$2(n){return n._rawAsyncValidators}function w3(n){return n?Array.isArray(n)?n:[n]:[]}function P4(n,t){return Array.isArray(n)?n.includes(t):n===t}function I6(n,t){let e=w3(t);return w3(n).forEach(a=>{P4(e,a)||e.push(a);}),e}function N6(n,t){return w3(t).filter(e=>!P4(n,e))}var H4=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=oo$2(this._rawValidators);}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=io$2(this._rawAsyncValidators);}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t);}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[];}reset(t=void 0){this.control?.reset(t);}hasError(t,e){return this.control?this.control.hasError(t,e):false}getError(t,e){return this.control?this.control.getError(t,e):null}},x3=class extends H4{name;get formDirective(){return null}get path(){return null}};var D1="VALID",V4="INVALID",l1="PENDING",T1="DISABLED",Rt$1=class Rt{},E4=class extends Rt$1{value;source;constructor(t,e){super(),this.value=t,this.source=e;}},P1=class extends Rt$1{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e;}},H1=class extends Rt$1{touched;source;constructor(t,e){super(),this.touched=t,this.source=e;}},s1=class extends Rt$1{status;source;constructor(t,e){super(),this.status=t,this.source=e;}};var jt=class extends Rt$1{source;constructor(t){super(),this.source=t;}};function O3(n){return (L4(n)?n.validators:n)||null}function Jr$2(n){return Array.isArray(n)?oo$2(n):n||null}function Y3(n,t){return (L4(t)?t.asyncValidators:n)||null}function e0(n){return Array.isArray(n)?io$2(n):n||null}function L4(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function lo$2(n,t,e){let o=n.controls;if(!(t?Object.keys(o):o).length)throw new _$2(1e3,"");if(!ho$2(o,e))throw new _$2(1001,"")}function so$2(n,t,e){n._forEachChild((o,a)=>{if(e[a]===void 0)throw new _$2(-1002,"")});}var h1=class{_pendingDirty=false;_hasOwnPendingAsyncValidator=null;_pendingTouched=false;_onCollectionChange=()=>{};_updateOn;_hasRequired=Go$2(false);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e);}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t,this._updateHasRequiredValidator();}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t;}get parent(){return this._parent}get status(){return Jw(this.statusReactive)}set status(t){Jw(()=>this.statusReactive.set(t));}_status=Kw(()=>this.statusReactive());statusReactive=Go$2(void 0);get valid(){return this.status===D1}get invalid(){return this.status===V4}get pending(){return this.status===l1}get disabled(){return this.status===T1}get enabled(){return this.status!==T1}errors;get pristine(){return Jw(this.pristineReactive)}set pristine(t){Jw(()=>this.pristineReactive.set(t));}_pristine=Kw(()=>this.pristineReactive());pristineReactive=Go$2(true);get dirty(){return !this.pristine}get touched(){return Jw(this.touchedReactive)}set touched(t){Jw(()=>this.touchedReactive.set(t));}_touched=Kw(()=>this.touchedReactive());touchedReactive=Go$2(false);get untouched(){return !this.touched}_events=new re;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t);}setAsyncValidators(t){this._assignAsyncValidators(t);}addValidators(t){this.setValidators(I6(t,this._rawValidators));}addAsyncValidators(t){this.setAsyncValidators(I6(t,this._rawAsyncValidators));}removeValidators(t){this.setValidators(N6(t,this._rawValidators));}removeAsyncValidators(t){this.setAsyncValidators(N6(t,this._rawAsyncValidators));}hasValidator(t){return P4(this._rawValidators,t)}hasAsyncValidator(t){return P4(this._rawAsyncValidators,t)}clearValidators(){this.validator=null;}clearAsyncValidators(){this.asyncValidator=null;}markAsTouched(t={}){let e=this.touched===false;this.touched=true;let o=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched(s(r({},t),{sourceControl:o})),e&&t.emitEvent!==false&&this._events.next(new H1(true,o));}markAllAsDirty(t={}){this.markAsDirty({onlySelf:true,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(t));}markAllAsTouched(t={}){this.markAsTouched({onlySelf:true,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t));}markAsUntouched(t={}){let e=this.touched===true;this.touched=false,this._pendingTouched=false;let o=t.sourceControl??this;this._forEachChild(a=>{a.markAsUntouched({onlySelf:true,emitEvent:t.emitEvent,sourceControl:o});}),t.onlySelf||this._parent?._updateTouched(t,o),e&&t.emitEvent!==false&&this._events.next(new H1(false,o));}markAsDirty(t={}){let e=this.pristine===true;this.pristine=false;let o=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty(s(r({},t),{sourceControl:o})),e&&t.emitEvent!==false&&this._events.next(new P1(false,o));}markAsPristine(t={}){let e=this.pristine===false;this.pristine=true,this._pendingDirty=false;let o=t.sourceControl??this;this._forEachChild(a=>{a.markAsPristine({onlySelf:true,emitEvent:t.emitEvent});}),t.onlySelf||this._parent?._updatePristine(t,o),e&&t.emitEvent!==false&&this._events.next(new P1(true,o));}markAsPending(t={}){this.status=l1;let e=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new s1(this.status,e)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending(s(r({},t),{sourceControl:e}));}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=T1,this.errors=null,this._forEachChild(a=>{a.disable(s(r({},t),{onlySelf:true}));}),this._updateValue();let o=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new E4(this.value,o)),this._events.next(new s1(this.status,o)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(s(r({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(a=>a(true));}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=D1,this._forEachChild(o=>{o.enable(s(r({},t),{onlySelf:true}));}),this.updateValueAndValidity({onlySelf:true,emitEvent:t.emitEvent}),this._updateAncestors(s(r({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(false));}_updateAncestors(t,e){t.onlySelf||(this._parent?.updateValueAndValidity(t),t.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e));}setParent(t){this._parent=t;}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let o=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===D1||this.status===l1)&&this._runAsyncValidator(o,t.emitEvent);}let e=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new E4(this.value,e)),this._events.next(new s1(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity(s(r({},t),{sourceControl:e}));}_updateTreeValidity(t={emitEvent:true}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:true,emitEvent:t.emitEvent});}_setInitialStatus(){this.status=this._allControlsDisabled()?T1:D1;}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=l1,this._hasOwnPendingAsyncValidator={emitEvent:e!==false,shouldHaveEmitted:t!==false};let o=X6(this.asyncValidator(this));this._asyncValidationSubscription=o.subscribe(a=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(a,{emitEvent:e,shouldHaveEmitted:t});});}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??false;return this._hasOwnPendingAsyncValidator=null,t}return false}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==false,this,e.shouldHaveEmitted);}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((o,a)=>o&&o._find(a),this)}getError(t,e){let o=e?this.get(e):this;return o?.errors?o.errors[t]:null}hasError(t,e){return !!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,o){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||o)&&this._events.next(new s1(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,o);}_initObservables(){this.valueChanges=new Fe$1,this.statusChanges=new Fe$1;}_calculateStatus(){return this._allControlsDisabled()?T1:this.errors?V4:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(l1)?l1:this._anyControlsHaveStatus(V4)?V4:D1}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let o=!this._anyControlsDirty(),a=this.pristine!==o;this.pristine=o,t.onlySelf||this._parent?._updatePristine(t,e),a&&this._events.next(new P1(this.pristine,e));}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new H1(this.touched,e)),t.onlySelf||this._parent?._updateTouched(t,e);}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t;}_setUpdateStrategy(t){L4(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn);}_parentMarkedDirty(t){return !t&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Jr$2(this._rawValidators),this._updateHasRequiredValidator();}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=e0(this._rawAsyncValidators);}_updateHasRequiredValidator(){Jw(()=>this._hasRequired.set(this.hasValidator(C3.required)));}};function ho$2(n,t){return Object.hasOwn(n,t)}function t0(n){return n.tagName==="INPUT"||n.tagName==="SELECT"||n.tagName==="TEXTAREA"}function n0(n,t,e,o){switch(e){case "name":n.setAttribute(t,e,o);break;case "disabled":case "readonly":case "required":o?n.setAttribute(t,e,""):n.removeAttribute(t,e);break;case "max":case "min":case "minLength":case "maxLength":o!==void 0?n.setAttribute(t,e,o.toString()):n.removeAttribute(t,e);break}}var S3=class{kind;context;control;message;constructor({kind:t,context:e,control:o}){this.kind=t,this.context=e,this.control=o;}};function o0(n){return typeof n=="number"?n:parseInt(n,10)}var uo$2=(()=>{class n{_validator=T4;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let o=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):T4,this._onChange?.();}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e;}enabled(e){return e!=null}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,features:[fy]})}return n})();var a0={provide:A4,useExisting:bo$3(()=>mo$2),multi:true};var mo$2=(()=>{class n extends uo$2{required;inputName="required";normalizeInput=K0$1;createValidator=e=>$6;enabled(e){return e}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Ay(n)))(a||n)}})();static \u0275dir=rD({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(o,a){o&2&&lh("required",a._enabled?"":null);},inputs:{required:"required"},standalone:false,features:[Vw([a0]),nh]})}return n})();var i0={provide:A4,useExisting:bo$3(()=>r0),multi:true},r0=(()=>{class n extends uo$2{maxlength;inputName="maxlength";normalizeInput=e=>o0(e);createValidator=e=>Z6(e);static \u0275fac=(()=>{let e;return function(a){return (e||(e=Ay(n)))(a||n)}})();static \u0275dir=rD({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(o,a){o&2&&lh("maxlength",a._enabled?a.maxlength:null);},inputs:{maxlength:"maxlength"},standalone:false,features:[Vw([i0]),nh]})}return n})();var c0=new A$2(""),I4=new A$2("",{factory:()=>N4}),N4="always";function l0(n,t){return [...t.path,n]}function k3(n,t,e=N4){h0(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),u0(n,t),p0(n,t),m0(n,t),s0(n,t);}function B6(n,t,e=true){let o=()=>{};t?.valueAccessor?.registerOnChange(o),t?.valueAccessor?.registerOnTouched(o),d0(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}));}function O4(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t);});}function s0(n,t){if(t.valueAccessor.setDisabledState){let e=o=>{t.valueAccessor.setDisabledState(o);};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e);});}}function h0(n,t){let e=ro$2(n);t.validator!==null?n.setValidators(L6(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let o=co$2(n);t.asyncValidator!==null?n.setAsyncValidators(L6(o,t.asyncValidator)):typeof o=="function"&&n.setAsyncValidators([o]);let a=()=>n.updateValueAndValidity();O4(t._rawValidators,a),O4(t._rawAsyncValidators,a);}function d0(n,t){let e=false;if(n!==null){if(t.validator!==null){let a=ro$2(n);if(Array.isArray(a)&&a.length>0){let i=a.filter(r=>r!==t.validator);i.length!==a.length&&(e=true,n.setValidators(i));}}if(t.asyncValidator!==null){let a=co$2(n);if(Array.isArray(a)&&a.length>0){let i=a.filter(r=>r!==t.asyncValidator);i.length!==a.length&&(e=true,n.setAsyncValidators(i));}}}let o=()=>{};return O4(t._rawValidators,o),O4(t._rawAsyncValidators,o),e}function u0(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=true,n._pendingDirty=true,n.updateOn==="change"&&po$2(n,t);});}function m0(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=true,n.updateOn==="blur"&&n._pendingChange&&po$2(n,t),n.updateOn!=="submit"&&n.markAsTouched();});}function po$2(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:false}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=false;}function p0(n,t){let e=(o,a)=>{t.valueAccessor.writeValue(o),a&&t.viewToModelUpdate(o);};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e);});}function fo$2(n,t){if(!n.hasOwnProperty("model"))return false;let e=n.model;return e.isFirstChange()?true:!Object.is(t,e.currentValue)}function f0(n){return Object.getPrototypeOf(n.constructor)===K6}function v0(n,t){if(!t)return null;let e,o,a;return t.forEach(i=>{i.constructor===F4?e=i:f0(i)?o=i:a=i;}),a||o||e||null}var vo$2={provide:c0,useFactory:()=>{let n=C$2(Ct$1,{self:true});return {setParseErrors:t=>{n.setParseErrorSource(t);},set onReset(t){n.onReset=t;}}}},Ct$1=class Ct extends H4{_parent=null;name=null;valueAccessor=null;isCustomControlBased=false;userOnReset;resetSubscription;set onReset(t){this.userOnReset=t,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(e=>{e instanceof jt&&this.control&&this.userOnReset?.(this.control.value);}),this.subscription?.add(this.resetSubscription));}isNativeFormElement=false;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=v0(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(t,e,o){super(),this.injector=t,this.renderer=e,this.rawValueAccessors=o,this.injector?.get(at$1)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe();});}setupCustomControl(){this.subscription?.unsubscribe();let t=this.injector?.get(Z0$1);if(!this.control||!t)return;let e=t.markForCheck.bind(t);this.subscription=new H$1,this.subscription.add(this.control.valueChanges.subscribe(e)),this.subscription.add(this.control.statusChanges.subscribe(e)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(o=>{o instanceof jt&&this.control&&this.userOnReset?.(this.control.value);}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator);}ngControlCreate(t){!t.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!t.customControl||(this.isCustomControlBased=true,t.listenToCustomControlModel(a=>{this.control?.setValue(a,{emitModelToViewChange:false}),this.control?.markAsDirty(),this.viewToModelUpdate(a);}),t.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched();}),this.customControlBindings={},this.isNativeFormElement=t0(t.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(a=>a instanceof mo$2));}ngControlUpdate(t,e){if(!this.isCustomControlBased)return;let o=this.control,a=this.customControlBindings;Object.is(a.value,o.value)||(a.value=o.value,t.setCustomControlModelInput(o.value)),this.bindControlProperty(t,a,"touched",o.touched),this.bindControlProperty(t,a,"dirty",o.dirty),this.bindControlProperty(t,a,"valid",o.valid),this.bindControlProperty(t,a,"invalid",o.invalid),this.bindControlProperty(t,a,"pending",o.pending),this.bindControlProperty(t,a,"disabled",o.disabled),this.shouldBindRequired&&this.bindControlProperty(t,a,"required",this.isRequired);let i=o.errors;if(a.errors!==i){a.errors=i;let r=this._convertErrors(i);t.setInputOnDirectives("errors",r);}}get isRequired(){return (this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??false}get shouldBindRequired(){return true}bindControlProperty(t,e,o,a){if(e[o]===a)return;e[o]=a;let i=t.setInputOnDirectives(o,a);this.isNativeFormElement&&!i&&(o==="disabled"||o==="required")&&this.renderer&&n0(this.renderer,t.nativeElement,o,a);}_convertErrors(t){if(t===null)return [];let e=this.control;return Object.entries(t).map(([o,a])=>new S3({context:a,kind:o,control:e}))}setParseErrorSource(t){if(t===void 0)return;let e=null,o=Kw(()=>{let a=t();return a.length===0?null:a.reduce((i,r)=>(i[r.kind]=r,i),{})});this.parseErrorsValidator=(()=>e).bind(this),sd(()=>{e=o(),this.control?.updateValueAndValidity({emitEvent:false});},{injector:this.injector});}removeParseErrorsValidator(t){this.parseErrorsValidator&&(t?.removeValidators(this.parseErrorsValidator),t?.updateValueAndValidity({emitEvent:false}));}},V3=class{_cd;constructor(t){this._cd=t;}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return !!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return !!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return !!this._cd?.control?.invalid}get isPending(){return !!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var go$2=(()=>{class n extends V3{constructor(e){super(e);}static \u0275fac=function(o){return new(o||n)(Lr$3(Ct$1,2))};static \u0275dir=rD({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,a){o&2&&Nh("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending);},standalone:false,features:[nh]})}return n})();var Y4=class extends h1{constructor(t,e,o){super(O3(e),Y3(o,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator});}controls;registerControl(t,e){let o=this._find(t);return o||(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,o={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange();}removeControl(t,e={}){let o=this._find(t);o&&o._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}setControl(t,e,o={}){let a=this._find(t);a&&a._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange();}contains(t){return this._find(t)?.enabled===true}setValue(t,e={}){Jw(()=>{so$2(this,true,t),Object.keys(t).forEach(o=>{lo$2(this,true,o),this.controls[o].setValue(t[o],{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);});}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(o=>{let a=this._find(o);a&&a.patchValue(t[o],{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t={},e={}){this._forEachChild((o,a)=>{o.reset(t?t[a]:null,s(r({},e),{onlySelf:true}));}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==false&&this._events.next(new jt(this));}getRawValue(){return this._reduceChildren({},(t,e,o)=>(t[o]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(false,(e,o)=>o._syncPendingControls()?true:e);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let o=this.controls[e];o&&t(o,e);});}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);});}_updateValue(){this.value=this._reduceValue();}_anyControls(t){for(let[e,o]of Object.entries(this.controls))if(this.contains(e)&&t(o))return true;return false}_reduceValue(){let t={};return this._reduceChildren(t,(e,o,a)=>((o.enabled||this.disabled)&&(e[a]=o.value),e))}_reduceChildren(t,e){let o=t;return this._forEachChild((a,i)=>{o=e(o,a,i);}),o}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return false;return Object.keys(this.controls).length>0||this.disabled}_find(t){return ho$2(this.controls,t)?this.controls[t]:null}};var D3=class extends Y4{};function R6(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1);}function j6(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var D4=class extends h1{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=false;constructor(t=null,e,o){super(O3(e),Y3(o,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator}),L4(e)&&(e.nonNullable||e.initialValueIsDefault)&&(j6(t)?this.defaultValue=t.value:this.defaultValue=t);}setValue(t,e={}){Jw(()=>{this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==false&&this._onChange.forEach(o=>o(this.value,e.emitViewToModelChange!==false)),this.updateValueAndValidity(e);});}patchValue(t,e={}){this.setValue(t,e);}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=false,e?.emitEvent!==false&&this._events.next(new jt(this));}_updateValue(){}_anyControls(t){return false}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t);}_unregisterOnChange(t){R6(this._onChange,t);}registerOnDisabledChange(t){this._onDisabledChange.push(t);}_unregisterOnDisabledChange(t){R6(this._onDisabledChange,t);}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:true,emitModelToViewChange:false}),true):false}_applyFormState(t){j6(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:true,emitEvent:false}):this.enable({onlySelf:true,emitEvent:false})):this.value=this._pendingValue=t;}};var g0={provide:Ct$1,useExisting:bo$3(()=>F3)},U6=Promise.resolve(),F3=(()=>{class n extends Ct$1{_changeDetectorRef;callSetDisabledState;control=new D4;static ngAcceptInputType_isDisabled;_registered=false;viewModel;name="";isDisabled;model;options;update=new Fe$1;constructor(e,o,a,i,r,c,s,h){super(s,h,i),this._changeDetectorRef=r,this.callSetDisabledState=c,this._parent=e,this._setValidators(o),this._setAsyncValidators(a);}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let o=e.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)});}this._setUpControl();}"isDisabled"in e&&this._updateDisabled(e),fo$2(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.formDirective?.removeControl(this);}\u0275ngControlCreate(e){super.ngControlCreate(e);}\u0275ngControlUpdate(e){super.ngControlUpdate(e,false);}get shouldBindRequired(){return false}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=true;}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn);}_isStandalone(){return !this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,k3(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:false});}_setupWithForm(e){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,k3(this.control,this,e));}_checkForErrors(){this._checkName();}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name;}_updateValue(e){U6.then(()=>{this.control.setValue(e,{emitViewToModelChange:false}),this._changeDetectorRef?.markForCheck();});}_updateDisabled(e){let o=e.isDisabled.currentValue,a=o!==0&&K0$1(o);U6.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck();});}_getPath(e){return this._parent?l0(e,this._parent):[e]}static \u0275fac=function(o){return new(o||n)(Lr$3(x3,9),Lr$3(A4,10),Lr$3(G6,10),Lr$3(d1,10),Lr$3(Z0$1,8),Lr$3(I4,8),Lr$3(De$2,8),Lr$3(nE,8))};static \u0275dir=rD({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:false,features:[Vw([g0,vo$2]),nh,fy,sD(null)]})}return n})();var T3=class extends h1{constructor(t,e,o){super(O3(e),Y3(o,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator});}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){Array.isArray(t)?t.forEach(o=>{this.controls.push(o),this._registerControl(o);}):(this.controls.push(t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}insert(t,e,o={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:o.emitEvent});}removeAt(t,e={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent});}setControl(t,e,o={}){let a=this._adjustIndex(t);a<0&&(a=0),this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),e&&(this.controls.splice(a,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange();}get length(){return this.controls.length}setValue(t,e={}){Jw(()=>{so$2(this,false,t),t.forEach((o,a)=>{lo$2(this,false,a),this.at(a).setValue(o,{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);});}patchValue(t,e={}){t!=null&&(t.forEach((o,a)=>{this.at(a)&&this.at(a).patchValue(o,{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t=[],e={}){this._forEachChild((o,a)=>{o.reset(t[a],s(r({},e),{onlySelf:true}));}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==false&&this._events.next(new jt(this));}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}));}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,o)=>o._syncPendingControls()?true:e,false);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){this.controls.forEach((e,o)=>{t(e,o);});}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value);}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t));}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return false;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);}_find(t){return this.at(t)??null}};var zo$1=new A$2(""),z0={provide:Ct$1,useExisting:bo$3(()=>y0)},y0=(()=>{class n extends Ct$1{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new Fe$1;static _ngModelWarningSentOnce=false;_ngModelWarningSent=false;constructor(e,o,a,i,r,c,s){super(s,c,a),this._ngModelWarningConfig=i,this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(o);}ngOnChanges(e){if(this._isControlChanged(e)){let o=e.form.previousValue;o&&(B6(o,this,false),this.removeParseErrorsValidator(o)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,k3(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:false});}fo$2(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.form&&B6(this.form,this,false);}get path(){return []}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}_isControlChanged(e){return e.hasOwnProperty("form")}\u0275ngControlCreate(e){super.ngControlCreate(e);}\u0275ngControlUpdate(e){super.ngControlUpdate(e,true);}static \u0275fac=function(o){return new(o||n)(Lr$3(A4,10),Lr$3(G6,10),Lr$3(d1,10),Lr$3(zo$1,8),Lr$3(I4,8),Lr$3(nE,8),Lr$3(De$2,8))};static \u0275dir=rD({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:false,features:[Vw([z0,vo$2]),nh,fy,sD(null)]})}return n})();var yo$2=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();function W6(n){return !!n&&(n.asyncValidators!==void 0||n.validators!==void 0||n.updateOn!==void 0)}var u7=(()=>{class n{useNonNullable=false;get nonNullable(){let e=new n;return e.useNonNullable=true,e}group(e,o=null){let a=this._reduceControls(e),i={};return W6(o)?i=o:o!==null&&(i.validators=o.validator,i.asyncValidators=o.asyncValidator),new Y4(a,i)}record(e,o=null){let a=this._reduceControls(e);return new D3(a,o)}control(e,o,a){let i={};return this.useNonNullable?(W6(o)?i=o:(i.validators=o,i.asyncValidators=a),new D4(e,s(r({},i),{nonNullable:true}))):new D4(e,o,a)}array(e,o,a){let i=e.map(r=>this._createControl(r));return new T3(i,o,a)}_reduceControls(e){let o={};return Object.keys(e).forEach(a=>{o[a]=this._createControl(e[a]);}),o}_createControl(e){if(e instanceof D4)return e;if(e instanceof h1)return e;if(Array.isArray(e)){let o=e[0],a=e.length>1?e[1]:null,i=e.length>2?e[2]:null;return this.control(o,a,i)}else return this.control(e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();var _o$1=(()=>{class n{static withConfig(e){return {ngModule:n,providers:[{provide:I4,useValue:e.callSetDisabledState??N4}]}}static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({imports:[yo$2]})}return n})(),m7=(()=>{class n{static withConfig(e){return {ngModule:n,providers:[{provide:zo$1,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:I4,useValue:e.callSetDisabledState??N4}]}}static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({imports:[yo$2]})}return n})();var y7=(()=>{class n{elementRef=C$2(Nr$3);renderer=C$2(nE);hidden=null;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(){this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","");}ngOnChanges(){this.setHiddenAttribute();}ngAfterViewInit(){this.setHiddenAttribute();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","nz-button",""],["","nz-icon",""],["nz-icon"],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[fy]})}return n})(),Mo$2=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();var A3;try{A3=typeof Intl<"u"&&Intl.v8BreakIterator;}catch(n){A3=false;}var J$1=(()=>{class n{_platformId=C$2(Qm);isBrowser=this._platformId?qo$2(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||A3)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();var Qe=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(Qe||{}),B4,Ut;function R4(){if(Ut==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ut=false,Ut;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Ut=true;else {let n=Element.prototype.scrollTo;n?Ut=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Ut=false;}}return Ut}function u1(){if(typeof document!="object"||!document)return Qe.NORMAL;if(B4==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let e=document.createElement("div"),o=e.style;o.width="2px",o.height="1px",n.appendChild(e),document.body.appendChild(n),B4=Qe.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,B4=n.scrollLeft===0?Qe.NEGATED:Qe.INVERTED),n.remove();}return B4}var L3;function bo$2(){if(L3==null){let n=typeof document<"u"?document.head:null;L3=!!(n&&(n.createShadowRoot||n.attachShadow));}return L3}function I3(n){if(bo$2()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function N3(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t;}return n}function Ee$1(n){if(n.composedPath)try{return n.composedPath()[0]}catch(t){}return n.target}function B3(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var E1;function M0(){if(E1==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>E1=!0}));}finally{E1=E1||false;}return E1}function Co$2(n){return M0()?n:!!n.capture}var R3=class{triggerElement;ngZone;insertExtraNode;platform;cspNonce;waveTransitionDuration=400;styleForPseudo=null;extraNode=null;lastTime=0;clickHandler;get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(t,e,o,a,i){this.triggerElement=t,this.ngZone=e,this.insertExtraNode=o,this.platform=a,this.cspNonce=i,this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent();}onClick=t=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||t.target.tagName==="INPUT"||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave();};bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,true);});}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,true);}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 t=this.triggerElement,e=this.getWaveColor(t);t.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(e)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`
|
|
7
|
-
[ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {
|
|
8
|
-
--antd-wave-shadow-color: ${e};
|
|
9
|
-
}`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",t.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{t.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode();},this.waveTransitionDuration));}isValidColor(t){return !!t&&t!=="#ffffff"&&t!=="rgb(255, 255, 255)"&&this.isNotGrey(t)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(t)&&t!=="transparent"}isNotGrey(t){let e=t.match(/rgba?\((\d*), (\d*), (\d*)(, [.\d]*)?\)/);return e&&e[1]&&e[2]&&e[3]?!(e[1]===e[2]&&e[2]===e[3]):true}getWaveColor(t){let e=getComputedStyle(t);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(t,e){this.ngZone.runOutsideAngular(()=>setTimeout(t,e));}},b0={disabled:false},wo$2=new A$2("");function C0(n){return Cu([{provide:wo$2,useValue:n}])}var A7=(()=>{class n{nzWaveExtraNode=false;waveRenderer;waveDisabled=false;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=C$2(Ym,{optional:true});platform=C$2(J$1);config=C$2(wo$2,{optional:true});animationType=C$2(Zm,{optional:true});ngZone=C$2(oe$3);elementRef=C$2(Nr$3);constructor(){this.waveDisabled=this.isConfigDisabled();}isConfigDisabled(){let e=false;return this.config&&typeof this.config.disabled=="boolean"&&(e=this.config.disabled),this.animationType==="NoopAnimations"&&(e=true),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy();}ngOnInit(){this.renderWaveIfEnabled();}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new R3(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platform,this.cspNonce));}disable(){this.waveDisabled=true,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode());}enable(){this.waveDisabled=this.isConfigDisabled()||false,this.waveRenderer&&this.waveRenderer.bindTriggerEvent();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return n})(),xo$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({providers:[C0(b0)]})}return n})();var w0=new A$2("cdk-dir-doc",{providedIn:"root",factory:()=>C$2(Wo$2)}),x0=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function So$1(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?x0.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Ie=(()=>{class n{get value(){return this.valueSignal()}valueSignal=Go$2("ltr");change=new Fe$1;constructor(){let e=C$2(w0,{optional:true});if(e){let o=e.body?e.body.dir:null,a=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(So$1(o||a||"ltr"));}}ngOnDestroy(){this.change.complete();}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();var O1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();function pe$1(n,t){S0(n)&&(n="100%");var e=k0(n);return n=t===360?n:Math.min(t,Math.max(0,parseFloat(n))),e&&(n=parseInt(String(n*t),10)/100),Math.abs(n-t)<1e-6?1:(t===360?n=(n<0?n%t+t:n%t)/parseFloat(String(t)):n=n%t/parseFloat(String(t)),n)}function Y1(n){return Math.min(1,Math.max(0,n))}function S0(n){return typeof n=="string"&&n.indexOf(".")!==-1&&parseFloat(n)===1}function k0(n){return typeof n=="string"&&n.indexOf("%")!==-1}function j4(n){return n=parseFloat(n),(isNaN(n)||n<0||n>1)&&(n=1),n}function F1(n){return n<=1?"".concat(Number(n)*100,"%"):n}function wt$1(n){return n.length===1?"0"+n:String(n)}function ko$1(n,t,e){return {r:pe$1(n,255)*255,g:pe$1(t,255)*255,b:pe$1(e,255)*255}}function U3(n,t,e){n=pe$1(n,255),t=pe$1(t,255),e=pe$1(e,255);var o=Math.max(n,t,e),a=Math.min(n,t,e),i=0,r=0,c=(o+a)/2;if(o===a)r=0,i=0;else {var s=o-a;switch(r=c>.5?s/(2-o-a):s/(o+a),o){case n:i=(t-e)/s+(t<e?6:0);break;case t:i=(e-n)/s+2;break;case e:i=(n-t)/s+4;break;}i/=6;}return {h:i,s:r,l:c}}function j3(n,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?n+(t-n)*(6*e):e<1/2?t:e<2/3?n+(t-n)*(2/3-e)*6:n}function Vo$1(n,t,e){var o,a,i;if(n=pe$1(n,360),t=pe$1(t,100),e=pe$1(e,100),t===0)a=e,i=e,o=e;else {var r=e<.5?e*(1+t):e+t-e*t,c=2*e-r;o=j3(c,r,n+1/3),a=j3(c,r,n),i=j3(c,r,n-1/3);}return {r:o*255,g:a*255,b:i*255}}function A1(n,t,e){n=pe$1(n,255),t=pe$1(t,255),e=pe$1(e,255);var o=Math.max(n,t,e),a=Math.min(n,t,e),i=0,r=o,c=o-a,s=o===0?0:c/o;if(o===a)i=0;else {switch(o){case n:i=(t-e)/c+(t<e?6:0);break;case t:i=(e-n)/c+2;break;case e:i=(n-t)/c+4;break;}i/=6;}return {h:i,s,v:r}}function Do$2(n,t,e){n=pe$1(n,360)*6,t=pe$1(t,100),e=pe$1(e,100);var o=Math.floor(n),a=n-o,i=e*(1-t),r=e*(1-a*t),c=e*(1-(1-a)*t),s=o%6,h=[e,r,i,i,c,e][s],f=[c,e,e,r,i,i][s],v=[i,i,c,e,e,r][s];return {r:h*255,g:f*255,b:v*255}}function L1(n,t,e,o){var a=[wt$1(Math.round(n).toString(16)),wt$1(Math.round(t).toString(16)),wt$1(Math.round(e).toString(16))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function To$2(n,t,e,o,a){var i=[wt$1(Math.round(n).toString(16)),wt$1(Math.round(t).toString(16)),wt$1(Math.round(e).toString(16)),wt$1(V0(o))];return a&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function V0(n){return Math.round(parseFloat(n)*255).toString(16)}function W3(n){return Te$1(n)/255}function Te$1(n){return parseInt(n,16)}function Po$1(n){return {r:n>>16,g:(n&65280)>>8,b:n&255}}var I1={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 St$1(n){var t={r:0,g:0,b:0},e=1,o=null,a=null,i=null,r=false,c=false;return typeof n=="string"&&(n=P0(n)),typeof n=="object"&&(ut$2(n.r)&&ut$2(n.g)&&ut$2(n.b)?(t=ko$1(n.r,n.g,n.b),r=true,c=String(n.r).substr(-1)==="%"?"prgb":"rgb"):ut$2(n.h)&&ut$2(n.s)&&ut$2(n.v)?(o=F1(n.s),a=F1(n.v),t=Do$2(n.h,o,a),r=true,c="hsv"):ut$2(n.h)&&ut$2(n.s)&&ut$2(n.l)&&(o=F1(n.s),i=F1(n.l),t=Vo$1(n.h,o,i),r=true,c="hsl"),Object.prototype.hasOwnProperty.call(n,"a")&&(e=n.a)),e=j4(e),{ok:r,format:n.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:e}}var D0="[-\\+]?\\d+%?",T0="[-\\+]?\\d*\\.\\d+%?",xt="(?:".concat(T0,")|(?:").concat(D0,")"),q3="[\\s|\\(]+(".concat(xt,")[,|\\s]+(").concat(xt,")[,|\\s]+(").concat(xt,")\\s*\\)?"),K3="[\\s|\\(]+(".concat(xt,")[,|\\s]+(").concat(xt,")[,|\\s]+(").concat(xt,")[,|\\s]+(").concat(xt,")\\s*\\)?"),Xe={CSS_UNIT:new RegExp(xt),rgb:new RegExp("rgb"+q3),rgba:new RegExp("rgba"+K3),hsl:new RegExp("hsl"+q3),hsla:new RegExp("hsla"+K3),hsv:new RegExp("hsv"+q3),hsva:new RegExp("hsva"+K3),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 P0(n){if(n=n.trim().toLowerCase(),n.length===0)return false;var t=false;if(I1[n])n=I1[n],t=true;else if(n==="transparent")return {r:0,g:0,b:0,a:0,format:"name"};var e=Xe.rgb.exec(n);return e?{r:e[1],g:e[2],b:e[3]}:(e=Xe.rgba.exec(n),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=Xe.hsl.exec(n),e?{h:e[1],s:e[2],l:e[3]}:(e=Xe.hsla.exec(n),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=Xe.hsv.exec(n),e?{h:e[1],s:e[2],v:e[3]}:(e=Xe.hsva.exec(n),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=Xe.hex8.exec(n),e?{r:Te$1(e[1]),g:Te$1(e[2]),b:Te$1(e[3]),a:W3(e[4]),format:t?"name":"hex8"}:(e=Xe.hex6.exec(n),e?{r:Te$1(e[1]),g:Te$1(e[2]),b:Te$1(e[3]),format:t?"name":"hex"}:(e=Xe.hex4.exec(n),e?{r:Te$1(e[1]+e[1]),g:Te$1(e[2]+e[2]),b:Te$1(e[3]+e[3]),a:W3(e[4]+e[4]),format:t?"name":"hex8"}:(e=Xe.hex3.exec(n),e?{r:Te$1(e[1]+e[1]),g:Te$1(e[2]+e[2]),b:Te$1(e[3]+e[3]),format:t?"name":"hex"}:false)))))))))}function ut$2(n){return !!Xe.CSS_UNIT.exec(String(n))}var U4=(function(){function n(t,e){t===void 0&&(t=""),e===void 0&&(e={});var o;if(t instanceof n)return t;typeof t=="number"&&(t=Po$1(t)),this.originalInput=t;var a=St$1(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=e.format)!==null&&o!==void 0?o:a.format,this.gradientType=e.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=a.ok;}return n.prototype.isDark=function(){return this.getBrightness()<128},n.prototype.isLight=function(){return !this.isDark()},n.prototype.getBrightness=function(){var t=this.toRgb();return (t.r*299+t.g*587+t.b*114)/1e3},n.prototype.getLuminance=function(){var t=this.toRgb(),e,o,a,i=t.r/255,r=t.g/255,c=t.b/255;return i<=.03928?e=i/12.92:e=Math.pow((i+.055)/1.055,2.4),r<=.03928?o=r/12.92:o=Math.pow((r+.055)/1.055,2.4),c<=.03928?a=c/12.92:a=Math.pow((c+.055)/1.055,2.4),.2126*e+.7152*o+.0722*a},n.prototype.getAlpha=function(){return this.a},n.prototype.setAlpha=function(t){return this.a=j4(t),this.roundA=Math.round(100*this.a)/100,this},n.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},n.prototype.toHsv=function(){var t=A1(this.r,this.g,this.b);return {h:t.h*360,s:t.s,v:t.v,a:this.a}},n.prototype.toHsvString=function(){var t=A1(this.r,this.g,this.b),e=Math.round(t.h*360),o=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(e,", ").concat(o,"%, ").concat(a,"%)"):"hsva(".concat(e,", ").concat(o,"%, ").concat(a,"%, ").concat(this.roundA,")")},n.prototype.toHsl=function(){var t=U3(this.r,this.g,this.b);return {h:t.h*360,s:t.s,l:t.l,a:this.a}},n.prototype.toHslString=function(){var t=U3(this.r,this.g,this.b),e=Math.round(t.h*360),o=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(e,", ").concat(o,"%, ").concat(a,"%)"):"hsla(".concat(e,", ").concat(o,"%, ").concat(a,"%, ").concat(this.roundA,")")},n.prototype.toHex=function(t){return t===void 0&&(t=false),L1(this.r,this.g,this.b,t)},n.prototype.toHexString=function(t){return t===void 0&&(t=false),"#"+this.toHex(t)},n.prototype.toHex8=function(t){return t===void 0&&(t=false),To$2(this.r,this.g,this.b,this.a,t)},n.prototype.toHex8String=function(t){return t===void 0&&(t=false),"#"+this.toHex8(t)},n.prototype.toHexShortString=function(t){return t===void 0&&(t=false),this.a===1?this.toHexString(t):this.toHex8String(t)},n.prototype.toRgb=function(){return {r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},n.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(e,", ").concat(o,")"):"rgba(".concat(t,", ").concat(e,", ").concat(o,", ").concat(this.roundA,")")},n.prototype.toPercentageRgb=function(){var t=function(e){return "".concat(Math.round(pe$1(e,255)*100),"%")};return {r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},n.prototype.toPercentageRgbString=function(){var t=function(e){return Math.round(pe$1(e,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},n.prototype.toName=function(){if(this.a===0)return "transparent";if(this.a<1)return false;for(var t="#"+L1(this.r,this.g,this.b,false),e=0,o=Object.entries(I1);e<o.length;e++){var a=o[e],i=a[0],r=a[1];if(t===r)return i}return false},n.prototype.toString=function(t){var e=!!t;t=t??this.format;var o=false,a=this.a<1&&this.a>=0,i=!e&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(true)),t==="hex4"&&(o=this.toHex8String(true)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},n.prototype.toNumber=function(){return (Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},n.prototype.clone=function(){return new n(this.toString())},n.prototype.lighten=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l+=t/100,e.l=Y1(e.l),new n(e)},n.prototype.brighten=function(t){t===void 0&&(t=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(t/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(t/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(t/100)))),new n(e)},n.prototype.darken=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l-=t/100,e.l=Y1(e.l),new n(e)},n.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},n.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},n.prototype.desaturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s-=t/100,e.s=Y1(e.s),new n(e)},n.prototype.saturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s+=t/100,e.s=Y1(e.s),new n(e)},n.prototype.greyscale=function(){return this.desaturate(100)},n.prototype.spin=function(t){var e=this.toHsl(),o=(e.h+t)%360;return e.h=o<0?360+o:o,new n(e)},n.prototype.mix=function(t,e){e===void 0&&(e=50);var o=this.toRgb(),a=new n(t).toRgb(),i=e/100,r={r:(a.r-o.r)*i+o.r,g:(a.g-o.g)*i+o.g,b:(a.b-o.b)*i+o.b,a:(a.a-o.a)*i+o.a};return new n(r)},n.prototype.analogous=function(t,e){t===void 0&&(t=6),e===void 0&&(e=30);var o=this.toHsl(),a=360/e,i=[this];for(o.h=(o.h-(a*t>>1)+720)%360;--t;)o.h=(o.h+a)%360,i.push(new n(o));return i},n.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new n(t)},n.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var e=this.toHsv(),o=e.h,a=e.s,i=e.v,r=[],c=1/t;t--;)r.push(new n({h:o,s:a,v:i})),i=(i+c)%1;return r},n.prototype.splitcomplement=function(){var t=this.toHsl(),e=t.h;return [this,new n({h:(e+72)%360,s:t.s,l:t.l}),new n({h:(e+216)%360,s:t.s,l:t.l})]},n.prototype.onBackground=function(t){var e=this.toRgb(),o=new n(t).toRgb(),a=e.a+o.a*(1-e.a);return new n({r:(e.r*e.a+o.r*o.a*(1-e.a))/a,g:(e.g*e.a+o.g*o.a*(1-e.a))/a,b:(e.b*e.a+o.b*o.a*(1-e.a))/a,a})},n.prototype.triad=function(){return this.polyad(3)},n.prototype.tetrad=function(){return this.polyad(4)},n.prototype.polyad=function(t){for(var e=this.toHsl(),o=e.h,a=[this],i=360/t,r=1;r<t;r++)a.push(new n({h:(o+r*i)%360,s:e.s,l:e.l}));return a},n.prototype.equals=function(t){return this.toRgbString()===new n(t).toRgbString()},n})();var H0=["success","processing","error","default","warning"],E0=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function a9(n){return E0.indexOf(n)!==-1}function i9(n){return H0.indexOf(n)!==-1}var W4=2,Ho$1=.16,O0=.05,Y0=.05,F0=.15,Ao$2=5,Lo$1=4,A0=[{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 Eo$2({r:n,g:t,b:e}){let o=A1(n,t,e);return {h:o.h*360,s:o.s,v:o.v}}function q4({r:n,g:t,b:e}){return `#${L1(n,t,e,false)}`}function L0(n,t,e){let o=e/100;return {r:(t.r-n.r)*o+n.r,g:(t.g-n.g)*o+n.g,b:(t.b-n.b)*o+n.b}}function Oo$1(n,t,e){let o;return Math.round(n.h)>=60&&Math.round(n.h)<=240?o=e?Math.round(n.h)-W4*t:Math.round(n.h)+W4*t:o=e?Math.round(n.h)+W4*t:Math.round(n.h)-W4*t,o<0?o+=360:o>=360&&(o-=360),o}function Yo$1(n,t,e){if(n.h===0&&n.s===0)return n.s;let o;return e?o=n.s-Ho$1*t:t===Lo$1?o=n.s+Ho$1:o=n.s+O0*t,o>1&&(o=1),e&&t===Ao$2&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Fo$1(n,t,e){let o;return e?o=n.v+Y0*t:o=n.v-F0*t,o>1&&(o=1),Number(o.toFixed(2))}function G3(n,t={}){let e=[],o=St$1(n);for(let a=Ao$2;a>0;a-=1){let i=Eo$2(o),r=q4(St$1({h:Oo$1(i,a,true),s:Yo$1(i,a,true),v:Fo$1(i,a,true)}));e.push(r);}e.push(q4(o));for(let a=1;a<=Lo$1;a+=1){let i=Eo$2(o),r=q4(St$1({h:Oo$1(i,a),s:Yo$1(i,a),v:Fo$1(i,a)}));e.push(r);}return t.theme==="dark"?A0.map(({index:a,opacity:i})=>q4(L0(St$1(t.backgroundColor||"#141414"),St$1(e[a]),i*100))):e}var I0="[NG-ZORRO]:";function B0(n,...t){}var mt$2=(...n)=>B0((...t)=>console.warn(I0,...t),...n);function kt(n,t=0){return Bo$1(n)?Number(n):arguments.length===2?t:0}function Bo$1(n){return !isNaN(parseFloat(n))&&!isNaN(Number(n))}function Wt$1(n){return n instanceof Nr$3?n.nativeElement:n}function m1(n){return Array.isArray(n)?n:[n]}function W$1(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Ro$2(n){return n!=null&&`${n}`!="false"}function M9(n,t){if(!n||!t||n.length!==t.length)return false;let e=n.length;for(let o=0;o<e;o++)if(n[o]!==t[o])return false;return true}function X3(n){return typeof n<"u"&&n!==null}function b9(n){return typeof n>"u"||n===null}function N1(n){return n instanceof Tr$3}function C9(n){return Ro$2(n)}function w9(n){return J0$1(n,0)}function J3(n){return J0$1(n,1/0)}function x9(n,t=0){return kt(n,t)}function S9(n){return W$1(n)}function k9(n,...t){return typeof n=="function"?n(...t):n}function R0(n){return !!n&&typeof n.then=="function"&&typeof n.catch=="function"}function V9(n){return typeof n=="number"&&isFinite(n)}var $3,Z3,jo$1={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function T9(n="vertical",t="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=n==="vertical";if(e&&$3)return $3;if(!e&&Z3)return Z3;let o=document.createElement("div");Object.keys(jo$1).forEach(i=>{o.style[i]=jo$1[i];}),o.className=`${t}-hide-scrollbar scroll-div-append-to-body`,e?o.style.overflowY="scroll":o.style.overflowX="scroll",document.body.appendChild(o);let a=0;return e?(a=o.offsetWidth-o.clientWidth,$3=a):(a=o.offsetHeight-o.clientHeight,Z3=a),document.body.removeChild(o),a}function Wo$1(n){return Hg(n)?n:R0(n)?new S(t=>{Promise.resolve(n).then(e=>{t.next(e),t.complete();}).catch(e=>t.error(e));}):jg(n)}function en$2(){return !!(typeof window<"u"&&window.document&&window.document.createElement)}var U0="rc-util-key";function qo$1({mark:n}={}){return n?n.startsWith("data-")?n:`data-${n}`:U0}function tn$2(n){return n.attachTo?n.attachTo:document.querySelector("head")||document.body}function Uo$1(n,t={}){if(!en$2())return null;let e=document.createElement("style");t.cspNonce&&(e.nonce=t.cspNonce),e.innerHTML=n;let o=tn$2(t),{firstChild:a}=o;return t.prepend&&o.prepend?o.prepend(e):t.prepend&&a?o.insertBefore(e,a):o.appendChild(e),e}var Q3=new Map;function W0(n,t={}){let e=tn$2(t);return Array.from(Q3.get(e)?.children||[]).find(o=>o.tagName==="STYLE"&&o.getAttribute(qo$1(t))===n)}function Ko$1(n,t,e={}){let o=tn$2(e);if(!Q3.has(o)){let r=Uo$1("",e),{parentNode:c}=r;Q3.set(o,c),c.removeChild(r);}let a=W0(t,e);if(a)return e.cspNonce&&a.nonce!==e.cspNonce&&(a.nonce=e.cspNonce),a.innerHTML!==n&&(a.innerHTML=n),a;let i=Uo$1(n,e);return i?.setAttribute(qo$1(e),t),i}function Go$1(n,t,e){return {[`${n}-status-success`]:t==="success",[`${n}-status-warning`]:t==="warning",[`${n}-status-error`]:t==="error",[`${n}-status-validating`]:t==="validating",[`${n}-has-feedback`]:e}}function q0(n){return typeof Zone<"u"?Zone.root.run(n):n()}function Vt$1(n,t,e){return n?new S(o=>q0(()=>is$2(n,t,e).subscribe(o))):yt$2}function P9(n,t){return {[`${n}-outlined`]:t==="outlined",[`${n}-borderless`]:t==="borderless",[`${n}-filled`]:t==="filled",[`${n}-underlined`]:t==="underlined"}}function H9(n,t){return `${n}-${t}`}function E9(n){let t=Array.isArray(n)?n.filter(Boolean):null;return typeof n=="string"&&(t=n.trim().split(/\s+/).filter(Boolean)),t}function O9(n,t){n.focus(t);let{cursor:e}=t||{};if(e){let o=n.value.length;switch(e){case "start":n.setSelectionRange(0,0);break;case "end":n.setSelectionRange(o,o);break;default:n.setSelectionRange(0,o);}}}var K0=new A$2("");var G0=`-ant-${Date.now()}-${Math.random()}`;function $0(n,t){let e={},o=(r,c)=>{let s=r.clone();return s=c?.(s)||s,s.toRgbString()},a=(r,c)=>{let s=new U4(r),h=G3(s.toRgbString());e[`${c}-color`]=o(s),e[`${c}-color-disabled`]=h[1],e[`${c}-color-hover`]=h[4],e[`${c}-color-active`]=h[7],e[`${c}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),e[`${c}-color-deprecated-bg`]=h[1],e[`${c}-color-deprecated-border`]=h[3];};if(t.primaryColor){a(t.primaryColor,"primary");let r=new U4(t.primaryColor),c=G3(r.toRgbString());c.forEach((h,f)=>{e[`primary-${f+1}`]=h;}),e["primary-color-deprecated-l-35"]=o(r,h=>h.lighten(35)),e["primary-color-deprecated-l-20"]=o(r,h=>h.lighten(20)),e["primary-color-deprecated-t-20"]=o(r,h=>h.tint(20)),e["primary-color-deprecated-t-50"]=o(r,h=>h.tint(50)),e["primary-color-deprecated-f-12"]=o(r,h=>h.setAlpha(h.getAlpha()*.12));let s=new U4(c[0]);e["primary-color-active-deprecated-f-30"]=o(s,h=>h.setAlpha(h.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=o(s,h=>h.darken(2));}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),`
|
|
10
|
-
:root {
|
|
11
|
-
${Object.keys(e).map(r=>`--${n}-${r}: ${e[r]};`).join(`
|
|
12
|
-
`)}
|
|
13
|
-
}
|
|
14
|
-
`.trim()}function $o$1(n,t,e){let o=$0(n,t);en$2()?Ko$1(o,`${G0}-dynamic-theme`,{cspNonce:e}):mt$2("NzConfigService: SSR do not support dynamic theme with css variables.");}function Zo$1(n){return n!==void 0}var Qo$1="ant",Dt=(()=>{class n{configUpdated$=new re;_configMap=new Map;config=C$2(K0,{optional:true})||{};cspNonce=C$2(Ym,{optional:true});constructor(){this.config.theme&&$o$1(this.getConfig().prefixCls?.prefixCls||Qo$1,this.config.theme,this.cspNonce);}_getConfigValue(e){let o=this._configMap.get(e);return o||(o=Go$2(this.config[e]),this._configMap.set(e,o),o)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(sn$2(o=>o===e),Me$2(()=>{}))}set(e,o){this.config[e]=r(r({},this.config[e]),o),this._configMap.get(e)?.set(this.config[e]),e==="theme"&&this.config.theme&&$o$1(this.getConfig().prefixCls?.prefixCls||Qo$1,this.config.theme,this.cspNonce),this.configUpdated$.next(e);}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Tt$1(n,t){let e=C$2(at$1),o=C$2(Dt),a=null,i=ep(()=>{a=o.getConfigChangeEventForComponent(n).pipe(xt$1(e)).subscribe(t);});return ()=>{i.destroy(),a?.unsubscribe();}}function pt$2(){return function(n,t){t.addInitializer(function(){let e=C$2(Dt),o=this[t.name],a,i=false;Object.defineProperty(this,t.name,{get:()=>{let r=e.getConfigForComponent(this._nzModuleName)?.[t.name];return i?a:Zo$1(r)?r:o},set:r=>{i=Zo$1(r),a=r;},enumerable:true,configurable:true});});}}function qt$1(n){"@babel/helpers - typeof";return qt$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qt$1(n)}function Xo$1(n,t){if(qt$1(n)!="object"||!n)return n;var e=n[Symbol.toPrimitive];if(e!==void 0){var o=e.call(n,t);if(qt$1(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(n)}function Jo$1(n){var t=Xo$1(n,"string");return qt$1(t)=="symbol"?t:t+""}function Oe$1(n,t,e){return (t=Jo$1(t))in n?Object.defineProperty(n,t,{value:e,enumerable:true,configurable:true,writable:true}):n[t]=e,n}var ze$1=Math.round;function nn$1(n,t){let e=n.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=e.map(a=>parseFloat(a));for(let a=0;a<3;a+=1)o[a]=t(o[a]||0,e[a]||"",a);return e[3]?o[3]=e[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}var e8=(n,t,e)=>e===0?n:n/100;function B1(n,t){let e=t||255;return n>e?e:n<0?0:n}var Kt$1=class n{constructor(t){Oe$1(this,"isValid",true),Oe$1(this,"r",0),Oe$1(this,"g",0),Oe$1(this,"b",0),Oe$1(this,"a",1),Oe$1(this,"_h",void 0),Oe$1(this,"_s",void 0),Oe$1(this,"_l",void 0),Oe$1(this,"_v",void 0),Oe$1(this,"_max",void 0),Oe$1(this,"_min",void 0),Oe$1(this,"_brightness",void 0);function e(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let i=function(r){return a.startsWith(r)};let a=t.trim();/^#?[A-F\d]{3,8}$/i.test(a)?this.fromHexString(a):i("rgb")?this.fromRgbString(a):i("hsl")?this.fromHslString(a):(i("hsv")||i("hsb"))&&this.fromHsvString(a);}else if(t instanceof n)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(e("rgb"))this.r=B1(t.r),this.g=B1(t.g),this.b=B1(t.b),this.a=typeof t.a=="number"?B1(t.a,1):1;else if(e("hsl"))this.fromHsl(t);else if(e("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){let e=this.toHsv();return e.h=t,this._c(e)}getLuminance(){function t(i){let r=i/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}let e=t(this.r),o=t(this.g),a=t(this.b);return .2126*e+.7152*o+.0722*a}getHue(){if(typeof this._h>"u"){let t=this.getMax()-this.getMin();t===0?this._h=0:this._h=ze$1(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4));}return this._h}getSaturation(){if(typeof this._s>"u"){let t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax();}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){let e=this.getHue(),o=this.getSaturation(),a=this.getLightness()-t/100;return a<0&&(a=0),this._c({h:e,s:o,l:a,a:this.a})}lighten(t=10){let e=this.getHue(),o=this.getSaturation(),a=this.getLightness()+t/100;return a>1&&(a=1),this._c({h:e,s:o,l:a,a:this.a})}mix(t,e=50){let o=this._c(t),a=e/100,i=c=>(o[c]-this[c])*a+this[c],r={r:ze$1(i("r")),g:ze$1(i("g")),b:ze$1(i("b")),a:ze$1(i("a")*100)/100};return this._c(r)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){let e=this._c(t),o=this.a+e.a*(1-this.a),a=i=>ze$1((this[i]*this.a+e[i]*e.a*(1-this.a))/o);return this._c({r:a("r"),g:a("g"),b:a("b"),a:o})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#",e=(this.r||0).toString(16);t+=e.length===2?e:"0"+e;let o=(this.g||0).toString(16);t+=o.length===2?o:"0"+o;let a=(this.b||0).toString(16);if(t+=a.length===2?a:"0"+a,typeof this.a=="number"&&this.a>=0&&this.a<1){let i=ze$1(this.a*255).toString(16);t+=i.length===2?i:"0"+i;}return t}toHsl(){return {h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),e=ze$1(this.getSaturation()*100),o=ze$1(this.getLightness()*100);return this.a!==1?`hsla(${t},${e}%,${o}%,${this.a})`:`hsl(${t},${e}%,${o}%)`}toHsv(){return {h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return {r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,e,o){let a=this.clone();return a[t]=B1(e,o),a}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){let e=t.replace("#","");function o(a,i){return parseInt(e[a]+e[i||a],16)}e.length<6?(this.r=o(0),this.g=o(1),this.b=o(2),this.a=e[3]?o(3)/255:1):(this.r=o(0,1),this.g=o(2,3),this.b=o(4,5),this.a=e[6]?o(6,7)/255:1);}fromHsl({h:t,s:e,l:o,a}){if(this._h=t%360,this._s=e,this._l=o,this.a=typeof a=="number"?a:1,e<=0){let R=ze$1(o*255);this.r=R,this.g=R,this.b=R;}let i=0,r=0,c=0,s=t/60,h=(1-Math.abs(2*o-1))*e,f=h*(1-Math.abs(s%2-1));s>=0&&s<1?(i=h,r=f):s>=1&&s<2?(i=f,r=h):s>=2&&s<3?(r=h,c=f):s>=3&&s<4?(r=f,c=h):s>=4&&s<5?(i=f,c=h):s>=5&&s<6&&(i=h,c=f);let v=o-h/2;this.r=ze$1((i+v)*255),this.g=ze$1((r+v)*255),this.b=ze$1((c+v)*255);}fromHsv({h:t,s:e,v:o,a}){this._h=t%360,this._s=e,this._v=o,this.a=typeof a=="number"?a:1;let i=ze$1(o*255);if(this.r=i,this.g=i,this.b=i,e<=0)return;let r=t/60,c=Math.floor(r),s=r-c,h=ze$1(o*(1-e)*255),f=ze$1(o*(1-e*s)*255),v=ze$1(o*(1-e*(1-s))*255);switch(c){case 0:this.g=v,this.b=h;break;case 1:this.r=f,this.b=h;break;case 2:this.r=h,this.b=v;break;case 3:this.r=h,this.g=f;break;case 4:this.r=v,this.g=h;break;default:this.g=h,this.b=f;break}}fromHsvString(t){let e=nn$1(t,e8);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]});}fromHslString(t){let e=nn$1(t,e8);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]});}fromRgbString(t){let e=nn$1(t,(o,a)=>a.includes("%")?ze$1(o/100*255):o);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3];}};var K4=2,t8=.16,Z0=.05,Q0=.05,X0=.15,i8=5,r8=4,J0=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function n8(n,t,e){var o;return Math.round(n.h)>=60&&Math.round(n.h)<=240?o=e?Math.round(n.h)-K4*t:Math.round(n.h)+K4*t:o=e?Math.round(n.h)+K4*t:Math.round(n.h)-K4*t,o<0?o+=360:o>=360&&(o-=360),o}function o8(n,t,e){if(n.h===0&&n.s===0)return n.s;var o;return e?o=n.s-t8*t:t===r8?o=n.s+t8:o=n.s+Z0*t,o>1&&(o=1),e&&t===i8&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(o*100)/100}function a8(n,t,e){var o;return e?o=n.v+Q0*t:o=n.v-X0*t,o=Math.max(0,Math.min(1,o)),Math.round(o*100)/100}function G4(n){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],o=new Kt$1(n),a=o.toHsv(),i=i8;i>0;i-=1){var r=new Kt$1({h:n8(a,i,true),s:o8(a,i,true),v:a8(a,i,true)});e.push(r);}e.push(o);for(var c=1;c<=r8;c+=1){var s=new Kt$1({h:n8(a,c),s:o8(a,c),v:a8(a,c)});e.push(s);}return t.theme==="dark"?J0.map(function(h){var f=h.index,v=h.amount;return new Kt$1(t.backgroundColor||"#141414").mix(e[f],v).toHexString()}):e.map(function(h){return h.toHexString()})}var ft$1="[@ant-design/icons-angular]:";function ec(n){console.error(`${ft$1} ${n}.`);}function Y8(n){}function E8(n){return G4(n)[0]}function $4(n,t){switch(t){case "fill":return `${n}-fill`;case "outline":return `${n}-o`;case "twotone":return `${n}-twotone`;case void 0:return n;default:throw new Error(`${ft$1}Theme "${t}" is not a recognized theme!`)}}function tc(n,t,e,o){return `${$4(n,t)}-${e}-${o}`}function nc(n){return n==="o"?"outline":n}function oc(n){return n.endsWith("-fill")||n.endsWith("-o")||n.endsWith("-twotone")}function F8(n){return typeof n=="object"&&typeof n.name=="string"&&(typeof n.theme=="string"||n.theme===void 0)&&typeof n.icon=="string"}function ac(n){let t=n.split("-"),e=nc(t.splice(t.length-1,1)[0]);return {name:t.join("-"),theme:e,icon:""}}function ic(n){return n.cloneNode(true)}function rc(n){return n.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function Z4(n){let t=n.split(":");switch(t.length){case 1:return [n,""];case 2:return [t[1],t[0]];default:throw new Error(`${ft$1}The icon type ${n} is not valid!`)}}function cc(n){return Z4(n)[1]!==""}function lc(n,t,e){if(F8(n))return n;{let[o,a]=Z4(n);return a?n:oc(o)?(o):$4(o,t||e)}}function sc(){return new Error(`${ft$1}Type should have a namespace. Try "namespace:${name}".`)}function O8(n){return new Error(`${ft$1}the icon ${n} does not exist or is not registered.`)}function hc(){return ec('you need to import "HttpClientModule" to use dynamic importing.'),null}function dc(n){return new Error(`${ft$1}The url "${n}" is unsafe.`)}function uc(){return new Error(`${ft$1}<svg> tag not found.`)}function mc(){return new Error(`${ft$1}Importing timeout error.`)}var pc="__ant_icon_load",fc=new A$2("ant_icons"),A8=(()=>{class n{sanitizer=C$2(Pi$3);handler=C$2(Pt$1,{optional:true});document=C$2(Wo$2);renderer=C$2(Cr$2).createRenderer(null,null);_http;defaultTheme="outline";set twoToneColor({primaryColor:e,secondaryColor:o}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=o||E8(e);}get twoToneColor(){return r({},this._twoToneColorPalette)}get _disableDynamicLoading(){return false}_svgDefinitions=new Map;_svgRenderedDefinitions=new Map;_inProgressFetches=new Map;_assetsUrlRoot="";_twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"};_enableJsonpLoading=false;_jsonpIconLoad$=new re;constructor(){this.handler&&(this._http=new or$3(this.handler));let e=C$2(fc,{optional:true});e&&this.addIcon(...e);}useJsonpLoading(){this._enableJsonpLoading?Y8():(this._enableJsonpLoading=true,window[pc]=e=>{this._jsonpIconLoad$.next(e);});}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/";}addIcon(...e){e.forEach(o=>{this._svgDefinitions.set($4(o.name,o.theme),o);});}addIconLiteral(e,o){let[a,i]=Z4(e);if(!i)throw sc();this.addIcon({name:e,icon:o});}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear();}getRenderedContent(e,o){let a=F8(e)?e:this._svgDefinitions.get(e)||null;if(!a&&this._disableDynamicLoading)throw O8(e);return (a?jg(a):this._loadIconDynamically(e)).pipe(Me$2(r=>{if(!r)throw O8(e);return this._loadSVGFromCacheOrCreateNew(r,o)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return jg(hc());let o=this._inProgressFetches.get(e);if(!o){let[a,i]=Z4(e),r$1=i?{name:e,icon:""}:ac(a),c=this._enableJsonpLoading?".js":".svg",s$1=(i?`${this._assetsUrlRoot}assets/${i}/${a}`:`${this._assetsUrlRoot}assets/${r$1.theme}/${r$1.name}`)+c,h=this.sanitizer.sanitize(Ar$3.URL,s$1);if(!h)throw dc(s$1);o=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(r$1,h):this._http.get(h,{responseType:"text"}).pipe(Me$2(v=>s(r({},r$1),{icon:v})))).pipe(Kl$1(v=>this.addIcon(v)),zl$1(()=>this._inProgressFetches.delete(e)),ss$1(()=>jg(null)),ls$1()),this._inProgressFetches.set(e,o);}return o}_loadIconDynamicallyWithJsonp(e,o){return new S(a=>{let i=this.document.createElement("script"),r=setTimeout(()=>{c(),a.error(mc());},6e3);i.src=o;function c(){i.parentNode.removeChild(i),clearTimeout(r);}this.document.body.appendChild(i),this._jsonpIconLoad$.pipe(sn$2(s=>s.name===e.name&&s.theme===e.theme),vt$3(1)).subscribe(s=>{a.next(s),c();});})}_loadSVGFromCacheOrCreateNew(e,o){let a,i=o||this._twoToneColorPalette.primaryColor,r$1=E8(i)||this._twoToneColorPalette.secondaryColor,c=e.theme==="twotone"?tc(e.name,e.theme,i,r$1):e.theme===void 0?e.name:$4(e.name,e.theme),s$1=this._svgRenderedDefinitions.get(c);return s$1?a=s$1.icon:(a=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(cc(e.name)?e.icon:rc(e.icon)),e.theme==="twotone",i,r$1)),this._svgRenderedDefinitions.set(c,s(r({},e),{icon:a}))),ic(a)}_createSVGElementFromString(e){let o=this.document.createElement("div");o.innerHTML=e;let a=o.querySelector("svg");if(!a)throw uc;return a}_setSVGAttribute(e){return this.renderer.setAttribute(e,"width","1em"),this.renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,o,a,i){if(o){let r=e.childNodes,c=r.length;for(let s=0;s<c;s++){let h=r[s];h.getAttribute("fill")==="secondaryColor"?this.renderer.setAttribute(h,"fill",i):this.renderer.setAttribute(h,"fill",a);}}return this.renderer.setAttribute(e,"fill","currentColor"),e}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();function vc(n,t){return n.type===t.type&&n.theme===t.theme&&n.twoToneColor===t.twoToneColor}var Q4=class{_changeIcon(){return new Promise(t=>{let e=this.selfRenderMeta,{type:o,theme:a,twoToneColor:i}=e;if(!o){this._clearSVGElement(),t(null);return}let r=lc(o,a,this.iconService.defaultTheme);this.iconService.getRenderedContent(r,i).subscribe(c=>{let s=this.selfRenderMeta;vc(e,s)?(this._setSVGElement(c),t(c)):t(null);});})}_setSVGElement(t){this._clearSVGElement(),this.renderer.appendChild(this.el,t);}_clearSVGElement(){let t=this.el.childNodes,e=t.length;for(let o=e-1;o>=0;o--){let a=t[o];a.tagName?.toLowerCase()==="svg"&&this.renderer.removeChild(this.el,a);}}};var L8={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 I8={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>'};var N8={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 B8={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>'},R8={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 j8={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>'},U8={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 W8={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 q8={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>'};var K8={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 G8={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 $8={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>'};var Z8={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 Q8={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 X8={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 J8={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 ea$1={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 ta$1={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 na$1={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 oa$1={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>'};var aa$1={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 ia$1={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 ra$1={name:"eye-invisible",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" /></svg>'};var ca$1={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 la$1={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 sa$1={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 ha$1={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 da$1={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 ua$1={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 ma$1={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 pa$1={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 fa$1={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 va$1={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 ga$1={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 za$1={name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><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>'},ya$1={name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><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 _a$1={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 on$1={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 Ma$1={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 ba$1={name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'};var Ca={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>'};var wa$1={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 xa$1={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 Sa$1={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 ka$1={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 gc=[L8,I8,R8,U8,N8,B8,q8,j8,W8,G8,$8,K8,Z8,Q8,X8,ea$1,J8,ta$1,oa$1,na$1,ia$1,aa$1,ca$1,ra$1,la$1,sa$1,ha$1,da$1,ua$1,ma$1,pa$1,fa$1,va$1,ga$1,ya$1,za$1,on$1,_a$1,on$1,Ca,xa$1,wa$1,ba$1,Ma$1,Sa$1,ka$1],Da$1=new A$2("");var Va$1="#1890ff",Ta$1=(()=>{class n extends A8{nzConfigService=C$2(Dt);platform=C$2(J$1);configUpdated$=new re;get _disableDynamicLoading(){return !this.platform.isBrowser}iconfontCache=new Set;normalizeSvgElement(e){e.getAttribute("viewBox")||this.renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this.renderer.setAttribute(e,"width","1em"),this.renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this.renderer.setAttribute(e,"fill","currentColor");}fetchFromIconfont(e){let{scriptUrl:o}=e;if(this.document&&!this.iconfontCache.has(o)){let a=this.renderer.createElement("script");this.renderer.setAttribute(a,"src",o),this.renderer.setAttribute(a,"data-namespace",o.replace(/^(https?|http):/g,"")),this.renderer.appendChild(this.document.body,a),this.iconfontCache.add(o);}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}constructor(){super(),this.addIcon(...gc,...C$2(Da$1,{optional:true})||[]),this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme();}onConfigChange(){Tt$1("icon",()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next();});}configDefaultTheme(){let e=this.getConfig();this.defaultTheme=e.nzTheme||"outline";}configDefaultTwotoneColor(){let o=this.getConfig().nzTwotoneColor||Va$1,a=Va$1;(o.startsWith("#")?a=o:mt$2("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:a};}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Pa$1=new A$2("nz_icons_patch"),Ha$1=(()=>{class n{extraIcons=C$2(Pa$1,{self:true});rootIconService=C$2(Ta$1);patched=false;doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=true);}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),ke$1=(()=>{class n extends Q4{ngZone=C$2(oe$3);changeDetectorRef=C$2(Z0$1);destroyRef=C$2(at$1);pendingTasks=C$2(Ia$1);isBrowser=qo$2(C$2(Qm));el=C$2(Nr$3).nativeElement;renderer=C$2(nE);iconService=C$2(Ta$1);nzType=q0$1();nzTheme=q0$1();nzTwotoneColor=q0$1();nzSpin=q0$1(false,{transform:K0$1});nzRotate=q0$1(0,{transform:J0$1});nzIconfont=q0$1();hostClass=Kw(()=>{let e=this.nzType(),o=this.nzSpin(),a=["anticon"];return e&&a.push(`anticon-${e}`),(o||e==="loading")&&a.push("anticon-spin"),a});get selfRenderMeta(){return {type:this.nzType(),theme:this.nzTheme(),twoToneColor:this.nzTwotoneColor()}}constructor(){super(),C$2(Ha$1,{optional:true})?.doPatch();let e=false;sd(()=>{this.nzType(),this.nzTwotoneColor(),this.nzTheme(),this.nzType()?(e=true,this.ngZone.runOutsideAngular(()=>this.changeIcon2())):e&&(e=false,this._clearSVGElement());}),sd(()=>{this.nzRotate(),this.handleRotate(this.el.firstChild);}),sd(()=>{let o=this.nzIconfont();o&&this._setSVGElement(this.iconService.createIconfontIcon(`#${o}`));});}ngAfterContentChecked(){if(!this.nzType()){let e=this.el.children;for(let o=e.length-1;o>=0;o--){let a=e[o];a.tagName.toLowerCase()==="svg"&&this.iconService.normalizeSvgElement(a);}}}changeIcon2(){let e=this.pendingTasks.add();Wo$1(this._changeIcon()).pipe($l$1(0,this.isBrowser?Fg:Lg),xt$1(this.destroyRef),zl$1(e)).subscribe({next:a=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),a&&(this.setSVGData(a),this.handleRotate(a));});},error:mt$2});}handleRotate(e){if(!e)return;let o=this.nzRotate();o?this.renderer.setAttribute(e,"style",`transform: rotate(${o}deg)`):this.renderer.removeAttribute(e,"style");}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.nzType()),this.renderer.setAttribute(e,"aria-hidden","true");}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:["role","img"],hostVars:3,hostBindings:function(o,a){o&2&&(lh("aria-label",a.nzType()),mw(a.hostClass()));},inputs:{nzType:[1,"nzType"],nzTheme:[1,"nzTheme"],nzTwotoneColor:[1,"nzTwotoneColor"],nzSpin:[1,"nzSpin"],nzRotate:[1,"nzRotate"],nzIconfont:[1,"nzIconfont"]},exportAs:["nzIcon"],features:[nh]})}return n})(),zc=n=>Cu([{provide:Da$1,useValue:n}]),yc=n=>[Ha$1,{provide:Pa$1,useValue:n}],vt$1=(()=>{class n{static forRoot(e){return {ngModule:n,providers:[zc(e)]}}static forChild(e){return {ngModule:n,providers:[yc(e)]}}static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();function _c(n,t){n&1&&dh(0,"nz-icon",0),n&2&&uh("nzType",t);}var Mc={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},R1="ant-form-item-feedback-icon",Ea$1=(()=>{class n{status=q0$1("");iconType=Kw(()=>{let e=this.status();return e?Mc[e]:null});class=Kw(()=>{let e=this.status();return {[R1]:true,[`${R1}-error`]:e==="error",[`${R1}-warning`]:e==="warning",[`${R1}-success`]:e==="success",[`${R1}-validating`]:e==="validating"}});static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-form-item-feedback-icon"]],hostVars:2,hostBindings:function(o,a){o&2&&mw(a.class());},inputs:{status:[1,"status"]},exportAs:["nzFormFeedbackIcon"],decls:1,vars:1,consts:[[3,"nzType"]],template:function(o,a){if(o&1&&ND(0,_c,1,1,"nz-icon",0),o&2){let i;xD((i=a.iconType())?0:-1,i);}},dependencies:[vt$1,ke$1],encapsulation:2})}return n})(),p1=new A$2(""),Oa$1=(()=>{class n{formStatusChanges=new Ln$3(1);static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac})}return n})(),Ya$1=new A$2("");var Ne$1=(()=>{class n{viewContainer=C$2(Bi$3);templateRef=C$2(Tr$3);embeddedViewRef=null;context=new rn$1;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(e,o){return true}recreateView(){this.viewContainer.clear(),N1(this.nzStringTemplateOutlet)?this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.templateRef,this.context);}updateContext(){let e=N1(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(e)for(let a of Object.keys(e))o[a]=e[a];}ngOnChanges(e){let{nzStringTemplateOutletContext:o,nzStringTemplateOutlet:a}=e,i=()=>{let c=false;return a&&(c=a.firstChange||N1(a.previousValue)||N1(a.currentValue)),o&&(f=>{let v=Object.keys(f.previousValue||{}),R=Object.keys(f.currentValue||{});if(v.length===R.length){for(let m of R)if(v.indexOf(m)===-1)return true;return false}else return true})(o)||c};a&&(this.context.$implicit=a.currentValue),i()?this.recreateView():this.updateContext();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[fy]})}return n})(),rn$1=class rn{$implicit},Pt=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();var Aa$1=["*"],bc=n=>({$implicit:n});function Cc(n,t){if(n&1&&_w(0),n&2){let e=zD(3);Vh(e.nzSplit);}}function wc(n,t){if(n&1&&(Ni$3(0,"span",2),oh(1,Cc,1,1,"ng-template",3),tl$1()),n&2){let e=zD().$index,o=zD();vI(),uh("nzStringTemplateOutlet",o.nzSplit)("nzStringTemplateOutletContext",Bw(2,bc,e));}}function xc(n,t){if(n&1&&(Ni$3(0,"div",0),hh(1,1),tl$1(),ND(2,wc,2,4,"span",2)),n&2){let e=t.$implicit,o=t.$index,a=t.$count,i=zD();vI(),uh("ngTemplateOutlet",e),vI(),xD(i.nzSplit&&o!==a-1?2:-1);}}var j1=new A$2(""),La$1=new A$2(""),U1=new A$2(""),Sc=(()=>{class n{formSize=C$2(p1,{optional:true});nzBlock=q0$1(false,{transform:K0$1});nzDirection=q0$1("horizontal");nzSize=q0$1("default");elementRef=C$2(Nr$3);finalSize=Kw(()=>this.formSize?.()||this.nzSize());static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(o,a){o&2&&Nh("ant-space-compact-block",a.nzBlock())("ant-space-compact-vertical",a.nzDirection()==="vertical");},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[Vw([{provide:j1,useFactory:()=>C$2(n).finalSize},{provide:La$1,useFactory:()=>Go$2([])}])],ngContentSelectors:Aa$1,decls:1,vars:0,template:function(o,a){o&1&&(ZD(),YD(0));},encapsulation:2})}return n})(),X4=(()=>{class n{spaceCompactCmp=C$2(Sc,{host:true,optional:true});items=C$2(La$1,{host:true,optional:true});type=C$2(U1);elementRef=C$2(Nr$3);dir=C$2(Ie).valueSignal;get parentElement(){return this.elementRef.nativeElement?.parentElement}class=Kw(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;let e=this.items(),o=this.spaceCompactCmp.nzDirection(),a=[kc(this.type,o,this.dir()==="rtl")],i=e.indexOf(this),r=e.findIndex(c=>c);return i===r&&a.push(Vc(this.type,o)),i===e.length-1&&a.push(Dc(this.type,o)),a});constructor(){!this.spaceCompactCmp||!this.items||(ep(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){let e=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(o=>{let a=o.slice();return a.splice(e,0,this),a});}}),C$2(at$1).onDestroy(()=>{this.items?.update(e=>e.filter(o=>o!==this));}));}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,hostVars:2,hostBindings:function(o,a){o&2&&mw(a.class());},exportAs:["nzSpaceCompactItem"]})}return n})();function ln$2(n,t,e){return `ant-${n}-compact-${t==="vertical"?"vertical-":""}${e}`}function kc(n,t,e){let o=e?"-rtl":"";return `${ln$2(n,t,"item")}${o}`}function Vc(n,t){return ln$2(n,t,"first-item")}function Dc(n,t){return ln$2(n,t,"last-item")}var Tc=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","nzSpaceItem",""]]})}return n})(),Pc="space",Hc={small:8,middle:16,large:24};(()=>{let n,t=[],e=[];return class cn{static{let a=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[pt$2()],dC(null,null,n,{kind:"field",name:"nzSize",static:false,private:false,access:{has:i=>"nzSize"in i,get:i=>i.nzSize,set:(i,r)=>{i.nzSize=r;}},metadata:a},t,e),a&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:a});}_nzModuleName=Pc;nzConfigService=C$2(Dt);cdr=C$2(Z0$1);destroyRef=C$2(at$1);nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=false;nzSize=fC(this,t,"small");items=fC(this,e);mergedAlign;horizontalSize;verticalSize;constructor(){this.updateSpaceSize();}ngOnChanges(a){let{nzSize:i}=a;i&&this.updateSpaceSize(),this.mergedAlign=this.nzAlign===void 0&&this.nzDirection==="horizontal"?"center":this.nzAlign;}ngAfterContentInit(){this.items.changes.pipe(xt$1(this.destroyRef)).subscribe(()=>{this.cdr.markForCheck();});}updateSpaceSize(){let{horizontalSize:a,verticalSize:i}=Ec(this.nzSize);this.horizontalSize=a,this.verticalSize=i;}static \u0275fac=function(i){return new(i||cn)};static \u0275cmp=JE({type:cn,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(i,r,c){if(i&1&&Eh(c,Tc,4,Tr$3),i&2){let s;JD(s=XD())&&(r.items=s);}},hostAttrs:[1,"ant-space"],hostVars:18,hostBindings:function(i,r){i&2&&(Sh("flex-wrap",r.nzWrap?"wrap":null)("column-gap",r.horizontalSize,"px")("row-gap",r.verticalSize,"px"),Nh("ant-space-horizontal",r.nzDirection==="horizontal")("ant-space-vertical",r.nzDirection==="vertical")("ant-space-align-start",r.mergedAlign==="start")("ant-space-align-end",r.mergedAlign==="end")("ant-space-align-center",r.mergedAlign==="center")("ant-space-align-baseline",r.mergedAlign==="baseline"));},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",K0$1],nzSize:"nzSize"},exportAs:["nzSpace"],features:[fy],ngContentSelectors:Aa$1,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){i&1&&(ZD(),YD(0),kD(1,xc,3,2,null,null,RD)),i&2&&(vI(),OD(r.items));},dependencies:[Ur$2,Ne$1],encapsulation:2})}})();function Ec(n){let[t,e]=(Array.isArray(n)?n:[n,n]).map(o=>typeof o=="number"?o:Hc[o]);return {horizontalSize:t,verticalSize:e}}var Oc=["*"];function Yc(n,t){n&1&&(Ni$3(0,"span",0),dh(1,"nz-icon",1),tl$1());}var Na$1="button",Fc=(()=>{let n,t=[],e=[];return class sn{static{let a=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[pt$2()],dC(null,null,n,{kind:"field",name:"nzSize",static:false,private:false,access:{has:i=>"nzSize"in i,get:i=>i.nzSize,set:(i,r)=>{i.nzSize=r;}},metadata:a},t,e),a&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:a});}elementRef=C$2(Nr$3);cdr=C$2(Z0$1);renderer=C$2(nE);destroyRef=C$2(at$1);dir=C$2(Ie).valueSignal;_nzModuleName=Na$1;nzIconDirectiveElement;nzBlock=false;nzGhost=false;nzLoading=false;nzDanger=false;disabled=false;tabIndex=null;nzType=null;nzShape=null;nzSize=fC(this,t,"default");elementOnly=(fC(this,e),Go$2(false));size=Go$2(this.nzSize);loading$=new re;formSize=C$2(p1,{optional:true});compactSize=C$2(j1,{optional:true});finalSize=Kw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());iconDir=z0$1(ke$1);loadingIconDir=G0$1(ke$1);iconOnly=Kw(()=>this.elementOnly()&&(!!this.iconDir()||!!this.loadingIconDir()));constructor(){Tt$1(Na$1,()=>{this.size.set(this.nzSize),this.cdr.markForCheck();}),Zv({read:()=>{let{children:a}=this.elementRef.nativeElement,i=Array.from(a).filter(r=>r.style.display!=="none");this.elementOnly.set(i.length===1);}});}ngOnInit(){this.size.set(this.nzSize),Vt$1(this.elementRef.nativeElement,"click",{capture:true}).pipe(xt$1(this.destroyRef)).subscribe(a=>{(this.disabled&&a.target?.tagName==="A"||this.nzLoading)&&(a.preventDefault(),a.stopImmediatePropagation());});}ngOnChanges({nzLoading:a,nzSize:i}){a&&this.loading$.next(this.nzLoading),i&&this.size.set(i.currentValue);}ngAfterViewInit(){this.insertSpan();}ngAfterContentInit(){this.loading$.pipe(Zl$1(this.nzLoading),sn$2(()=>!!this.nzIconDirectiveElement),xt$1(this.destroyRef)).subscribe(a=>{let i=this.nzIconDirectiveElement.nativeElement;a?this.renderer.setStyle(i,"display","none"):this.renderer.removeStyle(i,"display");});}insertSpan(){this.elementRef.nativeElement.childNodes.forEach(a=>{if(a.nodeType===Node.TEXT_NODE&&a.textContent.trim().length>0){let i=this.renderer.createElement("span"),r=this.renderer.parentNode(a);this.renderer.insertBefore(r,i,a),this.renderer.appendChild(i,a);}});}static \u0275fac=function(i){return new(i||sn)};static \u0275cmp=JE({type:sn,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(i,r,c){if(i&1&&(wh(c,r.iconDir,ke$1,5),Eh(c,ke$1,5,Nr$3)),i&2){ew();let s;JD(s=XD())&&(r.nzIconDirectiveElement=s.first);}},viewQuery:function(i,r){i&1&&Th(r.loadingIconDir,ke$1,5),i&2&&ew();},hostAttrs:[1,"ant-btn"],hostVars:32,hostBindings:function(i,r){i&2&&(lh("tabindex",r.disabled?-1:r.tabIndex===null?null:r.tabIndex)("disabled",r.disabled||null),Nh("ant-btn-default",r.nzType==="default")("ant-btn-primary",r.nzType==="primary")("ant-btn-dashed",r.nzType==="dashed")("ant-btn-link",r.nzType==="link")("ant-btn-text",r.nzType==="text")("ant-btn-circle",r.nzShape==="circle")("ant-btn-round",r.nzShape==="round")("ant-btn-lg",r.finalSize()==="large")("ant-btn-sm",r.finalSize()==="small")("ant-btn-dangerous",r.nzDanger)("ant-btn-loading",r.nzLoading)("ant-btn-background-ghost",r.nzGhost)("ant-btn-block",r.nzBlock)("ant-btn-rtl",r.dir()==="rtl")("ant-btn-icon-only",r.iconOnly()));},inputs:{nzBlock:[2,"nzBlock","nzBlock",K0$1],nzGhost:[2,"nzGhost","nzGhost",K0$1],nzLoading:[2,"nzLoading","nzLoading",K0$1],nzDanger:[2,"nzDanger","nzDanger",K0$1],disabled:[2,"disabled","disabled",K0$1],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[Vw([{provide:U1,useValue:"btn"}]),aD([X4]),fy],ngContentSelectors:Oc,decls:2,vars:1,consts:[[1,"ant-btn-icon","ant-btn-loading-icon"],["nzType","loading"]],template:function(i,r){i&1&&(ZD(),ND(0,Yc,2,0,"span",0),YD(1)),i&2&&xD(r.nzLoading?0:-1);},dependencies:[vt$1,ke$1],encapsulation:2})}})(),Vd=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({imports:[Fc,Mo$2,xo$1]})}return n})();var J4=new WeakMap,W1=(()=>{class n{_appRef;_injector=C$2(De$2);_environmentInjector=C$2(ue$2);load(e){let o=this._appRef=this._appRef||this._injector.get($i$3),a=J4.get(o);a||(a={loaders:new Set,refs:[]},J4.set(o,a),o.onDestroy(()=>{J4.get(o)?.refs.forEach(i=>i.destroy()),J4.delete(o);})),a.loaders.has(e)||(a.loaders.add(e),a.refs.push(X0$1(e,{environmentInjector:this._environmentInjector})));}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();var e2=class{};function Ba$1(n){return n&&typeof n.connect=="function"&&!(n instanceof ns$2)}var t2=class extends e2{_data;constructor(t){super(),this._data=t;}connect(){return Hg(this._data)?this._data:jg(this._data)}disconnect(){}},q1=(function(n){return n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED",n})(q1||{}),n2=class{viewCacheSize=20;_viewCache=[];applyChanges(t,e,o,a,i){t.forEachOperation((r,c,s)=>{let h,f;if(r.previousIndex==null){let v=()=>o(r,c,s);h=this._insertView(v,s,e,a(r)),f=h?q1.INSERTED:q1.REPLACED;}else s==null?(this._detachAndCacheView(c,e),f=q1.REMOVED):(h=this._moveView(c,s,e,a(r)),f=q1.MOVED);i&&i({context:h?.context,operation:f,record:r});});}detach(){for(let t of this._viewCache)t.destroy();this._viewCache=[];}_insertView(t,e,o,a){let i=this._insertViewFromCache(e,o);if(i){i.context.$implicit=a;return}let r=t();return o.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){let o=e.detach(t);this._maybeCacheView(o,e);}_moveView(t,e,o,a){let i=o.get(t);return o.move(i,e),i.context.$implicit=a,i}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else {let o=e.indexOf(t);o===-1?t.destroy():e.remove(o);}}_insertViewFromCache(t,e){let o=this._viewCache.pop();return o&&e.insert(o,t),o||null}};var Ac=["contentWrapper"],Lc=["*"],Ua$1=new A$2("VIRTUAL_SCROLL_STRATEGY"),hn$1=class hn{_scrolledIndexChange=new re;scrolledIndexChange=this._scrolledIndexChange.pipe(em());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(t,e,o){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=o;}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange();}detach(){this._scrolledIndexChange.complete(),this._viewport=null;}updateItemAndBufferSize(t,e,o){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=o,this._updateTotalContentSize(),this._updateRenderedRange();}onContentScrolled(){this._updateRenderedRange();}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange();}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e);}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize);}_updateRenderedRange(){if(!this._viewport)return;let t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},o=this._viewport.getViewportSize(),a=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),r=this._itemSize>0?i/this._itemSize:0;if(e.end>a){let s=Math.ceil(o/this._itemSize),h=Math.max(0,Math.min(r,a-s));r!=h&&(r=h,i=h*this._itemSize,e.start=Math.floor(r)),e.end=Math.max(0,Math.min(a,e.start+s));}let c=i-e.start*this._itemSize;if(c<this._minBufferPx&&e.start!=0){let s=Math.ceil((this._maxBufferPx-c)/this._itemSize);e.start=Math.max(0,e.start-s),e.end=Math.min(a,Math.ceil(r+(o+this._minBufferPx)/this._itemSize));}else {let s=e.end*this._itemSize-(i+o);if(s<this._minBufferPx&&e.end!=a){let h=Math.ceil((this._maxBufferPx-s)/this._itemSize);h>0&&(e.end=Math.min(a,e.end+h),e.start=Math.max(0,Math.floor(r-this._minBufferPx/this._itemSize)));}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(r));}};function Ic(n){return n._scrollStrategy}var un$2=(()=>{class n{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=kt(e);}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=kt(e);}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=kt(e);}_maxBufferPx=200;_scrollStrategy=new hn$1(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx);}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Vw([{provide:Ua$1,useFactory:Ic,deps:[bo$3(()=>n)]}]),fy]})}return n})(),Nc=20,K1=(()=>{class n{_ngZone=C$2(oe$3);_platform=C$2(J$1);_renderer=C$2(Cr$2).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new re;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)));}deregister(e){let o=this.scrollContainers.get(e);o&&(o.unsubscribe(),this.scrollContainers.delete(e));}scrolled(e=Nc){return this._platform.isBrowser?new S(o=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let a=e>0?this._scrolled.pipe(Kg(e)).subscribe(o):this._scrolled.subscribe(o);return this._scrolledCount++,()=>{a.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0);}}):jg()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,o)=>this.deregister(o)),this._scrolled.complete();}ancestorScrolled(e,o){let a=this.getAncestorScrollContainers(e);return this.scrolled(o).pipe(sn$2(i=>!i||a.indexOf(i)>-1))}getAncestorScrollContainers(e){let o=[];return this.scrollContainers.forEach((a,i)=>{this._targetContainsElement(i,e)&&o.push(i);}),o}_targetContainsElement(e,o){let a=Wt$1(o),i=e.getElementRef().nativeElement;do if(a==i)return true;while(a=a.parentElement);return false}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),mn$2=(()=>{class n{elementRef=C$2(Nr$3);scrollDispatcher=C$2(K1);ngZone=C$2(oe$3);dir=C$2(Ie,{optional:true});_scrollElement=this.elementRef.nativeElement;_destroyed=new re;_renderer=C$2(nE);_cleanupScroll;_elementScrolled=new re;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this);}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete();}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let o=this.elementRef.nativeElement,a=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=a?e.end:e.start),e.right==null&&(e.right=a?e.start:e.end),e.bottom!=null&&(e.top=o.scrollHeight-o.clientHeight-e.bottom),a&&u1()!=Qe.NORMAL?(e.left!=null&&(e.right=o.scrollWidth-o.clientWidth-e.left),u1()==Qe.INVERTED?e.left=e.right:u1()==Qe.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=o.scrollWidth-o.clientWidth-e.right),this._applyScrollToOptions(e);}_applyScrollToOptions(e){let o=this.elementRef.nativeElement;R4()?o.scrollTo(e):(e.top!=null&&(o.scrollTop=e.top),e.left!=null&&(o.scrollLeft=e.left));}measureScrollOffset(e){let o="left",a="right",i=this.elementRef.nativeElement;if(e=="top")return i.scrollTop;if(e=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let r=this.dir&&this.dir.value=="rtl";return e=="start"?e=r?a:o:e=="end"&&(e=r?o:a),r&&u1()==Qe.INVERTED?e==o?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&u1()==Qe.NEGATED?e==o?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==o?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),Bc=20,Gt$1=(()=>{class n{_platform=C$2(J$1);_listeners;_viewportSize=null;_change=new re;_document=C$2(Wo$2);constructor(){let e=C$2(oe$3),o=C$2(Cr$2).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let a=i=>this._change.next(i);this._listeners=[o.listen("window","resize",a),o.listen("window","orientationchange",a)];}this.change().subscribe(()=>this._viewportSize=null);});}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete();}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:o,height:a}=this.getViewportSize();return {top:e.top,left:e.left,bottom:e.top+a,right:e.left+o,height:a,width:o}}getViewportScrollPosition(){if(!this._platform.isBrowser)return {top:0,left:0};let e=this._document,o=this._getWindow(),a=e.documentElement,i=a.getBoundingClientRect(),r=-i.top||e.body?.scrollTop||o.scrollY||a.scrollTop||0,c=-i.left||e.body?.scrollLeft||o.scrollX||a.scrollLeft||0;return {top:r,left:c}}change(e=Bc){return e>0?this._change.pipe(Kg(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0};}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),Ra$1=new A$2("VIRTUAL_SCROLLABLE"),Rc=(()=>{class n extends mn$2{measureViewportSize(e){let o=this.elementRef.nativeElement;return e==="horizontal"?o.clientWidth:o.clientHeight}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Ay(n)))(a||n)}})();static \u0275dir=rD({type:n,features:[nh]})}return n})();function jc(n,t){return n.start==t.start&&n.end==t.end}var Uc=typeof requestAnimationFrame<"u"?Fg:Lg,Wa$1=new A$2("CDK_VIRTUAL_SCROLL_VIEWPORT"),G1=(()=>{class n extends Rc{elementRef=C$2(Nr$3);_changeDetectorRef=C$2(Z0$1);_scrollStrategy=C$2(Ua$1,{optional:true});scrollable=C$2(Ra$1,{optional:true});_platform=C$2(J$1);_detachedSubject=new re;_renderedRangeSubject=new re;_renderedContentOffsetSubject=new re;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize());}_orientation="vertical";appendOnly=false;scrolledIndexChange=new S(e=>this._scrollStrategy.scrolledIndexChange.subscribe(o=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(o)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(sn$2(e=>e!==null),em());_totalContentSize=0;_totalContentWidth=Go$2("");_totalContentHeight=Go$2("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=false;_changeDetectionNeeded=Go$2(false);_runAfterChangeDetection=[];_viewportChanges=H$1.EMPTY;_injector=C$2(De$2);_isDestroyed=false;constructor(){super();let e=C$2(Gt$1);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize();}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let o=sd(()=>{this._changeDetectionNeeded()&&this._doChangeDetection();},{injector:C$2($i$3).injector});C$2(at$1).onDestroy(()=>{o.destroy();});}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Zl$1(null),Kg(0,Uc),cm(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded();})));}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=true,super.ngOnDestroy();}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(cm(this._detachedSubject)).subscribe(o=>{let a=o.length;a!==this._dataLength&&(this._dataLength=a,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection();});});}detach(){this._forOf=null,this._detachedSubject.next();}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded());}setRenderedRange(e){jc(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()));}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,o="to-start"){e=this.appendOnly&&o==="to-start"?0:e;let a=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",r=i?"X":"Y",s=`translate${r}(${Number((i&&a?-1:1)*e)}px)`;this._renderedContentOffset=e,o==="to-end"&&(s+=` translate${r}(-100%)`,this._renderedContentOffsetNeedsRewrite=true),this._renderedContentTransform!=s&&(this._renderedContentTransform=s,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=false,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged();}));}scrollToOffset(e,o="auto"){let a={behavior:o};this.orientation==="horizontal"?a.start=e:a.top=e,this.scrollable.scrollTo(a);}scrollToIndex(e,o="auto"){this._scrollStrategy.scrollToIndex(e,o);}measureScrollOffset(e){let o;return this.scrollable==this?o=a=>super.measureScrollOffset(a):o=a=>this.scrollable.measureScrollOffset(a),Math.max(0,o(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let o,a="left",i="right",r=this.dir?.value=="rtl";e=="start"?o=r?i:a:e=="end"?o=r?a:i:e?o=e:o=this.orientation==="horizontal"?"left":"top";let c=this.scrollable.measureBoundingClientRectWithScrollOffset(o);return this.elementRef.nativeElement.getBoundingClientRect()[o]-c}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged();}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation);}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!Jw(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(true);});});});}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),ep(()=>{this._changeDetectionNeeded.set(false);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let o of e)o();},{injector:this._injector});});}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"");}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(o,a){if(o&1&&Dh(Ac,7),o&2){let i;JD(i=XD())&&(a._contentWrapper=i.first);}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(o,a){o&2&&Nh("cdk-virtual-scroll-orientation-horizontal",a.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",a.orientation!=="horizontal");},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",K0$1]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Vw([{provide:mn$2,useFactory:()=>C$2(Ra$1,{optional:true})||C$2(n)},{provide:Wa$1,useExisting:n}]),nh],ngContentSelectors:Lc,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(o,a){o&1&&(ZD(),nl$1(0,"div",1,0),YD(2),rl$2(),fh(3,"div",2)),o&2&&(vI(3),Sh("width",a._totalContentWidth())("height",a._totalContentHeight()));},styles:[`cdk-virtual-scroll-viewport {
|
|
15
|
-
display: block;
|
|
16
|
-
position: relative;
|
|
17
|
-
transform: translateZ(0);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.cdk-virtual-scrollable {
|
|
21
|
-
overflow: auto;
|
|
22
|
-
will-change: scroll-position;
|
|
23
|
-
contain: strict;
|
|
24
|
-
overflow-anchor: none;
|
|
25
|
-
scroll-behavior: auto;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.cdk-virtual-scroll-content-wrapper {
|
|
29
|
-
position: absolute;
|
|
30
|
-
top: 0;
|
|
31
|
-
left: 0;
|
|
32
|
-
contain: content;
|
|
33
|
-
}
|
|
34
|
-
[dir=rtl] .cdk-virtual-scroll-content-wrapper {
|
|
35
|
-
right: 0;
|
|
36
|
-
left: auto;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper {
|
|
40
|
-
min-height: 100%;
|
|
41
|
-
}
|
|
42
|
-
.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]) {
|
|
43
|
-
padding-left: 0;
|
|
44
|
-
padding-right: 0;
|
|
45
|
-
margin-left: 0;
|
|
46
|
-
margin-right: 0;
|
|
47
|
-
border-left-width: 0;
|
|
48
|
-
border-right-width: 0;
|
|
49
|
-
outline: none;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {
|
|
53
|
-
min-width: 100%;
|
|
54
|
-
}
|
|
55
|
-
.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]) {
|
|
56
|
-
padding-top: 0;
|
|
57
|
-
padding-bottom: 0;
|
|
58
|
-
margin-top: 0;
|
|
59
|
-
margin-bottom: 0;
|
|
60
|
-
border-top-width: 0;
|
|
61
|
-
border-bottom-width: 0;
|
|
62
|
-
outline: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.cdk-virtual-scroll-spacer {
|
|
66
|
-
height: 1px;
|
|
67
|
-
transform-origin: 0 0;
|
|
68
|
-
flex: 0 0 auto;
|
|
69
|
-
}
|
|
70
|
-
[dir=rtl] .cdk-virtual-scroll-spacer {
|
|
71
|
-
transform-origin: 100% 0;
|
|
72
|
-
}
|
|
73
|
-
`],encapsulation:2})}return n})();function ja$1(n,t,e){let o=e;if(!o.getBoundingClientRect)return 0;let a=o.getBoundingClientRect();return n==="horizontal"?t==="start"?a.left:a.right:t==="start"?a.top:a.bottom}var pn$2=(()=>{class n{_viewContainerRef=C$2(Bi$3);_template=C$2(Tr$3);_differs=C$2(cT);_viewRepeater=new n2;_viewport=C$2(Wa$1,{skipSelf:true});viewChange=new re;_dataSourceChanges=new re;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Ba$1(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new t2(Hg(e)?e:Array.from(e||[])));}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=true,this._cdkVirtualForTrackBy=e?(o,a)=>e(o+(this._renderedRange?this._renderedRange.start:0),a):void 0;}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=true,this._template=e);}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=kt(e);}dataStream=this._dataSourceChanges.pipe(Zl$1(null),im(),Yl$1(([e,o])=>this._changeDataSource(e,o)),Ql$1(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=false;_destroyed=new re;constructor(){let e=C$2(oe$3);this.dataStream.subscribe(o=>{this._data=o,this._onRenderedDataChange();}),this._viewport.renderedRangeStream.pipe(cm(this._destroyed)).subscribe(o=>{this._renderedRange=o,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange();}),this._viewport.attach(this);}measureRangeSize(e,o){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let a=e.start-this._renderedRange.start,i=e.end-e.start,r,c;for(let s=0;s<i;s++){let h=this._viewContainerRef.get(s+a);if(h&&h.rootNodes.length){r=c=h.rootNodes[0];break}}for(let s=i-1;s>-1;s--){let h=this._viewContainerRef.get(s+a);if(h&&h.rootNodes.length){c=h.rootNodes[h.rootNodes.length-1];break}}return r&&c?ja$1(o,"end",c)-ja$1(o,"start",r):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=false;}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach();}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,o)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,o):o)),this._needsUpdate=true);}_changeDataSource(e,o){return e&&e.disconnect(this),this._needsUpdate=true,o?o.connect(this):jg()}_updateContext(){let e=this._data.length,o=this._viewContainerRef.length;for(;o--;){let a=this._viewContainerRef.get(o);a.context.index=this._renderedRange.start+o,a.context.count=e,this._updateComputedContextProperties(a.context),a.detectChanges();}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(i,r,c)=>this._getEmbeddedViewArgs(i,c),i=>i.item),e.forEachIdentityChange(i=>{let r=this._viewContainerRef.get(i.currentIndex);r.context.$implicit=i.item;});let o=this._data.length,a=this._viewContainerRef.length;for(;a--;){let i=this._viewContainerRef.get(a);i.context.index=this._renderedRange.start+a,i.context.count=o,this._updateComputedContextProperties(i.context);}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even;}_getEmbeddedViewArgs(e,o){return {templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:false,last:false,odd:false,even:false},index:o}}static ngTemplateContextGuard(e,o){return true}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return n})();var dn$2=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})(),fn$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({imports:[O1,dn$2,O1,dn$2]})}return n})();var qa$1=new Map,o2=class n{_appId=C$2(od);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(t,e=false){this._appId!=="ng"&&(t+=this._appId);let o=qa$1.get(t);return o===void 0?o=0:o++,qa$1.set(t,o),`${t}${e?n._infix+"-":""}${o}`}static \u0275fac=function(e){return new(e||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})};var $1=class{_attachedHost=null;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach());}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t;}},Z1=class extends $1{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(t,e,o,a,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=o,this.projectableNodes=a,this.bindings=i||null,this.directives=r||null;}},Q1=class extends $1{templateRef;viewContainerRef;context;injector;constructor(t,e,o,a){super(),this.templateRef=t,this.viewContainerRef=e,this.context=o,this.injector=a;}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},vn$1=class vn extends $1{element;constructor(t){super(),this.element=t instanceof Nr$3?t.nativeElement:t;}},a2=class{_attachedPortal=null;_disposeFn=null;_isDisposed=false;hasAttached(){return !!this._attachedPortal}attach(t){if(t instanceof Z1)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof Q1)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof vn$1)return this._attachedPortal=t,this.attachDomPortal(t)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn();}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=true;}setDisposeFn(t){this._disposeFn=t;}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null);}},i2=class extends a2{outletElement;_appRef;_defaultInjector;constructor(t,e,o){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=o;}attachComponentPortal(t){let e;if(t.viewContainerRef){let o=t.injector||t.viewContainerRef.injector,a=o.get(Mn$2,null,{optional:true})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:o,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),this.setDisposeFn(()=>e.destroy());}else {let o=this._appRef,a=t.injector||this._defaultInjector||De$2.NULL,i=a.get(ue$2,o.injector);e=X0$1(t.component,{elementInjector:a,environmentInjector:i,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),o.attachView(e.hostView),this.setDisposeFn(()=>{o.viewCount>0&&o.detachView(e.hostView),e.destroy();});}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,o=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return o.rootNodes.forEach(a=>this.outletElement.appendChild(a)),o.detectChanges(),this.setDisposeFn(()=>{let a=e.indexOf(o);a!==-1&&e.remove(a);}),this._attachedPortal=t,o}attachDomPortal=t=>{let e=t.element;e.parentNode;let o=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(o,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(e,o);});};dispose(){super.dispose(),this.outletElement.remove();}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Ka$1=(()=>{class n extends a2{_moduleRef=C$2(Mn$2,{optional:true});_document=C$2(Wo$2);_viewContainerRef=C$2(Bi$3);_isInitialized=false;_attachedRef=null;get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null);}attached=new Fe$1;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=true;}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null;}attachComponentPortal(e){e.setAttachedHost(this);let o=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=o.createComponent(e.component,{index:o.length,injector:e.injector||o.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0});return o!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let o=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachDomPortal=e=>{let o=e.element;o.parentNode;let a=this._document.createComment("dom-portal");e.setAttachedHost(this),o.parentNode.insertBefore(a,o),this._getRootNode().appendChild(o),this._attachedPortal=e,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(o,a);});};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Ay(n)))(a||n)}})();static \u0275dir=rD({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[nh]})}return n})(),r2=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();function Ga$1(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var $a$1=R4();function oi$1(n){return new c2(n.get(Gt$1),n.get(Wo$2))}var c2=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=false;_document;constructor(t,e){this._viewportRuler=t,this._document=e;}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=W$1(-this._previousScrollPosition.left),t.style.top=W$1(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=true;}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,o=t.style,a=e.style,i=o.scrollBehavior||"",r=a.scrollBehavior||"";this._isEnabled=false,o.left=this._previousHTMLStyles.left,o.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),$a$1&&(o.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$a$1&&(o.scrollBehavior=i,a.scrollBehavior=r);}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return false;let e=this._document.documentElement,o=this._viewportRuler.getViewportSize();return e.scrollHeight>o.height||e.scrollWidth>o.width}};function ai$1(n,t){return new l2(n.get(K1),n.get(oe$3),n.get(Gt$1),t)}var l2=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,o,a){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=o,this._config=a;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(sn$2(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition();})):this._scrollSubscription=t.subscribe(this._detach);}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach());}};function qc(){return new f1}var f1=class{enable(){}disable(){}attach(){}};function gn$1(n,t){return t.some(e=>{let o=n.bottom<e.top,a=n.top>e.bottom,i=n.right<e.left,r=n.left>e.right;return o||a||i||r})}function Za$1(n,t){return t.some(e=>{let o=n.top<e.top,a=n.bottom>e.bottom,i=n.left<e.left,r=n.right>e.right;return o||a||i||r})}function yn$1(n,t){return new s2(n.get(K1),n.get(Gt$1),n.get(oe$3),t)}var s2=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,o,a){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=o,this._config=a;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:o,height:a}=this._viewportRuler.getViewportSize();gn$1(e,[{width:o,height:a,bottom:a,right:o,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;}},ii$1=(()=>{class n{_injector=C$2(De$2);noop=()=>new f1;close=e=>ai$1(this._injector,e);block=()=>oi$1(this._injector);reposition=e=>yn$1(this._injector,e);static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),X1=class{positionStrategy;scrollStrategy=new f1;panelClass="";hasBackdrop=false;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=false;usePopover;eventPredicate;constructor(t){if(t){let e=Object.keys(t);for(let o of e)t[o]!==void 0&&(this[o]=t[o]);}}},X=class{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(t,e,o,a,i){this.offsetX=o,this.offsetY=a,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY;}};var h2=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e;}};var ri$1=(()=>{class n{_attachedOverlays=[];_document=C$2(Wo$2);_isAttached=false;ngOnDestroy(){this.detach();}add(e){this.remove(e),this._attachedOverlays.push(e);}remove(e){let o=this._attachedOverlays.indexOf(e);o>-1&&this._attachedOverlays.splice(o,1),this._attachedOverlays.length===0&&this.detach();}canReceiveEvent(e,o,a){return a.observers.length<1?false:e.eventPredicate?e.eventPredicate(o):true}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),ci$1=(()=>{class n extends ri$1{_ngZone=C$2(oe$3);_renderer=C$2(Cr$2).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener);}),this._isAttached=true);}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=false);}_keydownListener=e=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--){let i=o[a];if(this.canReceiveEvent(i,e,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(e));break}}};static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),li$1=(()=>{class n extends ri$1{_platform=C$2(J$1);_ngZone=C$2(oe$3);_renderer=C$2(Cr$2).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=false;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let o=this._document.body,a={capture:true},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(o,"pointerdown",this._pointerDownListener,a),i.listen(o,"click",this._clickListener,a),i.listen(o,"auxclick",this._clickListener,a),i.listen(o,"contextmenu",this._clickListener,a)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=o.style.cursor,o.style.cursor="pointer",this._cursorStyleIsSet=true),this._isAttached=true;}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=false),this._isAttached=false);}_pointerDownListener=e=>{this._pointerDownEventTarget=Ee$1(e);};_clickListener=e=>{let o=Ee$1(e),a=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let r=i.length-1;r>-1;r--){let c=i[r],s=c._outsidePointerEvents;if(!(!c.hasAttached()||!this.canReceiveEvent(c,e,s))){if(Qa$1(c.overlayElement,o)||Qa$1(c.overlayElement,a))break;this._ngZone?this._ngZone.run(()=>s.next(e)):s.next(e);}}};static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();function Qa$1(n,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,o=t;for(;o;){if(o===n)return true;o=e&&o instanceof ShadowRoot?o.host:o.parentNode;}return false}var si$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(o,a){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
74
|
-
pointer-events: none;
|
|
75
|
-
top: 0;
|
|
76
|
-
left: 0;
|
|
77
|
-
height: 100%;
|
|
78
|
-
width: 100%;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.cdk-overlay-container {
|
|
82
|
-
position: fixed;
|
|
83
|
-
}
|
|
84
|
-
@layer cdk-overlay {
|
|
85
|
-
.cdk-overlay-container {
|
|
86
|
-
z-index: 1000;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
.cdk-overlay-container:empty {
|
|
90
|
-
display: none;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.cdk-global-overlay-wrapper {
|
|
94
|
-
display: flex;
|
|
95
|
-
position: absolute;
|
|
96
|
-
}
|
|
97
|
-
@layer cdk-overlay {
|
|
98
|
-
.cdk-global-overlay-wrapper {
|
|
99
|
-
z-index: 1000;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.cdk-overlay-pane {
|
|
104
|
-
position: absolute;
|
|
105
|
-
pointer-events: auto;
|
|
106
|
-
box-sizing: border-box;
|
|
107
|
-
display: flex;
|
|
108
|
-
max-width: 100%;
|
|
109
|
-
max-height: 100%;
|
|
110
|
-
}
|
|
111
|
-
@layer cdk-overlay {
|
|
112
|
-
.cdk-overlay-pane {
|
|
113
|
-
z-index: 1000;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.cdk-overlay-backdrop {
|
|
118
|
-
position: absolute;
|
|
119
|
-
top: 0;
|
|
120
|
-
bottom: 0;
|
|
121
|
-
left: 0;
|
|
122
|
-
right: 0;
|
|
123
|
-
pointer-events: auto;
|
|
124
|
-
-webkit-tap-highlight-color: transparent;
|
|
125
|
-
opacity: 0;
|
|
126
|
-
touch-action: manipulation;
|
|
127
|
-
}
|
|
128
|
-
@layer cdk-overlay {
|
|
129
|
-
.cdk-overlay-backdrop {
|
|
130
|
-
z-index: 1000;
|
|
131
|
-
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
@media (prefers-reduced-motion) {
|
|
135
|
-
.cdk-overlay-backdrop {
|
|
136
|
-
transition-duration: 1ms;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.cdk-overlay-backdrop-showing {
|
|
141
|
-
opacity: 1;
|
|
142
|
-
}
|
|
143
|
-
@media (forced-colors: active) {
|
|
144
|
-
.cdk-overlay-backdrop-showing {
|
|
145
|
-
opacity: 0.6;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@layer cdk-overlay {
|
|
150
|
-
.cdk-overlay-dark-backdrop {
|
|
151
|
-
background: rgba(0, 0, 0, 0.32);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.cdk-overlay-transparent-backdrop {
|
|
156
|
-
transition: visibility 1ms linear, opacity 1ms linear;
|
|
157
|
-
visibility: hidden;
|
|
158
|
-
opacity: 1;
|
|
159
|
-
}
|
|
160
|
-
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
|
|
161
|
-
opacity: 0;
|
|
162
|
-
visibility: visible;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.cdk-overlay-backdrop-noop-animation {
|
|
166
|
-
transition: none;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.cdk-overlay-connected-position-bounding-box {
|
|
170
|
-
position: absolute;
|
|
171
|
-
display: flex;
|
|
172
|
-
flex-direction: column;
|
|
173
|
-
min-width: 1px;
|
|
174
|
-
min-height: 1px;
|
|
175
|
-
}
|
|
176
|
-
@layer cdk-overlay {
|
|
177
|
-
.cdk-overlay-connected-position-bounding-box {
|
|
178
|
-
z-index: 1000;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.cdk-global-scrollblock {
|
|
183
|
-
position: fixed;
|
|
184
|
-
width: 100%;
|
|
185
|
-
overflow-y: scroll;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.cdk-overlay-popover {
|
|
189
|
-
background: none;
|
|
190
|
-
border: none;
|
|
191
|
-
padding: 0;
|
|
192
|
-
outline: 0;
|
|
193
|
-
overflow: visible;
|
|
194
|
-
position: fixed;
|
|
195
|
-
pointer-events: none;
|
|
196
|
-
white-space: normal;
|
|
197
|
-
color: inherit;
|
|
198
|
-
text-decoration: none;
|
|
199
|
-
width: 100%;
|
|
200
|
-
height: 100%;
|
|
201
|
-
inset: auto;
|
|
202
|
-
top: 0;
|
|
203
|
-
left: 0;
|
|
204
|
-
}
|
|
205
|
-
.cdk-overlay-popover::backdrop {
|
|
206
|
-
display: none;
|
|
207
|
-
}
|
|
208
|
-
.cdk-overlay-popover .cdk-overlay-backdrop {
|
|
209
|
-
position: fixed;
|
|
210
|
-
z-index: auto;
|
|
211
|
-
}
|
|
212
|
-
`],encapsulation:2})}return n})(),hi$1=(()=>{class n{_platform=C$2(J$1);_containerElement;_document=C$2(Wo$2);_styleLoader=C$2(W1);ngOnDestroy(){this._containerElement?.remove();}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||B3()){let a=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let i=0;i<a.length;i++)a[i].remove();}let o=this._document.createElement("div");o.classList.add(e),B3()?o.setAttribute("platform","test"):this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._containerElement=o;}_loadStyles(){this._styleLoader.load(si$1);}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),zn$1=class zn{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,e,o,a){this._renderer=e,this._ngZone=o,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",a);}detach(){this._ngZone.runOutsideAngular(()=>{let t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.classList.remove("cdk-overlay-backdrop-showing");});}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove();}};function _n$1(n){return n&&n.nodeType===1}var d2=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new re;_attachments=new re;_detachments=new re;_positionStrategy;_scrollStrategy;_locationChanges=H$1.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=false;_previousHostParent;_keydownEvents=new re;_outsidePointerEvents=new re;_afterNextRenderRef;constructor(t,e,o,a,i,r,c,s,h,f=false,v,R){this._portalOutlet=t,this._host=e,this._pane=o,this._config=a,this._ngZone=i,this._keyboardDispatcher=r,this._document=c,this._location=s,this._outsideClickDispatcher=h,this._animationsDisabled=f,this._injector=v,this._renderer=R,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy;}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(t){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(t);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=ep(()=>{this.hasAttached()&&this.updatePosition();},{injector:this._injector}),this._togglePointerEvents(true),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,true),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()));}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(false),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){if(this._disposed)return;let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,t&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=true;}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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()));}updateSize(t){this._config=r(r({},this._config),t),this._updateElementSize();}setDirection(t){this._config=s(r({},this._config),{direction:t}),this._updateElementDirection();}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,true);}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,false);}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()));}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection());}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=W$1(this._config.width),t.height=W$1(this._config.height),t.minWidth=W$1(this._config.minWidth),t.minHeight=W$1(this._config.minHeight),t.maxWidth=W$1(this._config.maxWidth),t.maxHeight=W$1(this._config.maxHeight);}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none";}_attachHost(){if(!this._host.parentElement){let t=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;_n$1(t)?t.after(this._host):t?.type==="parent"?t.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host);}if(this._config.usePopover)try{this._host.showPopover();}catch(t){}}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new zn$1(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e);}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,true),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(t));}):this._backdropRef.element.classList.add(t);}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host);}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach();}_toggleClasses(t,e,o){let a=m1(e||[]).filter(i=>!!i);a.length&&(o?t.classList.add(...a):t.classList.remove(...a));}_detachContentWhenEmpty(){let t=false;try{this._detachContentAfterRenderRef=ep(()=>{t=!0,this._detachContent();},{injector:this._injector});}catch(e){if(t)throw e;this._detachContent();}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent();}),this._detachContentMutationObserver.observe(this._pane,{childList:true}));}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,false),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent());}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect();}_disposeScrollStrategy(){let t=this._scrollStrategy;t?.disable(),t?.detach?.();}},Xa$1="cdk-overlay-connected-position-bounding-box",Kc=/([A-Za-z%]+)$/;function Mn$1(n,t){return new u2(t,n.get(Gt$1),n.get(Wo$2),n.get(J$1),n.get(hi$1))}var u2=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=false;_lastBoundingBoxSize={width:0,height:0};_isPushed=false;_canPush=true;_growAfterOpen=false;_hasFlexibleDimensions=true;_positionLocked=false;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=false;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new re;_resizeSubscription=H$1.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,o,a,i){this._viewportRuler=e,this._document=o,this._platform=a,this._overlayContainer=i,this.setOrigin(t);}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Xa$1),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=false,this._isInitialRender=true,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=true,this.apply();});}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let t=this._originRect,e=this._overlayRect,o=this._viewportRect,a=this._containerRect,i=[],r;for(let c of this._preferredPositions){let s=this._getOriginPoint(t,a,c),h=this._getOverlayPoint(s,e,c),f=this._getOverlayFit(h,e,o,c);if(f.isCompletelyWithinViewport){this._isPushed=false,this._applyPosition(c,s);return}if(this._canFitWithFlexibleDimensions(f,h,o)){i.push({position:c,origin:s,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(s,c)});continue}(!r||r.overlayFit.visibleArea<f.visibleArea)&&(r={overlayFit:f,overlayPoint:h,originPoint:s,position:c,overlayRect:e});}if(i.length){let c=null,s=-1;for(let h of i){let f=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);f>s&&(s=f,c=h);}this._isPushed=false,this._applyPosition(c.position,c.origin);return}if(this._canPush){this._isPushed=true,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint);}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe();}dispose(){this._isDisposed||(this._boundingBox&&$t$1(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xa$1),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=true);}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;t?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(t,this._getOriginPoint(this._originRect,this._containerRect,t))):this.apply();}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=true){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=true){return this._growAfterOpen=t,this}withPush(t=true){return this._canPush=t,this}withLockedPosition(t=true){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}withPopoverLocation(t){return this._popoverLocation=t,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof Nr$3?this._origin.nativeElement:_n$1(this._origin)?this._origin:null}_getOriginPoint(t,e,o){let a;if(o.originX=="center")a=t.left+t.width/2;else {let r=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;a=o.originX=="start"?r:c;}e.left<0&&(a-=e.left);let i;return o.originY=="center"?i=t.top+t.height/2:i=o.originY=="top"?t.top:t.bottom,e.top<0&&(i-=e.top),{x:a,y:i}}_getOverlayPoint(t,e,o){let a;o.overlayX=="center"?a=-e.width/2:o.overlayX==="start"?a=this._isRtl()?-e.width:0:a=this._isRtl()?0:-e.width;let i;return o.overlayY=="center"?i=-e.height/2:i=o.overlayY=="top"?0:-e.height,{x:t.x+a,y:t.y+i}}_getOverlayFit(t,e,o,a){let i=ei$1(e),{x:r,y:c}=t,s=this._getOffset(a,"x"),h=this._getOffset(a,"y");s&&(r+=s),h&&(c+=h);let f=0-r,v=r+i.width-o.width,R=0-c,m=c+i.height-o.height,p=this._subtractOverflows(i.width,f,v),d=this._subtractOverflows(i.height,R,m),u=p*d;return {visibleArea:u,isCompletelyWithinViewport:i.width*i.height===u,fitsInViewportVertically:d===i.height,fitsInViewportHorizontally:p==i.width}}_canFitWithFlexibleDimensions(t,e,o){if(this._hasFlexibleDimensions){let a=o.bottom-e.y,i=o.right-e.x,r=Ja$1(this._overlayRef.getConfig().minHeight),c=Ja$1(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportVertically||r!=null&&r<=a,h=t.fitsInViewportHorizontally||c!=null&&c<=i;return s&&h}return false}_pushOverlayOnScreen(t,e,o){if(this._previousPushAmount&&this._positionLocked)return {x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let a=ei$1(e),i=this._viewportRect,r=Math.max(t.x+a.width-i.width,0),c=Math.max(t.y+a.height-i.height,0),s=Math.max(i.top-o.top-t.y,0),h=Math.max(i.left-o.left-t.x,0),f=0,v=0;return a.width<=i.width?f=h||-r:f=t.x<this._getViewportMarginStart()?i.left-o.left-t.x:0,a.height<=i.height?v=s||-c:v=t.y<this._getViewportMarginTop()?i.top-o.top-t.y:0,this._previousPushAmount={x:f,y:v},{x:t.x+f,y:t.y+v}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let o=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!Gc(this._lastScrollVisibility,o)){let a=new h2(t,o);this._positionChanges.next(a);}this._lastScrollVisibility=o;}this._lastPosition=t,this._isInitialRender=false;}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),o,a=t.overlayY;t.overlayX==="center"?o="center":this._isRtl()?o=t.overlayX==="start"?"right":"left":o=t.overlayX==="start"?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${o} ${a}`;}_calculateBoundingBoxRect(t,e){let o=this._viewportRect,a=this._isRtl(),i,r,c;if(e.overlayY==="top")r=t.y,i=o.height-r+this._getViewportMarginBottom();else if(e.overlayY==="bottom")c=o.height-t.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=o.height-c+this._getViewportMarginTop();else {let m=Math.min(o.bottom-t.y+o.top,t.y),p=this._lastBoundingBoxSize.height;i=m*2,r=t.y-m,i>p&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-p/2);}let s=e.overlayX==="start"&&!a||e.overlayX==="end"&&a,h=e.overlayX==="end"&&!a||e.overlayX==="start"&&a,f,v,R;if(h)R=o.width-t.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),f=t.x-this._getViewportMarginStart();else if(s)v=t.x,f=o.right-t.x-this._getViewportMarginEnd();else {let m=Math.min(o.right-t.x+o.left,t.x),p=this._lastBoundingBoxSize.width;f=m*2,v=t.x-m,f>p&&!this._isInitialRender&&!this._growAfterOpen&&(v=t.x-p/2);}return {top:r,left:v,bottom:c,right:R,width:f,height:i}}_setBoundingBoxStyles(t,e){let o=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(o.height=Math.min(o.height,this._lastBoundingBoxSize.height),o.width=Math.min(o.width,this._lastBoundingBoxSize.width));let a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right="auto",a.maxHeight=a.maxWidth="",a.width=a.height="100%";else {let i=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;a.width=W$1(o.width),a.height=W$1(o.height),a.top=W$1(o.top)||"auto",a.bottom=W$1(o.bottom)||"auto",a.left=W$1(o.left)||"auto",a.right=W$1(o.right)||"auto",e.overlayX==="center"?a.alignItems="center":a.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?a.justifyContent="center":a.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",i&&(a.maxHeight=W$1(i)),r&&(a.maxWidth=W$1(r));}this._lastBoundingBoxSize=o,$t$1(this._boundingBox.style,a);}_resetBoundingBoxStyles(){$t$1(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""});}_resetOverlayElementStyles(){$t$1(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""});}_setOverlayElementStyles(t,e){let o={},a=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(a){let f=this._viewportRuler.getViewportScrollPosition();$t$1(o,this._getExactOverlayY(e,t,f)),$t$1(o,this._getExactOverlayX(e,t,f));}else o.position="static";let c="",s=this._getOffset(e,"x"),h=this._getOffset(e,"y");s&&(c+=`translateX(${s}px) `),h&&(c+=`translateY(${h}px)`),o.transform=c.trim(),r.maxHeight&&(a?o.maxHeight=W$1(r.maxHeight):i&&(o.maxHeight="")),r.maxWidth&&(a?o.maxWidth=W$1(r.maxWidth):i&&(o.maxWidth="")),$t$1(this._pane.style,o);}_getExactOverlayY(t,e,o){let a={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,o)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;a.bottom=`${r-(i.y+this._overlayRect.height)}px`;}else a.top=W$1(i.y);return a}_getExactOverlayX(t,e,o){let a={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,o));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let c=this._document.documentElement.clientWidth;a.right=`${c-(i.x+this._overlayRect.width)}px`;}else a.left=W$1(i.x);return a}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),o=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return {isOriginClipped:Za$1(t,o),isOriginOutsideView:gn$1(t,o),isOverlayClipped:Za$1(e,o),isOverlayOutsideView:gn$1(e,o)}}_subtractOverflows(t,...e){return e.reduce((o,a)=>o-Math.max(a,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,o=this._viewportRuler.getViewportScrollPosition();return {top:o.top+this._getViewportMarginTop(),left:o.left+this._getViewportMarginStart(),right:o.left+t-this._getViewportMarginEnd(),bottom:o.top+e-this._getViewportMarginBottom(),width:t-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return !this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&m1(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e));});}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t);}),this._appliedPanelClasses=[]);}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let t=this._origin;if(t instanceof Nr$3)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,o=t.height||0;return {top:t.y,bottom:t.y+o,left:t.x,right:t.x+e,height:o,width:e}}_getContainerRect(){let t=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();t&&(e.style.display="block");let o=e.getBoundingClientRect();return t&&(e.style.display=""),o}};function $t$1(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function Ja$1(n){if(typeof n!="number"&&n!=null){let[t,e]=n.split(Kc);return !e||e==="px"?parseFloat(t):null}return n||null}function ei$1(n){return {top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function Gc(n,t){return n===t?true:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var ti$1="cdk-global-overlay-wrapper";function di$1(n){return new m2}var m2=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=false;attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(ti$1),this._isDisposed=false;}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,o=this._overlayRef.getConfig(),{width:a,height:i,maxWidth:r,maxHeight:c}=o,s=(a==="100%"||a==="100vw")&&(!r||r==="100%"||r==="100vw"),h=(i==="100%"||i==="100vh")&&(!c||c==="100%"||c==="100vh"),f=this._xPosition,v=this._xOffset,R=this._overlayRef.getConfig().direction==="rtl",m="",p="",d="";s?d="flex-start":f==="center"?(d="center",R?p=v:m=v):R?f==="left"||f==="end"?(d="flex-end",m=v):(f==="right"||f==="start")&&(d="flex-start",p=v):f==="left"||f==="start"?(d="flex-start",m=v):(f==="right"||f==="end")&&(d="flex-end",p=v),t.position=this._cssPosition,t.marginLeft=s?"0":m,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=s?"0":p,e.justifyContent=d,e.alignItems=h?"flex-start":this._alignItems;}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,o=e.style;e.classList.remove(ti$1),o.justifyContent=o.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=true;}},ui$1=(()=>{class n{_injector=C$2(De$2);global(){return di$1()}flexibleConnectedTo(e){return Mn$1(this._injector,e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),bn$1=new A$2("OVERLAY_DEFAULT_CONFIG");function Cn$1(n,t){n.get(W1).load(si$1);let e=n.get(hi$1),o=n.get(Wo$2),a=n.get(o2),i=n.get($i$3),r=n.get(Ie),c=n.get(nE,null,{optional:true})||n.get(Cr$2).createRenderer(null,null),s=new X1(t),h=n.get(bn$1,null,{optional:true})?.usePopover??true;s.direction=s.direction||r.value,!o.body||!("showPopover"in o.body)?s.usePopover=false:s.usePopover=t?.usePopover??h;let f=o.createElement("div"),v=o.createElement("div");f.id=a.getId("cdk-overlay-"),f.classList.add("cdk-overlay-pane"),v.appendChild(f),s.usePopover&&(v.setAttribute("popover","manual"),v.classList.add("cdk-overlay-popover"));let R=s.usePopover?s.positionStrategy?.getPopoverInsertionPoint?.():null;return _n$1(R)?R.after(v):R?.type==="parent"?R.element.appendChild(v):e.getContainerElement().appendChild(v),new d2(new i2(f,i,n),v,f,s,n.get(oe$3),n.get(ci$1),o,n.get(Nn$2),n.get(li$1),t?.disableAnimations??n.get(Zm,null,{optional:true})==="NoopAnimations",n.get(ue$2),c)}var mi$1=(()=>{class n{scrollStrategies=C$2(ii$1);_positionBuilder=C$2(ui$1);_injector=C$2(De$2);create(e){return Cn$1(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),$c=[{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"}],Zc=new A$2("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=C$2(De$2);return ()=>yn$1(n)}}),Ht$1=(()=>{class n{elementRef=C$2(Nr$3);static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),pi$1=new A$2("cdk-connected-overlay-default-config"),v1=(()=>{class n{_dir=C$2(Ie,{optional:true});_injector=C$2(De$2);_overlayRef;_templatePortal;_backdropSubscription=H$1.EMPTY;_attachSubscription=H$1.EMPTY;_detachSubscription=H$1.EMPTY;_positionSubscription=H$1.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=C$2(Zc);_ngZone=C$2(oe$3);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position);}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position);}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=false;disableClose=false;transformOriginSelector;hasBackdrop=false;lockPosition=false;flexibleDimensions=false;growAfterOpen=false;push=false;disposeOnNavigation=false;usePopover;matchWidth=false;set _config(e){typeof e!="string"&&this._assignConfig(e);}backdropClick=new Fe$1;positionChange=new Fe$1;attach=new Fe$1;detach=new Fe$1;overlayKeydown=new Fe$1;overlayOutsideClick=new Fe$1;constructor(){let e=C$2(Tr$3),o=C$2(Bi$3),a=C$2(pi$1,{optional:true}),i=C$2(bn$1,{optional:true});this.usePopover=i?.usePopover===false?null:"global",this._templatePortal=new Q1(e,o),this.scrollStrategy=this._scrollStrategyFactory(),a&&this._assignConfig(a);}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose();}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay());}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=$c);let e=this._overlayRef=Cn$1(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(o=>{this.overlayKeydown.next(o),o.keyCode===27&&!this.disableClose&&!Ga$1(o)&&(o.preventDefault(),this.detachOverlay());}),this._overlayRef.outsidePointerEvents().subscribe(o=>{let a=this._getOriginElement(),i=Ee$1(o);(!a||a!==i&&!a.contains(i))&&this.overlayOutsideClick.next(o);});}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),o=new X1({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return (this.height||this.height===0)&&(o.height=this.height),(this.minWidth||this.minWidth===0)&&(o.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(o.minHeight=this.minHeight),this.backdropClass&&(o.backdropClass=this.backdropClass),this.panelClass&&(o.panelClass=this.panelClass),o}_updatePositionStrategy(e){let o=this.positions.map(a=>({originX:a.originX,originY:a.originY,overlayX:a.overlayX,overlayY:a.overlayY,offsetX:a.offsetX||this.offsetX,offsetY:a.offsetY||this.offsetY,panelClass:a.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=Mn$1(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Ht$1?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ht$1?this.origin.elementRef.nativeElement:this.origin instanceof Nr$3?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(o=>this.backdropClick.emit(o)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(lm(()=>this.positionChange.observers.length>0)).subscribe(o=>{this._ngZone.run(()=>this.positionChange.emit(o)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe();})),this.open=true;}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=false;}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth;}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",K0$1],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",K0$1],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",K0$1],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",K0$1],push:[2,"cdkConnectedOverlayPush","push",K0$1],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",K0$1],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",K0$1],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[fy]})}return n})(),wn$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({providers:[mi$1],imports:[O1,r2,fn$1,fn$1]})}return n})();var Me$1={top:new X({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new X({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new X({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new X({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new X({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new X({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new X({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new X({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new X({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new X({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new X({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new X({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new X({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new X({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Xc=(n=12)=>({top:[0,-n],topCenter:[0,-n],topLeft:[0,-n],topRight:[0,-n],right:[n,0],rightTop:[n,0],rightBottom:[n,0],bottom:[0,n],bottomCenter:[0,n],bottomLeft:[0,n],bottomRight:[0,n],left:[-n,0],leftTop:[-n,0],leftBottom:[-n,0]}),p2=Xc(),Ju=[v2(Me$1.top,p2.top),v2(Me$1.right,p2.right),v2(Me$1.bottom,p2.bottom),v2(Me$1.left,p2.left)];[new X({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new X({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})];[Me$1.bottomLeft,new X({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function xn$1(n){for(let t in Me$1)if(n.connectionPair.originX===Me$1[t].originX&&n.connectionPair.originY===Me$1[t].originY&&n.connectionPair.overlayX===Me$1[t].overlayX&&n.connectionPair.overlayY===Me$1[t].overlayY)return t}var f2={bottomLeft:new X({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new X({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new X({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new X({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},om=[f2.bottomLeft,f2.topLeft,f2.bottomRight,f2.topRight];function Jc(n){return Array.isArray(n)?n:[n,n]}function v2(n,t){let[e,o]=Jc(t);return s(r({},n),{offsetX:e,offsetY:o})}var fi$1=(()=>{class n{cdkConnectedOverlay=C$2(v1);nzArrowPointAtCenter=false;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(xt$1()).subscribe(e=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(e);});}updateArrowPosition(e){let o=this.getOriginRect(),a=xn$1(e),i=0,r=0;a==="topLeft"||a==="bottomLeft"?i=o.width/2-14:a==="topRight"||a==="bottomRight"?i=-(o.width/2-14):a==="leftTop"||a==="rightTop"?r=o.height/2-10:(a==="leftBottom"||a==="rightBottom")&&(r=-(o.height/2-10)),(this.cdkConnectedOverlay.offsetX!==i||this.cdkConnectedOverlay.offsetY!==r)&&(this.cdkConnectedOverlay.offsetY=r,this.cdkConnectedOverlay.offsetX=i,this.cdkConnectedOverlay.overlayRef.updatePosition());}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof Ht$1?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){let e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof Nr$3)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let o=e.width||0,a=e.height||0;return {top:e.y,bottom:e.y+a,left:e.x,right:e.x+o,height:a,width:o}}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",K0$1]},exportAs:["nzConnectedOverlay"]})}return n})(),Sn$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();var g2=6048e5,vi$1=864e5,z2=6e4,y2=36e5,gi$1=1e3;var kn$1=Symbol.for("constructDateFrom");function C$1(n,t){return typeof n=="function"?n(t):n&&typeof n=="object"&&kn$1 in n?n[kn$1](t):n instanceof Date?new n.constructor(t):new Date(t)}function g$1(n,t){return C$1(t||n,n)}function g1(n,t,e){let o=g$1(n,e?.in);return isNaN(t)?C$1(e?.in||n,NaN):(t&&o.setDate(o.getDate()+t),o)}function J1(n,t,e){let o=g$1(n,e?.in);if(isNaN(t))return C$1(n,NaN);if(!t)return o;let a=o.getDate(),i=C$1(n,o.getTime());i.setMonth(o.getMonth()+t+1,0);let r=i.getDate();return a>=r?i:(o.setFullYear(i.getFullYear(),i.getMonth(),a),o)}function yi$2(n,t,e){return C$1(n,+g$1(n)+t)}var il$1={};function Be(){return il$1}function be(n,t){let e=Be(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,a=g$1(n,t?.in),i=a.getDay(),r=(i<o?7:0)+i-o;return a.setDate(a.getDate()-r),a.setHours(0,0,0,0),a}function Je(n,t){return be(n,s(r({},t),{weekStartsOn:1}))}function _2(n,t){let e=g$1(n,t?.in),o=e.getFullYear(),a=C$1(e,0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);let i=Je(a),r=C$1(e,0);r.setFullYear(o,0,4),r.setHours(0,0,0,0);let c=Je(r);return e.getTime()>=i.getTime()?o+1:e.getTime()>=c.getTime()?o:o-1}function Zt$1(n){let t=g$1(n),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+n-+e}function he$1(n,...t){let e=C$1.bind(null,n||t.find(o=>typeof o=="object"));return t.map(e)}function z1(n,t){let e=g$1(n,t?.in);return e.setHours(0,0,0,0),e}function e4(n,t,e){let[o,a]=he$1(e?.in,n,t),i=z1(o),r=z1(a),c=+i-Zt$1(i),s=+r-Zt$1(r);return Math.round((c-s)/vi$1)}function _i$1(n,t){let e=_2(n,t),o=C$1(n,0);return o.setFullYear(e,0,4),o.setHours(0,0,0,0),Je(o)}function Mi$2(n,t,e){return yi$2(n,t*1e3)}function Vn(n,t,e){return J1(n,t*12,e)}function bi$2(n){return C$1(n,Date.now())}function t4(n,t,e){let[o,a]=he$1(e?.in,n,t);return +z1(o)==+z1(a)}function Ci$1(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function n4(n){return !(!Ci$1(n)&&typeof n!="number"||isNaN(+g$1(n)))}function wi$2(n,t,e){let[o,a]=he$1(e?.in,n,t),i=o.getFullYear()-a.getFullYear(),r=o.getMonth()-a.getMonth();return i*12+r}function y1(n,t){let e=g$1(n,t?.in);return Math.trunc(e.getMonth()/3)+1}function xi$1(n,t,e){let[o,a]=he$1(e?.in,n,t),i=o.getFullYear()-a.getFullYear(),r=y1(o)-y1(a);return i*4+r}function Si$2(n,t,e){let[o,a]=he$1(e?.in,n,t);return o.getFullYear()-a.getFullYear()}function _1(n){return t=>{let o=(n?Math[n]:Math.trunc)(t);return o===0?0:o}}function ki$1(n,t,e){let[o,a]=he$1(e?.in,n,t),i=(+o-+a)/y2;return _1(e?.roundingMethod)(i)}function M2(n,t){return +g$1(n)-+g$1(t)}function Vi$2(n,t,e){let o=M2(n,t)/z2;return _1(e?.roundingMethod)(o)}function Di$2(n,t){let e=g$1(n,t?.in);return e.setHours(23,59,59,999),e}function Ti$2(n,t){let e=g$1(n,t?.in),o=e.getMonth();return e.setFullYear(e.getFullYear(),o+1,0),e.setHours(23,59,59,999),e}function Dn$1(n,t){let e=g$1(n,t?.in);return +Di$2(e,t)==+Ti$2(e,t)}function Pi$2(n,t,e){let o=M2(n,t)/1e3;return _1(e?.roundingMethod)(o)}function o4(n,t){let e=g$1(n,t?.in),o=e.getMonth(),a=o-o%3;return e.setMonth(a,1),e.setHours(0,0,0,0),e}function Tn$1(n,t){let e=g$1(n,t?.in);return e.setDate(1),e.setHours(0,0,0,0),e}function Hi$1(n,t){let e=g$1(n,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var rl$1={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"}},Ei$2=(n,t,e)=>{let o,a=rl$1[n];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",t.toString()),e?.addSuffix?e.comparison&&e.comparison>0?"in "+o:o+" ago":o};function b2(n){return (t={})=>{let e=t.width?String(t.width):n.defaultWidth;return n.formats[e]||n.formats[n.defaultWidth]}}var cl$1={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ll={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},sl$1={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Oi$2={date:b2({formats:cl$1,defaultWidth:"full"}),time:b2({formats:ll,defaultWidth:"full"}),dateTime:b2({formats:sl$1,defaultWidth:"full"})};var hl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yi$2=(n,t,e,o)=>hl[n];function M1(n){return (t,e)=>{let o=e?.context?String(e.context):"standalone",a;if(o==="formatting"&&n.formattingValues){let r=n.defaultFormattingWidth||n.defaultWidth,c=e?.width?String(e.width):r;a=n.formattingValues[c]||n.formattingValues[r];}else {let r=n.defaultWidth,c=e?.width?String(e.width):n.defaultWidth;a=n.values[c]||n.values[r];}let i=n.argumentCallback?n.argumentCallback(t):t;return a[i]}}var dl$1={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ul={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ml={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"]},pl$1={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"]},fl={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"}},vl={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"}},gl=(n,t)=>{let e=Number(n),o=e%100;if(o>20||o<10)switch(o%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},Fi$2={ordinalNumber:gl,era:M1({values:dl$1,defaultWidth:"wide"}),quarter:M1({values:ul,defaultWidth:"wide",argumentCallback:n=>n-1}),month:M1({values:ml,defaultWidth:"wide"}),day:M1({values:pl$1,defaultWidth:"wide"}),dayPeriod:M1({values:fl,defaultWidth:"wide",formattingValues:vl,defaultFormattingWidth:"wide"})};function b1(n){return (t,e={})=>{let o=e.width,a=o&&n.matchPatterns[o]||n.matchPatterns[n.defaultMatchWidth],i=t.match(a);if(!i)return null;let r=i[0],c=o&&n.parsePatterns[o]||n.parsePatterns[n.defaultParseWidth],s=Array.isArray(c)?yl(c,v=>v.test(r)):zl(c,v=>v.test(r)),h;h=n.valueCallback?n.valueCallback(s):s,h=e.valueCallback?e.valueCallback(h):h;let f=t.slice(r.length);return {value:h,rest:f}}}function zl(n,t){for(let e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&t(n[e]))return e}function yl(n,t){for(let e=0;e<n.length;e++)if(t(n[e]))return e}function Ai$1(n){return (t,e={})=>{let o=t.match(n.matchPattern);if(!o)return null;let a=o[0],i=t.match(n.parsePattern);if(!i)return null;let r=n.valueCallback?n.valueCallback(i[0]):i[0];r=e.valueCallback?e.valueCallback(r):r;let c=t.slice(a.length);return {value:r,rest:c}}}var _l=/^(\d+)(th|st|nd|rd)?/i,Ml=/\d+/i,bl={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},Cl={any:[/^b/i,/^(a|c)/i]},wl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},xl={any:[/1/i,/2/i,/3/i,/4/i]},Sl={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},kl={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]},Vl={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},Dl={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]},Tl={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},Pl={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}},Li$1={ordinalNumber:Ai$1({matchPattern:_l,parsePattern:Ml,valueCallback:n=>parseInt(n,10)}),era:b1({matchPatterns:bl,defaultMatchWidth:"wide",parsePatterns:Cl,defaultParseWidth:"any"}),quarter:b1({matchPatterns:wl,defaultMatchWidth:"wide",parsePatterns:xl,defaultParseWidth:"any",valueCallback:n=>n+1}),month:b1({matchPatterns:Sl,defaultMatchWidth:"wide",parsePatterns:kl,defaultParseWidth:"any"}),day:b1({matchPatterns:Vl,defaultMatchWidth:"wide",parsePatterns:Dl,defaultParseWidth:"any"}),dayPeriod:b1({matchPatterns:Tl,defaultMatchWidth:"any",parsePatterns:Pl,defaultParseWidth:"any"})};var a4={code:"en-US",formatDistance:Ei$2,formatLong:Oi$2,formatRelative:Yi$2,localize:Fi$2,match:Li$1,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ii$1(n,t){let e=g$1(n,t?.in);return e4(e,Hi$1(e))+1}function C1(n,t){let e=g$1(n,t?.in),o=+Je(e)-+_i$1(e);return Math.round(o/g2)+1}function w1(n,t){let e=g$1(n,t?.in),o=e.getFullYear(),a=Be(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,r=C$1(t?.in||n,0);r.setFullYear(o+1,0,i),r.setHours(0,0,0,0);let c=be(r,t),s=C$1(t?.in||n,0);s.setFullYear(o,0,i),s.setHours(0,0,0,0);let h=be(s,t);return +e>=+c?o+1:+e>=+h?o:o-1}function Ni$1(n,t){let e=Be(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=w1(n,t),i=C$1(t?.in||n,0);return i.setFullYear(a,0,o),i.setHours(0,0,0,0),be(i,t)}function C2(n,t){let e=g$1(n,t?.in),o=+be(e,t)-+Ni$1(e,t);return Math.round(o/g2)+1}function N$1(n,t){let e=n<0?"-":"",o=Math.abs(n).toString().padStart(t,"0");return e+o}var gt$1={y(n,t){let e=n.getFullYear(),o=e>0?e:1-e;return N$1(t==="yy"?o%100:o,t.length)},M(n,t){let e=n.getMonth();return t==="M"?String(e+1):N$1(e+1,2)},d(n,t){return N$1(n.getDate(),t.length)},a(n,t){let e=n.getHours()/12>=1?"pm":"am";switch(t){case "a":case "aa":return e.toUpperCase();case "aaa":return e;case "aaaaa":return e[0];default:return e==="am"?"a.m.":"p.m."}},h(n,t){return N$1(n.getHours()%12||12,t.length)},H(n,t){return N$1(n.getHours(),t.length)},m(n,t){return N$1(n.getMinutes(),t.length)},s(n,t){return N$1(n.getSeconds(),t.length)},S(n,t){let e=t.length,o=n.getMilliseconds(),a=Math.trunc(o*Math.pow(10,e-3));return N$1(a,t.length)}};var x1={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Pn$1={G:function(n,t,e){let o=n.getFullYear()>0?1:0;switch(t){case "G":case "GG":case "GGG":return e.era(o,{width:"abbreviated"});case "GGGGG":return e.era(o,{width:"narrow"});default:return e.era(o,{width:"wide"})}},y:function(n,t,e){if(t==="yo"){let o=n.getFullYear(),a=o>0?o:1-o;return e.ordinalNumber(a,{unit:"year"})}return gt$1.y(n,t)},Y:function(n,t,e,o){let a=w1(n,o),i=a>0?a:1-a;if(t==="YY"){let r=i%100;return N$1(r,2)}return t==="Yo"?e.ordinalNumber(i,{unit:"year"}):N$1(i,t.length)},R:function(n,t){let e=_2(n);return N$1(e,t.length)},u:function(n,t){let e=n.getFullYear();return N$1(e,t.length)},Q:function(n,t,e){let o=Math.ceil((n.getMonth()+1)/3);switch(t){case "Q":return String(o);case "QQ":return N$1(o,2);case "Qo":return e.ordinalNumber(o,{unit:"quarter"});case "QQQ":return e.quarter(o,{width:"abbreviated",context:"formatting"});case "QQQQQ":return e.quarter(o,{width:"narrow",context:"formatting"});default:return e.quarter(o,{width:"wide",context:"formatting"})}},q:function(n,t,e){let o=Math.ceil((n.getMonth()+1)/3);switch(t){case "q":return String(o);case "qq":return N$1(o,2);case "qo":return e.ordinalNumber(o,{unit:"quarter"});case "qqq":return e.quarter(o,{width:"abbreviated",context:"standalone"});case "qqqqq":return e.quarter(o,{width:"narrow",context:"standalone"});default:return e.quarter(o,{width:"wide",context:"standalone"})}},M:function(n,t,e){let o=n.getMonth();switch(t){case "M":case "MM":return gt$1.M(n,t);case "Mo":return e.ordinalNumber(o+1,{unit:"month"});case "MMM":return e.month(o,{width:"abbreviated",context:"formatting"});case "MMMMM":return e.month(o,{width:"narrow",context:"formatting"});default:return e.month(o,{width:"wide",context:"formatting"})}},L:function(n,t,e){let o=n.getMonth();switch(t){case "L":return String(o+1);case "LL":return N$1(o+1,2);case "Lo":return e.ordinalNumber(o+1,{unit:"month"});case "LLL":return e.month(o,{width:"abbreviated",context:"standalone"});case "LLLLL":return e.month(o,{width:"narrow",context:"standalone"});default:return e.month(o,{width:"wide",context:"standalone"})}},w:function(n,t,e,o){let a=C2(n,o);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):N$1(a,t.length)},I:function(n,t,e){let o=C1(n);return t==="Io"?e.ordinalNumber(o,{unit:"week"}):N$1(o,t.length)},d:function(n,t,e){return t==="do"?e.ordinalNumber(n.getDate(),{unit:"date"}):gt$1.d(n,t)},D:function(n,t,e){let o=Ii$1(n);return t==="Do"?e.ordinalNumber(o,{unit:"dayOfYear"}):N$1(o,t.length)},E:function(n,t,e){let o=n.getDay();switch(t){case "E":case "EE":case "EEE":return e.day(o,{width:"abbreviated",context:"formatting"});case "EEEEE":return e.day(o,{width:"narrow",context:"formatting"});case "EEEEEE":return e.day(o,{width:"short",context:"formatting"});default:return e.day(o,{width:"wide",context:"formatting"})}},e:function(n,t,e,o){let a=n.getDay(),i=(a-o.weekStartsOn+8)%7||7;switch(t){case "e":return String(i);case "ee":return N$1(i,2);case "eo":return e.ordinalNumber(i,{unit:"day"});case "eee":return e.day(a,{width:"abbreviated",context:"formatting"});case "eeeee":return e.day(a,{width:"narrow",context:"formatting"});case "eeeeee":return e.day(a,{width:"short",context:"formatting"});default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(n,t,e,o){let a=n.getDay(),i=(a-o.weekStartsOn+8)%7||7;switch(t){case "c":return String(i);case "cc":return N$1(i,t.length);case "co":return e.ordinalNumber(i,{unit:"day"});case "ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case "ccccc":return e.day(a,{width:"narrow",context:"standalone"});case "cccccc":return e.day(a,{width:"short",context:"standalone"});default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(n,t,e){let o=n.getDay(),a=o===0?7:o;switch(t){case "i":return String(a);case "ii":return N$1(a,t.length);case "io":return e.ordinalNumber(a,{unit:"day"});case "iii":return e.day(o,{width:"abbreviated",context:"formatting"});case "iiiii":return e.day(o,{width:"narrow",context:"formatting"});case "iiiiii":return e.day(o,{width:"short",context:"formatting"});default:return e.day(o,{width:"wide",context:"formatting"})}},a:function(n,t,e){let a=n.getHours()/12>=1?"pm":"am";switch(t){case "a":case "aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case "aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case "aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,t,e){let o=n.getHours(),a;switch(o===12?a=x1.noon:o===0?a=x1.midnight:a=o/12>=1?"pm":"am",t){case "b":case "bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case "bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case "bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,t,e){let o=n.getHours(),a;switch(o>=17?a=x1.evening:o>=12?a=x1.afternoon:o>=4?a=x1.morning:a=x1.night,t){case "B":case "BB":case "BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case "BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,t,e){if(t==="ho"){let o=n.getHours()%12;return o===0&&(o=12),e.ordinalNumber(o,{unit:"hour"})}return gt$1.h(n,t)},H:function(n,t,e){return t==="Ho"?e.ordinalNumber(n.getHours(),{unit:"hour"}):gt$1.H(n,t)},K:function(n,t,e){let o=n.getHours()%12;return t==="Ko"?e.ordinalNumber(o,{unit:"hour"}):N$1(o,t.length)},k:function(n,t,e){let o=n.getHours();return o===0&&(o=24),t==="ko"?e.ordinalNumber(o,{unit:"hour"}):N$1(o,t.length)},m:function(n,t,e){return t==="mo"?e.ordinalNumber(n.getMinutes(),{unit:"minute"}):gt$1.m(n,t)},s:function(n,t,e){return t==="so"?e.ordinalNumber(n.getSeconds(),{unit:"second"}):gt$1.s(n,t)},S:function(n,t){return gt$1.S(n,t)},X:function(n,t,e){let o=n.getTimezoneOffset();if(o===0)return "Z";switch(t){case "X":return Ri$1(o);case "XXXX":case "XX":return Qt$1(o);default:return Qt$1(o,":")}},x:function(n,t,e){let o=n.getTimezoneOffset();switch(t){case "x":return Ri$1(o);case "xxxx":case "xx":return Qt$1(o);default:return Qt$1(o,":")}},O:function(n,t,e){let o=n.getTimezoneOffset();switch(t){case "O":case "OO":case "OOO":return "GMT"+Bi$1(o,":");default:return "GMT"+Qt$1(o,":")}},z:function(n,t,e){let o=n.getTimezoneOffset();switch(t){case "z":case "zz":case "zzz":return "GMT"+Bi$1(o,":");default:return "GMT"+Qt$1(o,":")}},t:function(n,t,e){let o=Math.trunc(+n/1e3);return N$1(o,t.length)},T:function(n,t,e){return N$1(+n,t.length)}};function Bi$1(n,t=""){let e=n>0?"-":"+",o=Math.abs(n),a=Math.trunc(o/60),i=o%60;return i===0?e+String(a):e+String(a)+t+N$1(i,2)}function Ri$1(n,t){return n%60===0?(n>0?"-":"+")+N$1(Math.abs(n)/60,2):Qt$1(n,t)}function Qt$1(n,t=""){let e=n>0?"-":"+",o=Math.abs(n),a=N$1(Math.trunc(o/60),2),i=N$1(o%60,2);return e+a+t+i}var ji$2=(n,t)=>{switch(n){case "P":return t.date({width:"short"});case "PP":return t.date({width:"medium"});case "PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Ui$2=(n,t)=>{switch(n){case "p":return t.time({width:"short"});case "pp":return t.time({width:"medium"});case "ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Hl=(n,t)=>{let e=n.match(/(P+)(p+)?/)||[],o=e[1],a=e[2];if(!a)return ji$2(n,t);let i;switch(o){case "P":i=t.dateTime({width:"short"});break;case "PP":i=t.dateTime({width:"medium"});break;case "PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",ji$2(o,t)).replace("{{time}}",Ui$2(a,t))},i4={p:Ui$2,P:Hl};var El=/^D+$/,Ol=/^Y+$/,Yl=["D","DD","YY","YYYY"];function w2(n){return El.test(n)}function x2(n){return Ol.test(n)}function r4(n,t,e){let o=Fl(n,t,e);if(console.warn(o),Yl.includes(n))throw new RangeError(o)}function Fl(n,t,e){let o=n[0]==="Y"?"years":"days of the month";return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${o} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Al=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ll=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Il=/^'([^]*?)'?$/,Nl=/''/g,Bl=/[a-zA-Z]/;function c4(n,t,e){let o=Be(),a=e?.locale??o.locale??a4,i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,c=g$1(n,e?.in);if(!n4(c))throw new RangeError("Invalid time value");let s=t.match(Ll).map(f=>{let v=f[0];if(v==="p"||v==="P"){let R=i4[v];return R(f,a.formatLong)}return f}).join("").match(Al).map(f=>{if(f==="''")return {isToken:false,value:"'"};let v=f[0];if(v==="'")return {isToken:false,value:Rl(f)};if(Pn$1[v])return {isToken:true,value:f};if(v.match(Bl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return {isToken:false,value:f}});a.localize.preprocessor&&(s=a.localize.preprocessor(c,s));let h={firstWeekContainsDate:i,weekStartsOn:r,locale:a};return s.map(f=>{if(!f.isToken)return f.value;let v=f.value;(!e?.useAdditionalWeekYearTokens&&x2(v)||!e?.useAdditionalDayOfYearTokens&&w2(v))&&r4(v,t,String(n));let R=Pn$1[v[0]];return R(c,v,a.localize,h)}).join("")}function Rl(n){let t=n.match(Il);return t?t[1].replace(Nl,"'"):n}function S2(n,t){let e=g$1(n,t?.in),o=e.getFullYear(),a=e.getMonth(),i=C$1(e,0);return i.setFullYear(o,a+1,0),i.setHours(0,0,0,0),i.getDate()}function Wi$2(){return Object.assign({},Be())}function qi$2(n,t){let e=g$1(n,t?.in).getDay();return e===0?7:e}function Hn$1(n,t){return g$1(n,t?.in).getDate()===1}function Ki$2(n,t){let e=jl(t)?new t(0):C$1(t,0);return e.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),e.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e}function jl(n){return typeof n=="function"&&n.prototype?.constructor===n}var Ul=10,k2=class{subPriority=0;validate(t,e){return true}},V2=class extends k2{constructor(t,e,o,a,i){super(),this.value=t,this.validateValue=e,this.setValue=o,this.priority=a,i&&(this.subPriority=i);}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,o){return this.setValue(t,e,this.value,o)}},D2=class extends k2{priority=Ul;subPriority=-1;constructor(t,e){super(),this.context=t||(o=>C$1(e,o));}set(t,e){return e.timestampIsSet?t:C$1(t,Ki$2(t,this.context))}};var _$1=class _{run(t,e,o,a){let i=this.parse(t,e,o,a);return i?{setter:new V2(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(t,e,o){return true}};var T2=class extends _$1{priority=140;parse(t,e,o){switch(e){case "G":case "GG":case "GGG":return o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"});case "GGGGG":return o.era(t,{width:"narrow"});default:return o.era(t,{width:"wide"})||o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"})}}set(t,e,o){return e.era=o,t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]};var L$1={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}/},Re$1={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 q$1(n,t){return n&&{value:t(n.value),rest:n.rest}}function F(n,t){let e=t.match(n);return e?{value:parseInt(e[0],10),rest:t.slice(e[0].length)}:null}function je$1(n,t){let e=t.match(n);if(!e)return null;if(e[0]==="Z")return {value:0,rest:t.slice(1)};let o=e[1]==="+"?1:-1,a=e[2]?parseInt(e[2],10):0,i=e[3]?parseInt(e[3],10):0,r=e[5]?parseInt(e[5],10):0;return {value:o*(a*y2+i*z2+r*gi$1),rest:t.slice(e[0].length)}}function P2(n){return F(L$1.anyDigitsSigned,n)}function V$1(n,t){switch(n){case 1:return F(L$1.singleDigit,t);case 2:return F(L$1.twoDigits,t);case 3:return F(L$1.threeDigits,t);case 4:return F(L$1.fourDigits,t);default:return F(new RegExp("^\\d{1,"+n+"}"),t)}}function S1(n,t){switch(n){case 1:return F(L$1.singleDigitSigned,t);case 2:return F(L$1.twoDigitsSigned,t);case 3:return F(L$1.threeDigitsSigned,t);case 4:return F(L$1.fourDigitsSigned,t);default:return F(new RegExp("^-?\\d{1,"+n+"}"),t)}}function k1(n){switch(n){case "morning":return 4;case "evening":return 17;case "pm":case "noon":case "afternoon":return 12;default:return 0}}function H2(n,t){let e=t>0,o=e?t:1-t,a;if(o<=50)a=n||100;else {let i=o+50,r=Math.trunc(i/100)*100,c=n>=i%100;a=n+r-(c?100:0);}return e?a:1-a}function E2(n){return n%400===0||n%4===0&&n%100!==0}var O2=class extends _$1{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,o){let a=i=>({year:i,isTwoDigitYear:e==="yy"});switch(e){case "y":return q$1(V$1(4,t),a);case "yo":return q$1(o.ordinalNumber(t,{unit:"year"}),a);default:return q$1(V$1(e.length,t),a)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,o){let a=t.getFullYear();if(o.isTwoDigitYear){let r=H2(o.year,a);return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}let i=!("era"in e)||e.era===1?o.year:1-o.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}};var Y2=class extends _$1{priority=130;parse(t,e,o){let a=i=>({year:i,isTwoDigitYear:e==="YY"});switch(e){case "Y":return q$1(V$1(4,t),a);case "Yo":return q$1(o.ordinalNumber(t,{unit:"year"}),a);default:return q$1(V$1(e.length,t),a)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,o,a){let i=w1(t,a);if(o.isTwoDigitYear){let c=H2(o.year,i);return t.setFullYear(c,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),be(t,a)}let r=!("era"in e)||e.era===1?o.year:1-o.year;return t.setFullYear(r,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),be(t,a)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var F2=class extends _$1{priority=130;parse(t,e){return e==="R"?S1(4,t):S1(e.length,t)}set(t,e,o){let a=C$1(t,0);return a.setFullYear(o,0,4),a.setHours(0,0,0,0),Je(a)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var A2=class extends _$1{priority=130;parse(t,e){return e==="u"?S1(4,t):S1(e.length,t)}set(t,e,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]};var L2=class extends _$1{priority=120;parse(t,e,o){switch(e){case "Q":case "QQ":return V$1(e.length,t);case "Qo":return o.ordinalNumber(t,{unit:"quarter"});case "QQQ":return o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"});case "QQQQQ":return o.quarter(t,{width:"narrow",context:"formatting"});default:return o.quarter(t,{width:"wide",context:"formatting"})||o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]};var I2=class extends _$1{priority=120;parse(t,e,o){switch(e){case "q":case "qq":return V$1(e.length,t);case "qo":return o.ordinalNumber(t,{unit:"quarter"});case "qqq":return o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"});case "qqqqq":return o.quarter(t,{width:"narrow",context:"standalone"});default:return o.quarter(t,{width:"wide",context:"standalone"})||o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]};var N2=class extends _$1{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,o){let a=i=>i-1;switch(e){case "M":return q$1(F(L$1.month,t),a);case "MM":return q$1(V$1(2,t),a);case "Mo":return q$1(o.ordinalNumber(t,{unit:"month"}),a);case "MMM":return o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"});case "MMMMM":return o.month(t,{width:"narrow",context:"formatting"});default:return o.month(t,{width:"wide",context:"formatting"})||o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}};var B2=class extends _$1{priority=110;parse(t,e,o){let a=i=>i-1;switch(e){case "L":return q$1(F(L$1.month,t),a);case "LL":return q$1(V$1(2,t),a);case "Lo":return q$1(o.ordinalNumber(t,{unit:"month"}),a);case "LLL":return o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"});case "LLLLL":return o.month(t,{width:"narrow",context:"standalone"});default:return o.month(t,{width:"wide",context:"standalone"})||o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]};function Gi$2(n,t,e){let o=g$1(n,e?.in),a=C2(o,e)-t;return o.setDate(o.getDate()-a*7),g$1(o,e?.in)}var R2=class extends _$1{priority=100;parse(t,e,o){switch(e){case "w":return F(L$1.week,t);case "wo":return o.ordinalNumber(t,{unit:"week"});default:return V$1(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,o,a){return be(Gi$2(t,o,a),a)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function $i$1(n,t,e){let o=g$1(n,e?.in),a=C1(o,e)-t;return o.setDate(o.getDate()-a*7),o}var j2=class extends _$1{priority=100;parse(t,e,o){switch(e){case "I":return F(L$1.week,t);case "Io":return o.ordinalNumber(t,{unit:"week"});default:return V$1(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,o){return Je($i$1(t,o))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var Wl=[31,28,31,30,31,30,31,31,30,31,30,31],ql=[31,29,31,30,31,30,31,31,30,31,30,31],U2=class extends _$1{priority=90;subPriority=1;parse(t,e,o){switch(e){case "d":return F(L$1.date,t);case "do":return o.ordinalNumber(t,{unit:"date"});default:return V$1(e.length,t)}}validate(t,e){let o=t.getFullYear(),a=E2(o),i=t.getMonth();return a?e>=1&&e<=ql[i]:e>=1&&e<=Wl[i]}set(t,e,o){return t.setDate(o),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]};var W2=class extends _$1{priority=90;subpriority=1;parse(t,e,o){switch(e){case "D":case "DD":return F(L$1.dayOfYear,t);case "Do":return o.ordinalNumber(t,{unit:"date"});default:return V$1(e.length,t)}}validate(t,e){let o=t.getFullYear();return E2(o)?e>=1&&e<=366:e>=1&&e<=365}set(t,e,o){return t.setMonth(0,o),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]};function Et$1(n,t,e){let o=Be(),a=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,i=g$1(n,e?.in),r=i.getDay(),s=(t%7+7)%7,h=7-a,f=t<0||t>6?t-(r+h)%7:(s+h)%7-(r+h)%7;return g1(i,f,e)}var q2=class extends _$1{priority=90;parse(t,e,o){switch(e){case "E":case "EE":case "EEE":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case "EEEEE":return o.day(t,{width:"narrow",context:"formatting"});case "EEEEEE":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,o,a){return t=Et$1(t,o,a),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]};var K2=class extends _$1{priority=90;parse(t,e,o,a){let i=r=>{let c=Math.floor((r-1)/7)*7;return (r+a.weekStartsOn+6)%7+c};switch(e){case "e":case "ee":return q$1(V$1(e.length,t),i);case "eo":return q$1(o.ordinalNumber(t,{unit:"day"}),i);case "eee":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case "eeeee":return o.day(t,{width:"narrow",context:"formatting"});case "eeeeee":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,o,a){return t=Et$1(t,o,a),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]};var G2=class extends _$1{priority=90;parse(t,e,o,a){let i=r=>{let c=Math.floor((r-1)/7)*7;return (r+a.weekStartsOn+6)%7+c};switch(e){case "c":case "cc":return q$1(V$1(e.length,t),i);case "co":return q$1(o.ordinalNumber(t,{unit:"day"}),i);case "ccc":return o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case "ccccc":return o.day(t,{width:"narrow",context:"standalone"});case "cccccc":return o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});default:return o.day(t,{width:"wide",context:"standalone"})||o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,o,a){return t=Et$1(t,o,a),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]};function Zi$2(n,t,e){let o=g$1(n,e?.in),a=qi$2(o,e),i=t-a;return g1(o,i,e)}var $2=class extends _$1{priority=90;parse(t,e,o){let a=i=>i===0?7:i;switch(e){case "i":case "ii":return V$1(e.length,t);case "io":return o.ordinalNumber(t,{unit:"day"});case "iii":return q$1(o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a);case "iiiii":return q$1(o.day(t,{width:"narrow",context:"formatting"}),a);case "iiiiii":return q$1(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a);default:return q$1(o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,e){return e>=1&&e<=7}set(t,e,o){return t=Zi$2(t,o),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]};var Z2=class extends _$1{priority=80;parse(t,e,o){switch(e){case "a":case "aa":case "aaa":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case "aaaaa":return o.dayPeriod(t,{width:"narrow",context:"formatting"});default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,o){return t.setHours(k1(o),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]};var Q2=class extends _$1{priority=80;parse(t,e,o){switch(e){case "b":case "bb":case "bbb":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case "bbbbb":return o.dayPeriod(t,{width:"narrow",context:"formatting"});default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,o){return t.setHours(k1(o),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]};var X2=class extends _$1{priority=80;parse(t,e,o){switch(e){case "B":case "BB":case "BBB":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case "BBBBB":return o.dayPeriod(t,{width:"narrow",context:"formatting"});default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,o){return t.setHours(k1(o),0,0,0),t}incompatibleTokens=["a","b","t","T"]};var J2=class extends _$1{priority=70;parse(t,e,o){switch(e){case "h":return F(L$1.hour12h,t);case "ho":return o.ordinalNumber(t,{unit:"hour"});default:return V$1(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,o){let a=t.getHours()>=12;return a&&o<12?t.setHours(o+12,0,0,0):!a&&o===12?t.setHours(0,0,0,0):t.setHours(o,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]};var e3=class extends _$1{priority=70;parse(t,e,o){switch(e){case "H":return F(L$1.hour23h,t);case "Ho":return o.ordinalNumber(t,{unit:"hour"});default:return V$1(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,o){return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]};var t3=class extends _$1{priority=70;parse(t,e,o){switch(e){case "K":return F(L$1.hour11h,t);case "Ko":return o.ordinalNumber(t,{unit:"hour"});default:return V$1(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,o){return t.getHours()>=12&&o<12?t.setHours(o+12,0,0,0):t.setHours(o,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]};var n3=class extends _$1{priority=70;parse(t,e,o){switch(e){case "k":return F(L$1.hour24h,t);case "ko":return o.ordinalNumber(t,{unit:"hour"});default:return V$1(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,o){let a=o<=24?o%24:o;return t.setHours(a,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]};var o3=class extends _$1{priority=60;parse(t,e,o){switch(e){case "m":return F(L$1.minute,t);case "mo":return o.ordinalNumber(t,{unit:"minute"});default:return V$1(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,o){return t.setMinutes(o,0,0),t}incompatibleTokens=["t","T"]};var a3=class extends _$1{priority=50;parse(t,e,o){switch(e){case "s":return F(L$1.second,t);case "so":return o.ordinalNumber(t,{unit:"second"});default:return V$1(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,o){return t.setSeconds(o,0),t}incompatibleTokens=["t","T"]};var i3=class extends _$1{priority=30;parse(t,e){let o=a=>Math.trunc(a*Math.pow(10,-e.length+3));return q$1(V$1(e.length,t),o)}set(t,e,o){return t.setMilliseconds(o),t}incompatibleTokens=["t","T"]};var r3=class extends _$1{priority=10;parse(t,e){switch(e){case "X":return je$1(Re$1.basicOptionalMinutes,t);case "XX":return je$1(Re$1.basic,t);case "XXXX":return je$1(Re$1.basicOptionalSeconds,t);case "XXXXX":return je$1(Re$1.extendedOptionalSeconds,t);default:return je$1(Re$1.extended,t)}}set(t,e,o){return e.timestampIsSet?t:C$1(t,t.getTime()-Zt$1(t)-o)}incompatibleTokens=["t","T","x"]};var c3=class extends _$1{priority=10;parse(t,e){switch(e){case "x":return je$1(Re$1.basicOptionalMinutes,t);case "xx":return je$1(Re$1.basic,t);case "xxxx":return je$1(Re$1.basicOptionalSeconds,t);case "xxxxx":return je$1(Re$1.extendedOptionalSeconds,t);default:return je$1(Re$1.extended,t)}}set(t,e,o){return e.timestampIsSet?t:C$1(t,t.getTime()-Zt$1(t)-o)}incompatibleTokens=["t","T","X"]};var l3=class extends _$1{priority=40;parse(t){return P2(t)}set(t,e,o){return [C$1(t,o*1e3),{timestampIsSet:true}]}incompatibleTokens="*"};var s3=class extends _$1{priority=20;parse(t){return P2(t)}set(t,e,o){return [C$1(t,o),{timestampIsSet:true}]}incompatibleTokens="*"};var Qi$2={G:new T2,y:new O2,Y:new Y2,R:new F2,u:new A2,Q:new L2,q:new I2,M:new N2,L:new B2,w:new R2,I:new j2,d:new U2,D:new W2,E:new q2,e:new K2,c:new G2,i:new $2,a:new Z2,b:new Q2,B:new X2,h:new J2,H:new e3,K:new t3,k:new n3,m:new o3,s:new a3,S:new i3,X:new r3,x:new c3,t:new l3,T:new s3};var Kl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$l=/^'([^]*?)'?$/,Zl=/''/g,Ql=/\S/,Xl=/[a-zA-Z]/;function Xi$2(n,t,e,o){let a=()=>C$1(o?.in||e,NaN),i=Wi$2(),r=o?.locale??i.locale??a4,c=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(!t)return n?a():g$1(e,o?.in);let h={firstWeekContainsDate:c,weekStartsOn:s,locale:r},f=[new D2(o?.in,e)],v=t.match(Gl).map(u=>{let z=u[0];if(z in i4){let ne=i4[z];return ne(u,r.formatLong)}return u}).join("").match(Kl),R=[];for(let u of v){let z=u[0],ne=Qi$2[z];if(ne){let{incompatibleTokens:ct}=ne;if(Array.isArray(ct)){let lt=R.find(oe=>ct.includes(oe.token)||oe.token===z);if(lt)throw new RangeError(`The format string mustn't contain \`${lt.fullToken}\` and \`${u}\` at the same time`)}else if(ne.incompatibleTokens==="*"&&R.length>0)throw new RangeError(`The format string mustn't contain \`${u}\` and any other token at the same time`);R.push({token:z,fullToken:u});let Ue=ne.run(n,u,r.match,h);if(!Ue)return a();f.push(Ue.setter),n=Ue.rest;}else {if(z.match(Xl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");if(u==="''"?u="'":z==="'"&&(u=Jl(u)),n.indexOf(u)===0)n=n.slice(u.length);else return a()}}if(n.length>0&&Ql.test(n))return a();let m=f.map(u=>u.priority).sort((u,z)=>z-u).filter((u,z,ne)=>ne.indexOf(u)===z).map(u=>f.filter(z=>z.priority===u).sort((z,ne)=>ne.subPriority-z.subPriority)).map(u=>u[0]),p=g$1(e,o?.in);if(isNaN(+p))return a();let d={};for(let u of m){if(!u.validate(p,h))return a();let z=u.set(p,d,h);Array.isArray(z)?(p=z[0],Object.assign(d,z[1])):p=z;}return p}function Jl(n){return n.match($l)[1].replace(Zl,"'")}function En$1(n,t){let e=g$1(n,t?.in);return e.setMinutes(0,0,0),e}function Ji$2(n,t,e){let[o,a]=he$1(e?.in,n,t);return +En$1(o)==+En$1(a)}function On$1(n,t){let e=g$1(n,t?.in);return e.setSeconds(0,0),e}function er$2(n,t){return +On$1(n)==+On$1(t)}function tr$2(n,t,e){let[o,a]=he$1(e?.in,n,t);return o.getFullYear()===a.getFullYear()&&o.getMonth()===a.getMonth()}function nr$2(n,t,e){let[o,a]=he$1(e?.in,n,t);return +o4(o)==+o4(a)}function Yn$1(n,t){let e=g$1(n,t?.in);return e.setMilliseconds(0),e}function or$2(n,t){return +Yn$1(n)==+Yn$1(t)}function ar$2(n,t,e){let[o,a]=he$1(e?.in,n,t);return o.getFullYear()===a.getFullYear()}function Fn$1(n,t){return t4(C$1(n,n),bi$2(n))}function l4(n,t,e){let o=g$1(n,e?.in),a=o.getFullYear(),i=o.getDate(),r=C$1(n,0);r.setFullYear(a,t,15),r.setHours(0,0,0,0);let c=S2(r);return o.setMonth(t,Math.min(i,c)),o}function An$1(n,t,e){let o=g$1(n,e?.in),a=Math.trunc(o.getMonth()/3)+1,i=t-a;return l4(o,o.getMonth()+i*3)}function Ln$1(n,t,e){let o=g$1(n,e?.in);return isNaN(+o)?C$1(n,NaN):(o.setFullYear(t),o)}function w_(n){let[t,e]=n;return !!t&&!!e&&e.isBeforeDay(t)}function x_(n,t,e="month",o="left"){let[a,i]=n,r=a||new s4,c=i||(t?r:r.add(1,e));return a&&!i?(r=a,c=t?a:a.add(1,e)):!a&&i?(r=t?i:i.add(-1,e),c=i):a&&i&&!t&&(a.isSame(i,e)||o==="left"?c=r.add(1,e):r=c.add(-1,e)),[r,c]}function S_(n){return Array.isArray(n)?n.map(t=>t instanceof s4?t.clone():null):n instanceof s4?n.clone():null}var s4=class n{nativeDate;constructor(t){if(t)if(t instanceof Date)this.nativeDate=t;else if(typeof t=="string"||typeof t=="number")mt$2('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(t);else throw new Error('The input date type is not supported ("Date" is now recommended)');else this.nativeDate=new Date;}calendarStart(t){return new n(be(Tn$1(this.nativeDate),t))}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 n(new Date(this.nativeDate))}setHms(t,e,o){let a=new Date(this.nativeDate.setHours(t,e,o));return new n(a)}setYear(t){return new n(Ln$1(this.nativeDate,t))}addYears(t){return new n(Vn(this.nativeDate,t))}setMonth(t){return new n(l4(this.nativeDate,t))}addMonths(t){return new n(J1(this.nativeDate,t))}setDay(t,e){return new n(Et$1(this.nativeDate,t,e))}setDate(t){let e=new Date(this.nativeDate);return e.setDate(t),new n(e)}getQuarter(){return y1(this.nativeDate)}setQuarter(t){return new n(An$1(this.nativeDate,t))}addDays(t){return this.setDate(this.getDate()+t)}add(t,e){switch(e){case "decade":return this.addYears(t*10);case "year":return this.addYears(t);case "month":return this.addMonths(t);default:return this.addMonths(t)}}isSame(t,e="day"){if(t==null)return false;let o;switch(e){case "decade":o=(a,i)=>Math.abs(a.getFullYear()-i.getFullYear())<11;break;case "year":o=ar$2;break;case "quarter":o=nr$2;break;case "month":o=tr$2;break;case "day":o=t4;break;case "hour":o=Ji$2;break;case "minute":o=er$2;break;case "second":o=or$2;break;default:o=t4;break}return o(this.nativeDate,this.toNativeDate(t))}isSameYear(t){return this.isSame(t,"year")}isSameQuarter(t){return this.isSame(t,"quarter")}isSameMonth(t){return this.isSame(t,"month")}isSameDay(t){return this.isSame(t,"day")}isSameHour(t){return this.isSame(t,"hour")}isSameMinute(t){return this.isSame(t,"minute")}isSameSecond(t){return this.isSame(t,"second")}isBefore(t,e="day"){if(t==null)return false;let o;switch(e){case "year":o=Si$2;break;case "quarter":o=xi$1;break;case "month":o=wi$2;break;case "day":o=e4;break;case "hour":o=ki$1;break;case "minute":o=Vi$2;break;case "second":o=Pi$2;break;default:o=e4;break}return o(this.nativeDate,this.toNativeDate(t))<0}isBeforeYear(t){return this.isBefore(t,"year")}isBeforeQuarter(t){return this.isBefore(t,"quarter")}isBeforeMonth(t){return this.isBefore(t,"month")}isBeforeDay(t){return this.isBefore(t,"day")}isToday(){return Fn$1(this.nativeDate)}isValid(){return n4(this.nativeDate)}isFirstDayOfMonth(){return Hn$1(this.nativeDate)}isLastDayOfMonth(){return Dn$1(this.nativeDate)}toNativeDate(t){return t instanceof n?t.nativeDate:t}},In$1=new A$2(""),d3=new A$2(""),es={firstDayOfWeek:void 0};var rt$1="NzDateAdapter: method not implemented. Override this method in your adapter to opt in.";function ts(n,t$1){let a={},{locale:e}=a,o=t(a,["locale"]);return Cu([n,{provide:h3,useExisting:n},{provide:In$1,useValue:r(r({},es),o)},...e!==void 0?[{provide:d3,useValue:e}]:[]])}var h3=class{locale;_localeChanges=new re;localeChanges=this._localeChanges;setLocale(t){this.locale=t,this._localeChanges.next();}deserialize(t){return t==null||this.isDateInstance(t)?t:this.invalid()}getValidDateOrNull(t){if(this.isDateInstance(t)){let e=t;return this.isValid(e)?e:null}return null}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let o=this.isValid(t),a=this.isValid(e);return o&&a?this.compareDate(t,e)===0:o===a}return t===e}clampDate(t,e,o){return e&&this.compareDate(e,t)>0?this.clone(e):o&&this.compareDate(t,o)>0?this.clone(o):t}calendarStartOfMonth(t){return this.createDate(this.getYear(t),this.getMonth(t),1)}calendarStartOfWeek(t){let e=this.getDayOfWeek(t),o=this.getFirstDayOfWeek(),a=(e-o+7)%7;return this.addCalendarDays(t,-a)}isFirstDayOfMonth(t){return this.getDate(t)===1}isLastDayOfMonth(t){return this.getDate(t)===this.getNumDaysInMonth(t)}isToday(t){return this.sameDate(t,this.today())}setTime(t,e,o,a){throw new Error(rt$1)}getHours(t){throw new Error(rt$1)}getMinutes(t){throw new Error(rt$1)}getSeconds(t){throw new Error(rt$1)}parseTime(t,e){throw new Error(rt$1)}addSeconds(t,e){throw new Error(rt$1)}compareTime(t,e){return this.getHours(t)-this.getHours(e)||this.getMinutes(t)-this.getMinutes(e)||this.getSeconds(t)-this.getSeconds(e)}sameTime(t,e){return t&&e?!this.isValid(t)&&!this.isValid(e)||this.compareTime(t,e)===0:t===e}getMilliseconds(t){throw new Error(rt$1)}getTime(t){throw new Error(rt$1)}getCalendarId(t){throw new Error(rt$1)}getTimezoneOffset(t){throw new Error(rt$1)}addYears(t,e){return this.addCalendarYears(t,e)}addMonths(t,e){return this.addCalendarMonths(t,e)}addDays(t,e){return this.addCalendarDays(t,e)}getDaysInMonth(t){return this.getNumDaysInMonth(t)}getDay(t){return this.getDayOfWeek(t)}},ns=(()=>{class n extends h3{dateLocale=C$2(d3,{optional:true});dateConfig=C$2(In$1,{optional:true});constructor(){super(),this.dateLocale&&super.setLocale(this.dateLocale);}today(){return new Date}createDate(e,o,a){return new Date(e,o,a)}clone(e){return new Date(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getNumDaysInMonth(e){return S2(e)}getYearName(e){return c4(e,"yyyy",{locale:this.locale})}getMonthNames(e){let o=e==="narrow"?"MMMMM":e==="short"?"MMM":"MMMM";return Array.from({length:12},(a,i)=>c4(new Date(2024,i,1),o,{locale:this.locale}))}getDateNames(){return Array.from({length:31},(e,o)=>String(o+1))}getDayOfWeekNames(e){let o=e==="narrow"?"EEEEEE":e==="short"?"EEE":"EEEE";return Array.from({length:7},(a,i)=>c4(new Date(2024,0,i+1),o,{locale:this.locale}))}getFirstDayOfWeek(){return this.dateConfig?.firstDayOfWeek!=null?this.dateConfig.firstDayOfWeek:this.locale?.options?.weekStartsOn??1}addCalendarYears(e,o){return Vn(e,o)}addCalendarMonths(e,o){return J1(e,o)}addCalendarDays(e,o){return g1(e,o)}format(e,o){if(!e)return "";if(!this.isValid(e))throw new Error("DateFnsDateAdapter: Cannot format invalid date.");let a=o.replace(/\[(.*?)\]/g,"'$1'");return c4(e,a,{locale:this.locale,useAdditionalWeekYearTokens:true,useAdditionalDayOfYearTokens:true})}parse(e,o){if(typeof e=="string"&&e.length>0){let a=Array.isArray(o)?o:[o];if(!a.length)throw new Error("Formats array must not be empty.");for(let i of a){let r=i.replace(/\[(.*?)\]/g,"'$1'"),c=Xi$2(e,r,new Date,{locale:this.locale,weekStartsOn:this.getFirstDayOfWeek()});if(this.isValid(c))return c}return this.invalid()}else {if(typeof e=="number")return new Date(e);if(e instanceof Date)return this.clone(e)}return null}isDateInstance(e){return e instanceof Date}isValid(e){return n4(e)}invalid(){return new Date(NaN)}getQuarter(e){return y1(e)}setQuarter(e,o){return An$1(e,o)}startOfQuarter(e){return o4(e)}getISOWeek(e){return C1(e)}setYear(e,o){return Ln$1(e,o)}setMonth(e,o){return l4(e,o)}setDate(e,o){let a=new Date(e);return a.setDate(o),a}setTime(e,o,a,i){let r=new Date(e);return r.setHours(o,a,i,0),r}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,o){return this.parse(e,o)}addSeconds(e,o){return Mi$2(e,o)}getMilliseconds(e){return e.getMilliseconds()}getTime(e){return e.getTime()}isFirstDayOfMonth(e){return Hn$1(e)}isLastDayOfMonth(e){return Dn$1(e)}isToday(e){return Fn$1(e)}calendarStartOfMonth(e){return Tn$1(e)}calendarStartOfWeek(e){return be(e,{weekStartsOn:this.getFirstDayOfWeek()})}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function V_(n){return ts(ns)}var os={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"],rangeQuarterPlaceholder:["Start quarter","End quarter"],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:true,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:true,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"},Form:{optional:"(optional)"},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",scanned:"Scanned"},CheckList:{checkList:"Check List",checkListFinish:"You have successfully completed the list!",checkListClose:"Close",checkListFooter:"Check list is no longer required",checkListCheck:"Do you want to close the list?",ok:"OK",cancel:"Cancel",checkListCheckOther:"No longer required to show"}},as={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"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],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"},Form:{optional:"(\u53EF\u9009)"},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",scanned:"\u5DF2\u626B\u63CF"},CheckList:{checkList:"\u4EFB\u52A1\u6E05\u5355",checkListFinish:"\u4F60\u5DF2\u6210\u529F\u5B8C\u6210\u4EFB\u52A1\u6E05\u5355\uFF01",checkListClose:"\u5173\u95ED",checkListFooter:"\u4E0D\u9700\u8981\u64CD\u4F5C\u6307\u5F15",checkListCheck:"\u4F60\u8981\u5173\u95ED\u64CD\u4F5C\u6E05\u5355\u5417",ok:"\u786E\u5B9A",cancel:"\u53D6\u6D88",checkListCheckOther:"\u4EE5\u540E\u4E0D\u518D\u9700\u8981\u64CD\u4F5C\u6E05\u5355"}},Nn$1=new A$2("");function B_(n){return Cu([typeof n=="function"?{provide:Nn$1,useFactory:n}:{provide:Nn$1,useValue:n}])}var Bn=(()=>{class n{_locale;_change=new On$3(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(C$2(Nn$1,{optional:true})||as),this.setDateLocale(C$2(d3,{optional:true}));}translate(e,o){let a=this._getObjectPath(this._locale,e);return typeof a=="string"?(o&&Object.keys(o).forEach(i=>a=a.replace(new RegExp(`%${i}%`,"g"),o[i])),a):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e));}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e;}getDateLocale(){return this.dateLocale}getLocaleData(e,o){let a=e?this._getObjectPath(this._locale,e):this._locale;return !a&&!o&&mt$2(`Missing translations for "${e}" in language "${this._locale.locale}".
|
|
213
|
-
You can use "NzI18nService.setLocale" as a temporary fix.
|
|
214
|
-
Welcome to submit a pull request to help us optimize the translations!
|
|
215
|
-
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),a||o||this._getObjectPath(os,e)||{}}_getObjectPath(e,o){let a=e,i=o.split("."),r=i.length,c=0;for(;a&&c<r;)a=a[i[c++]];return c===r?a:null}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$2({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),R_=(()=>{class n{_locale=C$2(Bn);transform(e,o){return this._locale.translate(e,o)}static \u0275fac=function(o){return new(o||n)};static \u0275pipe=oD({name:"nzI18n",type:n,pure:true})}return n})(),j_=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({})}return n})();var U_={locale:"es",Pagination:{items_per_page:"/ p\xE1gina",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"P\xE1gina",prev_page:"P\xE1gina anterior",next_page:"P\xE1gina siguiente",prev_5:"5 p\xE1ginas previas",next_5:"5 p\xE1ginas siguientes",prev_3:"3 p\xE1ginas previas",next_3:"3 p\xE1ginas siguientes",page_size:"tama\xF1o de p\xE1gina"},DatePicker:{lang:{placeholder:"Seleccionar fecha",yearPlaceholder:"Seleccionar a\xF1o",quarterPlaceholder:"Seleccionar trimestre",monthPlaceholder:"Seleccionar mes",weekPlaceholder:"Seleccionar semana",rangePlaceholder:["Fecha inicial","Fecha final"],rangeYearPlaceholder:["A\xF1o inicial","A\xF1o final"],rangeQuarterPlaceholder:["Trimestre inicial","Trimestre final"],rangeMonthPlaceholder:["Mes inicial","Mes final"],rangeWeekPlaceholder:["Semana inicial","Semana final"],locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xF1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",weekSelect:"Elegir una semana",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xF1o",decadeSelect:"Elegir una d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:true,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xF1o anterior (Control + left)",nextYear:"A\xF1o siguiente (Control + right)",previousDecade:"D\xE9cada anterior",nextDecade:"D\xE9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},timePickerLocale:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]}},TimePicker:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]},Calendar:{lang:{placeholder:"Seleccionar fecha",yearPlaceholder:"Seleccionar a\xF1o",quarterPlaceholder:"Seleccionar trimestre",monthPlaceholder:"Seleccionar mes",weekPlaceholder:"Seleccionar semana",rangePlaceholder:["Fecha inicial","Fecha final"],rangeYearPlaceholder:["A\xF1o inicial","A\xF1o final"],rangeMonthPlaceholder:["Mes inicial","Mes final"],rangeWeekPlaceholder:["Semana inicial","Semana final"],locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xF1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",weekSelect:"Elegir una semana",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xF1o",decadeSelect:"Elegir una d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:true,previousMonth:"Mes anterior (AvP\xE1g)",nextMonth:"Mes siguiente (ReP\xE1g)",previousYear:"A\xF1o anterior (Control + izquierda)",nextYear:"A\xF1o siguiente (Control + derecha)",previousDecade:"D\xE9cada anterior",nextDecade:"D\xE9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},timePickerLocale:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]}},global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar men\xFA",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selecci\xF3n",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar descendentemente",triggerAsc:"Click para ordenar ascendentemenre",cancelSort:"Click para cancelar ordenaci\xF3n",filterCheckall:"Seleccionar todos los filtros",filterSearchPlaceholder:"Buscar en filtros",selectNone:"Vaciar todo"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aqu\xED",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar p\xE1gina actual",removeCurrent:"Eliminar p\xE1gina actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir p\xE1gina actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Form:{optional:"(opcional)"},Icon:{icon:"icono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},PageHeader:{back:"Volver"},Image:{preview:"Previsualizaci\xF3n"},CronExpression:{cronError:"Expresi\xF3n cron inv\xE1lida",second:"segundo",minute:"minuto",hour:"hora",day:"d\xEDa",month:"mes",week:"semana"},QRCode:{expired:"C\xF3digo QR expirado",refresh:"Actualizar",scanned:"Escaneado"},CheckList:{checkList:"Lista de tareas",checkListFinish:"\xA1Has completado la lista correctamente!",checkListClose:"Cerrar",checkListFooter:"La lista ya no es necesaria",checkListCheck:"\xBFQuiere cerrar la lista?",ok:"OK",cancel:"Cancelar",checkListCheckOther:"No mostrar de nuevo"}};function is(n,t){if(n&1&&(ol$1(0),dh(1,"img",4),il$2()),n&2){let e=zD(2);vI(),uh("src",e.nzNotFoundImage,Bf)("alt",e.isContentString?e.nzNotFoundContent:"empty");}}function rs(n,t){if(n&1&&oh(0,is,2,2,"ng-container",3),n&2){let e=zD();uh("nzStringTemplateOutlet",e.nzNotFoundImage);}}function cs(n,t){n&1&&dh(0,"nz-empty-simple");}function ls(n,t){n&1&&dh(0,"nz-empty-default");}function ss(n,t){if(n&1&&ND(0,cs,1,0,"nz-empty-simple")(1,ls,1,0,"nz-empty-default"),n&2){let e=zD();xD(e.nzNotFoundImage==="simple"?0:1);}}function hs(n,t){if(n&1&&(ol$1(0),_w(1),il$2()),n&2){let e=zD(2);vI(),sl$2(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ");}}function ds(n,t){if(n&1&&(Ni$3(0,"p",1),oh(1,hs,2,1,"ng-container",3),tl$1()),n&2){let e=zD();vI(),uh("nzStringTemplateOutlet",e.nzNotFoundContent);}}function us(n,t){if(n&1&&(ol$1(0),_w(1),il$2()),n&2){let e=zD(2);vI(),sl$2(" ",e.nzNotFoundFooter," ");}}function ms(n,t){if(n&1&&(Ni$3(0,"div",2),oh(1,us,2,1,"ng-container",3),tl$1()),n&2){let e=zD();vI(),uh("nzStringTemplateOutlet",e.nzNotFoundFooter);}}var ps=n=>({$implicit:n});function fs(n,t){if(n&1&&(ol$1(0),_w(1),il$2()),n&2){let e=zD(3);vI(),Vh(e.content);}}function vs(n,t){if(n&1&&oh(0,fs,2,1,"ng-container",1),n&2){let e=zD(2);uh("nzStringTemplateOutlet",e.content)("nzStringTemplateOutletContext",Bw(2,ps,e.nzComponentName));}}function gs(n,t){}function zs(n,t){if(n&1&&oh(0,gs,0,0,"ng-template",0),n&2){let e=zD(2);uh("cdkPortalOutlet",e.contentPortal);}}function ys(n,t){if(n&1&&ND(0,vs,1,4,"ng-container")(1,zs,1,1,null,0),n&2){let e=zD();xD(e.contentType==="template"||e.contentType==="string"?0:1);}}function _s(n,t){n&1&&dh(0,"nz-empty",2);}function Ms(n,t){n&1&&dh(0,"nz-empty",3);}function bs(n,t){n&1&&dh(0,"nz-empty");}function Cs(n,t){if(n&1&&ND(0,_s,1,0,"nz-empty",2)(1,Ms,1,0,"nz-empty",3)(2,bs,1,0,"nz-empty"),n&2){let e,o=zD(2);xD((e=o.size)==="normal"?0:e==="small"?1:2);}}function ws(n,t){if(n&1&&ND(0,Cs,3,1),n&2){let e=zD();xD(e.specificContent!==null?0:-1);}}var xs=new A$2(""),Ss=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(o,a){o&1&&(Ku(),nl$1(0,"svg",0)(1,"g",1)(2,"g",2),fh(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),rl$2(),fh(8,"path",8),nl$1(9,"g",9),fh(10,"ellipse",10)(11,"path",11),rl$2()()());},encapsulation:2})}return n})(),ks=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(o,a){o&1&&(Ku(),nl$1(0,"svg",0)(1,"g",1),fh(2,"ellipse",2),nl$1(3,"g",3),fh(4,"path",4)(5,"path",5),rl$2()()());},encapsulation:2})}return n})(),Vs=["default","simple"],ir$2=(()=>{class n{i18n=C$2(Bn);cdr=C$2(Z0$1);destroyRef=C$2(at$1);nzNotFoundImage="default";nzNotFoundContent;nzNotFoundFooter;isContentString=false;isImageBuildIn=true;locale;ngOnChanges(e){let{nzNotFoundContent:o,nzNotFoundImage:a}=e;if(o){let i=o.currentValue;this.isContentString=typeof i=="string";}if(a){let i=a.currentValue||"default";this.isImageBuildIn=Vs.findIndex(r=>r===i)>-1;}}ngOnInit(){this.i18n.localeChange.pipe(xt$1(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck();});}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[fy],decls:5,vars:3,consts:[[1,"ant-empty-image"],[1,"ant-empty-description"],[1,"ant-empty-footer"],[4,"nzStringTemplateOutlet"],[3,"src","alt"]],template:function(o,a){o&1&&(Ni$3(0,"div",0),ND(1,rs,1,1,"ng-container")(2,ss,2,1),tl$1(),ND(3,ds,2,1,"p",1),ND(4,ms,2,1,"div",2)),o&2&&(vI(),xD(a.isImageBuildIn?2:1),vI(2),xD(a.nzNotFoundContent!==null?3:-1),vI(),xD(a.nzNotFoundFooter?4:-1));},dependencies:[Pt,Ne$1,Ss,ks],encapsulation:2})}return n})();function Ds(n){switch(n){case "table":case "list":return "normal";case "select":case "tree-select":case "cascader":case "transfer":return "small";default:return ""}}var Rn$1=(()=>{class n{configService=C$2(Dt);viewContainerRef=C$2(Bi$3);cdr=C$2(Z0$1);injector=C$2(De$2);nzComponentName;specificContent;content;contentType="string";contentPortal;size="";constructor(){Tt$1("empty",()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty();});}ngOnChanges(e){e.nzComponentName&&(this.size=Ds(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty());}ngOnInit(){this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty();}renderEmpty(){let e=this.content;if(typeof e=="string")this.contentType="string";else if(e instanceof Tr$3)this.contentType="template",this.contentPortal=void 0;else if(e instanceof ky){let o=De$2.create({parent:this.injector,providers:[{provide:xs,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new Z1(e,this.viewContainerRef,o);}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges();}getUserDefaultEmptyContent(){return (this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[fy],decls:2,vars:1,consts:[[3,"cdkPortalOutlet"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nzNotFoundImage","simple",1,"ant-empty-normal"],["nzNotFoundImage","simple",1,"ant-empty-small"]],template:function(o,a){o&1&&ND(0,ys,2,1)(1,ws,1,1),o&2&&xD(a.content?0:1);},dependencies:[ir$2,r2,Ka$1,Pt,Ne$1],encapsulation:2})}return n})(),rr$2=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({imports:[ir$2,Rn$1]})}return n})();function cr$2(n){return n.buttons===0||n.detail===0}function lr$2(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return !!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var sr$2=new A$2("cdk-input-modality-detector-options"),hr$2={ignoreKeys:[18,17,224,91,16]},dr$2=650,jn$1={passive:true,capture:true},ur$2=(()=>{class n{_platform=C$2(J$1);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new On$3(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(o=>o===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ee$1(e));};_onMousedown=e=>{Date.now()-this._lastTouchMs<dr$2||(this._modality.next(cr$2(e)?"keyboard":"mouse"),this._mostRecentTarget=Ee$1(e));};_onTouchstart=e=>{if(lr$2(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ee$1(e);};constructor(){let e=C$2(oe$3),o=C$2(Wo$2),a=C$2(sr$2,{optional:true});if(this._options=r(r({},hr$2),a),this.modalityDetected=this._modality.pipe(am(1)),this.modalityChanged=this.modalityDetected.pipe(em()),this._platform.isBrowser){let i=C$2(Cr$2).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[i.listen(o,"keydown",this._onKeydown,jn$1),i.listen(o,"mousedown",this._onMousedown,jn$1),i.listen(o,"touchstart",this._onTouchstart,jn$1)]);}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e());}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),h4=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(h4||{}),mr$1=new A$2("cdk-focus-monitor-default-options"),u3=Co$2({passive:true,capture:true}),m3=(()=>{class n{_ngZone=C$2(oe$3);_platform=C$2(J$1);_inputModalityDetector=C$2(ur$2);_origin=null;_lastFocusOrigin=null;_windowFocused=false;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=false;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=true,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=false);};_document=C$2(Wo$2);_stopInputModalityDetector=new re;constructor(){let e=C$2(mr$1,{optional:true});this._detectionMode=e?.detectionMode||h4.IMMEDIATE;}_rootNodeFocusAndBlurListener=e=>{let o=Ee$1(e);for(let a=o;a;a=a.parentElement)e.type==="focus"?this._onFocus(e,a):this._onBlur(e,a);};monitor(e,o=false){let a=Wt$1(e);if(!this._platform.isBrowser||a.nodeType!==1)return jg();let i=I3(a)||this._document,r=this._elementInfo.get(a);if(r)return o&&(r.checkChildren=true),r.subject;let c={checkChildren:o,subject:new re,rootNode:i};return this._elementInfo.set(a,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let o=Wt$1(e),a=this._elementInfo.get(o);a&&(a.subject.complete(),this._setClasses(o),this._elementInfo.delete(o),this._removeGlobalListeners(a));}focusVia(e,o,a){let i=Wt$1(e),r=this._document.activeElement;i===r?this._getClosestElementsInfo(i).forEach(([c,s])=>this._originChanged(c,o,s)):(this._setOrigin(o),typeof i.focus=="function"&&i.focus(a));}ngOnDestroy(){this._elementInfo.forEach((e,o)=>this.stopMonitoring(o));}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===h4.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,o){e.classList.toggle("cdk-focused",!!o),e.classList.toggle("cdk-touch-focused",o==="touch"),e.classList.toggle("cdk-keyboard-focused",o==="keyboard"),e.classList.toggle("cdk-mouse-focused",o==="mouse"),e.classList.toggle("cdk-program-focused",o==="program");}_setOrigin(e,o=false){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&o,this._detectionMode===h4.IMMEDIATE){clearTimeout(this._originTimeoutId);let a=this._originFromTouchInteraction?dr$2:1;this._originTimeoutId=setTimeout(()=>this._origin=null,a);}});}_onFocus(e,o){let a=this._elementInfo.get(o),i=Ee$1(e);!a||!a.checkChildren&&o!==i||this._originChanged(o,this._getFocusOrigin(i),a);}_onBlur(e,o){let a=this._elementInfo.get(o);!a||a.checkChildren&&e.relatedTarget instanceof Node&&o.contains(e.relatedTarget)||(this._setClasses(o),this._emitOrigin(a,null));}_emitOrigin(e,o){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(o));}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let o=e.rootNode,a=this._rootNodeFocusListenerCount.get(o)||0;a||this._ngZone.runOutsideAngular(()=>{o.addEventListener("focus",this._rootNodeFocusAndBlurListener,u3),o.addEventListener("blur",this._rootNodeFocusAndBlurListener,u3);}),this._rootNodeFocusListenerCount.set(o,a+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener);}),this._inputModalityDetector.modalityDetected.pipe(cm(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,true);}));}_removeGlobalListeners(e){let o=e.rootNode;if(this._rootNodeFocusListenerCount.has(o)){let a=this._rootNodeFocusListenerCount.get(o);a>1?this._rootNodeFocusListenerCount.set(o,a-1):(o.removeEventListener("focus",this._rootNodeFocusAndBlurListener,u3),o.removeEventListener("blur",this._rootNodeFocusAndBlurListener,u3),this._rootNodeFocusListenerCount.delete(o));}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId));}_originChanged(e,o,a){this._setClasses(e,o),this._emitOrigin(a,o),this._lastFocusOrigin=o;}_getClosestElementsInfo(e){let o=[];return this._elementInfo.forEach((a,i)=>{(i===e||a.checkChildren&&i.contains(e))&&o.push([i,a]);}),o}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:o,mostRecentModality:a}=this._inputModalityDetector;if(a!=="mouse"||!o||o===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return false;let i=e.labels;if(i){for(let r=0;r<i.length;r++)if(i[r].contains(o))return true}return false}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();var pr$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(o,a){},styles:[`.cdk-visually-hidden {
|
|
216
|
-
border: 0;
|
|
217
|
-
clip: rect(0 0 0 0);
|
|
218
|
-
height: 1px;
|
|
219
|
-
margin: -1px;
|
|
220
|
-
overflow: hidden;
|
|
221
|
-
padding: 0;
|
|
222
|
-
position: absolute;
|
|
223
|
-
width: 1px;
|
|
224
|
-
white-space: nowrap;
|
|
225
|
-
outline: 0;
|
|
226
|
-
-webkit-appearance: none;
|
|
227
|
-
-moz-appearance: none;
|
|
228
|
-
left: 0;
|
|
229
|
-
}
|
|
230
|
-
[dir=rtl] .cdk-visually-hidden {
|
|
231
|
-
left: auto;
|
|
232
|
-
right: 0;
|
|
233
|
-
}
|
|
234
|
-
`],encapsulation:2})}return n})();var fr$1=new Set,Xt$1,Ps=(()=>{class n{_platform=C$2(J$1);_nonce=C$2(Ym,{optional:true});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Es;}matchMedia(e){return (this._platform.WEBKIT||this._platform.BLINK)&&Hs(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();function Hs(n,t){if(!fr$1.has(n))try{Xt$1||(Xt$1=document.createElement("style"),t&&Xt$1.setAttribute("nonce",t),Xt$1.setAttribute("type","text/css"),document.head.appendChild(Xt$1)),Xt$1.sheet&&(Xt$1.sheet.insertRule(`@media ${n.replace(/[{}]/g,"")} {body{ }}`,0),fr$1.add(n));}catch(e){console.error(e);}}function Es(n){return {matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var gr$1=(()=>{class n{_mediaMatcher=C$2(Ps);_zone=C$2(oe$3);_queries=new Map;_destroySubject=new re;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete();}isMatched(e){return vr$1(m1(e)).some(a=>this._registerQuery(a).mql.matches)}observe(e){let a=vr$1(m1(e)).map(r=>this._registerQuery(r).observable),i=Bg(a);return i=rn$2(i.pipe(vt$3(1)),i.pipe(am(1),$l$1(0))),i.pipe(Me$2(r=>{let c={matches:false,breakpoints:{}};return r.forEach(({matches:s,query:h})=>{c.matches=c.matches||s,c.breakpoints[h]=s;}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let o=this._mediaMatcher.matchMedia(e),i={observable:new S(r=>{let c=s=>this._zone.run(()=>r.next(s));return o.addListener(c),()=>{o.removeListener(c);}}).pipe(Zl$1(o),Me$2(({matches:r})=>({query:e,matches:r})),cm(this._destroySubject)),mql:o};return this._queries.set(e,i),i}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();function vr$1(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var Os=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();var zr$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({providers:[Os]})}return n})();var Ys=(()=>{class n{_platform=C$2(J$1);isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return As(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return false;let o=Fs(Ws(e));if(o&&(yr$1(o)===-1||!this.isVisible(o)))return false;let a=e.nodeName.toLowerCase(),i=yr$1(e);return e.hasAttribute("contenteditable")?i!==-1:a==="iframe"||a==="object"||this._platform.WEBKIT&&this._platform.IOS&&!js(e)?false:a==="audio"?e.hasAttribute("controls")?i!==-1:false:a==="video"?i===-1?false:i!==null?true:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,o){return Us(e)&&!this.isDisabled(e)&&(o?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})();function Fs(n){try{return n.frameElement}catch(t){return null}}function As(n){return !!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Ls(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function Is(n){return Bs(n)&&n.type=="hidden"}function Ns(n){return Rs(n)&&n.hasAttribute("href")}function Bs(n){return n.nodeName.toLowerCase()=="input"}function Rs(n){return n.nodeName.toLowerCase()=="a"}function br$1(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return false;let t=n.getAttribute("tabindex");return !!(t&&!isNaN(parseInt(t,10)))}function yr$1(n){if(!br$1(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function js(n){let t=n.nodeName.toLowerCase(),e=t==="input"&&n.type;return e==="text"||e==="password"||t==="select"||t==="textarea"}function Us(n){return Is(n)?false:Ls(n)||Ns(n)||n.hasAttribute("contenteditable")||br$1(n)}function Ws(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Wn$1=class Wn{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=false;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor));}_enabled=true;constructor(t,e,o,a,i=false,r){this._element=t,this._checker=e,this._ngZone=o,this._document=a,this._injector=r,i||this.attachAnchors();}destroy(){let t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=false;}attachAnchors(){return this._hasAttached?true:(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=true),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)));})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)));})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)));})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let o=this._getFirstTabbableElement(e);return o?.focus(t),!!o}return e.focus(t),true}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){let e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let o=0;o<e.length;o++){let a=e[o].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[o]):null;if(a)return a}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let o=e.length-1;o>=0;o--){let a=e[o].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[o]):null;if(a)return a}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex");}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor));}_executeOnStable(t){ep(t,{injector:this._injector});}},Cr$1=(()=>{class n{_checker=C$2(Ys);_ngZone=C$2(oe$3);_document=C$2(Wo$2);_injector=C$2(De$2);constructor(){C$2(W1).load(pr$1);}create(e,o=false){return new Wn$1(e,this._checker,this._ngZone,this._document,o,this._injector)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),qs=(()=>{class n{_elementRef=C$2(Nr$3);_focusTrapFactory=C$2(Cr$1);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||false}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e);}autoCapture=false;constructor(){C$2(J$1).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,true));}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(e){let o=e.autoCapture;o&&!o.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus();}_captureFocus(){this._previouslyFocusedElement=N3(),this.focusTrap?.focusInitialElementWhenReady();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",K0$1],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",K0$1]},exportAs:["cdkTrapFocus"],features:[fy]})}return n})();var Ot=(function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n})(Ot||{}),_r$1="cdk-high-contrast-black-on-white",Mr$1="cdk-high-contrast-white-on-black",Un$1="cdk-high-contrast-active",wr$1=(()=>{class n{_platform=C$2(J$1);_hasCheckedHighContrastMode=false;_document=C$2(Wo$2);_breakpointSubscription;constructor(){this._breakpointSubscription=C$2(gr$1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=false,this._applyBodyHighContrastModeCssClasses());});}getHighContrastMode(){if(!this._platform.isBrowser)return Ot.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let o=this._document.defaultView||window,a=o&&o.getComputedStyle?o.getComputedStyle(e):null,i=(a&&a.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case "rgb(0,0,0)":case "rgb(45,50,54)":case "rgb(32,32,32)":return Ot.WHITE_ON_BLACK;case "rgb(255,255,255)":case "rgb(255,250,239)":return Ot.BLACK_ON_WHITE}return Ot.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe();}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Un$1,_r$1,Mr$1),this._hasCheckedHighContrastMode=true;let o=this.getHighContrastMode();o===Ot.BLACK_ON_WHITE?e.add(Un$1,_r$1):o===Ot.WHITE_ON_BLACK&&e.add(Un$1,Mr$1);}}static \u0275fac=function(o){return new(o||n)};static \u0275prov=Sr$3({token:n,factory:n.\u0275fac})}return n})(),Ks=(()=>{class n{constructor(){C$2(wr$1)._applyBodyHighContrastModeCssClasses();}static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({imports:[zr$1]})}return n})();var V1=typeof globalThis.requestAnimationFrame=="function"?globalThis.requestAnimationFrame:globalThis.setTimeout,qn=typeof globalThis.requestAnimationFrame=="function"?globalThis.cancelAnimationFrame:globalThis.clearTimeout;var Gs="nz-animate-disabled",d4=(()=>{class n{animationType=C$2(Zm,{optional:true});nzNoAnimation=q0$1(false,{transform:K0$1});static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(o,a){o&2&&Nh("nz-animate-disabled",a.nzNoAnimation()||a.animationType==="NoopAnimations");},inputs:{nzNoAnimation:[1,"nzNoAnimation"]},exportAs:["nzNoAnimation"]})}return n})();function Sr$1(){return C$2(Zm,{optional:true})!=="NoopAnimations"}function $s(n){return Sr$1()?Kw(n):Go$2(false)}function kr$1(n){return Sr$1()?Kw(n):Go$2(Gs)}var xr$1="ant-motion-collapse",sb=(()=>{class n{elementRef=C$2(Nr$3);noAnimation=C$2(d4,{optional:true,host:true});animationEnabled=$s(()=>!this.noAnimation?.nzNoAnimation());open=q0$1(false);leavedClassName=q0$1("");firstRender=true;constructor(){sd(()=>{let e=this.open(),o=this.animationEnabled()&&!this.firstRender,a=this.elementRef.nativeElement,i=this.leavedClassName();if(e&&i&&a.classList.remove(i),o)if(a.classList.add(xr$1),e)V1(()=>{let r=this.getActualScrollHeight(a);a.style.height=W$1(r),a.style.opacity="1";});else {let r=this.getActualScrollHeight(a);a.style.height=W$1(r),V1(()=>{a.style.height=W$1(0),a.style.opacity="0";});}else e?(a.style.height="auto",a.style.opacity="1"):(a.style.height=W$1(0),a.style.opacity="0",i&&a.classList.add(i));this.firstRender=false;});}getActualScrollHeight(e){return Array.from(e.children).reduce((o,a)=>o+a.offsetHeight,0)}onTransitionEnd(e){!this.animationEnabled()||e.target!==this.elementRef.nativeElement||(this.open()?this.elementRef.nativeElement.style.height="auto":this.leavedClassName()&&this.elementRef.nativeElement.classList.add(this.leavedClassName()),this.elementRef.nativeElement.classList.remove(xr$1));}static \u0275fac=function(o){return new(o||n)};static \u0275dir=rD({type:n,selectors:[["","animation-collapse",""]],hostBindings:function(o,a){o&1&&yh("transitionend",function(r){return a.onTransitionEnd(r)});},inputs:{open:[1,"open"],leavedClassName:[1,"leavedClassName"]}})}return n})();var Vr$1={enter:"ant-slide-up-enter ant-slide-up-enter-active",leave:"ant-slide-up-leave ant-slide-up-leave-active"},Dr$1={enter:"ant-slide-down-enter ant-slide-down-enter-active",leave:"ant-slide-down-leave ant-slide-down-leave-active"};function Tr$1(n=()=>"up"){return kr$1(()=>n()==="up"?Vr$1.enter:Dr$1.enter)}function Pr$1(n=()=>"up"){return kr$1(()=>n()==="up"?Vr$1.leave:Dr$1.leave)}var Er$1=["*"];function Zs(n,t){if(n&1&&(ol$1(0),_w(1),il$2()),n&2){let e=zD();vI(),Vh(e.nzLabel);}}function Qs(n,t){}function Xs(n,t){if(n&1&&oh(0,Qs,0,0,"ng-template",1),n&2){let e=zD();uh("ngTemplateOutlet",e.template);}}function Js(n,t){if(n&1&&_w(0),n&2){let e=zD();sl$2(" ",e.label," ");}}function e5(n,t){n&1&&dh(0,"nz-icon",3);}function t5(n,t){}function n5(n,t){if(n&1&&oh(0,t5,0,0,"ng-template",1),n&2){let e=zD(2);uh("ngTemplateOutlet",e.icon);}}function o5(n,t){if(n&1&&(Ni$3(0,"div",2),ND(1,e5,1,0,"nz-icon",3)(2,n5,1,1,null,1),tl$1()),n&2){let e=zD();vI(),xD(e.icon?2:1);}}function a5(n,t){if(n&1&&(Ni$3(0,"div",0),dh(1,"nz-embed-empty",4),tl$1()),n&2){let e=zD();vI(),uh("specificContent",e.notFoundContent);}}function i5(n,t){if(n&1&&dh(0,"nz-option-item-group",5),n&2){let e=zD().$implicit;uh("nzLabel",e.groupLabel??null);}}function r5(n,t){if(n&1){let e=HD();Ni$3(0,"nz-option-item",7),yh("itemHover",function(a){Vu(e);let i=zD(2);return Hu(i.onItemHover(a))})("itemClick",function(a){Vu(e);let i=zD(2);return Hu(i.onItemClick(a))}),tl$1();}if(n&2){let e=zD().$implicit,o=zD();uh("icon",o.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template??null)("grouped",!!e.groupLabel)("disabled",e.nzDisabled||o.isMaxMultipleCountReached&&!o.listOfSelectedValue.includes(e.nzValue))("showState",o.mode==="tags"||o.mode==="multiple")("title",e.nzTitle)("label",e.nzLabel)("compareWith",o.compareWith)("activatedValue",o.activatedValue)("listOfSelectedValue",o.listOfSelectedValue)("value",e.nzValue);}}function c5(n,t){if(n&1&&ND(0,i5,1,1,"nz-option-item-group",5)(1,r5,1,12,"nz-option-item",6),n&2){let e,o=t.$implicit;xD((e=o.type)==="group"?0:e==="item"?1:-1);}}function l5(n,t){}function s5(n,t){n&1&&YD(0);}function h5(n,t){if(n&1&&(Ni$3(0,"span"),_w(1),tl$1()),n&2){let e=zD();vI(),Hh("",e.listOfValue.length," / ",e.nzMaxMultipleCount);}}function d5(n,t){n&1&&dh(0,"nz-icon",0);}function u5(n,t){n&1&&dh(0,"nz-icon",2);}function m5(n,t){n&1&&dh(0,"nz-icon",3);}function p5(n,t){if(n&1&&ND(0,u5,1,0,"nz-icon",2)(1,m5,1,0,"nz-icon",3),n&2){let e=zD(2);xD(e.search?0:1);}}function f5(n,t){if(n&1&&(ol$1(0),dh(1,"nz-icon",4),il$2()),n&2){let e=t.$implicit;vI(),uh("nzType",e);}}function v5(n,t){if(n&1&&oh(0,f5,2,1,"ng-container",1),n&2){let e=zD(2);uh("nzStringTemplateOutlet",e.suffixIcon);}}function g5(n,t){if(n&1&&ND(0,p5,2,1)(1,v5,1,1,"ng-container"),n&2){let e=zD();xD(e.showArrow&&!e.suffixIcon?0:1);}}function z5(n,t){if(n&1&&(ol$1(0),_w(1),il$2()),n&2){let e=zD();vI(),Vh(e.feedbackIcon);}}function y5(n,t){}function _5(n,t){if(n&1&&oh(0,y5,0,0,"ng-template",0),n&2){let e=zD();uh("ngTemplateOutlet",e.clearIcon);}}function M5(n,t){n&1&&dh(0,"nz-icon",1);}function b5(n,t){if(n&1&&dh(0,"span",4),n&2){let e=zD(2);Nh("ant-select-selection-item-content",e.deletable),uh("innerHTML",e.label,Dv);}}function C5(n,t){if(n&1&&(Ni$3(0,"span"),_w(1),tl$1()),n&2){let e=zD(2);Nh("ant-select-selection-item-content",e.deletable),vI(),Vh(e.label);}}function w5(n,t){if(n&1&&(ol$1(0),ND(1,b5,1,3,"span",2)(2,C5,2,3,"span",3),il$2()),n&2){let e=zD();vI(),xD(e.displayLabelInHtml?1:2);}}function x5(n,t){n&1&&dh(0,"nz-icon",6);}function S5(n,t){}function k5(n,t){if(n&1&&oh(0,S5,0,0,"ng-template",7),n&2){let e=zD(2);uh("ngTemplateOutlet",e.removeIcon);}}function V5(n,t){if(n&1){let e=HD();Ni$3(0,"span",5),yh("click",function(a){Vu(e);let i=zD();return Hu(i.onDelete(a))}),ND(1,x5,1,0,"nz-icon",6)(2,k5,1,1,null,7),tl$1();}if(n&2){let e=zD();vI(),xD(e.removeIcon?2:1);}}function D5(n,t){if(n&1&&(ol$1(0),_w(1),il$2()),n&2){let e=zD();vI(),sl$2(" ",e.placeholder," ");}}var T5=["inputElement"],P5=["mirrorElement"];function H5(n,t){n&1&&dh(0,"span",3,1);}var E5=(n,t)=>t.nzValue;function O5(n,t){if(n&1&&(ol$1(0),_w(1),il$2()),n&2){let e=zD(2);vI(),Vh(e.prefix);}}function Y5(n,t){if(n&1&&(Ni$3(0,"div",0),oh(1,O5,2,1,"ng-container",4),tl$1()),n&2){let e=zD();vI(),uh("nzStringTemplateOutlet",e.prefix);}}function F5(n,t){if(n&1&&dh(0,"nz-select-item",6),n&2){let e=zD(2);uh("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0]);}}function A5(n,t){if(n&1){let e=HD();Ni$3(0,"nz-select-search",5),yh("isComposingChange",function(a){Vu(e);let i=zD();return Hu(i.isComposingChange(a))})("valueChange",function(a){Vu(e);let i=zD();return Hu(i.onInputValueChange(a))}),tl$1(),ND(1,F5,1,4,"nz-select-item",6);}if(n&2){let e=zD();uh("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",false)("autofocus",e.autofocus)("focusTrigger",e.open),vI(),xD(e.isShowSingleLabel?1:-1);}}function L5(n,t){if(n&1){let e=HD();Ni$3(0,"div",7)(1,"nz-select-item",10),yh("delete",function(){let a=Vu(e).$implicit,i=zD(2);return Hu(i.onDeleteItem(a.contentTemplateOutletContext))}),tl$1()();}if(n&2){let e=t.$implicit,o=zD(2);vI(),uh("removeIcon",o.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||o.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("contentTemplateOutletContext",e.contentTemplateOutletContext);}}function I5(n,t){if(n&1){let e=HD();Ni$3(0,"div",2),kD(1,L5,2,5,"div",7,E5),Ni$3(3,"div",8)(4,"nz-select-search",9),yh("isComposingChange",function(a){Vu(e);let i=zD();return Hu(i.isComposingChange(a))})("valueChange",function(a){Vu(e);let i=zD();return Hu(i.onInputValueChange(a))}),tl$1()()();}if(n&2){let e=zD();vI(),OD(e.listOfSlicedItem),vI(3),uh("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",true)("mirrorSync",true)("focusTrigger",e.open);}}function N5(n,t){if(n&1&&dh(0,"nz-select-placeholder",3),n&2){let e=zD();uh("placeholder",e.placeHolder);}}function B5(n,t){if(n&1&&dh(0,"nz-form-item-feedback-icon",6),n&2){let e=zD(3);uh("status",e.status);}}function R5(n,t){if(n&1&&ND(0,B5,1,1,"nz-form-item-feedback-icon",6),n&2){let e=zD(2);xD(e.hasFeedback&&e.status?0:-1);}}function j5(n,t){if(n&1&&(Ni$3(0,"nz-select-arrow",3),oh(1,R5,1,1,"ng-template",null,1,zw),tl$1()),n&2){let e=tw(2),o=zD();uh("showArrow",o.nzShowArrow)("loading",o.nzLoading)("search",o.nzOpen&&o.nzShowSearch)("suffixIcon",o.nzSuffixIcon)("feedbackIcon",e)("nzMaxMultipleCount",o.nzMaxMultipleCount)("listOfValue",o.listOfValue)("isMaxMultipleCountSet",o.isMaxMultipleCountSet);}}function U5(n,t){if(n&1){let e=HD();Ni$3(0,"nz-select-clear",7),yh("clear",function(){Vu(e);let a=zD();return Hu(a.onClearSelection())}),tl$1();}if(n&2){let e=zD();uh("clearIcon",e.nzClearIcon);}}function W5(n,t){if(n&1){let e=HD();Ni$3(0,"nz-option-container",8),si$3(function(){Vu(e);let a=zD();return Hu(a.slideAnimationLeave())}),ii$3(function(){Vu(e);let a=zD();return Hu(a.slideAnimationEnter())}),yh("keydown",function(a){Vu(e);let i=zD();return Hu(i.onKeyDown(a))})("itemClick",function(a){Vu(e);let i=zD();return Hu(i.onItemClick(a))})("scrollToBottom",function(){Vu(e);let a=zD();return Hu(a.nzScrollToBottom.emit())}),tl$1();}if(n&2){let e=zD();hw(e.nzDropdownStyle),Nh("ant-select-dropdown-placement-bottomLeft",e.placement()==="bottomLeft")("ant-select-dropdown-placement-topLeft",e.placement()==="topLeft")("ant-select-dropdown-placement-bottomRight",e.placement()==="bottomRight")("ant-select-dropdown-placement-topRight",e.placement()==="topRight"),uh("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("nzNoAnimation",!!e.noAnimation?.nzNoAnimation?.())("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)("isMaxMultipleCountReached",e.isMaxMultipleCountReached);}}var Kn$1=(()=>{class n{nzLabel=null;changes=new re;ngOnChanges(){this.changes.next();}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[fy],ngContentSelectors:Er$1,decls:1,vars:0,template:function(o,a){o&1&&(ZD(),YD(0));},encapsulation:2})}return n})(),Or$1=(()=>{class n{nzLabel=null;static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(o,a){o&1&&oh(0,Zs,2,1,"ng-container",0),o&2&&uh("nzStringTemplateOutlet",a.nzLabel);},dependencies:[Pt,Ne$1],encapsulation:2})}return n})(),Yr$2=(()=>{class n{el=C$2(Nr$3).nativeElement;ngZone=C$2(oe$3);destroyRef=C$2(at$1);selected=false;activated=false;grouped=false;customContent=false;template=null;disabled=false;showState=false;title;label=null;value=null;activatedValue=null;listOfSelectedValue=[];icon=null;compareWith;itemClick=new Fe$1;itemHover=new Fe$1;ngOnChanges(e){let{value:o,activatedValue:a,listOfSelectedValue:i}=e;(o||i)&&(this.selected=this.listOfSelectedValue.some(r=>this.compareWith(r,this.value))),(o||a)&&(this.activated=this.compareWith(this.activatedValue,this.value));}ngOnInit(){Vt$1(this.el,"click").pipe(xt$1(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value));}),Vt$1(this.el,"mouseenter").pipe(xt$1(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value));});}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(o,a){o&2&&(lh("title",a.title),Nh("ant-select-item-option-grouped",a.grouped)("ant-select-item-option-selected",a.selected&&!a.disabled)("ant-select-item-option-disabled",a.disabled)("ant-select-item-option-active",a.activated&&!a.disabled));},inputs:{grouped:"grouped",customContent:[2,"customContent","customContent",K0$1],template:"template",disabled:"disabled",showState:"showState",title:"title",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[fy],decls:4,vars:2,consts:[[1,"ant-select-item-option-content"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state"],["nzType","check",1,"ant-select-selected-icon"]],template:function(o,a){o&1&&(Ni$3(0,"div",0),ND(1,Xs,1,1,null,1)(2,Js,1,1),tl$1(),ND(3,o5,3,1,"div",2)),o&2&&(vI(),xD(a.customContent?1:2),vI(2),xD(a.showState&&a.selected?3:-1));},dependencies:[Ur$2,vt$1,ke$1],encapsulation:2})}return n})(),Fr$1=(()=>{class n{ngZone=C$2(oe$3);platformId=C$2(Qm);notFoundContent=void 0;menuItemSelectedIcon=null;dropdownRender=null;activatedValue=null;listOfSelectedValue=[];compareWith;mode="default";matchWidth=true;itemSize=32;maxItemLength=8;isMaxMultipleCountReached=false;listOfContainerItem=[];itemClick=new Fe$1;scrollToBottom=new Fe$1;cdkVirtualScrollViewport;scrolledIndex=0;onItemClick(e){this.itemClick.emit(e);}onItemHover(e){this.activatedValue=e;}trackValue(e,o){return o.key}onScrolledIndexChange(e){let o=this.listOfContainerItem.length-e<=this.maxItemLength+1,a=this.listOfContainerItem.length-this.scrolledIndex<=this.maxItemLength+1;o&&!a&&this.scrollToBottom.emit(),this.scrolledIndex=e;}scrollToActivatedValue(){let e=this.listOfContainerItem.findIndex(o=>this.compareWith(o.key,this.activatedValue));(e<this.scrolledIndex||e>=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0);}ngOnChanges(e){let{listOfContainerItem:o,activatedValue:a}=e,i=!!o&&!o.previousValue?.length&&!!o.currentValue?.length;(a||i)&&this.scrollToActivatedValue();}ngAfterViewInit(){qo$2(this.platformId)&&this.ngZone.runOutsideAngular(()=>setTimeout(()=>this.scrollToActivatedValue()));}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-option-container"]],viewQuery:function(o,a){if(o&1&&Dh(G1,7),o&2){let i;JD(i=XD())&&(a.cdkVirtualScrollViewport=i.first);}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",isMaxMultipleCountReached:"isMaxMultipleCountReached",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[fy],decls:5,vars:14,consts:[[1,"ant-select-item-empty"],[3,"scrolledIndexChange","itemSize","maxBufferPx","minBufferPx"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],["nzComponentName","select",3,"specificContent"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","title","label","compareWith","activatedValue","listOfSelectedValue","value"],[3,"itemHover","itemClick","icon","customContent","template","grouped","disabled","showState","title","label","compareWith","activatedValue","listOfSelectedValue","value"]],template:function(o,a){o&1&&(Ni$3(0,"div"),ND(1,a5,2,1,"div",0),Ni$3(2,"cdk-virtual-scroll-viewport",1),yh("scrolledIndexChange",function(r){return a.onScrolledIndexChange(r)}),oh(3,c5,2,1,"ng-template",2),tl$1(),oh(4,l5,0,0,"ng-template",3),tl$1()),o&2&&(vI(),xD(a.listOfContainerItem.length===0?1:-1),vI(),Sh("height",a.listOfContainerItem.length*a.itemSize,"px")("max-height",a.itemSize*a.maxItemLength,"px"),Nh("full-width",!a.matchWidth),uh("itemSize",a.itemSize)("maxBufferPx",a.itemSize*a.maxItemLength)("minBufferPx",a.itemSize*a.maxItemLength),vI(),uh("cdkVirtualForOf",a.listOfContainerItem)("cdkVirtualForTrackBy",a.trackValue)("cdkVirtualForTemplateCacheSize",0),vI(),uh("ngTemplateOutlet",a.dropdownRender));},dependencies:[rr$2,Rn$1,Or$1,Yr$2,Ur$2,wn$1,un$2,pn$2,G1,Sn$1],encapsulation:2})}return n})(),q5=(()=>{class n{destroyRef=C$2(at$1);nzOptionGroupComponent=C$2(Kn$1,{optional:true});changes=new re;groupLabel=null;template;nzTitle;nzLabel=null;nzValue=null;nzKey;nzDisabled=false;nzHide=false;nzCustomContent=false;ngOnInit(){this.nzOptionGroupComponent?.changes.pipe(Zl$1(true),xt$1(this.destroyRef)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent?.nzLabel;});}ngOnChanges(){this.changes.next();}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-option"]],viewQuery:function(o,a){if(o&1&&Dh(Tr$3,7),o&2){let i;JD(i=XD())&&(a.template=i.first);}},inputs:{nzTitle:"nzTitle",nzLabel:"nzLabel",nzValue:"nzValue",nzKey:"nzKey",nzDisabled:[2,"nzDisabled","nzDisabled",K0$1],nzHide:[2,"nzHide","nzHide",K0$1],nzCustomContent:[2,"nzCustomContent","nzCustomContent",K0$1]},exportAs:["nzOption"],features:[fy],ngContentSelectors:Er$1,decls:1,vars:0,template:function(o,a){o&1&&(ZD(),ih(0,s5,1,0,"ng-template"));},encapsulation:2})}return n})(),Ar$1=(()=>{class n{listOfValue=[];loading=false;search=false;showArrow=false;isMaxMultipleCountSet=false;suffixIcon=null;feedbackIcon=null;nzMaxMultipleCount=1/0;static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(o,a){o&2&&Nh("ant-select-arrow-loading",a.loading);},inputs:{listOfValue:"listOfValue",loading:"loading",search:"search",showArrow:"showArrow",isMaxMultipleCountSet:"isMaxMultipleCountSet",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon",nzMaxMultipleCount:[2,"nzMaxMultipleCount","nzMaxMultipleCount",J3]},decls:4,vars:3,consts:[["nzType","loading"],[4,"nzStringTemplateOutlet"],["nzType","search"],["nzType","down"],[3,"nzType"]],template:function(o,a){o&1&&(ND(0,h5,2,2,"span"),ND(1,d5,1,0,"nz-icon",0)(2,g5,2,1),oh(3,z5,2,1,"ng-container",1)),o&2&&(xD(a.isMaxMultipleCountSet?0:-1),vI(),xD(a.loading?1:2),vI(2),uh("nzStringTemplateOutlet",a.feedbackIcon));},dependencies:[vt$1,ke$1,Pt,Ne$1],encapsulation:2})}return n})(),Lr$1=(()=>{class n{clearIcon=null;clear=new Fe$1;onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e);}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(o,a){o&1&&yh("click",function(r){return a.onClick(r)});},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:2,vars:1,consts:[[3,"ngTemplateOutlet"],["nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(o,a){o&1&&ND(0,_5,1,1,null,0)(1,M5,1,0,"nz-icon",1),o&2&&xD(a.clearIcon?0:1);},dependencies:[Ur$2,vt$1,ke$1],encapsulation:2})}return n})(),Ir$1=(()=>{class n{disabled=false;label=null;displayLabelInHtml=false;deletable=false;removeIcon=null;contentTemplateOutletContext=null;contentTemplateOutlet=null;delete=new Fe$1;get templateOutletContext(){return r({$implicit:this.contentTemplateOutletContext},this.contentTemplateOutletContext)}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e);}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(o,a){o&2&&(lh("title",a.label),Nh("ant-select-selection-item-disabled",a.disabled));},inputs:{disabled:[2,"disabled","disabled",K0$1],label:"label",displayLabelInHtml:[2,"displayLabelInHtml","displayLabelInHtml",K0$1],deletable:[2,"deletable","deletable",K0$1],removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:3,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-select-selection-item-remove"],[3,"ant-select-selection-item-content","innerHTML"],[3,"ant-select-selection-item-content"],[3,"innerHTML"],[1,"ant-select-selection-item-remove",3,"click"],["nzType","close"],[3,"ngTemplateOutlet"]],template:function(o,a){o&1&&(oh(0,w5,3,1,"ng-container",0),ND(1,V5,3,1,"span",1)),o&2&&(uh("nzStringTemplateOutlet",a.contentTemplateOutlet)("nzStringTemplateOutletContext",a.templateOutletContext),vI(),xD(a.deletable&&!a.disabled?1:-1));},dependencies:[Ur$2,Pt,Ne$1,vt$1,ke$1],encapsulation:2})}return n})(),Nr$1=(()=>{class n{placeholder=null;static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(o,a){o&1&&oh(0,D5,2,1,"ng-container",0),o&2&&uh("nzStringTemplateOutlet",a.placeholder);},dependencies:[Pt,Ne$1],encapsulation:2})}return n})(),Gn$1=(()=>{class n{elementRef=C$2(Nr$3);renderer=C$2(nE);focusMonitor=C$2(m3);nzId=null;disabled=false;mirrorSync=false;showInput=true;focusTrigger=false;value="";autofocus=false;valueChange=new Fe$1;isComposingChange=new Fe$1;inputElement;mirrorElement;constructor(){ep(()=>{this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus();});}setCompositionState(e){this.isComposingChange.next(e);}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth();}clearInputValue(){let e=this.inputElement.nativeElement;e.value="",this.onValueChange("");}syncMirrorWidth(){let e=this.mirrorElement.nativeElement,o=this.elementRef.nativeElement,a=this.inputElement.nativeElement;this.renderer.removeStyle(o,"width"),this.renderer.setProperty(e,"textContent",`${a.value}\xA0`),this.renderer.setStyle(o,"width",`${e.scrollWidth}px`);}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard");}blur(){this.inputElement.nativeElement.blur();}ngOnChanges(e){let o=this.inputElement.nativeElement,{focusTrigger:a,showInput:i}=e;i&&(this.showInput?this.renderer.removeAttribute(o,"readonly"):this.renderer.setAttribute(o,"readonly","readonly")),a&&a.currentValue===true&&a.previousValue===false&&o.focus();}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-select-search"]],viewQuery:function(o,a){if(o&1&&Dh(T5,7)(P5,5),o&2){let i;JD(i=XD())&&(a.inputElement=i.first),JD(i=XD())&&(a.mirrorElement=i.first);}},hostAttrs:[1,"ant-select-selection-search"],hostVars:2,hostBindings:function(o,a){o&2&&Sh("width",a.mirrorSync?0:null,"px");},inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[Vw([{provide:P3,useValue:false}]),fy],decls:3,vars:7,consts:[["inputElement",""],["mirrorElement",""],["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModelChange","compositionstart","compositionend","ngModel","disabled"],[1,"ant-select-selection-search-mirror"]],template:function(o,a){o&1&&(Ni$3(0,"input",2,0),yh("ngModelChange",function(r){return a.onValueChange(r)})("compositionstart",function(){return a.setCompositionState(true)})("compositionend",function(){return a.setCompositionState(false)}),tl$1(),cE(),ND(2,H5,2,0,"span",3)),o&2&&(Sh("opacity",a.showInput?null:0),uh("ngModel",a.value)("disabled",a.disabled),lh("id",a.nzId)("autofocus",a.autofocus?"autofocus":null),uE(),vI(2),xD(a.mirrorSync?2:-1));},dependencies:[_o$1,F4,go$2,F3],encapsulation:2})}return n})(),p3=(()=>{class n{destroyRef=C$2(at$1);elementRef=C$2(Nr$3);ngZone=C$2(oe$3);noAnimation=C$2(d4,{host:true,optional:true});nzId=null;showSearch=false;placeHolder=null;open=false;maxTagCount=1/0;autofocus=false;disabled=false;mode="default";customTemplate=null;maxTagPlaceholder=null;removeIcon=null;listOfTopItem=[];tokenSeparators=[];prefix=null;tokenize=new Fe$1;inputValueChange=new Fe$1;deleteItem=new Fe$1;nzSelectSearchComponent;listOfSlicedItem=[];isShowPlaceholder=true;isShowSingleLabel=false;isComposing=false;inputValue=null;updateTemplateVariable(){let e=this.listOfTopItem.length===0;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue;}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable();}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators));}tokenSeparate(e,o){let a=(r,c)=>{for(let s=0;s<c.length;++s)if(r.lastIndexOf(c[s])>0)return true;return false},i=(r,c)=>{let s=new RegExp(`[${c.join()}]`),h=r.split(s).filter(f=>f);return [...new Set(h)]};if(e&&e.length&&o.length&&this.mode!=="default"&&a(e,o)){let r=i(e,o);this.tokenize.next(r);}}clearInputValue(){this.nzSelectSearchComponent?.clearInputValue();}focus(){this.nzSelectSearchComponent?.focus();}blur(){this.nzSelectSearchComponent?.blur();}onDeleteItem(e){!this.disabled&&!e.nzDisabled&&this.deleteItem.next(e);}ngOnChanges(e){let{listOfTopItem:o,maxTagCount:a,customTemplate:i,maxTagPlaceholder:r}=e;if(o&&this.updateTemplateVariable(),o||a||i||r){let c=this.listOfTopItem.slice(0,this.maxTagCount).map(s=>({nzLabel:s.nzLabel,nzValue:s.nzValue,nzDisabled:s.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:s}));if(this.listOfTopItem.length>this.maxTagCount){let s=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,h=this.listOfTopItem.map(v=>v.nzValue),f={nzLabel:s,nzValue:"$$__nz_exceeded_item",nzDisabled:true,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:h.slice(this.maxTagCount)};c.push(f);}this.listOfSlicedItem=c;}}ngOnInit(){Vt$1(this.elementRef.nativeElement,"click").pipe(xt$1(this.destroyRef)).subscribe(e=>{e.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus();}),Vt$1(this.elementRef.nativeElement,"keydown").pipe(xt$1(this.destroyRef)).subscribe(e=>{if(e.target instanceof HTMLInputElement){let o=e.target.value;e.keyCode===8&&this.mode!=="default"&&!o&&this.listOfTopItem.length>0&&(e.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])));}});}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=JE({type:n,selectors:[["nz-select-top-control"]],viewQuery:function(o,a){if(o&1&&Dh(Gn$1,5),o&2){let i;JD(i=XD())&&(a.nzSelectSearchComponent=i.first);}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:[2,"maxTagCount","maxTagCount",J0$1],autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators",prefix:"prefix"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[fy],decls:5,vars:3,consts:[[1,"ant-select-prefix"],[1,"ant-select-selection-wrap"],[1,"ant-select-selection-overflow"],[3,"placeholder"],[4,"nzStringTemplateOutlet"],[3,"isComposingChange","valueChange","nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger"],[3,"removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[1,"ant-select-selection-overflow-item"],[1,"ant-select-selection-overflow-item","ant-select-selection-overflow-item-suffix"],[3,"isComposingChange","valueChange","nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger"],["deletable","",3,"delete","removeIcon","label","disabled","contentTemplateOutlet","contentTemplateOutletContext"]],template:function(o,a){if(o&1&&(ND(0,Y5,2,1,"div",0),Ni$3(1,"span",1),ND(2,A5,2,8)(3,I5,5,7,"div",2),ND(4,N5,1,1,"nz-select-placeholder",3),tl$1()),o&2){xD(a.prefix?0:-1),vI(2),xD((a.mode)==="default"?2:3),vI(2),xD(a.isShowPlaceholder?4:-1);}},dependencies:[Gn$1,Ir$1,Nr$1,Ne$1],encapsulation:2})}return n})(),K5=(n,t)=>t&&t.nzLabel?t.nzLabel.toString().toLowerCase().indexOf(n.toLowerCase())>-1:false,Hr$1="select",G5=(()=>{let n,t=[],e=[],o,a=[],i=[],r,c=[],s=[],h,f=[],v=[];return class f3{static{let m=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[pt$2()],o=[pt$2()],r=[pt$2()],h=[pt$2()],dC(null,null,n,{kind:"field",name:"nzVariant",static:false,private:false,access:{has:p=>"nzVariant"in p,get:p=>p.nzVariant,set:(p,d)=>{p.nzVariant=d;}},metadata:m},t,e),dC(null,null,o,{kind:"field",name:"nzOptionHeightPx",static:false,private:false,access:{has:p=>"nzOptionHeightPx"in p,get:p=>p.nzOptionHeightPx,set:(p,d)=>{p.nzOptionHeightPx=d;}},metadata:m},a,i),dC(null,null,r,{kind:"field",name:"nzSuffixIcon",static:false,private:false,access:{has:p=>"nzSuffixIcon"in p,get:p=>p.nzSuffixIcon,set:(p,d)=>{p.nzSuffixIcon=d;}},metadata:m},c,s),dC(null,null,h,{kind:"field",name:"nzBackdrop",static:false,private:false,access:{has:p=>"nzBackdrop"in p,get:p=>p.nzBackdrop,set:(p,d)=>{p.nzBackdrop=d;}},metadata:m},f,v),m&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:m});}_nzModuleName=Hr$1;ngZone=C$2(oe$3);cdr=C$2(Z0$1);host=C$2(Nr$3);renderer=C$2(nE);platform=C$2(J$1);focusMonitor=C$2(m3);destroyRef=C$2(at$1);noAnimation=C$2(d4,{host:true,optional:true});nzFormStatusService=C$2(Oa$1,{optional:true});nzId=null;nzSize="default";nzStatus="";nzVariant=fC(this,t,void 0);nzOptionHeightPx=(fC(this,e),fC(this,a,32));nzOptionOverflowSize=(fC(this,i),8);nzDropdownClassName=null;nzDropdownMatchSelectWidth=true;nzDropdownStyle=null;nzNotFoundContent=void 0;nzPlaceHolder=null;nzPlacement=null;nzMaxTagCount=1/0;nzDropdownRender=null;nzCustomTemplate=null;nzPrefix=null;nzSuffixIcon=fC(this,c,null);nzClearIcon=(fC(this,s),null);nzRemoveIcon=null;nzMenuItemSelectedIcon=null;nzTokenSeparators=[];nzMaxTagPlaceholder=null;nzMaxMultipleCount=1/0;nzMode="default";nzFilterOption=K5;compareWith=(m,p)=>m===p;nzAllowClear=false;nzShowSearch=false;nzLoading=false;nzAutoFocus=false;nzAutoClearSearchValue=true;nzServerSearch=false;nzDisabled=false;nzOpen=false;nzSelectOnTab=false;nzBackdrop=fC(this,f,false);nzOptions=(fC(this,v),[]);nzShowArrow=true;get showArrow(){return this.nzShowArrow||!!this.nzSuffixIcon}get isMultiple(){return this.nzMode==="multiple"||this.nzMode==="tags"}get isMaxMultipleCountSet(){return this.isMultiple&&this.nzMaxMultipleCount!==1/0}get isMaxMultipleCountReached(){return this.nzMaxMultipleCount!==1/0&&this.listOfValue.length===this.nzMaxMultipleCount}nzOnSearch=new Fe$1;nzScrollToBottom=new Fe$1;nzOpenChange=new Fe$1;nzBlur=new Fe$1;nzFocus=new Fe$1;nzOnClear=U0$1();originElement;cdkConnectedOverlay;nzSelectTopControlComponent;listOfNzOptionComponent;listOfNzOptionGroupComponent;nzOptionGroupComponentElement;nzSelectTopControlComponentElement;finalSize=Kw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());finalVariant=Kw(()=>this.variant()||this.formVariant?.()||"outlined");size=Go$2(this.nzSize);variant=Go$2(this.nzVariant);formSize=C$2(p1,{optional:true});formVariant=C$2(Ya$1,{optional:true});compactSize=C$2(j1,{optional:true});listOfValue$=new On$3([]);listOfTemplateItem$=new On$3([]);listOfTagAndTemplateItem=[];searchValue="";isReactiveDriven=false;value;requestId=-1;isNzDisableFirstChange=true;onChange=()=>{};onTouched=()=>{};triggerWidth=null;listOfContainerItem=[];listOfTopItem=[];activatedValue=null;listOfValue=[];focused=false;positions=[];dir=C$2(Ie).valueSignal;placement=Go$2("bottomLeft");slideAnimationEnter=Tr$1(()=>this.placement().startsWith("top")?"down":"up");slideAnimationLeave=Pr$1(()=>this.placement().startsWith("top")?"down":"up");prefixCls="ant-select";statusCls={};status="";hasFeedback=false;generateTagItem(m){return {nzValue:m,nzLabel:m,type:"item"}}onItemClick(m){if(this.activatedValue=m,this.nzMode==="default")(this.listOfValue.length===0||!this.compareWith(this.listOfValue[0],m))&&this.updateListOfValue([m]),this.setOpenState(false);else {let p=this.listOfValue.findIndex(d=>this.compareWith(d,m));if(p!==-1){let d=this.listOfValue.filter((u,z)=>z!==p);this.updateListOfValue(d);}else if(this.listOfValue.length<this.nzMaxMultipleCount){let d=[...this.listOfValue,m];this.updateListOfValue(d);}this.focus(),this.nzAutoClearSearchValue&&this.clearInput();}}onItemDelete(m){let p=this.listOfValue.filter(d=>!this.compareWith(d,m.nzValue));this.updateListOfValue(p),this.clearInput();}updateListOfContainerItem(){let m=this.listOfTagAndTemplateItem.filter(u=>!u.nzHide).filter(u=>!this.nzServerSearch&&this.searchValue?this.nzFilterOption(this.searchValue,u):true);if(this.nzMode==="tags"&&this.searchValue){let u=this.listOfTagAndTemplateItem.find(z=>z.nzLabel===this.searchValue);if(u)this.activatedValue=u.nzValue;else {let z=this.generateTagItem(this.searchValue);m=[z,...m],this.activatedValue=z.nzValue;}}let p=m.find(u=>u.nzLabel===this.searchValue)||m.find(u=>this.compareWith(u.nzValue,this.activatedValue))||m.find(u=>this.compareWith(u.nzValue,this.listOfValue[0]))||m[0];this.activatedValue=p&&p.nzValue||null;let d=[];this.isReactiveDriven?d=[...new Set(this.nzOptions.filter(u=>u.groupLabel).map(u=>u.groupLabel))]:this.listOfNzOptionGroupComponent&&(d=this.listOfNzOptionGroupComponent.map(u=>u.nzLabel)),d.forEach(u=>{let z=m.findIndex(ne=>u===ne.groupLabel);if(z>-1){let ne={groupLabel:u,type:"group",key:u};m.splice(z,0,ne);}}),this.listOfContainerItem=[...m],this.updateCdkConnectedOverlayPositions();}clearInput(){this.nzSelectTopControlComponent.clearInputValue();}updateListOfValue(m){let d=((u,z)=>z==="default"?u.length>0?u[0]:null:u)(m,this.nzMode);this.value!==d&&(this.listOfValue=m,this.listOfValue$.next(m),this.value=d,this.onChange(this.value));}onTokenSeparate(m){let p=this.listOfTagAndTemplateItem.filter(u=>m.findIndex(z=>z===u.nzLabel)!==-1).map(u=>u.nzValue).filter(u=>this.listOfValue.findIndex(z=>this.compareWith(z,u))===-1),d=u=>this.isMaxMultipleCountSet?u.slice(0,this.nzMaxMultipleCount):u;if(this.nzMode==="multiple"){let u=d([...this.listOfValue,...p]);this.updateListOfValue(u);}else if(this.nzMode==="tags"){let u=m.filter(ne=>this.listOfTagAndTemplateItem.findIndex(ct=>ct.nzLabel===ne)===-1),z=d([...this.listOfValue,...p,...u]);this.updateListOfValue(z);}this.clearInput();}onKeyDown(m){if(this.nzDisabled)return;let p=this.listOfContainerItem.filter(u=>u.type==="item").filter(u=>!u.nzDisabled),d=p.findIndex(u=>this.compareWith(u.nzValue,this.activatedValue));switch(m.keyCode){case 38:if(m.preventDefault(),this.nzOpen&&p.length>0){let u=d>0?d-1:p.length-1;this.activatedValue=p[u].nzValue;}break;case 40:if(m.preventDefault(),this.nzOpen&&p.length>0){let u=d<p.length-1?d+1:0;this.activatedValue=p[u].nzValue;}else this.setOpenState(true);break;case 13:m.preventDefault(),this.nzOpen?X3(this.activatedValue)&&d!==-1&&this.onItemClick(this.activatedValue):this.setOpenState(true);break;case 32:this.nzOpen||(this.setOpenState(true),m.preventDefault());break;case 9:this.nzSelectOnTab?this.nzOpen&&(m.preventDefault(),X3(this.activatedValue)&&this.onItemClick(this.activatedValue)):this.setOpenState(false);break;case 27:break;default:this.nzOpen||this.setOpenState(true);}}setOpenState(m){this.nzOpen!==m&&(this.nzOpen=m,this.nzOpenChange.emit(m),this.onOpenChange(),this.cdr.markForCheck());}onOpenChange(){this.updateCdkConnectedOverlayStatus(),(this.nzAutoClearSearchValue||!this.isMultiple)&&this.clearInput();}onInputValueChange(m){this.searchValue=m,this.updateListOfContainerItem(),this.nzOnSearch.emit(m),this.updateCdkConnectedOverlayPositions();}onClearSelection(){this.updateListOfValue([]),this.nzOnClear.emit();}onClickOutside(m){let p=Ee$1(m);this.host.nativeElement.contains(p)||this.setOpenState(false);}focus(){this.nzSelectTopControlComponent.focus();}blur(){this.nzSelectTopControlComponent.blur();}onPositionChange(m){let p=xn$1(m);this.placement.set(p);}updateCdkConnectedOverlayStatus(){if(this.platform.isBrowser&&this.originElement.nativeElement){let m=this.triggerWidth;qn(this.requestId),this.requestId=V1(()=>{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,m!==this.triggerWidth&&this.cdr.detectChanges();});}}updateCdkConnectedOverlayPositions(){V1(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition();});}constructor(){this.destroyRef.onDestroy(()=>{qn(this.requestId),this.focusMonitor.stopMonitoring(this.host);}),Tt$1(Hr$1,()=>{this.size.set(this.nzSize),this.cdr.markForCheck();});}writeValue(m){if(this.value!==m){this.value=m;let d=((u,z)=>u==null?[]:z==="default"?[u]:u)(m,this.nzMode);this.listOfValue=d,this.nzOpen||(this.activatedValue=d[0]??null),this.listOfValue$.next(d),this.cdr.markForCheck();}}registerOnChange(m){this.onChange=m;}registerOnTouched(m){this.onTouched=m;}setDisabledState(m){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||m,this.isNzDisableFirstChange=false,this.nzDisabled&&this.setOpenState(false),this.cdr.markForCheck();}ngOnChanges({nzOpen:m,nzDisabled:p,nzOptions:d,nzStatus:u,nzPlacement:z,nzSize:ne,nzVariant:ct}){if(m&&this.onOpenChange(),p&&this.nzDisabled&&this.setOpenState(false),d){this.isReactiveDriven=true;let lt=(this.nzOptions||[]).map(oe=>({template:oe.label instanceof Tr$3?oe.label:null,nzTitle:this.getTitle(oe.title,oe.label),nzLabel:typeof oe.label=="string"||typeof oe.label=="number"?oe.label:null,nzValue:oe.value,nzDisabled:oe.disabled||false,nzHide:oe.hide||false,nzCustomContent:oe.label instanceof Tr$3,groupLabel:oe.groupLabel||null,type:"item",key:oe.key===void 0?oe.value:oe.key}));this.listOfTemplateItem$.next(lt);}if(u&&this.setStatusStyles(this.nzStatus,this.hasFeedback),z){let{currentValue:Ue}=z;this.placement.set(Ue);let lt=["bottomLeft","topLeft","bottomRight","topRight"];Ue&<.includes(Ue)?this.positions=[Me$1[Ue]]:this.positions=lt.map(oe=>Me$1[oe]);}ne&&this.size.set(ne.currentValue),ct&&this.variant.set(ct.currentValue);}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(em((m,p)=>m.status===p.status&&m.hasFeedback===p.hasFeedback),xt$1(this.destroyRef)).subscribe(({status:m,hasFeedback:p})=>{this.setStatusStyles(m,p);}),this.focusMonitor.monitor(this.host,true).pipe(xt$1(this.destroyRef)).subscribe(m=>{m?(this.focused=true,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=false,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched();}));}),Bg([this.listOfValue$,this.listOfTemplateItem$]).pipe(xt$1(this.destroyRef)).subscribe(([m,p])=>{let d=m.filter(()=>this.nzMode==="tags").filter(u=>p.findIndex(z=>this.compareWith(z.nzValue,u))===-1).map(u=>this.listOfTopItem.find(z=>this.compareWith(z.nzValue,u))||this.generateTagItem(u));this.listOfTagAndTemplateItem=[...p,...d],this.listOfTopItem=this.listOfValue.map(u=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(z=>this.compareWith(u,z.nzValue))).filter(u=>!!u),this.updateListOfContainerItem();}),Vt$1(this.host.nativeElement,"click").pipe(xt$1(this.destroyRef)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen));}),this.cdkConnectedOverlay.overlayKeydown.pipe(xt$1(this.destroyRef)).subscribe(m=>{m.keyCode===27&&this.setOpenState(false);});}ngAfterContentInit(){this.isReactiveDriven||Yg(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Zl$1(true),Yl$1(()=>Yg(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(m=>m.changes),...this.listOfNzOptionGroupComponent.map(m=>m.changes)).pipe(Zl$1(true))),xt$1(this.destroyRef)).subscribe(()=>{let m=this.listOfNzOptionComponent.toArray().map(p=>{let{template:d,nzLabel:u,nzValue:z,nzKey:ne,nzDisabled:ct,nzHide:Ue,nzCustomContent:lt,groupLabel:oe}=p;return {template:d,nzLabel:u,nzValue:z,nzDisabled:ct,nzHide:Ue,nzCustomContent:lt,groupLabel:oe,nzTitle:this.getTitle(p.nzTitle,p.nzLabel),type:"item",key:ne===void 0?z:ne}});this.listOfTemplateItem$.next(m),this.cdr.markForCheck();});}setStatusStyles(m,p){this.status=m,this.hasFeedback=p,this.cdr.markForCheck(),this.statusCls=Go$1(this.prefixCls,m,p),Object.keys(this.statusCls).forEach(d=>{this.statusCls[d]?this.renderer.addClass(this.host.nativeElement,d):this.renderer.removeClass(this.host.nativeElement,d);});}getTitle(m,p){let d;return m===void 0?(typeof p=="string"||typeof p=="number")&&(d=p.toString()):(typeof m=="string"||typeof m=="number")&&(d=m.toString()),d}static \u0275fac=function(p){return new(p||f3)};static \u0275cmp=JE({type:f3,selectors:[["nz-select"]],contentQueries:function(p,d,u){if(p&1&&Eh(u,q5,5)(u,Kn$1,5),p&2){let z;JD(z=XD())&&(d.listOfNzOptionComponent=z),JD(z=XD())&&(d.listOfNzOptionGroupComponent=z);}},viewQuery:function(p,d){if(p&1&&Dh(Ht$1,7,Nr$3)(v1,7)(p3,7)(Kn$1,7,Nr$3)(p3,7,Nr$3),p&2){let u;JD(u=XD())&&(d.originElement=u.first),JD(u=XD())&&(d.cdkConnectedOverlay=u.first),JD(u=XD())&&(d.nzSelectTopControlComponent=u.first),JD(u=XD())&&(d.nzOptionGroupComponentElement=u.first),JD(u=XD())&&(d.nzSelectTopControlComponentElement=u.first);}},hostAttrs:[1,"ant-select"],hostVars:32,hostBindings:function(p,d){p&2&&Nh("ant-select-in-form-item",!!d.nzFormStatusService)("ant-select-lg",d.finalSize()==="large")("ant-select-sm",d.finalSize()==="small")("ant-select-show-arrow",d.showArrow)("ant-select-disabled",d.nzDisabled)("ant-select-show-search",(d.nzShowSearch||d.nzMode!=="default")&&!d.nzDisabled)("ant-select-allow-clear",d.nzAllowClear)("ant-select-outlined",d.finalVariant()==="outlined")("ant-select-borderless",d.finalVariant()==="borderless")("ant-select-filled",d.finalVariant()==="filled")("ant-select-underlined",d.finalVariant()==="underlined")("ant-select-open",d.nzOpen)("ant-select-focused",d.nzOpen||d.focused)("ant-select-single",d.nzMode==="default")("ant-select-multiple",d.nzMode!=="default")("ant-select-rtl",d.dir()==="rtl");},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzVariant:"nzVariant",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzPrefix:"nzPrefix",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:[2,"nzMaxMultipleCount","nzMaxMultipleCount",J3],nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:[2,"nzAllowClear","nzAllowClear",K0$1],nzShowSearch:[2,"nzShowSearch","nzShowSearch",K0$1],nzLoading:[2,"nzLoading","nzLoading",K0$1],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",K0$1],nzAutoClearSearchValue:[2,"nzAutoClearSearchValue","nzAutoClearSearchValue",K0$1],nzServerSearch:[2,"nzServerSearch","nzServerSearch",K0$1],nzDisabled:[2,"nzDisabled","nzDisabled",K0$1],nzOpen:[2,"nzOpen","nzOpen",K0$1],nzSelectOnTab:[2,"nzSelectOnTab","nzSelectOnTab",K0$1],nzBackdrop:[2,"nzBackdrop","nzBackdrop",K0$1],nzOptions:"nzOptions",nzShowArrow:[2,"nzShowArrow","nzShowArrow",K0$1]},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus",nzOnClear:"nzOnClear"},exportAs:["nzSelect"],features:[Vw([{provide:d1,useExisting:bo$3(()=>f3),multi:true},{provide:U1,useValue:"select"}]),aD([X4]),fy],decls:5,vars:25,consts:[["origin","cdkOverlayOrigin"],["feedbackIconTpl",""],["cdkOverlayOrigin","",3,"inputValueChange","tokenize","deleteItem","keydown","nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","prefix"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon","nzMaxMultipleCount","listOfValue","isMaxMultipleCountSet"],[3,"clearIcon"],["cdkConnectedOverlay","","nzConnectedOverlay","","cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOffsetY","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions"],[3,"status"],[3,"clear","clearIcon"],[3,"keydown","itemClick","scrollToBottom","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","isMaxMultipleCountReached"]],template:function(p,d){if(p&1&&(Ni$3(0,"nz-select-top-control",2,0),yh("inputValueChange",function(z){return d.onInputValueChange(z)})("tokenize",function(z){return d.onTokenSeparate(z)})("deleteItem",function(z){return d.onItemDelete(z)})("keydown",function(z){return d.onKeyDown(z)}),tl$1(),ND(2,j5,3,8,"nz-select-arrow",3),ND(3,U5,1,1,"nz-select-clear",4),oh(4,W5,1,23,"ng-template",5),yh("overlayOutsideClick",function(z){return d.onClickOutside(z)})("detach",function(){return d.setOpenState(false)})("positionChange",function(z){return d.onPositionChange(z)})),p&2){let u=tw(1);uh("nzId",d.nzId)("open",d.nzOpen)("disabled",d.nzDisabled)("mode",d.nzMode)("nzNoAnimation",d.noAnimation?.nzNoAnimation?.())("maxTagPlaceholder",d.nzMaxTagPlaceholder)("removeIcon",d.nzRemoveIcon)("placeHolder",d.nzPlaceHolder)("maxTagCount",d.nzMaxTagCount)("customTemplate",d.nzCustomTemplate)("tokenSeparators",d.nzTokenSeparators)("showSearch",d.nzShowSearch)("autofocus",d.nzAutoFocus)("listOfTopItem",d.listOfTopItem)("prefix",d.nzPrefix),vI(2),xD(d.showArrow||d.hasFeedback&&d.status||d.isMaxMultipleCountSet?2:-1),vI(),xD(d.nzAllowClear&&!d.nzDisabled&&d.listOfValue.length?3:-1),vI(),uh("cdkConnectedOverlayOffsetY",d.placement().startsWith("top")?-4:4)("cdkConnectedOverlayHasBackdrop",d.nzBackdrop)("cdkConnectedOverlayMinWidth",d.nzDropdownMatchSelectWidth?null:d.triggerWidth)("cdkConnectedOverlayWidth",d.nzDropdownMatchSelectWidth?d.triggerWidth:null)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayPanelClass",d.nzDropdownClassName)("cdkConnectedOverlayOpen",d.nzOpen)("cdkConnectedOverlayPositions",d.positions);}},dependencies:[p3,Ht$1,d4,Ar$1,Ea$1,Lr$1,v1,Sn$1,fi$1,Fr$1],encapsulation:2})}})(),Kb=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=eD({type:n});static \u0275inj=hu({imports:[G5,Fr$1,Yr$2,p3,Gn$1,Ir$1,Lr$1,Ar$1,Nr$1,Or$1]})}return n})();function L(e){return v$1(this,null,function*(){if(e==="es"){let t=yield import('./chunk-JvTI8UXr.js');Jo$2(t.default);return}let h=yield import('./chunk-fWbYKoKA.js');Jo$2(h.default);})}var g=new A$2("APP_LOCALE_REGISTRAR",{providedIn:"root",factory:()=>L});var A$1={en:os,es:U_},O=(()=>{class e{constructor(){this.transloco=C$2(vr$2),this.nzI18n=C$2(Bn),this.document=C$2(Wo$2),this.registerLocale=C$2(g),this.lang=Go$2(this.transloco.getActiveLang()||"en"),this.currentLang=this.lang.asReadonly();}setLanguage(t){return v$1(this,null,function*(){this.transloco.setActiveLang(t),this.lang.set(t),this.nzI18n.setLocale(A$1[t]),yield this.registerLocale(t),this.document.documentElement.lang=t;})}static{this.\u0275fac=function(u){return new(u||e)};}static{this.\u0275prov=ie$2({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();var a=(()=>{class t{create(e){return typeof ResizeObserver>"u"?null:new ResizeObserver(e)}static \u0275fac=function(s){return new(s||t)};static \u0275prov=ie$2({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),N=(()=>{class t{nzResizeObserverFactory=C$2(a);destroyRef=C$2(at$1);observedElements=new Map;constructor(){this.destroyRef.onDestroy(()=>this.observedElements.forEach((e,s)=>this.cleanupObserver(s)));}observe(e){let s=Wt$1(e);return new S(r=>{let d=this.observeElement(s).subscribe(r);return ()=>{d.unsubscribe(),this.unobserveElement(s);}})}observeElement(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else {let s=new re,r=this.nzResizeObserverFactory.create(o=>s.next(o));r&&r.observe(e),this.observedElements.set(e,{observer:r,stream:s,count:1});}return this.observedElements.get(e).stream}unobserveElement(e){this.observedElements.has(e)&&(this.observedElements.get(e).count--,this.observedElements.get(e).count||this.cleanupObserver(e));}cleanupObserver(e){if(this.observedElements.has(e)){let{observer:s,stream:r}=this.observedElements.get(e);s&&s.disconnect(),r.complete(),this.observedElements.delete(e);}}static \u0275fac=function(s){return new(s||t)};static \u0275prov=ie$2({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var f="primary",ze=Symbol("RouteTitle"),qt=class{params;constructor(n){this.params=n||{};}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return []}get keys(){return Object.keys(this.params)}};function oe$1(t){return new qt(t)}function $t(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return false}return true}function en$1(t,n,e){let r=e.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let s={},u=t.slice(0,r.length);return $t(r,u,s)?{consumed:u,posParams:s}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),a=r.slice(i+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let c={};return !$t(o,t.slice(0,o.length),c)||!$t(a,t.slice(t.length-a.length),c)?null:{consumed:t,posParams:c}}function st(t){return new Promise((n,e)=>{t.pipe(rm()).subscribe({next:r=>n(r),error:r=>e(r)});})}function Gn(t,n){if(t.length!==n.length)return false;for(let e=0;e<t.length;++e)if(!q(t[e],n[e]))return false;return true}function q(t,n){let e=t?Bt(t):void 0,r=n?Bt(n):void 0;if(!e||!r||e.length!=r.length)return false;let i;for(let o=0;o<e.length;o++)if(i=e[o],!tn$1(t[i],n[i]))return false;return true}function Bt(t){return [...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function tn$1(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return false;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Wn(t){return t.length>0?t[t.length-1]:null}function ce(t){return Hg(t)?t:Jc$1(t)?Ne$2(Promise.resolve(t)):jg(t)}function rn(t){return Hg(t)?st(t):Promise.resolve(t)}var Qn={exact:on,subset:an$1},nn={exact:Kn,subset:Yn,ignored:()=>true},ir$1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_e={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function or$1(t,n,e){let r$1=t instanceof A?t:n.parseUrl(t);return Kw(()=>Vt(n.lastSuccessfulNavigation()?.finalUrl??new A,r$1,r(r({},_e),e)))}function Vt(t,n,e){return Qn[e.paths](t.root,n.root,e.matrixParams)&&nn[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Kn(t,n){return q(t,n)}function on(t,n,e){if(!ie(t.segments,n.segments)||!it(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return false;for(let r in n.children)if(!t.children[r]||!on(t.children[r],n.children[r],e))return false;return true}function Yn(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>tn$1(t[e],n[e]))}function an$1(t,n,e){return sn$1(t,n,n.segments,e)}function sn$1(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return !(!ie(i,e)||n.hasChildren()||!it(i,e,r))}else if(t.segments.length===e.length){if(!ie(t.segments,e)||!it(t.segments,e,r))return false;for(let i in n.children)if(!t.children[i]||!an$1(t.children[i],n.children[i],r))return false;return true}else {let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return !ie(t.segments,i)||!it(t.segments,i,r)||!t.children[f]?false:sn$1(t.children[f],n,o,r)}}function it(t,n,e){return n.every((r,i)=>nn[e](t[i].parameters,r.parameters))}var A=class{root;queryParams;fragment;_queryParamMap;constructor(n=new m([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r;}get queryParamMap(){return this._queryParamMap??=oe$1(this.queryParams),this._queryParamMap}toString(){return Xn.serialize(this)}},m=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this);}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ot(this)}},Y=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e;}get parameterMap(){return this._parameterMap??=oe$1(this.parameters),this._parameterMap}toString(){return un$1(this)}};function Zn(t,n){return ie(t,n)&&t.every((e,r)=>q(e.parameters,n[r].parameters))}function ie(t,n){return t.length!==n.length?false:t.every((e,r)=>e.path===n[r].path)}function Jn(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===f&&(e=e.concat(n(i,r)));}),Object.entries(t.children).forEach(([r,i])=>{r!==f&&(e=e.concat(n(i,r)));}),e}var Re=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:()=>new Z})}return t})(),Z=class{parse(n){let e=new Wt(n);return new A(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Ee(n.root,true)}`,r=ri(n.queryParams),i=typeof n.fragment=="string"?`#${ei(n.fragment)}`:"";return `${e}${r}${i}`}},Xn=new Z;function ot(t){return t.segments.map(n=>un$1(n)).join("/")}function Ee(t,n){if(!t.hasChildren())return ot(t);if(n){let e=t.children[f]?Ee(t.children[f],false):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==f&&r.push(`${i}:${Ee(o,false)}`);}),r.length>0?`${e}(${r.join("//")})`:e}else {let e=Jn(t,(r,i)=>i===f?[Ee(t.children[f],false)]:[`${i}:${Ee(r,false)}`]);return Object.keys(t.children).length===1&&t.children[f]!=null?`${ot(t)}/${e[0]}`:`${ot(t)}/(${e.join("//")})`}}function cn$1(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function rt(t){return cn$1(t).replace(/%3B/gi,";")}function ei(t){return encodeURI(t)}function Gt(t){return cn$1(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function at(t){return decodeURIComponent(t)}function Wr$1(t){return at(t.replace(/\+/g,"%20"))}function un$1(t){return `${Gt(t.path)}${ti(t.parameters)}`}function ti(t){return Object.entries(t).map(([n,e])=>`;${Gt(n)}=${Gt(e)}`).join("")}function ri(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${rt(e)}=${rt(i)}`).join("&"):`${rt(e)}=${rt(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var ni=/^[^\/()?;#]+/;function zt(t){let n=t.match(ni);return n?n[0]:""}var ii=/^[^\/()?;=#]+/;function oi(t){let n=t.match(ii);return n?n[0]:""}var ai=/^[^=?&#]+/;function si(t){let n=t.match(ai);return n?n[0]:""}var ci=/^[^&#]+/;function ui(t){let n=t.match(ci);return n?n[0]:""}var Wt=class{url;remaining;constructor(n){this.url=n,this.remaining=n;}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new _$2(4010,false);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(true,n));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(false,n)),(e.length>0||Object.keys(r).length>0)&&(i[f]=new m(e,r)),i}parseSegment(){let n=zt(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new _$2(4009,false);return this.capture(n),new Y(at(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=oi(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=zt(this.remaining);i&&(r=i,this.capture(r));}n[at(e)]=at(r);}parseQueryParam(n){let e=si(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let a=ui(this.remaining);a&&(r=a,this.capture(r));}let i=Wr$1(e),o=Wr$1(r);if(Object.hasOwn(n,i)){let a=n[i];Array.isArray(a)||(a=[a],n[i]=a),a.push(o);}else n[i]=o;}parseParens(n,e){let r=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=zt(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new _$2(4010,false);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=f);let c=this.parseChildren(e+1);r[a??f]=Object.keys(c).length===1&&c[f]?c[f]:new m([],c),this.consumeOptional("//");}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),true):false}capture(n){if(!this.consumeOptional(n))throw new _$2(4011,false)}};function ln$1(t){return t.segments.length>0?new m([],{[f]:t}):t}function hn(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=hn(i);if(r===f&&o.segments.length===0&&o.hasChildren())for(let[a,c]of Object.entries(o.children))n[a]=c;else (o.segments.length>0||o.hasChildren())&&(n[r]=o);}let e=new m(t.segments,n);return li(e)}function li(t){if(t.numberOfChildren===1&&t.children[f]){let n=t.children[f];return new m(t.segments.concat(n.segments),n.children)}return t}function J(t){return t instanceof A}function dn$1(t,n,e=null,r=null,i=new Z){let o=fn(t);return pn$1(o,n,e,r,i)}function fn(t){let n;function e(o){let a={};for(let s of o.children){let u=e(s);a[s.outlet]=u;}let c=new m(o.url,a);return o===t&&(n=c),c}let r=e(t.root),i=ln$1(r);return n??i}function pn$1(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return Ht(o,o,o,e,r,i);let a=hi(n);if(a.toRoot())return Ht(o,o,new m([],{}),e,r,i);let c=di(a,o,t),s=c.processChildren?Ne(c.segmentGroup,c.index,a.commands):vn(c.segmentGroup,c.index,a.commands);return Ht(o,c.segmentGroup,s,e,r,i)}function ct(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ue(t){return typeof t=="object"&&t!=null&&t.outlets}function Qr$1(t,n,e){t||="\u0275";let r=new A;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Ht(t,n,e,r,i,o){let a={};for(let[u,h]of Object.entries(r??{}))a[u]=Array.isArray(h)?h.map(v=>Qr$1(u,v,o)):Qr$1(u,h,o);let c;t===n?c=e:c=gn(t,n,e);let s=ln$1(hn(c));return new A(s,a,i)}function gn(t,n,e){let r=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=gn(o,n,e);}),new m(t.segments,r)}var ut$1=class ut{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&ct(r[0]))throw new _$2(4003,false);let i=r.find(Ue);if(i&&i!==Wn(r))throw new _$2(4004,false)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function hi(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ut$1(true,0,t);let n=0,e=false,r=t.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([s,u])=>{c[s]=typeof u=="string"?u.split("/"):u;}),[...i,{outlets:c}]}if(o.segmentPath)return [...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((c,s)=>{s==0&&c==="."||(s==0&&c===""?e=true:c===".."?n++:c!=""&&i.push(c));}),i):[...i,o]},[]);return new ut$1(e,n,r)}var de=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r;}};function di(t,n,e){if(t.isAbsolute)return new de(n,true,0);if(!e)return new de(n,false,NaN);if(e.parent===null)return new de(e,true,0);let r=ct(t.commands[0])?0:1,i=e.segments.length-1+r;return fi(e,i,t.numberOfDoubleDots)}function fi(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new _$2(4005,false);i=r.segments.length;}return new de(r,false,i-o)}function pi(t){return Ue(t[0])?t[0].outlets:{[f]:t}}function vn(t,n,e){if(t??=new m([],{}),t.segments.length===0&&t.hasChildren())return Ne(t,n,e);let r=gi(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new m(t.segments.slice(0,r.pathIndex),{});return o.children[f]=new m(t.segments.slice(r.pathIndex),t.children),Ne(o,0,i)}else return r.match&&i.length===0?new m(t.segments,{}):r.match&&!t.hasChildren()?Qt(t,n,e):r.match?Ne(t,0,i):Qt(t,n,e)}function Ne(t,n,e){if(e.length===0)return new m(t.segments,{});{let r=pi(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==f)&&t.children[f]&&t.numberOfChildren===1&&t.children[f].segments.length===0){let o=Ne(t.children[f],n,e);return new m(t.segments,o.children)}return Object.entries(r).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=vn(t.children[o],n,a));}),Object.entries(t.children).forEach(([o,a])=>{r[o]===void 0&&(i[o]=a);}),new m(t.segments,i)}}function gi(t,n,e){let r=0,i=n,o={match:false,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let a=t.segments[i],c=e[r];if(Ue(c))break;let s=`${c}`,u=r<e.length-1?e[r+1]:null;if(i>0&&s===void 0)break;if(s&&u&&typeof u=="object"&&u.outlets===void 0){if(!Yr$1(s,u,a))return o;r+=2;}else {if(!Yr$1(s,{},a))return o;r++;}i++;}return {match:true,pathIndex:i,commandIndex:r}}function Qt(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Ue(o)){let s=vi(o.outlets);return new m(r,s)}if(i===0&&ct(e[0])){let s=t.segments[n];r.push(new Y(s.path,Kr$1(e[0]))),i++;continue}let a=Ue(o)?o.outlets[f]:`${o}`,c=i<e.length-1?e[i+1]:null;a&&c&&ct(c)?(r.push(new Y(a,Kr$1(c))),i+=2):(r.push(new Y(a,{})),i++);}return new m(r,{})}function vi(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Qt(new m([],{}),0,r));}),n}function Kr$1(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Yr$1(t,n,e){return t==e.path&&q(n,e.parameters)}var Me="imperative",C=(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})(C||{}),U=class{id;url;constructor(n,e){this.id=n,this.url=e;}},ae=class extends U{type=C.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i;}toString(){return `NavigationStart(id: ${this.id}, url: '${this.url}')`}},H=class extends U{urlAfterRedirects;type=C.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r;}toString(){return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},b=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(b||{}),Oe=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Oe||{}),x=class extends U{reason;code;type=C.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i;}toString(){return `NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function mn$1(t){return t instanceof x&&(t.code===b.Redirect||t.code===b.SupersededByNewNavigation)}var G=class extends U{reason;code;type=C.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i;}},se=class extends U{error;target;type=C.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i;}toString(){return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Pe$1=class Pe extends U{urlAfterRedirects;state;type=C.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lt=class extends U{urlAfterRedirects;state;type=C.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ht=class extends U{urlAfterRedirects;state;shouldActivate;type=C.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o;}toString(){return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},dt=class extends U{urlAfterRedirects;state;type=C.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ft=class extends U{urlAfterRedirects;state;type=C.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pt$1=class pt{route;type=C.RouteConfigLoadStart;constructor(n){this.route=n;}toString(){return `RouteConfigLoadStart(path: ${this.route.path})`}},gt=class{route;type=C.RouteConfigLoadEnd;constructor(n){this.route=n;}toString(){return `RouteConfigLoadEnd(path: ${this.route.path})`}},vt=class{snapshot;type=C.ChildActivationStart;constructor(n){this.snapshot=n;}toString(){return `ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mt$1=class mt{snapshot;type=C.ChildActivationEnd;constructor(n){this.snapshot=n;}toString(){return `ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yt=class{snapshot;type=C.ActivationStart;constructor(n){this.snapshot=n;}toString(){return `ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rt=class{snapshot;type=C.ActivationEnd;constructor(n){this.snapshot=n;}toString(){return `ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var pe=class{},Le=class{},ge=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e;}};function mi(t){return !(t instanceof pe)&&!(t instanceof ge)&&!(t instanceof Le)}var St=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Se(this.rootInjector);}},Se=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e;}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i);}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null);}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e;}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new St(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(Re$2(ue$2))};static \u0275prov=ie$2({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ct=class{_root;constructor(n){this._root=n;}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Kt(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Kt(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Yt(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Yt(n,this._root).map(e=>e.value)}};function Kt(t,n){if(t===n.value)return n;for(let e of n.children){let r=Kt(t,e);if(r)return r}return null}function Yt(t,n){if(t===n.value)return [n];for(let e of n.children){let r=Yt(t,e);if(r.length)return r.unshift(n),r}return []}var _=class{value;children;constructor(n,e){this.value=n,this.children=e;}toString(){return `TreeNode(${this.value})`}};function he(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var je=class extends Ct{snapshot;constructor(n,e){super(n),this.snapshot=e,sr$1(this,n);}toString(){return this.snapshot.toString()}};function yn(t,n){let e=yi$1(t,n),r=new On$3([new Y("",{})]),i=new On$3({}),o=new On$3({}),a=new On$3({}),c=new On$3(""),s=new W(r,i,a,c,o,f,t,e.root);return s.snapshot=e.root,new je(new _(s,[]),e)}function yi$1(t,n){let e={},r={},i={},a=new ve([],e,i,"",r,f,t,null,{},n);return new xe("",new _(a,[]))}var W=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(n,e,r,i,o,a,c,s){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=c,this._futureSnapshot=s,this.title=this.dataSubject?.pipe(Me$2(u=>u[ze]))??jg(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o;}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Me$2(n=>oe$1(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Me$2(n=>oe$1(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}},Ri="always";function ar$1(t,n,e){let r$1,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r$1={params:r(r({},n.params),t.params),data:r(r({},n.data),t.data),resolve:r(r(r(r({},t.data),n.data),i?.data),t._resolvedData)}:r$1={params:r({},t.params),data:r({},t.data),resolve:r(r({},t.data),t._resolvedData??{})},i&&Sn(i)&&(r$1.resolve[ze]=i.title),r$1}var ve=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[ze]}constructor(n,e,r,i,o,a,c,s,u,h){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=c,this.routeConfig=s,this._resolve=u,this._environmentInjector=h;}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??=oe$1(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=oe$1(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return `Route(url:'${n}', path:'${e}')`}},xe=class extends Ct{url;constructor(n,e){super(e),this.url=n,sr$1(this,e);}toString(){return Rn(this._root)}};function sr$1(t,n){n.value._routerState=t,n.children.forEach(e=>sr$1(t,e));}function Rn(t){let n=t.children.length>0?` { ${t.children.map(Rn).join(", ")} } `:"";return `${t.value}${n}`}function Ft(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,q(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),q(n.params,e.params)||t.paramsSubject.next(e.params),Gn(n.url,e.url)||t.urlSubject.next(e.url),q(n.data,e.data)||t.dataSubject.next(e.data);}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data);}function Zt(t,n){let e=q(t.params,n.params)&&Zn(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Zt(t.parent,n.parent))}function Sn(t){return typeof t.title=="string"||t.title===null}var Cn=new A$2(""),cr$1=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new Fe$1;deactivateEvents=new Fe$1;attachEvents=new Fe$1;detachEvents=new Fe$1;routerOutletData=q0$1();parentContexts=C$2(Se);location=C$2(Bi$3);changeDetector=C$2(Z0$1);inputBinder=C$2(At,{optional:true});supportsBindingToComponentInputs=true;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName();}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this);}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName();}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector));}get isActivated(){return !!this.activated}get component(){if(!this.activated)throw new _$2(4012,false);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _$2(4012,false);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _$2(4012,false);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance);}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e);}}activateWith(e,r){if(this.isActivated)throw new _$2(4013,false);this._activatedRoute=e;let i=this.location,a=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,s=new Jt(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(a,{index:i.length,injector:s,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static \u0275fac=function(r){return new(r||t)};static \u0275dir=rD({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[fy]})}return t})(),Jt=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i;}get(n,e){return n===W?this.route:n===Se?this.childContexts:n===Cn?this.outletData:this.parent.get(n,e)}},At=new A$2("");var ur$1=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=JE({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&dh(0,"router-outlet");},dependencies:[cr$1],encapsulation:2,changeDetection:1})}return t})();function lr$1(t){let n=t.children&&t.children.map(lr$1),e=n?s(r({},t),{children:n}):r({},t);return !e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==f&&(e.component=ur$1),e}function Si$1(t,n,e){let r=new Set,i=ke(t,n._root,e?e._root:void 0,r);return {newlyCreatedRoutes:r,state:new je(i,n)}}function ke(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let o=Ci(t,n,e,r);return new _(i,o)}else {if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let c=a.route;return c.value._futureSnapshot=n.value,c.children=n.children.map(s=>ke(t,s,void 0,r)),c}}let i=wi$1(n.value);r.add(i);let o=n.children.map(a=>ke(t,a,void 0,r));return new _(i,o)}}function Ci(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return ke(t,i,o,r);return ke(t,i,void 0,r)})}function wi$1(t){return new W(new On$3(t.url),new On$3(t.params),new On$3(t.queryParams),new On$3(t.fragment),new On$3(t.data),t.outlet,t.component,t)}var me=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e;}},wn="ngNavigationCancelingError";function wt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=J(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=bn(false,b.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function bn(t,n){let e=new Error(`NavigationCancelingError: ${""}`);return e[wn]=true,e.cancellationCode=n,e}function bi$1(t){return In(t)&&J(t.url)}function In(t){return !!t&&t[wn]}var Xt=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o;}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Ft(this.futureState.root),this.activateChildRoutes(e,r,n);}deactivateChildRoutes(n,e,r){let i=he(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],r),delete i[a];}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r);});}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let a=r.getContext(i.outlet);a&&this.deactivateChildRoutes(n,e,a.children);}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r);}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e);}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=he(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(r&&r.outlet){let a=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:c});}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=he(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy();}activateChildRoutes(n,e,r){let i=he(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Rt(o.value.snapshot));}),n.children.length&&this.forwardEvent(new mt$1(n.value.snapshot));}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(Ft(i),i===o)if(i.component){let a=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,a.children);}else this.activateChildRoutes(n,e,r);else if(i.component){let a=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(c.contexts),a.attachRef=c.componentRef,a.route=c.route.value,a.outlet&&a.outlet.attach(c.componentRef,c.route.value),Ft(c.route.value),this.activateChildRoutes(n,null,a.children);}else a.attachRef=null,a.route=i,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(n,null,a.children);}else this.activateChildRoutes(n,null,r);}},bt=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1];}},fe=class{component;route;constructor(n,e){this.component=n,this.route=e;}};function Ii(t,n,e){let r=t._root,i=n?n._root:null;return Te(r,i,e,[r.value])}function Ai(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return !n||n.length===0?null:{node:t,guards:n}}function Ce(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Im(t)?t:n.get(t):r}function Te(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=he(n);return t.children.forEach(a=>{Ei$1(a,o[a.value.outlet],e,r.concat([a.value]),i),delete o[a.value.outlet];}),Object.entries(o).forEach(([a,c])=>De(c,e.getContext(a),i)),i}function Ei$1(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let s=Ti$1(a,o,o.routeConfig.runGuardsAndResolvers);s?i.canActivateChecks.push(new bt(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Te(t,n,c?c.children:null,r,i):Te(t,n,e,r,i),s&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new fe(c.outlet.component,a));}else a&&De(n,c,i),i.canActivateChecks.push(new bt(r)),o.component?Te(t,null,c?c.children:null,r,i):Te(t,null,e,r,i);return i}function Ti$1(t,n,e){if(typeof e=="function")return Ro$3(n._environmentInjector,()=>e(t,n));switch(e){case "pathParamsChange":return !ie(t.url,n.url);case "pathParamsOrQueryParamsChange":return !ie(t.url,n.url)||!q(t.queryParams,n.queryParams);case "always":return true;case "paramsOrQueryParamsChange":return !Zt(t,n)||!q(t.queryParams,n.queryParams);default:return !Zt(t,n)}}function De(t,n,e){let r=he(t),i=t.value;Object.entries(r).forEach(([o,a])=>{i.component?n?De(a,n.children.getContext(o),e):De(a,null,e):De(a,n,e);}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new fe(n.outlet.component,i)):e.canDeactivateChecks.push(new fe(null,i)):e.canDeactivateChecks.push(new fe(null,i));}function He(t){return typeof t=="function"}function Ni(t){return typeof t=="boolean"}function Mi$1(t){return t&&He(t.canLoad)}function Di$1(t){return t&&He(t.canActivate)}function _i(t){return t&&He(t.canActivateChild)}function Ui$1(t){return t&&He(t.canDeactivate)}function Oi$1(t){return t&&He(t.canMatch)}function An(t){return t instanceof Vn$2||t?.name==="EmptyError"}var nt=Symbol("INITIAL_VALUE");function ye(){return Yl$1(t=>Bg(t.map(n=>n.pipe(vt$3(1),Zl$1(nt)))).pipe(Me$2(n=>{for(let e of n)if(e!==true){if(e===nt)return nt;if(e===false||Pi$1(e))return e}return true}),sn$2(n=>n!==nt),vt$3(1)))}function Pi$1(t){return J(t)||t instanceof me}function En(t){return t.aborted?jg(void 0).pipe(vt$3(1)):new S(n=>{let e=()=>{n.next(),n.complete();};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Tn(t){return cm(En(t))}function Li(t){return Ee$3(n=>{let{targetSnapshot:e,currentSnapshot:r$1,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?jg(s(r({},n),{guardsResult:true})):ji$1(o,e,r$1).pipe(Ee$3(a=>a&&Ni(a)?xi(e,i,t):jg(a)),Me$2(a=>s(r({},n),{guardsResult:a})))})}function ji$1(t,n,e){return Ne$2(t).pipe(Ee$3(r=>Fi$1(r.component,r.route,e,n)),rm(r=>r!==true,true))}function xi(t,n,e){return Ne$2(n).pipe(Jg(r=>rn$2($i(r.route.parent,e),ki(r.route,e),Hi(t,r.path),zi(t,r.route))),rm(r=>r!==true,true))}function ki(t,n){return t!==null&&n&&n(new yt(t)),jg(true)}function $i(t,n){return t!==null&&n&&n(new vt(t)),jg(true)}function zi(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return jg(true);let r=e.map(i=>Ug(()=>{let o=n._environmentInjector,a=Ce(i,o),c=Di$1(a)?a.canActivate(n,t):Ro$3(o,()=>a(n,t));return ce(c).pipe(rm())}));return jg(r).pipe(ye())}function Hi(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>Ai(o)).filter(o=>o!==null).map(o=>Ug(()=>{let a=o.guards.map(c=>{let s=o.node._environmentInjector,u=Ce(c,s),h=_i(u)?u.canActivateChild(e,t):Ro$3(s,()=>u(e,t));return ce(h).pipe(rm())});return jg(a).pipe(ye())}));return jg(i).pipe(ye())}function Fi$1(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return jg(true);let o=i.map(a=>{let c=n._environmentInjector,s=Ce(a,c),u=Ui$1(s)?s.canDeactivate(t,n,e,r):Ro$3(c,()=>s(t,n,e,r));return ce(u).pipe(rm())});return jg(o).pipe(ye())}function qi$1(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return jg(true);let a=o.map(c=>{let s=Ce(c,t),u=Mi$1(s)?s.canLoad(n,e):Ro$3(t,()=>s(n,e)),h=ce(u);return i?h.pipe(Tn(i)):h});return jg(a).pipe(ye(),Nn(r))}function Nn(t){return gg(Kl$1(n=>{if(typeof n!="boolean")throw wt(t,n)}),Me$2(n=>n===true))}function Bi(t,n,e,r,i,o){let a=n.canMatch;if(!a||a.length===0)return jg(true);let c=a.map(s=>{let u=Ce(s,t),h=Oi$1(u)?u.canMatch(n,e,i):Ro$3(t,()=>u(n,e,i));return ce(h).pipe(Tn(o))});return jg(c).pipe(ye(),Nn(r))}var V=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype);}},$e=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype);}};function Vi$1(t){throw new _$2(4e3,false)}function Gi$1(t){throw bn(false,b.GuardRejected)}var er$1=class er{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e;}lineralizeSegments(n,e){return v$1(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[f])throw Vi$1(`${n.redirectTo}`);i=i.children[f];}})}applyRedirectCommands(n,e,r,i,o){return v$1(this,null,function*(){let a=yield Wi$1(e,i,o);if(a instanceof A)throw new $e(a);let c=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,r);if(a[0]==="/")throw new $e(c);return c})}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new A(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let c=o.substring(1);r[i]=e[c];}else r[i]=o;}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),a=Object.create(null);return Object.entries(e.children).forEach(([c,s])=>{a[c]=this.createSegmentGroup(n,s,r,i);}),new m(o,a)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new _$2(4001,false);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++;}return n}};function Wi$1(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return st(ce(Ro$3(e,()=>r(n))))}function Qi$1(t,n){return t.providers&&!t._injector&&(t._injector=Kp(t.providers,n,`Route: ${t.path}`)),t._injector??n}function z(t){return t.outlet||f}function Ki$1(t,n){let e=t.filter(r=>z(r)===n);return e.push(...t.filter(r=>z(r)!==n)),e}var tr$1={matched:false,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mn(t){return {routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function Yi$1(t,n,e,r$1,i,o,a){let c=Dn(t,n,e);if(!c.matched)return jg(c);let s=Mn(o(c));return r$1=Qi$1(n,r$1),Bi(r$1,n,e,i,s,a).pipe(Me$2(u=>u===true?c:r({},tr$1)))}function Dn(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?r({},tr$1):{matched:true,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||en$1)(e,t,n);if(!i)return r({},tr$1);let o={};Object.entries(i.posParams??{}).forEach(([c,s])=>{o[c]=s.path;});let a=i.consumed.length>0?r(r({},o),i.consumed[i.consumed.length-1].parameters):o;return {matched:true,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function Zr$1(t,n,e,r,i){return e.length>0&&Xi$1(t,e,r,i)?{segmentGroup:new m(n,Ji$1(r,new m(e,t.children))),slicedSegments:[]}:e.length===0&&eo$1(t,e,r)?{segmentGroup:new m(t.segments,Zi$1(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new m(t.segments,t.children),slicedSegments:e}}function Zi$1(t,n,e,r$1){let i={};for(let o of e)if(Et(t,n,o)&&!r$1[z(o)]){let a=new m([],{});i[z(o)]=a;}return r(r({},r$1),i)}function Ji$1(t,n){let e={};e[f]=n;for(let r of t)if(r.path===""&&z(r)!==f){let i=new m([],{});e[z(r)]=i;}return e}function Xi$1(t,n,e,r){return e.some(i=>!Et(t,n,i)||!(z(i)!==f)?false:!(r!==void 0&&z(i)===r))}function eo$1(t,n,e){return e.some(r=>Et(t,n,r))}function Et(t,n,e){return (t.hasChildren()||n.length>0)&&e.pathMatch==="full"?false:e.path===""}function to$1(t,n,e){return n.length===0&&!t.children[e]}var rr$1=class rr{};function ro$1(t,n,e,r,i,o,a,c){return v$1(this,null,function*(){return new nr$1(t,n,e,r,i,a,o,c).recognize()})}var no$1=31,nr$1=class nr{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=true;constructor(n,e,r,i,o,a,c,s){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=c,this.abortSignal=s,this.applyRedirects=new er$1(this.urlSerializer,this.urlTree);}noMatchError(n){return new _$2(4002,`'${n.segmentGroup}'`)}recognize(){return v$1(this,null,function*(){let n=Zr$1(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),i=new _(r,e),o=new xe("",i),a=dn$1(r,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(n){return v$1(this,null,function*(){let e=new ve([],Object.freeze({}),Object.freeze(r({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{},this.injector);try{return {children:yield this.processSegmentGroup(this.injector,this.config,n,f,e),rootSnapshot:e}}catch(r){if(r instanceof $e)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof V?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return v$1(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let a=yield this.processSegment(n,e,r,r.segments,i,true,o);return a instanceof _?[a]:[]})}processChildren(n,e,r,i){return v$1(this,null,function*(){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);let a=[];for(let s of o){let u=r.children[s],h=Ki$1(e,s),v=yield this.processSegmentGroup(n,h,u,s,i);a.push(...v);}let c=_n(a);return io$1(c),c})}processSegment(n,e,r,i,o,a,c){return v$1(this,null,function*(){for(let s of e)try{return yield this.processSegmentAgainstRoute(s._injector??n,e,s,r,i,o,a,c)}catch(u){if(u instanceof V||An(u))continue;throw u}if(to$1(r,i,o))return new rr$1;throw new V(r)})}processSegmentAgainstRoute(n,e,r,i,o,a,c,s){return v$1(this,null,function*(){if(z(r)!==a&&(a===f||!Et(i,o,r)))throw new V(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,a,s);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,a,s);throw new V(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,a,c){return v$1(this,null,function*(){let{matched:s,parameters:u,consumedSegments:h,positionalParamSegments:v,remainingSegments:g}=Dn(e,i,o);if(!s)throw new V(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>no$1&&(this.allowRedirects=false));let E=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let k=yield this.applyRedirects.applyRedirectCommands(h,i.redirectTo,v,Mn(E),n),X=yield this.applyRedirects.lineralizeSegments(i,k);return this.processSegment(n,r,e,X.concat(g),a,false,c)})}createSnapshot(n,e,r$1,i,o){let a=new ve(r$1,i,Object.freeze(r({},this.urlTree.queryParams)),this.urlTree.fragment,ao$1(e),z(e),e.component??e._loadedComponent??null,e,so$1(e),n),c=ar$1(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(c.params),a.data=Object.freeze(c.data),a}matchSegmentAgainstRoute(n,e,r,i,o,a){return v$1(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=ee=>this.createSnapshot(n,r,ee.consumedSegments,ee.parameters,a),s=yield st(Yi$1(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path==="**"&&(e.children={}),!s?.matched)throw new V(e);n=r._injector??n;let{routes:u}=yield this.getChildConfig(n,r,i),h=r._loadedInjector??n,{parameters:v,consumedSegments:g,remainingSegments:E}=s,k=this.createSnapshot(n,r,g,v,a),{segmentGroup:X,slicedSegments:be}=Zr$1(e,g,E,u,o);if(be.length===0&&X.hasChildren()){let ee=yield this.processChildren(h,u,X,k);return new _(k,ee)}if(u.length===0&&be.length===0)return new _(k,[]);let Dt=z(r)===o,qe=yield this.processSegment(h,u,X,be,Dt?f:o,true,k);return new _(k,qe instanceof _?[qe]:[])})}getChildConfig(n,e,r){return v$1(this,null,function*(){if(e.children)return {routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield st(qi$1(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Gi$1()}return {routes:[],injector:n}})}};function io$1(t){t.sort((n,e)=>n.value.outlet===f?-1:e.value.outlet===f?1:n.value.outlet.localeCompare(e.value.outlet));}function oo$1(t){let n=t.value.routeConfig;return n&&n.path===""}function _n(t){let n=[],e=new Set;for(let r of t){if(!oo$1(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r);}for(let r of e){let i=_n(r.children);n.push(new _(r.value,i));}return n.filter(r=>!e.has(r))}function ao$1(t){return t.data||{}}function so$1(t){return t.resolve||{}}function co$1(t,n,e,r$1,i,o,a){return Ee$3(c=>v$1(null,null,function*(){let{state:s$1,tree:u}=yield ro$1(t,n,e,r$1,c.extractedUrl,i,o,a);return s(r({},c),{targetSnapshot:s$1,urlAfterRedirects:u})}))}function uo$1(t){return Ee$3(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return jg(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let s of Un(c))o.add(s);let a=0;return Ne$2(o).pipe(Jg(c=>i.has(c)?lo$1(c,e,t):(c.data=ar$1(c,c.parent,t).resolve,jg(void 0))),Kl$1(()=>a++),om$1(1),Ee$3(c=>a===o.size?jg(n):yt$2))})}function Un(t){let n=t.children.map(e=>Un(e)).flat();return [t,...n]}function lo$1(t,n,e){let r$1=t.routeConfig,i=t._resolve;return r$1?.title!==void 0&&!Sn(r$1)&&(i[ze]=r$1.title),Ug(()=>(t.data=ar$1(t,t.parent,e).resolve,ho$1(i,t,n).pipe(Me$2(o=>(t._resolvedData=o,t.data=r(r({},t.data),o),null)))))}function ho$1(t,n,e){let r=Bt(t);if(r.length===0)return jg({});let i={};return Ne$2(r).pipe(Ee$3(o=>fo$1(t[o],n,e).pipe(rm(),Kl$1(a=>{if(a instanceof me)throw wt(new Z,a);i[o]=a;}))),om$1(1),Me$2(()=>i),ss$1(o=>An(o)?yt$2:Vg(o)))}function fo$1(t,n,e){let r=n._environmentInjector,i=Ce(t,r),o=i.resolve?i.resolve(n,e):Ro$3(r,()=>i(n,e));return ce(o)}function Jr$1(t){return Yl$1(n=>{let e=t(n);return e?Ne$2(e).pipe(Me$2(()=>n)):jg(n)})}var hr$1=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===f);return r}getResolvedTitleForRoute(e){return e.data[ze]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:()=>C$2(On)})}return t})(),On=(()=>{class t extends hr$1{title;constructor(e){super(),this.title=e;}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r);}static \u0275fac=function(r){return new(r||t)(Re$2(Nu))};static \u0275prov=ie$2({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),we=new A$2("",{factory:()=>({})}),Fe=new A$2(""),Pn=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=C$2(Qw);loadComponent(e,r){return v$1(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=v$1(this,null,function*(){try{let o=yield rn(Ro$3(e,()=>r.loadComponent())),a=yield jn($0$1(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=a,a}finally{this.componentLoaders.delete(r);}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=v$1(this,null,function*(){try{let o=yield Ln(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r);}});return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:t.\u0275fac})}return t})();function Ln(t,n,e,r){return v$1(this,null,function*(){let i=yield rn(Ro$3(e,()=>t.loadChildren())),o=yield jn($0$1(i)),a;o instanceof Yp||Array.isArray(o)?a=o:a=yield n.compileModuleAsync(o),r&&r(t);let c,s,h;return Array.isArray(a)?(s=a,true):(c=a.create(e).injector,h=a,s=c.get(Fe,[],{optional:true,self:true}).flat()),{routes:s.map(lr$1),injector:c,factory:h}})}function jn(t){return v$1(this,null,function*(){return t})}var Tt=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:()=>C$2(po$1)})}return t})(),po$1=(()=>{class t{shouldProcessUrl(e){return true}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:t.\u0275fac})}return t})(),xn=new A$2("");var kn=new A$2(""),go$1=()=>{},$n=new A$2(""),zn=(()=>{class t{currentNavigation=Go$2(null,{equal:()=>false});currentTransition=null;lastSuccessfulNavigation=Go$2(null);events=new re;transitionAbortWithErrorSubject=new re;configLoader=C$2(Pn);environmentInjector=C$2(ue$2);destroyRef=C$2(at$1);urlSerializer=C$2(Re);rootContexts=C$2(Se);location=C$2(Nn$2);inputBindingEnabled=C$2(At,{optional:true})!==null;titleStrategy=C$2(hr$1);options=C$2(we,{optional:true})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Ri;urlHandlingStrategy=C$2(Tt);createViewTransition=C$2(xn,{optional:true});navigationErrorHandler=C$2($n,{optional:true});activatedRouteInjectorFeature=C$2(kn,{optional:true});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>jg(void 0);rootComponentType=null;destroyed=false;constructor(){let e=i=>this.events.next(new pt$1(i)),r=i=>this.events.next(new gt(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=true;});}complete(){this.transitions?.complete();}handleNavigationRequest(e){let r$1=++this.navigationId;Jw(()=>{this.transitions?.next(s(r({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r$1,routesRecognizeHandler:{},beforeActivateHandler:{}}));});}setupNavigations(e){return this.transitions=new On$3(null),this.transitions.pipe(sn$2(r=>r!==null),Yl$1(r$1=>{let i=true,o=false,a=new AbortController,c=()=>!o&&this.currentTransition?.id===r$1.id;return jg(r$1).pipe(Yl$1(s$1=>{if(this.navigationId>r$1.id)return this.cancelNavigationTransition(r$1,"",b.SupersededByNewNavigation),yt$2;this.currentTransition=r$1;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s$1.id,initialUrl:s$1.rawUrl,extractedUrl:s$1.extractedUrl,targetBrowserUrl:typeof s$1.extras.browserUrl=="string"?this.urlSerializer.parse(s$1.extras.browserUrl):s$1.extras.browserUrl,trigger:s$1.source,extras:s$1.extras,previousNavigation:u?s(r({},u),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:s$1.routesRecognizeHandler,beforeActivateHandler:s$1.beforeActivateHandler});let h=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=s$1.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!h&&v!=="reload")return this.events.next(new G(s$1.id,this.urlSerializer.serialize(s$1.rawUrl),"",Oe.IgnoredSameUrlNavigation)),s$1.resolve(false),yt$2;if(this.urlHandlingStrategy.shouldProcessUrl(s$1.rawUrl))return jg(s$1).pipe(Yl$1(g=>(this.events.next(new ae(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),g.id!==this.navigationId?yt$2:Promise.resolve(g))),co$1(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),Kl$1(g=>{r$1.targetSnapshot=g.targetSnapshot,r$1.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation.update(E=>(E.finalUrl=g.urlAfterRedirects,E)),this.events.next(new Le);}),Yl$1(g=>Ne$2(r$1.routesRecognizeHandler.deferredHandle??jg(void 0)).pipe(Me$2(()=>g))),Kl$1(()=>{let g=new Pe$1(s$1.id,this.urlSerializer.serialize(s$1.extractedUrl),this.urlSerializer.serialize(s$1.urlAfterRedirects),s$1.targetSnapshot);this.events.next(g);}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(s$1.currentRawUrl)){let{id:g,extractedUrl:E,source:k,restoredState:X,extras:be}=s$1,Dt=new ae(g,this.urlSerializer.serialize(E),k,X);this.events.next(Dt);let qe=yn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r$1=s(r({},s$1),{targetSnapshot:qe,urlAfterRedirects:E,extras:s(r({},be),{skipLocationChange:false,replaceUrl:false})}),this.currentNavigation.update(ee=>(ee.finalUrl=E,ee)),jg(r$1)}else return this.events.next(new G(s$1.id,this.urlSerializer.serialize(s$1.extractedUrl),"",Oe.IgnoredByUrlHandlingStrategy)),s$1.resolve(false),yt$2}),Me$2(s$1=>{let u=new lt(s$1.id,this.urlSerializer.serialize(s$1.extractedUrl),this.urlSerializer.serialize(s$1.urlAfterRedirects),s$1.targetSnapshot);return this.events.next(u),this.currentTransition=r$1=s(r({},s$1),{guards:Ii(s$1.targetSnapshot,s$1.currentSnapshot,this.rootContexts)}),r$1}),Li(s=>this.events.next(s)),Yl$1(s=>{if(r$1.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw wt(this.urlSerializer,s.guardsResult);let u=new ht(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(u),!c())return yt$2;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",b.GuardRejected),yt$2;if(s.guards.canActivateChecks.length===0)return jg(s);let h=new dt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(h),!c())return yt$2;let v=false;return jg(s).pipe(uo$1(this.paramsInheritanceStrategy),Kl$1({next:()=>{v=true;let g=new ft(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(g);},complete:()=>{v||this.cancelNavigationTransition(s,"",b.NoDataFromResolver);}}))}),Jr$1(s=>{let u=v=>{let g=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let E=v._environmentInjector;g.push(this.configLoader.loadComponent(E,v.routeConfig).then(k=>{v.component=k;}));}for(let E of v.children)g.push(...u(E));return g},h=u(s.targetSnapshot.root);return h.length===0?jg(s):Ne$2(Promise.all(h).then(()=>s))}),Yl$1(s$1=>{let{newlyCreatedRoutes:u,state:h}=Si$1(e.routeReuseStrategy,s$1.targetSnapshot,s$1.currentRouterState);return this.currentTransition=r$1=s$1=s(r({},s$1),{targetRouterState:h,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=h,v)),jg(s$1)}),this.activatedRouteInjectorFeature?.operator()??(s=>s),Jr$1(()=>this.afterPreactivation()),Yl$1(()=>{let{currentSnapshot:s,targetSnapshot:u}=r$1,h=this.createViewTransition?.(this.environmentInjector,s.root,u.root);return h?Ne$2(h).pipe(Me$2(()=>r$1)):jg(r$1)}),vt$3(1),Yl$1(s=>{i=false,this.events.next(new pe);let u=r$1.beforeActivateHandler.deferredHandle;return u?Ne$2(u.then(()=>s)):jg(s)}),Kl$1(s=>{new Xt(e.routeReuseStrategy,r$1.targetRouterState,r$1.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s.newlyCreatedRoutes?.clear(),c()&&(o=true,this.currentNavigation.update(u=>(u.abort=go$1,u)),this.lastSuccessfulNavigation.set(Jw(this.currentNavigation)),this.events.next(new H(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(true));}),cm(En(a.signal).pipe(sn$2(()=>!o&&i),Kl$1(()=>{this.cancelNavigationTransition(r$1,a.signal.reason+"",b.Aborted);}))),Kl$1({complete:()=>{o=true;}}),cm(this.transitionAbortWithErrorSubject.pipe(Kl$1(s=>{throw s}))),zl$1(()=>{a.abort(),o||this.cancelNavigationTransition(r$1,"",b.SupersededByNewNavigation),this.currentTransition?.id===r$1.id&&(this.currentNavigation.set(null),this.currentTransition=null);}),ss$1(s=>{if(o=true,Xr$1(r$1),this.destroyed)return r$1.resolve(false),yt$2;if(In(s))this.events.next(new x(r$1.id,this.urlSerializer.serialize(r$1.extractedUrl),s.message,s.cancellationCode)),bi$1(s)?this.events.next(new ge(s.url,s.navigationBehaviorOptions)):r$1.resolve(false);else {let u=new se(r$1.id,this.urlSerializer.serialize(r$1.extractedUrl),s,r$1.targetSnapshot??void 0);try{let h=Ro$3(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(h instanceof me){let{message:v,cancellationCode:g}=wt(this.urlSerializer,h);this.events.next(new x(r$1.id,this.urlSerializer.serialize(r$1.extractedUrl),v,g)),this.events.next(new ge(h.redirectTo,h.navigationBehaviorOptions));}else throw this.events.next(u),s}catch(h){this.options.resolveNavigationPromiseOnError?r$1.resolve(false):r$1.reject(h);}}return yt$2}))}))}cancelNavigationTransition(e,r,i){Xr$1(e);let o=new x(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(false);}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(true))),r=Jw(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:t.\u0275fac})}return t})();function vo$1(t){return t!==Me}function Xr$1(t){if(t.newlyCreatedRoutes)for(let n of t.newlyCreatedRoutes)n._localInjector?.destroy();}var Hn=new A$2("");var Fn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:()=>C$2(mo$1)})}return t})(),It=class{shouldDetach(n){return false}store(n,e){}shouldAttach(n){return false}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return true}},mo$1=(()=>{class t extends It{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:t.\u0275fac})}return t})(),Nt=(()=>{class t{urlSerializer=C$2(Re);options=C$2(we,{optional:true})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=C$2(Nn$2);urlHandlingStrategy=C$2(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new A;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,a=i??o;return a instanceof A?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i;}routerState=yn(null,C$2(ue$2));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento();}createStateMemento(){return {rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:()=>C$2(yo$1)})}return t})(),yo$1=(()=>{class t extends Nt{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:true});});})}handleRouterEvent(e,r){e instanceof ae?this.updateStateMemento():e instanceof G?this.commitTransition(r):e instanceof Pe$1?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof pe?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof x&&!mn$1(e)?this.restoreHistory(r):e instanceof se?this.restoreHistory(r,true):e instanceof H&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId);}setBrowserUrl(e,r$1){let{extras:i,id:o}=r$1,{replaceUrl:a,state:c}=i;if(this.location.isCurrentPathEqualTo(e)||a){let s=this.browserPageId,u=r(r({},c),this.generateNgRouterState(o,s,r$1));this.location.replaceState(e,"",u);}else {let s=r(r({},c),this.generateNgRouterState(o,this.browserPageId+1,r$1));this.location.go(e,"",s);}}restoreHistory(e,r=false){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree);}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId));}generateNgRouterState(e,r$1,i){return this.canceledNavigationResolution==="computed"?r({navigationId:e,\u0275routerPageId:r$1},this.routerUrlState(i)):r({navigationId:e},this.routerUrlState(i))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:t.\u0275fac})}return t})();function dr$1(t,n){t.events.pipe(sn$2(e=>e instanceof H||e instanceof x||e instanceof se||e instanceof G),Me$2(e=>e instanceof H||e instanceof G?0:(e instanceof x?e.code===b.Redirect||e.code===b.SupersededByNewNavigation:false)?2:1),sn$2(e=>e!==2),vt$3(1)).subscribe(()=>{n();});}var ue=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=false;nonRouterCurrentEntryChangeSubscription;console=C$2(ID);stateManager=C$2(Nt);options=C$2(we,{optional:true})||{};pendingTasks=C$2(Ft$2);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=C$2(zn);urlSerializer=C$2(Re);location=C$2(Nn$2);urlHandlingStrategy=C$2(Tt);injector=C$2(ue$2);_events=new re;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=false;routeReuseStrategy=C$2(Fn);injectorCleanup=C$2(Hn,{optional:true});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=C$2(Fe,{optional:true})?.flat()??[];componentInputBindingEnabled=!!C$2(At,{optional:true});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents();}eventsSubscription=new H$1;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r$1=>{try{let i=this.navigationTransitions.currentTransition,o=Jw(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r$1,o),r$1 instanceof x&&r$1.code!==b.Redirect&&r$1.code!==b.SupersededByNewNavigation)this.navigated=!0;else if(r$1 instanceof H)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r$1 instanceof ge){let a=r$1.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r$1.url,i.currentRawUrl),s=r({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||vo$1(i.source)},a);this.scheduleNavigation(c,Me,null,s,{resolve:i.resolve,reject:i.reject,promise:i.promise});}}mi(r$1)&&this._events.next(r$1);}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i);}});this.eventsSubscription.add(e);}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e;}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(true),Me,this.stateManager.restoredState(),{replaceUrl:true});}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o);});}navigateToSyncWithBrowser(e,r$1,i,o){let a=i?.navigationId?i:null,c=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=s(r({},o),{browserUrl:e})),i){let u=r({},i);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(o.state=u);}let s$1=this.parseUrl(c);this.scheduleNavigation(s$1,r$1,a,o).catch(u=>{this.disposed||this.injector.get(jt$2)(u);});}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Jw(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(lr$1),this.navigated=false;}ngOnDestroy(){this.dispose();}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=true,this.eventsSubscription.unsubscribe();}createUrlTree(e,r$1={}){let{relativeTo:i,queryParams:o,fragment:a,queryParamsHandling:c,preserveFragment:s}=r$1,u=s?this.currentUrlTree.fragment:a,h=null;switch(c??this.options.defaultQueryParamsHandling){case "merge":h=r(r({},this.currentUrlTree.queryParams),o);break;case "preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null;}h!==null&&(h=this.removeEmptyProps(h));let v;try{let g=i?i.snapshot:this.routerState.snapshot.root;v=fn(g);}catch(g){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root;}return pn$1(v,e,h,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:false}){let i=J(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Me,null,r)}navigate(e,r={skipLocationChange:false}){return Ro$1(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(Yn$3(4018,false)),this.urlSerializer.parse("/")}}isActive(e,r$1){let i;if(r$1===true?i=r({},ir$1):r$1===false?i=r({},_e):i=r(r({},_e),r$1),J(e))return Vt(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Vt(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,a){if(this.disposed)return Promise.resolve(false);let c,s,u;a?(c=a.resolve,s=a.reject,u=a.promise):u=new Promise((v,g)=>{c=v,s=g;});let h=this.pendingTasks.add();return dr$1(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h));}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:c,reject:s,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:t.\u0275fac})}return t})();function Ro$1(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new _$2(4008,false)}var Co$1=(()=>{class t{router=C$2(ue);stateManager=C$2(Nt);fragment=Go$2("");queryParams=Go$2({});path=Go$2("");serializer=C$2(Re);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof H&&this.updateState();});}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new A(r)));}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Sr$3({token:t,factory:t.\u0275fac})}return t})(),Mt=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=C$2(new tg("href"),{optional:true});reactiveHref=eT(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Jw(this.reactiveHref)}set href(e){this.reactiveHref.set(e);}set target(e){this._target.set(e);}get target(){return Jw(this._target)}_target=Go$2(void 0);set queryParams(e){this._queryParams.set(e);}get queryParams(){return Jw(this._queryParams)}_queryParams=Go$2(void 0,{equal:()=>false});set fragment(e){this._fragment.set(e);}get fragment(){return Jw(this._fragment)}_fragment=Go$2(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e);}get queryParamsHandling(){return Jw(this._queryParamsHandling)}_queryParamsHandling=Go$2(void 0);set state(e){this._state.set(e);}get state(){return Jw(this._state)}_state=Go$2(void 0,{equal:()=>false});set info(e){this._info.set(e);}get info(){return Jw(this._info)}_info=Go$2(void 0,{equal:()=>false});set relativeTo(e){this._relativeTo.set(e);}get relativeTo(){return Jw(this._relativeTo)}_relativeTo=Go$2(void 0);set preserveFragment(e){this._preserveFragment.set(e);}get preserveFragment(){return Jw(this._preserveFragment)}_preserveFragment=Go$2(false);set skipLocationChange(e){this._skipLocationChange.set(e);}get skipLocationChange(){return Jw(this._skipLocationChange)}_skipLocationChange=Go$2(false);set replaceUrl(e){this._replaceUrl.set(e);}get replaceUrl(){return Jw(this._replaceUrl)}_replaceUrl=Go$2(false);browserUrl=q0$1(void 0);isAnchorElement;onChanges=new re;applicationErrorHandler=C$2(jt$2);options=C$2(we,{optional:true});reactiveRouterState=C$2(Co$1);constructor(e,r,i,o,a,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=a,this.locationStrategy=c;let s=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=s==="a"||s==="area"||!!(typeof customElements=="object"&&customElements.get(s)?.observedAttributes?.includes?.("href"));}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e);}ngOnChanges(e){this.onChanges.next(this);}routerLinkInput=Go$2(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(J(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"));}onClick(e,r$1,i,o,a){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r$1||i||o||a||typeof this.target=="string"&&this.target!="_self"))return true;let s=this.browserUrl(),u=r({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},s!==void 0&&{browserUrl:s});return this.router.navigateByUrl(c,u)?.catch(h=>{this.applicationErrorHandler(h);}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e);}_urlTree=Kw(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:J(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return Jw(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(Lr$3(ue),Lr$3(W),mf("tabindex"),Lr$3(nE),Lr$3(Nr$3),Lr$3(je$2))};static \u0275dir=rD({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&yh("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&lh("href",i.reactiveHref(),Cv)("target",i._target());},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",K0$1],skipLocationChange:[2,"skipLocationChange","skipLocationChange",K0$1],replaceUrl:[2,"replaceUrl","replaceUrl",K0$1],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[fy]})}return t})(),wo$1=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=false;get isActive(){return this._isActive}routerLinkActiveOptions={exact:false};ariaCurrentWhenActive;isActiveChange=new Fe$1;link=C$2(Mt,{optional:true});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof H&&this.update();});}ngAfterContentInit(){jg(this.links.changes,jg(null)).pipe(Hn$3()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Ne$2(e).pipe(Hn$3()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update();});}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i);}ngOnChanges(e){this.update();}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe();}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r);}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e));});}isLinkActive(e){let r$1=bo$1(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??false?r({},ir$1):r({},_e);return i=>{let o=i.urlTree;return o?Jw(or$1(o,e,r$1)):false}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(Lr$3(ue),Lr$3(Nr$3),Lr$3(nE),Lr$3(Z0$1))};static \u0275dir=rD({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Eh(o,Mt,5),r&2){let a;JD(a=XD())&&(i.links=a);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[fy]})}return t})();function bo$1(t){let n=t;return !!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Io$1=new A$2("");function Ao$1(t,...n){return Cu([{provide:Fe,multi:true,useValue:t},{provide:W,useFactory:Eo$1},{provide:ah,multi:true,useFactory:To$1},n.map(e=>e.\u0275providers)])}function Eo$1(){return C$2(ue).routerState.root}function To$1(){let t=C$2(De$2);return n=>{let e=t.get($i$3);if(n!==e.components[0])return;let r=t.get(ue),i=t.get(No$1);t.get(Mo$1)===1&&r.initialNavigation(),t.get(Do$1,null,{optional:true})?.setUpPreloading(),t.get(Io$1,null,{optional:true})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe());}}var No$1=new A$2("",{factory:()=>new re}),Mo$1=new A$2("",{factory:()=>1});var Do$1=new A$2("");
|
|
235
|
-
var Yi=["hourListElement"],Wi=["minuteListElement"],Qi=["secondListElement"],Ui=["use12HoursListElement"];function ji(t,a){if(t&1&&(Ni$3(0,"div",4)(1,"div",8),_w(2),tl$1()()),t&2){let e=zD();vI(2),Vh(e.formatTimeValue()||"\xA0");}}function qi(t,a){if(t&1){let e=HD();Ni$3(0,"li",10),yh("click",function(){Vu(e);let n=zD().$implicit,o=zD(2);return Hu(o.selectHour(n))}),Ni$3(1,"div",11),_w(2),Uw(3,"number"),tl$1()();}if(t&2){let e=zD().$implicit,i=zD(2);Nh("ant-picker-time-panel-cell-selected",i.isSelectedHour(e))("ant-picker-time-panel-cell-disabled",e.disabled),vI(2),Vh(Gw(3,5,e.index,"2.0-0"));}}function Xi(t,a){if(t&1&&ND(0,qi,4,8,"li",9),t&2){let e=a.$implicit,i=zD(2);xD(i.nzHideDisabledOptions&&e.disabled?-1:0);}}function Zi(t,a){if(t&1&&(Ni$3(0,"ul",6,0),kD(2,Xi,1,1,null,null,AD),tl$1()),t&2){let e=zD();vI(2),OD(e.hourRange);}}function Ki(t,a){if(t&1){let e=HD();Ni$3(0,"li",10),yh("click",function(){Vu(e);let n=zD().$implicit,o=zD(2);return Hu(o.selectMinute(n))}),Ni$3(1,"div",11),_w(2),Uw(3,"number"),tl$1()();}if(t&2){let e=zD().$implicit,i=zD(2);Nh("ant-picker-time-panel-cell-selected",i.isSelectedMinute(e))("ant-picker-time-panel-cell-disabled",e.disabled),vI(2),Vh(Gw(3,5,e.index,"2.0-0"));}}function Gi(t,a){if(t&1&&ND(0,Ki,4,8,"li",9),t&2){let e=a.$implicit,i=zD(2);xD(i.nzHideDisabledOptions&&e.disabled?-1:0);}}function Ji(t,a){if(t&1&&(Ni$3(0,"ul",6,1),kD(2,Gi,1,1,null,null,AD),tl$1()),t&2){let e=zD();vI(2),OD(e.minuteRange);}}function ea(t,a){if(t&1){let e=HD();Ni$3(0,"li",10),yh("click",function(){Vu(e);let n=zD().$implicit,o=zD(2);return Hu(o.selectSecond(n))}),Ni$3(1,"div",11),_w(2),Uw(3,"number"),tl$1()();}if(t&2){let e=zD().$implicit,i=zD(2);Nh("ant-picker-time-panel-cell-selected",i.isSelectedSecond(e))("ant-picker-time-panel-cell-disabled",e.disabled),vI(2),Vh(Gw(3,5,e.index,"2.0-0"));}}function ta(t,a){if(t&1&&ND(0,ea,4,8,"li",9),t&2){let e=a.$implicit,i=zD(2);xD(i.nzHideDisabledOptions&&e.disabled?-1:0);}}function na(t,a){if(t&1&&(Ni$3(0,"ul",6,2),kD(2,ta,1,1,null,null,AD),tl$1()),t&2){let e=zD();vI(2),OD(e.secondRange);}}function ia(t,a){if(t&1){let e=HD();Ni$3(0,"li",10),yh("click",function(){let n=Vu(e).$implicit,o=zD(2);return Hu(o.select12Hours(n))}),Ni$3(1,"div",11),_w(2),tl$1()();}if(t&2){let e=a.$implicit,i=zD(2);Nh("ant-picker-time-panel-cell-selected",i.isSelected12Hours(e)),vI(2),Vh(e.value);}}function aa(t,a){if(t&1&&(Ni$3(0,"ul",6,3),kD(2,ia,3,3,"li",12,RD),tl$1()),t&2){let e=zD();vI(2),OD(e.use12HoursRange);}}function oa(t,a){}function ra(t,a){if(t&1&&(Ni$3(0,"div",13),oh(1,oa,0,0,"ng-template",19),tl$1()),t&2){let e=zD(2);vI(),uh("ngTemplateOutlet",e.nzAddOn);}}function la(t,a){if(t&1){let e=HD();Ni$3(0,"div",7),ND(1,ra,2,1,"div",13),Ni$3(2,"ul",14)(3,"li",15)(4,"a",16),yh("click",function(){Vu(e);let n=zD();return Hu(n.onClickNow())}),_w(5),Uw(6,"nzI18n"),tl$1()(),Ni$3(7,"li",17)(8,"button",18),yh("click",function(){Vu(e);let n=zD();return Hu(n.onClickOk())}),_w(9),Uw(10,"nzI18n"),tl$1()()()();}if(t&2){let e=zD();vI(),xD(e.nzAddOn?1:-1),vI(4),sl$2(" ",e.nzNowText||Ww(6,3,"Calendar.lang.now")," "),vI(4),sl$2(" ",e.nzOkText||Ww(10,5,"Calendar.lang.ok")," ");}}var sa=["inputElement"];function ca(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD();vI(),Vh(e);}}function da(t,a){t&1&&(Ni$3(0,"span",1),oh(1,ca,2,1,"ng-container",5),tl$1()),t&2&&(vI(),uh("nzStringTemplateOutlet",a));}function pa(t,a){if(t&1&&(ol$1(0),dh(1,"nz-icon",9),il$2()),t&2){let e=a.$implicit;vI(),uh("nzType",e);}}function ua(t,a){if(t&1&&dh(0,"nz-form-item-feedback-icon",6),t&2){let e=zD();uh("status",e.status);}}function ma(t,a){if(t&1){let e=HD();Ni$3(0,"span",10),yh("click",function(n){Vu(e);let o=zD();return Hu(o.onClickClearBtn(n))}),dh(1,"nz-icon",11),tl$1();}if(t&2){let e=zD();vI(),lh("aria-label",e.nzClearText)("title",e.nzClearText);}}function _a(t,a){if(t&1){let e=HD();Ni$3(0,"div",12),si$3(function(){Vu(e);let n=zD();return Hu(n.timepickerAnimationLeave())}),ii$3(function(){Vu(e);let n=zD();return Hu(n.timepickerAnimationEnter())}),Ni$3(1,"div",13)(2,"div",14)(3,"nz-time-picker-panel",15),Uw(4,"async"),Uh("ngModelChange",function(n){Vu(e);let o=zD();return Nw(o.value,n)||(o.value=n),Hu(n)}),yh("ngModelChange",function(n){Vu(e);let o=zD();return Hu(o.onPanelValueChange(n))})("closePanel",function(){Vu(e);let n=zD();return Hu(n.closePanel())}),tl$1(),cE(),tl$1()()();}if(t&2){let e=zD();mw(e.dropdownTimePickerClass()),vI(3),mw(e.nzPopupClassName),uh("format",e.nzFormat)("nzHourStep",e.nzHourStep)("nzMinuteStep",e.nzMinuteStep)("nzSecondStep",e.nzSecondStep)("nzDisabledHours",e.nzDisabledHours)("nzDisabledMinutes",e.nzDisabledMinutes)("nzDisabledSeconds",e.nzDisabledSeconds)("nzPlaceHolder",e.nzPlaceHolder||Ww(4,21,e.i18nPlaceHolder$))("nzHideDisabledOptions",e.nzHideDisabledOptions)("nzUse12Hours",e.nzUse12Hours)("nzDefaultOpenValue",e.nzDefaultOpenValue)("nzAddOn",e.nzAddOn)("nzClearText",e.nzClearText)("nzNowText",e.nzNowText)("nzOkText",e.nzOkText)("nzAllowEmpty",e.nzAllowEmpty),$h("ngModel",e.value),uE();}}var sn=class{selected12Hours=void 0;_value;_use12Hours=false;_defaultOpenValue;_changes=new re;setMinutes(a,e){return e||(this.initValue(),this.value.setMinutes(a),this.update()),this}setHours(a,e){return e||(this.initValue(),this._use12Hours?this.selected12Hours==="PM"&&a!==12?this.value.setHours(a+12):this.selected12Hours==="AM"&&a===12?this.value.setHours(0):this.value.setHours(a):this.value.setHours(a),this.update()),this}setSeconds(a,e){return e||(this.initValue(),this.value.setSeconds(a),this.update()),this}setUse12Hours(a){return this._use12Hours=a,this}get changes(){return this._changes.asObservable()}setValue(a,e){return X3(e)&&(this._use12Hours=e),a!==this.value&&(this._value=a,X3(this.value)?this._use12Hours&&X3(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this}initValue(){b9(this.value)&&this.setValue(new Date,this._use12Hours);}clear(){this._clear(),this.update();}get isEmpty(){return !(X3(this.hours)||X3(this.minutes)||X3(this.seconds))}_clear(){this._value=void 0,this.selected12Hours=void 0;}update(){this.isEmpty?this._value=void 0:(X3(this.hours)&&this.value.setHours(this.hours),X3(this.minutes)&&this.value.setMinutes(this.minutes),X3(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&(this.selected12Hours==="PM"&&this.hours<12&&this.value.setHours(this.hours+12),this.selected12Hours==="AM"&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed();}changed(){this._changes.next(this.value);}get viewHours(){return this._use12Hours&&X3(this.hours)?this.calculateViewHour(this.hours):this.hours}setSelected12Hours(a){a.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=a.toUpperCase(),this.update());}get value(){return this._value||this._defaultOpenValue}get hours(){return this.value?.getHours()}get minutes(){return this.value?.getMinutes()}get seconds(){return this.value?.getSeconds()}setDefaultOpenValue(a){return this._defaultOpenValue=a,this}calculateViewHour(a){let e=this.selected12Hours;return e==="PM"&&a>12?a-12:e==="AM"&&a===0?12:a}};function ln(t,a=1,e=0){return new Array(Math.ceil(t/a)).fill(0).map((i,n)=>(n+e)*a)}var en=(()=>{class t{dateAdapter=C$2(h3);ngZone=C$2(oe$3);cdr=C$2(Z0$1);elementRef=C$2(Nr$3);destroyRef=C$2(at$1);_nzHourStep=1;_nzMinuteStep=1;_nzSecondStep=1;onChange;onTouch;_format="HH:mm:ss";_disabledHours=()=>[];_disabledMinutes=()=>[];_disabledSeconds=()=>[];_allowEmpty=true;time=new sn;hourEnabled=true;minuteEnabled=true;secondEnabled=true;firstScrolled=false;enabledColumns=3;hourRange;minuteRange;secondRange;use12HoursRange;hourListElement;minuteListElement;secondListElement;use12HoursListElement;nzInDatePicker=false;nzAddOn;nzHideDisabledOptions=false;nzClearText;nzNowText;nzOkText;nzPlaceHolder;nzUse12Hours=false;nzDefaultOpenValue;closePanel=new Fe$1;set nzAllowEmpty(e){this._allowEmpty=e;}get nzAllowEmpty(){return this._allowEmpty}set nzDisabledHours(e){this._disabledHours=e,this._disabledHours&&this.buildHours();}get nzDisabledHours(){return this._disabledHours}set nzDisabledMinutes(e){X3(e)&&(this._disabledMinutes=e,this.buildMinutes());}get nzDisabledMinutes(){return this._disabledMinutes}set nzDisabledSeconds(e){X3(e)&&(this._disabledSeconds=e,this.buildSeconds());}get nzDisabledSeconds(){return this._disabledSeconds}set format(e){if(X3(e)){this._format=e,this.enabledColumns=0;let i=new Set(e);this.hourEnabled=i.has("H")||i.has("h"),this.minuteEnabled=i.has("m"),this.secondEnabled=i.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours();}}get format(){return this._format}set nzHourStep(e){this._nzHourStep=e||1,this.buildHours();}get nzHourStep(){return this._nzHourStep}set nzMinuteStep(e){this._nzMinuteStep=e||1,this.buildMinutes();}get nzMinuteStep(){return this._nzMinuteStep}set nzSecondStep(e){this._nzSecondStep=e||1,this.buildSeconds();}get nzSecondStep(){return this._nzSecondStep}buildHours(){let e=24,i=this.nzDisabledHours?.(),n=0;if(this.nzUse12Hours&&(e=12,i&&(this.time.selected12Hours==="PM"?i=i.filter(o=>o>=12).map(o=>o>12?o-12:o):i=i.filter(o=>o<12||o===24).map(o=>o===24||o===0?12:o)),n=1),this.hourRange=ln(e,this.nzHourStep,n).map(o=>({index:o,disabled:!!i&&i.indexOf(o)!==-1})),this.nzUse12Hours&&this.hourRange[this.hourRange.length-1].index===12){let o=[...this.hourRange];o.unshift(o[o.length-1]),o.splice(o.length-1,1),this.hourRange=o;}}buildMinutes(){this.minuteRange=ln(60,this.nzMinuteStep).map(e=>({index:e,disabled:!!this.nzDisabledMinutes&&this.nzDisabledMinutes(this.time.hours).indexOf(e)!==-1}));}buildSeconds(){this.secondRange=ln(60,this.nzSecondStep).map(e=>({index:e,disabled:!!this.nzDisabledSeconds&&this.nzDisabledSeconds(this.time.hours,this.time.minutes).indexOf(e)!==-1}));}build12Hours(){let e=this._format.includes("A");this.use12HoursRange=[{index:0,value:e?"AM":"am"},{index:1,value:e?"PM":"pm"}];}buildTimes(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours();}scrollToTime(e=0){if(this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,e,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,e,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,e,"second"),this.nzUse12Hours&&this.use12HoursListElement){let n=this.time.selected12Hours==="AM"?0:1;this.scrollToSelected(this.use12HoursListElement.nativeElement,n,e,"12-hour");}}selectHour(e){this.time.setHours(e.index,e.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds();}selectMinute(e){this.time.setMinutes(e.index,e.disabled),this._disabledSeconds&&this.buildSeconds();}selectSecond(e){this.time.setSeconds(e.index,e.disabled);}select12Hours(e){this.time.setSelected12Hours(e.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds();}scrollToSelected(e,i,n=0,o){if(!e)return;let u=this.translateIndex(i,o),z=e.children[u]||e.children[0];this.scrollTo(e,z.offsetTop,n);}translateIndex(e,i){return i==="hour"?this.calcIndex(this.nzDisabledHours?.(),this.hourRange.map(n=>n.index).indexOf(e)):i==="minute"?this.calcIndex(this.nzDisabledMinutes?.(this.time.hours),this.minuteRange.map(n=>n.index).indexOf(e)):i==="second"?this.calcIndex(this.nzDisabledSeconds?.(this.time.hours,this.time.minutes),this.secondRange.map(n=>n.index).indexOf(e)):this.calcIndex([],this.use12HoursRange.map(n=>n.index).indexOf(e))}scrollTo(e,i,n){if(n<=0){e.scrollTop=i;return}let u=(i-e.scrollTop)/n*10;this.ngZone.runOutsideAngular(()=>{V1(()=>{e.scrollTop=e.scrollTop+u,e.scrollTop!==i&&this.scrollTo(e,i,n-10);});});}calcIndex(e,i){return e?.length&&this.nzHideDisabledOptions?i-e.reduce((n,o)=>n+(o<i?1:0),0):i}changed(){this.onChange&&this.onChange(this.time.value);}touched(){this.onTouch&&this.onTouch();}timeDisabled(e){let i=e.getHours(),n=e.getMinutes(),o=e.getSeconds();return (this.nzDisabledHours?.().indexOf(i)??-1)>-1||(this.nzDisabledMinutes?.(i).indexOf(n)??-1)>-1||(this.nzDisabledSeconds?.(i,n).indexOf(o)??-1)>-1}onClickNow(){let e=new Date;this.timeDisabled(e)||(this.time.setValue(e),this.changed(),this.closePanel.emit());}onClickOk(){this.time.setValue(this.time.value,this.nzUse12Hours),this.changed(),this.closePanel.emit();}isSelectedHour(e){return e.index===this.time.viewHours}isSelectedMinute(e){return e.index===this.time.minutes}isSelectedSecond(e){return e.index===this.time.seconds}isSelected12Hours(e){return e.value.toUpperCase()===this.time.selected12Hours}formatTimeValue(){let e=this.time.value;return e&&this.dateAdapter.isValid(e)?this.dateAdapter.format(e,this.format):""}ngOnInit(){this.time.changes.pipe(xt$1(this.destroyRef)).subscribe(()=>{this.changed(),this.touched(),this.scrollToTime(120);}),this.buildTimes(),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.scrollToTime(),this.firstScrolled=true;});}),Vt$1(this.elementRef.nativeElement,"mousedown").pipe(xt$1(this.destroyRef)).subscribe(e=>{e.preventDefault();});}ngOnChanges(e){let{nzUse12Hours:i,nzDefaultOpenValue:n}=e;!i?.previousValue&&i?.currentValue&&(this.build12Hours(),this.enabledColumns++),n?.currentValue&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date);}writeValue(e){this.time.setValue(e,this.nzUse12Hours),this.buildTimes(),e&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck();}registerOnChange(e){this.onChange=e;}registerOnTouched(e){this.onTouch=e;}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=JE({type:t,selectors:[["nz-time-picker-panel"]],viewQuery:function(i,n){if(i&1&&Dh(Yi,5)(Wi,5)(Qi,5)(Ui,5),i&2){let o;JD(o=XD())&&(n.hourListElement=o.first),JD(o=XD())&&(n.minuteListElement=o.first),JD(o=XD())&&(n.secondListElement=o.first),JD(o=XD())&&(n.use12HoursListElement=o.first);}},hostAttrs:[1,"ant-picker-time-panel"],hostVars:12,hostBindings:function(i,n){i&2&&Nh("ant-picker-time-panel-column-0",n.enabledColumns===0&&!n.nzInDatePicker)("ant-picker-time-panel-column-1",n.enabledColumns===1&&!n.nzInDatePicker)("ant-picker-time-panel-column-2",n.enabledColumns===2&&!n.nzInDatePicker)("ant-picker-time-panel-column-3",n.enabledColumns===3&&!n.nzInDatePicker)("ant-picker-time-panel-narrow",n.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!n.nzInDatePicker);},inputs:{nzInDatePicker:[2,"nzInDatePicker","nzInDatePicker",K0$1],nzAddOn:"nzAddOn",nzHideDisabledOptions:"nzHideDisabledOptions",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPlaceHolder:"nzPlaceHolder",nzUse12Hours:[2,"nzUse12Hours","nzUse12Hours",K0$1],nzDefaultOpenValue:"nzDefaultOpenValue",nzAllowEmpty:[2,"nzAllowEmpty","nzAllowEmpty",K0$1],nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:[2,"nzHourStep","nzHourStep",J0$1],nzMinuteStep:[2,"nzMinuteStep","nzMinuteStep",J0$1],nzSecondStep:[2,"nzSecondStep","nzSecondStep",J0$1]},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[Vw([{provide:d1,useExisting:bo$3(()=>t),multi:true}]),fy],decls:7,vars:6,consts:[["hourListElement",""],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],[1,"ant-picker-header"],[1,"ant-picker-content"],[1,"ant-picker-time-panel-column",2,"position","relative"],[1,"ant-picker-footer"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],[1,"ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected"],[1,"ant-picker-footer-extra"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-ok"],["nz-button","","type","button","nzSize","small","nzType","primary",3,"click"],[3,"ngTemplateOutlet"]],template:function(i,n){i&1&&(ND(0,ji,3,1,"div",4),Ni$3(1,"div",5),ND(2,Zi,4,0,"ul",6),ND(3,Ji,4,0,"ul",6),ND(4,na,4,0,"ul",6),ND(5,aa,4,0,"ul",6),tl$1(),ND(6,la,11,7,"div",7)),i&2&&(xD(n.nzInDatePicker?0:-1),vI(2),xD(n.hourEnabled?2:-1),vI(),xD(n.minuteEnabled?3:-1),vI(),xD(n.secondEnabled?4:-1),vI(),xD(n.nzUse12Hours?5:-1),vI(),xD(n.nzInDatePicker?-1:6));},dependencies:[Ur$2,j_,Vd,Fc,y7,A7,zr$2,R_],encapsulation:2})}return t})(),ha="timePicker",fa=(()=>{let t,a=[],e=[],i,n=[],o=[],u,z=[],D=[],Q,U=[],te=[],K,s=[],_=[],k,R=[],pe=[],Be,Le=[],_t=[],ht,qe=[],Xe=[],_n,hn=[],fn=[],Cn,gn=[],vn=[],xn,zn=[],kn=[],Sn,Tn=[],bn=[],yn,wn=[],Pn=[];return class Gt{static{let g=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[pt$2()],i=[pt$2()],u=[pt$2()],Q=[pt$2()],K=[pt$2()],k=[pt$2()],Be=[pt$2()],ht=[pt$2()],_n=[pt$2()],Cn=[pt$2()],xn=[pt$2()],Sn=[pt$2()],yn=[pt$2()],dC(null,null,t,{kind:"field",name:"nzVariant",static:false,private:false,access:{has:d=>"nzVariant"in d,get:d=>d.nzVariant,set:(d,C)=>{d.nzVariant=C;}},metadata:g},a,e),dC(null,null,i,{kind:"field",name:"nzHourStep",static:false,private:false,access:{has:d=>"nzHourStep"in d,get:d=>d.nzHourStep,set:(d,C)=>{d.nzHourStep=C;}},metadata:g},n,o),dC(null,null,u,{kind:"field",name:"nzMinuteStep",static:false,private:false,access:{has:d=>"nzMinuteStep"in d,get:d=>d.nzMinuteStep,set:(d,C)=>{d.nzMinuteStep=C;}},metadata:g},z,D),dC(null,null,Q,{kind:"field",name:"nzSecondStep",static:false,private:false,access:{has:d=>"nzSecondStep"in d,get:d=>d.nzSecondStep,set:(d,C)=>{d.nzSecondStep=C;}},metadata:g},U,te),dC(null,null,K,{kind:"field",name:"nzClearText",static:false,private:false,access:{has:d=>"nzClearText"in d,get:d=>d.nzClearText,set:(d,C)=>{d.nzClearText=C;}},metadata:g},s,_),dC(null,null,k,{kind:"field",name:"nzNowText",static:false,private:false,access:{has:d=>"nzNowText"in d,get:d=>d.nzNowText,set:(d,C)=>{d.nzNowText=C;}},metadata:g},R,pe),dC(null,null,Be,{kind:"field",name:"nzOkText",static:false,private:false,access:{has:d=>"nzOkText"in d,get:d=>d.nzOkText,set:(d,C)=>{d.nzOkText=C;}},metadata:g},Le,_t),dC(null,null,ht,{kind:"field",name:"nzPopupClassName",static:false,private:false,access:{has:d=>"nzPopupClassName"in d,get:d=>d.nzPopupClassName,set:(d,C)=>{d.nzPopupClassName=C;}},metadata:g},qe,Xe),dC(null,null,_n,{kind:"field",name:"nzFormat",static:false,private:false,access:{has:d=>"nzFormat"in d,get:d=>d.nzFormat,set:(d,C)=>{d.nzFormat=C;}},metadata:g},hn,fn),dC(null,null,Cn,{kind:"field",name:"nzUse12Hours",static:false,private:false,access:{has:d=>"nzUse12Hours"in d,get:d=>d.nzUse12Hours,set:(d,C)=>{d.nzUse12Hours=C;}},metadata:g},gn,vn),dC(null,null,xn,{kind:"field",name:"nzSuffixIcon",static:false,private:false,access:{has:d=>"nzSuffixIcon"in d,get:d=>d.nzSuffixIcon,set:(d,C)=>{d.nzSuffixIcon=C;}},metadata:g},zn,kn),dC(null,null,Sn,{kind:"field",name:"nzAllowEmpty",static:false,private:false,access:{has:d=>"nzAllowEmpty"in d,get:d=>d.nzAllowEmpty,set:(d,C)=>{d.nzAllowEmpty=C;}},metadata:g},Tn,bn),dC(null,null,yn,{kind:"field",name:"nzBackdrop",static:false,private:false,access:{has:d=>"nzBackdrop"in d,get:d=>d.nzBackdrop,set:(d,C)=>{d.nzBackdrop=C;}},metadata:g},wn,Pn),g&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:g});}_nzModuleName=ha;nzConfigService=C$2(Dt);i18n=C$2(Bn);dir=C$2(Ie).valueSignal;elementRef=C$2(Nr$3);renderer=C$2(nE);cdr=C$2(Z0$1);dateAdapter=C$2(h3);platform=C$2(J$1);destroyRef=C$2(at$1);_onChange;_onTouched;isNzDisableFirstChange=true;isInit=false;focused=false;inputValue="";value=null;preValue=null;inputSize;i18nPlaceHolder$=jg(void 0);prefixCls="ant-picker";statusCls={};status="";hasFeedback=false;get origin(){return this.elementRef}inputRef;nzId=null;nzSize="default";nzStatus="";nzVariant=fC(this,a,void 0);nzHourStep=(fC(this,e),fC(this,n,1));nzMinuteStep=(fC(this,o),fC(this,z,1));nzSecondStep=(fC(this,D),fC(this,U,1));nzClearText=(fC(this,te),fC(this,s,"clear"));nzNowText=(fC(this,_),fC(this,R,""));nzOkText=(fC(this,pe),fC(this,Le,""));nzPopupClassName=(fC(this,_t),fC(this,qe,""));nzPlaceHolder=(fC(this,Xe),"");nzAddOn;nzDefaultOpenValue;nzDisabledHours;nzDisabledMinutes;nzDisabledSeconds;nzFormat=fC(this,hn,"HH:mm:ss");nzOpen=(fC(this,fn),false);nzUse12Hours=fC(this,gn,false);nzSuffixIcon=(fC(this,vn),fC(this,zn,"clock-circle"));nzOpenChange=(fC(this,kn),new Fe$1);nzHideDisabledOptions=false;nzAllowEmpty=fC(this,Tn,true);nzDisabled=(fC(this,bn),false);nzAutoFocus=false;nzBackdrop=fC(this,wn,false);nzInputReadOnly=(fC(this,Pn),false);formSize=C$2(p1,{optional:true});formVariant=C$2(Ya$1,{optional:true});hasConfirmed=false;nzPrefix=q0$1();nzNeedConfirm=q0$1(false,{transform:K0$1});nzPlacement=q0$1("bottomLeft");currentPosition=eT(()=>f2[this.nzPlacement()]);overlayPositions=Kw(()=>[this.currentPosition(),...om]);timepickerAnimationEnter=Tr$1();timepickerAnimationLeave=Pr$1();emitValue(g){this.setValue(g,true),this._onChange&&this._onChange(this.value),this._onTouched&&this._onTouched();}setValue(g,d=false){let C=g&&this.dateAdapter.isValid(g);d&&(this.preValue=C?new Date(g):null),this.value=C?new Date(g):null,this.inputValue=C?this.dateAdapter.format(g,this.nzFormat):"",this.cdr.markForCheck();}open(){this.nzDisabled||this.nzOpen||(this.focus(),this.nzOpen=true,this.nzOpenChange.emit(this.nzOpen));}close(){this.nzOpen=false,this.cdr.markForCheck(),this.nzOpenChange.emit(this.nzOpen);}updateAutoFocus(){this.isInit&&!this.nzDisabled&&(this.nzAutoFocus?this.renderer.setAttribute(this.inputRef.nativeElement,"autofocus","autofocus"):this.renderer.removeAttribute(this.inputRef.nativeElement,"autofocus"));}onClickClearBtn(g){g.stopPropagation(),this.emitValue(null);}onClickOutside(g){let d=Ee$1(g);this.elementRef.nativeElement.contains(d)||this.setCurrentValueAndClose();}onFocus(g){this.focused=g,g||(this.checkTimeValid(this.value)?this.setCurrentValueAndClose():(this.setValue(this.preValue),this.close()));}focus(){this.inputRef.nativeElement&&this.inputRef.nativeElement.focus();}blur(){this.inputRef.nativeElement&&this.inputRef.nativeElement.blur();}onKeyupEsc(){this.setValue(this.preValue);}onKeyupEnter(){this.nzOpen&&this.value&&this.dateAdapter.isValid(this.value)?this.setCurrentValueAndClose():this.nzOpen||this.open();}onInputChange(g){!this.platform.TRIDENT&&document.activeElement===this.inputRef.nativeElement&&(this.open(),this.parseTimeString(g));}onPanelValueChange(g){this.setValue(g),this.focus();}closePanel(){this.hasConfirmed=true,this.inputRef.nativeElement.blur();}setCurrentValueAndClose(){this.hasConfirmed||!this.nzNeedConfirm()?(this.emitValue(this.value),this.hasConfirmed=false):this.setValue(this.preValue),this.close();}onPositionChange(g){this.currentPosition.set(g.connectionPair);}finalSize=Kw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());finalVariant=Kw(()=>this.variant()||this.formVariant?.()||"outlined");dropdownTimePickerClass=Kw(()=>{let g=[this.generateClass("dropdown")],{originX:d,originY:C}=this.currentPosition(),re=this.dir();return d==="start"&&C==="bottom"?g.push(this.generateClass("dropdown-placement-bottomLeft")):d==="start"&&C==="top"?g.push(this.generateClass("dropdown-placement-topLeft")):d==="end"&&C==="bottom"?g.push(this.generateClass("dropdown-placement-bottomRight")):d==="end"&&C==="top"&&g.push(this.generateClass("dropdown-placement-topRight")),re==="rtl"&&g.push(this.generateClass("dropdown-rtl")),g});size=Go$2(this.nzSize);variant=Go$2(this.nzVariant);compactSize=C$2(j1,{optional:true});nzFormStatusService=C$2(Oa$1,{optional:true});ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(em((g,d)=>g.status===d.status&&g.hasFeedback===d.hasFeedback),xt$1(this.destroyRef)).subscribe(({status:g,hasFeedback:d})=>{this.setStatusStyles(g,d);}),this.inputSize=Math.max(8,this.nzFormat.length)+2,this.i18nPlaceHolder$=this.i18n.localeChange.pipe(Me$2(g=>g.TimePicker.placeholder));}ngOnChanges({nzUse12Hours:g,nzFormat:d,nzDisabled:C,nzAutoFocus:re,nzStatus:Te,nzSize:ue,nzVariant:Dn}){if(g&&!g.previousValue&&g.currentValue&&!d&&(this.nzFormat="h:mm:ss a"),C){let Ii=C.currentValue,Mn=this.inputRef.nativeElement;Ii?this.renderer.setAttribute(Mn,"disabled",""):this.renderer.removeAttribute(Mn,"disabled");}re&&this.updateAutoFocus(),Te&&this.setStatusStyles(this.nzStatus,this.hasFeedback),ue&&this.size.set(ue.currentValue),Dn&&this.variant.set(Dn.currentValue);}parseTimeString(g){let d=this.dateAdapter.parseTime(g,this.nzFormat)||null;d&&this.dateAdapter.isValid(d)&&(this.value=d,this.cdr.markForCheck());}ngAfterViewInit(){this.isInit=true,this.updateAutoFocus();}writeValue(g){let d;g instanceof Date?d=g:b9(g)?d=null:(mt$2('Non-Date type is not recommended for time-picker, use "Date" type.'),d=new Date(g)),this.setValue(d,true);}registerOnChange(g){this._onChange=g;}registerOnTouched(g){this._onTouched=g;}setDisabledState(g){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||g,this.isNzDisableFirstChange=false,this.cdr.markForCheck();}checkTimeValid(g){if(!g)return true;let d=this.nzDisabledHours?.(),C=this.nzDisabledMinutes?.(g.getHours()),re=this.nzDisabledSeconds?.(g.getHours(),g.getMinutes());return !(d?.includes(g.getHours())||C?.includes(g.getMinutes())||re?.includes(g.getSeconds()))}setStatusStyles(g,d){this.status=g,this.hasFeedback=d,this.cdr.markForCheck(),this.statusCls=Go$1(this.prefixCls,g,d),Object.keys(this.statusCls).forEach(C=>{this.statusCls[C]?this.renderer.addClass(this.elementRef.nativeElement,C):this.renderer.removeClass(this.elementRef.nativeElement,C);});}generateClass(g){return H9(this.prefixCls,g)}static \u0275fac=function(d){return new(d||Gt)};static \u0275cmp=JE({type:Gt,selectors:[["nz-time-picker"]],viewQuery:function(d,C){if(d&1&&Dh(sa,7),d&2){let re;JD(re=XD())&&(C.inputRef=re.first);}},hostAttrs:[1,"ant-picker"],hostVars:18,hostBindings:function(d,C){d&1&&yh("click",function(){return C.open()}),d&2&&Nh("ant-picker-large",C.finalSize()==="large")("ant-picker-small",C.finalSize()==="small")("ant-picker-disabled",C.nzDisabled)("ant-picker-focused",C.focused)("ant-picker-rtl",C.dir()==="rtl")("ant-picker-outlined",C.finalVariant()==="outlined")("ant-picker-borderless",C.finalVariant()==="borderless")("ant-picker-filled",C.finalVariant()==="filled")("ant-picker-underlined",C.finalVariant()==="underlined");},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzVariant:"nzVariant",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPopupClassName:"nzPopupClassName",nzPlaceHolder:"nzPlaceHolder",nzAddOn:"nzAddOn",nzDefaultOpenValue:"nzDefaultOpenValue",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",nzFormat:"nzFormat",nzOpen:"nzOpen",nzUse12Hours:[2,"nzUse12Hours","nzUse12Hours",K0$1],nzSuffixIcon:"nzSuffixIcon",nzHideDisabledOptions:[2,"nzHideDisabledOptions","nzHideDisabledOptions",K0$1],nzAllowEmpty:[2,"nzAllowEmpty","nzAllowEmpty",K0$1],nzDisabled:[2,"nzDisabled","nzDisabled",K0$1],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",K0$1],nzBackdrop:"nzBackdrop",nzInputReadOnly:[2,"nzInputReadOnly","nzInputReadOnly",K0$1],nzPrefix:[1,"nzPrefix"],nzNeedConfirm:[1,"nzNeedConfirm"],nzPlacement:[1,"nzPlacement"]},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzTimePicker"],features:[Vw([{provide:d1,useExisting:bo$3(()=>Gt),multi:true},{provide:U1,useValue:"picker"}]),aD([X4]),fy],decls:10,vars:16,consts:[["inputElement",""],[1,"ant-picker-prefix"],[1,"ant-picker-input"],["type","text","autocomplete","off",3,"ngModelChange","focus","blur","keyup.enter","keyup.escape","size","placeholder","ngModel","disabled","readOnly"],[1,"ant-picker-suffix"],[4,"nzStringTemplateOutlet"],[3,"status"],[1,"ant-picker-clear"],["cdkConnectedOverlay","","nzConnectedOverlay","","cdkConnectedOverlayTransformOriginOn",".ant-picker-dropdown",3,"detach","overlayOutsideClick","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[3,"nzType"],[1,"ant-picker-clear",3,"click"],["nzType","close-circle","nzTheme","fill"],[2,"position","relative"],[1,"ant-picker-panel-container"],["tabindex","-1",1,"ant-picker-panel"],[3,"ngModelChange","closePanel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzPlaceHolder","nzHideDisabledOptions","nzUse12Hours","nzDefaultOpenValue","nzAddOn","nzClearText","nzNowText","nzOkText","nzAllowEmpty","ngModel"]],template:function(d,C){if(d&1){let re=HD();ND(0,da,2,1,"span",1),Ni$3(1,"div",2)(2,"input",3,0),Uw(4,"async"),Uh("ngModelChange",function(ue){return Vu(re),Nw(C.inputValue,ue)||(C.inputValue=ue),Hu(ue)}),yh("focus",function(){return C.onFocus(true)})("blur",function(){return C.onFocus(false)})("keyup.enter",function(){return C.onKeyupEnter()})("keyup.escape",function(){return C.onKeyupEsc()})("ngModelChange",function(ue){return C.onInputChange(ue)}),tl$1(),cE(),Ni$3(5,"span",4),oh(6,pa,2,1,"ng-container",5),ND(7,ua,1,1,"nz-form-item-feedback-icon",6),tl$1(),ND(8,ma,2,2,"span",7),tl$1(),oh(9,_a,5,23,"ng-template",8),yh("detach",function(){return C.close()})("overlayOutsideClick",function(ue){return C.onClickOutside(ue)})("positionChange",function(ue){return C.onPositionChange(ue)});}if(d&2){let re;xD((re=C.nzPrefix())?0:-1,re),vI(2),uh("size",C.inputSize)("placeholder",C.nzPlaceHolder||Ww(4,14,C.i18nPlaceHolder$)),$h("ngModel",C.inputValue),uh("disabled",C.nzDisabled)("readOnly",C.nzInputReadOnly),lh("id",C.nzId),uE(),vI(4),uh("nzStringTemplateOutlet",C.nzSuffixIcon),vI(),xD(C.hasFeedback&&C.status?7:-1),vI(),xD(C.nzAllowEmpty&&!C.nzDisabled&&C.value?8:-1),vI(),uh("cdkConnectedOverlayHasBackdrop",C.nzBackdrop)("cdkConnectedOverlayPositions",C.overlayPositions())("cdkConnectedOverlayOrigin",C.origin)("cdkConnectedOverlayOpen",C.nzOpen);}},dependencies:[_o$1,F4,go$2,F3,Pt,Ne$1,vt$1,ke$1,Ea$1,en,Sn$1,fi$1,wn$1,v1,Vr$2],encapsulation:2})}})(),Si=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=eD({type:t});static \u0275inj=hu({imports:[fa,en]})}return t})();function ga(t,a){if(t&1&&_w(0),t&2){let e=zD(2);Vh(e.extraFooter);}}function va(t,a){if(t&1&&(Ni$3(0,"div"),oh(1,ga,1,1,"ng-template",2),tl$1()),t&2){let e=zD();mw(kw("",e.prefixCls,"-footer-extra")),vI(),uh("nzStringTemplateOutlet",e.extraFooter);}}function xa(t,a){if(t&1){let e=HD();Ni$3(0,"a",3),yh("click",function(){Vu(e);let n=zD();return Hu(n.isTodayDisabled?null:n.onClickToday())}),_w(1),tl$1();}if(t&2){let e=zD();mw(Ow("",e.prefixCls,"-today-btn ",e.isTodayDisabled?e.prefixCls+"-today-btn-disabled":"")),uh("title",Rw(e.todayTitle)),vI(),sl$2(" ",e.locale.today," ");}}function za(t,a){t&1&&hh(0);}function ka(t,a){if(t&1){let e=HD();Ni$3(0,"li")(1,"a",5),yh("click",function(){Vu(e);let n=zD(2);return Hu(n.isTodayDisabled?null:n.onClickToday())}),_w(2),tl$1()();}if(t&2){let e=zD(2);mw(kw("",e.prefixCls,"-now")),vI(),mw(kw("",e.prefixCls,"-now-btn")),vI(),sl$2(" ",e.locale.now," ");}}function Sa(t,a){if(t&1){let e=HD();Ni$3(0,"li")(1,"button",6),yh("click",function(){Vu(e);let n=zD(2);return Hu(n.okDisabled?null:n.clickOk.emit())}),_w(2),tl$1()();}if(t&2){let e=zD(2);mw(kw("",e.prefixCls,"-ok")),vI(),uh("disabled",e.okDisabled),vI(),sl$2(" ",e.locale.ok," ");}}function Ta(t,a){if(t&1&&(Ni$3(0,"ul"),oh(1,za,1,0,"ng-container",4),ND(2,ka,3,7,"li",0),ND(3,Sa,3,5,"li",0),tl$1()),t&2){let e=zD();mw(kw("",e.prefixCls,"-ranges")),vI(),uh("ngTemplateOutlet",e.rangeQuickSelector),vI(),xD(e.showNow?2:-1),vI(),xD(e.hasTimePicker?3:-1);}}function pt(t,a){return this.trackBySelector(a)}function ba(t,a){if(t&1){let e=HD();nl$1(0,"button",6),vh("click",function(){let n=Vu(e).$implicit;return Hu(n.onClick())}),_w(1),rl$2();}if(t&2){let e=a.$implicit;mw(e.className),gh("title",Rw(e.title||null)),vI(),sl$2(" ",e.label," ");}}var oe=t=>({$implicit:t}),Pe=(t,a)=>a.trackByIndex;function ya(t,a){t&1&&dh(0,"th",3);}function wa(t,a){if(t&1&&(Ni$3(0,"th",4),_w(1),tl$1()),t&2){let e=a.$implicit;uh("title",e.title),vI(),sl$2(" ",e.content);}}function Pa(t,a){if(t&1&&(Ni$3(0,"thead")(1,"tr",2),ND(2,ya,1,0,"th",3),kD(3,wa,2,2,"th",4,AD),tl$1()()),t&2){let e=zD();vI(2),xD(e.showWeek?2:-1),vI(),OD(e.headRow);}}function Da(t,a){if(t&1&&(Ni$3(0,"td",7),_w(1),tl$1()),t&2){let e=zD().$implicit,i=zD();mw(kw("",i.prefixCls,"-cell-week")),vI(),sl$2(" ",e.weekNum);}}function Ma(t,a){if(t&1&&_w(0),t&2){let e=zD(3).$implicit;sl$2(" ",e.cellRender," ");}}function Va(t,a){if(t&1&&oh(0,Ma,1,1,"ng-template",10),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function Oa(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-cell-inner")),lh("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),vI(),sl$2(" ",e.content," ");}}function Ea(t,a){if(t&1&&ND(0,Va,1,4,null,10)(1,Oa,2,6,"div",11),t&2){let e=zD().$implicit;xD(e.cellRender?0:1);}}function Fa(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.fullCellRender," ");}}function Ia(t,a){if(t&1&&oh(0,Fa,2,1,"ng-container",12),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function Ra(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.cellRender," ");}}function Na(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1(),Ni$3(2,"div"),oh(3,Ra,2,1,"ng-container",12),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date-value")),vI(),Vh(e.content),vI(),mw(kw("",i.prefixCls,"-date-content")),vI(),uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(9,oe,e.value));}}function Ha(t,a){if(t&1&&(Ni$3(0,"div"),ND(1,Ia,1,4,"ng-container")(2,Na,4,11),tl$1()),t&2){let e=zD().$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date ant-picker-cell-inner")),Nh("ant-picker-calendar-date-today",e.isToday),vI(),xD(e.fullCellRender?1:2);}}function Aa(t,a){if(t&1){let e=HD();Ni$3(0,"td",8),yh("click",function(){let n=Vu(e).$implicit;return Hu(n.isDisabled?null:n.onClick())})("mouseenter",function(){let n=Vu(e).$implicit;return Hu(n.onMouseEnter())}),ND(1,Ea,2,1)(2,Ha,3,6,"div",9),tl$1();}if(t&2){let e,i=a.$implicit,n=zD(2);mw(i.classMap),uh("title",i.title),vI(),xD((e=n.prefixCls)==="ant-picker"?1:e==="ant-picker-calendar"?2:-1);}}function Ba(t,a){if(t&1&&(Ni$3(0,"tr",2),ND(1,Da,2,4,"td",5),kD(2,Aa,3,4,"td",6,Pe),tl$1()),t&2){let e=a.$implicit;mw(e.classMap),vI(),xD(e.weekNum?1:-1),vI(),OD(e.dateCells);}}function La(t,a){if(t&1){let e=HD();nl$1(0,"button",6),vh("click",function(){let n=Vu(e).$implicit;return Hu(n.onClick())}),_w(1),rl$2();}if(t&2){let e=a.$implicit;mw(e.className),gh("title",Rw(e.title||null)),vI(),sl$2(" ",e.label," ");}}function $a(t,a){t&1&&dh(0,"th",3);}function Ya(t,a){if(t&1&&(Ni$3(0,"th",4),_w(1),tl$1()),t&2){let e=a.$implicit;uh("title",e.title),vI(),sl$2(" ",e.content);}}function Wa(t,a){if(t&1&&(Ni$3(0,"thead")(1,"tr",2),ND(2,$a,1,0,"th",3),kD(3,Ya,2,2,"th",4,AD),tl$1()()),t&2){let e=zD();vI(2),xD(e.showWeek?2:-1),vI(),OD(e.headRow);}}function Qa(t,a){if(t&1&&(Ni$3(0,"td",7),_w(1),tl$1()),t&2){let e=zD().$implicit,i=zD();mw(kw("",i.prefixCls,"-cell-week")),vI(),sl$2(" ",e.weekNum);}}function Ua(t,a){if(t&1&&_w(0),t&2){let e=zD(3).$implicit;sl$2(" ",e.cellRender," ");}}function ja(t,a){if(t&1&&oh(0,Ua,1,1,"ng-template",10),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function qa(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-cell-inner")),lh("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),vI(),sl$2(" ",e.content," ");}}function Xa(t,a){if(t&1&&ND(0,ja,1,4,null,10)(1,qa,2,6,"div",11),t&2){let e=zD().$implicit;xD(e.cellRender?0:1);}}function Za(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.fullCellRender," ");}}function Ka(t,a){if(t&1&&oh(0,Za,2,1,"ng-container",12),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function Ga(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.cellRender," ");}}function Ja(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1(),Ni$3(2,"div"),oh(3,Ga,2,1,"ng-container",12),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date-value")),vI(),Vh(e.content),vI(),mw(kw("",i.prefixCls,"-date-content")),vI(),uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(9,oe,e.value));}}function eo(t,a){if(t&1&&(Ni$3(0,"div"),ND(1,Ka,1,4,"ng-container")(2,Ja,4,11),tl$1()),t&2){let e=zD().$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date ant-picker-cell-inner")),Nh("ant-picker-calendar-date-today",e.isToday),vI(),xD(e.fullCellRender?1:2);}}function to(t,a){if(t&1){let e=HD();Ni$3(0,"td",8),yh("click",function(){let n=Vu(e).$implicit;return Hu(n.isDisabled?null:n.onClick())})("mouseenter",function(){let n=Vu(e).$implicit;return Hu(n.onMouseEnter())}),ND(1,Xa,2,1)(2,eo,3,6,"div",9),tl$1();}if(t&2){let e,i=a.$implicit,n=zD(2);mw(i.classMap),uh("title",i.title),vI(),xD((e=n.prefixCls)==="ant-picker"?1:e==="ant-picker-calendar"?2:-1);}}function no(t,a){if(t&1&&(Ni$3(0,"tr",2),ND(1,Qa,2,4,"td",5),kD(2,to,3,4,"td",6,Pe),tl$1()),t&2){let e=a.$implicit;mw(e.classMap),vI(),xD(e.weekNum?1:-1),vI(),OD(e.dateCells);}}function io(t,a){if(t&1){let e=HD();nl$1(0,"button",6),vh("click",function(){let n=Vu(e).$implicit;return Hu(n.onClick())}),_w(1),rl$2();}if(t&2){let e=a.$implicit;mw(e.className),gh("title",Rw(e.title||null)),vI(),sl$2(" ",e.label," ");}}function ao(t,a){t&1&&dh(0,"th",3);}function oo(t,a){if(t&1&&(Ni$3(0,"th",4),_w(1),tl$1()),t&2){let e=a.$implicit;uh("title",e.title),vI(),sl$2(" ",e.content);}}function ro(t,a){if(t&1&&(Ni$3(0,"thead")(1,"tr",2),ND(2,ao,1,0,"th",3),kD(3,oo,2,2,"th",4,AD),tl$1()()),t&2){let e=zD();vI(2),xD(e.showWeek?2:-1),vI(),OD(e.headRow);}}function lo(t,a){if(t&1&&(Ni$3(0,"td",7),_w(1),tl$1()),t&2){let e=zD().$implicit,i=zD();mw(kw("",i.prefixCls,"-cell-week")),vI(),sl$2(" ",e.weekNum);}}function so(t,a){if(t&1&&_w(0),t&2){let e=zD(3).$implicit;sl$2(" ",e.cellRender," ");}}function co(t,a){if(t&1&&oh(0,so,1,1,"ng-template",10),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function po(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-cell-inner")),lh("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),vI(),sl$2(" ",e.content," ");}}function uo(t,a){if(t&1&&ND(0,co,1,4,null,10)(1,po,2,6,"div",11),t&2){let e=zD().$implicit;xD(e.cellRender?0:1);}}function mo(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.fullCellRender," ");}}function _o(t,a){if(t&1&&oh(0,mo,2,1,"ng-container",12),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function ho(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.cellRender," ");}}function fo(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1(),Ni$3(2,"div"),oh(3,ho,2,1,"ng-container",12),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date-value")),vI(),Vh(e.content),vI(),mw(kw("",i.prefixCls,"-date-content")),vI(),uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(9,oe,e.value));}}function Co(t,a){if(t&1&&(Ni$3(0,"div"),ND(1,_o,1,4,"ng-container")(2,fo,4,11),tl$1()),t&2){let e=zD().$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date ant-picker-cell-inner")),Nh("ant-picker-calendar-date-today",e.isToday),vI(),xD(e.fullCellRender?1:2);}}function go(t,a){if(t&1){let e=HD();Ni$3(0,"td",8),yh("click",function(){let n=Vu(e).$implicit;return Hu(n.isDisabled?null:n.onClick())})("mouseenter",function(){let n=Vu(e).$implicit;return Hu(n.onMouseEnter())}),ND(1,uo,2,1)(2,Co,3,6,"div",9),tl$1();}if(t&2){let e,i=a.$implicit,n=zD(2);mw(i.classMap),uh("title",i.title),vI(),xD((e=n.prefixCls)==="ant-picker"?1:e==="ant-picker-calendar"?2:-1);}}function vo(t,a){if(t&1&&(Ni$3(0,"tr",2),ND(1,lo,2,4,"td",5),kD(2,go,3,4,"td",6,Pe),tl$1()),t&2){let e=a.$implicit;mw(e.classMap),vI(),xD(e.weekNum?1:-1),vI(),OD(e.dateCells);}}function xo(t,a){if(t&1){let e=HD();nl$1(0,"button",6),vh("click",function(){let n=Vu(e).$implicit;return Hu(n.onClick())}),_w(1),rl$2();}if(t&2){let e=a.$implicit;mw(e.className),gh("title",Rw(e.title||null)),vI(),sl$2(" ",e.label," ");}}function zo(t,a){t&1&&dh(0,"th",3);}function ko(t,a){if(t&1&&(Ni$3(0,"th",4),_w(1),tl$1()),t&2){let e=a.$implicit;uh("title",e.title),vI(),sl$2(" ",e.content);}}function So(t,a){if(t&1&&(Ni$3(0,"thead")(1,"tr",2),ND(2,zo,1,0,"th",3),kD(3,ko,2,2,"th",4,AD),tl$1()()),t&2){let e=zD();vI(2),xD(e.showWeek?2:-1),vI(),OD(e.headRow);}}function To(t,a){if(t&1&&(Ni$3(0,"td",7),_w(1),tl$1()),t&2){let e=zD().$implicit,i=zD();mw(kw("",i.prefixCls,"-cell-week")),vI(),sl$2(" ",e.weekNum);}}function bo(t,a){if(t&1&&_w(0),t&2){let e=zD(3).$implicit;sl$2(" ",e.cellRender," ");}}function yo(t,a){if(t&1&&oh(0,bo,1,1,"ng-template",10),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function wo(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-cell-inner")),lh("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),vI(),sl$2(" ",e.content," ");}}function Po(t,a){if(t&1&&ND(0,yo,1,4,null,10)(1,wo,2,6,"div",11),t&2){let e=zD().$implicit;xD(e.cellRender?0:1);}}function Do(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.fullCellRender," ");}}function Mo(t,a){if(t&1&&oh(0,Do,2,1,"ng-container",12),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function Vo(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.cellRender," ");}}function Oo(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1(),Ni$3(2,"div"),oh(3,Vo,2,1,"ng-container",12),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date-value")),vI(),Vh(e.content),vI(),mw(kw("",i.prefixCls,"-date-content")),vI(),uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(9,oe,e.value));}}function Eo(t,a){if(t&1&&(Ni$3(0,"div"),ND(1,Mo,1,4,"ng-container")(2,Oo,4,11),tl$1()),t&2){let e=zD().$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date ant-picker-cell-inner")),Nh("ant-picker-calendar-date-today",e.isToday),vI(),xD(e.fullCellRender?1:2);}}function Fo(t,a){if(t&1){let e=HD();Ni$3(0,"td",8),yh("click",function(){let n=Vu(e).$implicit;return Hu(n.isDisabled?null:n.onClick())})("mouseenter",function(){let n=Vu(e).$implicit;return Hu(n.onMouseEnter())}),ND(1,Po,2,1)(2,Eo,3,6,"div",9),tl$1();}if(t&2){let e,i=a.$implicit,n=zD(2);mw(i.classMap),uh("title",i.title),vI(),xD((e=n.prefixCls)==="ant-picker"?1:e==="ant-picker-calendar"?2:-1);}}function Io(t,a){if(t&1&&(Ni$3(0,"tr",2),ND(1,To,2,4,"td",5),kD(2,Fo,3,4,"td",6,Pe),tl$1()),t&2){let e=a.$implicit;mw(e.classMap),vI(),xD(e.weekNum?1:-1),vI(),OD(e.dateCells);}}function Ro(t,a){if(t&1){let e=HD();nl$1(0,"button",6),vh("click",function(){let n=Vu(e).$implicit;return Hu(n.onClick())}),_w(1),rl$2();}if(t&2){let e=a.$implicit;mw(e.className),gh("title",Rw(e.title||null)),vI(),sl$2(" ",e.label," ");}}function No(t,a){t&1&&dh(0,"th",3);}function Ho(t,a){if(t&1&&(Ni$3(0,"th",4),_w(1),tl$1()),t&2){let e=a.$implicit;uh("title",e.title),vI(),sl$2(" ",e.content);}}function Ao(t,a){if(t&1&&(Ni$3(0,"thead")(1,"tr",2),ND(2,No,1,0,"th",3),kD(3,Ho,2,2,"th",4,AD),tl$1()()),t&2){let e=zD();vI(2),xD(e.showWeek?2:-1),vI(),OD(e.headRow);}}function Bo(t,a){if(t&1&&(Ni$3(0,"td",7),_w(1),tl$1()),t&2){let e=zD().$implicit,i=zD();mw(kw("",i.prefixCls,"-cell-week")),vI(),sl$2(" ",e.weekNum);}}function Lo(t,a){if(t&1&&_w(0),t&2){let e=zD(3).$implicit;sl$2(" ",e.cellRender," ");}}function $o(t,a){if(t&1&&oh(0,Lo,1,1,"ng-template",10),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function Yo(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-cell-inner")),lh("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),vI(),sl$2(" ",e.content," ");}}function Wo(t,a){if(t&1&&ND(0,$o,1,4,null,10)(1,Yo,2,6,"div",11),t&2){let e=zD().$implicit;xD(e.cellRender?0:1);}}function Qo(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.fullCellRender," ");}}function Uo(t,a){if(t&1&&oh(0,Qo,2,1,"ng-container",12),t&2){let e=zD(2).$implicit;uh("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Bw(2,oe,e.value));}}function jo(t,a){if(t&1&&(ol$1(0),_w(1),il$2()),t&2){let e=zD(3).$implicit;vI(),sl$2(" ",e.cellRender," ");}}function qo(t,a){if(t&1&&(Ni$3(0,"div"),_w(1),tl$1(),Ni$3(2,"div"),oh(3,jo,2,1,"ng-container",12),tl$1()),t&2){let e=zD(2).$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date-value")),vI(),Vh(e.content),vI(),mw(kw("",i.prefixCls,"-date-content")),vI(),uh("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Bw(9,oe,e.value));}}function Xo(t,a){if(t&1&&(Ni$3(0,"div"),ND(1,Uo,1,4,"ng-container")(2,qo,4,11),tl$1()),t&2){let e=zD().$implicit,i=zD(2);mw(kw("",i.prefixCls,"-date ant-picker-cell-inner")),Nh("ant-picker-calendar-date-today",e.isToday),vI(),xD(e.fullCellRender?1:2);}}function Zo(t,a){if(t&1){let e=HD();Ni$3(0,"td",8),yh("click",function(){let n=Vu(e).$implicit;return Hu(n.isDisabled?null:n.onClick())})("mouseenter",function(){let n=Vu(e).$implicit;return Hu(n.onMouseEnter())}),ND(1,Wo,2,1)(2,Xo,3,6,"div",9),tl$1();}if(t&2){let e,i=a.$implicit,n=zD(2);mw(i.classMap),uh("title",i.title),vI(),xD((e=n.prefixCls)==="ant-picker"?1:e==="ant-picker-calendar"?2:-1);}}function Ko(t,a){if(t&1&&(Ni$3(0,"tr",2),ND(1,Bo,2,4,"td",5),kD(2,Zo,3,4,"td",6,Pe),tl$1()),t&2){let e=a.$implicit;mw(e.classMap),vI(),xD(e.weekNum?1:-1),vI(),OD(e.dateCells);}}function Go(t,a){if(t&1){let e=HD();Ni$3(0,"decade-header",2),Uh("valueChange",function(n){Vu(e);let o=zD();return Nw(o.activeDate,n)||(o.activeDate=n),Hu(n)}),yh("panelChange",function(n){Vu(e);let o=zD();return Hu(o.panelChange.emit(n))})("valueChange",function(n){Vu(e);let o=zD();return Hu(o.headerChange.emit(n))}),tl$1(),Ni$3(1,"div")(2,"decade-table",3),yh("valueChange",function(n){Vu(e);let o=zD();return Hu(o.onChooseDecade(n))}),tl$1()();}if(t&2){let e=zD();$h("value",e.activeDate),uh("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","decade"))("showSuperNextBtn",e.enablePrevNext("next","decade"))("showNextBtn",false)("showPreBtn",false),vI(),mw(kw("",e.prefixCls,"-body")),vI(),uh("activeDate",e.activeDate)("value",e.value)("locale",e.locale)("disabledDate",e.disabledDate);}}function Jo(t,a){if(t&1){let e=HD();Ni$3(0,"year-header",2),Uh("valueChange",function(n){Vu(e);let o=zD();return Nw(o.activeDate,n)||(o.activeDate=n),Hu(n)}),yh("panelChange",function(n){Vu(e);let o=zD();return Hu(o.panelChange.emit(n))})("valueChange",function(n){Vu(e);let o=zD();return Hu(o.headerChange.emit(n))}),tl$1(),Ni$3(1,"div")(2,"year-table",4),yh("valueChange",function(n){Vu(e);let o=zD();return Hu(o.onChooseYear(n))})("cellHover",function(n){Vu(e);let o=zD();return Hu(o.cellHover.emit(n))}),tl$1()();}if(t&2){let e=zD();$h("value",e.activeDate),uh("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","year"))("showSuperNextBtn",e.enablePrevNext("next","year"))("showNextBtn",false)("showPreBtn",false),vI(),mw(kw("",e.prefixCls,"-body")),vI(),uh("activeDate",e.activeDate)("value",e.value)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue);}}function er(t,a){if(t&1){let e=HD();Ni$3(0,"month-header",2),Uh("valueChange",function(n){Vu(e);let o=zD();return Nw(o.activeDate,n)||(o.activeDate=n),Hu(n)}),yh("panelChange",function(n){Vu(e);let o=zD();return Hu(o.panelChange.emit(n))})("valueChange",function(n){Vu(e);let o=zD();return Hu(o.headerChange.emit(n))}),tl$1(),Ni$3(1,"div")(2,"month-table",5),yh("valueChange",function(n){Vu(e);let o=zD();return Hu(o.onChooseMonth(n))})("cellHover",function(n){Vu(e);let o=zD();return Hu(o.cellHover.emit(n))}),tl$1()();}if(t&2){let e=zD();$h("value",e.activeDate),uh("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","month"))("showSuperNextBtn",e.enablePrevNext("next","month"))("showNextBtn",false)("showPreBtn",false),vI(),mw(kw("",e.prefixCls,"-body")),vI(),uh("value",e.value)("activeDate",e.activeDate)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue);}}function tr(t,a){if(t&1){let e=HD();Ni$3(0,"quarter-header",2),Uh("valueChange",function(n){Vu(e);let o=zD();return Nw(o.activeDate,n)||(o.activeDate=n),Hu(n)}),yh("panelChange",function(n){Vu(e);let o=zD();return Hu(o.panelChange.emit(n))})("valueChange",function(n){Vu(e);let o=zD();return Hu(o.headerChange.emit(n))}),tl$1(),Ni$3(1,"div")(2,"quarter-table",6),yh("valueChange",function(n){Vu(e);let o=zD();return Hu(o.onChooseQuarter(n))})("cellHover",function(n){Vu(e);let o=zD();return Hu(o.cellHover.emit(n))}),tl$1()();}if(t&2){let e=zD();$h("value",e.activeDate),uh("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","month"))("showSuperNextBtn",e.enablePrevNext("next","month"))("showNextBtn",false)("showPreBtn",false),vI(),mw(kw("",e.prefixCls,"-body")),vI(),uh("value",e.value)("activeDate",e.activeDate)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)("cellRender",e.dateRender);}}function nr(t,a){if(t&1){let e=HD();Ni$3(0,"date-header",7),Uh("valueChange",function(n){Vu(e);let o=zD();return Nw(o.activeDate,n)||(o.activeDate=n),Hu(n)}),yh("panelChange",function(n){Vu(e);let o=zD();return Hu(o.panelChange.emit(n))})("valueChange",function(n){Vu(e);let o=zD();return Hu(o.headerChange.emit(n))}),tl$1(),Ni$3(1,"div")(2,"date-table",8),yh("valueChange",function(n){Vu(e);let o=zD();return Hu(o.onSelectDate(n))})("cellHover",function(n){Vu(e);let o=zD();return Hu(o.cellHover.emit(n))}),tl$1()();}if(t&2){let e=zD();$h("value",e.activeDate),uh("locale",e.locale)("mode",e.panelMode)("showSuperPreBtn",e.panelMode==="week"?e.enablePrevNext("prev","week"):e.enablePrevNext("prev","date"))("showSuperNextBtn",e.panelMode==="week"?e.enablePrevNext("next","week"):e.enablePrevNext("next","date"))("showPreBtn",e.panelMode==="week"?e.enablePrevNext("prev","week"):e.enablePrevNext("prev","date"))("showNextBtn",e.panelMode==="week"?e.enablePrevNext("next","week"):e.enablePrevNext("next","date")),vI(),mw(kw("",e.prefixCls,"-body")),vI(),uh("locale",e.locale)("showWeek",e.showWeek)("value",e.value)("activeDate",e.activeDate)("disabledDate",e.disabledDate)("cellRender",e.dateRender)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)("canSelectWeek",e.panelMode==="week")("format",e.format);}}function ir(t,a){if(t&1){let e=HD();Ni$3(0,"nz-time-picker-panel",9),yh("ngModelChange",function(n){Vu(e);let o=zD();return Hu(o.onSelectTime(n))}),tl$1(),cE();}if(t&2){let e=zD();uh("nzInDatePicker",true)("ngModel",e.value?.nativeDate)("format",e.timeOptions.nzFormat)("nzHourStep",e.timeOptions.nzHourStep)("nzMinuteStep",e.timeOptions.nzMinuteStep)("nzSecondStep",e.timeOptions.nzSecondStep)("nzDisabledHours",e.timeOptions.nzDisabledHours)("nzDisabledMinutes",e.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",e.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!e.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",e.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!e.timeOptions.nzUse12Hours)("nzAddOn",e.timeOptions.nzAddOn),uE();}}var ar=t=>({partType:t}),Ti=()=>({partType:"left"}),bi=()=>({partType:"right"});function or(t,a){t&1&&hh(0);}function rr(t,a){if(t&1&&oh(0,or,1,0,"ng-container",5),t&2){let e=zD(2),i=tw(3);uh("ngTemplateOutlet",i)("ngTemplateOutletContext",Bw(2,ar,e.datePickerService.activeInput));}}function lr(t,a){t&1&&hh(0);}function sr(t,a){t&1&&hh(0);}function cr(t,a){if(t&1&&oh(0,lr,1,0,"ng-container",5)(1,sr,1,0,"ng-container",5),t&2){zD(2);let e=tw(3);uh("ngTemplateOutlet",e)("ngTemplateOutletContext",Hw(4,Ti)),vI(),uh("ngTemplateOutlet",e)("ngTemplateOutletContext",Hw(5,bi));}}function dr(t,a){t&1&&hh(0);}function pr(t,a){if(t&1&&(Ni$3(0,"div"),dh(1,"div"),Ni$3(2,"div")(3,"div"),ND(4,rr,1,4,"ng-container")(5,cr,2,6),tl$1(),oh(6,dr,1,0,"ng-container",4),tl$1()()),t&2){let e=zD(),i=tw(5);mw(Ow("",e.prefixCls,"-range-wrapper ",e.prefixCls,"-date-range-wrapper")),vI(),hw(e.arrowPosition),mw(kw("",e.prefixCls,"-range-arrow")),vI(),mw(Ow("",e.prefixCls,"-panel-container ",e.showWeek?e.prefixCls+"-week-number":"")),vI(),mw(kw("",e.prefixCls,"-panels")),vI(),xD(e.hasTimePicker?4:5),vI(2),uh("ngTemplateOutlet",i);}}function ur(t,a){t&1&&hh(0);}function mr(t,a){t&1&&hh(0);}function _r(t,a){if(t&1&&(Ni$3(0,"div")(1,"div",6),oh(2,ur,1,0,"ng-container",4)(3,mr,1,0,"ng-container",4),tl$1()()),t&2){let e=zD(),i=tw(3),n=tw(5);mw(Pw("",e.prefixCls,"-panel-container ",e.showWeek?e.prefixCls+"-week-number":""," ",e.hasTimePicker?e.prefixCls+"-time":""," ",e.isRange?e.prefixCls+"-range":"")),vI(),mw(kw("",e.prefixCls,"-panel")),Nh("ant-picker-panel-rtl",e.dir==="rtl"),vI(),uh("ngTemplateOutlet",i),vI(),uh("ngTemplateOutlet",n);}}function hr(t,a){if(t&1){let e=HD();Ni$3(0,"div")(1,"inner-popup",7),yh("panelChange",function(n){let o=Vu(e).partType,u=zD();return Hu(u.onPanelModeChange(n,o))})("cellHover",function(n){Vu(e);let o=zD();return Hu(o.onCellHover(n))})("selectDate",function(n){let o=Vu(e).partType,u=zD();return Hu(u.changeValueFromSelect(n,!u.showTime,true,o))})("selectTime",function(n){let o=Vu(e).partType,u=zD();return Hu(u.onSelectTime(n,o))})("headerChange",function(n){let o=Vu(e).partType,u=zD();return Hu(u.onActiveDateChange(n,o))}),tl$1()();}if(t&2){let e=a.partType,i=zD();mw(kw("",i.prefixCls,"-panel")),Nh("ant-picker-panel-rtl",i.dir==="rtl"),vI(),uh("showWeek",i.showWeek)("endPanelMode",i.getPanelMode(i.endPanelMode,e))("partType",e)("locale",i.locale)("showTimePicker",i.hasTimePicker)("timeOptions",i.getTimeOptions(e))("panelMode",i.getPanelMode(i.panelMode,e))("activeDate",i.getActiveDate(e))("value",i.getValue(e))("disabledDate",i.disabledDate)("dateRender",i.dateRender)("selectedValue",i.datePickerService?.value)("hoverValue",i.hoverValue)("format",i.format);}}function fr(t,a){if(t&1){let e=HD();Ni$3(0,"calendar-footer",9),yh("clickOk",function(){Vu(e);let n=zD(2);return Hu(n.onClickOk())})("clickToday",function(n){Vu(e);let o=zD(2);return Hu(o.onClickToday(n))}),tl$1();}if(t&2){let e=zD(2),i=tw(7);uh("locale",e.locale)("isRange",e.isRange)("showToday",e.showToday)("showNow",e.showNow)("hasTimePicker",e.hasTimePicker)("okDisabled",!e.isAllowed(e.datePickerService?.value))("extraFooter",e.extraFooter)("rangeQuickSelector",e.ranges?i:null);}}function Cr(t,a){if(t&1&&ND(0,fr,1,8,"calendar-footer",8),t&2){let e=zD();xD(e.hasFooter?0:-1);}}function gr(t,a){if(t&1){let e=HD();Ni$3(0,"li",10),yh("click",function(){let n=Vu(e).$implicit,o=zD(2);return Hu(o.onClickPresetRange(o.ranges[n]))})("mouseenter",function(){let n=Vu(e).$implicit,o=zD(2);return Hu(o.onHoverPresetRange(o.ranges[n]))})("mouseleave",function(){Vu(e);let n=zD(2);return Hu(n.onPresetRangeMouseLeave())}),Ni$3(1,"span",11),_w(2),tl$1()();}if(t&2){let e=a.$implicit,i=zD(2);mw(kw("",i.prefixCls,"-preset")),vI(2),Vh(e);}}function vr(t,a){if(t&1&&kD(0,gr,3,4,"li",3,RD),t&2){let e=zD();OD(e.getObjectKeys(e.ranges));}}var xr=["separatorElement"],zr=["pickerInput"],kr=["rangePickerInput"];function Sr(t,a){t&1&&hh(0);}function Tr(t,a){if(t&1){let e=HD();Ni$3(0,"div")(1,"input",9,3),Uh("ngModelChange",function(n){Vu(e);let o=zD(2);return Nw(o.inputValue,n)||(o.inputValue=n),Hu(n)}),yh("focus",function(n){Vu(e);let o=zD(2);return Hu(o.onFocus(n))})("focusout",function(n){Vu(e);let o=zD(2);return Hu(o.onFocusout(n))})("ngModelChange",function(n){Vu(e);let o=zD(2);return Hu(o.onInputChange(n))})("keyup.enter",function(n){Vu(e);let o=zD(2);return Hu(o.onKeyupEnter(n))}),tl$1(),cE(),oh(3,Sr,1,0,"ng-container",10),tl$1();}if(t&2){let e=zD(2),i=tw(5);mw(kw("",e.prefixCls,"-input")),vI(),Nh("ant-input-disabled",e.nzDisabled),uh("placeholder",Rw(e.getPlaceholder()))("disabled",e.nzDisabled)("readOnly",e.nzInputReadOnly),$h("ngModel",e.inputValue),uh("size",e.inputSize),lh("id",e.nzId),uE(),vI(2),uh("ngTemplateOutlet",i);}}function br(t,a){t&1&&hh(0);}function yr(t,a){if(t&1&&_w(0),t&2){let e=zD(4);sl$2(" ",e.nzSeparator," ");}}function wr(t,a){t&1&&dh(0,"nz-icon",13);}function Pr(t,a){if(t&1&&(ol$1(0),ND(1,yr,1,1)(2,wr,1,0,"nz-icon",13),il$2()),t&2){let e=zD(3);vI(),xD(e.nzSeparator?1:2);}}function Dr(t,a){t&1&&hh(0);}function Mr(t,a){t&1&&hh(0);}function Vr(t,a){if(t&1&&(Ni$3(0,"div"),oh(1,br,1,0,"ng-container",11),tl$1(),Ni$3(2,"div",null,4)(4,"span"),oh(5,Pr,3,1,"ng-container",12),tl$1()(),Ni$3(6,"div"),oh(7,Dr,1,0,"ng-container",11),tl$1(),oh(8,Mr,1,0,"ng-container",10)),t&2){let e=zD(2),i=tw(3),n=tw(5);mw(kw("",e.prefixCls,"-input")),vI(),uh("ngTemplateOutlet",i)("ngTemplateOutletContext",Hw(18,Ti)),vI(),mw(kw("",e.prefixCls,"-range-separator")),vI(2),mw(kw("",e.prefixCls,"-separator")),vI(),uh("nzStringTemplateOutlet",e.nzSeparator),vI(),mw(kw("",e.prefixCls,"-input")),vI(),uh("ngTemplateOutlet",i)("ngTemplateOutletContext",Hw(19,bi)),vI(),uh("ngTemplateOutlet",n);}}function Or(t,a){if(t&1&&ND(0,Tr,4,13,"div",8)(1,Vr,9,20),t&2){let e=zD();xD(e.isRange?1:0);}}function Er(t,a){}function Fr(t,a){if(t&1&&oh(0,Er,0,0,"ng-template",6),t&2){zD();let e=tw(7);uh("ngTemplateOutlet",e);}}function Ir(t,a){if(t&1){let e=HD();Ni$3(0,"input",14,5),yh("click",function(n){Vu(e);let o=zD();return Hu(o.onClickInputBox(n))})("focusout",function(n){Vu(e);let o=zD();return Hu(o.onFocusout(n))})("focus",function(n){let o=Vu(e).partType,u=zD();return Hu(u.onFocus(n,o))})("keyup.enter",function(n){Vu(e);let o=zD();return Hu(o.onKeyupEnter(n))}),Uh("ngModelChange",function(n){let o=Vu(e).partType,u=zD();return Nw(u.inputValue[u.datePickerService.getActiveIndex(o)],n)||(u.inputValue[u.datePickerService.getActiveIndex(o)]=n),Hu(n)}),yh("ngModelChange",function(n){Vu(e);let o=zD();return Hu(o.onInputChange(n))}),tl$1(),cE();}if(t&2){let e=a.partType,i=zD();uh("placeholder",Rw(i.getPlaceholder(e)))("disabled",i.nzDisabled)("readOnly",i.nzInputReadOnly)("size",i.inputSize),$h("ngModel",i.inputValue[i.datePickerService.getActiveIndex(e)]),lh("id",i.nzId),uE();}}function Rr(t,a){if(t&1){let e=HD();Ni$3(0,"span",16),yh("click",function(n){Vu(e);let o=zD(2);return Hu(o.onClickClear(n))}),dh(1,"nz-icon",17),tl$1();}if(t&2){let e=zD(2);mw(kw("",e.prefixCls,"-clear"));}}function Nr(t,a){if(t&1&&(ol$1(0),dh(1,"nz-icon",18),il$2()),t&2){let e=a.$implicit;vI(),uh("nzType",e);}}function Hr(t,a){if(t&1&&dh(0,"nz-form-item-feedback-icon",15),t&2){let e=zD(2);uh("status",e.status);}}function Ar(t,a){if(t&1&&(dh(0,"div"),ND(1,Rr,2,3,"span",8),Ni$3(2,"span"),oh(3,Nr,2,1,"ng-container",12),ND(4,Hr,1,1,"nz-form-item-feedback-icon",15),tl$1()),t&2){let e=zD();hw(e.activeBarStyle),mw(kw("",e.prefixCls,"-active-bar")),vI(),xD(e.showClear?1:-1),vI(),mw(kw("",e.prefixCls,"-suffix")),vI(),uh("nzStringTemplateOutlet",e.nzSuffixIcon),vI(),xD(e.hasFeedback&&e.status?4:-1);}}function Br(t,a){if(t&1){let e=HD();Ni$3(0,"div"),si$3(function(){Vu(e);let n=zD();return Hu(!n.nzInline()&&n.datepickerAnimationLeave())}),ii$3(function(){Vu(e);let n=zD();return Hu(!n.nzInline()&&n.datepickerAnimationEnter())}),Ni$3(1,"date-range-popup",19),yh("panelModeChange",function(n){Vu(e);let o=zD();return Hu(o.onPanelModeChange(n))})("calendarChange",function(n){Vu(e);let o=zD();return Hu(o.onCalendarChange(n))})("resultOk",function(){Vu(e);let n=zD();return Hu(n.onResultOk())}),tl$1()();}if(t&2){let e=zD();hw(e.nzPopupStyle),mw(e.dropdownClass()),Nh("ant-picker-dropdown-range",!e.nzInline()&&e.isRange)("ant-picker-active-left",e.datePickerService.activeInput==="left")("ant-picker-active-right",e.datePickerService.activeInput==="right"),vI(),uh("isRange",e.isRange)("inline",e.nzInline())("defaultPickerValue",e.nzDefaultPickerValue)("showWeek",e.nzShowWeekNumber||e.nzMode==="week")("panelMode",e.panelMode)("locale",e.nzLocale?.lang)("showToday",e.nzMode==="date"&&e.nzShowToday&&!e.isRange&&!e.nzShowTime)("showNow",e.nzMode==="date"&&e.nzShowNow&&!e.isRange&&!!e.nzShowTime)("showTime",e.nzShowTime)("dateRender",e.nzDateRender)("disabledDate",e.nzDisabledDate)("disabledTime",e.nzDisabledTime)("extraFooter",e.extraFooter)("ranges",e.nzRanges)("dir",e.dir())("format",e.nzFormat);}}function Lr(t,a){t&1&&hh(0);}function $r(t,a){if(t&1&&oh(0,Lr,1,0,"ng-container",10),t&2){zD();let e=tw(7);uh("ngTemplateOutlet",e);}}var an="ant-picker",Yr={nzDisabledHours(){return []},nzDisabledMinutes(){return []},nzDisabledSeconds(){return []}};function yi(t,a){let e=a?a(t&&t.nativeDate):{};return e=r(r({},Yr),e),e}function Wr(t,a){let e=false;if(t){let i=t.getHours(),n=t.getMinutes(),o=t.getSeconds();a.nzDisabledHours().indexOf(i)===-1&&a.nzDisabledMinutes(i).indexOf(n)===-1?e=a.nzDisabledSeconds(i,n).indexOf(o)!==-1:e=true;}return !e}function Qr(t,a){let e=yi(t,a);return Wr(t,e)}function tn(t,a,e){return !(!t||a&&a(t.nativeDate)||e&&!Qr(t,e))}function Ae(t){return t&&t.replace(/Y/g,"y").replace(/D/g,"d")}var wi=(()=>{class t{dateAdapter=C$2(h3);locale;showToday=false;showNow=false;hasTimePicker=false;isRange=false;okDisabled=false;disabledDate;extraFooter;rangeQuickSelector=null;clickOk=new Fe$1;clickToday=new Fe$1;prefixCls=an;isTodayDisabled=false;todayTitle="";ngOnChanges(e){let{disabledDate:i,locale:n}=e,o=new Date;i&&(this.isTodayDisabled=!!this.disabledDate?.(o)),n&&(this.todayTitle=this.dateAdapter.format(o,Ae(this.locale.dateFormat)));}onClickToday(){let e=new s4;this.clickToday.emit(e.clone());}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=JE({type:t,selectors:[["calendar-footer"]],inputs:{locale:"locale",showToday:[2,"showToday","showToday",K0$1],showNow:[2,"showNow","showNow",K0$1],hasTimePicker:[2,"hasTimePicker","hasTimePicker",K0$1],isRange:[2,"isRange","isRange",K0$1],okDisabled:[2,"okDisabled","okDisabled",K0$1],disabledDate:"disabledDate",extraFooter:"extraFooter",rangeQuickSelector:"rangeQuickSelector"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},features:[fy],decls:4,vars:6,consts:[[3,"class"],["role","button",3,"class","title"],[3,"nzStringTemplateOutlet"],["role","button",3,"click","title"],[4,"ngTemplateOutlet"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"click","disabled"]],template:function(i,n){i&1&&(Ni$3(0,"div"),ND(1,va,2,4,"div",0),ND(2,xa,2,7,"a",1),ND(3,Ta,4,6,"ul",0),tl$1()),i&2&&(mw(kw("",n.prefixCls,"-footer")),vI(),xD(n.extraFooter?1:-1),vI(),xD(n.showToday?2:-1),vI(),xD(n.hasTimePicker||n.rangeQuickSelector?3:-1));},dependencies:[Ur$2,Vd,Fc,y7,A7,Ne$1],encapsulation:2})}return t})(),dn=(()=>{class t{initialValue;value;activeDate;activeInput="left";arrowLeft=0;isRange=false;valueChange$=new Ln$3(1);emitValue$=new re;inputPartChange$=new re;initValue(e=false){e&&(this.initialValue=this.isRange?[]:null),this.setValue(this.initialValue);}hasValue(e=this.value){return Array.isArray(e)?!!e[0]||!!e[1]:!!e}makeValue(e){return this.isRange?e?e.map(i=>new s4(i)):[]:e?new s4(e):null}setActiveDate(e,i=false,n="month"){let o={date:"month",month:"year",quarter:"year",year:"decade"};this.isRange?this.activeDate=x_(e,i,o[n],this.activeInput):this.activeDate=S_(e);}setValue(e){this.value=e,this.valueChange$.next(this.value);}getActiveIndex(e=this.activeInput){return {left:0,right:1}[e]}ngOnDestroy(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete();}static \u0275fac=function(i){return new(i||t)};static \u0275prov=ie$2({token:t,factory:t.\u0275fac})}return t})(),ut=(()=>{class t{prefixCls="ant-picker-header";selectors=[];value;mode="date";locale;showSuperPreBtn=true;showSuperNextBtn=true;showPreBtn=true;showNextBtn=true;panelChange=new Fe$1;valueChange=new Fe$1;superPreviousTitle(){return this.locale.previousYear}previousTitle(){return this.locale.previousMonth}superNextTitle(){return this.locale.nextYear}nextTitle(){return this.locale.nextMonth}superPrevious(){this.changeValue(this.value.addYears(-1));}superNext(){this.changeValue(this.value.addYears(1));}previous(){this.changeValue(this.value.addMonths(-1));}next(){this.changeValue(this.value.addMonths(1));}changeValue(e){this.value!==e&&(this.value=e,this.valueChange.emit(this.value),this.changeMode(this.mode),this.render());}changeMode(e){this.panelChange.emit({mode:e,date:this.value.nativeDate});}render(){this.value&&(this.selectors=this.getSelectors());}ngOnInit(){this.value||(this.value=new s4),this.selectors=this.getSelectors();}ngOnChanges(e){(e.value||e.locale)&&this.render();}trackBySelector(e){return `${e.title}-${e.label}`}static \u0275fac=function(i){return new(i||t)};static \u0275dir=rD({type:t,inputs:{value:"value",mode:"mode",locale:"locale",showSuperPreBtn:[2,"showSuperPreBtn","showSuperPreBtn",K0$1],showSuperNextBtn:[2,"showSuperNextBtn","showSuperNextBtn",K0$1],showPreBtn:[2,"showPreBtn","showPreBtn",K0$1],showNextBtn:[2,"showNextBtn","showNextBtn",K0$1]},outputs:{panelChange:"panelChange",valueChange:"valueChange"},features:[fy]})}return t})(),Ur=(()=>{class t extends ut{previous(){}next(){}mode="decade";get startYear(){return parseInt(`${this.value.getYear()/100}`,10)*100}get endYear(){return this.startYear+99}superPrevious(){this.changeValue(this.value.addYears(-100));}superNext(){this.changeValue(this.value.addYears(100));}getSelectors(){return [{className:`${this.prefixCls}-decade-btn`,title:"",onClick:()=>{},label:`${this.startYear}-${this.endYear}`}]}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["decade-header"]],features:[nh],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,n){i&1&&(nl$1(0,"div")(1,"button",0),vh("click",function(){return n.superPrevious()}),fh(2,"span",1),rl$2(),nl$1(3,"button",0),vh("click",function(){return n.previous()}),fh(4,"span",2),rl$2(),nl$1(5,"div"),kD(6,ba,2,5,"button",3,pt,true),rl$2(),nl$1(8,"button",0),vh("click",function(){return n.next()}),fh(9,"span",4),rl$2(),nl$1(10,"button",0),vh("click",function(){return n.superNext()}),fh(11,"span",5),rl$2()()),i&2&&(mw(n.prefixCls),vI(),mw(kw("",n.prefixCls,"-super-prev-btn")),Sh("visibility",n.showSuperPreBtn?"visible":"hidden"),gh("title",Rw(n.superPreviousTitle())),vI(2),mw(kw("",n.prefixCls,"-prev-btn")),Sh("visibility",n.showPreBtn?"visible":"hidden"),gh("title",Rw(n.previousTitle())),vI(2),mw(kw("",n.prefixCls,"-view")),vI(),OD(n.selectors),vI(2),mw(kw("",n.prefixCls,"-next-btn")),Sh("visibility",n.showNextBtn?"visible":"hidden"),gh("title",Rw(n.nextTitle())),vI(2),mw(kw("",n.prefixCls,"-super-next-btn")),Sh("visibility",n.showSuperNextBtn?"visible":"hidden"),gh("title",Rw(n.superNextTitle())));},encapsulation:2})}return t})(),mt=(()=>{class t{headRow=[];bodyRows=[];MAX_ROW=6;MAX_COL=7;prefixCls="ant-picker";value;locale;activeDate=new s4;showWeek=false;selectedValue=[];hoverValue=[];disabledDate;cellRender;fullCellRender;canSelectWeek=false;valueChange=new Fe$1;cellHover=new Fe$1;render(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows());}hasRangeValue(){return this.selectedValue?.length>0||this.hoverValue?.length>0}getClassMap(e){return {"ant-picker-cell":true,"ant-picker-cell-in-view":true,"ant-picker-cell-selected":e.isSelected,"ant-picker-cell-disabled":e.isDisabled,"ant-picker-cell-in-range":!!e.isInSelectedRange,"ant-picker-cell-range-start":!!e.isSelectedStart,"ant-picker-cell-range-end":!!e.isSelectedEnd,"ant-picker-cell-range-start-single":!!e.isStartSingle,"ant-picker-cell-range-end-single":!!e.isEndSingle,"ant-picker-cell-range-hover":!!e.isInHoverRange,"ant-picker-cell-range-hover-start":!!e.isHoverStart,"ant-picker-cell-range-hover-end":!!e.isHoverEnd,"ant-picker-cell-range-hover-edge-start":!!e.isFirstCellInPanel,"ant-picker-cell-range-hover-edge-end":!!e.isLastCellInPanel,"ant-picker-cell-range-start-near-hover":!!e.isRangeStartNearHover,"ant-picker-cell-range-end-near-hover":!!e.isRangeEndNearHover}}ngOnInit(){this.render();}ngOnChanges(e){e.activeDate&&!e.activeDate.currentValue&&(this.activeDate=new s4),(e.disabledDate||e.locale||e.showWeek||e.selectWeek||this.isDateRealChange(e.activeDate)||this.isDateRealChange(e.value)||this.isDateRealChange(e.selectedValue)||this.isDateRealChange(e.hoverValue))&&this.render();}isDateRealChange(e){if(e){let i=e.previousValue,n=e.currentValue;return Array.isArray(n)?!Array.isArray(i)||n.length!==i.length||n.some((o,u)=>{let z=i[u];return z instanceof s4?z.isSameDay(o):z!==o}):!this.isSameDate(i,n)}return false}isSameDate(e,i){return !e&&!i||e&&i&&i.isSameDay(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=rD({type:t,inputs:{prefixCls:"prefixCls",value:"value",locale:"locale",activeDate:"activeDate",showWeek:[2,"showWeek","showWeek",K0$1],selectedValue:"selectedValue",hoverValue:"hoverValue",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender",canSelectWeek:[2,"canSelectWeek","canSelectWeek",K0$1]},outputs:{valueChange:"valueChange",cellHover:"cellHover"},features:[fy]})}return t})(),jr=4,qr=3,Xr=(()=>{class t extends mt{get startYear(){return parseInt(`${this.activeDate.getYear()/100}`,10)*100}get endYear(){return this.startYear+99}makeHeadRow(){return []}makeBodyRows(){let e=[],i=this.value&&this.value.getYear(),n=this.startYear,o=this.endYear,u=n-10,z=0;for(let D=0;D<jr;D++){let Q={dateCells:[],trackByIndex:D};for(let U=0;U<qr;U++){let te=u+z*10,K=u+z*10+9,s=`${te}-${K}`,_={trackByIndex:U,value:this.activeDate.setYear(te).nativeDate,content:s,title:s,isDisabled:false,isSelected:i>=te&&i<=K,isLowerThanStart:K<n,isBiggerThanEnd:te>o,classMap:{},onClick(){},onMouseEnter(){}};_.classMap=this.getClassMap(_),_.onClick=()=>this.chooseDecade(te),z++,Q.dateCells.push(_);}e.push(Q);}return e}getClassMap(e){return {[`${this.prefixCls}-cell`]:true,[`${this.prefixCls}-cell-in-view`]:!e.isBiggerThanEnd&&!e.isLowerThanStart,[`${this.prefixCls}-cell-selected`]:e.isSelected,[`${this.prefixCls}-cell-disabled`]:e.isDisabled}}chooseDecade(e){this.value=this.activeDate.setYear(e),this.valueChange.emit(this.value);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["decade-table"]],features:[nh],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,n){i&1&&(Ni$3(0,"table",0),ND(1,Pa,5,1,"thead"),Ni$3(2,"tbody"),kD(3,Ba,4,3,"tr",1,Pe),tl$1()()),i&2&&(vI(),xD(n.headRow&&n.headRow.length>0?1:-1),vI(2),OD(n.bodyRows));},dependencies:[Ne$1],encapsulation:2})}return t})(),Zr=(()=>{class t extends ut{mode="year";get startYear(){return parseInt(`${this.value.getYear()/10}`,10)*10}get endYear(){return this.startYear+9}superPrevious(){this.changeValue(this.value.addYears(-10));}superNext(){this.changeValue(this.value.addYears(10));}getSelectors(){return [{className:`${this.prefixCls}-year-btn`,title:"",onClick:()=>{this.mode="decade",this.changeMode("decade");},label:`${this.startYear}-${this.endYear}`}]}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["year-header"]],features:[nh],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,n){i&1&&(nl$1(0,"div")(1,"button",0),vh("click",function(){return n.superPrevious()}),fh(2,"span",1),rl$2(),nl$1(3,"button",0),vh("click",function(){return n.previous()}),fh(4,"span",2),rl$2(),nl$1(5,"div"),kD(6,La,2,5,"button",3,pt,true),rl$2(),nl$1(8,"button",0),vh("click",function(){return n.next()}),fh(9,"span",4),rl$2(),nl$1(10,"button",0),vh("click",function(){return n.superNext()}),fh(11,"span",5),rl$2()()),i&2&&(mw(n.prefixCls),vI(),mw(kw("",n.prefixCls,"-super-prev-btn")),Sh("visibility",n.showSuperPreBtn?"visible":"hidden"),gh("title",Rw(n.superPreviousTitle())),vI(2),mw(kw("",n.prefixCls,"-prev-btn")),Sh("visibility",n.showPreBtn?"visible":"hidden"),gh("title",Rw(n.previousTitle())),vI(2),mw(kw("",n.prefixCls,"-view")),vI(),OD(n.selectors),vI(2),mw(kw("",n.prefixCls,"-next-btn")),Sh("visibility",n.showNextBtn?"visible":"hidden"),gh("title",Rw(n.nextTitle())),vI(2),mw(kw("",n.prefixCls,"-super-next-btn")),Sh("visibility",n.showSuperNextBtn?"visible":"hidden"),gh("title",Rw(n.superNextTitle())));},encapsulation:2})}return t})(),Kr=(()=>{class t extends mt{dateAdapter=C$2(h3);MAX_ROW=4;MAX_COL=3;makeHeadRow(){return []}makeBodyRows(){let e=this.activeDate&&this.activeDate.getYear(),i=parseInt(`${e/10}`,10)*10,n=i+9,o=i-1,u=[],z=0;for(let D=0;D<this.MAX_ROW;D++){let Q={dateCells:[],trackByIndex:D};for(let U=0;U<this.MAX_COL;U++){let te=o+z,K=this.activeDate.setYear(te),s=this.dateAdapter.format(K.nativeDate,"yyyy"),_=this.isDisabledYear(K),k={trackByIndex:U,value:K.nativeDate,isDisabled:_,isSameDecade:te>=i&&te<=n,isSelected:te===(this.value&&this.value.getYear()),content:s,title:s,classMap:{},isLastCellInPanel:K.getYear()===n,isFirstCellInPanel:K.getYear()===i,cellRender:k9(this.cellRender,K),fullCellRender:k9(this.fullCellRender,K),onClick:()=>this.chooseYear(k.value.getFullYear()),onMouseEnter:()=>this.cellHover.emit(K)};this.addCellProperty(k,K),Q.dateCells.push(k),z++;}u.push(Q);}return u}getClassMap(e){return s(r({},super.getClassMap(e)),{"ant-picker-cell-in-view":!!e.isSameDecade})}isDisabledYear(e){if(!this.disabledDate)return false;let i=e.setMonth(0).setDate(1);for(let n=i;n.getYear()===e.getYear();n=n.addDays(1))if(!this.disabledDate(n.nativeDate))return false;return true}addCellProperty(e,i){if(this.hasRangeValue()){let[n,o]=this.hoverValue,[u,z]=this.selectedValue;u?.isSameYear(i)&&(e.isSelectedStart=true,e.isSelected=true),z?.isSameYear(i)&&(e.isSelectedEnd=true,e.isSelected=true),n&&o&&(e.isHoverStart=n.isSameYear(i),e.isHoverEnd=o.isSameYear(i),e.isInHoverRange=n.isBeforeYear(i)&&i.isBeforeYear(o)),e.isStartSingle=u&&!z,e.isEndSingle=!u&&z,e.isInSelectedRange=u?.isBeforeYear(i)&&i?.isBeforeYear(z),e.isRangeStartNearHover=u&&e.isInHoverRange,e.isRangeEndNearHover=z&&e.isInHoverRange;}else i.isSameYear(this.value)&&(e.isSelected=true);e.classMap=this.getClassMap(e);}chooseYear(e){this.value=this.activeDate.setYear(e),this.valueChange.emit(this.value),this.render();}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["year-table"]],features:[nh],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,n){i&1&&(Ni$3(0,"table",0),ND(1,Wa,5,1,"thead"),Ni$3(2,"tbody"),kD(3,no,4,3,"tr",1,Pe),tl$1()()),i&2&&(vI(),xD(n.headRow&&n.headRow.length>0?1:-1),vI(2),OD(n.bodyRows));},dependencies:[Ne$1],encapsulation:2})}return t})(),Gr=(()=>{class t extends ut{dateAdapter=C$2(h3);mode="quarter";getSelectors(){return [{className:`${this.prefixCls}-quarter-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year");},label:this.dateAdapter.format(this.value.nativeDate,Ae(this.locale.yearFormat))}]}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["quarter-header"]],features:[nh],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,n){i&1&&(nl$1(0,"div")(1,"button",0),vh("click",function(){return n.superPrevious()}),fh(2,"span",1),rl$2(),nl$1(3,"button",0),vh("click",function(){return n.previous()}),fh(4,"span",2),rl$2(),nl$1(5,"div"),kD(6,io,2,5,"button",3,pt,true),rl$2(),nl$1(8,"button",0),vh("click",function(){return n.next()}),fh(9,"span",4),rl$2(),nl$1(10,"button",0),vh("click",function(){return n.superNext()}),fh(11,"span",5),rl$2()()),i&2&&(mw(n.prefixCls),vI(),mw(kw("",n.prefixCls,"-super-prev-btn")),Sh("visibility",n.showSuperPreBtn?"visible":"hidden"),gh("title",Rw(n.superPreviousTitle())),vI(2),mw(kw("",n.prefixCls,"-prev-btn")),Sh("visibility",n.showPreBtn?"visible":"hidden"),gh("title",Rw(n.previousTitle())),vI(2),mw(kw("",n.prefixCls,"-view")),vI(),OD(n.selectors),vI(2),mw(kw("",n.prefixCls,"-next-btn")),Sh("visibility",n.showNextBtn?"visible":"hidden"),gh("title",Rw(n.nextTitle())),vI(2),mw(kw("",n.prefixCls,"-super-next-btn")),Sh("visibility",n.showSuperNextBtn?"visible":"hidden"),gh("title",Rw(n.superNextTitle())));},encapsulation:2})}return t})(),Jr=(()=>{class t extends mt{dateAdapter=C$2(h3);MAX_ROW=1;MAX_COL=4;changeValueFromInside(e){this.activeDate=e.clone(),this.valueChange.emit(this.activeDate),this.activeDate.isSameQuarter(this.value)||this.render();}makeHeadRow(){return []}makeBodyRows(){let e=[],i=[{dateCells:e,trackByIndex:0}],n=1;for(let o=1;o<=this.MAX_COL;o++,n++){let u=this.activeDate.setQuarter(n),z=this.isDisabledQuarter(u),D=this.dateAdapter.format(u.nativeDate,"[Q]Q"),Q={trackByIndex:o,value:u.nativeDate,isDisabled:z,isSelected:u.isSameQuarter(this.value),content:D,title:D,classMap:{},cellRender:k9(this.cellRender,u),fullCellRender:k9(this.fullCellRender,u),onClick:()=>this.changeValueFromInside(u),onMouseEnter:()=>this.cellHover.emit(u)};this.addCellProperty(Q,u),e.push(Q);}return i}isDisabledQuarter(e){if(!this.disabledDate)return false;let i=new s4(this.dateAdapter.startOfQuarter(e.nativeDate));for(let n=i;n.getQuarter()===e.getQuarter();n=n.addMonths(1))if(!this.disabledDate(n.nativeDate))return false;return true}addCellProperty(e,i){if(this.hasRangeValue()){let[n,o]=this.hoverValue,[u,z]=this.selectedValue;u?.isSameQuarter(i)&&(e.isSelectedStart=true,e.isSelected=true),z?.isSameQuarter(i)&&(e.isSelectedEnd=true,e.isSelected=true),n&&o&&(e.isHoverStart=n.isSameQuarter(i),e.isHoverEnd=o.isSameQuarter(i),e.isLastCellInPanel=i.getQuarter()===4,e.isFirstCellInPanel=i.getQuarter()===1,e.isInHoverRange=n.isBeforeQuarter(i)&&i.isBeforeQuarter(o)),e.isStartSingle=u&&!z,e.isEndSingle=!u&&z,e.isInSelectedRange=u?.isBeforeQuarter(i)&&i?.isBeforeQuarter(z),e.isRangeStartNearHover=u&&e.isInHoverRange,e.isRangeEndNearHover=z&&e.isInHoverRange;}else i.isSameQuarter(this.value)&&(e.isSelected=true);e.classMap=this.getClassMap(e);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["quarter-table"]],features:[nh],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,n){i&1&&(Ni$3(0,"table",0),ND(1,ro,5,1,"thead"),Ni$3(2,"tbody"),kD(3,vo,4,3,"tr",1,Pe),tl$1()()),i&2&&(vI(),xD(n.headRow&&n.headRow.length>0?1:-1),vI(2),OD(n.bodyRows));},dependencies:[Ne$1],encapsulation:2})}return t})(),el=(()=>{class t extends ut{dateAdapter=C$2(h3);mode="month";getSelectors(){return [{className:`${this.prefixCls}-month-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year");},label:this.dateAdapter.format(this.value.nativeDate,Ae(this.locale.yearFormat))}]}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["month-header"]],features:[nh],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,n){i&1&&(nl$1(0,"div")(1,"button",0),vh("click",function(){return n.superPrevious()}),fh(2,"span",1),rl$2(),nl$1(3,"button",0),vh("click",function(){return n.previous()}),fh(4,"span",2),rl$2(),nl$1(5,"div"),kD(6,xo,2,5,"button",3,pt,true),rl$2(),nl$1(8,"button",0),vh("click",function(){return n.next()}),fh(9,"span",4),rl$2(),nl$1(10,"button",0),vh("click",function(){return n.superNext()}),fh(11,"span",5),rl$2()()),i&2&&(mw(n.prefixCls),vI(),mw(kw("",n.prefixCls,"-super-prev-btn")),Sh("visibility",n.showSuperPreBtn?"visible":"hidden"),gh("title",Rw(n.superPreviousTitle())),vI(2),mw(kw("",n.prefixCls,"-prev-btn")),Sh("visibility",n.showPreBtn?"visible":"hidden"),gh("title",Rw(n.previousTitle())),vI(2),mw(kw("",n.prefixCls,"-view")),vI(),OD(n.selectors),vI(2),mw(kw("",n.prefixCls,"-next-btn")),Sh("visibility",n.showNextBtn?"visible":"hidden"),gh("title",Rw(n.nextTitle())),vI(2),mw(kw("",n.prefixCls,"-super-next-btn")),Sh("visibility",n.showSuperNextBtn?"visible":"hidden"),gh("title",Rw(n.superNextTitle())));},encapsulation:2})}return t})(),tl=(()=>{class t extends mt{dateAdapter=C$2(h3);MAX_ROW=4;MAX_COL=3;makeHeadRow(){return []}makeBodyRows(){let e=[],i=0;for(let n=0;n<this.MAX_ROW;n++){let o={dateCells:[],trackByIndex:n};for(let u=0;u<this.MAX_COL;u++){let z=this.activeDate.setMonth(i),D=this.isDisabledMonth(z),Q=this.dateAdapter.format(z.nativeDate,Ae(this.locale.monthFormat||"MMM")),U={trackByIndex:u,value:z.nativeDate,isDisabled:D,isSelected:z.isSameMonth(this.value),content:Q,title:Q,classMap:{},cellRender:k9(this.cellRender,z),fullCellRender:k9(this.fullCellRender,z),onClick:()=>this.chooseMonth(U.value.getMonth()),onMouseEnter:()=>this.cellHover.emit(z)};this.addCellProperty(U,z),o.dateCells.push(U),i++;}e.push(o);}return e}isDisabledMonth(e){if(!this.disabledDate)return false;let i=e.setDate(1);for(let n=i;n.getMonth()===e.getMonth();n=n.addDays(1))if(!this.disabledDate(n.nativeDate))return false;return true}addCellProperty(e,i){if(this.hasRangeValue()){let[n,o]=this.hoverValue,[u,z]=this.selectedValue;u?.isSameMonth(i)&&(e.isSelectedStart=true,e.isSelected=true),z?.isSameMonth(i)&&(e.isSelectedEnd=true,e.isSelected=true),n&&o&&(e.isHoverStart=n.isSameMonth(i),e.isHoverEnd=o.isSameMonth(i),e.isLastCellInPanel=i.getMonth()===11,e.isFirstCellInPanel=i.getMonth()===0,e.isInHoverRange=n.isBeforeMonth(i)&&i.isBeforeMonth(o)),e.isStartSingle=u&&!z,e.isEndSingle=!u&&z,e.isInSelectedRange=u?.isBeforeMonth(i)&&i?.isBeforeMonth(z),e.isRangeStartNearHover=u&&e.isInHoverRange,e.isRangeEndNearHover=z&&e.isInHoverRange;}else i.isSameMonth(this.value)&&(e.isSelected=true);e.classMap=this.getClassMap(e);}chooseMonth(e){this.value=this.activeDate.setMonth(e),this.valueChange.emit(this.value);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["month-table"]],features:[nh],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,n){i&1&&(Ni$3(0,"table",0),ND(1,So,5,1,"thead"),Ni$3(2,"tbody"),kD(3,Io,4,3,"tr",1,Pe),tl$1()()),i&2&&(vI(),xD(n.headRow&&n.headRow.length>0?1:-1),vI(2),OD(n.bodyRows));},dependencies:[Ne$1],encapsulation:2})}return t})(),nl=(()=>{class t extends ut{dateAdapter=C$2(h3);getSelectors(){return [{className:`${this.prefixCls}-year-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year");},label:this.dateAdapter.format(this.value.nativeDate,Ae(this.locale.yearFormat))},{className:`${this.prefixCls}-month-btn`,title:this.locale.monthSelect,onClick:()=>{this.mode="month",this.changeMode("month");},label:this.dateAdapter.format(this.value.nativeDate,Ae(this.locale.monthFormat||"MMM"))}]}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["date-header"]],features:[nh],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,n){i&1&&(nl$1(0,"div")(1,"button",0),vh("click",function(){return n.superPrevious()}),fh(2,"span",1),rl$2(),nl$1(3,"button",0),vh("click",function(){return n.previous()}),fh(4,"span",2),rl$2(),nl$1(5,"div"),kD(6,Ro,2,5,"button",3,pt,true),rl$2(),nl$1(8,"button",0),vh("click",function(){return n.next()}),fh(9,"span",4),rl$2(),nl$1(10,"button",0),vh("click",function(){return n.superNext()}),fh(11,"span",5),rl$2()()),i&2&&(mw(n.prefixCls),vI(),mw(kw("",n.prefixCls,"-super-prev-btn")),Sh("visibility",n.showSuperPreBtn?"visible":"hidden"),gh("title",Rw(n.superPreviousTitle())),vI(2),mw(kw("",n.prefixCls,"-prev-btn")),Sh("visibility",n.showPreBtn?"visible":"hidden"),gh("title",Rw(n.previousTitle())),vI(2),mw(kw("",n.prefixCls,"-view")),vI(),OD(n.selectors),vI(2),mw(kw("",n.prefixCls,"-next-btn")),Sh("visibility",n.showNextBtn?"visible":"hidden"),gh("title",Rw(n.nextTitle())),vI(2),mw(kw("",n.prefixCls,"-super-next-btn")),Sh("visibility",n.showSuperNextBtn?"visible":"hidden"),gh("title",Rw(n.superNextTitle())));},encapsulation:2})}return t})(),il=(()=>{class t extends mt{i18n=C$2(Bn);dateAdapter=C$2(h3);format;changeValueFromInside(e){this.activeDate=this.activeDate.setYear(e.getYear()).setMonth(e.getMonth()).setDate(e.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render();}makeHeadRow(){let e=[],i=this.activeDate.calendarStart({weekStartsOn:this.dateAdapter.getFirstDayOfWeek()});for(let n=0;n<this.MAX_COL;n++){let o=i.addDays(n);e.push({trackByIndex:null,value:o.nativeDate,title:this.dateAdapter.format(o.nativeDate,"E"),content:this.dateAdapter.format(o.nativeDate,this.getVeryShortWeekFormat()),isSelected:false,isDisabled:false,onClick(){},onMouseEnter(){}});}return e}getVeryShortWeekFormat(){return this.i18n.getLocaleId().toLowerCase().indexOf("zh")===0?"EEEEE":"EEEEEE"}makeBodyRows(){let e=[],i=this.activeDate.calendarStart({weekStartsOn:this.dateAdapter.getFirstDayOfWeek()});for(let n=0;n<this.MAX_ROW;n++){let o=i.addDays(n*7),u={isActive:false,dateCells:[],trackByIndex:n};for(let z=0;z<7;z++){let D=o.addDays(z),Q=Ae(this.format??this.i18n.getLocaleData("DatePicker.lang.dateFormat","YYYY-MM-DD")),U=this.dateAdapter.format(D.nativeDate,Q),te=this.dateAdapter.format(D.nativeDate,"dd"),K={trackByIndex:z,value:D.nativeDate,label:te,isSelected:false,isDisabled:false,isToday:false,title:U,cellRender:k9(this.cellRender,D),fullCellRender:k9(this.fullCellRender,D),content:`${D.getDate()}`,onClick:()=>this.changeValueFromInside(D),onMouseEnter:()=>this.cellHover.emit(D)};this.addCellProperty(K,D),this.showWeek&&!u.weekNum&&(u.weekNum=this.dateAdapter.getISOWeek(D.nativeDate)),D.isSameDay(this.value)&&(u.isActive=D.isSameDay(this.value)),u.dateCells.push(K);}u.classMap={"ant-picker-week-panel-row":this.canSelectWeek,"ant-picker-week-panel-row-selected":this.canSelectWeek&&u.isActive},e.push(u);}return e}addCellProperty(e,i){if(this.hasRangeValue()&&!this.canSelectWeek){let[n,o]=this.hoverValue,[u,z]=this.selectedValue;u?.isSameDay(i)&&(e.isSelectedStart=true,e.isSelected=true),z?.isSameDay(i)&&(e.isSelectedEnd=true,e.isSelected=true),n&&o&&(e.isHoverStart=n.isSameDay(i),e.isHoverEnd=o.isSameDay(i),e.isLastCellInPanel=i.isLastDayOfMonth(),e.isFirstCellInPanel=i.isFirstDayOfMonth(),e.isInHoverRange=n.isBeforeDay(i)&&i.isBeforeDay(o)),e.isStartSingle=u&&!z,e.isEndSingle=!u&&z,e.isInSelectedRange=u?.isBeforeDay(i)&&i.isBeforeDay(z),e.isRangeStartNearHover=u&&e.isInHoverRange,e.isRangeEndNearHover=z&&e.isInHoverRange;}e.isToday=i.isToday(),e.isSelected=i.isSameDay(this.value),e.isDisabled=!!this.disabledDate?.(i.nativeDate),e.classMap=this.getClassMap(e);}getClassMap(e){let i=new s4(e.value);return s(r({},super.getClassMap(e)),{"ant-picker-cell-today":!!e.isToday,"ant-picker-cell-in-view":i.isSameMonth(this.activeDate)})}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Ay(t)))(n||t)}})();static \u0275cmp=JE({type:t,selectors:[["date-table"]],inputs:{format:"format"},features:[nh],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,n){i&1&&(Ni$3(0,"table",0),ND(1,Ao,5,1,"thead"),Ni$3(2,"tbody"),kD(3,Ko,4,3,"tr",1,Pe),tl$1()()),i&2&&(vI(),xD(n.headRow&&n.headRow.length>0?1:-1),vI(2),OD(n.bodyRows));},dependencies:[Ne$1],encapsulation:2})}return t})();var al=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=eD({type:t});static \u0275inj=hu({})}return t})(),Pi=(()=>{class t{activeDate;endPanelMode;panelMode;showWeek;locale;showTimePicker;timeOptions;disabledDate;dateRender;selectedValue;hoverValue;value;partType;format;panelChange=new Fe$1;headerChange=new Fe$1;selectDate=new Fe$1;selectTime=new Fe$1;cellHover=new Fe$1;prefixCls=an;enablePrevNext(e,i){return !(!this.showTimePicker&&i===this.endPanelMode&&(this.partType==="left"&&e==="next"||this.partType==="right"&&e==="prev"))}onLeave(){this.cellHover.emit(null);}onSelectTime(e){this.selectTime.emit(new s4(e));}onSelectDate(e){let i=e instanceof s4?e:new s4(e),n=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&n&&i.setHms(n.getHours(),n.getMinutes(),n.getSeconds()),this.selectDate.emit(i);}onChooseMonth(e){this.activeDate=this.activeDate.setMonth(e.getMonth()),this.endPanelMode==="month"?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelChange.emit({mode:this.endPanelMode,date:e.nativeDate}));}onChooseQuarter(e){this.activeDate=this.activeDate.setQuarter(e.getQuarter()),this.value=e,this.selectDate.emit(e);}onChooseYear(e){this.activeDate=this.activeDate.setYear(e.getYear()),this.endPanelMode==="year"?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelChange.emit({mode:this.endPanelMode,date:e.nativeDate}));}onChooseDecade(e){this.activeDate=this.activeDate.setYear(e.getYear()),this.endPanelMode==="decade"?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelChange.emit({mode:"year",date:e.nativeDate}));}ngOnChanges(e){let{activeDate:i,panelMode:n}=e;i&&!i.currentValue&&(this.activeDate=new s4),n&&n.currentValue==="time"&&(this.panelMode="date");}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=JE({type:t,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",endPanelMode:"endPanelMode",panelMode:"panelMode",showWeek:[2,"showWeek","showWeek",K0$1],locale:"locale",showTimePicker:[2,"showTimePicker","showTimePicker",K0$1],timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",value:"value",partType:"partType",format:"format"},outputs:{panelChange:"panelChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",cellHover:"cellHover"},features:[fy],decls:8,vars:8,consts:[[3,"mouseleave"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn"],[3,"valueChange","panelChange","value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn"],[3,"valueChange","activeDate","value","locale","disabledDate"],[3,"valueChange","cellHover","activeDate","value","locale","disabledDate","selectedValue","hoverValue"],[3,"valueChange","cellHover","value","activeDate","locale","disabledDate","selectedValue","hoverValue"],[3,"valueChange","cellHover","value","activeDate","locale","disabledDate","selectedValue","hoverValue","cellRender"],[3,"valueChange","panelChange","value","locale","mode","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn"],[3,"valueChange","cellHover","locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","canSelectWeek","format"],[3,"ngModelChange","nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn"]],template:function(i,n){if(i&1&&(Ni$3(0,"div",0),yh("mouseleave",function(){return n.onLeave()}),Ni$3(1,"div"),ND(2,Go,3,13)(3,Jo,3,15)(4,er,3,15)(5,tr,3,16)(6,nr,3,20),tl$1(),ND(7,ir,1,13,"nz-time-picker-panel",1),tl$1()),i&2){let o;Nh("ant-picker-datetime-panel",n.showTimePicker),vI(),mw(Ow("",n.prefixCls,"-",n.panelMode,"-panel")),vI(),xD((o=n.panelMode)==="decade"?2:o==="year"?3:o==="month"?4:o==="quarter"?5:6),vI(5),xD(n.showTimePicker&&n.timeOptions?7:-1);}},dependencies:[al,nl,il,Ur,Xr,el,tl,Zr,Kr,Gr,Jr,Si,en,_o$1,go$2,F3],encapsulation:2})}return t})(),pn=(()=>{class t{datePickerService=C$2(dn);cdr=C$2(Z0$1);host=C$2(Nr$3);destroyRef=C$2(at$1);isRange;inline=false;showWeek;locale;disabledDate;disabledTime;showToday;showNow;showTime;extraFooter;ranges;dateRender;panelMode;defaultPickerValue;dir="ltr";format;panelModeChange=new Fe$1;calendarChange=new Fe$1;resultOk=new Fe$1;prefixCls=an;endPanelMode="date";timeOptions=null;hoverValue=[];checkedPartArr=[false,false];get hasTimePicker(){return !!this.showTime}get hasFooter(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges}get arrowPosition(){return this.dir==="rtl"?{right:`${this.datePickerService?.arrowLeft}px`}:{left:`${this.datePickerService?.arrowLeft}px`}}ngOnInit(){Yg(this.datePickerService.valueChange$,this.datePickerService.inputPartChange$).pipe(xt$1(this.destroyRef)).subscribe(()=>{this.updateActiveDate(),this.cdr.markForCheck();}),Vt$1(this.host.nativeElement,"mousedown").pipe(xt$1(this.destroyRef)).subscribe(e=>e.preventDefault());}ngOnChanges(e){(e.showTime||e.disabledTime)&&this.showTime&&this.buildTimeOptions(),e.panelMode&&(this.endPanelMode=this.panelMode),e.defaultPickerValue&&this.updateActiveDate();}updateActiveDate(){let e=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(e,this.hasTimePicker,this.getPanelMode(this.endPanelMode));}onClickOk(){let e={left:0,right:1}[this.datePickerService.activeInput],i=this.isRange?this.datePickerService.value[e]:this.datePickerService.value;this.changeValueFromSelect(i),this.resultOk.emit();}onClickToday(e){this.changeValueFromSelect(e,!this.showTime);}onCellHover(e){if(!this.isRange)return;if(e===null){this.hoverValue=[];return}let i={left:1,right:0}[this.datePickerService.activeInput],n=this.datePickerService.value[i];n&&(n.isBeforeDay(e)?this.hoverValue=[n,e]:this.hoverValue=[e,n]);}onPanelModeChange(e,i){this.isRange?(this.datePickerService.getActiveIndex(i)===0?this.panelMode=[e.mode,this.panelMode[1]]:this.panelMode=[this.panelMode[0],e.mode],this.panelModeChange.emit({mode:this.panelMode,date:this.datePickerService.activeDate.map(o=>o.nativeDate)})):(this.panelMode=e.mode,this.panelModeChange.emit({mode:this.panelMode,date:e.date}));}onActiveDateChange(e,i){if(this.isRange){let n=[];n[this.datePickerService.getActiveIndex(i)]=e,this.datePickerService.setActiveDate(n,this.hasTimePicker,this.getPanelMode(this.endPanelMode,i));}else this.datePickerService.setActiveDate(e);}onSelectTime(e,i){if(this.isRange){let n=S_(this.datePickerService.value),o=this.datePickerService.getActiveIndex(i);n[o]=this.overrideHms(e,n[o]),this.datePickerService.setValue(n);}else {let n=this.overrideHms(e,this.datePickerService.value);this.datePickerService.setValue(n);}this.datePickerService.inputPartChange$.next(null),this.buildTimeOptions();}changeValueFromSelect(e,i=true,n=false,o){if(this.isRange){let u=S_(this.datePickerService.value),z=this.datePickerService.activeInput,D=z,Q=!!u[0]&&!!u[1],U=!this.checkedPartArr[0]&&!this.checkedPartArr[1];n&&Q&&U&&(u[this.datePickerService.getActiveIndex(this.reversedPart(z))]=null),u[this.datePickerService.getActiveIndex(z)]=e,this.checkedPartArr[this.datePickerService.getActiveIndex(z)]=true,this.hoverValue=u,i?this.inline?(D=this.reversedPart(z),D==="right"&&(u[this.datePickerService.getActiveIndex(D)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(D)]=false),this.datePickerService.setValue(u),this.calendarChange.emit(u),this.isBothAllowed(u)&&this.checkedPartArr[0]&&this.checkedPartArr[1]&&(this.clearHoverValue(),this.resetCheckedPart(),this.datePickerService.emitValue$.next())):(w_(u)&&u.reverse(),this.datePickerService.setValue(u),this.isBothAllowed(u)&&this.checkedPartArr[0]&&this.checkedPartArr[1]?(this.calendarChange.emit(u),this.clearHoverValue(),this.resetCheckedPart(),this.datePickerService.emitValue$.next()):this.isAllowed(u)&&(D=this.reversedPart(z),this.calendarChange.emit([e.clone()]))):this.datePickerService.setValue(u),this.datePickerService.inputPartChange$.next(D),o&&!!u[0]!=!!u[1]&&this.onActiveDateChange(e,o);}else this.datePickerService.setValue(e),this.datePickerService.inputPartChange$.next(null),i&&this.isAllowed(e)&&this.datePickerService.emitValue$.next();this.buildTimeOptions();}reversedPart(e){return e==="left"?"right":"left"}getPanelMode(e,i){return this.isRange?e[this.datePickerService.getActiveIndex(i)]:e}getValue(e){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(e)]:this.datePickerService.value}getActiveDate(e){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(e)]:this.datePickerService.activeDate}disabledStartTime=e=>this.disabledTime&&this.disabledTime(e,"start");disabledEndTime=e=>this.disabledTime&&this.disabledTime(e,"end");isOneAllowed(e){let i=this.datePickerService.getActiveIndex(),n=[this.disabledStartTime,this.disabledEndTime];return tn(e[i],this.disabledDate,n[i])}isBothAllowed(e){return tn(e[0],this.disabledDate,this.disabledStartTime)&&tn(e[1],this.disabledDate,this.disabledEndTime)}isAllowed(e,i=false){return this.isRange?i?this.isBothAllowed(e):this.isOneAllowed(e):tn(e,this.disabledDate,this.disabledTime)}getTimeOptions(e){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(e)]:this.timeOptions:null}onClickPresetRange(e){let i=typeof e=="function"?e():e;i&&(this.datePickerService.setValue([new s4(i[0]),new s4(i[1])]),this.datePickerService.emitValue$.next());}onPresetRangeMouseLeave(){this.clearHoverValue();}onHoverPresetRange(e){typeof e!="function"&&(this.hoverValue=[new s4(e[0]),new s4(e[1])]);}getObjectKeys(e){return e?Object.keys(e):[]}show(e){return !(this.showTime&&this.isRange&&this.datePickerService.activeInput!==e)}clearHoverValue(){this.hoverValue=[];}resetCheckedPart(){this.checkedPartArr=[false,false];}buildTimeOptions(){if(this.showTime){let e=typeof this.showTime=="object"?this.showTime:{};if(this.isRange){let i=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(e,i[0],"start"),this.overrideTimeOptions(e,i[1],"end")];}else this.timeOptions=this.overrideTimeOptions(e,this.datePickerService.value);}else this.timeOptions=null;}overrideTimeOptions(e,i,n){let o;return n?o=n==="start"?this.disabledStartTime:this.disabledEndTime:o=this.disabledTime,r(r({},e),yi(i,o))}overrideHms(e,i){return e=e||new s4,i=i||new s4,i.setHms(e.getHours(),e.getMinutes(),e.getSeconds())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=JE({type:t,selectors:[["date-range-popup"]],inputs:{isRange:[2,"isRange","isRange",K0$1],inline:[2,"inline","inline",K0$1],showWeek:[2,"showWeek","showWeek",K0$1],locale:"locale",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:[2,"showToday","showToday",K0$1],showNow:[2,"showNow","showNow",K0$1],showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",panelMode:"panelMode",defaultPickerValue:"defaultPickerValue",dir:"dir",format:"format"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},features:[fy],decls:8,vars:1,consts:[["tplInnerPopup",""],["tplFooter",""],["tplRangeQuickSelector",""],[3,"class"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1"],[3,"panelChange","cellHover","selectDate","selectTime","headerChange","showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","format"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector"],[3,"clickOk","clickToday","locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(i,n){i&1&&(ND(0,pr,7,18,"div",3)(1,_r,4,13,"div",3),oh(2,hr,2,19,"ng-template",null,0,zw)(4,Cr,1,1,"ng-template",null,1,zw)(6,vr,2,0,"ng-template",null,2,zw)),i&2&&xD(n.isRange?0:1);},dependencies:[Pi,Ur$2,wi],encapsulation:2})}return t})(),ol=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=rD({type:t,selectors:[["nz-range-picker"]],exportAs:["nzRangePicker"]})}return t})(),cn={position:"relative"},rl="datePicker",un=(()=>{let t,a=[],e=[],i,n=[],o=[],u,z=[],D=[],Q,U=[],te=[];return class nn{static{let s=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[pt$2()],i=[pt$2()],u=[pt$2()],Q=[pt$2()],dC(null,null,t,{kind:"field",name:"nzVariant",static:false,private:false,access:{has:_=>"nzVariant"in _,get:_=>_.nzVariant,set:(_,k)=>{_.nzVariant=k;}},metadata:s},a,e),dC(null,null,i,{kind:"field",name:"nzSeparator",static:false,private:false,access:{has:_=>"nzSeparator"in _,get:_=>_.nzSeparator,set:(_,k)=>{_.nzSeparator=k;}},metadata:s},n,o),dC(null,null,u,{kind:"field",name:"nzSuffixIcon",static:false,private:false,access:{has:_=>"nzSuffixIcon"in _,get:_=>_.nzSuffixIcon,set:(_,k)=>{_.nzSuffixIcon=k;}},metadata:s},z,D),dC(null,null,Q,{kind:"field",name:"nzBackdrop",static:false,private:false,access:{has:_=>"nzBackdrop"in _,get:_=>_.nzBackdrop,set:(_,k)=>{_.nzBackdrop=k;}},metadata:s},U,te),s&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:s});}datePickerService=C$2(dn);i18n=C$2(Bn);cdr=C$2(Z0$1);dir=C$2(Ie).valueSignal;renderer=C$2(nE);elementRef=C$2(Nr$3);dateAdapter=C$2(h3);nzResizeObserver=C$2(N);platform=C$2(J$1);destroyRef=C$2(at$1);nzFormStatusService=C$2(Oa$1,{optional:true});_nzModuleName=rl;static ngAcceptInputType_nzShowTime;static ngAcceptInputType_nzMode;isRange=!!C$2(ol,{self:true,optional:true});extraFooter;statusCls={};status="";hasFeedback=false;panelMode="date";isCustomPlaceHolder=false;isCustomFormat=false;showTime=false;isNzDisableFirstChange=true;nzInline=q0$1(false,{transform:K0$1});nzAllowClear=true;nzAutoFocus=false;nzDisabled=false;nzInputReadOnly=false;nzOpen;nzDisabledDate;nzLocale;nzPlaceHolder="";nzPopupStyle=cn;nzDropdownClassName=q0$1();nzSize="default";nzStatus="";nzFormat;nzVariant=fC(this,a,void 0);nzDateRender=fC(this,e);nzDisabledTime;nzRenderExtraFooter;nzShowToday=true;nzMode="date";nzShowNow=true;nzRanges;nzDefaultPickerValue=null;nzSeparator=fC(this,n,void 0);nzSuffixIcon=(fC(this,o),fC(this,z,"calendar"));nzBackdrop=(fC(this,D),fC(this,U,false));nzId=(fC(this,te),null);nzPlacement="bottomLeft";nzShowWeekNumber=false;nzOnPanelChange=new Fe$1;nzOnCalendarChange=new Fe$1;nzOnOk=new Fe$1;nzOnOpenChange=new Fe$1;get nzShowTime(){return this.showTime}set nzShowTime(s){this.showTime=typeof s=="object"?s:C9(s);}cdkConnectedOverlay;panel;separatorElement;pickerInput;rangePickerInputs;get origin(){return this.elementRef}inputSize=12;inputWidth;prefixCls=an;inputValue;activeBarStyle={};overlayOpen=false;overlayPositions=[...om];currentPosition=Go$2({originX:"start",originY:"bottom"});datepickerAnimationEnter=Tr$1();datepickerAnimationLeave=Pr$1();dropdownClass=Kw(()=>{let s=[];if(!this.nzInline()){s.push(this.generateClass("dropdown"));let _=this.nzDropdownClassName();_&&s.push(_);let{originX:k,originY:R}=this.currentPosition();k==="start"&&R==="bottom"?s.push(this.generateClass("dropdown-placement-bottomLeft")):k==="start"&&R==="top"?s.push(this.generateClass("dropdown-placement-topLeft")):k==="end"&&R==="bottom"?s.push(this.generateClass("dropdown-placement-bottomRight")):k==="end"&&R==="top"&&s.push(this.generateClass("dropdown-placement-topRight")),this.dir()==="rtl"&&s.push(this.generateClass("dropdown-rtl"));}return s});get realOpenState(){return this.isOpenHandledByUser()?!!this.nzOpen:this.overlayOpen}finalSize=Kw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());finalVariant=Kw(()=>this.variant()||this.formVariant?.()||"outlined");size=Go$2(this.nzSize);variant=Go$2(this.nzVariant);formSize=C$2(p1,{optional:true});formVariant=C$2(Ya$1,{optional:true});compactSize=C$2(j1,{optional:true});document=C$2(Wo$2);constructor(){this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(true);}ngAfterViewInit(){this.nzAutoFocus&&this.focus(),this.isRange&&this.platform.isBrowser&&this.nzResizeObserver.observe(this.elementRef).pipe(xt$1(this.destroyRef)).subscribe(()=>{this.updateInputWidthAndArrowLeft();}),this.datePickerService.inputPartChange$.pipe(xt$1(this.destroyRef)).subscribe(s=>{s&&(this.datePickerService.activeInput=s),this.focus(),this.updateInputWidthAndArrowLeft();}),this.platform.isBrowser&&Vt$1(this.elementRef.nativeElement,"mousedown").pipe(xt$1(this.destroyRef)).subscribe(s=>{s.target.tagName.toLowerCase()!=="input"&&s.preventDefault();});}updateInputWidthAndArrowLeft(){this.inputWidth=this.rangePickerInputs?.first?.nativeElement.offsetWidth||0;let s$1={position:"absolute",width:`${this.inputWidth}px`};this.datePickerService.arrowLeft=this.datePickerService.activeInput==="left"?0:this.inputWidth+this.separatorElement?.nativeElement.offsetWidth||0,this.dir()==="rtl"?this.activeBarStyle=s(r({},s$1),{right:`${this.datePickerService.arrowLeft}px`}):this.activeBarStyle=s(r({},s$1),{left:`${this.datePickerService.arrowLeft}px`}),this.cdr.markForCheck();}getInput(s){if(!this.nzInline())return this.isRange?s==="left"?this.rangePickerInputs?.first.nativeElement:this.rangePickerInputs?.last.nativeElement:this.pickerInput.nativeElement}focus(){let s=this.getInput(this.datePickerService.activeInput);this.document.activeElement!==s&&s?.focus();}onFocus(s,_){s.preventDefault(),_&&this.datePickerService.inputPartChange$.next(_),this.renderClass(true);}onFocusout(s){s.preventDefault(),this.onTouchedFn(),this.elementRef.nativeElement.contains(s.relatedTarget)||this.checkAndClose(),this.renderClass(false);}open(){this.nzInline()||!this.realOpenState&&!this.nzDisabled&&(this.updateInputWidthAndArrowLeft(),this.overlayOpen=true,this.nzOnOpenChange.emit(true),this.focus(),this.cdr.markForCheck());}close(){this.nzInline()||this.realOpenState&&(this.overlayOpen=false,this.nzOnOpenChange.emit(false));}get showClear(){return !this.nzDisabled&&!this.isEmptyValue(this.datePickerService.value)&&this.nzAllowClear}checkAndClose(){if(this.realOpenState){if(!this.panel){this.datePickerService.setValue(this.datePickerService.initialValue),this.close();return}if(this.panel.isAllowed(this.datePickerService.value,true)){if(Array.isArray(this.datePickerService.value)&&w_(this.datePickerService.value)){let s=this.datePickerService.getActiveIndex(),_=this.datePickerService.value[s];this.panel.changeValueFromSelect(_,true);return}this.updateInputValue(),this.datePickerService.emitValue$.next();}else this.datePickerService.setValue(this.datePickerService.initialValue),this.close();}}onClickInputBox(s){s.stopPropagation(),this.focus(),this.isOpenHandledByUser()||this.open();}onOverlayKeydown(s){s.keyCode===27&&this.datePickerService.initValue();}onPositionChange(s){this.currentPosition.set(s.connectionPair);}onClickClear(s){s.preventDefault(),s.stopPropagation(),this.datePickerService.initValue(true),this.datePickerService.emitValue$.next();}updateInputValue(){let s=this.datePickerService.value;this.isRange?this.inputValue=s?s.map(_=>this.formatValue(_)):["",""]:this.inputValue=this.formatValue(s),this.cdr.markForCheck();}formatValue(s){return s?this.dateAdapter.format(s.nativeDate,this.nzFormat):""}onInputChange(s,_=false){if(!this.platform.TRIDENT&&this.document.activeElement===this.getInput(this.datePickerService.activeInput)&&!this.realOpenState){this.open();return}let k=this.checkValidDate(s);k&&this.realOpenState&&this.panel&&this.panel.changeValueFromSelect(k,_);}onKeyupEnter(s){this.onInputChange(s.target.value,true);}checkValidDate(s){let _=new s4(this.dateAdapter.parse(s,this.nzFormat));return !_.isValid()||s!==this.dateAdapter.format(_.nativeDate,this.nzFormat)?null:_}getPlaceholder(s){return this.isRange?this.nzPlaceHolder[this.datePickerService.getActiveIndex(s)]:this.nzPlaceHolder}isEmptyValue(s){return s===null?true:this.isRange?!s||!Array.isArray(s)||s.every(_=>!_):!s}isOpenHandledByUser(){return this.nzOpen!==void 0}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(em((s,_)=>s.status===_.status&&s.hasFeedback===_.hasFeedback),xt$1(this.destroyRef)).subscribe(({status:s,hasFeedback:_})=>{this.setStatusStyles(s,_);}),this.nzLocale||this.i18n.localeChange.pipe(xt$1(this.destroyRef)).subscribe(()=>this.setLocale()),this.datePickerService.emitValue$.pipe(xt$1(this.destroyRef)).subscribe(()=>{let s=this.showTime?"second":"day",_=this.datePickerService.value,k=this.datePickerService.initialValue;if(!this.isRange&&_?.isSame(k?.nativeDate,s))return this.onTouchedFn(),this.close();if(this.isRange){let[R,pe]=k,[Be,Le]=_;if(R?.isSame(Be?.nativeDate,s)&&pe?.isSame(Le?.nativeDate,s))return this.onTouchedFn(),this.close()}if(this.datePickerService.initialValue=S_(_),this.isRange){let R=_;R.length?this.onChangeFn([R[0]?.nativeDate??null,R[1]?.nativeDate??null]):this.onChangeFn([]);}else _?this.onChangeFn(_.nativeDate):this.onChangeFn(null);this.onTouchedFn(),this.close();}),this.inputValue=this.isRange?["",""]:"",this.setModeAndFormat(),this.datePickerService.valueChange$.pipe(xt$1(this.destroyRef)).subscribe(()=>{this.updateInputValue();});}ngOnChanges(s){let{nzStatus:_,nzPlacement:k,nzPopupStyle:R,nzPlaceHolder:pe,nzLocale:Be,nzFormat:Le,nzRenderExtraFooter:_t,nzMode:ht,nzSize:qe,nzVariant:Xe}=s;R&&(this.nzPopupStyle=this.nzPopupStyle?r(r({},this.nzPopupStyle),cn):cn),pe?.currentValue&&(this.isCustomPlaceHolder=true),Le?.currentValue&&(this.isCustomFormat=true,this.updateInputValue()),Be&&this.setDefaultPlaceHolder(),_t&&(this.extraFooter=k9(this.nzRenderExtraFooter)),ht&&(this.setDefaultPlaceHolder(),this.setModeAndFormat()),_&&this.setStatusStyles(this.nzStatus,this.hasFeedback),k&&this.setPlacement(this.nzPlacement),qe&&this.size.set(qe.currentValue),Xe&&this.variant.set(Xe.currentValue);}setModeAndFormat(){let s={year:"yyyy",quarter:"yyyy-[Q]Q",month:"yyyy-MM",week:"YYYY-ww",date:this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd"};this.nzMode||(this.nzMode="date"),this.panelMode=this.isRange?[this.nzMode,this.nzMode]:this.nzMode,this.isCustomFormat||(this.nzFormat=s[this.nzMode]),this.inputSize=Math.max(10,this.nzFormat.length)+2,this.updateInputValue();}onOpenChange(s){this.nzOnOpenChange.emit(s);}onChangeFn=()=>{};onTouchedFn=()=>{};writeValue(s){this.setValue(s),this.cdr.markForCheck();}registerOnChange(s){this.onChangeFn=s;}registerOnTouched(s){this.onTouchedFn=s;}setDisabledState(s){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||s,this.cdr.markForCheck(),this.isNzDisableFirstChange=false;}setLocale(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck();}setDefaultPlaceHolder(){if(!this.isCustomPlaceHolder&&this.nzLocale){let s={year:this.getPropertyOfLocale("yearPlaceholder"),quarter:this.getPropertyOfLocale("quarterPlaceholder"),month:this.getPropertyOfLocale("monthPlaceholder"),week:this.getPropertyOfLocale("weekPlaceholder"),date:this.getPropertyOfLocale("placeholder")},_={year:this.getPropertyOfLocale("rangeYearPlaceholder"),quarter:this.getPropertyOfLocale("rangeQuarterPlaceholder"),month:this.getPropertyOfLocale("rangeMonthPlaceholder"),week:this.getPropertyOfLocale("rangeWeekPlaceholder"),date:this.getPropertyOfLocale("rangePlaceholder")};this.nzPlaceHolder=this.isRange?_[this.nzMode]:s[this.nzMode];}}getPropertyOfLocale(s){return this.nzLocale.lang[s]||this.i18n.getLocaleData(`DatePicker.lang.${s}`)}setValue(s){let _=this.datePickerService.makeValue(s);this.datePickerService.setValue(_),this.datePickerService.initialValue=S_(_),this.cdr.detectChanges();}renderClass(s){s?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused");}onPanelModeChange(s){this.nzOnPanelChange.emit(s);}onCalendarChange(s){if(this.isRange&&Array.isArray(s)){let _=s.filter(k=>k instanceof s4).map(k=>k.nativeDate);this.nzOnCalendarChange.emit(_);}}onResultOk(){if(this.isRange){let s=this.datePickerService.value;s.length?this.nzOnOk.emit([s[0]?.nativeDate||null,s[1]?.nativeDate||null]):this.nzOnOk.emit([]);}else this.datePickerService.value?this.nzOnOk.emit(this.datePickerService.value.nativeDate):this.nzOnOk.emit(null);}setStatusStyles(s,_){this.status=s,this.hasFeedback=_,this.cdr.markForCheck(),this.statusCls=Go$1(this.prefixCls,s,_),Object.keys(this.statusCls).forEach(k=>{this.statusCls[k]?this.renderer.addClass(this.elementRef.nativeElement,k):this.renderer.removeClass(this.elementRef.nativeElement,k);});}setPlacement(s){let _=f2[s];this.overlayPositions=[_,...om],this.currentPosition.set(_);}generateClass(s){return H9(this.prefixCls,s)}static \u0275fac=function(_){return new(_||nn)};static \u0275cmp=JE({type:nn,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-quarter-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(_,k){if(_&1&&Dh(v1,5)(pn,5)(xr,5)(zr,5)(kr,5),_&2){let R;JD(R=XD())&&(k.cdkConnectedOverlay=R.first),JD(R=XD())&&(k.panel=R.first),JD(R=XD())&&(k.separatorElement=R.first),JD(R=XD())&&(k.pickerInput=R.first),JD(R=XD())&&(k.rangePickerInputs=R);}},hostVars:22,hostBindings:function(_,k){_&1&&yh("click",function(pe){return k.onClickInputBox(pe)}),_&2&&Nh("ant-picker",true)("ant-picker-range",k.isRange)("ant-picker-large",k.finalSize()==="large")("ant-picker-small",k.finalSize()==="small")("ant-picker-disabled",k.nzDisabled)("ant-picker-rtl",k.dir()==="rtl")("ant-picker-outlined",k.finalVariant()==="outlined")("ant-picker-borderless",k.finalVariant()==="borderless")("ant-picker-filled",k.finalVariant()==="filled")("ant-picker-underlined",k.finalVariant()==="underlined")("ant-picker-inline",k.nzInline());},inputs:{nzInline:[1,"nzInline"],nzAllowClear:[2,"nzAllowClear","nzAllowClear",K0$1],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",K0$1],nzDisabled:[2,"nzDisabled","nzDisabled",K0$1],nzInputReadOnly:[2,"nzInputReadOnly","nzInputReadOnly",K0$1],nzOpen:[2,"nzOpen","nzOpen",K0$1],nzDisabledDate:"nzDisabledDate",nzLocale:"nzLocale",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzDropdownClassName:[1,"nzDropdownClassName"],nzSize:"nzSize",nzStatus:"nzStatus",nzFormat:"nzFormat",nzVariant:"nzVariant",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzShowToday:[2,"nzShowToday","nzShowToday",K0$1],nzMode:"nzMode",nzShowNow:[2,"nzShowNow","nzShowNow",K0$1],nzRanges:"nzRanges",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzBackdrop:"nzBackdrop",nzId:"nzId",nzPlacement:"nzPlacement",nzShowWeekNumber:[2,"nzShowWeekNumber","nzShowWeekNumber",K0$1],nzShowTime:"nzShowTime"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[Vw([dn,{provide:U1,useValue:"picker"},{provide:d1,multi:true,useExisting:bo$3(()=>nn)}]),aD([X4]),fy],decls:9,vars:7,consts:[["tplRangeInput",""],["tplRightRest",""],["inlineMode",""],["pickerInput",""],["separatorElement",""],["rangePickerInput",""],[3,"ngTemplateOutlet"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"positionChange","detach","overlayKeydown","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions"],[3,"class"],["autocomplete","off",3,"ngModelChange","focus","focusout","keyup.enter","disabled","readOnly","ngModel","placeholder","size"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nzType","swap-right","nzTheme","outline"],["autocomplete","off",3,"click","focusout","focus","keyup.enter","ngModelChange","disabled","readOnly","size","ngModel","placeholder"],[3,"status"],[3,"click"],["nzType","close-circle","nzTheme","fill"],[3,"nzType"],[3,"panelModeChange","calendarChange","resultOk","isRange","inline","defaultPickerValue","showWeek","panelMode","locale","showToday","showNow","showTime","dateRender","disabledDate","disabledTime","extraFooter","ranges","dir","format"]],template:function(_,k){_&1&&(ND(0,Or,2,1)(1,Fr,1,1,null,6),oh(2,Ir,2,7,"ng-template",null,0,zw)(4,Ar,5,11,"ng-template",null,1,zw)(6,Br,2,26,"ng-template",null,2,zw)(8,$r,1,1,"ng-template",7),yh("positionChange",function(pe){return k.onPositionChange(pe)})("detach",function(){return k.close()})("overlayKeydown",function(pe){return k.onOverlayKeydown(pe)})),_&2&&(xD(k.nzInline()?1:0),vI(8),uh("cdkConnectedOverlayTransformOriginOn",kw(".",k.prefixCls,"-dropdown"))("cdkConnectedOverlayHasBackdrop",k.nzBackdrop)("cdkConnectedOverlayOrigin",k.origin)("cdkConnectedOverlayOpen",k.realOpenState)("cdkConnectedOverlayPositions",k.overlayPositions));},dependencies:[_o$1,F4,go$2,F3,Ur$2,Pt,Ne$1,vt$1,ke$1,Ea$1,pn,v1,Sn$1,fi$1],encapsulation:2})}})();var Di=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=eD({type:t});static \u0275inj=hu({imports:[un,wi,Pi,pn]})}return t})();function sl(t,a){if(t&1){let e=HD();Ni$3(0,"div",1)(1,"nav",2)(2,"a",3),_w(3),tl$1(),Ni$3(4,"a",4),_w(5),tl$1(),Ni$3(6,"a",5),_w(7),tl$1(),Ni$3(8,"a",6),_w(9),tl$1(),Ni$3(10,"div",7)(11,"label",8)(12,"span"),_w(13),tl$1(),Ni$3(14,"nz-select",9),yh("ngModelChange",function(n){Vu(e);let o=zD();return Hu(o.onLanguageChange(n))}),dh(15,"nz-option",10)(16,"nz-option",11),tl$1(),cE(),tl$1(),Ni$3(17,"label",12)(18,"span"),_w(19),tl$1(),dh(20,"nz-date-picker",13),tl$1()()(),dh(21,"router-outlet"),tl$1();}if(t&2){let e=a.$implicit,i=zD();vI(3),Vh(e("nav.jobs")),vI(2),Vh(e("nav.workflows")),vI(2),Vh(e("nav.views")),vI(2),Vh(e("nav.settings")),vI(4),Vh(e("nav.language")),vI(),uh("ngModel",i.language.currentLang()),uE(),vI(5),Vh(e("nav.localeCheck"));}}var Mi=(()=>{class t{constructor(){this.language=C$2(O);}onLanguageChange(e){this.language.setLanguage(e);}static{this.\u0275fac=function(i){return new(i||t)};}static{this.\u0275cmp=JE({type:t,selectors:[["app-root"]],decls:1,vars:0,consts:[["class","shell",4,"transloco"],[1,"shell"],[1,"nav"],["routerLink","/jobs","routerLinkActive","active"],["routerLink","/workflows","routerLinkActive","active"],["routerLink","/views","routerLinkActive","active"],["routerLink","/settings","routerLinkActive","active"],[1,"nav-end"],["data-testid","language-switcher",1,"lang"],["data-testid","language-select",2,"min-width","5.5rem",3,"ngModelChange","ngModel"],["nzValue","en","nzLabel","en"],["nzValue","es","nzLabel","es"],[1,"locale-check"],["data-testid","locale-check-datepicker"]],template:function(i,n){i&1&&oh(0,sl,22,7,"div",0);},dependencies:[cr$1,Mt,wo$1,_o$1,go$2,F3,dc$1,Kb,q5,G5,Di,un],styles:[".shell[_ngcontent-%COMP%]{min-height:100vh;background:linear-gradient(180deg,#fafaf9,#f5f5f4);color:#1c1917;font-family:Georgia,Times New Roman,serif}.nav[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;padding:.85rem 1.5rem;border-bottom:1px solid #d6d3d1;background:#ffffffd9}.nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#44403c;text-decoration:none}.nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#0c0a09;font-weight:700;text-decoration:underline}.nav-end[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-left:auto}.lang[_ngcontent-%COMP%], .locale-check[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;font-size:.9rem;color:#57534e}"]});}}return t})();var cl="@",dl=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=C$2(De$2);loadingSchedulerFn=C$2(pl,{optional:true});_engine;constructor(e,i,n,o,u){this.doc=e,this.delegate=i,this.zone=n,this.animationType=o,this.moduleImpl=u;}ngOnDestroy(){this._engine?.flush();}loadImpl(){let e=()=>this.moduleImpl??import('./chunk-Bl6kwpIK.js').then(n=>n),i;return this.loadingSchedulerFn?i=this.loadingSchedulerFn(e):i=e(),i.catch(n=>{throw new _$2(5300,false)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc);let u=new o(this.delegate,this._engine,this.zone);return this.delegate=u,u})}createRenderer(e,i){let n=this.delegate.createRenderer(e,i);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=false);let o=new mn(n);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(u=>{let z=u.createRenderer(e,i);o.use(z),this.scheduler??=this.injector.get(Be$1,null,{optional:true}),this.scheduler?.notify(10);}).catch(u=>{o.use(n);}),o}begin(){this.delegate.begin?.();}end(){this.delegate.end?.();}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e);}static \u0275fac=function(i){mE();};static \u0275prov=ie$2({token:t,factory:t.\u0275fac})}return t})(),mn=class{delegate;replay=[];\u0275type=1;constructor(a){this.delegate=a;}use(a){if(this.delegate=a,this.replay!==null){for(let e of this.replay)e(a);this.replay=null;}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy();}createElement(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}get destroyNode(){return this.delegate.destroyNode}appendChild(a,e){this.delegate.appendChild(a,e);}insertBefore(a,e,i,n){this.delegate.insertBefore(a,e,i,n);}removeChild(a,e,i,n){this.delegate.removeChild(a,e,i,n);}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,i,n){this.delegate.setAttribute(a,e,i,n);}removeAttribute(a,e,i){this.delegate.removeAttribute(a,e,i);}addClass(a,e){this.delegate.addClass(a,e);}removeClass(a,e){this.delegate.removeClass(a,e);}setStyle(a,e,i,n){this.delegate.setStyle(a,e,i,n);}removeStyle(a,e,i){this.delegate.removeStyle(a,e,i);}setProperty(a,e,i){this.shouldReplay(e)&&this.replay.push(n=>n.setProperty(a,e,i)),this.delegate.setProperty(a,e,i);}setValue(a,e){this.delegate.setValue(a,e);}listen(a,e,i,n){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(a,e,i,n)),this.delegate.listen(a,e,i,n)}shouldReplay(a){return this.replay!==null&&a.startsWith(cl)}},pl=new A$2("");function Vi(t="animations"){return le$1("NgAsyncAnimations"),Cu([{provide:Cr$2,useFactory:()=>new dl(C$2(Wo$2),C$2(Mt$1),C$2(oe$3),t)},{provide:Zm,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Oi=(()=>{class t{constructor(){this.http=C$2(or$3);}getTranslation(e){return this.http.get(`./assets/i18n/${e}.json`)}static{this.\u0275fac=function(i){return new(i||t)};}static{this.\u0275prov=ie$2({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var Ei=[{path:"",pathMatch:"full",redirectTo:"jobs"},{path:"jobs",pathMatch:"full",loadComponent:()=>import('./chunk-ByacugWF.js').then(t=>t.JobListComponent)},{path:"jobs/new",loadComponent:()=>import('./chunk-CntkJjcW.js').then(t=>t.JobRunnerComponent)},{path:"jobs/:id",loadComponent:()=>import('./chunk-D3rwM_uV.js').then(t=>t.JobDetailComponent)},{path:"batches/:id",loadComponent:()=>import('./chunk-DYzjfNdD.js').then(t=>t.BatchDetailComponent)},{path:"workflows",loadComponent:()=>import('./chunk-BX5sYPy1.js').then(t=>t.WorkflowListComponent)},{path:"workflows/new",loadComponent:()=>import('./chunk-8joH1h3C.js').then(t=>t.WorkflowEditorComponent)},{path:"workflows/:id/edit",loadComponent:()=>import('./chunk-8joH1h3C.js').then(t=>t.WorkflowEditorComponent)},{path:"views",loadComponent:()=>import('./chunk-Be6g3Cmv.js').then(t=>t.ViewListComponent)},{path:"views/new",loadComponent:()=>import('./chunk-DdSpqYCm.js').then(t=>t.ViewEditorComponent)},{path:"views/:id/edit",loadComponent:()=>import('./chunk-DdSpqYCm.js').then(t=>t.ViewEditorComponent)},{path:"views/:id",loadComponent:()=>import('./chunk-iJsU0w_6.js').then(t=>t.ViewDetailComponent)},{path:"settings",loadComponent:()=>import('./chunk-Cuh7ppOq.js').then(t=>t.SettingsComponent)}];var Fi={providers:[Ao$1(Ei),Oi$3(),Vi(),B_(os),V_(),hc$1({config:{availableLangs:["en","es"],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:true,prodMode:true},loader:Oi})]};ui$2(Mi,Fi).catch(t=>console.error(t));export{U0$1 as $,uh as A,uE as B,C$2 as C,xD as D,zD as E,F3 as F,Go$2 as G,HD as H,Vu as I,JE as J,Kw as K,Hu as L,Mt as M,Ni$3 as N,OD as O,ue as P,W as Q,RD as R,Hh as S,sd as T,Uw as U,Vd as V,Ww as W,Jw as X,A7 as Y,q0$1 as Z,_$2 as _,at$1 as a,nh as a$,Gw as a0,Bw as a1,Nh as a2,lh as a3,Hw as a4,AD as a5,Rg as a6,ss$1 as a7,jg as a8,or$3 as a9,vt$1 as aA,ke$1 as aB,Ea$1 as aC,Ur$2 as aD,ZD as aE,oh as aF,zw as aG,Vw as aH,d1 as aI,U1 as aJ,bo$3 as aK,aD as aL,X4 as aM,mw as aN,Th as aO,ew as aP,wh as aQ,W0$1 as aR,tw as aS,Uh as aT,$h as aU,YD as aV,Nw as aW,dC as aX,fC as aY,Fe$1 as aZ,rD as a_,O as aa,ur$3 as ab,Me$2 as ac,F4 as ad,mo$2 as ae,eD as af,hu as ag,J0$1 as ah,K0$1 as ai,j1 as aj,G0$1 as ak,Nr$3 as al,De$2 as am,m3 as an,Ie as ao,Oa$1 as ap,X3 as aq,p1 as ar,Ya$1 as as,eT as at,z0$1 as au,Go$1 as av,P9 as aw,b9 as ax,ep as ay,O9 as az,_o$1 as b,Tt$1 as b$,re as b0,Wo$2 as b1,Wo$1 as b2,rm as b3,sn$2 as b4,zl$1 as b5,wn$1 as b6,v1 as b7,Sn$1 as b8,fi$1 as b9,Lr$3 as bA,ky as bB,fy as bC,Z0$1 as bD,v2 as bE,p2 as bF,Me$1 as bG,Ju as bH,xn$1 as bI,Ee$1 as bJ,Tr$3 as bK,ol$1 as bL,il$2 as bM,C9 as bN,i9 as bO,Sh as bP,E0 as bQ,H0 as bR,$w as bS,nl$1 as bT,rl$2 as bU,vh as bV,gh as bW,Bn as bX,Ln$3 as bY,N as bZ,On$3 as b_,Ks as ba,qs as bb,d4 as bc,Pt as bd,Ne$1 as be,j_ as bf,R_ as bg,Dh as bh,JD as bi,XD as bj,pt$2 as bk,kr$1 as bl,a9 as bm,Ay as bn,si$3 as bo,ii$3 as bp,Wh as bq,hw as br,Bi$3 as bs,nE as bt,Dt as bu,Qm as bv,qo$2 as bw,em as bx,Xg as by,Lg as bz,Fc as c,xw as c$,Bg as c0,T9 as c1,Eh as c2,Zl$1 as c3,Yl$1 as c4,yt$2 as c5,Yg as c6,Ee$3 as c7,rr$2 as c8,Rn$1 as c9,Cn$1 as cA,yn$1 as cB,Ga$1 as cC,Q1 as cD,Ht$1 as cE,H9 as cF,E9 as cG,sb as cH,Vr$1 as cI,X as cJ,oc$1 as cK,Rr$1 as cL,O1 as cM,S9 as cN,ih as cO,Ct$1 as cP,xi$2 as cQ,di$1 as cR,qc as cS,Z1 as cT,V9 as cU,u7 as cV,C3 as cW,Kl$1 as cX,m7 as cY,r0 as cZ,y0 as c_,Vr$2 as ca,x9 as cb,oe$3 as cc,Vt$1 as cd,J$1 as ce,fn$1 as cf,mn$2 as cg,un$2 as ch,pn$2 as ci,G1 as cj,M9 as ck,$l$1 as cl,am as cm,S as cn,el$1 as co,MD as cp,hh as cq,A$2 as cr,H as cs,w9 as ct,Tr$1 as cu,Pr$1 as cv,fh as cw,is$2 as cx,Kg as cy,Mn$1 as cz,Kb as d,u as d0,v$1 as d1,Dv as d2,Aw as d3,Zm as d4,Ps as d5,Cr$2 as d6,X$1 as d7,Vg as d8,G5 as e,fc$1 as f,go$2 as g,_w as h,ie$2 as i,jn$2 as j,tl$1 as k,yh as l,kD as m,cE as n,dh as o,ND as p,q5 as q,r,s,t,vI as u,vr$2 as v,Vh as w,xt$1 as x,y7 as y,sl$2 as z};
|