@knoflows/engine 0.1.0-alpha.8 → 0.1.0-beta.16

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.
Files changed (109) hide show
  1. package/README.md +5 -10
  2. package/dist/engine.js +116 -139
  3. package/dist/migrations/20260917165450_baseline/migration.sql +127 -0
  4. package/dist/migrations/20260917165450_baseline/snapshot.json +1212 -0
  5. package/dist/migrations/20260918025930_context_files/migration.sql +7 -0
  6. package/dist/migrations/20260918025930_context_files/snapshot.json +1275 -0
  7. package/dist/migrations/20260918074816_large_kate_bishop/migration.sql +8 -0
  8. package/dist/migrations/20260918074816_large_kate_bishop/snapshot.json +1338 -0
  9. package/dist/migrations/20260919073531_tense_grey_gargoyle/migration.sql +1 -0
  10. package/dist/migrations/20260919073531_tense_grey_gargoyle/snapshot.json +1348 -0
  11. package/dist/migrations/20260919081637_fearless_warlock/migration.sql +1 -0
  12. package/dist/migrations/20260919081637_fearless_warlock/snapshot.json +1358 -0
  13. package/package.json +7 -5
  14. package/static/apple-touch-icon.png +0 -0
  15. package/static/assets/i18n/en.json +216 -12
  16. package/static/assets/i18n/es.json +216 -12
  17. package/static/chunk-9U0WIegY.js +1 -0
  18. package/static/chunk-B0kZCuEt.js +1 -0
  19. package/static/chunk-B2Xol2Un.js +1 -0
  20. package/static/chunk-B7WkIFy0.js +1 -0
  21. package/static/chunk-BW9BdLk-.js +1 -0
  22. package/static/chunk-Bgl02GNl.js +1 -0
  23. package/static/chunk-BhF-m2HP.js +70 -0
  24. package/static/chunk-BhTujCrk.js +1 -0
  25. package/static/chunk-Bu6_39Nh.js +1 -0
  26. package/static/chunk-C0HCwfa5.js +1 -0
  27. package/static/chunk-C2BVYtVN.js +66 -0
  28. package/static/chunk-C7h8oMzu.js +1 -0
  29. package/static/chunk-CRdEWPUM.js +1 -0
  30. package/static/chunk-CRv0PDB7.js +1 -0
  31. package/static/chunk-CecXf-CU.js +1 -0
  32. package/static/chunk-CenXuPs5.js +1 -0
  33. package/static/chunk-CeywzbyD.js +1 -0
  34. package/static/{chunk-Xv2Lx0k9.js → chunk-Cg2E0vnT.js} +1 -1
  35. package/static/chunk-CsQ_HDGC.js +1 -0
  36. package/static/chunk-D19C8Gcb.js +1 -0
  37. package/static/chunk-DGC4TkAL.js +1 -0
  38. package/static/chunk-DUkiyf7y.js +1 -0
  39. package/static/chunk-DYzSLsNo.js +1 -0
  40. package/static/chunk-DZJZYEZl.js +1 -0
  41. package/static/chunk-DfcFBVF4.js +1 -0
  42. package/static/chunk-DixyYfV_.js +1 -0
  43. package/static/chunk-Dp4H7MY0.js +1 -0
  44. package/static/chunk-DtQtDE8q.js +1 -0
  45. package/static/chunk-Dv5GyY6h.js +1 -0
  46. package/static/chunk-Edaw7VGW.js +1 -0
  47. package/static/chunk-FOJfn_t9.js +1 -0
  48. package/static/chunk-Fwpw-z7T.js +1 -0
  49. package/static/chunk-HUIPNwd9.js +1 -0
  50. package/static/chunk-NZ-CPWJ2.js +1 -0
  51. package/static/chunk-Th9whP36.js +1 -0
  52. package/static/chunk-bCuvpgQS.js +1 -0
  53. package/static/{chunk-DjiFAEo3.js → chunk-iE460Kz5.js} +1 -1
  54. package/static/chunk-p6dftaf8.js +5 -0
  55. package/static/chunk-yoe_30RI.js +1 -0
  56. package/static/chunk-z2vvQAle.js +1 -0
  57. package/static/favicon-16x16.png +0 -0
  58. package/static/favicon-32x32.png +0 -0
  59. package/static/favicon.ico +0 -0
  60. package/static/favicon.svg +12 -0
  61. package/static/icon-192.png +0 -0
  62. package/static/icon-512.png +0 -0
  63. package/static/index.html +30 -5
  64. package/static/main-CHQMTVIP.js +248 -0
  65. package/static/media/inter-latin-400-normal-55WT6UWF.woff2 +0 -0
  66. package/static/media/inter-latin-400-normal-FR5HOXA4.woff +0 -0
  67. package/static/media/inter-latin-500-normal-W62DVTXI.woff2 +0 -0
  68. package/static/media/inter-latin-500-normal-ZNGIZ2YB.woff +0 -0
  69. package/static/media/inter-latin-600-normal-R6Y2SZCR.woff2 +0 -0
  70. package/static/media/inter-latin-600-normal-ZYHV6QZT.woff +0 -0
  71. package/static/media/jetbrains-mono-latin-500-normal-ETEQEOVZ.woff +0 -0
  72. package/static/media/jetbrains-mono-latin-500-normal-V4XIP5OW.woff2 +0 -0
  73. package/static/media/space-grotesk-latin-500-normal-GESQWJQV.woff2 +0 -0
  74. package/static/media/space-grotesk-latin-500-normal-HV4TE4RA.woff +0 -0
  75. package/static/media/space-grotesk-latin-700-normal-6Z7GHSI6.woff +0 -0
  76. package/static/media/space-grotesk-latin-700-normal-I3MXRIUZ.woff2 +0 -0
  77. package/static/nz-theme-dark.css +1 -0
  78. package/static/nz-theme.css +1 -0
  79. package/static/styles-JGCTKGGH.css +1 -0
  80. package/static/chunk-BEvII7Hn.js +0 -1
  81. package/static/chunk-BIFLxIMS.js +0 -66
  82. package/static/chunk-BQgEbMSp.js +0 -1
  83. package/static/chunk-BYIP8zBR.js +0 -1
  84. package/static/chunk-BiLgez1m.js +0 -1
  85. package/static/chunk-BnnoOI-1.js +0 -1
  86. package/static/chunk-BrJS_1Y1.js +0 -1
  87. package/static/chunk-CB7iIlL9.js +0 -1
  88. package/static/chunk-CL0Sh0Qb.js +0 -1
  89. package/static/chunk-CNj32s8G.js +0 -1
  90. package/static/chunk-CQ708Y6F.js +0 -1
  91. package/static/chunk-CoKTfrti.js +0 -1
  92. package/static/chunk-Cuaj1Fgz.js +0 -1
  93. package/static/chunk-CxgNB2C8.js +0 -1
  94. package/static/chunk-DO1B2M6l.js +0 -1
  95. package/static/chunk-DTLDtzu5.js +0 -1
  96. package/static/chunk-Dc_LNQ-q.js +0 -1
  97. package/static/chunk-DflfYru0.js +0 -1
  98. package/static/chunk-Dqtz3Iow.js +0 -1
  99. package/static/chunk-DrlNmyyx.js +0 -7
  100. package/static/chunk-G2CzeazF.js +0 -1
  101. package/static/chunk-He--f9Sf.js +0 -1
  102. package/static/chunk-JcYd5MYJ.js +0 -5
  103. package/static/chunk-MRIst_Tv.js +0 -1
  104. package/static/chunk-bi3jOaJV.js +0 -1
  105. package/static/chunk-fPx6gQSM.js +0 -1
  106. package/static/chunk-g1iNEPSG.js +0 -1
  107. package/static/chunk-mmWflnUN.js +0 -1
  108. package/static/main-R7YQQZVK.js +0 -249
  109. package/static/styles-6MW3GE4V.css +0 -1
@@ -0,0 +1,248 @@
1
+ function u$1(e){if(!e)return {};let r={};for(let[t,n]of Object.entries(e))n!=null&&(r[t]=String(n));return r}var k$1=Object.defineProperty,p$2=Object.defineProperties;var q$2=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var l$1=Object.prototype.hasOwnProperty,m$2=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$1=(b,c)=>{for(var a in c||={})l$1.call(c,a)&&j$2(b,a,c[a]);if(f)for(var a of f(c))m$2.call(c,a)&&j$2(b,a,c[a]);return b},s=(b,c)=>p$2(b,q$2(c));var t$1=(b,c)=>{var a={};for(var d in b)l$1.call(b,d)&&c.indexOf(d)<0&&(a[d]=b[d]);if(b!=null&&f)for(var d of f(b))c.indexOf(d)<0&&m$2.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$1(e){return typeof e=="function"}function Fr$1(e){return e&&I$1(e.schedule)}function Wi$2(e){return e[e.length-1]}function jr$2(e){return I$1(Wi$2(e))?e.pop():void 0}function _e$1(e){return Fr$1(Wi$2(e))?e.pop():void 0}function dl$1(e,t){return typeof Wi$2(e)=="number"?e.pop():t}function mT(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 yT(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 pl$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 fl(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 dt$2(e){return this instanceof dt$2?(this.v=e,this):new dt$2(e)}function hl$2(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 dt$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 gl$2(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 fl=="function"?fl(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 Yt$2=e=>e&&typeof e.length=="number"&&typeof e!="function";function Vr$1(e){return I$1(e?.then)}function Kt$4(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$1=Kt$4(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 ft$1(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1);}}var H$2=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$1(r))try{r();}catch(i){t=i instanceof Hr$1?i.errors:[i];}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ml$1(i);}catch(s){t=t??[],s instanceof Hr$1?t=[...t,...s.errors]:t.push(s);}}if(t)throw new Hr$1(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ml$1(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)&&ft$1(n,t);}remove(t){let{_finalizers:n}=this;n&&ft$1(n,t),t instanceof e&&t._removeParent(this);}};H$2.EMPTY=(()=>{let e=new H$2;return e.closed=true,e})();var Gi$2=H$2.EMPTY;function Br$1(e){return e instanceof H$2||e&&"closed"in e&&I$1(e.remove)&&I$1(e.add)&&I$1(e.unsubscribe)}function ml$1(e){I$1(e)?e():e.unsubscribe();}var ve$3={Promise:void 0};var Jt$2={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return (clearTimeout)(e)},delegate:void 0};function $r$2(e){Jt$2.setTimeout(()=>{throw e});}function pt$1(){}function Xt$3(e){e();}var gt$1=class gt extends H$2{constructor(t){super(),this.isStopped=false,t?(this.destination=t,Br$1(t)&&t.add(this)):this.destination=ug;}static create(t,n,r){return new Oe$3(t,n,r)}next(t){this.isStopped?Zi$2():this._next(t);}error(t){this.isStopped?Zi$2():(this.isStopped=true,this._error(t));}complete(){this.isStopped?Zi$2():(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 Yi$1=class Yi{constructor(t){this.partialObserver=t;}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t);}catch(r){Ur$2(r);}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t);}catch(r){Ur$2(r);}else Ur$2(t);}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete();}catch(n){Ur$2(n);}}},Oe$3=class Oe extends gt$1{constructor(t,n,r){super();let o;if(I$1(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else {o=t;}this.destination=new Yi$1(o);}};function Ur$2(e){$r$2(e);}function lg(e){throw e}function Zi$2(e,t){}var ug={closed:true,next:pt$1,error:lg,complete:pt$1};var en$4=typeof Symbol=="function"&&Symbol.observable||"@@observable";function K$1(e){return e}function dg(...e){return Ki$2(e)}function Ki$2(e){return e.length===0?K$1:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S$2=(()=>{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=pg(n)?n:new Oe$3(n,r,o);return Xt$3(()=>{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=Dl$1(r),new r((o,i)=>{let s=new Oe$3({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)}[en$4](){return this}pipe(...n){return Ki$2(n)(this)}toPromise(n){return n=Dl$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 Dl$1(e){var t;return (t=e??ve$3.Promise)!==null&&t!==void 0?t:Promise}function fg(e){return e&&I$1(e.next)&&I$1(e.error)&&I$1(e.complete)}function pg(e){return e&&e instanceof gt$1||fg(e)&&Br$1(e)}function qr$2(e){return I$1(e[en$4])}function Wr$2(e){return Symbol.asyncIterator&&I$1(e?.[Symbol.asyncIterator])}function Gr$2(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 hg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zr$1=hg();function Qr$2(e){return I$1(e?.[zr$1])}function Zr$2(e){return hl$2(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt$2(n.read());if(o)return yield dt$2(void 0);yield yield dt$2(r);}}finally{n.releaseLock();}})}function Yr$2(e){return I$1(e?.getReader)}function N(e){if(e instanceof S$2)return e;if(e!=null){if(qr$2(e))return gg(e);if(Yt$2(e))return mg(e);if(Vr$1(e))return yg(e);if(Wr$2(e))return wl$1(e);if(Qr$2(e))return vg(e);if(Yr$2(e))return Ig(e)}throw Gr$2(e)}function gg(e){return new S$2(t=>{let n=e[en$4]();if(I$1(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function mg(e){return new S$2(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete();})}function yg(e){return new S$2(t=>{e.then(n=>{t.closed||(t.next(n),t.complete());},n=>t.error(n)).then(null,$r$2);})}function vg(e){return new S$2(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete();})}function wl$1(e){return new S$2(t=>{Eg(e,t).catch(n=>t.error(n));})}function Ig(e){return wl$1(Zr$2(e))}function Eg(e,t){var n,r,o,i;return pl$1(this,void 0,void 0,function*(){try{for(n=gl$2(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 ne$1(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 Ji$1(e){return I$1(e?.lift)}function D$2(e){return t=>{if(Ji$1(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 E(e,t,n,r,o){return new Xi$2(e,t,n,r,o)}var Xi$2=class Xi extends gt$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 Kr$1(e,t=0){return D$2((n,r)=>{n.subscribe(E(r,o=>ne$1(r,e,()=>r.next(o),t),()=>ne$1(r,e,()=>r.complete(),t),o=>ne$1(r,e,()=>r.error(o),t)));})}function Jr$2(e,t=0){return D$2((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t));})}function Tl$1(e,t){return N(e).pipe(Jr$2(t),Kr$1(t))}function Cl$1(e,t){return N(e).pipe(Jr$2(t),Kr$1(t))}function bl$1(e,t){return new S$2(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule());})})}function _l$2(e,t){return new S$2(n=>{let r;return ne$1(n,t,()=>{r=e[zr$1](),ne$1(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$1(r?.return)&&r.return()})}function Xr$2(e,t){if(!e)throw new Error("Iterable cannot be null");return new S$2(n=>{ne$1(n,t,()=>{let r=e[Symbol.asyncIterator]();ne$1(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value);});},0,true);});})}function Ml$1(e,t){return Xr$2(Zr$2(e),t)}function Sl$1(e,t){if(e!=null){if(qr$2(e))return Tl$1(e,t);if(Yt$2(e))return bl$1(e,t);if(Vr$1(e))return Cl$1(e,t);if(Wr$2(e))return Xr$2(e,t);if(Qr$2(e))return _l$2(e,t);if(Yr$2(e))return Ml$1(e,t)}throw Gr$2(e)}function Me$3(e,t){return t?Sl$1(e,t):N(e)}function Dg(...e){let t=_e$1(e);return Me$3(e,t)}function Se$3(e,t){return D$2((n,r)=>{let o=0;n.subscribe(E(r,i=>{r.next(e.call(t,i,o++));}));})}var{isArray:wg}=Array,{getPrototypeOf:Tg,prototype:Cg,keys:bg}=Object;function eo$1(e){if(e.length===1){let t=e[0];if(wg(t))return {args:t,keys:null};if(_g(t)){let n=bg(t);return {args:n.map(r=>t[r]),keys:n}}}return {args:e,keys:null}}function _g(e){return e&&typeof e=="object"&&Tg(e)===Cg}var{isArray:Mg}=Array;function Sg(e,t){return Mg(t)?e(...t):e(t)}function tn$4(e){return Se$3(t=>Sg(e,t))}function to(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ng(...e){let t=jr$2(e),{args:n,keys:r}=eo$1(e),o=new S$2(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(n[u]).subscribe(E(i,p=>{d||(d=true,l--),a[u]=p;},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?to(r,a):a),i.complete());}));}});return t?o.pipe(tn$4(t)):o}function es$1(e){return D$2((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E(n,void 0,void 0,s=>{i=N(e(s,es$1(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0;})),o&&(r.unsubscribe(),r=null,i.subscribe(n));})}function Nl$1(e,t){return D$2((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(e(c,u)).subscribe(o=E(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a();}));},()=>{s=!0,a();}));})}function xl$1(){return D$2((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 ts$2=class ts extends S$2{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ji$1(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$2;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$2.EMPTY);}return t}refCount(){return xl$1()(this)}};var nn$2={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;let o=t(i=>{n=void 0,e(i);});return new H$2(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=nn$2;return (t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){return (cancelAnimationFrame)(...e)},delegate:void 0};var Al=Kt$4(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var re$2=(()=>{class e extends S$2{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$1(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Al}next(n){Xt$3(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n);}});}error(n){Xt$3(()=>{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(){Xt$3(()=>{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?Gi$2:(this.currentObservers=null,i.push(n),new H$2(()=>{this.currentObservers=null,ft$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$2;return n.source=this,n}}return e.create=(t,n)=>new no$1(t,n),e})(),no$1=class no extends re$2{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:Gi$2}};var On$3=class On extends re$2{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$2=class Ln extends re$2{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$1=class ro extends H$2{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 We$2=class We extends ro$1{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,ft$1(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe();}}};var xg=1,ns$1,rs$1={};function Rl$1(e){return e in rs$1?(delete rs$1[e],true):false}var kl$1={setImmediate(e){let t=xg++;return rs$1[t]=true,ns$1||(ns$1=Promise.resolve()),ns$1.then(()=>Rl$1(t)&&e()),t},clearImmediate(e){Rl$1(e);}};var{setImmediate:Ag,clearImmediate:Rg$1}=kl$1,jn$2={setImmediate(...e){let{delegate:t}=jn$2;return (t?.setImmediate||Ag)(...e)},clearImmediate(e){return (Rg$1)(e)},delegate:void 0};var oo$1=class oo extends We$2{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$2.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$2.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0));}};var rn$1=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)}};rn$1.now=Pn$3.now;var Ge$2=class Ge extends rn$1{constructor(t,n=rn$1.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$1=class io extends Ge$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 kg=new io$1(oo$1);var Pe$2=new Ge$2(We$2),Ol$1=Pe$2;var so$1=class so extends We$2{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=nn$2.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&&(nn$2.cancelAnimationFrame(n),t._scheduled=void 0);}};var ao$1=class ao extends Ge$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 Og=new ao$1(so$1);var mt$1=new S$2(e=>e.complete());function Pg(e,t){let n=I$1(e)?e:()=>e,r=o=>o.error(n());return new S$2(r)}function Lg(e){return !!e&&(e instanceof S$2||I$1(e.lift)&&I$1(e.subscribe))}var Vn$1=Kt$4(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence";});function Pl$1(e){return e instanceof Date&&!isNaN(e)}function Fg(...e){let t=_e$1(e),n=jr$2(e),{args:r,keys:o}=eo$1(e);if(r.length===0)return Me$3([],t);let i=new S$2(jg(r,t,o?s=>to(o,s):K$1));return n?i.pipe(tn$4(n)):i}function jg(e,t,n=K$1){return r=>{Ll$1(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ll$1(t,()=>{let l=Me$3(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 Ll$1(e,t,n){e?ne$1(n,e,t):t();}function Fl$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(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$1(t,s,()=>h(M)):h(M);}p();}catch(M){t.error(M);}}));};return e.subscribe(E(t,f,()=>{d=true,p();})),()=>{}}function Ie$3(e,t,n=1/0){return I$1(t)?Ie$3((r,o)=>Se$3((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),D$2((r,o)=>Fl$1(r,o,e,n)))}function Hn$2(e=1/0){return Ie$3(K$1,e)}function jl$1(){return Hn$2(1)}function on$2(...e){return jl$1()(Me$3(e,_e$1(e)))}function Vg(e){return new S$2(t=>{N(e()).subscribe(t);})}var Hg=["addListener","removeListener"],Bg=["addEventListener","removeEventListener"],$g=["on","off"];function os$1(e,t,n,r){if(I$1(n)&&(r=n,n=void 0),r)return os$1(e,t,n).pipe(tn$4(r));let[o,i]=Wg(e)?Bg.map(s=>a=>e[s](t,a,n)):Ug$1(e)?Hg.map(Vl$1(e,t)):qg(e)?$g.map(Vl$1(e,t)):[];if(!o&&Yt$2(e))return Ie$3(s=>os$1(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new S$2(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Vl$1(e,t){return n=>r=>e[n](t,r)}function Ug$1(e){return I$1(e.addListener)&&I$1(e.removeListener)}function qg(e){return I$1(e.on)&&I$1(e.off)}function Wg(e){return I$1(e.addEventListener)&&I$1(e.removeEventListener)}function ze$4(e=0,t,n=Ol$1){let r=-1;return t!=null&&(Fr$1(t)?n=t:r=t),new S$2(o=>{let i=Pl$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 Gg(e=0,t=Pe$2){return e<0&&(e=0),ze$4(e,e,t)}function zg(...e){let t=_e$1(e),n=dl$1(e,1/0),r=e;return r.length?r.length===1?N(r[0]):Hn$2(n)(Me$3(r,t)):mt$1}function sn$3(e,t){return D$2((n,r)=>{let o=0;n.subscribe(E(r,i=>e.call(t,i,o++)&&r.next(i)));})}function Hl$1(e){return D$2((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(e(l)).subscribe(i=E(n,a,c));},()=>{s=!0,(!r||!i||i.closed)&&n.complete();}));})}function Qg(e,t=Pe$2){return Hl$1(()=>ze$4(e,t))}function Zg(e,t){return I$1(t)?Ie$3(e,t,1):Ie$3(e,1)}function Bl$2(e,t=Pe$2){return D$2((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 $l$1(e){return D$2((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o);},()=>{r||n.next(e),n.complete();}));})}function yt$2(e){return e<=0?()=>mt$1:D$2((t,n)=>{let r=0;t.subscribe(E(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete());}));})}function Ul$1(){return D$2((e,t)=>{e.subscribe(E(t,pt$1));})}function ql$1(e){return Se$3(()=>e)}function is$1(e,t){return t?n=>on$2(t.pipe(yt$2(1),Ul$1()),n.pipe(is$1(e))):Ie$3((n,r)=>N(e(n,r)).pipe(yt$2(1),ql$1(n)))}function Yg(e,t=Pe$2){let n=ze$4(e,t);return is$1(()=>n)}function Kg(e,t=K$1){return e=e??Jg,D$2((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 Jg(e,t){return e===t}function Wl$1(e=Xg){return D$2((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o);},()=>r?n.complete():n.error(e())));})}function Xg(){return new Vn$1}function Gl$1(e){return D$2((t,n)=>{try{t.subscribe(n);}finally{n.add(e);}})}function em$1(e,t){let n=arguments.length>=2;return r=>r.pipe(e?sn$3((o,i)=>e(o,i,r)):K$1,yt$2(1),n?$l$1(t):Wl$1(()=>new Vn$1))}function tm$1(e){return e<=0?()=>mt$1:D$2((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 nm$1(){return D$2((e,t)=>{let n,r=!1;e.subscribe(E(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0;}));})}function rm$1(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?K$1:D$2((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"?ze$4(r):N(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 as$1(e={}){let{connector:t=()=>new re$2,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$2((m,T)=>{l++,!d&&!u&&p();let M=c=c??t();T.add(()=>{l--,l===0&&!d&&!u&&(a=ss$1(h,o));}),M.subscribe(T),!s&&l>0&&(s=new Oe$3({next:ye=>M.next(ye),error:ye=>{d=!0,p(),a=ss$1(f,n,ye),M.error(ye);},complete:()=>{u=!0,p(),a=ss$1(f,r),M.complete();}}),N(m).subscribe(s));})(i)}}function ss$1(e,t,...n){if(t===true){e();return}if(t===false)return;let r=new Oe$3({next:()=>{r.unsubscribe(),e();}});return N(t(...n)).subscribe(r)}function zl$1(e,t,n){let r,o=false;return r=e,as$1({connector:()=>new Ln$2(r,t,n),resetOnError:true,resetOnComplete:false,resetOnRefCountZero:o})}function om$1(e){return sn$3((t,n)=>e<=n)}function Ql$2(...e){let t=_e$1(e);return D$2((n,r)=>{(t?on$2(e,n,t):on$2(e,n)).subscribe(r);})}function im$1(e){return D$2((t,n)=>{N(e).subscribe(E(n,()=>n.complete(),pt$1)),!n.closed&&t.subscribe(n);})}function sm$1(e,t=false){return D$2((n,r)=>{let o=0;n.subscribe(E(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete();}));})}function Zl$1(e,t,n){let r=I$1(e)||t||n?{next:e,error:t,complete:n}:e;return r?D$2((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);}));}):K$1}var J$1=null,co$1=false,vt$1=1,B$2=Symbol("SIGNAL");function v(e){let t=J$1;return J$1=e,t}function lo$1(){return J$1}var Qe$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 Ze$1(e){if(co$1)throw new Error("");if(J$1===null)return;J$1.consumerOnSignalRead(e);let t=J$1.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=J$1.recomputing;if(r&&(n=t!==void 0?t.nextProducer:J$1.producers,n!==void 0&&n.producer===e)){J$1.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=vt$1;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===J$1&&(!r||o.knownValidAtEpoch===vt$1))return;let i=cn$3(J$1),s={producer:e,consumer:J$1,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:vt$1,lastReadVersion:e.version,nextConsumer:void 0};J$1.producersTail=s,t!==void 0?t.nextProducer=s:J$1.producers=s,i&&Xl$1(e,s);}function Yl$2(){vt$1++;}function Dt$4(e){if(!(cn$3(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===vt$1)){if(!e.producerMustRecompute(e)&&!Bn$2(e)){an$2(e);return}e.producerRecomputeValue(e),an$2(e);}}function cs$1(e){if(e.consumers===void 0)return;let t=co$1;co$1=true;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||cm$1(r);}}finally{co$1=t;}}function ls$1(){return J$1?.consumerAllowSignalWrites!==false}function cm$1(e){e.dirty=true,cs$1(e),e.consumerMarkedDirty?.(e);}function an$2(e){e.dirty=false,e.lastCleanEpoch=vt$1;}function Ye$2(e){return e&&Kl$2(e),v(e)}function Kl$2(e){if(e.producersTail?.knownValidAtEpoch===vt$1){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer;}e.producersTail=void 0,e.recomputing=true;}function wt$3(e,t){v(t),e&&Jl$1(e);}function Jl$1(e){e.recomputing=false;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(cn$3(e))do n=us$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||(Dt$4(n),r!==n.version))return true}return false}function Tt$4(e){if(cn$3(e)){let t=e.producers;for(;t!==void 0;)t=us$1(t);}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0;}function Xl$1(e,t){let n=e.consumersTail,r=cn$3(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)Xl$1(o.producer,o);}function us$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$3(t)){let i=t.producers;for(;i!==void 0;)i=us$1(i);}return n}function cn$3(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Un$1(e,t){return Object.is(e,t)}function qn$2(e,t){let n=Object.create(lm$1);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Dt$4(n),Ze$1(n),n.value===Ne$3)throw n.error;return n.value};return r[B$2]=n,r}var It$3=Symbol("UNSET"),Et$3=Symbol("COMPUTING"),Ne$3=Symbol("ERRORED"),lm$1=s(r$1({},Qe$1),{value:It$3,dirty:true,error:null,equal:Un$1,kind:"computed",producerMustRecompute(e){return e.value===It$3||e.value===Et$3},producerRecomputeValue(e){if(e.value===Et$3)throw new Error("");let t=e.value;e.value=Et$3;let n=Ye$2(e),r,o=false;try{r=e.computation(),v(null),o=t!==It$3&&t!==Ne$3&&r!==Ne$3&&e.equal(t,r);}catch(i){r=Ne$3,e.error=i;}finally{wt$3(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function um$1(){throw new Error}var eu$1=um$1;function tu$1(e){eu$1(e);}function ds$1(e){eu$1=e;}function fs$1(e,t){let n=Object.create(fo$2);n.value=e,t!==void 0&&(n.equal=t);let r=()=>nu$1(n);return r[B$2]=n,[r,s=>Ke$3(n,s),s=>uo$1(n,s)]}function nu$1(e){return Ze$1(e),e.value}function Ke$3(e,t){ls$1()||tu$1(e),e.equal(e.value,t)||(e.value=t,fm$1(e));}function uo$1(e,t){ls$1()||tu$1(e),Ke$3(e,t(e.value));}var fo$2=s(r$1({},Qe$1),{equal:Un$1,value:void 0,kind:"signal"});function fm$1(e){e.version++,Yl$2(),cs$1(e);}var ps$1=s(r$1({},Qe$1),{consumerIsAlwaysLive:true,consumerAllowSignalWrites:true,dirty:true,kind:"effect"});function hs$1(e){if(e.dirty=false,e.version>0&&!Bn$2(e))return;e.version++;let t=Ye$2(e);try{e.cleanup(),e.fn();}finally{wt$3(e,t);}}var gs$1;function po$1(){return gs$1}function xe$2(e){let t=gs$1;return gs$1=e,t}var ru$1=Symbol("NotFound");function ln$4(e){return e===ru$1||e?.name==="\u0275NotFound"}function ms$1(e,t,n){let r=Object.create(pm$1);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Dt$4(r),Ze$1(r),r.value===Ne$3)throw r.error;return r.value};return i[B$2]=r,i}function ou$1(e,t){Dt$4(e),Ke$3(e,t),an$2(e);}function iu$1(e,t){if(Dt$4(e),e.value===Ne$3)throw e.error;uo$1(e,t),an$2(e);}var pm$1=s(r$1({},Qe$1),{value:It$3,dirty:true,error:null,equal:Un$1,kind:"linkedSignal",producerMustRecompute(e){return e.value===It$3||e.value===Et$3},producerRecomputeValue(e){if(e.value===Et$3)throw new Error("");let t=e.value;e.value=Et$3;let n=Ye$2(e),r,o=false;try{let i=e.source(),s=t!==It$3&&t!==Ne$3,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,v(null),o=s&&r!==Ne$3&&e.equal(t,r);}catch(i){r=Ne$3,e.error=i;}finally{wt$3(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function su$1(e){let t=v(null);try{return e()}finally{v(t);}}var Eo$1="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_$2=class _ extends Error{code;constructor(t,n){super(Yn$1(t,n)),this.code=t;}};function hm$1(e){return `NG0${Math.abs(e)}`}function Yn$1(e,t){return `${hm$1(e)}${t?": "+t:""}`}function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function du$1(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);}function Kn$2(e){if(typeof e=="string")return e;if(Array.isArray(e))return `[${e.map(Kn$2).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 Do$1(e,t){return e?t?`${e} ${t}`:e:t||""}var gm$1=k({__forward_ref__:k});function wo$1(e){return e.__forward_ref__=wo$1,e}function $$1(e){return Ns$1(e)?e():e}function Ns$1(e){return typeof e=="function"&&e.hasOwnProperty(gm$1)&&e.__forward_ref__===wo$1}function ie$1(e){return {token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fu$1(e){return {providers:e.providers||[],imports:e.imports||[]}}function Jn$2(e){return ym$1(e,To$1)}function mm$1(e){return Jn$2(e)!==null}function ym$1(e,t){return e.hasOwnProperty(t)&&e[t]||null}function vm$1(e){let t=e?.[To$1]??null;return t||null}function vs$1(e){return e&&e.hasOwnProperty(go$2)?e[go$2]:null}var To$1=k({\u0275prov:k}),go$2=k({\u0275inj:k}),A$4=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$1({token:this,providedIn:n.providedIn||"root",factory:n.factory}));}get multi(){return this}toString(){return `InjectionToken ${this._desc}`}};function xs$1(e){return e&&!!e.\u0275providers}var As$1=k({\u0275cmp:k}),Rs$1=k({\u0275dir:k}),ks$1=k({\u0275pipe:k}),Os$1=k({\u0275mod:k}),Gn$3=k({\u0275fac:k}),St$3=k({__NG_ELEMENT_ID__:k}),au$1=k({__NG_ENV_ID__:k});function pu$1(e){return bo$1(e),e[Os$1]||null}function et$2(e){return bo$1(e),e[As$1]||null}function Co$1(e){return bo$1(e),e[Rs$1]||null}function hu$1(e){return bo$1(e),e[ks$1]||null}function bo$1(e,t){if(e==null)throw new _$2(-919,false)}function Nt$2(e){return typeof e=="string"?e:e==null?"":String(e)}var gu$1=k({ngErrorCode:k}),Im$1=k({ngErrorMessage:k});k({ngTokenPath:k});function Ps$1(e,t){return mu$1("",-200)}function _o$1(e,t){throw new _$2(-201,false)}function mu$1(e,t,n){let r=new _$2(t,e);return r[gu$1]=t,r[Im$1]=e,r}function Dm$1(e){return e[gu$1]}var Is$1;function yu$1(){return Is$1}function X(e){let t=Is$1;return Is$1=e,t}function Ls$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;_o$1();}var fn$4=globalThis;var wm$1={},Ct$2=wm$1,Tm$1="__NG_DI_FLAG__",Es$1=class Es{injector;constructor(t){this.injector=t;}retrieve(t,n){let r=bt$3(n)||0;try{return this.injector.get(t,r&8?null:Ct$2,r)}catch(o){if(ln$4(o))return o;throw o}}};function Cm$1(e,t=0){let n=po$1();if(n===void 0)throw new _$2(-203,false);if(n===null)return Ls$1(e,void 0,t);{let r=bm$1(t),o=n.retrieve(e,r);if(ln$4(o)){if(r.optional)return null;throw o}return o}}function Ae$3(e,t=0){return (yu$1()||Cm$1)($$1(e),t)}function C$1(e,t){return Ae$3(e,bt$3(t))}function bt$3(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bm$1(e){return {optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ds$1(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=_m$1(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a;}t.push(Ae$3(o,i));}else t.push(Ae$3(r));}return t}function _m$1(e){return e[Tm$1]}function Je$2(e,t){let n=e.hasOwnProperty(Gn$3);return n?e[Gn$3]:null}function vu$1(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 Iu$1(e){return e.flat(Number.POSITIVE_INFINITY)}function Mo$1(e,t){e.forEach(n=>Array.isArray(n)?Mo$1(n,t):t(n));}function Fs$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 Eu$1(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Du$1(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$1(e,t,n){let r=pn$3(e,t);return r>=0?e[r|1]=n:(r=~r,Du$1(e,r,t,n)),r}function So$1(e,t){let n=pn$3(e,t);if(n>=0)return e[n|1]}function pn$3(e,t){return Mm$1(e,t,1)}function Mm$1(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 tt$1={},Q=[],tr$1=new A$4(""),nr$1=new A$4("",-1),js$1=new A$4(""),dn$4=class dn{get(t,n=Ct$2){if(n===Ct$2){let o=mu$1("",-201);throw o.name="\u0275NotFound",o}return n}};function wu$1(e){return {\u0275providers:e}}function Tu$1(...e){return {\u0275providers:Vs$1(true,e),\u0275fromNgModule:true}}function Vs$1(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s);};return Mo$1(t,s=>{let a=s;mo$1(a,i,[],r)&&(o||=[],o.push(a));}),o!==void 0&&Cu$1(o,i),n}function Cu$1(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Hs$1(o,i=>{t(i,r);});}}function mo$1(e,t,n,r){if(e=$$1(e),!e)return false;let o=null,i=vs$1(e),s=!i&&et$2(e);if(!i&&!s){let c=e.ngModule;if(i=vs$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)mo$1(l,t,n,r);}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Mo$1(i.imports,u=>{mo$1(u,t,n,r)&&(l||=[],l.push(u));}),l!==void 0&&Cu$1(l,t);}if(!a){let l=Je$2(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:js$1,useValue:o,multi:true},o),t({provide:tr$1,useValue:()=>Ae$3(o),multi:true},o);}let c=i.providers;if(c!=null&&!a){let l=e;Hs$1(c,u=>{t(u,l);});}}else return false;return o!==e&&e.providers!==void 0}function Hs$1(e,t){for(let n of e)xs$1(n)&&(n=n.\u0275providers),Array.isArray(n)?Hs$1(n,t):t(n);}var Sm$1=k({provide:String,useValue:k});function bu$1(e){return e!==null&&typeof e=="object"&&Sm$1 in e}function Nm$1(e){return !!(e&&e.useExisting)}function xm$1(e){return !!(e&&e.useFactory)}function _t$1(e){return typeof e=="function"}function _u$1(e){return !!e.useClass}var Bs$1=new A$4(""),ho$1={},cu$1={},ys$1;function hn$4(){return ys$1===void 0&&(ys$1=new dn$4),ys$1}var ue$2=class ue{},Mt$2=class Mt 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,Ts$1(t,s=>this.processProvider(s)),this.records.set(nr$1,un$4(void 0,this)),o.has("environment")&&this.records.set(ue$2,un$4(void 0,this));let i=this.records.get(Bs$1);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(js$1,Q,{self:true}));}retrieve(t,n){let r=bt$3(n)||0;try{return this.get(t,Ct$2,r)}catch(o){if(ln$4(o))return o;throw o}}destroy(){Wn$2(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$2(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Wn$2(this);let n=xe$2(this),r=X(void 0);try{return t()}finally{xe$2(n),X(r);}}get(t,n=Ct$2,r){if(Wn$2(this),t.hasOwnProperty(au$1))return t[au$1](this);let o=bt$3(r),s=xe$2(this),a=X(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Pm$1(t)&&Jn$2(t);u&&this.injectableDefInScope(u)?l=un$4(ws$1(t),ho$1):l=null,this.records.set(t,l);}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?hn$4():this.parent;return n=o&8&&n===Ct$2?null:n,c.get(t,n)}catch(c){let l=Dm$1(c);throw l===-200||l===-201?new _$2(l,null):c}finally{X(a),xe$2(s);}}resolveInjectorInitializers(){let t=v(null),n=xe$2(this),r=X(void 0);try{let i=this.get(tr$1,Q,{self:!0});for(let s of i)s();}finally{xe$2(n),X(r),v(t);}}toString(){return "R3Injector[...]"}processProvider(t){t=$$1(t);let n=_t$1(t)?t:$$1(t&&t.provide),r=Rm(t);if(!_t$1(t)&&t.multi===true){let o=this.records.get(n);o||(o=un$4(void 0,ho$1,true),o.factory=()=>Ds$1(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===cu$1)throw Ps$1("");return n.value===ho$1&&(n.value=cu$1,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Om$1(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 ws$1(e){let t=Jn$2(e),n=t!==null?t.factory:Je$2(e);if(n!==null)return n;if(e instanceof A$4)throw new _$2(-204,false);if(e instanceof Function)return Am$1(e);throw new _$2(-204,false)}function Am$1(e){if(e.length>0)throw new _$2(-204,false);let n=vm$1(e);return n!==null?()=>n.factory(e):()=>new e}function Rm(e){if(bu$1(e))return un$4(void 0,e.useValue);{let t=$s$1(e);return un$4(t,ho$1)}}function $s$1(e,t,n){let r;if(_t$1(e)){let o=$$1(e);return Je$2(o)||ws$1(o)}else if(bu$1(e))r=()=>$$1(e.useValue);else if(xm$1(e))r=()=>e.useFactory(...Ds$1(e.deps||[]));else if(Nm$1(e))r=(o,i)=>Ae$3($$1(e.useExisting),i!==void 0&&i&8?8:void 0);else {let o=$$1(e&&(e.useClass||e.provide));if(km$1(e))r=()=>new o(...Ds$1(e.deps));else return Je$2(o)||ws$1(o)}return r}function Wn$2(e){if(e.destroyed)throw new _$2(-205,false)}function un$4(e,t,n=false){return {factory:e,value:t,multi:n?[]:void 0}}function km$1(e){return !!e.deps}function Om$1(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Pm$1(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ts$1(e,t){for(let n of e)Array.isArray(n)?Ts$1(n,t):n&&xs$1(n)?Ts$1(n.\u0275providers,t):t(n);}function No(e,t){let n;e instanceof Mt$2?(Wn$2(e),n=e):n=new Es$1(e);let o=xe$2(n),i=X(void 0);try{return t()}finally{xe$2(o),X(i);}}function Mu$1(){return yu$1()!==void 0||po$1()!=null}var De$3=0,y$4=1,w$1=2,U$4=3,de$2=4,Z$1=5,xt$3=6,gn$4=7,F$2=8,q$1=9,we$3=10,R$2=11,mn$3=12,Us$1=13,nt$1=14,Y$1=15,rt$1=16,At$2=17,Re$2=18,fe$2=19,qs$1=20,Fe$3=21,xo$1=22,Xe$1=23,se$1=24,Rt$3=25,pe$2=26,L$3=27,Su$1=1,Ws$1=6,ot$1=7,rr$1=8,kt$3=9,j$1=10;function Be$2(e){return Array.isArray(e)&&typeof e[Su$1]=="object"}function he$2(e){return Array.isArray(e)&&e[Su$1]===true}function Gs$1(e){return (e.flags&4)!==0}function $e$2(e){return e.componentOffset>-1}function yn$4(e){return (e.flags&1)===1}function Te$2(e){return !!e.template}function vn$4(e){return (e[w$1]&512)!==0}function Ot$3(e){return (e[w$1]&256)===256}var zs$1="svg",Nu$1="math";function ge$2(e){for(;Array.isArray(e);)e=e[De$3];return e}function Qs$1(e,t){return ge$2(t[e])}function ee$1(e,t){return ge$2(t[e.index])}function Ao(e,t){return e.data[t]}function or$1(e,t){return e[t]}function ir$1(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r;}function me$3(e,t){let n=t[e];return Be$2(n)?n:n[De$3]}function xu$1(e){return (e[w$1]&4)===4}function Ro(e){return (e[w$1]&128)===128}function Au$1(e){return he$2(e[U$4])}function ae$2(e,t){return t==null?null:e[t]}function Zs$1(e){e[At$2]=0;}function Ys$1(e){e[w$1]&1024||(e[w$1]|=1024,Ro(e)&&Pt$4(e));}function Ru$1(e,t){for(;e>0;)t=t[nt$1],e--;return t}function sr$1(e){return !!(e[w$1]&9216||e[se$1]?.dirty)}function ko$1(e){e[we$3].changeDetectionScheduler?.notify(8),e[w$1]&64&&(e[w$1]|=1024),sr$1(e)&&Pt$4(e);}function Pt$4(e){e[we$3].changeDetectionScheduler?.notify(0);let t=je$2(e);for(;t!==null&&!(t[w$1]&8192||(t[w$1]|=8192,!Ro(t)));)t=je$2(t);}function Oo$1(e,t){if(Ot$3(e))throw new _$2(911,false);e[Fe$3]===null&&(e[Fe$3]=[]),e[Fe$3].push(t);}function ku$1(e,t){if(e[Fe$3]===null)return;let n=e[Fe$3].indexOf(t);n!==-1&&e[Fe$3].splice(n,1);}function je$2(e){let t=e[U$4];return he$2(t)?t[U$4]:t}function Ks$1(e){return e[gn$4]??=[]}function Js$1(e){return e.cleanup??=[]}function Ou$1(e,t,n,r){let o=Ks$1(t);o.push(n),e.firstCreatePass&&Js$1(e).push(r,o.length-1);}var b$2={lFrame:zu$1(null),bindingsEnabled:true,skipHydrationRootTNode:null};var Cs$1=false;function Pu$1(){return b$2.lFrame.elementDepthCount}function Lu$1(){b$2.lFrame.elementDepthCount++;}function Xs$1(){b$2.lFrame.elementDepthCount--;}function Po$1(){return b$2.bindingsEnabled}function ea(){return b$2.skipHydrationRootTNode!==null}function ta(e){return b$2.skipHydrationRootTNode===e}function na(){b$2.skipHydrationRootTNode=null;}function g$2(){return b$2.lFrame.lView}function O$2(){return b$2.lFrame.tView}function Fu$1(e){return b$2.lFrame.contextLView=e,e[F$2]}function ju$1(e){return b$2.lFrame.contextLView=null,e}function V$1(){let e=ra();for(;e!==null&&e.type===64;)e=e.parent;return e}function ra(){return b$2.lFrame.currentTNode}function Vu$1(){let e=b$2.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt$3(e,t){let n=b$2.lFrame;n.currentTNode=e,n.isParent=t;}function oa(){return b$2.lFrame.isParent}function ia(){b$2.lFrame.isParent=false;}function sa(){return b$2.lFrame.contextLView}function aa(){return Cs$1}function zn$3(e){let t=Cs$1;return Cs$1=e,t}function Ft$2(){let e=b$2.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Hu$1(){return b$2.lFrame.bindingIndex}function Bu$1(e){return b$2.lFrame.bindingIndex=e}function it$1(){return b$2.lFrame.bindingIndex++}function Lo(e){let t=b$2.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $u$1(){return b$2.lFrame.inI18n}function Uu$1(e,t){let n=b$2.lFrame;n.bindingIndex=n.bindingRootIndex=e,Fo$1(t);}function qu$1(){return b$2.lFrame.currentDirectiveIndex}function Fo$1(e){b$2.lFrame.currentDirectiveIndex=e;}function Wu$1(e){let t=b$2.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function jo(){return b$2.lFrame.currentQueryIndex}function ar$1(e){b$2.lFrame.currentQueryIndex=e;}function Lm(e){let t=e[y$4];return t.type===2?t.declTNode:t.type===1?e[Z$1]:null}function ca(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Lm(i),o===null||(i=i[nt$1],o.type&10))break;if(o===null)return false;t=o,e=i;}let r=b$2.lFrame=Gu$1();return r.currentTNode=t,r.lView=e,true}function Vo(e){let t=Gu$1(),n=e[y$4];b$2.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=false;}function Gu$1(){let e=b$2.lFrame,t=e===null?null:e.child;return t===null?zu$1(e):t}function zu$1(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 Qu$1(){let e=b$2.lFrame;return b$2.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var la=Qu$1;function Ho(){let e=Qu$1();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 Zu$1(e){return (b$2.lFrame.contextLView=Ru$1(e,b$2.lFrame.contextLView))[F$2]}function Ce$3(){return b$2.lFrame.selectedIndex}function st$2(e){b$2.lFrame.selectedIndex=e;}function In$2(){let e=b$2.lFrame;return Ao(e.tView,e.selectedIndex)}function Yu$1(){b$2.lFrame.currentNamespace=zs$1;}function ua(){return b$2.lFrame.currentNamespace}var Ku$1=true;function Bo(){return Ku$1}function cr$1(e){Ku$1=e;}function $o(){let e,t;return {promise:new Promise((r,o)=>{e=r,t=o;}),resolve:e,reject:t}}function bs$1(e,t=null,n=null,r){let o=da(e,t,n);return o.resolveInjectorInitializers(),o}function da(e,t=null,n=null,r,o=new Set){let i=[n||Q,Tu$1(e)];return new Mt$2(i,t||hn$4(),null,o)}var Ee$3=class e{static THROW_IF_NOT_FOUND=Ct$2;static NULL=new dn$4;static create(t,n){if(Array.isArray(t))return bs$1({name:""},n,t);{let r=t.name??"";return bs$1({name:r},t.parent,t.providers)}}static \u0275prov=ie$1({token:e,providedIn:"any",factory:()=>Ae$3(nr$1)});static __NG_ELEMENT_ID__=-1},Uo=new A$4(""),at$1=(()=>{class e{static __NG_ELEMENT_ID__=Fm$1;static __NG_ENV_ID__=n=>n}return e})(),yo$1=class yo extends at$1{_lView;constructor(t){super(),this._lView=t;}get destroyed(){return Ot$3(this._lView)}onDestroy(t){let n=this._lView;return Oo$1(n,t),()=>ku$1(n,t)}};function Fm$1(){return new yo$1(g$2())}var Ju$1=false,Xu$1=new A$4(""),jt$3=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=false;pendingTask=new On$3(false);debugTaskTracker=C$1(Xu$1,{optional:true});get hasPendingTasks(){return this.destroyed?false:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S$2(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$1({token:e,providedIn:"root",factory:()=>new e})}return e})(),_s$1=class _s extends re$2{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=false){super(),this.__isAsync=t,Mu$1()&&(this.destroyRef=C$1(at$1,{optional:true})??void 0,this.pendingTasks=C$1(jt$3,{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$2&&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);}});}}},Le$4=_s$1;function vo$1(...e){}function fa(e){let t,n;function r(){e=vo$1;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 ed$1(e){return queueMicrotask(()=>e()),()=>{e=vo$1;}}var pa="isAngularZone",Qn$2=pa+"_ID",jm=0,oe$1=class e{hasPendingMacrotasks=false;hasPendingMicrotasks=false;isStable=true;onUnstable=new Le$4(false);onMicrotaskEmpty=new Le$4(false);onStable=new Le$4(false);onError=new Le$4(false);constructor(t){let{enableLongStackTrace:n=false,shouldCoalesceEventChangeDetection:r=false,shouldCoalesceRunChangeDetection:o=false,scheduleInRootZone:i=Ju$1}=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,Bm(s);}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(pa)===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,Vm,vo$1,vo$1);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)}},Vm={};function ha(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 Hm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=true;function t(){fa(()=>{e.callbackScheduled=false,Ms$1(e),e.isCheckStableRunning=true,ha(e),e.isCheckStableRunning=false;});}e.scheduleInRootZone?Zone.root.run(()=>{t();}):e._outer.run(()=>{t();}),Ms$1(e);}function Bm(e){let t=()=>{Hm(e);},n=jm++;e._inner=e._inner.fork({name:"angular",properties:{[pa]:true,[Qn$2]:n,[Qn$2+n]:true},onInvokeTask:(r,o,i,s,a,c)=>{if($m(c))return r.invokeTask(i,s,a,c);try{return lu$1(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),uu$1(e);}},onInvoke:(r,o,i,s,a,c,l)=>{try{return lu$1(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Um(c)&&t(),uu$1(e);}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ms$1(e),ha(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 Ms$1(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===true?e.hasPendingMicrotasks=true:e.hasPendingMicrotasks=false;}function lu$1(e){e._nesting++,e.isStable&&(e.isStable=false,e.onUnstable.emit(null));}function uu$1(e){e._nesting--,ha(e);}var Zn$3=class Zn{hasPendingMicrotasks=false;hasPendingMacrotasks=false;isStable=true;onUnstable=new Le$4;onMicrotaskEmpty=new Le$4;onStable=new Le$4;onError=new Le$4;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 $m(e){return td$1(e,"__ignore_ng_zone__")}function Um(e){return td$1(e,"__scheduler_tick__")}function td$1(e,t){return !Array.isArray(e)||e.length!==1?false:e[0]?.data?.[t]===true}var Ve$2=class Ve{_console=console;handleError(t){this._console.error("ERROR",t);}},Vt$2=new A$4("",{factory:()=>{let e=C$1(oe$1),t=C$1(ue$2),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ve$2),n.handleError(r));});}}}),nd={provide:tr$1,useValue:()=>{C$1(Ve$2,{optional:true});},multi:true};function qo(e,t){let [n,r,o]=fs$1(e,t?.equal),i=n;i[B$2];return i.set=r,i.update=o,i.asReadonly=lr$1.bind(i),i}function lr$1(){let e=this[B$2];if(e.readonlyFn===void 0){let t=()=>this();t[B$2]=e,e.readonlyFn=t;}return e.readonlyFn}var rd$1=new A$4("",{factory:()=>qm}),qm="ng";var od$1=new A$4(""),Wm=new A$4("",{providedIn:"platform",factory:()=>"unknown"}),Gm=new A$4(""),zm$1=new A$4("",{factory:()=>C$1(Uo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ur$1=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r;}static __NG_ELEMENT_ID__=Qm}return e})();function Qm(){return new ur$1(g$2(),V$1())}var He$2=class He{},dr$1=new A$4("",{factory:()=>true});var ga=new A$4(""),Wo=(()=>{class e{static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new Ss$1})}return e})(),Ss$1=class Ss{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}},Io=class{[B$2];constructor(t){this[B$2]=t;}destroy(){this[B$2].destroy();}};function id$1(e,t){let n=t?.injector??C$1(Ee$3),r=t?.manualCleanup!==true?n.get(at$1):null,o,i=n.get(ur$1,null,{optional:true}),s=n.get(He$2);return i!==null?(o=Km(i.view,s,e),r instanceof yo$1&&r._lView===i.view&&(r=null)):o=Jm(e,n.get(Wo),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Io(o)}var sd$1=s(r$1({},ps$1),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=zn$3(false);try{hs$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);}}}),Zm=s(r$1({},sd$1),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12);},destroy(){if(Tt$4(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this);}}),Ym$1=s(r$1({},sd$1),{consumerMarkedDirty(){this.view[w$1]|=8192,Pt$4(this.view),this.notifier.notify(13);},destroy(){if(Tt$4(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Xe$1]?.delete(this);}});function Km(e,t,n){let r=Object.create(Ym$1);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=ad$1(r,n),e[Xe$1]??=new Set,e[Xe$1].add(r),r.consumerMarkedDirty(r),r}function Jm(e,t,n){let r=Object.create(Zm);return r.fn=ad$1(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 ad$1(e,t){return ()=>{t(n=>(e.cleanupFns??=[]).push(n));}}function Go(e){return typeof e=="function"&&e[B$2]!==void 0}function zo(e){return Go(e)&&typeof e.set=="function"}var ma=(()=>{class e{internalPendingTasks=C$1(jt$3);scheduler=C$1(He$2);errorHandler=C$1(Vt$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$1({token:e,providedIn:"root",factory:()=>new e})}return e})();function Cr$1(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||{}),ii$1=class ii{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r;}isFirstChange(){return this.firstChange}};function Xd$1(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r;}var ef=null,ly=(()=>{ef=cd$1;let e=()=>cd$1;return e.ngInherit=true,e})();function uy(){return ef}function cd$1(e){return e.type.prototype.ngOnChanges&&(e.setInput=fy),dy}function dy(){let e=tf(this),t=e?.current;if(t){let n=e.previous;if(n===tt$1)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t);}}function fy(e,t,n,r,o){let i=this.declaredInputs[r],s=tf(e)||py(e,{previous:tt$1,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ii$1(l&&l.currentValue,n,c===tt$1),Xd$1(e,t,o,n);}var Ma$1="__ngSimpleChanges__";function tf(e){return Object.hasOwn(e,Ma$1)&&e[Ma$1]||null}function py(e,t){return e[Ma$1]=t}var ld$1=[];var P=function(e,t=null,n){for(let r=0;r<ld$1.length;r++){let o=ld$1[r];o(e,t,n);}};function hy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=uy()(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 nf(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 Xo(e,t,n){rf(e,t,3,n);}function ei$2(e,t,n,r){(e[w$1]&3)===n&&rf(e,t,n,r);}function ya(e,t){let n=e[w$1];(n&3)===t&&(n&=16383,n+=1,e[w$1]=n);}function rf(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)&&(gy(e,n,t,c),e[At$2]=(e[At$2]&4294901760)+c+2),c++;}function ud$1(e,t){P(x$1.LifecycleHookStart,e,t);let n=v(null);try{t.call(e);}finally{v(n),P(x$1.LifecycleHookEnd,e,t);}}function gy(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$1]>>14<e[At$2]>>16&&(e[w$1]&3)===t&&(e[w$1]+=16384,ud$1(a,i)):ud$1(a,i);}var Dn$3=-1,Ut$3=class Ut{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 my(e){return (e.flags&8)!==0}function yy(e){return (e.flags&16)!==0}function vy(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];Iy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++;}}return r}function of(e){return e===3||e===4||e===6}function Iy(e){return e.charCodeAt(0)===64}function wn$4(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?dd$1(e,n,o,null,t[++r]):dd$1(e,n,o,null,null));}}return e}function dd$1(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 sf(e){return e!==Dn$3}function si$1(e){return e&32767}function Ey(e){return e>>16}function ai$1(e,t){let n=Ey(e),r=t;for(;n>0;)r=r[nt$1],n--;return r}var Sa=true;function ci$2(e){let t=Sa;return Sa=e,t}var Dy=256,af=Dy-1,cf=5,wy=0,ke$3={};function Ty(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(St$3)&&(r=n[St$3]),r==null&&(r=n[St$3]=wy++);let o=r&af,i=1<<o;t.data[e+(o>>cf)]|=i;}function li$1(e,t){let n=lf(e,t);if(n!==-1)return n;let r=t[y$4];r.firstCreatePass&&(e.injectorIndex=t.length,va(r.data,e),va(t,null),va(r.blueprint,null));let o=pc$2(e,t),i=e.injectorIndex;if(sf(o)){let s=si$1(o),a=ai$1(o,t),c=a[y$4].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l];}return t[i+8]=o,i}function va(e,t){e.push(0,0,0,0,0,0,0,0,t);}function lf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function pc$2(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=hf(o),r===null)return Dn$3;if(n++,o=o[nt$1],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Dn$3}function Na$1(e,t,n){Ty(e,t,n);}function Cy(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(of(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 uf(e,t,n){if(n&8||e!==void 0)return e;_o$1();}function df(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[q$1],i=X(void 0);try{return o?o.get(t,r,n&8):Ls$1(t,r,n&8)}finally{X(i);}}return uf(r,t,n)}function ff(e,t,n,r=0,o){if(e!==null){if(t[w$1]&2048&&!(r&2)){let s=Ny(e,t,n,r,ke$3);if(s!==ke$3)return s}let i=pf$1(e,t,n,r,ke$3);if(i!==ke$3)return i}return df(t,n,r,o)}function pf$1(e,t,n,r,o){let i=_y(n);if(typeof i=="function"){if(!ca(t,e,r))return r&1?uf(o,n,r):df(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))_o$1(n);else return s}finally{la();}}else if(typeof i=="number"){let s=null,a=lf(e,t),c=Dn$3,l=r&1?t[Y$1][Z$1]:null;for((a===-1||r&4)&&(c=a===-1?pc$2(e,t):t[a+8],c===Dn$3||!pd$1(r,false)?a=-1:(s=t[y$4],a=si$1(c),t=ai$1(c,t)));a!==-1;){let u=t[y$4];if(fd$1(i,a,u.data)){let d=by(a,t,n,s,r,l);if(d!==ke$3)return d}c=t[a+8],c!==Dn$3&&pd$1(r,t[y$4].data[a+8]===l)&&fd$1(i,a,t)?(s=u,a=si$1(c),t=ai$1(c,t)):a=-1;}}return o}function by(e,t,n,r,o,i){let s=t[y$4],a=s.data[e+8],c=r==null?$e$2(a)&&Sa:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ti$2(a,s,n,c,l);return u!==null?gr$1(t,s,u,a,o):ke$3}function ti$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&&Te$2(f)&&f.type===n)return c}return null}function gr$1(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ut$3){let a=i;if(a.resolving)throw Ps$1();let c=ci$2(a.canSeeViewProviders);a.resolving=true;s[n].type||s[n];let d=a.injectImpl?X(a.injectImpl):null;ca(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&hy(n,s[n],t);}finally{d!==null&&X(d),ci$2(c),a.resolving=false,la();}}return i}function _y(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(St$3)?e[St$3]:void 0;return typeof t=="number"?t>=0?t&af:My:t}function fd$1(e,t,n){let r=1<<e;return !!(n[t+(e>>cf)]&r)}function pd$1(e,t){return !(e&2)&&!(e&1&&t)}var ct$2=class ct{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n;}get(t,n,r){return ff(this._tNode,this._lView,t,bt$3(r),n)}};function My(){return new ct$2(V$1(),g$2())}function Sy(e){return Cr$1(()=>{let t=e.prototype.constructor,n=t[Gn$3]||xa$1(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Gn$3]||xa$1(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o);}return i=>new i})}function xa$1(e){return Ns$1(e)?()=>{let t=xa$1($$1(e));return t&&t()}:Je$2(e)}function Ny(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w$1]&2048&&!vn$4(s);){let a=pf$1(i,s,n,r|2,ke$3);if(a!==ke$3)return a;let c=i.parent;if(!c){let l=s[qs$1];if(l){let u=l.get(n,ke$3,r&-5);if(u!==ke$3)return u}c=hf(s),s=s[nt$1];}i=c;}return o}function hf(e){let t=e[y$4],n=t.type;return n===2?t.declTNode:n===1?e[Z$1]:null}function gf(e){return Cy(V$1(),e)}function br$1(e){return {token:e.token,providedIn:e.autoProvided===false?null:"root",factory:e.factory,value:void 0}}var xy=Function;function Ay(){return An$2(V$1(),g$2())}function An$2(e,t){return new _r$1(ee$1(e,t))}var _r$1=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n;}static __NG_ELEMENT_ID__=Ay}return e})();function mf(e){return e instanceof _r$1?e.nativeElement:e}function Ry(){return this._results[Symbol.iterator]()}var ui$1=class ui{_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$2}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=Iu$1(t);(this._changesDetected=!vu$1(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]=Ry};function yf(e){return (e.flags&128)===128}var hc$2=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(hc$2||{}),vf=new Map,ky=0;function Oy(){return ky++}function Py(e){vf.set(e[fe$2],e);}function Aa$1(e){vf.delete(e[fe$2]);}var hd$1="__ngContext__";function Tn$3(e,t){Be$2(t)?(e[hd$1]=t[fe$2],Py(t)):e[hd$1]=t;}function If(e){return Df(e[mn$3])}function Ef(e){return Df(e[de$2])}function Df(e){for(;e!==null&&!he$2(e);)e=e[de$2];return e}var Ra$1;function Ly(e){Ra$1=e;}function gc$2(){if(Ra$1!==void 0)return Ra$1;if(typeof document<"u")return document;throw new _$2(210,false)}var wf="r";var Tf="di";var Cf=false,bf=new A$4("",{factory:()=>Cf});var gd$1=new WeakMap;function Fy(e,t){if(e==null||typeof e!="object")return;let n=gd$1.get(e);n||(n=new WeakSet,gd$1.set(e,n)),n.add(t);}function Si$1(e){return (e.flags&32)===32}var Hy=()=>null;function _f(e,t,n=false){return Hy()}function Mf(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];ar$1(i),a.contentQueries(2,t[s],s);}}}finally{v(r);}}}function ka(e,t,n){ar$1(0);let r=v(null);try{t(e,n);}finally{v(r);}}function mc$2(e,t,n){if(Gs$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 qt$3=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(qt$3||{});var Qo;function By(){if(Qo===void 0&&(Qo=null,fn$4.trustedTypes))try{Qo=fn$4.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch(e){}return Qo}function Ni$2(e){return By()?.createHTML(e)||e}var Zo;function Sf(){if(Zo===void 0&&(Zo=null,fn$4.trustedTypes))try{Zo=fn$4.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch(e){}return Zo}function md$1(e){return Sf()?.createHTML(e)||e}function yd$1(e){return Sf()?.createScriptURL(e)||e}var Ue$2=class Ue{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t;}toString(){return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Eo$1})`}},Oa$1=class Oa extends Ue$2{getTypeName(){return "HTML"}},Pa=class extends Ue$2{getTypeName(){return "Style"}},La$1=class La extends Ue$2{getTypeName(){return "Script"}},Fa$1=class Fa extends Ue$2{getTypeName(){return "URL"}},ja$1=class ja extends Ue$2{getTypeName(){return "ResourceURL"}};function Qt$3(e){return e instanceof Ue$2?e.changingThisBreaksApplicationSecurity:e}function xi$1(e,t){let n=Nf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return true;throw new Error(`Required a safe ${t}, got a ${n} (see ${Eo$1})`)}return n===t}function Nf(e){return e instanceof Ue$2&&e.getTypeName()||null}function $y(e){return new Oa$1(e)}function Uy(e){return new Pa(e)}function qy(e){return new La$1(e)}function Wy(e){return new Fa$1(e)}function Gy(e){return new ja$1(e)}function zy(e){let t=new Ha$1(e);return Qy()?new Va$1(t):t}var Va$1=class Va{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t;}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ni$2(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ha$1=class Ha{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=Ni$2(t),n}};function Qy(){try{return !!new window.DOMParser().parseFromString(Ni$2(""),"text/html")}catch(e){return false}}var Zy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yc$2(e){return e=String(e),e.match(Zy)?e:"unsafe:"+e}function qe$2(e){let t={};for(let n of e.split(","))t[n]=true;return t}function Mr$1(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=true);return t}var xf=qe$2("area,br,col,hr,img,wbr"),Af=qe$2("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rf=qe$2("rp,rt"),Yy=Mr$1(Rf,Af),Ky=Mr$1(Af,qe$2("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")),Jy=Mr$1(Rf,qe$2("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")),vd$1=Mr$1(xf,Ky,Jy,Yy),kf=qe$2("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xy=qe$2("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"),ev=qe$2("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"),tv=Mr$1(kf,Xy,ev),nv=qe$2("script,style,template"),Ba$1=class Ba{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=iv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ov(n);if(i){n=i;break}n=o.pop();}}return this.buf.join("")}startElement(t){let n=Id$1(t).toLowerCase();if(!vd$1.hasOwnProperty(n))return this.sanitizedSomething=true,!nv.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(!tv.hasOwnProperty(a)){this.sanitizedSomething=true;continue}let c=i.value;kf[a]&&(c=yc$2(c)),this.buf.push(" ",s,'="',Ed(c),'"');}return this.buf.push(">"),true}endElement(t){let n=Id$1(t).toLowerCase();vd$1.hasOwnProperty(n)&&!xf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"));}chars(t){this.buf.push(Ed(t));}};function rv(e,t){return (e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ov(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Of(t);return t}function iv(e){let t=e.firstChild;if(t&&rv(e,t))throw Of(t);return t}function Id$1(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Of(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var sv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,av=/([^\#-~ |!])/g;function Ed(e){return e.replace(/&/g,"&amp;").replace(sv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return "&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(av,function(t){return "&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Yo$1;function Pf(e,t){let n=null;try{Yo$1=Yo$1||zy(e);let r=t?String(t):"";n=Yo$1.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=Yo$1.getInertBodyElement(r);}while(r!==i);let a=new Ba$1().sanitizeChildren(Dd$1(n)||n);return Ni$2(a)}finally{if(n){let r=Dd$1(n)||n;for(;r.firstChild;)r.firstChild.remove();}}}function Dd$1(e){return "content"in e&&cv(e)?e.content:null}function cv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var lv=/^>|^->|<!--|-->|--!>|<!-$/g,uv=/(<|>)/g,dv="\u200B$1\u200B";function fv(e){return e.replace(lv,t=>t.replace(uv,dv))}function pv(e,t){return e.createText(t)}function hv(e,t,n){e.setValue(t,n);}function gv(e,t){return e.createComment(fv(t))}function Lf(e,t,n){return e.createElement(t,n)}function di$1(e,t,n,r,o){e.insertBefore(t,n,r,o);}function Ff(e,t,n){e.appendChild(t,n);}function wd$1(e,t,n,r,o){r!==null?di$1(e,t,n,r,o):Ff(e,t,n);}function jf(e,t,n,r){e.removeChild(null,t,n,r);}function mv(e,t,n){e.setAttribute(t,"style",n);}function yv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n);}function Vf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&vy(e,t,r),o!==null&&yv(e,t,o),i!==null&&mv(e,t,i);}var Sr$1=(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})(Sr$1||{});function vv(e){let t=vc$2();return t?md$1(t.sanitize(Sr$1.HTML,e)||""):xi$1(e,"HTML")?md$1(Qt$3(e)):Pf(gc$2(),Nt$2(e))}function Hf(e){let t=vc$2();return t?t.sanitize(Sr$1.URL,e)||"":xi$1(e,"URL")?Qt$3(e):yc$2(Nt$2(e))}function Bf(e){let t=vc$2();if(t)return yd$1(t.sanitize(Sr$1.RESOURCE_URL,e)||"");if(xi$1(e,"ResourceURL"))return yd$1(Qt$3(e));throw new _$2(904,false)}var Iv={embed:{src:true},frame:{src:true},iframe:{src:true},media:{src:true},base:{href:true},link:{href:true},object:{data:true,codebase:true}};function Ev(e,t){return Iv[e.toLowerCase()]?.[t.toLowerCase()]===true?Bf:Hf}function Dv(e,t,n){return Ev(t,n)(e)}function vc$2(){let e=g$2();return e&&e[we$3].sanitizer}function wv(e){return e instanceof Function?e():e}function Tv(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 $f="ng-template";function Cv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Tv(t[o+1].toLowerCase(),n,0)!==-1)return true}else if(Ic$2(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 Ic$2(e){return e.type===4&&e.value!==$f}function bv(e,t,n){let r=e.type===4&&!n?$f:e.value;return t===r}function _v(e,t,n){let r=4,o=e.attrs,i=o!==null?Nv(o):0,s=false;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be$4(r)&&!be$4(c))return false;if(s&&be$4(c))continue;s=false,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!bv(e,c,n)||c===""&&t.length===1){if(be$4(r))return false;s=true;}}else if(r&8){if(o===null||!Cv(e,o,c,n)){if(be$4(r))return false;s=true;}}else {let l=t[++a],u=Mv(c,o,Ic$2(e),n);if(u===-1){if(be$4(r))return false;s=true;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be$4(r))return false;s=true;}}}}return be$4(r)||s}function be$4(e){return (e&1)===0}function Mv(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 xv(t,e)}function Uf(e,t,n=false){for(let r=0;r<t.length;r++)if(_v(e,t[r],n))return true;return false}function Sv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Nv(e){for(let t=0;t<e.length;t++){let n=e[t];if(of(n))return t}return e.length}function xv(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 Av(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 Td$1(e,t){return e?":not("+t.trim()+")":t}function Rv(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!==""&&!be$4(s)&&(t+=Td$1(i,o),o=""),r=s,i=i||!be$4(r);n++;}return o!==""&&(t+=Td$1(i,o)),t}function kv(e){return e.map(Rv).join(",")}function Ov(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(!be$4(o))break;o=i;}r++;}return n.length&&t.push(1,...n),t}var te$1={},fi$1=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(fi$1||{}),Pv;function Ec$2(e,t){return Pv(e,t)}var qf=new A$4("",{factory:()=>false}),Wf=new A$4("",{factory:()=>Lv}),Lv=4e3,Fv=false,Rn$2=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Dc$2(e){return e[q$1].get(qf,Fv)}function jv(e,t,n){let r=Cn$3.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o);}else Cn$3.set(e,{classList:t,cleanupFns:n});}function wc$2(e){let t=Cn$3.get(e);if(t){for(let n of t.cleanupFns)n();Cn$3.delete(e);}Bt$3.delete(e);}var Cn$3=new WeakMap,Bt$3=new WeakMap,mr$1=new WeakMap;function Gf(e){return e?e[nt$1]??e:null}var fr$1=new WeakSet;function $a$1(e,t){let n=mr$1.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o.el===t);r>-1&&n.splice(r,1);}n?.length===0&&mr$1.delete(e);}function Vv(e,t,n){let r=mr$1.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=Gf(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),fr$1.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 Tc$2(e,t,n){let r=Gf(n),o=mr$1.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):mr$1.set(e,[{el:t,declarationView:r}]);}function Cd$1(e){let t=e[pe$2]??={};return t.enter??=new Map}function Wt$2(e){let t=e[pe$2]??={};return t.leave??=new Map}function zf(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 Hv(e,t){if(!Rn$2)return;let n=Cn$3.get(e);if(n&&n.classList.length>0&&Bv(e,n.classList))for(let r of n.classList)t.removeClass(e,r);wc$2(e);}function Bv(e,t){for(let n of t)if(e.classList.contains(n))return true;return false}function yr$1(e){return e.composedPath?e.composedPath()[0]:e.target}function Cc$2(e,t){let n=Bt$3.get(t);return n===void 0?true:t===yr$1(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName==="all"||e.propertyName===n.propertyName))}function bc$2(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r);}function Ua$1(e,t){if(e)for(let n of e)n();for(let n of t)n();}function qa$1(e,t){let n=Wt$2(e).get(t.index);n&&(n.resolvers=void 0);}function Ko(e,t,n,r,o){$a$1(t,n),Ua$1(r,o),qa$1(e,t);}function pi$1(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Ht$4(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function $v(e){let t=Ht$4(e,"transition-property"),n=Ht$4(e,"transition-duration"),r=Ht$4(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=pi$1(r[i])+pi$1(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s);}return o}function Uv(e){let t=Ht$4(e,"animation-name"),n=Ht$4(e,"animation-delay"),r=Ht$4(e,"animation-duration"),o=Ht$4(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=pi$1(n[s])+pi$1(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=t[s],i.duration=a);}return i}function Qf(e,t){return e!==void 0&&e.duration>t.duration}function Zf(e){return (e.animationName!=null||e.propertyName!=null)&&e.duration>0}function qv(e,t){let n=getComputedStyle(e),r=Uv(n),o=$v(n),i=r.duration>o.duration?r:o;Qf(t.get(e),i)||Zf(i)&&t.set(e,i);}function Yf(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?qv(e,t):Wv(e,t,r)}function Wv(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});}Qf(t.get(e),r)||Zf(r)&&t.set(e,r);}var lt$2=new Set,Ai$2=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ai$2||{}),kn$4=new A$4(""),bd$1=new Set;function le$1(e){bd$1.has(e)||(bd$1.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}));}var _c$2=(()=>{class e{impl=null;execute(){this.impl?.execute();}static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new e})}return e})(),Kf=[0,1,2,3],Jf=(()=>{class e{ngZone=C$1(oe$1);scheduler=C$1(He$2);errorHandler=C$1(Ve$2,{optional:true});sequences=new Set;deferredRegistrations=new Set;executing=false;constructor(){C$1(kn$4,{optional:true});}execute(){let n=this.sequences.size>0;n&&P(x$1.AfterRenderHooksStart),this.executing=true;for(let r of Kf)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(x$1.AfterRenderHooksEnd);}register(n){let{view:r}=n;r!==void 0?((r[Rt$3]??=[]).push(n),Pt$4(r),r[w$1]|=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(Ai$2.AFTER_NEXT_RENDER,n):n()}static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new e})}return e})(),hi$1=class hi{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 Gv(e,t){let n=C$1(Ee$3);return le$1("NgAfterRender"),ep(e,n,t,false)}function Xf(e,t){let n=t?.injector??C$1(Ee$3);return le$1("NgAfterNextRender"),ep(e,n,t,true)}function zv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ep(e,t,n,r){let o=t.get(_c$2);o.impl??=t.get(Jf);let i=t.get(kn$4,null,{optional:true}),s=n?.manualCleanup!==true?t.get(at$1):null,a=t.get(ur$1,null,{optional:true}),c=new hi$1(o.impl,zv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Nr$2=new A$4("",{factory:()=>{let e=C$1(ue$2),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:false,scheduler:null,injector:e}}});function tp$1(e,t,n){let r=e.get(Nr$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 Qv(e,t){let n=e.get(Nr$2);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t);}function Zv(e,t){let n=e.get(Nr$2);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0;}}function Yv(e){let t=e.get(Nr$2);t.isScheduled||(Xf(()=>{t.isScheduled=false;for(let n of t.queue)n();t.queue.clear();},{injector:t.injector}),t.isScheduled=true);}function Mc$2(e){let t=e.get(Nr$2);t.scheduler=Yv,t.scheduler(e);}function np$1(e,t){for(let[n,r]of t)tp$1(e,r.animateFns);}function _d$1(e,t,n,r){let o=e?.[pe$2]?.enter;t!==null&&o&&o.has(n.index)&&np$1(r,o);}function Md$1(e,t,n,r){try{n.get(nr$1);}catch(s){return r(false)}let o=e?.[pe$2];o?.enter?.has(t.index)&&Qv(n,o.enter.get(t.index).animateFns);let i=Kv(e,t,o);if(i.size===0){let s=false;if(e){let a=[];Ri$2(e,t,a),s=a.length>0;}if(!s)return r(false)}e&&lt$2.add(e[fe$2]),tp$1(n,()=>Jv(e,t,o||void 0,i,r),o||void 0);}function Kv(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$4].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent;}}return r}function Jv(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&&Ri$2(e,t,i),i.length>0){let s=n||e?.[pe$2];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),eI(e,s.running,o);}else Promise.allSettled(i).then(()=>{e&&lt$2.delete(e[fe$2]),o(true);});}else e&&lt$2.delete(e[fe$2]),o(false);}function Ri$2(e,t,n){if(t.type&12){let o=e[t.index];if(he$2(o))for(let i=j$1;i<o.length;i++){let s=o[i];s[y$4].type===2&&Xv(s,n);}}let r=t.child;for(;r;)Ri$2(e,r,n),r=r.next;}function Xv(e,t){let n=e[pe$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$4].firstChild;for(;r;)Ri$2(e,r,t),r=r.next;}function eI(e,t,n){t.then(()=>{e[pe$2]?.running===t&&(e[pe$2].running=void 0,lt$2.delete(e[fe$2])),n(true);});}function En$2(e,t,n,r,o,i,s,a){if(o!=null){let c,l=false;he$2(o)?c=o:Be$2(o)&&(l=true,o=o[De$3]);let u=ge$2(o);e===0&&r!==null?(_d$1(a,r,i,n),s==null?Ff(t,r,u):di$1(t,r,u,s||null,true)):e===1&&r!==null?(_d$1(a,r,i,n),di$1(t,r,u,s||null,true),Vv(i,u,a)):e===2?(a?.[pe$2]?.leave?.has(i.index)&&Tc$2(i,u,a),fr$1.delete(u),Md$1(a,i,n,d=>{if(fr$1.has(u)){fr$1.delete(u);return}jf(t,u,l,d);})):e===3&&(fr$1.delete(u),Md$1(a,i,n,()=>{t.destroyNode(u);})),c!=null&&uI(t,e,n,c,i,r,s);}}function tI(e,t){rp(e,t),t[De$3]=null,t[Z$1]=null;}function nI(e,t,n,r,o,i){r[De$3]=o,r[Z$1]=t,Oi$1(e,r,n,1,o,i);}function rp(e,t){t[we$3].changeDetectionScheduler?.notify(9),Oi$1(e,t,t[R$2],2,null,null);}function rI(e){let t=e[mn$3];if(!t)return Ia$1(e[y$4],e);for(;t;){let n=null;if(Be$2(t))n=t[mn$3];else {let r=t[j$1];r&&(n=r);}if(!n){for(;t&&!t[de$2]&&t!==e;)Be$2(t)&&Ia$1(t[y$4],t),t=t[U$4];t===null&&(t=e),Be$2(t)&&Ia$1(t[y$4],t),n=t&&t[de$2];}t=n;}}function Sc$2(e,t){let n=e[kt$3],r=n.indexOf(t);n.splice(r,1);}function ki$2(e,t){if(Ot$3(t))return;let n=t[R$2];n.destroyNode&&Oi$1(e,t,n,3,null,null),rI(t);}function Ia$1(e,t){if(Ot$3(t))return;let n=v(null);try{t[w$1]&=-129,t[w$1]|=256,t[se$1]&&Tt$4(t[se$1]),iI(e,t),oI(e,t),t[y$4].type===1&&t[R$2].destroy();let r=t[rt$1];if(r!==null&&he$2(t[U$4])){r!==t[U$4]&&Sc$2(r,t);let o=t[Re$2];o!==null&&o.detachView(e);}Aa$1(t);}finally{v(n);}}function oI(e,t){let n=e.cleanup,r=t[gn$4];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[gn$4]=null);let o=t[Fe$3];if(o!==null){t[Fe$3]=null;for(let s=0;s<o.length;s++){let a=o[s];a();}}let i=t[Xe$1];if(i!==null){t[Xe$1]=null;for(let s of i)s.destroy();}}function iI(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 Ut$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(x$1.LifecycleHookStart,a,c);try{c.call(a);}finally{P(x$1.LifecycleHookEnd,a,c);}}else {P(x$1.LifecycleHookStart,o,i);try{i.call(o);}finally{P(x$1.LifecycleHookEnd,o,i);}}}}}function op(e,t,n){return sI(e,t.parent,n)}function sI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De$3];if($e$2(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===qt$3.None||o===qt$3.Emulated)return null}return ee$1(r,n)}function ip(e,t,n){return cI(e,t,n)}function aI(e,t,n){return e.type&40?ee$1(e,n):null}var cI=aI;function Nc$2(e,t,n,r){let o=op(e,r,t),i=t[R$2],s=r.parent||t[Z$1],a=ip(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)wd$1(i,o,n[c],a,false);else wd$1(i,o,n,a,false);}function pr$1(e,t){if(t!==null){let n=t.type;if(n&3)return ee$1(t,e);if(n&4)return Wa$1(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return pr$1(e,r);{let o=e[t.index];return he$2(o)?Wa$1(-1,o):ge$2(o)}}else {if(n&128)return pr$1(e,t.next);if(n&32)return Ec$2(t,e)()||ge$2(e[t.index]);{let r=sp$1(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=je$2(e[Y$1]);return pr$1(o,r)}else return pr$1(e,t.next)}}}return null}function sp$1(e,t){if(t!==null){let r=e[Y$1][Z$1],o=t.projection;return r.projection[o]}return null}function Wa$1(e,t){let n=j$1+e+1;if(n<t.length){let r=t[n],o=r[y$4].firstChild;if(o!==null)return pr$1(r,o)}return t[ot$1]}function xc$2(e,t,n,r,o,i,s){for(;n!=null;){let a=r[q$1];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Tn$3(ge$2(c),r),n.flags|=2),!Si$1(n))if(l&8)xc$2(e,t,n.child,r,o,i,false),En$2(t,e,a,o,c,n,i,r);else if(l&32){let u=Ec$2(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?ap(e,t,r,n,o,i):En$2(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next;}}function Oi$1(e,t,n,r,o,i){xc$2(n,r,e.firstChild,t,o,i,false);}function lI(e,t,n){let r=t[R$2],o=op(e,n,t),i=n.parent||t[Z$1],s=ip(i,n,t);ap(r,0,t,n,o,s);}function ap(e,t,n,r,o,i){let s=n[Y$1],c=s[Z$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$1],o,u,r,i,n);}else {let l=c,u=s[U$4];yf(r)&&(l.flags|=128),xc$2(e,t,l,u,o,i,true);}}function uI(e,t,n,r,o,i,s){let a=r[ot$1],c=ge$2(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];Oi$1(u[y$4],u,e,t,i,a);}}function dI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else {let i=r.indexOf("-")===-1?void 0:fi$1.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=fi$1.Important),e.setStyle(n,r,o,i));}}function Ac$2(e,t,n,r,o,i,s,a,c,l,u){let d=L$3+r,p=d+o,f=fI(d,p),h=typeof l=="function"?l():l;return f[y$4]={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 fI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:te$1);return n}function pI(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ac$2(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Rc$2(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[De$3]=o,d[w$1]=r|4|128|8|64|1024,(l!==null||e&&e[w$1]&2048)&&(d[w$1]|=2048),Zs$1(d),d[U$4]=d[nt$1]=e,d[F$2]=n,d[we$3]=s||e&&e[we$3],d[R$2]=a||e&&e[R$2],d[q$1]=c||e&&e[q$1]||null,d[Z$1]=i,d[fe$2]=Oy(),d[xt$3]=u,d[qs$1]=l,d[Y$1]=t.type==2?e[Y$1]:d,d}function hI(e,t,n){let r=ee$1(t,e),o=pI(n),i=e[we$3].rendererFactory,s=kc$2(e,Rc$2(e,o,null,cp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function cp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function lp(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 kc$2(e,t){return e[mn$3]?e[Us$1][de$2]=t:e[mn$3]=t,e[Us$1]=t,t}function gI(e=1){up(O$2(),g$2(),Ce$3()+e);}function up(e,t,n,r){if((t[w$1]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Xo(t,i,n);}else {let i=e.preOrderHooks;i!==null&&ei$2(t,i,0,n);}st$2(n);}var Pi$1=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Pi$1||{});function Gt$3(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Pi$1.SignalBased)!==0&&(c=t[i][B$2]),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):Xd$1(t,c,i,r);}finally{v(o);}}function dp(e,t,n,r,o){let i=Ce$3(),s=r&2;try{st$2(-1),s&&t.length>L$3&&up(e,t,L$3,!1);let a=s?x$1.TemplateUpdateStart:x$1.TemplateCreateStart;P(a,o,n),n(r,o);}finally{st$2(i);let a=s?x$1.TemplateUpdateEnd:x$1.TemplateCreateEnd;P(a,o,n);}}function Li$2(e,t,n){DI(e,t,n),(n.flags&64)===64&&wI(e,t,n);}function xr$2(e,t,n=ee$1){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 mI(e,t,n,r){let i=r.get(bf,Cf)||n===qt$3.ShadowDom||n===qt$3.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return s}function II(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function fp$1(e,t,n,r,o,i){let s=t[y$4];if(Fc$2(e,s,t,n,r)){$e$2(e)&&EI(t,e.index);return}e.type&3&&(n=II(n)),pp(e,t,n,r,o,i);}function pp(e,t,n,r,o,i){if(e.type&3){let s=ee$1(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r);}else e.type&12;}function EI(e,t){let n=me$3(t,e);n[w$1]&16||(n[w$1]|=64);}function DI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;$e$2(n)&&hI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||li$1(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=gr$1(t,e,s,n);if(Tn$3(c,t),i!==null&&_I(t,s-r,c,a,n,i),Te$2(a)){let l=me$3(n.index,t);l[F$2]=gr$1(t,e,s,n);}}}function wI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=qu$1();try{st$2(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Fo$1(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&TI(c,l);}}finally{st$2(-1),Fo$1(s);}}function TI(e,t){e.hostBindings!==null&&e.hostBindings(1,t);}function Oc$2(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Uf(t,i.selectors,false)&&(r??=[],Te$2(i)?r.unshift(i):r.push(i));}return r}function CI(e,t,n,r,o,i){let s=ee$1(e,t);bI(t[R$2],s,i,e.value,n,r,o);}function bI(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else {let a=s==null?Nt$2(i):s(i,r||"",o);e.setAttribute(t,o,a,n);}}function _I(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];Gt$3(r,n,c,l);}}function Pc$2(e,t,n,r,o){let i=L$3+n,s=t[y$4],a=o(s,t,e,r,n);t[i]=a,Lt$3(e,true);let c=e.type===2;return c?(Vf(t[R$2],a,e),(Pu$1()===0||yn$4(e))&&Tn$3(a,t),Lu$1()):Tn$3(a,t),Bo()&&(!c||!Si$1(e))&&Nc$2(s,t,a,e),e}function Lc$2(e){let t=e;return oa()?ia():(t=t.parent,Lt$3(t,false)),t}function MI(e,t){let n=e[q$1];if(!n)return;let r;try{r=n.get(Vt$2,null);}catch(o){r=null;}r?.(t);}function Fc$2(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];Gt$3(d,n[l],u,o),a=true;}if(i)for(let c of i){let l=n[c],u=t.data[c];Gt$3(u,l,r,o),a=true;}return a}function SI(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];Gt$3(h,n[f],m,i),l=true;}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(Gt$3(r,n[s],o,i),l=true),l}function NI(e,t){let n=me$3(t,e),r=n[y$4];xI(r,n);let o=n[De$3];o!==null&&n[xt$3]===null&&(n[xt$3]=_f(o,n[q$1])),P(x$1.ComponentStart);try{jc$2(r,n,n[F$2]);}finally{P(x$1.ComponentEnd,n[F$2]);}}function xI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n]);}function jc$2(e,t,n){Vo(t);try{let r=e.viewQuery;r!==null&&ka(1,r,n);let o=e.template;o!==null&&dp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Re$2]?.finishViewCreation(e),e.staticContentQueries&&Mf(e,t),e.staticViewQueries&&ka(2,e.viewQuery,n);let i=e.components;i!==null&&AI(t,i);}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=true,e.firstCreatePass=false),r}finally{t[w$1]&=-5,Ho();}}function AI(e,t){for(let n=0;n<t.length;n++)NI(e,t[n]);}function Ar$1(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[w$1]&4096?4096:16,c=Rc$2(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[rt$1]=l;let u=e[Re$2];return u!==null&&(c[Re$2]=u.createEmbeddedView(i)),jc$2(i,c,n),c}finally{v(o);}}function bn$4(e,t){return !t||t.firstChild===null||yf(e)}function vr$1(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(ge$2(i)),he$2(i)&&hp(i,r);let s=n.type;if(s&8)vr$1(e,t,n.child,r);else if(s&32){let a=Ec$2(n,t),c;for(;c=a();)r.push(c);}else if(s&16){let a=sp$1(t,n);if(Array.isArray(a))r.push(...a);else {let c=je$2(t[Y$1]);vr$1(c[y$4],c,a,r,true);}}n=o?n.projectionNext:n.next;}return r}function hp(e,t){for(let n=j$1;n<e.length;n++){let r=e[n],o=r[y$4].firstChild;o!==null&&vr$1(r[y$4],r,o,t);}e[ot$1]!==e[De$3]&&t.push(e[ot$1]);}function gp(e){if(e[Rt$3]!==null){for(let t of e[Rt$3])t.impl.addSequence(t);e[Rt$3].length=0;}}var mp=[];function RI(e){return e[se$1]??kI(e)}function kI(e){let t=mp.pop()??Object.create(PI);return t.lView=e,t}function OI(e){e.lView[se$1]!==e&&(e.lView=null,mp.push(e));}var PI=s(r$1({},Qe$1),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{Pt$4(e.lView);},consumerOnSignalRead(){this.lView[se$1]=this;}});function LI(e){let t=e[se$1]??Object.create(FI);return t.lView=e,t}var FI=s(r$1({},Qe$1),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{let t=je$2(e.lView);for(;t&&!yp(t[y$4]);)t=je$2(t);t&&Ys$1(t);},consumerOnSignalRead(){this.lView[se$1]=this;}});function yp(e){return e.type!==2}function vp(e){if(e[Xe$1]===null)return;let t=true;for(;t;){let n=false;for(let r of e[Xe$1])r.dirty&&(n=true,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w$1]&8192);}}var jI=100;function Ip(e,t=0){let r=e[we$3].rendererFactory;r.begin?.();try{VI(e,t);}finally{r.end?.();}}function VI(e,t){let n=aa();try{zn$3(!0),Ga$1(e,t);let r=0;for(;sr$1(e);){if(r===jI)throw new _$2(103,!1);r++,Ga$1(e,1);}}finally{zn$3(n);}}function HI(e,t,n,r){if(Ot$3(t))return;let o=t[w$1],i=false,s=false;Vo(t);let a=true,c=null,l=null;(yp(e)?(l=RI(t),c=Ye$2(l)):lo$1()===null?(a=false,l=LI(t),c=Ye$2(l)):t[se$1]&&(Tt$4(t[se$1]),t[se$1]=null));try{Zs$1(t),Bu$1(e.bindingStartIndex),n!==null&&dp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Xo(t,f,null);}else {let f=e.preOrderHooks;f!==null&&ei$2(t,f,0,null),ya(t,0);}if(s||BI(t),vp(t),Ep(t,0),e.contentQueries!==null&&Mf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Xo(t,f);}else {let f=e.contentHooks;f!==null&&ei$2(t,f,1),ya(t,1);}UI(e,t);let d=e.components;d!==null&&wp(t,d,0);let p=e.viewQuery;if(p!==null&&ka(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Xo(t,f);}else {let f=e.viewHooks;f!==null&&ei$2(t,f,2),ya(t,2);}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xo$1]){for(let f of t[xo$1])f();t[xo$1]=null;}i||(gp(t),t[w$1]&=-73);}catch(u){throw Pt$4(t),u}finally{l!==null&&(wt$3(l,c),a&&OI(l)),Ho();}}function Ep(e,t){for(let n=If(e);n!==null;n=Ef(n))for(let r=j$1;r<n.length;r++){let o=n[r];Dp(o,t);}}function BI(e){for(let t=If(e);t!==null;t=Ef(t)){if(!(t[w$1]&2))continue;let n=t[kt$3];for(let r=0;r<n.length;r++){let o=n[r];Ys$1(o);}}}function $I(e,t,n){P(x$1.ComponentStart);let r=me$3(t,e);try{Dp(r,n);}finally{P(x$1.ComponentEnd,r[F$2]);}}function Dp(e,t){Ro(e)&&Ga$1(e,t);}function Ga$1(e,t){let r=e[y$4],o=e[w$1],i=e[se$1],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$1]&=-9217,s)HI(r,e,r.template,e[F$2]);else if(o&8192){let a=v(null);try{vp(e),Ep(e,1);let c=r.components;c!==null&&wp(e,c,1),gp(e);}finally{v(a);}}}function wp(e,t,n){for(let r=0;r<t.length;r++)$I(e,t[r],n);}function UI(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$2(~o);else {let i=o,s=n[++r],a=n[++r];Uu$1(s,i);let c=t[i];P(x$1.HostBindingsUpdateStart,c);try{a(2,c);}finally{P(x$1.HostBindingsUpdateEnd,c);}}}}finally{st$2(-1);}}function Vc$2(e,t){let n=aa()?64:1088;for(e[we$3].changeDetectionScheduler?.notify(t);e;){e[w$1]|=n;let r=je$2(e);if(vn$4(e)&&!r)return e;e=r;}return null}function Tp(e,t,n,r){return [e,true,0,t,null,r,null,n,null,null]}function Cp(e,t){let n=j$1+t;if(n<e.length)return e[n]}function Rr$1(e,t,n,r=true){let o=t[y$4];if(qI(o,t,e,n),r){let s=Wa$1(n,e),a=t[R$2],c=a.parentNode(e[ot$1]);c!==null&&nI(o,e[Z$1],a,t,c,s);}let i=t[xt$3];i!==null&&i.firstChild!==null&&(i.firstChild=null);}function bp(e,t){let n=Ir$1(e,t);return n!==void 0&&ki$2(n[y$4],n),n}function Ir$1(e,t){if(e.length<=j$1)return;let n=j$1+t,r=e[n];if(r){let o=r[rt$1];o!==null&&o!==e&&Sc$2(o,r),t>0&&(e[n-1][de$2]=r[de$2]);let i=Xn$2(e,j$1+t);tI(r[y$4],r);let s=i[Re$2];s!==null&&s.detachView(i[y$4]),r[U$4]=null,r[de$2]=null,r[w$1]&=-129;}return r}function qI(e,t,n,r){let o=j$1+r,i=n.length;r>0&&(n[o-1][de$2]=t),r<i-j$1?(t[de$2]=n[o],Fs$1(n,j$1+r,t)):(n.push(t),t[de$2]=null),t[U$4]=n;let s=t[rt$1];s!==null&&n!==s&&_p(s,t);let a=t[Re$2];a!==null&&a.insertView(e),ko$1(t),t[w$1]|=128;}function _p(e,t){let n=e[kt$3],r=t[U$4];if(Be$2(r))e[w$1]|=2;else {let o=r[U$4][Y$1];t[Y$1]!==o&&(e[w$1]|=2);}n===null?e[kt$3]=[t]:n.push(t);}var ut$1=class ut{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=false;exhaustive;get rootNodes(){let t=this._lView,n=t[y$4];return vr$1(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n;}get context(){return this._lView[F$2]}set context(t){this._lView[F$2]=t;}get destroyed(){return Ot$3(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U$4];if(he$2(t)){let n=t[rr$1],r=n?n.indexOf(this):-1;r>-1&&(Ir$1(t,r),Xn$2(n,r));}this._attachedToViewContainer=false;}ki$2(this._lView[y$4],this._lView);}onDestroy(t){Oo$1(this._lView,t);}markForCheck(){Vc$2(this._cdRefInjectingView||this._lView,4);}detach(){this._lView[w$1]&=-129;}reattach(){ko$1(this._lView),this._lView[w$1]|=128;}detectChanges(){this._lView[w$1]|=1024,Ip(this._lView);}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _$2(902,false);this._attachedToViewContainer=true;}detachFromAppRef(){this._appRef=null;let t=vn$4(this._lView),n=this._lView[rt$1];n!==null&&!t&&Sc$2(n,this._lView),rp(this._lView[y$4],this._lView);}attachToAppRef(t){if(this._attachedToViewContainer)throw new _$2(902,false);this._appRef=t;let n=vn$4(this._lView),r=this._lView[rt$1];r!==null&&!n&&_p(r,this._lView),ko$1(this._lView);}};var Er$1=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=WI;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=Ar$1(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new ut$1(i)}}return e})();function WI(){return Fi$1(V$1(),g$2())}function Fi$1(e,t){return e.type&4?new Er$1(t,e,An$2(e,t)):null}function Zt$3(e,t,n,r,o){let i=e.data[t];if(i===null)i=GI(e,t,n,r,o),$u$1()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Vu$1();i.injectorIndex=s===null?-1:s.injectorIndex;}return Lt$3(i,true),i}function GI(e,t,n,r,o){let i=ra(),s=oa(),a=s?i:i&&i.parent,c=e.data[t]=QI(e,a,n,t,r,o);return zI(e,c,i,s),c}function zI(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 QI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ea()&&(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:ua(),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 ZI(e){let t=e[Ws$1]??[],r=e[U$4][R$2],o=[];for(let i of t)i.data[Tf]!==void 0?o.push(i):YI(i,r);e[Ws$1]=o;}function YI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[wf];for(;n<o;){let i=r.nextSibling;jf(t,r,false),r=i,n++;}}}var KI=()=>null,JI=()=>null;function gi$1(e,t){return KI()}function Mp(e,t,n){return JI()}var Sp=class{},Dr$1=class Dr{},XI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>eE()}return e})();function eE(){let e=g$2(),t=V$1(),n=me$3(t.index,e);return (Be$2(n)?n:e)[R$2]}var Np=(()=>{class e{static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>null})}return e})();function xp(e){return e.debugInfo?.className||e.type.name||null}var ni$1={},mi$1=class mi{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n;}get(t,n,r){let o=this.injector.get(t,ni$1,r);return o!==ni$1||n===ni$1?o:this.parentInjector.get(t,n,r)}};function Hc$2(e){return Rp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:false}function Ap(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 Rp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ji$2(e,t,n){return e[t]=n}function tE(e,t){return e[t]}function ce$1(e,t,n){if(n===te$1)return false;let r=e[t];return Object.is(r,n)?false:(e[t]=n,true)}function Bc$2(e,t,n,r){let o=ce$1(e,t,n);return ce$1(e,t+1,r)||o}function nE(e,t,n,r,o){let i=Bc$2(e,t,n,r);return ce$1(e,t+2,o)||i}function $t$2(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Fy(o,i);let s=$e$2(e)?me$3(e.index,t):t;Vc$2(s,5);let a=t[F$2],c=Nd$1(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Nd$1(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Nd$1(e,t,n,r){let o=v(null);try{return P(x$1.OutputStart,t,n),n(r)!==!1}catch(i){return MI(e,i),false}finally{P(x$1.OutputEnd,t,n),v(o);}}function $c$2(e,t,n,r,o,i,s,a){let c=yn$4(e),l=false,u=null;if(!r&&c&&(u=oE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=true;}else {let d=ee$1(e,n),p=r?r(d):d;r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!rE(i)){let h=r?m=>r(ge$2(m[e.index])):e.index;kp(h,t,n,i,a,f,false);}}return l}function rE(e){return e.startsWith("animation")||e.startsWith("transition")}function oE(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[gn$4],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2);}return null}function kp(e,t,n,r,o,i,s){let a=t.firstCreatePass?Js$1(t):null,c=Ks$1(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1));}function xd$1(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,yi$1(e,t,p,u[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=true,yi$1(e,t,i,r,r,o)),c}function yi$1(e,t,n,r,o,i){let s=t[n],a=t[y$4],l=a.data[n].outputs[r],d=s[l].subscribe(i);kp(e.index,a,t,o,i,d,true);}function iE(){sE();}function sE(){let e=g$2(),t=O$2(),n=V$1();if(t.firstCreatePass&&lE(t,n),n.controlDirectiveIndex===-1)return;le$1("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new vi$1(e,t,n));}function aE(){cE();}function cE(){let e=g$2(),t=O$2(),n=In$2();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new vi$1(e,t,n));}var vi$1=class vi{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 ee$1(this.tNode,this.lView)}get descriptor(){return `<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];xd$1(this.tNode,this.lView,r,t,$t$2(this.tNode,this.lView,n));}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];xd$1(this.tNode,this.lView,r,n,$t$2(this.tNode,this.lView,t));}listenToDom(t,n){$c$2(this.tNode,this.tView,this.lView,void 0,this.lView[R$2],t,n,$t$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];Gt$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];Gt$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";SI(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=Ad$1(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=Ad$1(i.directive);s!==null&&r.push(...s);}}}return n}};function Ad$1(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function lE(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}uE(e,t);}function uE(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(Rd$1(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(Rd$1(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 Rd$1(e,t){return dE(e,t)&&fE(e,t+"Change")}function dE(e,t){return t in e.inputs}function fE(e,t){return t in e.outputs}var za$1=Symbol("BINDING");var Op=new A$4("");function Ii$2(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=Do$1(o,a);else if(i==2){let c=a,l=t[++s];r=Do$1(r,c+": "+l+";");}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o;}function kr$1(e,t=0){let n=g$2();if(n===null)return Ae$3(e,t);let r=V$1();return ff(r,n,$$1(e),t)}function pE(){let e="invalid";throw new Error(e)}function Pp(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}mE(e,t,n,a,i,c,l);}i!==null&&r!==null&&hE(n,r,i);}function hE(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 gE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index);}function mE(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&&Te$2(f)&&(c=f,gE(e,n,p)),Na$1(li$1(n,t),e,f.type);}wE(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=lp(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$4(n.mergedAttrs,f.hostAttrs),vE(e,n,t,d,f),DE(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++;}yE(e,n,i);}function yE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))kd$1(0,t,o,r),kd$1(1,t,o,r),Pd$1(t,r,false);else {let i=n.get(o);Od$1(0,t,i,r),Od$1(1,t,i,r),Pd$1(t,r,true);}}}function kd$1(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),Lp(t,i);}}function Od$1(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),Lp(t,s);}}function Lp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16);}function Pd$1(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ic$2(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 vE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Je$2(o.type)),s=new Ut$3(i,Te$2(o),kr$1,null);e.blueprint[r]=s,n[r]=s,IE(e,t,r,lp(e,n,o.hostVars,te$1),o);}function IE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;EE(s)!=a&&s.push(a),s.push(n,r,i);}}function EE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function DE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Te$2(t)&&(n[""]=e);}}function wE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t;}function Uc$2(e,t,n,r,o,i,s,a){let c=t[y$4],l=c.consts,u=ae$2(l,s),d=Zt$3(c,e,n,r,u);return Pp(c,t,d,ae$2(l,a),o),d.mergedAttrs=wn$4(d.mergedAttrs,d.attrs),d.attrs!==null&&Ii$2(d,d.attrs,false),d.mergedAttrs!==null&&Ii$2(d,d.mergedAttrs,true),c.queries!==null&&c.queries.elementStart(c,d),d}function qc$2(e,t){nf(e,t),Gs$1(t)&&e.queries.elementEnd(t);}function TE(e,t,n,r,o,i){let s=t.consts,a=ae$2(s,o),c=Zt$3(t,e,n,r,a);if(c.mergedAttrs=wn$4(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&&Ii$2(c,c.attrs,false),c.mergedAttrs!==null&&Ii$2(c,c.mergedAttrs,true),t.queries!==null&&t.queries.elementStart(t,c),c}var Fp=typeof ShadowRoot<"u",CE=typeof Document<"u";function bE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Pi$1.SignalBased)!==0};return o&&(i.transform=o),i})}function _E(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function ME(e,t,n){let r=t instanceof ue$2?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new mi$1(n,r):n}function SE(e){let t=e.get(Dr$1,null);if(t===null)throw new _$2(407,false);let n=e.get(Np,null),r=e.get(He$2,null),o=e.get(kn$4,null,{optional:true});return {rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:false,tracingService:o}}function NE(e,t){let n=jp(e);return Lf(t,n,n==="svg"?zs$1:n==="math"?Nu$1:null)}function xE(e){if(e?.toLowerCase()==="script")throw new _$2(905,false)}function jp(e){return (e.selectors[0][0]||"div").toLowerCase()}var _n$4=class _n{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=bE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=_E(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=kv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n;}create(t,n,r,o,i,s){P(x$1.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,l=ME(c,o||this.ngModule,t),u=SE(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(xp(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=AE(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?mI(l,o,a.encapsulation,n):NE(a,l);xE(u?.tagName);let d=n.get(Op,null),p=RE(u,()=>n.get(Uo,null)??gc$2());d&&d.addHost(p);let f=s?.some(Ld)||i?.some(T=>typeof T!="function"&&T.bindings.some(Ld)),h=Rc$2(null,c,null,512|cp(a),null,null,t,l,n,null,_f(u,n,true));d&&Fp&&p instanceof ShadowRoot&&Oo$1(h,()=>{d.removeHost(p);}),h[L$3]=u,Vo(h);let m=null;try{let T=Uc$2(L$3,h,2,"#host",()=>c.directiveRegistry,!0,0);Vf(l,u,T),Tn$3(u,h),Li$2(c,h,T),mc$2(c,T,h),qc$2(c,T),r!==void 0&&OE(T,this.ngContentSelectors,r),m=me$3(T.index,h),h[F$2]=m[F$2],jc$2(c,h,null);}catch(T){throw m!==null&&Aa$1(m),Aa$1(h),T}finally{P(x$1.DynamicComponentEnd),Ho();}return new Ei$1(this.componentType,h,!!f)}};function AE(e,t,n,r){let o=e?["ng-version","22.0.8"]:Ov(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[za$1].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[za$1].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=Co$1(d);c.push(p);}return Ac$2(0,null,kE(i,s),1,a,c,null,null,null,[o],null)}function RE(e,t){let n=e.getRootNode?.();return CE&&n instanceof Document?n.head:n&&Fp&&n instanceof ShadowRoot?n:t().head}function kE(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 Ld(e){let t=e[za$1].kind;return t==="input"||t==="twoWay"}var Ei$1=class Ei extends Sp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ao(n[y$4],L$3),this.location=An$2(this._tNode,n),this.instance=me$3(this._tNode.index,n)[F$2],this.hostView=this.changeDetectorRef=new ut$1(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;Fc$2(r,o[y$4],o,t,n);this.previousInputValues.set(t,n);let s=me$3(r.index,o);Vc$2(s,1);}get injector(){return new ct$2(this._tNode,this._rootLView)}destroy(){this.hostView.destroy();}onDestroy(t){this.hostView.onDestroy(t);}};function OE(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 Vi$2=(()=>{class e{static __NG_ELEMENT_ID__=PE}return e})();function PE(){let e=V$1();return Vp(e,g$2())}var Qa$1=class e extends Vi$2{_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$2(this._hostTNode,this._hostLView)}get parentInjector(){let t=pc$2(this._hostTNode,this._hostLView);if(sf(t)){let n=ai$1(t,this._hostLView),r=si$1(t),o=n[y$4].data[r+8];return new ct$2(o,n)}else return new ct$2(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1);}get(t){let n=Fd$1(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=gi$1(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,bn$4(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$4(et$2(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let M=this.parentInjector.get(ue$2,null);M&&(i=M);}let p=et$2(u.componentType??{}),f=gi$1(this._lContainer,p?.id??null),h=null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,c,bn$4(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,true)}insertImpl(t,n,r){let o=t._lView;if(Au$1(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else {let c=o[U$4],l=new e(c,c[Z$1],c[U$4]);l.detach(l.indexOf(t));}}let i=this._adjustIndex(n),s=this._lContainer;return Rr$1(s,o,i,r),t.attachToViewContainerRef(),Fs$1(Ea$1(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Fd$1(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ir$1(this._lContainer,n);r&&(Xn$2(Ea$1(this._lContainer),n),ki$2(r[y$4],r));}detach(t){let n=this._adjustIndex(t,-1),r=Ir$1(this._lContainer,n);return r&&Xn$2(Ea$1(this._lContainer),n)!=null?new ut$1(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Fd$1(e){return e[rr$1]}function Ea$1(e){return e[rr$1]||(e[rr$1]=[])}function Vp(e,t){let n,r=t[e.index];return he$2(r)?n=r:(n=Tp(r,t,null,e),t[e.index]=n,kc$2(t,n)),FE(n,t,e,r),new Qa$1(n,e,t)}function LE(e,t){let n=e[R$2],r=n.createComment(""),o=ee$1(t,e),i=n.parentNode(o);return di$1(n,i,r,n.nextSibling(o),false),r}var FE=HE;function HE(e,t,n,r){if(e[ot$1])return;let o;n.type&8?o=ge$2(r):o=LE(t,n),e[ot$1]=o;}var Za$1=class e{queryList;matches=null;constructor(t){this.queryList=t;}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty();}},Ya$1=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++)Gc$1(t,n).matches!==null&&this.queries[n].setDirty();}},Di=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=WE(t):this.predicate=t;}},Ka$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);}},Ja$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,BE(n,i)),this.matchTNodeWithReadOption(t,n,ti$2(n,t,i,false,false));}else r===Er$1?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ti$2(n,t,r,false,false));}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===_r$1||o===Vi$2||o===Er$1&&n.type&4)this.addMatch(n.index,-2);else {let i=ti$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 BE(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 $E(e,t){return e.type&11?An$2(e,t):e.type&4?Fi$1(e,t):null}function UE(e,t,n,r){return n===-1?$E(t,e):n===-2?qE(e,t,r):gr$1(e,e[y$4],n,t)}function qE(e,t,n){if(n===_r$1)return An$2(t,e);if(n===Er$1)return Fi$1(t,e);if(n===Vi$2)return Vp(t,e)}function Hp(e,t,n,r){let o=t[Re$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(UE(t,u,s[c+1],n.metadata.read));}}o.matches=a;}return o.matches}function Xa$1(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Hp(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[rt$1]===p[U$4]&&Xa$1(p[y$4],p,l,r);}if(u[kt$3]!==null){let d=u[kt$3];for(let p=0;p<d.length;p++){let f=d[p];Xa$1(f[y$4],f,l,r);}}}}}return r}function Wc$2(e,t){return e[Re$2].queries[t].queryList}function Bp(e,t,n){let r=new ui$1((n&4)===4);return Ou$1(e,t,r,r.destroy),(t[Re$2]??=new Ya$1).queries.push(new Za$1(r))-1}function $p(e,t,n){let r=O$2();return r.firstCreatePass&&(qp(r,new Di(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=true)),Bp(r,g$2(),t)}function Up(e,t,n,r){let o=O$2();if(o.firstCreatePass){let i=V$1();qp(o,new Di(t,n,r),i.index),GE(o,e),(n&2)===2&&(o.staticContentQueries=true);}return Bp(o,g$2(),n)}function WE(e){return e.split(",").map(t=>t.trim())}function qp(e,t,n){e.queries===null&&(e.queries=new Ka$1),e.queries.track(new Ja$1(t,n));}function GE(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 Gc$1(e,t){return e.queries.getByIndex(t)}function Wp(e,t){let n=e[y$4],r=Gc$1(n,t);return r.crossesNgTemplate?Xa$1(n,e,t,[]):Hp(n,e,r,t)}function Gp(e,t,n){let r,o=qn$2(()=>{r._dirtyCounter();let i=zE(r,e);if(t&&i===void 0)throw new _$2(-951,false);return i});return r=o[B$2],r._dirtyCounter=qo(0),r._flatValue=void 0,o}function zc$2(e){return Gp(true,false)}function Qc$2(e){return Gp(true,true)}function zp(e,t){let n=e[B$2];n._lView=g$2(),n._queryIndex=t,n._queryList=Wc$2(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1));}function zE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w$1]&4)return t?void 0:Q;let o=Wc$2(n,r),i=Wp(n,r);return o.reset(i,mf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Zc$2(e){return !!e&&typeof e.then=="function"}function Qp(e){return !!e&&typeof e.subscribe=="function"}var Mn$4=class Mn{},Zp=class{};var wi$1=class wi extends Mn$4{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=true){super(),this.ngModuleType=t,this._parent=n;let i=pu$1(t);this._bootstrapComponents=wv(i.bootstrap),this._r3Injector=da(t,n,[{provide:Mn$4,useValue:this},...r],Kn$2(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);}},Ti$1=class Ti extends Zp{moduleType;constructor(t){super(),this.moduleType=t;}create(t){return new wi$1(this.moduleType,t,[])}};var wr$1=class wr extends Mn$4{injector;instance=null;constructor(t){super();let n=new Mt$2([...t.providers,{provide:Mn$4,useValue:this}],t.parent||hn$4(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers();}destroy(){this.injector.destroy();}onDestroy(t){this.injector.onDestroy(t);}};function Yp(e,t,n=null){return new wr$1({providers:e,parent:t,debugName:n,runEnvironmentInitializers:true}).injector}var QE=(()=>{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=Vs$1(false,n.type),o=r.length>0?Yp([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$1({token:e,providedIn:"environment",factory:()=>new e(Ae$3(ue$2))})}return e})();function ZE(e){return Cr$1(()=>{let t=Kp(e),n=s(r$1({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==hc$2.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(QE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??false,data:e.data||{},encapsulation:e.encapsulation||qt$3.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&le$1("NgStandalone"),Jp(n);let r=e.dependencies;return n.directiveDefs=jd$1(r,YE),n.pipeDefs=jd$1(r,hu$1),n.id=nD(n),n})}function YE(e){return et$2(e)||Co$1(e)}function KE(e){return Cr$1(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function JE(e,t){if(e==null)return tt$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=Pi$1.None,c=null),n[i]=[r,a,c],t[i]=s;}return n}function XE(e){if(e==null)return tt$1;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function eD(e){return Cr$1(()=>{let t=Kp(e);return Jp(t),t})}function tD(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 Kp(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||tt$1,exportAs:e.exportAs||null,standalone:e.standalone??true,signals:e.signals===true,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:JE(e.inputs,t),outputs:XE(e.outputs),debugInfo:null}}function Jp(e){e.features?.forEach(t=>t(e));}function jd$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 nD(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 Xp=new A$4("");var Yc$2=(()=>{class e{resolve;reject;initialized=false;done=false;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r;});appInits=C$1(Xp,{optional:true})??[];injector=C$1(Ee$3);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=No(this.injector,o);if(Zc$2(i))n.push(i);else if(Qp(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=br$1({token:e,factory:e.\u0275fac})}return e})();function rD(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r);},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r);},passThroughInput:e};}}function oD(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=iD,n.hostDirectives=r?e.map(ec$2):[e]):r?n.hostDirectives.unshift(...e.map(ec$2)):n.hostDirectives.unshift(e);};return t.ngInherit=true,t}function iD(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,eh$2(s,t,r,e),o.set(s,[a,t.length-1]);}i===0&&Te$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)=>{sD(s.declaredInputs,i.inputs);}),[t,r,o]}function eh$2(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)Vd(ec$2(s),t,n,r);}else Vd(o,t,n,r);}function Vd(e,t,n,r){let o=Co$1(e.directive);if(eh$2(o,t,n,r),n.has(o)){let i=n.get(o);Hd(i,e.inputs,"input"),Hd(i,e.outputs,"output");}else r.includes(o)||(n.set(o,e),t.push(o));}function Hd(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 ec$2(e){return typeof e=="function"?{directive:$$1(e),inputs:{},outputs:{}}:{directive:$$1(e.directive),inputs:Bd(e.inputs),outputs:Bd(e.outputs)}}function Bd(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 sD(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o;}}function aD(e){return Object.getPrototypeOf(e.prototype).constructor}function th$2(e){let t=aD(e.type),n=true,r=[e];for(;t;){let o;if(Te$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=Da(e.inputs),s.declaredInputs=Da(e.declaredInputs),s.outputs=Da(e.outputs);let a=o.hostBindings;a&&fD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&uD(e,c),l&&dD(e,l),cD(e,o),du$1(e.outputs,o.outputs),Te$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===th$2&&(n=false);}}t=Object.getPrototypeOf(t);}lD(r);}function cD(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 lD(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$4(o.hostAttrs,n=wn$4(n,o.hostAttrs));}}function Da(e){return e===tt$1?{}:e===Q?[]:e}function uD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o);}:e.viewQuery=t;}function dD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i);}:e.contentQueries=t;}function fD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o);}:e.hostBindings=t;}function nh$2(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=wn$4(e.mergedAttrs,e.attrs);let u=e.tView=Ac$2(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$3(e,false);let c=hD(n,t);Bo()&&Nc$2(n,t,c,e),Tn$3(c,t);let l=Tp(c,t,c,e);t[r+L$3]=l,kc$2(t,l);}function pD(e,t,n,r,o,i,s,a,c,l,u){let d=n+L$3,p;return t.firstCreatePass?(p=Zt$3(t,d,4,s||null,a||null),Pp(t,e,p,ae$2(t.consts,l),Oc$2),nf(t,p)):p=t.data[d],nh$2(p,e,t,n,r,o,i,c),yn$4(p)&&Li$2(t,e,p),l!=null&&xr$2(e,p,u),p}function Sn$4(e,t,n,r,o,i,s,a,c,l,u){let d=n+L$3,p;if(t.firstCreatePass){if(p=Zt$3(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 nh$2(p,e,t,n,r,o,i,c),l!=null&&xr$2(e,p,u),p}function rh$2(e,t,n,r,o,i,s,a){let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return pD(c,l,e,t,n,r,o,u,void 0,s,a),rh$2}function oh$2(e,t,n,r,o,i,s,a){let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return Sn$4(c,l,e,t,n,r,o,u,void 0,s,a),oh$2}var hD=gD$1;function gD$1(e,t,n,r){return cr$1(true),t[R$2].createComment("")}var mD=(()=>{class e{log(n){console.log(n);}warn(n){console.warn(n);}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ie$1({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var ih$2=new A$4("");var sh$2=new A$4("");function ah$2(){ds$1(()=>{let e="";throw new _$2(600,e)});}var yD=10;var Hi$2=(()=>{class e{_runningTick=false;_destroyed=false;_destroyListeners=[];_views=[];internalErrorHandler=C$1(Vt$2);afterRenderManager=C$1(_c$2);zonelessEnabled=C$1(dr$1);rootEffectScheduler=C$1(Wo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=false;afterTick=new re$2;get allViews(){return [...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C$1(jt$3);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Se$3(n=>!n))}constructor(){C$1(kn$4,{optional:true});}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r();}});}).finally(()=>{n.unsubscribe();})}_injector=C$1(ue$2);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ee$3.NULL){return this._injector.get(oe$1).run(()=>{if(P(x$1.BootstrapComponentStart),!this._injector.get(Yc$2).done){let M="";throw new _$2(405,M)}let a=et$2(n),c=this._injector.get(Mn$4),l=new _n$4(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=vD(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),m=h.location.nativeElement,T=h.injector.get(ih$2,null);return T?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),hr$1(this.components,h),T?.unregisterApplication(m);}),this._loadComponent(h),P(x$1.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick();}_tick(){P(x$1.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ai$2.CHANGE_DETECTION,this.tickImpl):this.tickImpl();}tickImpl=()=>{if(this._runningTick)throw P(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(x$1.ChangeDetectionEnd);}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Dr$1,null,{optional:true}));let n=0;for(;this.dirtyFlags!==0&&n++<yD;){P(x$1.ChangeDetectionSyncStart);try{this.synchronizeOnce();}finally{P(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$1(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ip(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$1(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;hr$1(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(sh$2,[]).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),()=>hr$1(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=br$1({token:e,factory:e.\u0275fac})}return e})();function vD(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function hr$1(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1);}function ch$2(e,t,n,r){let o=g$2(),i=it$1();if(ce$1(o,i,t)){O$2();let a=In$2();CI(a,o,e,t,n,r);}return ch$2}function ri$1(e){if(le$1("NgAnimateEnter"),!Rn$2)return ri$1;let t=g$2();if(Dc$2(t))return ri$1;let n=V$1(),r=t[q$1].get(oe$1);return bc$2(Cd$1(t),n,()=>ID(t,n,e,r)),Mc$2(t[q$1]),np$1(t[q$1],Cd$1(t)),ri$1}function ID(e,t,n,r){let o=ee$1(t,e),i=e[R$2],s=zf(n),a=[],c=false,l=d=>{if(yr$1(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,u);});},u=d=>{yr$1(d)===o&&(Cc$2(d,o)&&(c=true),ED(d,o,i));};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l));}),jv(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Yf(o,Bt$3,Rn$2),!Bt$3.has(o))){for(let d of s)i.removeClass(o,d);wc$2(o);}});});}}function ED(e,t,n){let r=Cn$3.get(t);if(!(yr$1(e)!==t||!r)&&Cc$2(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);wc$2(t);}}function oi$1(e){if(le$1("NgAnimateLeave"),!Rn$2)return oi$1;let t=g$2();if(Dc$2(t))return oi$1;let r=V$1(),o=t[q$1].get(oe$1);return bc$2(Wt$2(t),r,()=>DD(t,r,e,o)),Mc$2(t[q$1]),oi$1}function DD(e,t,n,r){let{promise:o,resolve:i}=$o(),s=ee$1(t,e),a=e[R$2];lt$2.add(e[fe$2]),(Wt$2(e).get(t.index).resolvers??=[]).push(i);let c=zf(n);return c&&c.length>0?wD(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function wD(e,t,n,r,o,i){Hv(e,o);let s=[],a=Wt$2(n).get(t.index)?.resolvers,c,l=false,u=d=>{if(!(yr$1(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Cc$2(d,e))){if(l=true,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Bt$3.delete(e),$a$1(t,e),Array.isArray(t.projection))for(let f of r)o.removeClass(e,f);Ua$1(a,s),qa$1(n,t);}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u));}),Tc$2(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;Yf(e,Bt$3,Rn$2);let d=Bt$3.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"));},d.duration+50),s.push(()=>clearTimeout(c))):($a$1(t,e),Ua$1(a,s),qa$1(n,t));});});}function tc$2(e){if(le$1("NgAnimateLeave"),!Rn$2)return tc$2;let t=g$2(),n=V$1();lt$2.add(t[fe$2]);let r=t[q$1].get(oe$1),o=t[q$1].get(Wf);return bc$2(Wt$2(t),n,()=>TD(t,n,e,r,o)),Mc$2(t[q$1]),tc$2}function TD(e,t,n,r,o){let{promise:i,resolve:s}=$o(),a=ee$1(t,e),c=[],l=e[R$2],u=Dc$2(e);(Wt$2(e).get(t.index).resolvers??=[]).push(s);let d=Wt$2(e).get(t.index)?.resolvers;if(u)Ko(e,t,a,d,c);else {let p=setTimeout(()=>Ko(e,t,a,d,c),o),f={target:a,animationComplete:()=>{Ko(e,t,a,d,c),clearTimeout(p);}};Tc$2(t,a),r.runOutsideAngular(()=>{c.push(l.listen(a,"animationend",()=>{Ko(e,t,a,d,c),clearTimeout(p);},{once:true}));}),n.call(e[F$2],f);}return {promise:i,resolve:s}}function CD(){return g$2()[Y$1][F$2]}var nc$2=class nc{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 wa$1(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function bD(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=wa$1(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=wa$1(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),ye=n(s,d);if(Object.is(ye,M)){let qi=n(l,h);Object.is(qi,T)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Ci$1,i??=Ud(e,s,a,n),rc$2(e,o,s,ye))e.updateValue(s,d),s++,a++;else if(i.has(ye))o.set(T,e.detach(s)),a--;else {let qi=e.create(s,t[s]);e.attach(s,qi),s++,a++;}}for(;s<=l;)$d$1(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=wa$1(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else {o??=new Ci$1,i??=Ud(e,s,a,n);let h=n(s,p);if(rc$2(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;)$d$1(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 rc$2(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),true):false}function $d$1(e,t,n,r,o){if(rc$2(e,t,r,n(r,o)))e.updateValue(r,o);else {let i=e.create(r,o);e.attach(r,i);}}function Ud(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 Ci$1=class Ci{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 _D(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$4(c,l,e,t,n,r,o,u,256,s,a),Kc$2}function Kc$2(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$4(c,l,e,t,n,r,o,u,512,s,a),Kc$2}function MD(e,t){le$1("NgControlFlow");let n=g$2(),r=it$1(),o=n[r]!==te$1?n[r]:-1,i=o!==-1?bi$2(n,L$3+o):void 0,s=0;if(ce$1(n,r,e)){let a=v(null);try{if(i!==void 0&&bp(i,s),e!==-1){let c=L$3+e,l=bi$2(n,c),u=ac$2(n[y$4],c),d=Mp(l,u,n),p=Ar$1(n,u,t,{dehydratedView:d});Rr$1(l,p,s,bn$4(u,d));}}finally{v(a);}}else if(i!==void 0){let a=Cp(i,s);a!==void 0&&(a[F$2]=t);}}var oc$2=class oc{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 SD(e){return e}function ND(e,t){return t}var ic$2=class ic{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r;}};function xD(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[Y$1][F$2]):s,ye=new ic$2(m,M);T[L$3+e]=ye,Sn$4(f,h,e+1,t,n,r,o,ae$2(h.consts,i),256),m&&Sn$4(f,h,e+2,c,l,u,d,ae$2(h.consts,p),512);}var sc$2=class sc extends nc$2{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$2].$implicit}attach(t,n){let r=n[xt$3];this.needsIndexUpdate||=t!==this.length,Rr$1(this.lContainer,n,t,bn$4(this.templateTNode,r)),RD(this.lContainer,t);}detach(t){return this.needsIndexUpdate||=t!==this.length-1,kD(this.lContainer,t),OD(this.lContainer,t)}create(t,n){let r=gi$1(this.lContainer,this.templateTNode.tView.ssrId);return Ar$1(this.hostLView,this.templateTNode,new oc$2(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ki$2(t[y$4],t);}updateValue(t,n){this.getLView(t)[F$2].$implicit=n;}reset(){this.needsIndexUpdate=false;}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[F$2].$index=t;}getLView(t){return PD(this.lContainer,t)}};function AD(e){let t=v(null),n=Ce$3();try{let r=g$2(),o=r[y$4],i=r[n],s=n+1,a=bi$2(r,s);if(i.liveCollection===void 0){let l=ac$2(o,s);i.liveCollection=new sc$2(a,r,l);}else i.liveCollection.reset();let c=i.liveCollection;if(bD(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=it$1(),u=c.length===0;if(ce$1(r,l,u)){let d=n+2,p=bi$2(r,d);if(u){let f=ac$2(o,d),h=Mp(p,f,r),m=Ar$1(r,f,void 0,{dehydratedView:h});Rr$1(p,m,0,bn$4(f,h));}else o.firstUpdatePass&&ZI(p),bp(p,0);}}}finally{v(t);}}function bi$2(e,t){return e[t]}function RD(e,t){if(e.length<=j$1)return;let n=j$1+t,r=e[n],o=r?r[pe$2]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[q$1];Zv(i,o),lt$2.delete(r[fe$2]),o.detachedLeaveAnimationFns=void 0;}}function kD(e,t){if(e.length<=j$1)return;let n=j$1+t,r=e[n],o=r?r[pe$2]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[]);}function OD(e,t){return Ir$1(e,t)}function PD(e,t){return Cp(e,t)}function ac$2(e,t){return Ao(e,t)}function lh$2(e,t,n){let r=g$2(),o=it$1();if(ce$1(r,o,t)){O$2();let s=In$2();fp$1(s,r,e,t,r[R$2],n);}return lh$2}function cc$2(e,t,n,r,o){Fc$2(t,e,n,o?"class":"style",r);}function _i$1(e,t,n,r){let o=g$2(),i=o[y$4],s=e+L$3,a=i.firstCreatePass?Uc$2(s,o,2,t,Oc$2,Po$1(),n,r):i.data[s];if($e$2(a)){let c=o[we$3].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(xp(l),()=>(qd$1(e,t,o,a,r),_i$1))}}return qd$1(e,t,o,a,r),_i$1}function qd$1(e,t,n,r,o){if(Pc$2(r,n,e,t,fh$2),yn$4(r)){let i=n[y$4];Li$2(i,n,r),mc$2(i,r,n);}o!=null&&xr$2(n,r);}function Jc$2(){let e=O$2(),t=V$1(),n=Lc$2(t);return e.firstCreatePass&&qc$2(e,n),ta(n)&&na(),Xs$1(),n.classesWithoutHost!=null&&my(n)&&cc$2(e,n,g$2(),n.classesWithoutHost,true),n.stylesWithoutHost!=null&&yy(n)&&cc$2(e,n,g$2(),n.stylesWithoutHost,false),Jc$2}function uh$2(e,t,n,r){return _i$1(e,t,n,r),Jc$2(),uh$2}function Xc$2(e,t,n,r){let o=g$2(),i=o[y$4],s=e+L$3,a=i.firstCreatePass?TE(s,i,2,t,n,r):i.data[s];return Pc$2(a,o,e,t,fh$2),r!=null&&xr$2(o,a),Xc$2}function el$2(){let e=V$1(),t=Lc$2(e);return ta(t)&&na(),Xs$1(),el$2}function dh$2(e,t,n,r){return Xc$2(e,t,n,r),el$2(),dh$2}var fh$2=(e,t,n,r,o)=>(cr$1(true),Lf(t[R$2],r,ua()));function tl$2(e,t,n){let r=g$2(),o=r[y$4],i=e+L$3,s=o.firstCreatePass?Uc$2(i,r,8,"ng-container",Oc$2,Po$1(),t,n):o.data[i];if(Pc$2(s,r,e,"ng-container",LD),yn$4(s)){let a=r[y$4];Li$2(a,r,s),mc$2(a,s,r);}return n!=null&&xr$2(r,s),tl$2}function nl$2(){let e=O$2(),t=V$1(),n=Lc$2(t);return e.firstCreatePass&&qc$2(e,n),nl$2}function ph$1(e,t,n){return tl$2(e,t,n),nl$2(),ph$1}var LD=(e,t,n,r,o)=>(cr$1(true),gv(t[R$2],""));function FD(){return g$2()}function hh$2(e,t,n){let r=g$2(),o=it$1();if(ce$1(r,o,t)){O$2();let s=In$2();pp(s,r,e,t,r[R$2],n);}return hh$2}var Wd=Object.create(null);function jD(e,t,n){typeof t!="string"&&(n=t,t=e[lc$2.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Wd[t]=e,n&&(Wd[t][lc$2.ExtraData]=n);}var lc$2={LocaleId:0,ExtraData:21};var Or$1="en-US";function gh$2(e){typeof e=="string"&&(e.toLowerCase().replace(/_/g,"-"));}function mh$2(e,t,n){let r=g$2(),o=O$2(),i=V$1();return vh$1(o,r,r[R$2],i,e,t,n),mh$2}function yh$1(e,t,n){let r=g$2(),o=O$2(),i=V$1();return (i.type&3||n)&&$c$2(i,o,r,n,r[R$2],e,t,$t$2(i,r,t)),yh$1}function vh$1(e,t,n,r,o,i,s){let a=true,c=null;if((r.type&3||s)&&(c??=$t$2(r,t,i),$c$2(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??=$t$2(r,t,i),yi$1(r,t,p,f,o,c);}if(l&&l.length)for(let d of l)c??=$t$2(r,t,i),yi$1(r,t,d,o,o,c);}}function HD(e=1){return Zu$1(e)}function BD(e,t){let n=null,r=Sv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Uf(e,i,true):Av(r,i))return o}return n}function $D(e){let t=g$2()[Y$1][Z$1];if(!t.projection){let n=e?e.length:1,r=t.projection=Eu$1(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?BD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i);}i=i.next;}}}function UD(e,t=0,n,r,o,i){let s=g$2(),a=O$2(),c=r?e+1:null;c!==null&&Sn$4(s,a,c,r,o,i,null,n);let l=Zt$3(a,L$3+e,16,null,n||null);l.projection===null&&(l.projection=t),ia();let d=!s[xt$3]||ea();s[Y$1][Z$1].projection[l.projection]===null&&c!==null?qD(s,a,c):d&&!Si$1(l)&&lI(a,s,l);}function qD(e,t,n){let r=L$3+n,o=t.data[r],i=e[r],s=gi$1(i,o.tView.ssrId),a=Ar$1(e,o,void 0,{dehydratedView:s});Rr$1(i,a,0,bn$4(o,s));}function Ih$1(e,t,n,r){return Up(e,t,n,r),Ih$1}function Eh$1(e,t,n){return $p(e,t,n),Eh$1}function WD(e){let t=g$2(),n=O$2(),r=jo();ar$1(r+1);let o=Gc$1(n,r);if(e.dirty&&xu$1(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else {let i=Wp(t,r);e.reset(i,mf),e.notifyOnChanges();}return true}return false}function GD(){return Wc$2(g$2(),jo())}function Dh$1(e,t,n,r,o){return zp(t,Up(e,n,r,o)),Dh$1}function wh$1(e,t,n,r){return zp(e,$p(t,n,r)),wh$1}function zD(e=1){ar$1(jo()+e);}function QD(e){let t=sa();return or$1(t,L$3+e)}function Jo(e,t){return e<<17|t<<2}function zt$2(e){return e>>17&32767}function ZD(e){return (e&2)==2}function YD(e,t){return e&131071|t<<17}function uc$2(e){return e|2}function Nn$2(e){return (e&131068)>>2}function Ta$1(e,t){return e&-131069|t<<2}function KD(e){return (e&1)===1}function dc$2(e){return e|1}function JD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=zt$2(s),c=Nn$2(s);e[r]=n;let l=false,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||pn$3(d,u)>0)&&(l=true);}else u=n;if(o)if(c!==0){let p=zt$2(e[a+1]);e[r+1]=Jo(p,a),p!==0&&(e[p+1]=Ta$1(e[p+1],r)),e[a+1]=YD(e[a+1],r);}else e[r+1]=Jo(a,0),a!==0&&(e[a+1]=Ta$1(e[a+1],r)),a=r;else e[r+1]=Jo(c,0),a===0?a=r:e[c+1]=Ta$1(e[c+1],r),c=r;l&&(e[r+1]=uc$2(e[r+1])),Gd$1(e,u,r,true),Gd$1(e,u,r,false),XD(t,u,e,r,i),s=Jo(a,c),i?t.classBindings=s:t.styleBindings=s;}function XD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&pn$3(i,t)>=0&&(n[r+1]=dc$2(n[r+1]));}function Gd$1(e,t,n,r){let o=e[n+1],i=t===null,s=r?zt$2(o):Nn$2(o),a=false;for(;s!==0&&(a===false||i);){let c=e[s],l=e[s+1];ew(c,t)&&(a=true,e[s+1]=r?dc$2(l):uc$2(l)),s=r?zt$2(l):Nn$2(l);}a&&(e[n+1]=r?uc$2(o):dc$2(o));}function ew(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?true:Array.isArray(e)&&typeof t=="string"?pn$3(e,t)>=0:false}var W$2={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Th$2(e){return e.substring(W$2.key,W$2.keyEnd)}function tw(e){return e.substring(W$2.value,W$2.valueEnd)}function nw(e){return _h$1(e),Ch$1(e,xn$3(e,0,W$2.textEnd))}function Ch$1(e,t){let n=W$2.textEnd;return n===t?-1:(t=W$2.keyEnd=ow(e,W$2.key=t,n),xn$3(e,t,n))}function rw(e){return _h$1(e),bh$1(e,xn$3(e,0,W$2.textEnd))}function bh$1(e,t){let n=W$2.textEnd,r=W$2.key=xn$3(e,t,n);return n===r?-1:(r=W$2.keyEnd=iw(e,r,n),r=zd$1(e,r,n),r=W$2.value=xn$3(e,r,n),r=W$2.valueEnd=sw(e,r,n),zd$1(e,r,n))}function _h$1(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 ow(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function iw(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 zd$1(e,t,n,r){return t=xn$3(e,t,n),t<n&&t++,t}function sw(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=Qd$1(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Qd$1(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33;}return a}function Qd$1(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 Mh$1(e,t,n){return Nh$1(e,t,n,false),Mh$1}function Sh$1(e,t){return Nh$1(e,t,null,true),Sh$1}function aw(e){xh$1(kh$1,cw,e,false);}function cw(e,t){for(let n=rw(t);n>=0;n=bh$1(t,n))kh$1(e,Th$2(t),tw(t));}function lw(e){xh$1(mw,uw,e,true);}function uw(e,t){for(let n=nw(t);n>=0;n=Ch$1(t,n))er$1(e,Th$2(t),true);}function Nh$1(e,t,n,r){let o=g$2(),i=O$2(),s=Lo(2);if(i.firstUpdatePass&&Rh$1(i,e,s,r),t!==te$1&&ce$1(o,s,t)){let a=i.data[Ce$3()];Oh$1(i,a,o,o[R$2],e,o[s+1]=vw(t,n),r,s);}}function xh$1(e,t,n,r){let o=O$2(),i=Lo(2);o.firstUpdatePass&&Rh$1(o,null,i,r);let s=g$2();if(n!==te$1&&ce$1(s,i,n)){let a=o.data[Ce$3()];if(Ph$1(a,r)&&!Ah$2(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Do$1(c,n||"")),cc$2(o,a,s,n,r);}else yw(o,a,s,s[R$2],s[i+1],s[i+1]=gw(e,t,n),r,i);}}function Ah$2(e,t){return t>=e.expandoStartIndex}function Rh$1(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ce$3()],s=Ah$2(e,n);Ph$1(i,r)&&t===null&&!s&&(t=false),t=dw(o,i,t,r),JD(o,i,t,n,s,r);}}function dw(e,t,n,r){let o=Wu$1(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ca(null,e,t,n,r),n=Tr$1(n,t.attrs,r),i=null);else {let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ca(o,e,t,n,r),i===null){let c=fw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ca(null,e,t,c[1],r),c=Tr$1(c,t.attrs,r),pw(e,t,r,c));}else i=hw(e,t,r);}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function fw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Nn$2(r)!==0)return e[zt$2(r)]}function pw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[zt$2(o)]=r;}function hw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Tr$1(r,s,n);}return Tr$1(r,t.attrs,n)}function Ca(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=Tr$1(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Tr$1(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$1(e,s,n?true:t[++i]));}return e===void 0?null:e}function gw(e,t,n){if(n==null||n==="")return Q;let r=[],o=Qt$3(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 kh$1(e,t,n){er$1(e,t,Qt$3(n));}function mw(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&er$1(e,r,n);}function yw(e,t,n,r,o,i,s,a){o===te$1&&(o=Q);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&&Oh$1(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null;}}function Oh$1(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=KD(l)?Zd$1(c,t,n,o,Nn$2(l),s):void 0;if(!Mi$1(u)){Mi$1(i)||ZD(l)&&(i=Zd$1(c,null,n,o,a,s));let d=Qs$1(Ce$3(),n);dI(r,s,d,o,i);}}function Zd$1(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===te$1&&(p=d?Q:void 0);let f=d?So$1(p,r):u===r?p:void 0;if(l&&!Mi$1(f)&&(f=So$1(c,r)),Mi$1(f)&&(a=f,s))return a;let h=e[o+1];o=s?zt$2(h):Nn$2(h);}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=So$1(c,r));}return a}function Mi$1(e){return e!==void 0}function vw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Kn$2(Qt$3(e)))),e}function Ph$1(e,t){return (e.flags&(t?8:16))!==0}function Iw(e,t=""){let n=g$2(),r=O$2(),o=e+L$3,i=r.firstCreatePass?Zt$3(r,o,1,t,null):r.data[o],s=Ew(r,n,i,t);n[o]=s,Bo()&&Nc$2(r,n,s,i),Lt$3(i,false);}var Ew=(e,t,n,r)=>(cr$1(true),pv(t[R$2],r));function Dw(e,t,n,r=""){return ce$1(e,it$1(),n)?t+Nt$2(n)+r:te$1}function ww(e,t,n,r,o,i=""){let s=Hu$1(),a=Bc$2(e,s,n,o);return Lo(2),a?t+Nt$2(n)+r+Nt$2(o)+i:te$1}function Lh$1(e){return rl$1("",e),Lh$1}function rl$1(e,t,n){let r=g$2(),o=Dw(r,e,t,n);return o!==te$1&&jh$1(r,Ce$3(),o),rl$1}function Fh$1(e,t,n,r,o){let i=g$2(),s=ww(i,e,t,n,r,o);return s!==te$1&&jh$1(i,Ce$3(),s),Fh$1}function jh$1(e,t,n){let r=Qs$1(t,e);hv(e[R$2],r,n);}function Vh$1(e,t,n){zo(t)&&(t=t());let r=g$2(),o=it$1();if(ce$1(r,o,t)){O$2();let s=In$2();fp$1(s,r,e,t,r[R$2],n);}return Vh$1}function Tw(e,t){let n=zo(e);return n&&e.set(t),n}function Hh$1(e,t){let n=g$2(),r=O$2(),o=V$1();return vh$1(r,n,n[R$2],o,e,t),Hh$1}var Bh$1={};function $h$1(e){le$1("NgLet");let t=O$2(),n=g$2(),r=e+L$3,o=Zt$3(t,r,128,null,null);return Lt$3(o,false),ir$1(t,n,r,Bh$1),$h$1}function Cw(e){let t=O$2(),n=g$2(),r=Ce$3();return ir$1(t,n,r,e),e}function bw(e){let t=sa(),n=or$1(t,L$3+e);if(n===Bh$1)throw new _$2(314,false);return n}function Yd$1(e,t,n){let r=O$2();r.firstCreatePass&&Uh$1(t,r.data,r.blueprint,Te$2(e),n);}function Uh$1(e,t,n,r,o){if(e=$$1(e),Array.isArray(e))for(let i=0;i<e.length;i++)Uh$1(e[i],t,n,r,o);else {let i=O$2(),s=g$2(),a=V$1(),c=_t$1(e)?e:$$1(e.provide),l=$s$1(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(_t$1(e)||!e.multi){let f=new Ut$3(l,o,kr$1,null),h=_a(c,t,u+p,d);h===-1?(Na$1(li$1(a,s),i,c),ba(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=_a(c,t,u+p,d),h=_a(c,t,u,u+p),m=f>=0&&n[f],T=h>=0&&n[h];if(!m){Na$1(li$1(a,s),i,c);let M=Sw(_w,n.length,o,r,l);T&&(n[h].providerFactory=M),ba(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(M),s.push(M);}else {let M=qh$1(n[f],l,r);ba(i,e,f>-1?f:h,M);}r&&T&&n[h].componentProviders++;}}}function ba(e,t,n,r){let o=_t$1(t),i=_u$1(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 qh$1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _a(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return -1}function _w(e,t,n,r,o){return fc$2(this.multi,[])}function fc$2(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r());}return t}function Sw(e,t,n,r,o,i){let s=new Ut$3(e,n,kr$1,null);return s.multi=[],s.index=t,s.componentProviders=0,qh$1(s,o,r&&!n),s}function Nw(e,t){return n=>{n.providersResolver=(r,o)=>Yd$1(r,o?o(e):e,false);}}function xw(e,t){let n=Ft$2()+e,r=g$2();return r[n]===te$1?ji$2(r,n,t()):tE(r,n)}function Aw(e,t,n){return Wh$1(g$2(),Ft$2(),e,t,n)}function Rw(e,t,n,r){return Gh$1(g$2(),Ft$2(),e,t,n,r)}function kw(e,t,n,r,o){return Ow(g$2(),Ft$2(),e,t,n,r,o)}function ol$1(e,t){let n=e[t];return n===te$1?void 0:n}function Wh$1(e,t,n,r,o,i){let s=t+n;return ce$1(e,s,o)?ji$2(e,s+1,i?r.call(i,o):r(o)):ol$1(e,s+1)}function Gh$1(e,t,n,r,o,i,s){let a=t+n;return Bc$2(e,a,o,i)?ji$2(e,a+2,s?r.call(s,o,i):r(o,i)):ol$1(e,a+2)}function Ow(e,t,n,r,o,i,s,a){let c=t+n;return nE(e,c,o,i,s)?ji$2(e,c+3,r(o,i,s)):ol$1(e,c+3)}function Pw(e,t){let n=O$2(),r,o=e+L$3;n.firstCreatePass?(r=Lw(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=Je$2(r.type)),a=X(kr$1);try{let c=ci$2(!1),l=i();return ci$2(c),ir$1(n,g$2(),o,l),l}finally{X(a);}}function Lw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Fw(e,t,n){let r=e+L$3,o=g$2(),i=or$1(o,r);return zh$1(o,r)?Wh$1(o,Ft$2(),t,i.transform,n,i):i.transform(n)}function jw(e,t,n,r){let o=e+L$3,i=g$2(),s=or$1(i,o);return zh$1(i,o)?Gh$1(i,Ft$2(),t,s.transform,n,r,s):s.transform(n,r)}function zh$1(e,t){return e[y$4].data[t].pure}function Vw(e,t){return Fi$1(e,t)}var Qh$1=(()=>{class e{applicationErrorHandler=C$1(Vt$2);appRef=C$1(Hi$2);taskService=C$1(jt$3);ngZone=C$1(oe$1);zonelessEnabled=C$1(dr$1);tracing=C$1(kn$4,{optional:true});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:true}}];subscriptions=new H$2;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qn$2):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C$1(ga,{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?ed$1:fa;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=br$1({token:e,factory:e.\u0275fac})}return e})();function Zh$1(){return [{provide:He$2,useExisting:Qh$1},{provide:oe$1,useClass:Zn$3},{provide:dr$1,useValue:true}]}var Hw=(()=>{class e{compileModuleSync(n){return new Ti$1(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=br$1({token:e,factory:e.\u0275fac})}return e})();function Bw(){return typeof $localize<"u"&&$localize.locale||Or$1}var il$2=new A$4("",{factory:()=>C$1(il$2,{optional:true,skipSelf:true})||Bw()});var Pr$2=class Pr{destroyed=false;listeners=null;errorHandler=C$1(Ve$2,{optional:true});isEmitting=false;hasNullListeners=false;destroyRef=C$1(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$1(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&&$w(this.listeners)),v(n),this.isEmitting=false;}}};function $w(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--;}function Uw(e,t){return qn$2(e,t?.equal)}function qw(e){return su$1(e)}var Ww=e=>e;function Gw(e,t){if(typeof e=="function"){let n=ms$1(e,Ww,t?.equal);return Yh$1(n)}else {let n=ms$1(e.source,e.computation,e.equal);return Yh$1(n,e.debugName)}}function Yh$1(e,t){let n=e[B$2],r=e;return r.set=o=>ou$1(n,o),r.update=o=>iu$1(n,o),r.asReadonly=lr$1.bind(e),r}var Ui$2=Symbol("InputSignalNode#UNSET"),ig=s(r$1({},fo$2),{transformFn:void 0,applyValueToInputSignal(e,t){Ke$3(e,t);}});function sg(e,t){let n=Object.create(ig);n.value=e,n.transformFn=t?.transform;function r(){if(Ze$1(n),n.value===Ui$2){let o=null;throw new _$2(-950,o)}return n.value}return r[B$2]=n,r}var Kh$1=class Kh{attributeName;constructor(t){this.attributeName=t;}__NG_ELEMENT_ID__=()=>gf(this.attributeName);toString(){return `HostAttributeToken ${this.attributeName}`}};function $0$1(e){return zw(e)?e.default:e}function zw(e){return e&&typeof e=="object"&&"default"in e}function U0$1(e){return new Pr$2}function Jh$1(e,t){return sg(e,t)}function Qw(e){return sg(Ui$2,e)}var q0$1=(Jh$1.required=Qw,Jh$1);function ag(e,t){let n=Object.create(ig),r=new Pr$2;n.value=e;function o(){return Ze$1(n),Xh$1(n.value),n.value}return o[B$2]=n,o.asReadonly=lr$1.bind(o),o.set=i=>{n.equal(n.value,i)||(Ke$3(n,i),r.emit(i));},o.update=i=>{Xh$1(n.value),o.set(i(n.value));},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Xh$1(e){if(e===Ui$2)throw new _$2(952,false)}function eg(e,t){return ag(e)}function Zw(e){return ag(Ui$2)}var W0=(eg.required=Zw,eg);function tg(e,t){return zc$2()}function Yw(e,t){return Qc$2()}var G0$1=(tg.required=Yw,tg);function ng(e,t){return zc$2()}function Kw(e,t){return Qc$2()}var z0=(ng.required=Kw,ng);var sl$1=class sl{supports(t){return Hc$2(t)}create(t){return new al$1(t)}},Xw=(e,t)=>t,al$1=class al{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||Xw;}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<rg(r,o,i)?n:r,a=rg(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=[]),!Hc$2(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,Ap(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 cl$2(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 $i$2),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 $i$2),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}},cl$2=class cl{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;}},ll$1=class ll{_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}},$i$2=class $i{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ll$1,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 rg(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 og(){return new eT([new sl$1])}var eT=(()=>{class e{factories;static \u0275prov=ie$1({token:e,providedIn:"root",factory:og});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$1(e,{optional:true,skipSelf:true});return e.create(n,r||og())}}}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__=tT}return e})();function tT(e){return nT(V$1(),g$2(),(e&16)===16)}function nT(e,t,n){if($e$2(e)&&!n){let r=me$3(e.index,t);return new ut$1(r,r)}else if(e.type&175){let r=t[Y$1];return new ut$1(r,t)}return null}var ul$1=new A$4(""),rT=new A$4("");function Lr$1(e){return !e.moduleRef}function oT(e){let t=Lr$1(e)?e.r3Injector:e.moduleRef.injector,n=t.get(oe$1);return n.run(()=>{Lr$1(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Vt$2),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r});}),Lr$1(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ul$1);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i);});}else {let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ul$1);s.add(i),e.moduleRef.onDestroy(()=>{hr$1(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i);});}return sT(r,n,()=>{let i=t.get(jt$3),s=i.add(),a=t.get(Yc$2);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(il$2,Or$1);if(gh$2(c||Or$1),!t.get(rT,!0))return Lr$1(e)?t.get(Hi$2):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Lr$1(e)){let u=t.get(Hi$2);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return iT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s);})})})}var iT;function sT(e,t,n){try{let r=n();return Zc$2(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Bi$2=null;function aT(e=[],t){return Ee$3.create({name:t,providers:[{provide:Bs$1,useValue:"platform"},{provide:ul$1,useValue:new Set([()=>Bi$2=null])},...e]})}function cT(e=[]){if(Bi$2)return Bi$2;let t=aT(e);return Bi$2=t,ah$2(),lT(t),t}function lT(e){let t=e.get(od$1,null);No(e,()=>{t?.forEach(n=>n());});}function Y0(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;P(x$1.BootstrapApplicationStart);try{let i=o?.injector??cT(r),s=[Zh$1(),nd,...n||[]],a=new wr$1({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return oT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{P(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=et$2(e),r=t.elementInjector||hn$4();return new _n$4(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function ue$1(t){t||(t=C$1(at$1));let r=new S$2(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(im$1(r))}function Me$2(t,r){let e=C$1(Ee$3),n=new Ln$2(1),s=id$1(()=>{let i;try{i=t();}catch(o){qw(()=>n.error(o));return}qw(()=>n.next(i));},{injector:e,manualCleanup:true});return e.get(at$1).onDestroy(()=>{s.destroy(),n.complete();}),n.asObservable()}function de$1(t,r){let n=!r?.manualCleanup?r?.injector?.get(at$1)??C$1(at$1):null,s=Ce$2(r?.equal),i;r?.requireSync?i=qo({kind:0},{equal:s}):i=qo({kind:1,value:r?.initialValue},{equal:s});let o,a=t.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),o?.();},complete:()=>{o?.();}});if(r?.requireSync&&i().kind===0)throw new _$2(601,false);return o=n?.onDestroy(a.unsubscribe.bind(a)),Uw(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new _$2(601,false)}},{equal:r?.equal})}function Ce$2(t=Object.is){return (r,e)=>r.kind===1&&e.kind===1&&t(r.value,e.value)}function fe$1(t){return typeof t=="function"}function y$3(t){return typeof t=="string"}function D$1(t){return !!t&&typeof t=="object"&&!Array.isArray(t)}function j(t){return t==null}function V(t){return !j(t)}function K(t){return t?Array.isArray(t)||y$3(t)?t.length:D$1(t)?Object.keys(t).length:0:0}function ge$1(t){return K(t)===0}function H$1(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(r,e)=>e==0?r.toLowerCase():r.toUpperCase()).replace(/\s+|_|-|\//g,"")}var G$1=class G{translations;constructor(r){this.translations=r;}getTranslation(r){return Dg(this.translations.get(r)||{})}},pe$1=new A$4(""),A$3=new A$4("",{factory:()=>O$1}),O$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 De$2(t={}){return s(r$1(r$1({},O$1),t),{missingHandler:r$1(r$1({},O$1.missingHandler),t.missingHandler),flatten:r$1(r$1({},O$1.flatten),t.flatten),scopes:r$1(r$1({},O$1.scopes),t.scopes)})}function q(t,r){return t&&(Object.prototype.hasOwnProperty.call(t,r)?t[r]:r.split(".").reduce((e,n)=>e?.[n],t))}function we$2(t,r,e){t=r$1({},t);let n=r.split("."),s=n.length-1;return n.reduce((i,o,a)=>(a===s?i[o]=e:i[o]=Array.isArray(i[o])?i[o].slice():r$1({},i[o]),i&&i[o]),t),t}function Re$1(t){return `[transloco]:${t}`}var ve$2=new A$4(""),je$1=(()=>{class t{config=C$1(A$3,{optional:true})??O$1;get interpolationMatcher(){return Ne$2(this.config)}transpile({value:e,params:n={},translation:s,key:i}){if(y$3(e)){let o,a=e;for(;(o=this.interpolationMatcher.exec(a))!==null;){let[c,l]=o;a=a.replace(c,()=>{let u=l.trim(),f=q(n,u);return V(f)?f:V(s[u])?this.transpile({params:n,translation:s,key:i,value:s[u]}):""});}return a}else n&&(D$1(e)?e=this.handleObject({value:e,params:n,translation:s,key:i}):Array.isArray(e)&&(e=this.handleArray({value:e,params:n,translation:s,key:i})));return e}handleObject({value:e,params:n={},translation:s,key:i}){let o=e;return Object.keys(n).forEach(a=>{let c=this.transpile({value:q(o,a),params:q(n,a),translation:s,key:i});o=we$2(o,a,c);}),o}handleArray(s){var i=s,{value:e}=i,n=t$1(i,["value"]);return e.map(o=>this.transpile(r$1({value:o},n)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})();function Ne$2(t){let[r,e]=t.interpolation;return new RegExp(`${r}([^${r}${e}]*?)${e}`,"g")}var Le$3=new A$4(""),Ie$2=(()=>{class t{handle(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),me$2=new A$4(""),xe$1=(()=>{class t{preSaveTranslation(e){return e}preSaveTranslationKey(e,n){return n}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),ye$2=new A$4(""),Fe$2=(()=>{class t{userConfig;constructor(e){this.userConfig=e;}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e){let n;throw n=Re$1(4),new Error(n)}return Array.isArray(e)?e:[e]}static \u0275fac=function(n){return new(n||t)(Ae$3(A$3))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})();function be$3(t){let{path:r,inlineLoader:e,mainLoader:n,data:s}=t;if(e){let i=e[r];if(fe$1(i)===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 n.getTranslation(r,s)}function Ee$2({mainLoader:t,path:r,data:e,fallbackPath:n,inlineLoader:s}){return (n?[r,n]:[r]).map(o=>{let a=be$3({path:o,mainLoader:t,inlineLoader:s,data:e});return Me$3(a).pipe(Se$3(c=>({translation:c,lang:o})))})}function he$1(t){let r={};function e(n,s){if(n===null)r[s]=null;else if(D$1(n))for(let[i,o]of Object.entries(n))e(o,s?`${s}.${i}`:i);else r[s]=n;}return e(t,""),r}function $e$1(t){let r={};for(let[e,n]of Object.entries(t)){let s=e.split("."),i=r;s.forEach((o,a)=>{a===s.length-1?i[o]=n:(i[o]??={},i=i[o]);});}return r}function w(t){if(!t)return "";let r=t.split("/");return r.pop(),r.join("/")}function p$1(t){return t?t.split("/").pop():""}function Pe$1(t,r){return Object.keys(t).reduce((e,n)=>(e[`${r}/${n}`]=t[n],e),{})}function Se$2(t){return typeof t?.scope=="string"}function ke$2(t){return t?.loader&&D$1(t.loader)}function Te$1(t,r){return ke$2(t)?Pe$1(t.loader,r):void 0}function B$1(t){return {scope:w(t)||null,langName:p$1(t)}}var z=class t extends Error{lang;fallbackLangs;isScope;name="TranslationLoadError";constructor(r,e,n){super(""),this.lang=r,this.fallbackLangs=e,this.isScope=n,Object.setPrototypeOf(this,t.prototype);}},Ve$1=(()=>{class t{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=false;lang;failedLangs=new Set;events=new re$2;events$=this.events.asObservable();config;activeLang;destroyRef=C$1(at$1);destroyed=false;constructor(e,n,s,i,o,a){this.loader=e,this.parser=n,this.missingHandler=s,this.interceptor=i,this.fallbackStrategy=a,this.loader||(this.loader=new G$1(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=de$1(this.lang,{requireSync:true}),this.events$.subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.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:B$1(e)}),this}setAvailableLangs(e){this.availableLangs=e;}getAvailableLangs(){return this.availableLangs}load(e,n={}){if(this.destroyed)return mt$1;let s$1=this.cache.get(e);if(s$1)return s$1;let i,o=this._isLangScoped(e),a;o&&(a=w(e));let c={path:e,mainLoader:this.loader,inlineLoader:n.inlineLoader,data:o?{scope:a}:void 0};if(this.useFallbackTranslation(e)){let u=o?`${a}/${this.firstFallbackLang}`:this.firstFallbackLang,f=Ee$2(s(r$1({},c),{fallbackPath:u}));i=Ng(f);}else {let u=be$3(c);i=Me$3(u);}let l=i.pipe(rm$1(this.config.failedRetries),Zl$1(u=>{if(Array.isArray(u)){u.forEach(f=>{this.handleSuccess(f.lang,f.translation),f.lang!==e&&this.cache.set(f.lang,Dg({}));});return}this.handleSuccess(e,u);}),es$1(u=>this.handleFailure(e,n)),zl$1(1),ue$1(this.destroyRef));return this.cache.set(e,l),l}translate(e,n={},s=this.getActiveLang()){if(!e)return e;let{scope:i,resolveLang:o}=this.resolveLangAndScope(s);if(Array.isArray(e))return e.map(l=>this.translate(this.config.scopes.autoPrefixKeys&&i?`${i}.${l}`:l,n,o));e=this.config.scopes.autoPrefixKeys&&i?`${i}.${e}`:e;let a=this.getTranslation(o),c=a[e];return c?this.parser.transpile({value:c,params:n,translation:a,key:e}):this._handleMissingKey(e,c,n)}selectTranslate(e,n,s,i=false){let o,a=(l,u)=>this.load(l,u).pipe(Se$3(()=>i?this.translateObject(e,n,l):this.translate(e,n,l)));if(j(s))return this.langChanges$.pipe(Nl$1(l=>a(l)));if(s=Array.isArray(s)?s[s.length-1]:s,Se$2(s)){let l=s;s=l.scope,o=Te$1(l,l.scope);}if(s=s,this.isLang(s)||this.isScopeWithLang(s))return a(s);let c=s;return this.langChanges$.pipe(Nl$1(l=>a(`${c}/${l}`,{inlineLoader:o})))}isScopeWithLang(e){return this.isLang(p$1(e))}translateObject(e,n={},s=this.getActiveLang()){if(y$3(e)||Array.isArray(e)){let{resolveLang:o,scope:a}=this.resolveLangAndScope(s);if(Array.isArray(e))return e.map(u=>this.translateObject(this.config.scopes.autoPrefixKeys&&a?`${a}.${u}`:u,n,o));let c=this.getTranslation(o);e=this.config.scopes.autoPrefixKeys&&a?`${a}.${e}`:e;let l=$e$1(this.getObjectByKey(c,e));return ge$1(l)?this.translate(e,n,s):this.parser.transpile({value:l,params:n,translation:c,key:e})}let i=[];for(let[o,a]of this.getEntries(e))i.push(this.translateObject(o,a,s));return i}selectTranslateObject(e,n,s){if(y$3(e)||Array.isArray(e))return this.selectTranslate(e,n,s,true);let[[i,o],...a]=this.getEntries(e);return this.selectTranslateObject(i,o,s).pipe(Se$3(c=>{let l=[c];for(let[u,f]of a)l.push(this.translateObject(u,f,s));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:n,resolveLang:s}=this.resolveLangAndScope(e),i=this.translations.get(s)||{};return this.getObjectByKey(i,n)}}return this.translations}selectTranslation(e){let n=this.langChanges$;if(e){let s=p$1(e)!==e;this.isLang(e)||s?n=Dg(e):n=this.langChanges$.pipe(Se$3(i=>`${e}/${i}`));}return n.pipe(Nl$1(s=>this.load(s).pipe(Se$3(()=>this.getTranslation(s)))))}setTranslation(e,n=this.getActiveLang(),s={}){let o=r$1(r$1({},{merge:true,emitChange:true}),s),a=w(n),c=e;if(a){let Ae=this.getMappedScope(a);c=he$1({[Ae]:e});}let l=a?p$1(n):n,u=r$1(r$1({},o.merge&&this.getTranslation(l)),c),f=this.config.flatten.aot?u:he$1(u),Oe=this.interceptor.preSaveTranslation(f,l);this.translations.set(l,Oe),o.emitChange&&this.setActiveLang(this.getActiveLang());}setTranslationKey(e,n,s$1={}){let i=s$1.lang||this.getActiveLang(),o=this.interceptor.preSaveTranslationKey(e,n,i),a={[e]:o};this.setTranslation(a,i,s(r$1({},s$1),{merge:true}));}setFallbackLangForMissingTranslation({fallbackLang:e}){let n=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(n)&&(this.firstFallbackLang=n);}_handleMissingKey(e,n,s){if(this.config.missingHandler.allowEmpty&&n==="")return "";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=true;let i=this.translate(e,s,this.firstFallbackLang);return this.isResolvedMissingOnce=false,i}return this.missingHandler.handle(e,this.getMissingHandlerData(),s)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,n){let s=p$1(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(s)?Fg([this.load(s),this.load(e,{inlineLoader:n})]):this.load(e,{inlineLoader:n})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(p$1(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,n){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=n;}isLoadedTranslation(e){return K(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return y$3(e)?this.getAvailableLangs():this.getAvailableLangs().map(n=>n.id)}getMissingHandlerData(){return s(r$1({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,n){this.setTranslation(n,e,{emitChange:false}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:B$1(e)}),this.failedLangs.forEach(s=>this.cache.delete(s)),this.failedLangs.clear();}handleFailure(e,n){j(n.failedCounter)&&(n.failedCounter=0,n.fallbackLangs||(n.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let s=e.split("/"),i=n.fallbackLangs,o=i[n.failedCounter];if(this.failedLangs.add(e),this.cache.has(o))return this.handleSuccess(o,this.getTranslation(o)),mt$1;let a=o===s[s.length-1];if(!o||a)throw new z(e,i??[],s.length>1);let c=o;return s.length>1&&(s[s.length-1]=o,c=s.join("/")),n.failedCounter++,this.events.next({type:"translationLoadFailure",payload:B$1(e)}),this.load(c,n)}getMappedScope(e){let{scopeMapping:n={},scopes:s={keepCasing:false}}=this.config;return n[e]||(s.keepCasing?e:H$1(e))}resolveLangAndScope(e){let n=e,s;if(this._isLangScoped(e)){let i=p$1(e),o=this.isLang(i);n=o?i:this.getActiveLang(),s=this.getMappedScope(o?w(e):e);}return {scope:s,resolveLang:n}}getObjectByKey(e,n){let s={},i=`${n}.`;for(let o in e)o.startsWith(i)&&(s[o.replace(i,"")]=e[o]);return s}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(n){return new(n||t)(Ae$3(pe$1,8),Ae$3(ve$2),Ae$3(Le$3),Ae$3(me$2),Ae$3(A$3),Ae$3(ye$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ke$2=new A$4("");var He$1=new A$4("");function U$3(t,r,e="|"){if(y$3(t)){let n=t.split(e),s=n.pop();return s===r?[true,n.toString()]:[false,s]}return [false,""]}function qe$1(t,r){let[e]=U$3(r,"static");return e?false:!!t.config.reRenderOnLangChange}function Be$1(t){return t?r=>r:yt$2(1)}var W$1=class W{initialized=false;resolve({inline:r,provider:e,active:n}){let s=n;if(this.initialized)return s=n,s;if(e){let[,i]=U$3(e,"static");s=i;}if(r){let[,i]=U$3(r,"static");s=i;}return this.initialized=true,s}resolveLangBasedOnScope(r){return w(r)?p$1(r):r}resolveLangPath(r,e){return e?`${e}/${r}`:r}},J=class{service;constructor(r){this.service=r;}resolve(r){let{inline:e,provider:n}=r;if(e)return e;if(n){if(Se$2(n)){let{scope:s,alias:i=this.service.config.scopes.keepCasing?s:H$1(s)}=n;return this.service._setScopeAlias(s,i),s}return n}}};var Kt$3=(()=>{class t{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new W$1;scopeResolver;constructor(e,n,s,i){this.service=e,this.providerScope=n,this.providerLang=s,this.cdr=i,this.scopeResolver=new J(this.service);}transform(e,n,s){if(!e)return e;let i=n?`${e}${JSON.stringify(n)}`:e;if(i===this.lastKey)return this.lastValue;this.lastKey=i,this.subscription?.unsubscribe();let o=qe$1(this.service,this.providerLang||s);return this.subscription=this.service.langChanges$.pipe(Nl$1(a=>{let c=this.langResolver.resolve({inline:s,provider:this.providerLang,active:a});return Array.isArray(this.providerScope)?Ng(this.providerScope.map(l=>this.resolveScope(c,l))):this.resolveScope(c,this.providerScope)}),Be$1(o)).subscribe(()=>this.updateValue(e,n)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null;}updateValue(e,n){let s=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(e,n,s),this.cdr.markForCheck();}resolveScope(e,n){let s=this.scopeResolver.resolve({inline:void 0,provider:n});this.path=this.langResolver.resolveLangPath(e,s);let i=Te$1(n,s);return this.service._loadDependencies(this.path,i)}static \u0275fac=function(n){return new(n||t)(kr$1(Ve$1,16),kr$1(He$1,24),kr$1(Ke$2,24),kr$1(Z0$1,16))};static \u0275pipe=tD({name:"transloco",type:t,pure:false})}return t})();function Ht$3(t){let r=[Ue$1(je$1),Je$1(Ie$2),Ye$1(xe$1),We$1(Fe$2)];return t.config&&r.push(Ge$1(t.config)),t.loader&&r.push(ze$3(t.loader)),r}function Ge$1(t){return wu$1([{provide:A$3,useValue:De$2(t)}])}function ze$3(t){return wu$1([{provide:pe$1,useClass:t}])}function Ue$1(t){return wu$1([{provide:ve$2,useClass:t,deps:[A$3]}])}function We$1(t){return wu$1([{provide:ye$2,useClass:t,deps:[A$3]}])}function Je$1(t){return wu$1([{provide:Le$3,useClass:t}])}function Ye$1(t){return wu$1([{provide:me$2,useClass:t}])}
5
+ var I8=null;function z1(){return I8}function N3(t){I8??=t;}var _4=class{},d4=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:()=>C$1(P8),providedIn:"platform"})}return t})();var P8=(()=>{class t extends d4{_location;_history;_doc=C$1(Uo);constructor(){super(),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return z1().getBaseHref(this._doc)}onPopState(e){let n=z1().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,false),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=z1().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,false),()=>n.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,n,i){this._history.pushState(e,n,i);}replaceState(e,n,i){this._history.replaceState(e,n,i);}forward(){this._history.forward();}back(){this._history.back();}historyGo(e=0){this._history.go(e);}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function U8(t,c){return t?c?t.endsWith("/")?c.startsWith("/")?t+c.slice(1):t+c:c.startsWith("/")?t+c:`${t}/${c}`:t:c}function N8(t){let c=t.search(/#|\?|$/);return t[c-1]==="/"?t.slice(0,c-1)+t.slice(c):t}function x1(t){return t&&t[0]!=="?"?`?${t}`:t}var f4=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:()=>C$1(m5),providedIn:"root"})}return t})(),v5=new A$4(""),m5=(()=>{class t extends f4{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??C$1(Uo).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 U8(this._baseHref,e)}path(e=false){let n=this._platformLocation.pathname+x1(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let a=this.prepareExternalUrl(i+x1(o));this._platformLocation.pushState(e,n,a);}replaceState(e,n,i,o){let a=this.prepareExternalUrl(i+x1(o));this._platformLocation.replaceState(e,n,a);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e);}static \u0275fac=function(n){return new(n||t)(Ae$3(d4),Ae$3(v5,8))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var v4=(()=>{class t{_subject=new re$2;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=z5(N8(k8(n))),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,n=""){return this.path()==this.normalize(e+x1(n))}normalize(e){return t.stripTrailingSlash(p5(this._basePath,k8(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+x1(n)),i);}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+x1(n)),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(n=>{this._notifyUrlChangeListeners(n.url,n.state);}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(i=>i(e,n));}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=x1;static joinWithSlash=U8;static stripTrailingSlash=N8;static \u0275fac=function(n){return new(n||t)(Ae$3(f4))};static \u0275prov=ie$1({token:t,factory:()=>g5(),providedIn:"root"})}return t})();function g5(){return new v4(Ae$3(f4))}function p5(t,c){if(!t||!c.startsWith(t))return c;let e=c.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:c}function k8(t){return t.replace(/\/index\.html$/,"")}function z5(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var k3=/\s+/,j8=[],M5=(()=>{class t{_ngEl;_renderer;initialClasses=j8;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n;}set klass(e){this.initialClasses=e!=null?e.trim().split(k3):j8;}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(k3):e;}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,true);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,true);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff();}_updateState(e,n){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==n&&(i.changed=true,i.enabled=n),i.touched=true):this.stateMap.set(e,{enabled:n,changed:true,touched:true});}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],i=e[1];i.changed?(this._toggleClass(n,i.enabled),i.changed=false):i.touched||(i.enabled&&this._toggleClass(n,false),this.stateMap.delete(n)),i.touched=false;}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(k3).forEach(i=>{n?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i);});}static \u0275fac=function(n){return new(n||t)(kr$1(_r$1),kr$1(XI))};static \u0275dir=eD({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var w5=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=C$1(Ee$3);constructor(e){this._viewContainerRef=e;}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=n.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,n,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,i):false,get:(e,n,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,i)}})}static \u0275fac=function(n){return new(n||t)(kr$1(Vi$2))};static \u0275dir=eD({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ly]})}return t})();function b5(t,c){return new _$2(2100,false)}var U3=class{createSubscription(c,e,n){return qw(()=>c.subscribe({next:e,error:n}))}dispose(c){qw(()=>c.unsubscribe());}},j3=class{createSubscription(c,e,n){return c.then(i=>e?.(i),i=>n?.(i)),{unsubscribe:()=>{e=null,n=null;}}}dispose(c){c.unsubscribe();}},y5=new j3,C5=new U3,H5=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=true;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=C$1(Vt$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,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n));}_selectStrategy(e){if(Zc$2(e))return y5;if(Qp(e))return C5;throw b5()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null;}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck());}static \u0275fac=function(n){return new(n||t)(kr$1(Z0$1,16))};static \u0275pipe=tD({name:"async",type:t,pure:false})}return t})();var $8=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=KE({type:t});static \u0275inj=fu$1({})}return t})();function F4(t,c){c=encodeURIComponent(c);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===c)return decodeURIComponent(o)}return null}function t9(t,c,e){return jD(t,c,e)}var $3="browser";function S2(t){return t===$3}var I4=class{_doc;constructor(c){this._doc=c;}manager},L2=(()=>{class t extends I4{constructor(e){super(e);}supports(e){return true}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(Ae$3(Uo))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),A2=new A$4(""),Y3=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(a=>{a.manager=this;});let i=e.filter(a=>!(a instanceof L2));this._plugins=i.slice().reverse();let o=e.find(a=>a instanceof L2);o&&this._plugins.push(o);}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new _$2(-5101,false);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(Ae$3(A2),Ae$3(oe$1))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),q3="ng-app-id";function q8(t){for(let c of t)c.remove();}function G8(t,c){let e=c.createElement("style");return e.textContent=t,e}function T5(t,c,e,n){let i=t.head?.querySelectorAll(`style[${q3}="${c}"],link[${q3}="${c}"]`);if(!i||i.length===0)return false;for(let o of i)o.removeAttribute(q3),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return true}function W3(t,c){let e=c.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Z3=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,T5(e,n,this.inline,this.external)&&this.hosts.add(e.head);}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,G8);n?.forEach(i=>this.addUsage(i,this.external,W3));}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external));}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,i(e,this.doc)))});}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(q8(i.elements),n.delete(e)));}ngOnDestroy(){for(let[,{elements:e}]of [...this.inline,...this.external])q8(e);this.hosts.clear();}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,G8(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,W3(n,this.doc)));}}removeHost(e){this.hosts.delete(e);for(let n of [...this.inline.values(),...this.external.values()]){let i=[];for(let o of n.elements)o.parentNode===e?o.remove():i.push(o);n.elements=i;}}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(Ae$3(Uo),Ae$3(rd$1),Ae$3(zm$1,8),Ae$3(Wm))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),G3={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"},X3=/%COMP%/g;var Y8="%COMP%",A5=`_nghost-${Y8}`,R5=`_ngcontent-${Y8}`,O5=true,B5=new A$4("",{factory:()=>O5});function _5(t){return R5.replace(X3,t)}function F5(t){return A5.replace(X3,t)}function Z8(t,c){return c.map(e=>e.replace(X3,t))}var K3=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,i,o,a,r,s=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=r,this.nonce=s,this.tracingService=l,this.defaultRenderer=new P4(e,a,r,this.tracingService);}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,n);return i instanceof T2?i.applyToHost(e):i instanceof N4&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let a=this.doc,r=this.ngZone,s=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.tracingService;switch(n.encapsulation){case qt$3.Emulated:o=new T2(s,l,n,this.appId,u,a,r,f);break;case qt$3.ShadowDom:return new x2(s,e,n,a,r,this.nonce,f,l);case qt$3.ExperimentalIsolatedShadowDom:return new x2(s,e,n,a,r,this.nonce,f);default:o=new N4(s,l,n,u,a,r,f);break}i.set(n.id,o);}return o}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(e){this.rendererByCompId.delete(e);}static \u0275fac=function(n){return new(n||t)(Ae$3(Y3),Ae$3(Op),Ae$3(rd$1),Ae$3(B5),Ae$3(Uo),Ae$3(oe$1),Ae$3(zm$1),Ae$3(kn$4,8))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),P4=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=true;constructor(c,e,n,i){this.eventManager=c,this.doc=e,this.ngZone=n,this.tracingService=i;}destroy(){}destroyNode=null;createElement(c,e){return e?this.doc.createElementNS(G3[e]||e,c):this.doc.createElement(c)}createComment(c){return this.doc.createComment(c)}createText(c){return this.doc.createTextNode(c)}appendChild(c,e){(W8(c)?c.content:c).appendChild(e);}insertBefore(c,e,n){c&&(W8(c)?c.content:c).insertBefore(e,n);}removeChild(c,e){e.remove();}selectRootElement(c,e){let n=typeof c=="string"?this.doc.querySelector(c):c;if(!n)throw new _$2(-5104,false);return e||(n.textContent=""),n}parentNode(c){return c.parentNode}nextSibling(c){return c.nextSibling}setAttribute(c,e,n,i){if(i){e=i+":"+e;let o=G3[i];o?c.setAttributeNS(o,e,n):c.setAttribute(e,n);}else c.setAttribute(e,n);}removeAttribute(c,e,n){if(n){let i=G3[n];i?c.removeAttributeNS(i,e):c.removeAttribute(`${n}:${e}`);}else c.removeAttribute(e);}addClass(c,e){c.classList.add(e);}removeClass(c,e){c.classList.remove(e);}setStyle(c,e,n,i){i&(fi$1.DashCase|fi$1.Important)?c.style.setProperty(e,n,i&fi$1.Important?"important":""):c.style[e]=n;}removeStyle(c,e,n){n&fi$1.DashCase?c.style.removeProperty(e):c.style[e]="";}setProperty(c,e,n){c!=null&&(c[e]=n);}setValue(c,e){c.nodeValue=e;}listen(c,e,n,i){if(typeof c=="string"&&(c=z1().getGlobalEventTarget(this.doc,c),!c))throw new _$2(-5102,false);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(c,e,o)),this.eventManager.addEventListener(c,e,o,i)}decoratePreventDefault(c){return e=>{if(e==="__ngUnwrap__")return c;c(e)===false&&e.preventDefault();}}};function W8(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var x2=class extends P4{hostEl;sharedStylesHost;shadowRoot;constructor(c,e,n,i,o,a,r,s){super(c,i,o,r),this.hostEl=e,this.sharedStylesHost=s,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=n.styles;l=Z8(n.id,l);for(let f of l){let v=document.createElement("style");a&&v.setAttribute("nonce",a),v.textContent=f,this.shadowRoot.appendChild(v);}let u=n.getExternalStyles?.();if(u)for(let f of u){let v=W3(f,i);a&&v.setAttribute("nonce",a),this.shadowRoot.appendChild(v);}}nodeOrShadowRoot(c){return c===this.hostEl?this.shadowRoot:c}appendChild(c,e){return super.appendChild(this.nodeOrShadowRoot(c),e)}insertBefore(c,e,n){return super.insertBefore(this.nodeOrShadowRoot(c),e,n)}removeChild(c,e){return super.removeChild(null,e)}parentNode(c){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(c)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot);}},N4=class extends P4{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(c,e,n,i,o,a,r,s){super(c,o,a,r),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=s?Z8(s,l):l,this.styleUrls=n.getExternalStyles?.(s);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&&lt$2.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},T2=class extends N4{contentAttr;hostAttr;constructor(c,e,n,i,o,a,r,s){let l=i+"-"+n.id;super(c,e,n,o,a,r,s,l),this.contentAttr=_5(l),this.hostAttr=F5(l);}applyToHost(c){this.applyStyles(),this.setAttribute(c,this.hostAttr,"");}createElement(c,e){let n=super.createElement(c,e);return super.setAttribute(n,this.contentAttr,""),n}};var R2=class t extends _4{supportsDOMEvents=true;static makeCurrent(){N3(new t);}onAndCancel(c,e,n,i){return c.addEventListener(e,n,i),()=>{c.removeEventListener(e,n,i);}}dispatchEvent(c,e){c.dispatchEvent(e);}remove(c){c.remove();}createElement(c,e){return e=e||this.getDefaultDocument(),e.createElement(c)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(c){return c.nodeType===Node.ELEMENT_NODE}isShadowRoot(c){return c instanceof DocumentFragment}getGlobalEventTarget(c,e){return e==="window"?window:e==="document"?c:e==="body"?c.body:null}getBaseHref(c){let e=P5();return e==null?null:N5(e)}resetBaseElement(){k4=null;}getUserAgent(){return window.navigator.userAgent}getCookie(c){return F4(document.cookie,c)}},k4=null;function P5(){return k4=k4||document.head.querySelector("base"),k4?k4.getAttribute("href"):null}function N5(t){return new URL(t,document.baseURI).pathname}var X8=["alt","control","meta","shift"],k5={"\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"},U5={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},K8=(()=>{class t extends I4{constructor(e){super(e);}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let a=t.parseEventName(n),r=t.eventCallback(a.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>z1().onAndCancel(e,a.domEventName,r,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),a="",r=n.indexOf("code");if(r>-1&&(n.splice(r,1),a="code."),X8.forEach(l=>{let u=n.indexOf(l);u>-1&&(n.splice(u,1),a+=l+".");}),a+=o,n.length!=0||o.length===0)return null;let s={};return s.domEventName=i,s.fullKey=a,s}static matchEventFullKeyCode(e,n){let i=k5[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?false:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),X8.forEach(a=>{if(a!==i){let r=U5[a];r(e)&&(o+=a+".");}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o));}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(Ae$3(Uo))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})();function j5(t,c,e){return v$1(this,null,function*(){let n=r$1({rootComponent:t},$5(c,e));return Y0(n)})}function $5(t,c){return {platformRef:c?.platformRef,appProviders:[...Z5,...t?.providers??[]],platformProviders:Y5}}function q5(){R2.makeCurrent();}function G5(){return new Ve$2}function W5(){return Ly(document),document}var Y5=[{provide:Wm,useValue:$3},{provide:od$1,useValue:q5,multi:true},{provide:Uo,useFactory:W5}];var Z5=[{provide:Bs$1,useValue:"root"},{provide:Ve$2,useFactory:G5},{provide:A2,useClass:L2,multi:true},{provide:A2,useClass:K8,multi:true},K3,{provide:Op,useClass:Z3},{provide:Z3,useExisting:Op},Y3,{provide:Dr$1,useExisting:K3},[]];var w1=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(c){c?typeof c=="string"?this.lazyInit=()=>{this.headers=new Map,c.split(`
6
+ `).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o);}});}:typeof Headers<"u"&&c instanceof Headers?(this.headers=new Map,c.forEach((e,n)=>{this.addHeaderEntry(n,e);})):this.lazyInit=()=>{this.headers=new Map,Object.entries(c).forEach(([e,n])=>{this.setHeaderEntries(e,n);});}:this.headers=new Map;}has(c){return this.init(),this.headers.has(c.toLowerCase())}get(c){this.init();let e=this.headers.get(c.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(c){return this.init(),this.headers.get(c.toLowerCase())||null}append(c,e){return this.clone({name:c,value:e,op:"a"})}set(c,e){return this.clone({name:c,value:e,op:"s"})}delete(c,e){return this.clone({name:c,value:e,op:"d"})}maybeSetNormalizedName(c,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,c);}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(c=>this.applyUpdate(c)),this.lazyUpdate=null));}copyFrom(c){c.init(),Array.from(c.headers.keys()).forEach(e=>{this.headers.set(e,c.headers.get(e)),this.normalizedNames.set(e,c.normalizedNames.get(e));});}clone(c){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([c]),e}applyUpdate(c){let e=c.name.toLowerCase();switch(c.op){case "a":case "s":let n=c.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(c.name,e);let i=(c.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case "d":let o=c.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else {let a=this.headers.get(e);if(!a)return;a=a.filter(r=>o.indexOf(r)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a);}break}}addHeaderEntry(c,e){let n=c.toLowerCase();this.maybeSetNormalizedName(c,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e]);}setHeaderEntries(c,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=c.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(c,i);}forEach(c){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>c(this.normalizedNames.get(e),this.headers.get(e)));}};var B2=class{map=new Map;set(c,e){return this.map.set(c,e),this}get(c){return this.map.has(c)||this.map.set(c,c.defaultValue()),this.map.get(c)}delete(c){return this.map.delete(c),this}has(c){return this.map.has(c)}keys(){return this.map.keys()}},_2=class{encodeKey(c){return J8(c)}encodeValue(c){return J8(c)}decodeKey(c){return decodeURIComponent(c)}decodeValue(c){return decodeURIComponent(c)}};function X5(t,c){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,r]=o==-1?[c.decodeKey(i),""]:[c.decodeKey(i.slice(0,o)),c.decodeValue(i.slice(o+1))],s=e.get(a)||[];s.push(r),e.set(a,s);}),e}var K5=/%(\d[a-f0-9])/gi,J5={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function J8(t){return encodeURIComponent(t).replace(K5,(c,e)=>J5[e]??c)}function O2(t){return `${t}`}var M1=class t{map;encoder;updates=null;cloneFrom=null;constructor(c={}){if(this.encoder=c.encoder||new _2,c.fromString){if(c.fromObject)throw new _$2(2805,false);this.map=X5(c.fromString,this.encoder);}else c.fromObject?(this.map=new Map,Object.keys(c.fromObject).forEach(e=>{let n=c.fromObject[e],i=Array.isArray(n)?n.map(O2):[O2(n)];this.map.set(e,i);})):this.map=null;}has(c){return this.init(),this.map.has(c)}get(c){this.init();let e=this.map.get(c);return e?e[0]:null}getAll(c){return this.init(),this.map.get(c)||null}keys(){return this.init(),Array.from(this.map.keys())}append(c,e){return this.clone({param:c,value:e,op:"a"})}appendAll(c){let e=[];return Object.keys(c).forEach(n=>{let i=c[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"});}):e.push({param:n,value:i,op:"a"});}),this.clone(e)}set(c,e){return this.clone({param:c,value:e,op:"s"})}delete(c,e){return this.clone({param:c,value:e,op:"d"})}toString(){return this.init(),this.keys().map(c=>{let e=this.encoder.encodeKey(c);return this.map.get(c).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(c=>c!=="").join("&")}clone(c){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(c),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(c=>this.map.set(c,this.cloneFrom.map.get(c))),this.updates.forEach(c=>{switch(c.op){case "a":case "s":let e=(c.op==="a"?this.map.get(c.param):void 0)||[];e.push(O2(c.value)),this.map.set(c.param,e);break;case "d":if(c.value!==void 0){let n=this.map.get(c.param)||[],i=n.indexOf(O2(c.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(c.param,n):this.map.delete(c.param);}else {this.map.delete(c.param);break}}}),this.cloneFrom=this.updates=null);}};function Q5(t){switch(t){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":return false;default:return true}}function Q8(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function ee(t){return typeof Blob<"u"&&t instanceof Blob}function te(t){return typeof FormData<"u"&&t instanceof FormData}function e7(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var J3="Content-Type",ce="Accept",ie="text/plain",oe="application/json",t7=`${oe}, ${ie}, */*`,m4=class t{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(c,e,n,i){this.url=e,this.method=c.toUpperCase();let o;if(Q5(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new _$2(2822,"");this.timeout=o.timeout;}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache;}if(this.headers??=new w1,this.context??=new B2,!this.params)this.params=new M1,this.urlWithParams=e;else {let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else {let r=e,s="",l=e.indexOf("#");l!==-1&&(s=e.substring(l),r=e.substring(0,l));let u=r.indexOf("?"),f=u===-1?"?":u<r.length-1?"&":"";this.urlWithParams=r+f+a+s;}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Q8(this.body)||ee(this.body)||te(this.body)||e7(this.body)?this.body:this.body instanceof M1?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||te(this.body)?null:ee(this.body)?this.body.type||null:Q8(this.body)?null:typeof this.body=="string"?ie:this.body instanceof M1?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?oe:null}clone(c={}){let e=c.method||this.method,n=c.url||this.url,i=c.responseType||this.responseType,o=c.keepalive??this.keepalive,a=c.priority||this.priority,r=c.cache||this.cache,s=c.mode||this.mode,l=c.redirect||this.redirect,u=c.credentials||this.credentials,f=c.referrer??this.referrer,v=c.integrity||this.integrity,L=c.referrerPolicy||this.referrerPolicy,O=c.transferCache??this.transferCache,Z=c.timeout??this.timeout,x=c.body!==void 0?c.body:this.body,s1=c.withCredentials??this.withCredentials,h1=c.reportProgress??this.reportProgress,j=c.reportUploadProgress??this.reportUploadProgress,c4=c.reportDownloadProgress??this.reportDownloadProgress,x4=c.headers||this.headers,F1=c.params||this.params,g2=c.context??this.context;return c.setHeaders!==void 0&&(x4=Object.keys(c.setHeaders).reduce((n4,I1)=>n4.set(I1,c.setHeaders[I1]),x4)),c.setParams&&(F1=Object.keys(c.setParams).reduce((n4,I1)=>n4.set(I1,c.setParams[I1]),F1)),new t(e,n,x,{params:F1,headers:x4,context:g2,reportProgress:h1,reportUploadProgress:j,reportDownloadProgress:c4,responseType:i,withCredentials:s1,transferCache:O,keepalive:o,cache:r,priority:a,timeout:Z,mode:s,redirect:l,credentials:u,referrer:f,integrity:v,referrerPolicy:L})}},g4=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(g4||{}),p4=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(c,e=200,n="OK"){this.headers=c.headers||new w1,this.status=c.status!==void 0?c.status:e,this.statusText=c.statusText||n,this.url=c.url||null,this.redirected=c.redirected,this.responseType=c.responseType,this.ok=this.status>=200&&this.status<300;}},F2=class t extends p4{constructor(c={}){super(c);}type=g4.ResponseHeader;clone(c={}){return new t({headers:c.headers||this.headers,status:c.status!==void 0?c.status:this.status,statusText:c.statusText||this.statusText,url:c.url||this.url||void 0})}},U4=class t extends p4{body;constructor(c={}){super(c),this.body=c.body!==void 0?c.body:null;}type=g4.Response;clone(c={}){return new t({body:c.body!==void 0?c.body:this.body,headers:c.headers||this.headers,status:c.status!==void 0?c.status:this.status,statusText:c.statusText||this.statusText,url:c.url||this.url||void 0,redirected:c.redirected??this.redirected,responseType:c.responseType??this.responseType})}},G1=class extends p4{name="HttpErrorResponse";message;error;ok=false;constructor(c){super(c,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${c.url||"(unknown url)"}`:this.message=`Http failure response for ${c.url||"(unknown url)"}: ${c.status} ${c.statusText}`,this.error=c.error||null;}},c7=200;var n7=/^\)\]\}',?\n/,ae$1=new A$4("",{factory:()=>null}),I2=(()=>{class t{fetchImpl=C$1(e6,{optional:true})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=C$1(oe$1);destroyRef=C$1(at$1);maxResponseSize=C$1(ae$1);handle(e){return new S$2(n=>{let i=new AbortController;this.doRequest(e,i.signal,n).then(t6,a=>n.error(new G1({error:a})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"));},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort();}})}doRequest(e,n,i){return v$1(this,null,function*(){let o=this.createRequestInit(e),a;try{let x=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,r$1({signal:n},o)));i7(x),i.next({type:g4.Sent}),a=yield x;}catch(x){i.error(new G1({error:x,status:x.status??0,statusText:x.statusText,url:e.urlWithParams,headers:x.headers}));return}let r=new w1(a.headers),s=a.statusText,l=a.url||e.urlWithParams,u=a.status,f=null,v=e.reportProgress||e.reportDownloadProgress;if(v&&i.next(new F2({headers:r,status:u,statusText:s,url:l})),a.body){let x=a.headers.get("content-length"),s1=x!==null?Number(x):NaN;this.maxResponseSize!==null&&Number.isFinite(s1)&&s1>this.maxResponseSize&&ne(this.maxResponseSize);let h1=[],j=a.body.getReader(),c4=0,x4,F1,g2=typeof Zone<"u"&&Zone.current,n4=false;if(yield this.ngZone.runOutsideAngular(()=>v$1(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield j.cancel(),n4=true;break}let{done:T4,value:V3}=yield j.read();if(T4)break;if(h1.push(V3),c4+=V3.length,this.maxResponseSize!==null&&c4>this.maxResponseSize&&(yield j.cancel(),ne(this.maxResponseSize)),v){F1=e.responseType==="text"?(F1??"")+(x4??=new TextDecoder).decode(V3,{stream:true}):void 0;let X6=()=>i.next({type:g4.DownloadProgress,total:Number.isFinite(s1)?s1:void 0,loaded:c4,partialText:F1});g2?g2.run(X6):X6();}}})),n4){i.complete();return}let I1=this.concatChunks(h1,c4);try{let T4=a.headers.get(J3)??"";f=this.parseBody(e,I1,T4,u);}catch(T4){i.error(new G1({error:T4,headers:new w1(a.headers),status:a.status,statusText:a.statusText,url:a.url||e.urlWithParams}));return}}u===0&&(u=f?c7:0);let L=u>=200&&u<300,O=a.redirected,Z=a.type;L?(i.next(new U4({body:f,headers:r,status:u,statusText:s,url:l,redirected:O,responseType:Z})),i.complete()):i.error(new G1({error:f,headers:r,status:u,statusText:s,url:l,redirected:O,responseType:Z}));})}parseBody(e,n,i,o){switch(e.responseType){case "json":let a=new TextDecoder().decode(n).replace(n7,"");if(a==="")return null;try{return JSON.parse(a)}catch(r){if(o<200||o>=300)return a;throw r}case "text":return new TextDecoder().decode(n);case "blob":return new Blob([n],{type:i});case "arraybuffer":return n.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new _$2(2824,false);let n={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((o,a)=>n[o]=a.join(",")),e.headers.has(ce)||(n[ce]=t7),!e.headers.has(J3)){let o=e.detectContentTypeHeader();o!==null&&(n[J3]=o);}return {body:e.serializeBody(),method:e.method,headers:n,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,n){let i=new Uint8Array(n),o=0;for(let a of e)i.set(a,o),o+=a.length;return i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})(),e6=class{};function t6(){}function i7(t){t.then(t6,t6);}function ne(t){throw new _$2(-2825,false)}function o7(t,c){return c(t)}function a7(t,c,e){return (n,i)=>No(e,()=>c(n,o=>t(o,i)))}var se=new A$4("",{factory:()=>[]}),re$1=new A$4(""),le=new A$4("",{factory:()=>true});var j4=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$3(I2),i},providedIn:"root"})}return t})();var P2=(()=>{class t{backend;injector;chain=null;pendingTasks=C$1(ma);contributeToStability=C$1(le);constructor(e,n){this.backend=e,this.injector=n;}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(se),...this.injector.get(re$1,[])]));this.chain=i.reduceRight((o,a)=>a7(o,a,this.injector),o7);}let n=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return qw(()=>n(e,o=>this.backend.handle(o))).pipe(Gl$1(i))}else return qw(()=>n(e,i=>this.backend.handle(i)))}static \u0275fac=function(n){return new(n||t)(Ae$3(j4),Ae$3(ue$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),c6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$3(P2),i},providedIn:"root"})}return t})();function Q3(t,c){return r$1({body:c},t)}var N2=(()=>{class t{handler;constructor(e){this.handler=e;}request(e,n,i={}){let o;if(e instanceof m4)o=e;else {let s;i.headers instanceof w1?s=i.headers:s=new w1(i.headers);let l;i.params&&(i.params instanceof M1?l=i.params:l=new M1({fromObject:i.params})),o=new m4(e,n,i.body!==void 0?i.body:null,{headers:s,context:i.context,params:l,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 a=Dg(o).pipe(Zg(s=>this.handler.handle(s)));if(e instanceof m4||i.observe==="events")return a;let r=a.pipe(sn$3(s=>s instanceof U4));switch(i.observe||"body"){case "body":switch(o.responseType){case "arraybuffer":return r.pipe(Se$3(s=>{if(s.body!==null&&!(s.body instanceof ArrayBuffer))throw new _$2(2806,false);return s.body}));case "blob":return r.pipe(Se$3(s=>{if(s.body!==null&&!(s.body instanceof Blob))throw new _$2(2807,false);return s.body}));case "text":return r.pipe(Se$3(s=>{if(s.body!==null&&typeof s.body!="string")throw new _$2(2808,false);return s.body}));default:return r.pipe(Se$3(s=>s.body))}case "response":return r;default:throw new _$2(2809,false)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new M1().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,Q3(i,n))}post(e,n,i={}){return this.request("POST",e,Q3(i,n))}put(e,n,i={}){return this.request("PUT",e,Q3(i,n))}static \u0275fac=function(n){return new(n||t)(Ae$3(c6))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var s7=new A$4("",{factory:()=>true}),r7="XSRF-TOKEN",l7=new A$4("",{factory:()=>r7}),h7="X-XSRF-TOKEN",u7=new A$4("",{factory:()=>h7}),d7=(()=>{class t{cookieName=C$1(l7);doc=C$1(Uo);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=F4(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})(),he=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$3(d7),i},providedIn:"root"})}return t})();function f7(t,c){if(!C$1(s7)||t.method==="GET"||t.method==="HEAD")return c(t);try{let i=C$1(d4).href,{origin:o}=new URL(i),{origin:a}=new URL(t.url,o);if(o!==a)return c(t)}catch(i){return c(t)}let e=C$1(he).getToken(),n=C$1(u7);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),c(t)}function v7(...t){let c=[N2,I2,P2,{provide:c6,useExisting:P2},{provide:j4,useFactory:()=>C$1(I2)},{provide:se,useValue:f7,multi:true}];for(let e of t)c.push(...e.\u0275providers);return wu$1(c)}var ue=(()=>{class t{_doc;constructor(e){this._doc=e;}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||"";}static \u0275fac=function(n){return new(n||t)(Ae$3(Uo))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var n6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$3(g7),i},providedIn:"root"})}return t})(),g7=(()=>{class t extends n6{_doc=C$1(Uo);sanitize(e,n){if(n==null)return null;switch(e){case Sr$1.NONE:return n;case Sr$1.HTML:return xi$1(n,"HTML")?Qt$3(n):Pf(this._doc,String(n)).toString();case Sr$1.STYLE:return xi$1(n,"Style")?Qt$3(n):n;case Sr$1.SCRIPT:if(xi$1(n,"Script"))return Qt$3(n);throw new _$2(5200,false);case Sr$1.URL:return xi$1(n,"URL")?Qt$3(n):yc$2(String(n));case Sr$1.RESOURCE_URL:if(xi$1(n,"ResourceURL"))return Qt$3(n);throw new _$2(-5201,false);default:throw new _$2(5202,false)}}bypassSecurityTrustHtml(e){return $y(e)}bypassSecurityTrustStyle(e){return Uy(e)}bypassSecurityTrustScript(e){return qy(e)}bypassSecurityTrustUrl(e){return Wy(e)}bypassSecurityTrustResourceUrl(e){return Gy(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})();var g$1="primary",i2=Symbol("RouteTitle"),r6=class{params;constructor(c){this.params=c||{};}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){let e=this.params[c];return Array.isArray(e)?e[0]:e}return null}getAll(c){if(this.has(c)){let e=this.params[c];return Array.isArray(e)?e:[e]}return []}get keys(){return Object.keys(this.params)}};function Y1(t){return new r6(t)}function i6(t,c,e){for(let n=0;n<t.length;n++){let i=t[n],o=c[n];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return false}return true}function Me$1(t,c,e){let n=e.path.split("/"),i=n.indexOf("**");if(i===-1){if(n.length>t.length||e.pathMatch==="full"&&(c.hasChildren()||n.length<t.length))return null;let s={},l=t.slice(0,n.length);return i6(n,l,s)?{consumed:l,posParams:s}:null}if(i!==n.lastIndexOf("**"))return null;let o=n.slice(0,i),a=n.slice(i+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&c.hasChildren()&&e.path!=="**")return null;let r={};return !i6(o,t.slice(0,o.length),r)||!i6(a,t.slice(t.length-a.length),r)?null:{consumed:t,posParams:r}}function G2(t){return new Promise((c,e)=>{t.pipe(em$1()).subscribe({next:n=>c(n),error:n=>e(n)});})}function M7(t,c){if(t.length!==c.length)return false;for(let e=0;e<t.length;++e)if(!l1(t[e],c[e]))return false;return true}function l1(t,c){let e=t?l6(t):void 0,n=c?l6(c):void 0;if(!e||!n||e.length!=n.length)return false;let i;for(let o=0;o<e.length;o++)if(i=e[o],!we$1(t[i],c[i]))return false;return true}function l6(t){return [...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function we$1(t,c){if(Array.isArray(t)&&Array.isArray(c)){if(t.length!==c.length)return false;let e=[...t].sort(),n=[...c].sort();return e.every((i,o)=>n[o]===i)}else return t===c}function w7(t){return t.length>0?t[t.length-1]:null}function K1(t){return Lg(t)?t:Zc$2(t)?Me$3(Promise.resolve(t)):Dg(t)}function be$2(t){return Lg(t)?G2(t):Promise.resolve(t)}var b7={exact:Ce$1,subset:He},ye$1={exact:y7,subset:C7,ignored:()=>true},C6={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Z4={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function H6(t,c,e){let n=t instanceof I?t:c.parseUrl(t);return Uw(()=>h6(c.lastSuccessfulNavigation()?.finalUrl??new I,n,r$1(r$1({},Z4),e)))}function h6(t,c,e){return b7[e.paths](t.root,c.root,e.matrixParams)&&ye$1[e.queryParams](t.queryParams,c.queryParams)&&!(e.fragment==="exact"&&t.fragment!==c.fragment)}function y7(t,c){return l1(t,c)}function Ce$1(t,c,e){if(!W1(t.segments,c.segments)||!j2(t.segments,c.segments,e)||t.numberOfChildren!==c.numberOfChildren)return false;for(let n in c.children)if(!t.children[n]||!Ce$1(t.children[n],c.children[n],e))return false;return true}function C7(t,c){return Object.keys(c).length<=Object.keys(t).length&&Object.keys(c).every(e=>we$1(t[e],c[e]))}function He(t,c,e){return Ee$1(t,c,c.segments,e)}function Ee$1(t,c,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return !(!W1(i,e)||c.hasChildren()||!j2(i,e,n))}else if(t.segments.length===e.length){if(!W1(t.segments,e)||!j2(t.segments,e,n))return false;for(let i in c.children)if(!t.children[i]||!He(t.children[i],c.children[i],n))return false;return true}else {let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return !W1(t.segments,i)||!j2(t.segments,i,n)||!t.children[g$1]?false:Ee$1(t.children[g$1],c,o,n)}}function j2(t,c,e){return c.every((n,i)=>ye$1[e](t[i].parameters,n.parameters))}var I=class{root;queryParams;fragment;_queryParamMap;constructor(c=new b$1([],{}),e={},n=null){this.root=c,this.queryParams=e,this.fragment=n;}get queryParamMap(){return this._queryParamMap??=Y1(this.queryParams),this._queryParamMap}toString(){return V7.serialize(this)}},b$1=class b{segments;children;parent=null;constructor(c,e){this.segments=c,this.children=e,Object.values(e).forEach(n=>n.parent=this);}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $2(this)}},T1=class{path;parameters;_parameterMap;constructor(c,e){this.path=c,this.parameters=e;}get parameterMap(){return this._parameterMap??=Y1(this.parameters),this._parameterMap}toString(){return De$1(this)}};function H7(t,c){return W1(t,c)&&t.every((e,n)=>l1(e.parameters,c[n].parameters))}function W1(t,c){return t.length!==c.length?false:t.every((e,n)=>e.path===c[n].path)}function E7(t,c){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===g$1&&(e=e.concat(c(i,n)));}),Object.entries(t.children).forEach(([n,i])=>{n!==g$1&&(e=e.concat(c(i,n)));}),e}var V4=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:()=>new A1})}return t})(),A1=class{parse(c){let e=new d6(c);return new I(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(c){let e=`/${$4(c.root,true)}`,n=L7(c.queryParams),i=typeof c.fragment=="string"?`#${D7(c.fragment)}`:"";return `${e}${n}${i}`}},V7=new A1;function $2(t){return t.segments.map(c=>De$1(c)).join("/")}function $4(t,c){if(!t.hasChildren())return $2(t);if(c){let e=t.children[g$1]?$4(t.children[g$1],false):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==g$1&&n.push(`${i}:${$4(o,false)}`);}),n.length>0?`${e}(${n.join("//")})`:e}else {let e=E7(t,(n,i)=>i===g$1?[$4(t.children[g$1],false)]:[`${i}:${$4(n,false)}`]);return Object.keys(t.children).length===1&&t.children[g$1]!=null?`${$2(t)}/${e[0]}`:`${$2(t)}/(${e.join("//")})`}}function Ve(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function k2(t){return Ve(t).replace(/%3B/gi,";")}function D7(t){return encodeURI(t)}function u6(t){return Ve(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function q2(t){return decodeURIComponent(t)}function de(t){return q2(t.replace(/\+/g,"%20"))}function De$1(t){return `${u6(t.path)}${S7(t.parameters)}`}function S7(t){return Object.entries(t).map(([c,e])=>`;${u6(c)}=${u6(e)}`).join("")}function L7(t){let c=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${k2(e)}=${k2(i)}`).join("&"):`${k2(e)}=${k2(n)}`).filter(e=>e);return c.length?`?${c.join("&")}`:""}var x7=/^[^\/()?;#]+/;function o6(t){let c=t.match(x7);return c?c[0]:""}var T7=/^[^\/()?;=#]+/;function A7(t){let c=t.match(T7);return c?c[0]:""}var R7=/^[^=?&#]+/;function O7(t){let c=t.match(R7);return c?c[0]:""}var B7=/^[^&#]+/;function _7(t){let c=t.match(B7);return c?c[0]:""}var d6=class{url;remaining;constructor(c){this.url=c,this.remaining=c;}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b$1([],{}):new b$1([],this.parseChildren())}parseQueryParams(){let c={};if(this.consumeOptional("?"))do this.parseQueryParam(c);while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(c=0){if(c>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 n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(true,c));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(false,c)),(e.length>0||Object.keys(n).length>0)&&(i[g$1]=new b$1(e,n)),i}parseSegment(){let c=o6(this.remaining);if(c===""&&this.peekStartsWith(";"))throw new _$2(4009,false);return this.capture(c),new T1(q2(c),this.parseMatrixParams())}parseMatrixParams(){let c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){let e=A7(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=o6(this.remaining);i&&(n=i,this.capture(n));}c[q2(e)]=q2(n);}parseQueryParam(c){let e=O7(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let a=_7(this.remaining);a&&(n=a,this.capture(n));}let i=de(e),o=de(n);if(Object.hasOwn(c,i)){let a=c[i];Array.isArray(a)||(a=[a],c[i]=a),a.push(o);}else c[i]=o;}parseParens(c,e){let n=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=o6(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(":")):c&&(a=g$1);let r=this.parseChildren(e+1);n[a??g$1]=Object.keys(r).length===1&&r[g$1]?r[g$1]:new b$1([],r),this.consumeOptional("//");}return n}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return this.peekStartsWith(c)?(this.remaining=this.remaining.substring(c.length),true):false}capture(c){if(!this.consumeOptional(c))throw new _$2(4011,false)}};function Se$1(t){return t.segments.length>0?new b$1([],{[g$1]:t}):t}function Le$2(t){let c=Object.create(null);for(let[n,i]of Object.entries(t.children)){let o=Le$2(i);if(n===g$1&&o.segments.length===0&&o.hasChildren())for(let[a,r]of Object.entries(o.children))c[a]=r;else (o.segments.length>0||o.hasChildren())&&(c[n]=o);}let e=new b$1(t.segments,c);return F7(e)}function F7(t){if(t.numberOfChildren===1&&t.children[g$1]){let c=t.children[g$1];return new b$1(t.segments.concat(c.segments),c.children)}return t}function R1(t){return t instanceof I}function xe(t,c,e=null,n=null,i=new A1){let o=Te(t);return Ae$2(o,c,e,n,i)}function Te(t){let c;function e(o){let a={};for(let s of o.children){let l=e(s);a[s.outlet]=l;}let r=new b$1(o.url,a);return o===t&&(c=r),r}let n=e(t.root),i=Se$1(n);return c??i}function Ae$2(t,c,e,n,i){let o=t;for(;o.parent;)o=o.parent;if(c.length===0)return a6(o,o,o,e,n,i);let a=I7(c);if(a.toRoot())return a6(o,o,new b$1([],{}),e,n,i);let r=P7(a,o,t),s=r.processChildren?G4(r.segmentGroup,r.index,a.commands):Oe$2(r.segmentGroup,r.index,a.commands);return a6(o,r.segmentGroup,s,e,n,i)}function W2(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function X4(t){return typeof t=="object"&&t!=null&&t.outlets}function fe(t,c,e){t||="\u0275";let n=new I;return n.queryParams={[t]:c},e.parse(e.serialize(n)).queryParams[t]}function a6(t,c,e,n,i,o){let a={};for(let[l,u]of Object.entries(n??{}))a[l]=Array.isArray(u)?u.map(f=>fe(l,f,o)):fe(l,u,o);let r;t===c?r=e:r=Re(t,c,e);let s=Se$1(Le$2(r));return new I(s,a,i)}function Re(t,c,e){let n=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===c?n[i]=e:n[i]=Re(o,c,e);}),new b$1(t.segments,n)}var Y2=class{isAbsolute;numberOfDoubleDots;commands;constructor(c,e,n){if(this.isAbsolute=c,this.numberOfDoubleDots=e,this.commands=n,c&&n.length>0&&W2(n[0]))throw new _$2(4003,false);let i=n.find(X4);if(i&&i!==w7(n))throw new _$2(4004,false)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function I7(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Y2(true,0,t);let c=0,e=false,n=t.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let r={};return Object.entries(o.outlets).forEach(([s,l])=>{r[s]=typeof l=="string"?l.split("/"):l;}),[...i,{outlets:r}]}if(o.segmentPath)return [...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((r,s)=>{s==0&&r==="."||(s==0&&r===""?e=true:r===".."?c++:r!=""&&i.push(r));}),i):[...i,o]},[]);return new Y2(e,c,n)}var M4=class{segmentGroup;processChildren;index;constructor(c,e,n){this.segmentGroup=c,this.processChildren=e,this.index=n;}};function P7(t,c,e){if(t.isAbsolute)return new M4(c,true,0);if(!e)return new M4(c,false,NaN);if(e.parent===null)return new M4(e,true,0);let n=W2(t.commands[0])?0:1,i=e.segments.length-1+n;return N7(e,i,t.numberOfDoubleDots)}function N7(t,c,e){let n=t,i=c,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new _$2(4005,false);i=n.segments.length;}return new M4(n,false,i-o)}function k7(t){return X4(t[0])?t[0].outlets:{[g$1]:t}}function Oe$2(t,c,e){if(t??=new b$1([],{}),t.segments.length===0&&t.hasChildren())return G4(t,c,e);let n=U7(t,c,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new b$1(t.segments.slice(0,n.pathIndex),{});return o.children[g$1]=new b$1(t.segments.slice(n.pathIndex),t.children),G4(o,0,i)}else return n.match&&i.length===0?new b$1(t.segments,{}):n.match&&!t.hasChildren()?f6(t,c,e):n.match?G4(t,0,i):f6(t,c,e)}function G4(t,c,e){if(e.length===0)return new b$1(t.segments,{});{let n=k7(e),i=Object.create(null);if(Object.keys(n).some(o=>o!==g$1)&&t.children[g$1]&&t.numberOfChildren===1&&t.children[g$1].segments.length===0){let o=G4(t.children[g$1],c,e);return new b$1(t.segments,o.children)}return Object.entries(n).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=Oe$2(t.children[o],c,a));}),Object.entries(t.children).forEach(([o,a])=>{n[o]===void 0&&(i[o]=a);}),new b$1(t.segments,i)}}function U7(t,c,e){let n=0,i=c,o={match:false,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let a=t.segments[i],r=e[n];if(X4(r))break;let s=`${r}`,l=n<e.length-1?e[n+1]:null;if(i>0&&s===void 0)break;if(s&&l&&typeof l=="object"&&l.outlets===void 0){if(!me$1(s,l,a))return o;n+=2;}else {if(!me$1(s,{},a))return o;n++;}i++;}return {match:true,pathIndex:i,commandIndex:n}}function f6(t,c,e){let n=t.segments.slice(0,c),i=0;for(;i<e.length;){let o=e[i];if(X4(o)){let s=j7(o.outlets);return new b$1(n,s)}if(i===0&&W2(e[0])){let s=t.segments[c];n.push(new T1(s.path,ve$1(e[0]))),i++;continue}let a=X4(o)?o.outlets[g$1]:`${o}`,r=i<e.length-1?e[i+1]:null;a&&r&&W2(r)?(n.push(new T1(a,ve$1(r))),i+=2):(n.push(new T1(a,{})),i++);}return new b$1(n,{})}function j7(t){let c={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(c[e]=f6(new b$1([],{}),0,n));}),c}function ve$1(t){let c={};return Object.entries(t).forEach(([e,n])=>c[e]=`${n}`),c}function me$1(t,c,e){return t==e.path&&l1(c,e.parameters)}var W4="imperative",A$2=(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})(A$2||{}),W=class{id;url;constructor(c,e){this.id=c,this.url=e;}},Z1=class extends W{type=A$2.NavigationStart;navigationTrigger;restoredState;constructor(c,e,n="imperative",i=null){super(c,e),this.navigationTrigger=n,this.restoredState=i;}toString(){return `NavigationStart(id: ${this.id}, url: '${this.url}')`}},o1=class extends W{urlAfterRedirects;type=A$2.NavigationEnd;constructor(c,e,n){super(c,e),this.urlAfterRedirects=n;}toString(){return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},_$1=(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})(_$1||{}),K4=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(K4||{}),e1=class extends W{reason;code;type=A$2.NavigationCancel;constructor(c,e,n,i){super(c,e),this.reason=n,this.code=i;}toString(){return `NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Be(t){return t instanceof e1&&(t.code===_$1.Redirect||t.code===_$1.SupersededByNewNavigation)}var y1=class extends W{reason;code;type=A$2.NavigationSkipped;constructor(c,e,n,i){super(c,e),this.reason=n,this.code=i;}},X1=class extends W{error;target;type=A$2.NavigationError;constructor(c,e,n,i){super(c,e),this.error=n,this.target=i;}toString(){return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},J4=class extends W{urlAfterRedirects;state;type=A$2.RoutesRecognized;constructor(c,e,n,i){super(c,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Z2=class extends W{urlAfterRedirects;state;type=A$2.GuardsCheckStart;constructor(c,e,n,i){super(c,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},X2=class extends W{urlAfterRedirects;state;shouldActivate;type=A$2.GuardsCheckEnd;constructor(c,e,n,i,o){super(c,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o;}toString(){return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},K2=class extends W{urlAfterRedirects;state;type=A$2.ResolveStart;constructor(c,e,n,i){super(c,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},J2=class extends W{urlAfterRedirects;state;type=A$2.ResolveEnd;constructor(c,e,n,i){super(c,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Q2=class{route;type=A$2.RouteConfigLoadStart;constructor(c){this.route=c;}toString(){return `RouteConfigLoadStart(path: ${this.route.path})`}},e3=class{route;type=A$2.RouteConfigLoadEnd;constructor(c){this.route=c;}toString(){return `RouteConfigLoadEnd(path: ${this.route.path})`}},t3=class{snapshot;type=A$2.ChildActivationStart;constructor(c){this.snapshot=c;}toString(){return `ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},c3=class{snapshot;type=A$2.ChildActivationEnd;constructor(c){this.snapshot=c;}toString(){return `ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},n3=class{snapshot;type=A$2.ActivationStart;constructor(c){this.snapshot=c;}toString(){return `ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},i3=class{snapshot;type=A$2.ActivationEnd;constructor(c){this.snapshot=c;}toString(){return `ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var b4=class{},Q4=class{},y4=class{url;navigationBehaviorOptions;constructor(c,e){this.url=c,this.navigationBehaviorOptions=e;}};function $7(t){return !(t instanceof b4)&&!(t instanceof y4)&&!(t instanceof Q4)}var o3=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(c){this.rootInjector=c,this.children=new D4(this.rootInjector);}},D4=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e;}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i);}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null);}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e;}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new o3(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(Ae$3(ue$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),a3=class{_root;constructor(c){this._root=c;}get root(){return this._root.value}parent(c){let e=this.pathFromRoot(c);return e.length>1?e[e.length-2]:null}children(c){let e=v6(c,this._root);return e?e.children.map(n=>n.value):[]}firstChild(c){let e=v6(c,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(c){let e=m6(c,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==c)}pathFromRoot(c){return m6(c,this._root).map(e=>e.value)}};function v6(t,c){if(t===c.value)return c;for(let e of c.children){let n=v6(t,e);if(n)return n}return null}function m6(t,c){if(t===c.value)return [c];for(let e of c.children){let n=m6(t,e);if(n.length)return n.unshift(c),n}return []}var G=class{value;children;constructor(c,e){this.value=c,this.children=e;}toString(){return `TreeNode(${this.value})`}};function z4(t){let c={};return t&&t.children.forEach(e=>c[e.value.outlet]=e),c}var e2=class extends a3{snapshot;constructor(c,e){super(c),this.snapshot=e,V6(this,c);}toString(){return this.snapshot.toString()}};function _e(t,c){let e=q7(t,c),n=new On$3([new T1("",{})]),i=new On$3({}),o=new On$3({}),a=new On$3({}),r=new On$3(""),s=new C1(n,i,a,r,o,g$1,t,e.root);return s.snapshot=e.root,new e2(new G(s,[]),e)}function q7(t,c){let e={},n={},i={},a=new C4([],e,i,"",n,g$1,t,null,{},c);return new t2("",new G(a,[]))}var C1=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(c,e,n,i,o,a,r,s){this.urlSubject=c,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=r,this._futureSnapshot=s,this.title=this.dataSubject?.pipe(Se$3(l=>l[i2]))??Dg(void 0),this.url=c,this.params=e,this.queryParams=n,this.fragment=i,this.data=o;}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Se$3(c=>Y1(c))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Se$3(c=>Y1(c))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}},G7="always";function E6(t,c,e){let n,{routeConfig:i}=t;return c!==null&&(e==="always"||i?.path===""||!c.component&&!c.routeConfig?.loadComponent)?n={params:r$1(r$1({},c.params),t.params),data:r$1(r$1({},c.data),t.data),resolve:r$1(r$1(r$1(r$1({},t.data),c.data),i?.data),t._resolvedData)}:n={params:r$1({},t.params),data:r$1({},t.data),resolve:r$1(r$1({},t.data),t._resolvedData??{})},i&&Ie$1(i)&&(n.resolve[i2]=i.title),n}var C4=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[i2]}constructor(c,e,n,i,o,a,r,s,l,u){this.url=c,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=a,this.component=r,this.routeConfig=s,this._resolve=l,this._environmentInjector=u;}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Y1(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Y1(this.queryParams),this._queryParamMap}toString(){let c=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return `Route(url:'${c}', path:'${e}')`}},t2=class extends a3{url;constructor(c,e){super(e),this.url=c,V6(this,e);}toString(){return Fe$1(this._root)}};function V6(t,c){c.value._routerState=t,c.children.forEach(e=>V6(t,e));}function Fe$1(t){let c=t.children.length>0?` { ${t.children.map(Fe$1).join(", ")} } `:"";return `${t.value}${c}`}function s6(t){if(t.snapshot){let c=t.snapshot,e=t._futureSnapshot;t.snapshot=e,l1(c.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),c.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),l1(c.params,e.params)||t.paramsSubject.next(e.params),M7(c.url,e.url)||t.urlSubject.next(e.url),l1(c.data,e.data)||t.dataSubject.next(e.data);}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data);}function g6(t,c){let e=l1(t.params,c.params)&&H7(t.url,c.url),n=!t.parent!=!c.parent;return e&&!n&&(!t.parent||g6(t.parent,c.parent))}function Ie$1(t){return typeof t.title=="string"||t.title===null}var Pe=new A$4(""),D6=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=g$1;activateEvents=new Le$4;deactivateEvents=new Le$4;attachEvents=new Le$4;detachEvents=new Le$4;routerOutletData=q0$1();parentContexts=C$1(D4);location=C$1(Vi$2);changeDetector=C$1(Z0$1);inputBinder=C$1(h3,{optional:true});supportsBindingToComponentInputs=true;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)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,n){this.activated=e,this._activatedRoute=n,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,n){if(this.isActivated)throw new _$2(4013,false);this._activatedRoute=e;let i=this.location,a=e.snapshot.component,r=this.parentContexts.getOrCreateContext(this.name).children,s=new p6(e,r,i.injector,this.routerOutletData);this.activated=i.createComponent(a,{index:i.length,injector:s,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static \u0275fac=function(n){return new(n||t)};static \u0275dir=eD({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ly]})}return t})(),p6=class{route;childContexts;parent;outletData;constructor(c,e,n,i){this.route=c,this.childContexts=e,this.parent=n,this.outletData=i;}get(c,e){return c===C1?this.route:c===D4?this.childContexts:c===Pe?this.outletData:this.parent.get(c,e)}},h3=new A$4("");var S6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=ZE({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&uh$2(0,"router-outlet");},dependencies:[D6],encapsulation:2,changeDetection:1})}return t})();function L6(t){let c=t.children&&t.children.map(L6),e=c?s(r$1({},t),{children:c}):r$1({},t);return !e.component&&!e.loadComponent&&(c||e.loadChildren)&&e.outlet&&e.outlet!==g$1&&(e.component=S6),e}function W7(t,c,e){let n=new Set,i=c2(t,c._root,e?e._root:void 0,n);return {newlyCreatedRoutes:n,state:new e2(i,c)}}function c2(t,c,e,n){if(e&&t.shouldReuseRoute(c.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=c.value;let o=Y7(t,c,e,n);return new G(i,o)}else {if(t.shouldAttach(c.value)){let a=t.retrieve(c.value);if(a!==null){let r=a.route;return r.value._futureSnapshot=c.value,r.children=c.children.map(s=>c2(t,s,void 0,n)),r}}let i=Z7(c.value);n.add(i);let o=c.children.map(a=>c2(t,a,void 0,n));return new G(i,o)}}function Y7(t,c,e,n){return c.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return c2(t,i,o,n);return c2(t,i,void 0,n)})}function Z7(t){return new C1(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 H4=class{redirectTo;navigationBehaviorOptions;constructor(c,e){this.redirectTo=c,this.navigationBehaviorOptions=e;}},Ne$1="ngNavigationCancelingError";function s3(t,c){let{redirectTo:e,navigationBehaviorOptions:n}=R1(c)?{redirectTo:c,navigationBehaviorOptions:void 0}:c,i=ke$1(false,_$1.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function ke$1(t,c){let e=new Error(`NavigationCancelingError: ${""}`);return e[Ne$1]=true,e.cancellationCode=c,e}function X7(t){return Ue(t)&&R1(t.url)}function Ue(t){return !!t&&t[Ne$1]}var z6=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(c,e,n,i,o){this.routeReuseStrategy=c,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o;}activate(c){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,c),s6(this.futureState.root),this.activateChildRoutes(e,n,c);}deactivateChildRoutes(c,e,n){let i=z4(e);c.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],n),delete i[a];}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n);});}deactivateRoutes(c,e,n){let i=c.value,o=e?e.value:null;if(i===o)if(i.component){let a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(c,e,a.children);}else this.deactivateChildRoutes(c,e,n);else o&&this.deactivateRouteAndItsChildren(e,n);}deactivateRouteAndItsChildren(c,e){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,e):this.deactivateRouteAndOutlet(c,e);}detachAndStoreRouteSubtree(c,e){let n=e.getContext(c.value.outlet),i=n&&c.value.component?n.children:e,o=z4(c);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(n&&n.outlet){let a=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:a,route:c,contexts:r});}}deactivateRouteAndOutlet(c,e){let n=e.getContext(c.value.outlet),i=n&&c.value.component?n.children:e,o=z4(c);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null),c.value._localInjector?.destroy();}activateChildRoutes(c,e,n){let i=z4(e);c.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new i3(o.value.snapshot));}),c.children.length&&this.forwardEvent(new c3(c.value.snapshot));}activateRoutes(c,e,n){let i=c.value,o=e?e.value:null;if(s6(i),i===o)if(i.component){let a=n.getOrCreateContext(i.outlet);this.activateChildRoutes(c,e,a.children);}else this.activateChildRoutes(c,e,n);else if(i.component){let a=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let r=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(r.contexts),a.attachRef=r.componentRef,a.route=r.route.value,a.outlet&&a.outlet.attach(r.componentRef,r.route.value),s6(r.route.value),this.activateChildRoutes(c,null,a.children);}else a.attachRef=null,a.route=i,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(c,null,a.children);}else this.activateChildRoutes(c,null,n);}},r3=class{path;route;constructor(c){this.path=c,this.route=this.path[this.path.length-1];}},w4=class{component;route;constructor(c,e){this.component=c,this.route=e;}};function K7(t,c,e){let n=t._root,i=c?c._root:null;return q4(n,i,e,[n.value])}function J7(t){let c=t.routeConfig?t.routeConfig.canActivateChild:null;return !c||c.length===0?null:{node:t,guards:c}}function S4(t,c){let e=Symbol(),n=c.get(t,e);return n===e?typeof t=="function"&&!mm$1(t)?t:c.get(t):n}function q4(t,c,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=z4(c);return t.children.forEach(a=>{Q7(a,o[a.value.outlet],e,n.concat([a.value]),i),delete o[a.value.outlet];}),Object.entries(o).forEach(([a,r])=>Y4(r,e.getContext(a),i)),i}function Q7(t,c,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=c?c.value:null,r=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let s=ec$1(a,o,o.routeConfig.runGuardsAndResolvers);s?i.canActivateChecks.push(new r3(n)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?q4(t,c,r?r.children:null,n,i):q4(t,c,e,n,i),s&&r&&r.outlet&&r.outlet.isActivated&&i.canDeactivateChecks.push(new w4(r.outlet.component,a));}else a&&Y4(c,r,i),i.canActivateChecks.push(new r3(n)),o.component?q4(t,null,r?r.children:null,n,i):q4(t,null,e,n,i);return i}function ec$1(t,c,e){if(typeof e=="function")return No(c._environmentInjector,()=>e(t,c));switch(e){case "pathParamsChange":return !W1(t.url,c.url);case "pathParamsOrQueryParamsChange":return !W1(t.url,c.url)||!l1(t.queryParams,c.queryParams);case "always":return true;case "paramsOrQueryParamsChange":return !g6(t,c)||!l1(t.queryParams,c.queryParams);default:return !g6(t,c)}}function Y4(t,c,e){let n=z4(t),i=t.value;Object.entries(n).forEach(([o,a])=>{i.component?c?Y4(a,c.children.getContext(o),e):Y4(a,null,e):Y4(a,c,e);}),i.component?c&&c.outlet&&c.outlet.isActivated?e.canDeactivateChecks.push(new w4(c.outlet.component,i)):e.canDeactivateChecks.push(new w4(null,i)):e.canDeactivateChecks.push(new w4(null,i));}function o2(t){return typeof t=="function"}function tc$1(t){return typeof t=="boolean"}function cc$1(t){return t&&o2(t.canLoad)}function nc$1(t){return t&&o2(t.canActivate)}function ic$1(t){return t&&o2(t.canActivateChild)}function oc$1(t){return t&&o2(t.canDeactivate)}function ac$1(t){return t&&o2(t.canMatch)}function je(t){return t instanceof Vn$1||t?.name==="EmptyError"}var U2=Symbol("INITIAL_VALUE");function E4(){return Nl$1(t=>Fg(t.map(c=>c.pipe(yt$2(1),Ql$2(U2)))).pipe(Se$3(c=>{for(let e of c)if(e!==true){if(e===U2)return U2;if(e===false||sc$1(e))return e}return true}),sn$3(c=>c!==U2),yt$2(1)))}function sc$1(t){return R1(t)||t instanceof H4}function $e(t){return t.aborted?Dg(void 0).pipe(yt$2(1)):new S$2(c=>{let e=()=>{c.next(),c.complete();};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function qe(t){return im$1($e(t))}function rc$1(t){return Ie$3(c=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:i,canDeactivateChecks:o}}=c;return o.length===0&&i.length===0?Dg(s(r$1({},c),{guardsResult:true})):lc$1(o,e,n).pipe(Ie$3(a=>a&&tc$1(a)?hc$1(e,i,t):Dg(a)),Se$3(a=>s(r$1({},c),{guardsResult:a})))})}function lc$1(t,c,e){return Me$3(t).pipe(Ie$3(n=>mc$1(n.component,n.route,e,c)),em$1(n=>n!==true,true))}function hc$1(t,c,e){return Me$3(c).pipe(Zg(n=>on$2(dc$1(n.route.parent,e),uc$1(n.route,e),vc$1(t,n.path),fc$1(t,n.route))),em$1(n=>n!==true,true))}function uc$1(t,c){return t!==null&&c&&c(new n3(t)),Dg(true)}function dc$1(t,c){return t!==null&&c&&c(new t3(t)),Dg(true)}function fc$1(t,c){let e=c.routeConfig?c.routeConfig.canActivate:null;if(!e||e.length===0)return Dg(true);let n=e.map(i=>Vg(()=>{let o=c._environmentInjector,a=S4(i,o),r=nc$1(a)?a.canActivate(c,t):No(o,()=>a(c,t));return K1(r).pipe(em$1())}));return Dg(n).pipe(E4())}function vc$1(t,c){let e=c[c.length-1],i=c.slice(0,c.length-1).reverse().map(o=>J7(o)).filter(o=>o!==null).map(o=>Vg(()=>{let a=o.guards.map(r=>{let s=o.node._environmentInjector,l=S4(r,s),u=ic$1(l)?l.canActivateChild(e,t):No(s,()=>l(e,t));return K1(u).pipe(em$1())});return Dg(a).pipe(E4())}));return Dg(i).pipe(E4())}function mc$1(t,c,e,n){let i=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!i||i.length===0)return Dg(true);let o=i.map(a=>{let r=c._environmentInjector,s=S4(a,r),l=oc$1(s)?s.canDeactivate(t,c,e,n):No(r,()=>s(t,c,e,n));return K1(l).pipe(em$1())});return Dg(o).pipe(E4())}function gc$1(t,c,e,n,i){let o=c.canLoad;if(o===void 0||o.length===0)return Dg(true);let a=o.map(r=>{let s=S4(r,t),l=cc$1(s)?s.canLoad(c,e):No(t,()=>s(c,e)),u=K1(l);return i?u.pipe(qe(i)):u});return Dg(a).pipe(E4(),Ge(n))}function Ge(t){return dg(Zl$1(c=>{if(typeof c!="boolean")throw s3(t,c)}),Se$3(c=>c===true))}function pc$1(t,c,e,n,i,o){let a=c.canMatch;if(!a||a.length===0)return Dg(true);let r=a.map(s=>{let l=S4(s,t),u=ac$1(l)?l.canMatch(c,e,i):No(t,()=>l(c,e,i));return K1(u).pipe(qe(o))});return Dg(r).pipe(E4(),Ge(n))}var b1=class t extends Error{segmentGroup;constructor(c){super(),this.segmentGroup=c||null,Object.setPrototypeOf(this,t.prototype);}},n2=class t extends Error{urlTree;constructor(c){super(),this.urlTree=c,Object.setPrototypeOf(this,t.prototype);}};function zc$1(t){throw new _$2(4e3,false)}function Mc$1(t){throw ke$1(false,_$1.GuardRejected)}var M6=class{urlSerializer;urlTree;constructor(c,e){this.urlSerializer=c,this.urlTree=e;}lineralizeSegments(c,e){return v$1(this,null,function*(){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return n;if(i.numberOfChildren>1||!i.children[g$1])throw zc$1(`${c.redirectTo}`);i=i.children[g$1];}})}applyRedirectCommands(c,e,n,i,o){return v$1(this,null,function*(){let a=yield wc$1(e,i,o);if(a instanceof I)throw new n2(a);let r=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),c,n);if(a[0]==="/")throw new n2(r);return r})}applyRedirectCreateUrlTree(c,e,n,i){let o=this.createSegmentGroup(c,e.root,n,i);return new I(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(c,e){let n={};return Object.entries(c).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let r=o.substring(1);n[i]=e[r];}else n[i]=o;}),n}createSegmentGroup(c,e,n,i){let o=this.createSegments(c,e.segments,n,i),a=Object.create(null);return Object.entries(e.children).forEach(([r,s])=>{a[r]=this.createSegmentGroup(c,s,n,i);}),new b$1(o,a)}createSegments(c,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(c,o,i):this.findOrReturn(o,n))}findPosParam(c,e,n){let i=n[e.path.substring(1)];if(!i)throw new _$2(4001,false);return i}findOrReturn(c,e){let n=0;for(let i of e){if(i.path===c.path)return e.splice(n),i;n++;}return c}};function wc$1(t,c,e){if(typeof t=="string")return Promise.resolve(t);let n=t;return G2(K1(No(e,()=>n(c))))}function bc$1(t,c){return t.providers&&!t._injector&&(t._injector=Yp(t.providers,c,`Route: ${t.path}`)),t._injector??c}function i1(t){return t.outlet||g$1}function yc$1(t,c){let e=t.filter(n=>i1(n)===c);return e.push(...t.filter(n=>i1(n)!==c)),e}var w6={matched:false,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function We(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 Cc$1(t,c,e,n,i,o,a){let r=Ye(t,c,e);if(!r.matched)return Dg(r);let s=We(o(r));return n=bc$1(c,n),pc$1(n,c,e,i,s,a).pipe(Se$3(l=>l===true?r:r$1({},w6)))}function Ye(t,c,e){if(c.path==="")return c.pathMatch==="full"&&(t.hasChildren()||e.length>0)?r$1({},w6):{matched:true,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(c.matcher||Me$1)(e,t,c);if(!i)return r$1({},w6);let o={};Object.entries(i.posParams??{}).forEach(([r,s])=>{o[r]=s.path;});let a=i.consumed.length>0?r$1(r$1({},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 ge(t,c,e,n,i){return e.length>0&&Vc$1(t,e,n,i)?{segmentGroup:new b$1(c,Ec$1(n,new b$1(e,t.children))),slicedSegments:[]}:e.length===0&&Dc$1(t,e,n)?{segmentGroup:new b$1(t.segments,Hc$1(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new b$1(t.segments,t.children),slicedSegments:e}}function Hc$1(t,c,e,n){let i={};for(let o of e)if(u3(t,c,o)&&!n[i1(o)]){let a=new b$1([],{});i[i1(o)]=a;}return r$1(r$1({},n),i)}function Ec$1(t,c){let e={};e[g$1]=c;for(let n of t)if(n.path===""&&i1(n)!==g$1){let i=new b$1([],{});e[i1(n)]=i;}return e}function Vc$1(t,c,e,n){return e.some(i=>!u3(t,c,i)||!(i1(i)!==g$1)?false:!(n!==void 0&&i1(i)===n))}function Dc$1(t,c,e){return e.some(n=>u3(t,c,n))}function u3(t,c,e){return (t.hasChildren()||c.length>0)&&e.pathMatch==="full"?false:e.path===""}function Sc$1(t,c,e){return c.length===0&&!t.children[e]}var b6=class{};function Lc$1(t,c,e,n,i,o,a,r){return v$1(this,null,function*(){return new y6(t,c,e,n,i,a,o,r).recognize()})}var xc$1=31,y6=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=true;constructor(c,e,n,i,o,a,r,s){this.injector=c,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=r,this.abortSignal=s,this.applyRedirects=new M6(this.urlSerializer,this.urlTree);}noMatchError(c){return new _$2(4002,`'${c.segmentGroup}'`)}recognize(){return v$1(this,null,function*(){let c=ge(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=yield this.match(c),i=new G(n,e),o=new t2("",i),a=xe(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(c){return v$1(this,null,function*(){let e=new C4([],Object.freeze({}),Object.freeze(r$1({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g$1,this.rootComponentType,null,{},this.injector);try{return {children:yield this.processSegmentGroup(this.injector,this.config,c,g$1,e),rootSnapshot:e}}catch(n){if(n instanceof n2)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof b1?this.noMatchError(n):n}})}processSegmentGroup(c,e,n,i,o){return v$1(this,null,function*(){if(n.segments.length===0&&n.hasChildren())return this.processChildren(c,e,n,o);let a=yield this.processSegment(c,e,n,n.segments,i,true,o);return a instanceof G?[a]:[]})}processChildren(c,e,n,i){return v$1(this,null,function*(){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);let a=[];for(let s of o){let l=n.children[s],u=yc$1(e,s),f=yield this.processSegmentGroup(c,u,l,s,i);a.push(...f);}let r=Ze(a);return Tc$1(r),r})}processSegment(c,e,n,i,o,a,r){return v$1(this,null,function*(){for(let s of e)try{return yield this.processSegmentAgainstRoute(s._injector??c,e,s,n,i,o,a,r)}catch(l){if(l instanceof b1||je(l))continue;throw l}if(Sc$1(n,i,o))return new b6;throw new b1(n)})}processSegmentAgainstRoute(c,e,n,i,o,a,r,s){return v$1(this,null,function*(){if(i1(n)!==a&&(a===g$1||!u3(i,o,n)))throw new b1(i);if(n.redirectTo===void 0)return this.matchSegmentAgainstRoute(c,i,n,o,a,s);if(this.allowRedirects&&r)return this.expandSegmentAgainstRouteUsingRedirect(c,i,e,n,o,a,s);throw new b1(i)})}expandSegmentAgainstRouteUsingRedirect(c,e,n,i,o,a,r){return v$1(this,null,function*(){let{matched:s,parameters:l,consumedSegments:u,positionalParamSegments:f,remainingSegments:v}=Ye(e,i,o);if(!s)throw new b1(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>xc$1&&(this.allowRedirects=false));let L=this.createSnapshot(c,i,o,l,r);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let O=yield this.applyRedirects.applyRedirectCommands(u,i.redirectTo,f,We(L),c),Z=yield this.applyRedirects.lineralizeSegments(i,O);return this.processSegment(c,n,e,Z.concat(v),a,false,r)})}createSnapshot(c,e,n,i,o){let a=new C4(n,i,Object.freeze(r$1({},this.urlTree.queryParams)),this.urlTree.fragment,Rc$1(e),i1(e),e.component??e._loadedComponent??null,e,Oc$1(e),c),r=E6(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(r.params),a.data=Object.freeze(r.data),a}matchSegmentAgainstRoute(c,e,n,i,o,a){return v$1(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let r=j=>this.createSnapshot(c,n,j.consumedSegments,j.parameters,a),s=yield G2(Cc$1(e,n,i,c,this.urlSerializer,r,this.abortSignal));if(n.path==="**"&&(e.children={}),!s?.matched)throw new b1(e);c=n._injector??c;let{routes:l}=yield this.getChildConfig(c,n,i),u=n._loadedInjector??c,{parameters:f,consumedSegments:v,remainingSegments:L}=s,O=this.createSnapshot(c,n,v,f,a),{segmentGroup:Z,slicedSegments:x}=ge(e,v,L,l,o);if(x.length===0&&Z.hasChildren()){let j=yield this.processChildren(u,l,Z,O);return new G(O,j)}if(l.length===0&&x.length===0)return new G(O,[]);let s1=i1(n)===o,h1=yield this.processSegment(u,l,Z,x,s1?g$1:o,true,O);return new G(O,h1 instanceof G?[h1]:[])})}getChildConfig(c,e,n){return v$1(this,null,function*(){if(e.children)return {routes:e.children,injector:c};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(c).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield G2(gc$1(c,e,n,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(c,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Mc$1()}return {routes:[],injector:c}})}};function Tc$1(t){t.sort((c,e)=>c.value.outlet===g$1?-1:e.value.outlet===g$1?1:c.value.outlet.localeCompare(e.value.outlet));}function Ac$1(t){let c=t.value.routeConfig;return c&&c.path===""}function Ze(t){let c=[],e=new Set;for(let n of t){if(!Ac$1(n)){c.push(n);continue}let i=c.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):c.push(n);}for(let n of e){let i=Ze(n.children);c.push(new G(n.value,i));}return c.filter(n=>!e.has(n))}function Rc$1(t){return t.data||{}}function Oc$1(t){return t.resolve||{}}function Bc$1(t,c,e,n,i,o,a){return Ie$3(r=>v$1(null,null,function*(){let{state:s$1,tree:l}=yield Lc$1(t,c,e,n,r.extractedUrl,i,o,a);return s(r$1({},r),{targetSnapshot:s$1,urlAfterRedirects:l})}))}function _c$1(t){return Ie$3(c=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=c;if(!n.length)return Dg(c);let i=new Set(n.map(r=>r.route)),o=new Set;for(let r of i)if(!o.has(r))for(let s of Xe(r))o.add(s);let a=0;return Me$3(o).pipe(Zg(r=>i.has(r)?Fc$1(r,e,t):(r.data=E6(r,r.parent,t).resolve,Dg(void 0))),Zl$1(()=>a++),tm$1(1),Ie$3(r=>a===o.size?Dg(c):mt$1))})}function Xe(t){let c=t.children.map(e=>Xe(e)).flat();return [t,...c]}function Fc$1(t,c,e){let n=t.routeConfig,i=t._resolve;return n?.title!==void 0&&!Ie$1(n)&&(i[i2]=n.title),Vg(()=>(t.data=E6(t,t.parent,e).resolve,Ic$1(i,t,c).pipe(Se$3(o=>(t._resolvedData=o,t.data=r$1(r$1({},t.data),o),null)))))}function Ic$1(t,c,e){let n=l6(t);if(n.length===0)return Dg({});let i={};return Me$3(n).pipe(Ie$3(o=>Pc$1(t[o],c,e).pipe(em$1(),Zl$1(a=>{if(a instanceof H4)throw s3(new A1,a);i[o]=a;}))),tm$1(1),Se$3(()=>i),es$1(o=>je(o)?mt$1:Pg(o)))}function Pc$1(t,c,e){let n=c._environmentInjector,i=S4(t,n),o=i.resolve?i.resolve(c,e):No(n,()=>i(c,e));return K1(o)}function pe(t){return Nl$1(c=>{let e=t(c);return e?Me$3(e).pipe(Se$3(()=>c)):Dg(c)})}var x6=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===g$1);return n}getResolvedTitleForRoute(e){return e.data[i2]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:()=>C$1(Ke$1)})}return t})(),Ke$1=(()=>{class t extends x6{title;constructor(e){super(),this.title=e;}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n);}static \u0275fac=function(n){return new(n||t)(Ae$3(ue))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),L4=new A$4("",{factory:()=>({})}),a2=new A$4(""),Je=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=C$1(Hw);loadComponent(e,n){return v$1(this,null,function*(){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Promise.resolve(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=v$1(this,null,function*(){try{let o=yield be$2(No(e,()=>n.loadComponent())),a=yield e0($0$1(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a,a}finally{this.componentLoaders.delete(n);}});return this.componentLoaders.set(n,i),i})}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Promise.resolve({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let i=v$1(this,null,function*(){try{let o=yield Qe(n,this.compiler,e,this.onLoadEndListener);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(n);}});return this.childrenLoaders.set(n,i),i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})();function Qe(t,c,e,n){return v$1(this,null,function*(){let i=yield be$2(No(e,()=>t.loadChildren())),o=yield e0($0$1(i)),a;o instanceof Zp||Array.isArray(o)?a=o:a=yield c.compileModuleAsync(o),n&&n(t);let r,s,u;return Array.isArray(a)?(s=a,true):(r=a.create(e).injector,u=a,s=r.get(a2,[],{optional:true,self:true}).flat()),{routes:s.map(L6),injector:r,factory:u}})}function e0(t){return v$1(this,null,function*(){return t})}var d3=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:()=>C$1(Nc$1)})}return t})(),Nc$1=(()=>{class t{shouldProcessUrl(e){return true}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})(),t0=new A$4("");var c0=new A$4(""),kc$1=()=>{},n0=new A$4(""),i0=(()=>{class t{currentNavigation=qo(null,{equal:()=>false});currentTransition=null;lastSuccessfulNavigation=qo(null);events=new re$2;transitionAbortWithErrorSubject=new re$2;configLoader=C$1(Je);environmentInjector=C$1(ue$2);destroyRef=C$1(at$1);urlSerializer=C$1(V4);rootContexts=C$1(D4);location=C$1(v4);inputBindingEnabled=C$1(h3,{optional:true})!==null;titleStrategy=C$1(x6);options=C$1(L4,{optional:true})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||G7;urlHandlingStrategy=C$1(d3);createViewTransition=C$1(t0,{optional:true});navigationErrorHandler=C$1(n0,{optional:true});activatedRouteInjectorFeature=C$1(c0,{optional:true});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Dg(void 0);rootComponentType=null;destroyed=false;constructor(){let e=i=>this.events.next(new Q2(i)),n=i=>this.events.next(new e3(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=true;});}complete(){this.transitions?.complete();}handleNavigationRequest(e){let n=++this.navigationId;qw(()=>{this.transitions?.next(s(r$1({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n,routesRecognizeHandler:{},beforeActivateHandler:{}}));});}setupNavigations(e){return this.transitions=new On$3(null),this.transitions.pipe(sn$3(n=>n!==null),Nl$1(n=>{let i=true,o=false,a=new AbortController,r=()=>!o&&this.currentTransition?.id===n.id;return Dg(n).pipe(Nl$1(s$1=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",_$1.SupersededByNewNavigation),mt$1;this.currentTransition=n;let l=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:l?s(r$1({},l),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:s$1.routesRecognizeHandler,beforeActivateHandler:s$1.beforeActivateHandler});let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=s$1.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&f!=="reload")return this.events.next(new y1(s$1.id,this.urlSerializer.serialize(s$1.rawUrl),"",K4.IgnoredSameUrlNavigation)),s$1.resolve(false),mt$1;if(this.urlHandlingStrategy.shouldProcessUrl(s$1.rawUrl))return Dg(s$1).pipe(Nl$1(v=>(this.events.next(new Z1(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),v.id!==this.navigationId?mt$1:Promise.resolve(v))),Bc$1(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),Zl$1(v=>{n.targetSnapshot=v.targetSnapshot,n.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation.update(L=>(L.finalUrl=v.urlAfterRedirects,L)),this.events.next(new Q4);}),Nl$1(v=>Me$3(n.routesRecognizeHandler.deferredHandle??Dg(void 0)).pipe(Se$3(()=>v))),Zl$1(()=>{let v=new J4(s$1.id,this.urlSerializer.serialize(s$1.extractedUrl),this.urlSerializer.serialize(s$1.urlAfterRedirects),s$1.targetSnapshot);this.events.next(v);}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(s$1.currentRawUrl)){let{id:v,extractedUrl:L,source:O,restoredState:Z,extras:x}=s$1,s1=new Z1(v,this.urlSerializer.serialize(L),O,Z);this.events.next(s1);let h1=_e(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=s(r$1({},s$1),{targetSnapshot:h1,urlAfterRedirects:L,extras:s(r$1({},x),{skipLocationChange:false,replaceUrl:false})}),this.currentNavigation.update(j=>(j.finalUrl=L,j)),Dg(n)}else return this.events.next(new y1(s$1.id,this.urlSerializer.serialize(s$1.extractedUrl),"",K4.IgnoredByUrlHandlingStrategy)),s$1.resolve(false),mt$1}),Se$3(s$1=>{let l=new Z2(s$1.id,this.urlSerializer.serialize(s$1.extractedUrl),this.urlSerializer.serialize(s$1.urlAfterRedirects),s$1.targetSnapshot);return this.events.next(l),this.currentTransition=n=s(r$1({},s$1),{guards:K7(s$1.targetSnapshot,s$1.currentSnapshot,this.rootContexts)}),n}),rc$1(s=>this.events.next(s)),Nl$1(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw s3(this.urlSerializer,s.guardsResult);let l=new X2(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(l),!r())return mt$1;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",_$1.GuardRejected),mt$1;if(s.guards.canActivateChecks.length===0)return Dg(s);let u=new K2(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(u),!r())return mt$1;let f=false;return Dg(s).pipe(_c$1(this.paramsInheritanceStrategy),Zl$1({next:()=>{f=true;let v=new J2(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(v);},complete:()=>{f||this.cancelNavigationTransition(s,"",_$1.NoDataFromResolver);}}))}),pe(s=>{let l=f=>{let v=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let L=f._environmentInjector;v.push(this.configLoader.loadComponent(L,f.routeConfig).then(O=>{f.component=O;}));}for(let L of f.children)v.push(...l(L));return v},u=l(s.targetSnapshot.root);return u.length===0?Dg(s):Me$3(Promise.all(u).then(()=>s))}),Nl$1(s$1=>{let{newlyCreatedRoutes:l,state:u}=W7(e.routeReuseStrategy,s$1.targetSnapshot,s$1.currentRouterState);return this.currentTransition=n=s$1=s(r$1({},s$1),{targetRouterState:u,newlyCreatedRoutes:l}),this.currentNavigation.update(f=>(f.targetRouterState=u,f)),Dg(s$1)}),this.activatedRouteInjectorFeature?.operator()??(s=>s),pe(()=>this.afterPreactivation()),Nl$1(()=>{let{currentSnapshot:s,targetSnapshot:l}=n,u=this.createViewTransition?.(this.environmentInjector,s.root,l.root);return u?Me$3(u).pipe(Se$3(()=>n)):Dg(n)}),yt$2(1),Nl$1(s=>{i=false,this.events.next(new b4);let l=n.beforeActivateHandler.deferredHandle;return l?Me$3(l.then(()=>s)):Dg(s)}),Zl$1(s=>{new z6(e.routeReuseStrategy,n.targetRouterState,n.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),s.newlyCreatedRoutes?.clear(),r()&&(o=true,this.currentNavigation.update(l=>(l.abort=kc$1,l)),this.lastSuccessfulNavigation.set(qw(this.currentNavigation)),this.events.next(new o1(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(true));}),im$1($e(a.signal).pipe(sn$3(()=>!o&&i),Zl$1(()=>{this.cancelNavigationTransition(n,a.signal.reason+"",_$1.Aborted);}))),Zl$1({complete:()=>{o=true;}}),im$1(this.transitionAbortWithErrorSubject.pipe(Zl$1(s=>{throw s}))),Gl$1(()=>{a.abort(),o||this.cancelNavigationTransition(n,"",_$1.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null);}),es$1(s=>{if(o=true,ze$2(n),this.destroyed)return n.resolve(false),mt$1;if(Ue(s))this.events.next(new e1(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),X7(s)?this.events.next(new y4(s.url,s.navigationBehaviorOptions)):n.resolve(false);else {let l=new X1(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let u=No(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof H4){let{message:f,cancellationCode:v}=s3(this.urlSerializer,u);this.events.next(new e1(n.id,this.urlSerializer.serialize(n.extractedUrl),f,v)),this.events.next(new y4(u.redirectTo,u.navigationBehaviorOptions));}else throw this.events.next(l),s}catch(u){this.options.resolveNavigationPromiseOnError?n.resolve(false):n.reject(u);}}return mt$1}))}))}cancelNavigationTransition(e,n,i){ze$2(e);let o=new e1(e.id,this.urlSerializer.serialize(e.extractedUrl),n,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))),n=qw(this.currentNavigation),i=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==i?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})();function Uc$1(t){return t!==W4}function ze$2(t){if(t.newlyCreatedRoutes)for(let c of t.newlyCreatedRoutes)c._localInjector?.destroy();}var o0=new A$4("");var a0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:()=>C$1(jc$1)})}return t})(),l3=class{shouldDetach(c){return false}store(c,e){}shouldAttach(c){return false}retrieve(c){return null}shouldReuseRoute(c,e){return c.routeConfig===e.routeConfig}shouldDestroyInjector(c){return true}},jc$1=(()=>{class t extends l3{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})(),f3=(()=>{class t{urlSerializer=C$1(V4);options=C$1(L4,{optional:true})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=C$1(v4);urlHandlingStrategy=C$1(d3);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new I;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,a=i??o;return a instanceof I?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:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i;}routerState=_e(null,C$1(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(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:()=>C$1($c$1)})}return t})(),$c$1=(()=>{class t extends f3{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate",{replaceUrl:true});});})}handleRouterEvent(e,n){e instanceof Z1?this.updateStateMemento():e instanceof y1?this.commitTransition(n):e instanceof J4?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof b4?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof e1&&!Be(e)?this.restoreHistory(n):e instanceof X1?this.restoreHistory(n,true):e instanceof o1&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId);}setBrowserUrl(e,n){let{extras:i,id:o}=n,{replaceUrl:a,state:r}=i;if(this.location.isCurrentPathEqualTo(e)||a){let s=this.browserPageId,l=r$1(r$1({},r),this.generateNgRouterState(o,s,n));this.location.replaceState(e,"",l);}else {let s=r$1(r$1({},r),this.generateNgRouterState(o,this.browserPageId+1,n));this.location.go(e,"",s);}}restoreHistory(e,n=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"&&(n&&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,n,i){return this.canceledNavigationResolution==="computed"?r$1({navigationId:e,\u0275routerPageId:n},this.routerUrlState(i)):r$1({navigationId:e},this.routerUrlState(i))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})();function T6(t,c){t.events.pipe(sn$3(e=>e instanceof o1||e instanceof e1||e instanceof X1||e instanceof y1),Se$3(e=>e instanceof o1||e instanceof y1?0:(e instanceof e1?e.code===_$1.Redirect||e.code===_$1.SupersededByNewNavigation:false)?2:1),sn$3(e=>e!==2),yt$2(1)).subscribe(()=>{c();});}var J1=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=false;nonRouterCurrentEntryChangeSubscription;console=C$1(mD);stateManager=C$1(f3);options=C$1(L4,{optional:true})||{};pendingTasks=C$1(jt$3);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=C$1(i0);urlSerializer=C$1(V4);location=C$1(v4);urlHandlingStrategy=C$1(d3);injector=C$1(ue$2);_events=new re$2;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=false;routeReuseStrategy=C$1(a0);injectorCleanup=C$1(o0,{optional:true});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=C$1(a2,{optional:true})?.flat()??[];componentInputBindingEnabled=!!C$1(h3,{optional:true});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents();}eventsSubscription=new H$2;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=qw(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof e1&&n.code!==_$1.Redirect&&n.code!==_$1.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof o1)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof y4){let a=n.navigationBehaviorOptions,r=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),s=r$1({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Uc$1(i.source)},a);this.scheduleNavigation(r,W4,null,s,{resolve:i.resolve,reject:i.reject,promise:i.promise});}}$7(n)&&this._events.next(n);}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),W4,this.stateManager.restoredState(),{replaceUrl:true});}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i,o)=>{this.navigateToSyncWithBrowser(e,i,n,o);});}navigateToSyncWithBrowser(e,n,i,o){let a=i?.navigationId?i:null,r=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=s(r$1({},o),{browserUrl:e})),i){let l=r$1({},i);delete l.navigationId,delete l.\u0275routerPageId,delete l.\u0275routerUrl,Object.keys(l).length!==0&&(o.state=l);}let s$1=this.parseUrl(r);this.scheduleNavigation(s$1,n,a,o).catch(l=>{this.disposed||this.injector.get(Vt$2)(l);});}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return qw(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(L6),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,n={}){let{relativeTo:i,queryParams:o,fragment:a,queryParamsHandling:r,preserveFragment:s}=n,l=s?this.currentUrlTree.fragment:a,u=null;switch(r??this.options.defaultQueryParamsHandling){case "merge":u=r$1(r$1({},this.currentUrlTree.queryParams),o);break;case "preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null;}u!==null&&(u=this.removeEmptyProps(u));let f;try{let v=i?i.snapshot:this.routerState.snapshot.root;f=Te(v);}catch(v){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root;}return Ae$2(f,e,u,l??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:false}){let i=R1(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,W4,null,n)}navigate(e,n={skipLocationChange:false}){return qc$1(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(n){return this.console.warn(Yn$1(4018,false)),this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===true?i=r$1({},C6):n===false?i=r$1({},Z4):i=r$1(r$1({},Z4),n),R1(e))return h6(this.currentUrlTree,e,i);let o=this.parseUrl(e);return h6(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,a){if(this.disposed)return Promise.resolve(false);let r,s,l;a?(r=a.resolve,s=a.reject,l=a.promise):l=new Promise((f,v)=>{r=f,s=v;});let u=this.pendingTasks.add();return T6(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u));}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:r,reject:s,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})();function qc$1(t){for(let c=0;c<t.length;c++)if(t[c]==null)throw new _$2(4008,false)}var Wc$1=(()=>{class t{router=C$1(J1);stateManager=C$1(f3);fragment=qo("");queryParams=qo({});path=qo("");serializer=C$1(V4);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof o1&&this.updateState();});}updateState(){let{fragment:e,root:n,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new I(n)));}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})(),v3=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=C$1(new Kh$1("href"),{optional:true});reactiveHref=Gw(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return qw(this.reactiveHref)}set href(e){this.reactiveHref.set(e);}set target(e){this._target.set(e);}get target(){return qw(this._target)}_target=qo(void 0);set queryParams(e){this._queryParams.set(e);}get queryParams(){return qw(this._queryParams)}_queryParams=qo(void 0,{equal:()=>false});set fragment(e){this._fragment.set(e);}get fragment(){return qw(this._fragment)}_fragment=qo(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e);}get queryParamsHandling(){return qw(this._queryParamsHandling)}_queryParamsHandling=qo(void 0);set state(e){this._state.set(e);}get state(){return qw(this._state)}_state=qo(void 0,{equal:()=>false});set info(e){this._info.set(e);}get info(){return qw(this._info)}_info=qo(void 0,{equal:()=>false});set relativeTo(e){this._relativeTo.set(e);}get relativeTo(){return qw(this._relativeTo)}_relativeTo=qo(void 0);set preserveFragment(e){this._preserveFragment.set(e);}get preserveFragment(){return qw(this._preserveFragment)}_preserveFragment=qo(false);set skipLocationChange(e){this._skipLocationChange.set(e);}get skipLocationChange(){return qw(this._skipLocationChange)}_skipLocationChange=qo(false);set replaceUrl(e){this._replaceUrl.set(e);}get replaceUrl(){return qw(this._replaceUrl)}_replaceUrl=qo(false);browserUrl=q0$1(void 0);isAnchorElement;onChanges=new re$2;applicationErrorHandler=C$1(Vt$2);options=C$1(L4,{optional:true});reactiveRouterState=C$1(Wc$1);constructor(e,n,i,o,a,r){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=a,this.locationStrategy=r;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=qo(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(R1(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"));}onClick(e,n,i,o,a){let r=this._urlTree();if(r===null||this.isAnchorElement&&(e!==0||n||i||o||a||typeof this.target=="string"&&this.target!="_self"))return true;let s=this.browserUrl(),l=r$1({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},s!==void 0&&{browserUrl:s});return this.router.navigateByUrl(r,l)?.catch(u=>{this.applicationErrorHandler(u);}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e);}_urlTree=Uw(()=>{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 n=this.routerLinkInput();return n===null||!this.router.createUrlTree?null:R1(n)?n:this.router.createUrlTree(n,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,n)=>this.computeHref(e)===this.computeHref(n)});get urlTree(){return qw(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(n){return new(n||t)(kr$1(J1),kr$1(C1),gf("tabindex"),kr$1(XI),kr$1(_r$1),kr$1(f4))};static \u0275dir=eD({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,i){n&1&&mh$2("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&ch$2("href",i.reactiveHref(),Dv)("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:[ly]})}return t})(),Yc$1=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=false;get isActive(){return this._isActive}routerLinkActiveOptions={exact:false};ariaCurrentWhenActive;isActiveChange=new Le$4;link=C$1(v3,{optional:true});constructor(e,n,i,o){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof o1&&this.update();});}ngAfterContentInit(){Dg(this.links.changes,Dg(null)).pipe(Hn$2()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=Me$3(e).pipe(Hn$2()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update();});}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.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(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n);}),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 n=Zc$1(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??false?r$1({},C6):r$1({},Z4);return i=>{let o=i.urlTree;return o?qw(H6(o,e,n)):false}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(kr$1(J1),kr$1(_r$1),kr$1(XI),kr$1(Z0$1))};static \u0275dir=eD({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&Ih$1(o,v3,5),n&2){let a;WD(a=GD())&&(i.links=a);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ly]})}return t})();function Zc$1(t){let c=t;return !!(c.paths||c.matrixParams||c.queryParams||c.fragment)}var Xc$1=new A$4("");function Kc$1(t,...c){return wu$1([{provide:a2,multi:true,useValue:t},{provide:C1,useFactory:Jc$1},{provide:sh$2,multi:true,useFactory:Qc$1},c.map(e=>e.\u0275providers)])}function Jc$1(){return C$1(J1).routerState.root}function Qc$1(){let t=C$1(Ee$3);return c=>{let e=t.get(Hi$2);if(c!==e.components[0])return;let n=t.get(J1),i=t.get(en$3);t.get(tn$3)===1&&n.initialNavigation(),t.get(cn$2,null,{optional:true})?.setUpPreloading(),t.get(Xc$1,null,{optional:true})?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe());}}var en$3=new A$4("",{factory:()=>new re$2}),tn$3=new A$4("",{factory:()=>1});var cn$2=new A$4("");function Q1(t){"@babel/helpers - typeof";return Q1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},Q1(t)}function s0(t,c){if(Q1(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var n=e.call(t,c);if(Q1(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (c==="string"?String:Number)(t)}function r0(t){var c=s0(t,"string");return Q1(c)=="symbol"?c:c+""}function Y(t,c,e){return (c=r0(c))in t?Object.defineProperty(t,c,{value:e,enumerable:true,configurable:true,writable:true}):t[c]=e,t}var R$1=Math.round;function A6(t,c){let e=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=e.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)n[i]=c(n[i]||0,e[i]||"",i);return e[3]?n[3]=e[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}var l0=(t,c,e)=>e===0?t:t/100;function s2(t,c){let e=c||255;return t>e?e:t<0?0:t}var e4=class t{constructor(c){Y(this,"isValid",true),Y(this,"r",0),Y(this,"g",0),Y(this,"b",0),Y(this,"a",1),Y(this,"_h",void 0),Y(this,"_s",void 0),Y(this,"_l",void 0),Y(this,"_v",void 0),Y(this,"_max",void 0),Y(this,"_min",void 0),Y(this,"_brightness",void 0);function e(i){return i[0]in c&&i[1]in c&&i[2]in c}if(c)if(typeof c=="string"){let o=function(a){return i.startsWith(a)};let i=c.trim();/^#?[A-F\d]{3,8}$/i.test(i)?this.fromHexString(i):o("rgb")?this.fromRgbString(i):o("hsl")?this.fromHslString(i):(o("hsv")||o("hsb"))&&this.fromHsvString(i);}else if(c instanceof t)this.r=c.r,this.g=c.g,this.b=c.b,this.a=c.a,this._h=c._h,this._s=c._s,this._l=c._l,this._v=c._v;else if(e("rgb"))this.r=s2(c.r),this.g=s2(c.g),this.b=s2(c.b),this.a=typeof c.a=="number"?s2(c.a,1):1;else if(e("hsl"))this.fromHsl(c);else if(e("hsv"))this.fromHsv(c);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(c))}setR(c){return this._sc("r",c)}setG(c){return this._sc("g",c)}setB(c){return this._sc("b",c)}setA(c){return this._sc("a",c,1)}setHue(c){let e=this.toHsv();return e.h=c,this._c(e)}getLuminance(){function c(o){let a=o/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}let e=c(this.r),n=c(this.g),i=c(this.b);return .2126*e+.7152*n+.0722*i}getHue(){if(typeof this._h>"u"){let c=this.getMax()-this.getMin();c===0?this._h=0:this._h=R$1(60*(this.r===this.getMax()?(this.g-this.b)/c+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/c+2:(this.r-this.g)/c+4));}return this._h}getSaturation(){if(typeof this._s>"u"){let c=this.getMax()-this.getMin();c===0?this._s=0:this._s=c/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(c=10){let e=this.getHue(),n=this.getSaturation(),i=this.getLightness()-c/100;return i<0&&(i=0),this._c({h:e,s:n,l:i,a:this.a})}lighten(c=10){let e=this.getHue(),n=this.getSaturation(),i=this.getLightness()+c/100;return i>1&&(i=1),this._c({h:e,s:n,l:i,a:this.a})}mix(c,e=50){let n=this._c(c),i=e/100,o=r=>(n[r]-this[r])*i+this[r],a={r:R$1(o("r")),g:R$1(o("g")),b:R$1(o("b")),a:R$1(o("a")*100)/100};return this._c(a)}tint(c=10){return this.mix({r:255,g:255,b:255,a:1},c)}shade(c=10){return this.mix({r:0,g:0,b:0,a:1},c)}onBackground(c){let e=this._c(c),n=this.a+e.a*(1-this.a),i=o=>R$1((this[o]*this.a+e[o]*e.a*(1-this.a))/n);return this._c({r:i("r"),g:i("g"),b:i("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(c){return this.r===c.r&&this.g===c.g&&this.b===c.b&&this.a===c.a}clone(){return this._c(this)}toHexString(){let c="#",e=(this.r||0).toString(16);c+=e.length===2?e:"0"+e;let n=(this.g||0).toString(16);c+=n.length===2?n:"0"+n;let i=(this.b||0).toString(16);if(c+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){let o=R$1(this.a*255).toString(16);c+=o.length===2?o:"0"+o;}return c}toHsl(){return {h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let c=this.getHue(),e=R$1(this.getSaturation()*100),n=R$1(this.getLightness()*100);return this.a!==1?`hsla(${c},${e}%,${n}%,${this.a})`:`hsl(${c},${e}%,${n}%)`}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(c,e,n){let i=this.clone();return i[c]=s2(e,n),i}_c(c){return new this.constructor(c)}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(c){let e=c.replace("#","");function n(i,o){return parseInt(e[i]+e[o||i],16)}e.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=e[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=e[6]?n(6,7)/255:1);}fromHsl({h:c,s:e,l:n,a:i}){if(this._h=c%360,this._s=e,this._l=n,this.a=typeof i=="number"?i:1,e<=0){let v=R$1(n*255);this.r=v,this.g=v,this.b=v;}let o=0,a=0,r=0,s=c/60,l=(1-Math.abs(2*n-1))*e,u=l*(1-Math.abs(s%2-1));s>=0&&s<1?(o=l,a=u):s>=1&&s<2?(o=u,a=l):s>=2&&s<3?(a=l,r=u):s>=3&&s<4?(a=u,r=l):s>=4&&s<5?(o=u,r=l):s>=5&&s<6&&(o=l,r=u);let f=n-l/2;this.r=R$1((o+f)*255),this.g=R$1((a+f)*255),this.b=R$1((r+f)*255);}fromHsv({h:c,s:e,v:n,a:i}){this._h=c%360,this._s=e,this._v=n,this.a=typeof i=="number"?i:1;let o=R$1(n*255);if(this.r=o,this.g=o,this.b=o,e<=0)return;let a=c/60,r=Math.floor(a),s=a-r,l=R$1(n*(1-e)*255),u=R$1(n*(1-e*s)*255),f=R$1(n*(1-e*(1-s))*255);switch(r){case 0:this.g=f,this.b=l;break;case 1:this.r=u,this.b=l;break;case 2:this.r=l,this.b=f;break;case 3:this.r=l,this.g=u;break;case 4:this.r=f,this.g=l;break;default:this.g=l,this.b=u;break}}fromHsvString(c){let e=A6(c,l0);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]});}fromHslString(c){let e=A6(c,l0);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]});}fromRgbString(c){let e=A6(c,(n,i)=>i.includes("%")?R$1(n/100*255):n);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3];}};var m3=2,h0=.16,nn$1=.05,on$1=.05,an$1=.15,v0=5,m0=4,sn$2=[{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 u0(t,c,e){var n;return Math.round(t.h)>=60&&Math.round(t.h)<=240?n=e?Math.round(t.h)-m3*c:Math.round(t.h)+m3*c:n=e?Math.round(t.h)+m3*c:Math.round(t.h)-m3*c,n<0?n+=360:n>=360&&(n-=360),n}function d0(t,c,e){if(t.h===0&&t.s===0)return t.s;var n;return e?n=t.s-h0*c:c===m0?n=t.s+h0:n=t.s+nn$1*c,n>1&&(n=1),e&&c===v0&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function f0(t,c,e){var n;return e?n=t.v+on$1*c:n=t.v-an$1*c,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function g3(t){for(var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],n=new e4(t),i=n.toHsv(),o=v0;o>0;o-=1){var a=new e4({h:u0(i,o,true),s:d0(i,o,true),v:f0(i,o,true)});e.push(a);}e.push(n);for(var r=1;r<=m0;r+=1){var s=new e4({h:u0(i,r),s:d0(i,r),v:f0(i,r)});e.push(s);}return c.theme==="dark"?sn$2.map(function(l){var u=l.index,f=l.amount;return new e4(c.backgroundColor||"#141414").mix(e[u],f).toHexString()}):e.map(function(l){return l.toHexString()})}var H1="[@ant-design/icons-angular]:";function rn(t){console.error(`${H1} ${t}.`);}function $0(t){}function U0(t){return g3(t)[0]}function p3(t,c){switch(c){case "fill":return `${t}-fill`;case "outline":return `${t}-o`;case "twotone":return `${t}-twotone`;case void 0:return t;default:throw new Error(`${H1}Theme "${c}" is not a recognized theme!`)}}function ln$3(t,c,e,n){return `${p3(t,c)}-${e}-${n}`}function hn$3(t){return t==="o"?"outline":t}function un$3(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}function q0(t){return typeof t=="object"&&typeof t.name=="string"&&(typeof t.theme=="string"||t.theme===void 0)&&typeof t.icon=="string"}function dn$3(t){let c=t.split("-"),e=hn$3(c.splice(c.length-1,1)[0]);return {name:c.join("-"),theme:e,icon:""}}function fn$3(t){return t.cloneNode(true)}function vn$3(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function z3(t){let c=t.split(":");switch(c.length){case 1:return [t,""];case 2:return [c[1],c[0]];default:throw new Error(`${H1}The icon type ${t} is not valid!`)}}function mn$2(t){return z3(t)[1]!==""}function gn$3(t,c,e){if(q0(t))return t;{let[n,i]=z3(t);return i?t:un$3(n)?(n):p3(n,c||e)}}function pn$2(){return new Error(`${H1}Type should have a namespace. Try "namespace:${name}".`)}function j0(t){return new Error(`${H1}the icon ${t} does not exist or is not registered.`)}function zn$2(){return rn('you need to import "HttpClientModule" to use dynamic importing.'),null}function Mn$3(t){return new Error(`${H1}The url "${t}" is unsafe.`)}function wn$3(){return new Error(`${H1}<svg> tag not found.`)}function bn$3(){return new Error(`${H1}Importing timeout error.`)}var yn$3="__ant_icon_load",Cn$2=new A$4("ant_icons"),G0=(()=>{class t{sanitizer=C$1(n6);handler=C$1(j4,{optional:true});document=C$1(Uo);renderer=C$1(Dr$1).createRenderer(null,null);_http;defaultTheme="outline";set twoToneColor({primaryColor:e,secondaryColor:n}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=n||U0(e);}get twoToneColor(){return r$1({},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$2;constructor(){this.handler&&(this._http=new N2(this.handler));let e=C$1(Cn$2,{optional:true});e&&this.addIcon(...e);}useJsonpLoading(){this._enableJsonpLoading?$0():(this._enableJsonpLoading=true,window[yn$3]=e=>{this._jsonpIconLoad$.next(e);});}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/";}addIcon(...e){e.forEach(n=>{this._svgDefinitions.set(p3(n.name,n.theme),n);});}addIconLiteral(e,n){let[i,o]=z3(e);if(!o)throw pn$2();this.addIcon({name:e,icon:n});}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear();}getRenderedContent(e,n){let i=q0(e)?e:this._svgDefinitions.get(e)||null;if(!i&&this._disableDynamicLoading)throw j0(e);return (i?Dg(i):this._loadIconDynamically(e)).pipe(Se$3(a=>{if(!a)throw j0(e);return this._loadSVGFromCacheOrCreateNew(a,n)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Dg(zn$2());let n=this._inProgressFetches.get(e);if(!n){let[i,o]=z3(e),a=o?{name:e,icon:""}:dn$3(i),r=this._enableJsonpLoading?".js":".svg",s$1=(o?`${this._assetsUrlRoot}assets/${o}/${i}`:`${this._assetsUrlRoot}assets/${a.theme}/${a.name}`)+r,l=this.sanitizer.sanitize(Sr$1.URL,s$1);if(!l)throw Mn$3(s$1);n=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(a,l):this._http.get(l,{responseType:"text"}).pipe(Se$3(f=>s(r$1({},a),{icon:f})))).pipe(Zl$1(f=>this.addIcon(f)),Gl$1(()=>this._inProgressFetches.delete(e)),es$1(()=>Dg(null)),as$1()),this._inProgressFetches.set(e,n);}return n}_loadIconDynamicallyWithJsonp(e,n){return new S$2(i=>{let o=this.document.createElement("script"),a=setTimeout(()=>{r(),i.error(bn$3());},6e3);o.src=n;function r(){o.parentNode.removeChild(o),clearTimeout(a);}this.document.body.appendChild(o),this._jsonpIconLoad$.pipe(sn$3(s=>s.name===e.name&&s.theme===e.theme),yt$2(1)).subscribe(s=>{i.next(s),r();});})}_loadSVGFromCacheOrCreateNew(e,n){let i,o=n||this._twoToneColorPalette.primaryColor,a=U0(o)||this._twoToneColorPalette.secondaryColor,r=e.theme==="twotone"?ln$3(e.name,e.theme,o,a):e.theme===void 0?e.name:p3(e.name,e.theme),s$1=this._svgRenderedDefinitions.get(r);return s$1?i=s$1.icon:(i=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(mn$2(e.name)?e.icon:vn$3(e.icon)),e.theme==="twotone",o,a)),this._svgRenderedDefinitions.set(r,s(r$1({},e),{icon:i}))),fn$3(i)}_createSVGElementFromString(e){let n=this.document.createElement("div");n.innerHTML=e;let i=n.querySelector("svg");if(!i)throw wn$3;return i}_setSVGAttribute(e){return this.renderer.setAttribute(e,"width","1em"),this.renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,n,i,o){if(n){let a=e.childNodes,r=a.length;for(let s=0;s<r;s++){let l=a[s];l.getAttribute("fill")==="secondaryColor"?this.renderer.setAttribute(l,"fill",o):this.renderer.setAttribute(l,"fill",i);}}return this.renderer.setAttribute(e,"fill","currentColor"),e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})();function Hn$1(t,c){return t.type===c.type&&t.theme===c.theme&&t.twoToneColor===c.twoToneColor}var M3=class{_changeIcon(){return new Promise(c=>{let e=this.selfRenderMeta,{type:n,theme:i,twoToneColor:o}=e;if(!n){this._clearSVGElement(),c(null);return}let a=gn$3(n,i,this.iconService.defaultTheme);this.iconService.getRenderedContent(a,o).subscribe(r=>{let s=this.selfRenderMeta;Hn$1(e,s)?(this._setSVGElement(r),c(r)):c(null);});})}_setSVGElement(c){this._clearSVGElement(),this.renderer.appendChild(this.el,c);}_clearSVGElement(){let c=this.el.childNodes,e=c.length;for(let n=e-1;n>=0;n--){let i=c[n];i.tagName?.toLowerCase()==="svg"&&this.renderer.removeChild(this.el,i);}}};var En$1="[NG-ZORRO]:";function Dn$2(t,...c){}var r2=(...t)=>Dn$2((...c)=>console.warn(En$1,...c),...t);function R6(t,c=0){return Z0(t)?Number(t):arguments.length===2?c:0}function Z0(t){return !isNaN(parseFloat(t))&&!isNaN(Number(t))}function Sn$3(t){return t instanceof _r$1?t.nativeElement:t}function xr$1(t){return Array.isArray(t)?t:[t]}function O6(t){return t==null?"":typeof t=="string"?t:`${t}px`}function X0(t){return t!=null&&`${t}`!="false"}function Pr$1(t,c){if(!t||!c||t.length!==c.length)return false;let e=t.length;for(let n=0;n<e;n++)if(t[n]!==c[n])return false;return true}function Nr$1(t){return typeof t<"u"&&t!==null}function kr(t){return typeof t>"u"||t===null}function Ur$1(t){return t instanceof Er$1}function jr$1(t){return X0(t)}function $r$1(t){return J0$1(t,0)}function qr$1(t){return J0$1(t,1/0)}function Gr$1(t,c=0){return R6(t,c)}function Wr$1(t){return O6(t)}function Yr$1(t){if(!t.getClientRects().length)return {top:0,left:0};let c=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return {top:c.top+e.pageYOffset,left:c.left+e.pageXOffset}}function Ln$1(t){return !!t&&typeof t.then=="function"&&typeof t.catch=="function"}function Zr$1(t){return typeof t=="number"&&isFinite(t)}function Xr$1(t,c){return Math.round(t*Math.pow(10,c))/Math.pow(10,c)}var B6,_6,K0={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function Jr$1(t="vertical",c="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=t==="vertical";if(e&&B6)return B6;if(!e&&_6)return _6;let n=document.createElement("div");Object.keys(K0).forEach(o=>{n.style[o]=K0[o];}),n.className=`${c}-hide-scrollbar scroll-div-append-to-body`,e?n.style.overflowY="scroll":n.style.overflowX="scroll",document.body.appendChild(n);let i=0;return e?(i=n.offsetWidth-n.clientWidth,B6=i):(i=n.offsetHeight-n.clientHeight,_6=i),document.body.removeChild(n),i}function Q0(t){return Lg(t)?t:Ln$1(t)?new S$2(c=>{Promise.resolve(t).then(e=>{c.next(e),c.complete();}).catch(e=>c.error(e));}):Dg(t)}function I6(){return !!(typeof window<"u"&&window.document&&window.document.createElement)}var Tn$2="rc-util-key";function et$1({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:Tn$2}function P6(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function J0(t,c={}){if(!I6())return null;let e=document.createElement("style");c.cspNonce&&(e.nonce=c.cspNonce),e.innerHTML=t;let n=P6(c),{firstChild:i}=n;return c.prepend&&n.prepend?n.prepend(e):c.prepend&&i?n.insertBefore(e,i):n.appendChild(e),e}var F6=new Map;function An$1(t,c={}){let e=P6(c);return Array.from(F6.get(e)?.children||[]).find(n=>n.tagName==="STYLE"&&n.getAttribute(et$1(c))===t)}function tt(t,c,e={}){let n=P6(e);if(!F6.has(n)){let a=J0("",e),{parentNode:r}=a;F6.set(n,r),r.removeChild(a);}let i=An$1(c,e);if(i)return e.cspNonce&&i.nonce!==e.cspNonce&&(i.nonce=e.cspNonce),i.innerHTML!==t&&(i.innerHTML=t),i;let o=J0(t,e);return o?.setAttribute(et$1(e),c),o}function Qr$1(t,c,e){return {[`${t}-status-success`]:c==="success",[`${t}-status-warning`]:c==="warning",[`${t}-status-error`]:c==="error",[`${t}-status-validating`]:c==="validating",[`${t}-has-feedback`]:e}}function Rn$1(t){return typeof Zone<"u"?Zone.root.run(t):t()}function el$1(t,c,e){return t?new S$2(n=>Rn$1(()=>os$1(t,c,e).subscribe(n))):mt$1}function tl$1(t,c){return {[`${t}-outlined`]:c==="outlined",[`${t}-borderless`]:c==="borderless",[`${t}-filled`]:c==="filled",[`${t}-underlined`]:c==="underlined"}}function cl$1(t,c){return `${t}-${c}`}function nl$1(t){let c=Array.isArray(t)?t.filter(Boolean):null;return typeof t=="string"&&(c=t.trim().split(/\s+/).filter(Boolean)),c}function il$1(t,c){t.focus(c);let{cursor:e}=c||{};if(e){let n=t.value.length;switch(e){case "start":t.setSelectionRange(0,0);break;case "end":t.setSelectionRange(n,n);break;default:t.setSelectionRange(0,n);}}}var N6;try{N6=typeof Intl<"u"&&Intl.v8BreakIterator;}catch(t){N6=false;}var k6=(()=>{class t{_platformId=C$1(Wm);isBrowser=this._platformId?S2(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||N6)&&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(n){return new(n||t)};static \u0275prov=br$1({token:t,factory:t.\u0275fac})}return t})();var l2=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(l2||{}),w3,t4;function hl$1(){if(t4==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return t4=false,t4;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)t4=true;else {let t=Element.prototype.scrollTo;t?t4=!/\{\s*\[native code\]\s*\}/.test(t.toString()):t4=false;}}return t4}function ul(){if(typeof document!="object"||!document)return l2.NORMAL;if(w3==null){let t=document.createElement("div"),c=t.style;t.dir="rtl",c.width="1px",c.overflow="auto",c.visibility="hidden",c.pointerEvents="none",c.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),w3=l2.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,w3=t.scrollLeft===0?l2.NEGATED:l2.INVERTED),t.remove();}return w3}var U6;function ct$1(){if(U6==null){let t=typeof document<"u"?document.head:null;U6=!!(t&&(t.createShadowRoot||t.attachShadow));}return U6}function On$2(t){if(ct$1()){let c=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&c instanceof ShadowRoot)return c}return null}function Bn$1(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let c=t.shadowRoot.activeElement;if(c===t)break;t=c;}return t}function _n$3(t){if(t.composedPath)try{return t.composedPath()[0]}catch(c){}return t.target}function vl$1(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var h2;function Fn$1(){if(h2==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h2=!0}));}finally{h2=h2||false;}return h2}function gl$1(t){return Fn$1()?t:!!t.capture}function S$1(t,c){In$1(t)&&(t="100%");var e=Pn$2(t);return t=c===360?t:Math.min(c,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*c),10)/100),Math.abs(t-c)<1e-6?1:(c===360?t=(t<0?t%c+c:t%c)/parseFloat(String(c)):t=t%c/parseFloat(String(c)),t)}function u2(t){return Math.min(1,Math.max(0,t))}function In$1(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function Pn$2(t){return typeof t=="string"&&t.indexOf("%")!==-1}function b3(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function d2(t){return t<=1?"".concat(Number(t)*100,"%"):t}function O1(t){return t.length===1?"0"+t:String(t)}function nt(t,c,e){return {r:S$1(t,255)*255,g:S$1(c,255)*255,b:S$1(e,255)*255}}function $6(t,c,e){t=S$1(t,255),c=S$1(c,255),e=S$1(e,255);var n=Math.max(t,c,e),i=Math.min(t,c,e),o=0,a=0,r=(n+i)/2;if(n===i)a=0,o=0;else {var s=n-i;switch(a=r>.5?s/(2-n-i):s/(n+i),n){case t:o=(c-e)/s+(c<e?6:0);break;case c:o=(e-t)/s+2;break;case e:o=(t-c)/s+4;break;}o/=6;}return {h:o,s:a,l:r}}function j6(t,c,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+(c-t)*(6*e):e<1/2?c:e<2/3?t+(c-t)*(2/3-e)*6:t}function it(t,c,e){var n,i,o;if(t=S$1(t,360),c=S$1(c,100),e=S$1(e,100),c===0)i=e,o=e,n=e;else {var a=e<.5?e*(1+c):e+c-e*c,r=2*e-a;n=j6(r,a,t+1/3),i=j6(r,a,t),o=j6(r,a,t-1/3);}return {r:n*255,g:i*255,b:o*255}}function f2(t,c,e){t=S$1(t,255),c=S$1(c,255),e=S$1(e,255);var n=Math.max(t,c,e),i=Math.min(t,c,e),o=0,a=n,r=n-i,s=n===0?0:r/n;if(n===i)o=0;else {switch(n){case t:o=(c-e)/r+(c<e?6:0);break;case c:o=(e-t)/r+2;break;case e:o=(t-c)/r+4;break;}o/=6;}return {h:o,s,v:a}}function ot(t,c,e){t=S$1(t,360)*6,c=S$1(c,100),e=S$1(e,100);var n=Math.floor(t),i=t-n,o=e*(1-c),a=e*(1-i*c),r=e*(1-(1-i)*c),s=n%6,l=[e,a,o,o,r,e][s],u=[r,e,e,a,o,o][s],f=[o,o,r,e,e,a][s];return {r:l*255,g:u*255,b:f*255}}function v2(t,c,e,n){var i=[O1(Math.round(t).toString(16)),O1(Math.round(c).toString(16)),O1(Math.round(e).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function at(t,c,e,n,i){var o=[O1(Math.round(t).toString(16)),O1(Math.round(c).toString(16)),O1(Math.round(e).toString(16)),O1(Nn$1(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function Nn$1(t){return Math.round(parseFloat(t)*255).toString(16)}function q6(t){return U$2(t)/255}function U$2(t){return parseInt(t,16)}function st$1(t){return {r:t>>16,g:(t&65280)>>8,b:t&255}}var m2={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 _1(t){var c={r:0,g:0,b:0},e=1,n=null,i=null,o=null,a=false,r=false;return typeof t=="string"&&(t=jn$1(t)),typeof t=="object"&&(E1(t.r)&&E1(t.g)&&E1(t.b)?(c=nt(t.r,t.g,t.b),a=true,r=String(t.r).substr(-1)==="%"?"prgb":"rgb"):E1(t.h)&&E1(t.s)&&E1(t.v)?(n=d2(t.s),i=d2(t.v),c=ot(t.h,n,i),a=true,r="hsv"):E1(t.h)&&E1(t.s)&&E1(t.l)&&(n=d2(t.s),o=d2(t.l),c=it(t.h,n,o),a=true,r="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=b3(e),{ok:a,format:t.format||r,r:Math.min(255,Math.max(c.r,0)),g:Math.min(255,Math.max(c.g,0)),b:Math.min(255,Math.max(c.b,0)),a:e}}var kn$3="[-\\+]?\\d+%?",Un="[-\\+]?\\d*\\.\\d+%?",B1="(?:".concat(Un,")|(?:").concat(kn$3,")"),G6="[\\s|\\(]+(".concat(B1,")[,|\\s]+(").concat(B1,")[,|\\s]+(").concat(B1,")\\s*\\)?"),W6="[\\s|\\(]+(".concat(B1,")[,|\\s]+(").concat(B1,")[,|\\s]+(").concat(B1,")[,|\\s]+(").concat(B1,")\\s*\\)?"),a1={CSS_UNIT:new RegExp(B1),rgb:new RegExp("rgb"+G6),rgba:new RegExp("rgba"+W6),hsl:new RegExp("hsl"+G6),hsla:new RegExp("hsla"+W6),hsv:new RegExp("hsv"+G6),hsva:new RegExp("hsva"+W6),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 jn$1(t){if(t=t.trim().toLowerCase(),t.length===0)return false;var c=false;if(m2[t])t=m2[t],c=true;else if(t==="transparent")return {r:0,g:0,b:0,a:0,format:"name"};var e=a1.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=a1.rgba.exec(t),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=a1.hsl.exec(t),e?{h:e[1],s:e[2],l:e[3]}:(e=a1.hsla.exec(t),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=a1.hsv.exec(t),e?{h:e[1],s:e[2],v:e[3]}:(e=a1.hsva.exec(t),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=a1.hex8.exec(t),e?{r:U$2(e[1]),g:U$2(e[2]),b:U$2(e[3]),a:q6(e[4]),format:c?"name":"hex8"}:(e=a1.hex6.exec(t),e?{r:U$2(e[1]),g:U$2(e[2]),b:U$2(e[3]),format:c?"name":"hex"}:(e=a1.hex4.exec(t),e?{r:U$2(e[1]+e[1]),g:U$2(e[2]+e[2]),b:U$2(e[3]+e[3]),a:q6(e[4]+e[4]),format:c?"name":"hex8"}:(e=a1.hex3.exec(t),e?{r:U$2(e[1]+e[1]),g:U$2(e[2]+e[2]),b:U$2(e[3]+e[3]),format:c?"name":"hex"}:false)))))))))}function E1(t){return !!a1.CSS_UNIT.exec(String(t))}var y3=(function(){function t(c,e){c===void 0&&(c=""),e===void 0&&(e={});var n;if(c instanceof t)return c;typeof c=="number"&&(c=st$1(c)),this.originalInput=c;var i=_1(c);this.originalInput=c,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=e.format)!==null&&n!==void 0?n:i.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=i.ok;}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return !this.isDark()},t.prototype.getBrightness=function(){var c=this.toRgb();return (c.r*299+c.g*587+c.b*114)/1e3},t.prototype.getLuminance=function(){var c=this.toRgb(),e,n,i,o=c.r/255,a=c.g/255,r=c.b/255;return o<=.03928?e=o/12.92:e=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),r<=.03928?i=r/12.92:i=Math.pow((r+.055)/1.055,2.4),.2126*e+.7152*n+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(c){return this.a=b3(c),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var c=this.toHsl().s;return c===0},t.prototype.toHsv=function(){var c=f2(this.r,this.g,this.b);return {h:c.h*360,s:c.s,v:c.v,a:this.a}},t.prototype.toHsvString=function(){var c=f2(this.r,this.g,this.b),e=Math.round(c.h*360),n=Math.round(c.s*100),i=Math.round(c.v*100);return this.a===1?"hsv(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var c=$6(this.r,this.g,this.b);return {h:c.h*360,s:c.s,l:c.l,a:this.a}},t.prototype.toHslString=function(){var c=$6(this.r,this.g,this.b),e=Math.round(c.h*360),n=Math.round(c.s*100),i=Math.round(c.l*100);return this.a===1?"hsl(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(c){return c===void 0&&(c=false),v2(this.r,this.g,this.b,c)},t.prototype.toHexString=function(c){return c===void 0&&(c=false),"#"+this.toHex(c)},t.prototype.toHex8=function(c){return c===void 0&&(c=false),at(this.r,this.g,this.b,this.a,c)},t.prototype.toHex8String=function(c){return c===void 0&&(c=false),"#"+this.toHex8(c)},t.prototype.toHexShortString=function(c){return c===void 0&&(c=false),this.a===1?this.toHexString(c):this.toHex8String(c)},t.prototype.toRgb=function(){return {r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var c=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(c,", ").concat(e,", ").concat(n,")"):"rgba(".concat(c,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var c=function(e){return "".concat(Math.round(S$1(e,255)*100),"%")};return {r:c(this.r),g:c(this.g),b:c(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var c=function(e){return Math.round(S$1(e,255)*100)};return this.a===1?"rgb(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%)"):"rgba(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return "transparent";if(this.a<1)return false;for(var c="#"+v2(this.r,this.g,this.b,false),e=0,n=Object.entries(m2);e<n.length;e++){var i=n[e],o=i[0],a=i[1];if(c===a)return o}return false},t.prototype.toString=function(c){var e=!!c;c=c??this.format;var n=false,i=this.a<1&&this.a>=0,o=!e&&i&&(c.startsWith("hex")||c==="name");return o?c==="name"&&this.a===0?this.toName():this.toRgbString():(c==="rgb"&&(n=this.toRgbString()),c==="prgb"&&(n=this.toPercentageRgbString()),(c==="hex"||c==="hex6")&&(n=this.toHexString()),c==="hex3"&&(n=this.toHexString(true)),c==="hex4"&&(n=this.toHex8String(true)),c==="hex8"&&(n=this.toHex8String()),c==="name"&&(n=this.toName()),c==="hsl"&&(n=this.toHslString()),c==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},t.prototype.toNumber=function(){return (Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(c){c===void 0&&(c=10);var e=this.toHsl();return e.l+=c/100,e.l=u2(e.l),new t(e)},t.prototype.brighten=function(c){c===void 0&&(c=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(c/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(c/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(c/100)))),new t(e)},t.prototype.darken=function(c){c===void 0&&(c=10);var e=this.toHsl();return e.l-=c/100,e.l=u2(e.l),new t(e)},t.prototype.tint=function(c){return c===void 0&&(c=10),this.mix("white",c)},t.prototype.shade=function(c){return c===void 0&&(c=10),this.mix("black",c)},t.prototype.desaturate=function(c){c===void 0&&(c=10);var e=this.toHsl();return e.s-=c/100,e.s=u2(e.s),new t(e)},t.prototype.saturate=function(c){c===void 0&&(c=10);var e=this.toHsl();return e.s+=c/100,e.s=u2(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(c){var e=this.toHsl(),n=(e.h+c)%360;return e.h=n<0?360+n:n,new t(e)},t.prototype.mix=function(c,e){e===void 0&&(e=50);var n=this.toRgb(),i=new t(c).toRgb(),o=e/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new t(a)},t.prototype.analogous=function(c,e){c===void 0&&(c=6),e===void 0&&(e=30);var n=this.toHsl(),i=360/e,o=[this];for(n.h=(n.h-(i*c>>1)+720)%360;--c;)n.h=(n.h+i)%360,o.push(new t(n));return o},t.prototype.complement=function(){var c=this.toHsl();return c.h=(c.h+180)%360,new t(c)},t.prototype.monochromatic=function(c){c===void 0&&(c=6);for(var e=this.toHsv(),n=e.h,i=e.s,o=e.v,a=[],r=1/c;c--;)a.push(new t({h:n,s:i,v:o})),o=(o+r)%1;return a},t.prototype.splitcomplement=function(){var c=this.toHsl(),e=c.h;return [this,new t({h:(e+72)%360,s:c.s,l:c.l}),new t({h:(e+216)%360,s:c.s,l:c.l})]},t.prototype.onBackground=function(c){var e=this.toRgb(),n=new t(c).toRgb(),i=e.a+n.a*(1-e.a);return new t({r:(e.r*e.a+n.r*n.a*(1-e.a))/i,g:(e.g*e.a+n.g*n.a*(1-e.a))/i,b:(e.b*e.a+n.b*n.a*(1-e.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(c){for(var e=this.toHsl(),n=e.h,i=[this],o=360/c,a=1;a<c;a++)i.push(new t({h:(n+a*o)%360,s:e.s,l:e.l}));return i},t.prototype.equals=function(c){return this.toRgbString()===new t(c).toRgbString()},t})();var $n$1=["success","processing","error","default","warning"],qn$1=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function Bl$1(t){return qn$1.indexOf(t)!==-1}function _l$1(t){return $n$1.indexOf(t)!==-1}var C3=2,rt=.16,Gn$2=.05,Wn$1=.05,Yn=.15,ft=5,vt=4,Zn$2=[{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 lt$1({r:t,g:c,b:e}){let n=f2(t,c,e);return {h:n.h*360,s:n.s,v:n.v}}function H3({r:t,g:c,b:e}){return `#${v2(t,c,e,false)}`}function Xn$1(t,c,e){let n=e/100;return {r:(c.r-t.r)*n+t.r,g:(c.g-t.g)*n+t.g,b:(c.b-t.b)*n+t.b}}function ht(t,c,e){let n;return Math.round(t.h)>=60&&Math.round(t.h)<=240?n=e?Math.round(t.h)-C3*c:Math.round(t.h)+C3*c:n=e?Math.round(t.h)+C3*c:Math.round(t.h)-C3*c,n<0?n+=360:n>=360&&(n-=360),n}function ut(t,c,e){if(t.h===0&&t.s===0)return t.s;let n;return e?n=t.s-rt*c:c===vt?n=t.s+rt:n=t.s+Gn$2*c,n>1&&(n=1),e&&c===ft&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function dt$1(t,c,e){let n;return e?n=t.v+Wn$1*c:n=t.v-Yn*c,n>1&&(n=1),Number(n.toFixed(2))}function Y6(t,c={}){let e=[],n=_1(t);for(let i=ft;i>0;i-=1){let o=lt$1(n),a=H3(_1({h:ht(o,i,true),s:ut(o,i,true),v:dt$1(o,i,true)}));e.push(a);}e.push(H3(n));for(let i=1;i<=vt;i+=1){let o=lt$1(n),a=H3(_1({h:ht(o,i),s:ut(o,i),v:dt$1(o,i)}));e.push(a);}return c.theme==="dark"?Zn$2.map(({index:i,opacity:o})=>H3(Xn$1(_1(c.backgroundColor||"#141414"),_1(e[i]),o*100))):e}var Kn$1=new A$4("");var Jn$1=`-ant-${Date.now()}-${Math.random()}`;function Qn$1(t,c){let e={},n=(a,r)=>{let s=a.clone();return s=r?.(s)||s,s.toRgbString()},i=(a,r)=>{let s=new y3(a),l=Y6(s.toRgbString());e[`${r}-color`]=n(s),e[`${r}-color-disabled`]=l[1],e[`${r}-color-hover`]=l[4],e[`${r}-color-active`]=l[7],e[`${r}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),e[`${r}-color-deprecated-bg`]=l[1],e[`${r}-color-deprecated-border`]=l[3];};if(c.primaryColor){i(c.primaryColor,"primary");let a=new y3(c.primaryColor),r=Y6(a.toRgbString());r.forEach((l,u)=>{e[`primary-${u+1}`]=l;}),e["primary-color-deprecated-l-35"]=n(a,l=>l.lighten(35)),e["primary-color-deprecated-l-20"]=n(a,l=>l.lighten(20)),e["primary-color-deprecated-t-20"]=n(a,l=>l.tint(20)),e["primary-color-deprecated-t-50"]=n(a,l=>l.tint(50)),e["primary-color-deprecated-f-12"]=n(a,l=>l.setAlpha(l.getAlpha()*.12));let s=new y3(r[0]);e["primary-color-active-deprecated-f-30"]=n(s,l=>l.setAlpha(l.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=n(s,l=>l.darken(2));}return c.successColor&&i(c.successColor,"success"),c.warningColor&&i(c.warningColor,"warning"),c.errorColor&&i(c.errorColor,"error"),c.infoColor&&i(c.infoColor,"info"),`
7
+ :root {
8
+ ${Object.keys(e).map(a=>`--${t}-${a}: ${e[a]};`).join(`
9
+ `)}
10
+ }
11
+ `.trim()}function mt(t,c,e){let n=Qn$1(t,c);I6()?tt(n,`${Jn$1}-dynamic-theme`,{cspNonce:e}):r2("NzConfigService: SSR do not support dynamic theme with css variables.");}function gt(t){return t!==void 0}var pt="ant",E3=(()=>{class t{configUpdated$=new re$2;_configMap=new Map;config=C$1(Kn$1,{optional:true})||{};cspNonce=C$1(zm$1,{optional:true});constructor(){this.config.theme&&mt(this.getConfig().prefixCls?.prefixCls||pt,this.config.theme,this.cspNonce);}_getConfigValue(e){let n=this._configMap.get(e);return n||(n=qo(this.config[e]),this._configMap.set(e,n),n)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(sn$3(n=>n===e),Se$3(()=>{}))}set(e,n){this.config[e]=r$1(r$1({},this.config[e]),n),this._configMap.get(e)?.set(this.config[e]),e==="theme"&&this.config.theme&&mt(this.getConfig().prefixCls?.prefixCls||pt,this.config.theme,this.cspNonce),this.configUpdated$.next(e);}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zt$1(t,c){let e=C$1(at$1),n=C$1(E3),i=null,o=Xf(()=>{i=n.getConfigChangeEventForComponent(t).pipe(ue$1(e)).subscribe(c);});return ()=>{o.destroy(),i?.unsubscribe();}}function Yl$1(){return function(t,c){c.addInitializer(function(){let e=C$1(E3),n=this[c.name],i,o=false;Object.defineProperty(this,c.name,{get:()=>{let a=e.getConfigForComponent(this._nzModuleName)?.[c.name];return o?i:gt(a)?a:n},set:a=>{o=gt(a),i=a;},enumerable:true,configurable:true});});}}var Kl$1={name:"api",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z" /></svg>'};var Jl={name:"appstore",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z" /></svg>'};var Ql$1={name:"api",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z" /></svg>'};var eh$1={name:"appstore",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z" /></svg>'};var Mt$1={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 th$1={name:"branches",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var wt$2={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 bt$2={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 yt$1={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>'},Ct$1={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 Ht$2={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>'},Et$2={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 Vt$1={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 Dt$3={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 St$2={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 Lt$2={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 xt$2={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 Tt$3={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 At$1={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 Rt$2={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>'},ch$1={name:"database",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z" /></svg>'};var nh$1={name:"database",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},ih$1={name:"deployment-unit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z" /></svg>'};var Ot$2={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 Bt$2={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 _t={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 Ft$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 It$2={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 Pt$3={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 Nt$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 kt$2={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 Ut$2={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 jt$2={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 $t$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 oh$1={name:"file-text",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 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z" /></svg>'};var ah$1={name:"file-text",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.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z" /></svg>'};var qt$2={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 sh$1={name:"holder",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /></svg>'};var Gt$2={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 Wt$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 Yt$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 Zt$2={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 rh$1={name:"moon",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z" /></svg>'};var Xt$2={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 lh$1={name:"partition",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z" /></svg>'};var Kt$2={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 Jt$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 Qt$2={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>'},e5={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 hh$1={name:"setting",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z" /></svg>'};var t5={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 uh$1={name:"setting",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /></svg>'};var Z6={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 dh$1={name:"sun",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z" /></svg>'};var c5={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 n5={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 fh$1={name:"tag",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z" /></svg>'};var vh={name:"tag",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" /></svg>'};var mh$1={name:"thunderbolt",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z" /></svg>'};var gh$1={name:"thunderbolt",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z" /></svg>'};var i5={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 o5={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 a5={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 s5={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 r5={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 ei$1=[Mt$1,wt$2,Ct$1,Et$2,bt$2,yt$1,Dt$3,Ht$2,Vt$1,Lt$2,xt$2,St$2,Tt$3,At$1,Rt$2,Bt$2,Ot$2,_t,It$2,Ft$1,Nt$1,Pt$3,Ut$2,kt$2,jt$2,$t$1,qt$2,Gt$2,Wt$1,Yt$1,Zt$2,Xt$2,Kt$2,Jt$1,e5,Qt$2,Z6,t5,Z6,i5,a5,o5,n5,c5,s5,r5],h5=new A$4("");var l5="#1890ff",u5=(()=>{class t extends G0{nzConfigService=C$1(E3);platform=C$1(k6);configUpdated$=new re$2;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:n}=e;if(this.document&&!this.iconfontCache.has(n)){let i=this.renderer.createElement("script");this.renderer.setAttribute(i,"src",n),this.renderer.setAttribute(i,"data-namespace",n.replace(/^(https?|http):/g,"")),this.renderer.appendChild(this.document.body,i),this.iconfontCache.add(n);}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}constructor(){super(),this.addIcon(...ei$1,...C$1(h5,{optional:true})||[]),this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme();}onConfigChange(){zt$1("icon",()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next();});}configDefaultTheme(){let e=this.getConfig();this.defaultTheme=e.nzTheme||"outline";}configDefaultTwotoneColor(){let n=this.getConfig().nzTwotoneColor||l5,i=l5;(n.startsWith("#")?i=n:r2("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:i};}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),d5=new A$4("nz_icons_patch"),f5=(()=>{class t{extraIcons=C$1(d5,{self:true});rootIconService=C$1(u5);patched=false;doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=true);}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),Th$1=(()=>{class t extends M3{ngZone=C$1(oe$1);changeDetectorRef=C$1(Z0$1);destroyRef=C$1(at$1);pendingTasks=C$1(ma);isBrowser=S2(C$1(Wm));el=C$1(_r$1).nativeElement;renderer=C$1(XI);iconService=C$1(u5);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=Uw(()=>{let e=this.nzType(),n=this.nzSpin(),i=["anticon"];return e&&i.push(`anticon-${e}`),(n||e==="loading")&&i.push("anticon-spin"),i});get selfRenderMeta(){return {type:this.nzType(),theme:this.nzTheme(),twoToneColor:this.nzTwotoneColor()}}constructor(){super(),C$1(f5,{optional:true})?.doPatch();let e=false;id$1(()=>{this.nzType(),this.nzTwotoneColor(),this.nzTheme(),this.nzType()?(e=true,this.ngZone.runOutsideAngular(()=>this.changeIcon2())):e&&(e=false,this._clearSVGElement());}),id$1(()=>{this.nzRotate(),this.handleRotate(this.el.firstChild);}),id$1(()=>{let n=this.nzIconfont();n&&this._setSVGElement(this.iconService.createIconfontIcon(`#${n}`));});}ngAfterContentChecked(){if(!this.nzType()){let e=this.el.children;for(let n=e.length-1;n>=0;n--){let i=e[n];i.tagName.toLowerCase()==="svg"&&this.iconService.normalizeSvgElement(i);}}}changeIcon2(){let e=this.pendingTasks.add();Q0(this._changeIcon()).pipe(Bl$2(0,this.isBrowser?Og:kg),ue$1(this.destroyRef),Gl$1(e)).subscribe({next:i=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),i&&(this.setSVGData(i),this.handleRotate(i));});},error:r2});}handleRotate(e){if(!e)return;let n=this.nzRotate();n?this.renderer.setAttribute(e,"style",`transform: rotate(${n}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(n){return new(n||t)};static \u0275dir=eD({type:t,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:["role","img"],hostVars:3,hostBindings:function(n,i){n&2&&(ch$2("aria-label",i.nzType()),lw(i.hostClass()));},inputs:{nzType:[1,"nzType"],nzTheme:[1,"nzTheme"],nzTwotoneColor:[1,"nzTwotoneColor"],nzSpin:[1,"nzSpin"],nzRotate:[1,"nzRotate"],nzIconfont:[1,"nzIconfont"]},exportAs:["nzIcon"],features:[th$2]})}return t})(),ti$1=t=>wu$1([{provide:h5,useValue:t}]),ci$1=t=>[f5,{provide:d5,useValue:t}],Ah$1=(()=>{class t{static forRoot(e){return {ngModule:t,providers:[ti$1(e)]}}static forChild(e){return {ngModule:t,providers:[ci$1(e)]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=KE({type:t});static \u0275inj=fu$1({})}return t})();var za=(()=>{class r{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n;}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n);}registerOnTouched(e){this.onTouched=e;}registerOnChange(e){this.onChange=e;}setDisabledState(e){this.setProperty("disabled",e);}static \u0275fac=function(n){return new(n||r)(kr$1(XI),kr$1(_r$1))};static \u0275dir=eD({type:r})}return r})(),Bi$1=(()=>{class r extends za{static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,features:[th$2]})}return r})(),St$1=new A$4(""),_c={provide:St$1,useExisting:wo$1(()=>Cc),multi:true},Cc=(()=>{class r extends Bi$1{writeValue(e){this.setProperty("checked",e);}static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,selectors:[["input","type","checkbox","formControlName","",3,"ngNoCva",""],["input","type","checkbox","formControl","",3,"ngNoCva",""],["input","type","checkbox","ngModel","",3,"ngNoCva",""]],hostBindings:function(n,i){n&1&&mh$2("change",function(a){return i.onChange(a.target.checked)})("blur",function(){return i.onTouched()});},standalone:false,features:[Nw([_c]),th$2]})}return r})(),kc={provide:St$1,useExisting:wo$1(()=>er),multi:true};function Sc(){let r=z1()?z1().getUserAgent():"";return /android (\d+)/.test(r.toLowerCase())}var Ui$1=new A$4(""),er=(()=>{class r extends za{_compositionMode;_composing=false;constructor(e,n,i){super(e,n),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!Sc());}writeValue(e){let n=e??"";this.setProperty("value",n);}_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(n){return new(n||r)(kr$1(XI),kr$1(_r$1),kr$1(Ui$1,8))};static \u0275dir=eD({type:r,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(n,i){n&1&&mh$2("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)});},standalone:false,features:[Nw([kc]),th$2]})}return r})();function Wi$1(r){return r==null||Ki$1(r)===0}function Ki$1(r){return r==null?null:Array.isArray(r)||typeof r=="string"?r.length:r instanceof Set?r.size:null}var un$2=new A$4(""),Aa=new A$4(""),bc=/^(?=.{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])?)*$/,Ai$1=class Ai{static min(t){return Ia(t)}static max(t){return Pc(t)}static required(t){return Na(t)}static requiredTrue(t){return Dc(t)}static email(t){return xc(t)}static minLength(t){return wc(t)}static maxLength(t){return Va(t)}static pattern(t){return Tc(t)}static nullValidator(t){return Gn$1()}static compose(t){return Ua(t)}static composeAsync(t){return Ka(t)}};function Ia(r){return t=>{if(t.value==null||r==null)return null;let e=parseFloat(t.value);return !isNaN(e)&&e<r?{min:{min:r,actual:t.value}}:null}}function Pc(r){return t=>{if(t.value==null||r==null)return null;let e=parseFloat(t.value);return !isNaN(e)&&e>r?{max:{max:r,actual:t.value}}:null}}function Na(r){return Wi$1(r.value)?{required:true}:null}function Dc(r){return r.value===true?null:{required:true}}function xc(r){return Wi$1(r.value)||bc.test(r.value)?null:{email:true}}function wc(r){return t=>{let e=t.value?.length??Ki$1(t.value);return e===null||e===0?null:e<r?{minlength:{requiredLength:r,actualLength:e}}:null}}function Va(r){return t=>{let e=t.value?.length??Ki$1(t.value);return e!==null&&e>r?{maxlength:{requiredLength:r,actualLength:e}}:null}}function Tc(r){if(!r)return Gn$1;let t,e;return typeof r=="string"?(e="",r.charAt(0)!=="^"&&(e+="^"),e+=r,r.charAt(r.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=r.toString(),t=r),n=>{if(Wi$1(n.value))return null;let i=n.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function Gn$1(r){return null}function Ra(r){return r!=null}function ja(r){return Zc$2(r)?Me$3(r):r}function La(r){let t={};return r.forEach(e=>{t=e!=null?r$1(r$1({},t),e):t;}),Object.keys(t).length===0?null:t}function Ha(r,t){return t.map(e=>e(r))}function Mc(r){return !r.validate}function Ba(r){return r.map(t=>Mc(t)?t:e=>t.validate(e))}function Ua(r){if(!r)return null;let t=r.filter(Ra);return t.length==0?null:function(e){return La(Ha(e,t))}}function Wa(r){return r!=null?Ua(Ba(r)):null}function Ka(r){if(!r)return null;let t=r.filter(Ra);return t.length==0?null:function(e){let n=Ha(e,t).map(ja);return Ng(n).pipe(Se$3(La))}}function qa(r){return r!=null?Ka(Ba(r)):null}function xa(r,t){return r===null?[t]:Array.isArray(r)?[...r,t]:[r,t]}function Ga(r){return r._rawValidators}function Za(r){return r._rawAsyncValidators}function Ii$1(r){return r?Array.isArray(r)?r:[r]:[]}function Zn$1(r,t){return Array.isArray(r)?r.includes(t):r===t}function wa(r,t){let e=Ii$1(t);return Ii$1(r).forEach(i=>{Zn$1(e,i)||e.push(i);}),e}function Ta(r,t){return Ii$1(t).filter(e=>!Zn$1(r,e))}var $n=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=Wa(this._rawValidators);}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=qa(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}},Ni$1=class Ni extends $n{name;get formDirective(){return null}get path(){return null}};var ln$2="VALID",Kn="INVALID",jt$1="PENDING",sn$1="DISABLED",Ct=class{},Qn=class extends Ct{value;source;constructor(t,e){super(),this.value=t,this.source=e;}},cn$1=class cn extends Ct{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e;}},dn$2=class dn extends Ct{touched;source;constructor(t,e){super(),this.touched=t,this.source=e;}},Lt$1=class Lt extends Ct{status;source;constructor(t,e){super(),this.status=t,this.source=e;}};var kt$1=class kt extends Ct{source;constructor(t){super(),this.source=t;}};function qi$1(r){return (tr(r)?r.validators:r)||null}function Yc(r){return Array.isArray(r)?Wa(r):r||null}function Gi$1(r,t){return (tr(t)?t.asyncValidators:r)||null}function Oc(r){return Array.isArray(r)?qa(r):r||null}function tr(r){return r!=null&&!Array.isArray(r)&&typeof r=="object"}function $a(r,t,e){let n=r.controls;if(!(t?Object.keys(n):n).length)throw new _$2(1e3,"");if(!Xa(n,e))throw new _$2(1001,"")}function Qa(r,t,e){r._forEachChild((n,i)=>{if(e[i]===void 0)throw new _$2(-1002,"")});}var Ht$1=class Ht{_pendingDirty=false;_hasOwnPendingAsyncValidator=null;_pendingTouched=false;_onCollectionChange=()=>{};_updateOn;_hasRequired=qo(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 qw(this.statusReactive)}set status(t){qw(()=>this.statusReactive.set(t));}_status=Uw(()=>this.statusReactive());statusReactive=qo(void 0);get valid(){return this.status===ln$2}get invalid(){return this.status===Kn}get pending(){return this.status===jt$1}get disabled(){return this.status===sn$1}get enabled(){return this.status!==sn$1}errors;get pristine(){return qw(this.pristineReactive)}set pristine(t){qw(()=>this.pristineReactive.set(t));}_pristine=Uw(()=>this.pristineReactive());pristineReactive=qo(true);get dirty(){return !this.pristine}get touched(){return qw(this.touchedReactive)}set touched(t){qw(()=>this.touchedReactive.set(t));}_touched=Uw(()=>this.touchedReactive());touchedReactive=qo(false);get untouched(){return !this.touched}_events=new re$2;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(wa(t,this._rawValidators));}addAsyncValidators(t){this.setAsyncValidators(wa(t,this._rawAsyncValidators));}removeValidators(t){this.setValidators(Ta(t,this._rawValidators));}removeAsyncValidators(t){this.setAsyncValidators(Ta(t,this._rawAsyncValidators));}hasValidator(t){return Zn$1(this._rawValidators,t)}hasAsyncValidator(t){return Zn$1(this._rawAsyncValidators,t)}clearValidators(){this.validator=null;}clearAsyncValidators(){this.asyncValidator=null;}markAsTouched(t={}){let e=this.touched===false;this.touched=true;let n=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched(s(r$1({},t),{sourceControl:n})),e&&t.emitEvent!==false&&this._events.next(new dn$2(true,n));}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 n=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:true,emitEvent:t.emitEvent,sourceControl:n});}),t.onlySelf||this._parent?._updateTouched(t,n),e&&t.emitEvent!==false&&this._events.next(new dn$2(false,n));}markAsDirty(t={}){let e=this.pristine===true;this.pristine=false;let n=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty(s(r$1({},t),{sourceControl:n})),e&&t.emitEvent!==false&&this._events.next(new cn$1(false,n));}markAsPristine(t={}){let e=this.pristine===false;this.pristine=true,this._pendingDirty=false;let n=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:true,emitEvent:t.emitEvent});}),t.onlySelf||this._parent?._updatePristine(t,n),e&&t.emitEvent!==false&&this._events.next(new cn$1(true,n));}markAsPending(t={}){this.status=jt$1;let e=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new Lt$1(this.status,e)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending(s(r$1({},t),{sourceControl:e}));}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=sn$1,this.errors=null,this._forEachChild(i=>{i.disable(s(r$1({},t),{onlySelf:true}));}),this._updateValue();let n=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new Qn(this.value,n)),this._events.next(new Lt$1(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(s(r$1({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(true));}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=ln$2,this._forEachChild(n=>{n.enable(s(r$1({},t),{onlySelf:true}));}),this.updateValueAndValidity({onlySelf:true,emitEvent:t.emitEvent}),this._updateAncestors(s(r$1({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(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 n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ln$2||this.status===jt$1)&&this._runAsyncValidator(n,t.emitEvent);}let e=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new Qn(this.value,e)),this._events.next(new Lt$1(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity(s(r$1({},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()?sn$1:ln$2;}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=jt$1,this._hasOwnPendingAsyncValidator={emitEvent:e!==false,shouldHaveEmitted:t!==false};let n=ja(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{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((n,i)=>n&&n._find(i),this)}getError(t,e){let n=e?this.get(e):this;return n?.errors?n.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,n){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||n)&&this._events.next(new Lt$1(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,n);}_initObservables(){this.valueChanges=new Le$4,this.statusChanges=new Le$4;}_calculateStatus(){return this._allControlsDisabled()?sn$1:this.errors?Kn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(jt$1)?jt$1:this._anyControlsHaveStatus(Kn)?Kn:ln$2}_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 n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,t.onlySelf||this._parent?._updatePristine(t,e),i&&this._events.next(new cn$1(this.pristine,e));}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new dn$2(this.touched,e)),t.onlySelf||this._parent?._updateTouched(t,e);}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t;}_setUpdateStrategy(t){tr(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=Yc(this._rawValidators),this._updateHasRequiredValidator();}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Oc(this._rawAsyncValidators);}_updateHasRequiredValidator(){qw(()=>this._hasRequired.set(this.hasValidator(Ai$1.required)));}};function Xa(r,t){return Object.hasOwn(r,t)}function Ec(r){return r.tagName==="INPUT"||r.tagName==="SELECT"||r.tagName==="TEXTAREA"}function Fc(r,t,e,n){switch(e){case "name":r.setAttribute(t,e,n);break;case "disabled":case "readonly":case "required":n?r.setAttribute(t,e,""):r.removeAttribute(t,e);break;case "max":case "min":case "minLength":case "maxLength":n!==void 0?r.setAttribute(t,e,n.toString()):r.removeAttribute(t,e);break}}var Vi$1=class Vi{kind;context;control;message;constructor({kind:t,context:e,control:n}){this.kind=t,this.context=e,this.control=n;}};function zc(r){return typeof r=="number"?r:parseInt(r,10)}function Ac(r){return typeof r=="number"?r:parseFloat(r)}var Zi$1=(()=>{class r{_validator=Gn$1;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):Gn$1,this._onChange?.();}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e;}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,features:[ly]})}return r})();var Ic={provide:un$2,useExisting:wo$1(()=>Nc),multi:true},Nc=(()=>{class r extends Zi$1{min;inputName="min";normalizeInput=e=>Ac(e);createValidator=e=>Ia(e);static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,i){n&2&&ch$2("min",i._enabled?i.min:null);},inputs:{min:"min"},standalone:false,features:[Nw([Ic]),th$2]})}return r})(),Vc={provide:un$2,useExisting:wo$1(()=>Ja),multi:true};var Ja=(()=>{class r extends Zi$1{required;inputName="required";normalizeInput=K0$1;createValidator=e=>Na;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,i){n&2&&ch$2("required",i._enabled?"":null);},inputs:{required:"required"},standalone:false,features:[Nw([Vc]),th$2]})}return r})();var Rc={provide:un$2,useExisting:wo$1(()=>jc),multi:true},jc=(()=>{class r extends Zi$1{maxlength;inputName="maxlength";normalizeInput=e=>zc(e);createValidator=e=>Va(e);static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,i){n&2&&ch$2("maxlength",i._enabled?i.maxlength:null);},inputs:{maxlength:"maxlength"},standalone:false,features:[Nw([Rc]),th$2]})}return r})();var Lc=new A$4(""),nr=new A$4("",{factory:()=>rr}),rr="always";function Hc(r,t){return [...t.path,r]}function Ri$1(r,t,e=rr){Uc(r,t),t.valueAccessor.writeValue(r.value),(r.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(r.disabled),Kc(r,t),Gc(r,t),qc(r,t),Bc(r,t);}function Ma(r,t,e=true){let n=()=>{};t?.valueAccessor?.registerOnChange(n),t?.valueAccessor?.registerOnTouched(n),Wc(r,t),r&&(t._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}));}function Xn(r,t){r.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t);});}function Bc(r,t){if(t.valueAccessor.setDisabledState){let e=n=>{t.valueAccessor.setDisabledState(n);};r.registerOnDisabledChange(e),t._registerOnDestroy(()=>{r._unregisterOnDisabledChange(e);});}}function Uc(r,t){let e=Ga(r);t.validator!==null?r.setValidators(xa(e,t.validator)):typeof e=="function"&&r.setValidators([e]);let n=Za(r);t.asyncValidator!==null?r.setAsyncValidators(xa(n,t.asyncValidator)):typeof n=="function"&&r.setAsyncValidators([n]);let i=()=>r.updateValueAndValidity();Xn(t._rawValidators,i),Xn(t._rawAsyncValidators,i);}function Wc(r,t){let e=false;if(r!==null){if(t.validator!==null){let i=Ga(r);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.validator);o.length!==i.length&&(e=true,r.setValidators(o));}}if(t.asyncValidator!==null){let i=Za(r);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.asyncValidator);o.length!==i.length&&(e=true,r.setAsyncValidators(o));}}}let n=()=>{};return Xn(t._rawValidators,n),Xn(t._rawAsyncValidators,n),e}function Kc(r,t){t.valueAccessor.registerOnChange(e=>{r._pendingValue=e,r._pendingChange=true,r._pendingDirty=true,r.updateOn==="change"&&el(r,t);});}function qc(r,t){t.valueAccessor.registerOnTouched(()=>{r._pendingTouched=true,r.updateOn==="blur"&&r._pendingChange&&el(r,t),r.updateOn!=="submit"&&r.markAsTouched();});}function el(r,t){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:false}),t.viewToModelUpdate(r._pendingValue),r._pendingChange=false;}function Gc(r,t){let e=(n,i)=>{t.valueAccessor.writeValue(n),i&&t.viewToModelUpdate(n);};r.registerOnChange(e),t._registerOnDestroy(()=>{r._unregisterOnChange(e);});}function tl(r,t){if(!r.hasOwnProperty("model"))return false;let e=r.model;return e.isFirstChange()?true:!Object.is(t,e.currentValue)}function Zc(r){return Object.getPrototypeOf(r.constructor)===Bi$1}function $c(r,t){if(!t)return null;let e,n,i;return t.forEach(o=>{o.constructor===er?e=o:Zc(o)?n=o:i=o;}),i||n||e||null}var nl={provide:Lc,useFactory:()=>{let r=C$1(lt,{self:true});return {setParseErrors:t=>{r.setParseErrorSource(t);},set onReset(t){r.onReset=t;}}}},lt=class extends $n{_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 kt$1&&this.control&&this.userOnReset?.(this.control.value);}),this.subscription?.add(this.resetSubscription));}isNativeFormElement=false;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=$c(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(t,e,n){super(),this.injector=t,this.renderer=e,this.rawValueAccessors=n,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$2,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(n=>{n instanceof kt$1&&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(i=>{this.control?.setValue(i,{emitModelToViewChange:false}),this.control?.markAsDirty(),this.viewToModelUpdate(i);}),t.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched();}),this.customControlBindings={},this.isNativeFormElement=Ec(t.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(i=>i instanceof Ja));}ngControlUpdate(t,e){if(!this.isCustomControlBased)return;let n=this.control,i=this.customControlBindings;Object.is(i.value,n.value)||(i.value=n.value,t.setCustomControlModelInput(n.value)),this.bindControlProperty(t,i,"touched",n.touched),this.bindControlProperty(t,i,"dirty",n.dirty),this.bindControlProperty(t,i,"valid",n.valid),this.bindControlProperty(t,i,"invalid",n.invalid),this.bindControlProperty(t,i,"pending",n.pending),this.bindControlProperty(t,i,"disabled",n.disabled),this.shouldBindRequired&&this.bindControlProperty(t,i,"required",this.isRequired);let o=n.errors;if(i.errors!==o){i.errors=o;let a=this._convertErrors(o);t.setInputOnDirectives("errors",a);}}get isRequired(){return (this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??false}get shouldBindRequired(){return true}bindControlProperty(t,e,n,i){if(e[n]===i)return;e[n]=i;let o=t.setInputOnDirectives(n,i);this.isNativeFormElement&&!o&&(n==="disabled"||n==="required")&&this.renderer&&Fc(this.renderer,t.nativeElement,n,i);}_convertErrors(t){if(t===null)return [];let e=this.control;return Object.entries(t).map(([n,i])=>new Vi$1({context:i,kind:n,control:e}))}setParseErrorSource(t){if(t===void 0)return;let e=null,n=Uw(()=>{let i=t();return i.length===0?null:i.reduce((o,a)=>(o[a.kind]=a,o),{})});this.parseErrorsValidator=(()=>e).bind(this),id$1(()=>{e=n(),this.control?.updateValueAndValidity({emitEvent:false});},{injector:this.injector});}removeParseErrorsValidator(t){this.parseErrorsValidator&&(t?.removeValidators(this.parseErrorsValidator),t?.updateValueAndValidity({emitEvent:false}));}},ji$1=class ji{_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 rl=(()=>{class r extends ji$1{constructor(e){super(e);}static \u0275fac=function(n){return new(n||r)(kr$1(lt,2))};static \u0275dir=eD({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,i){n&2&&Sh$1("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending);},standalone:false,features:[th$2]})}return r})();var Jn=class extends Ht$1{constructor(t,e,n){super(qi$1(e),Gi$1(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator});}controls;registerControl(t,e){let n=this._find(t);return n||(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange();}removeControl(t,e={}){let n=this._find(t);n&&n._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}setControl(t,e,n={}){let i=this._find(t);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange();}contains(t){return this._find(t)?.enabled===true}setValue(t,e={}){qw(()=>{Qa(this,true,t),Object.keys(t).forEach(n=>{$a(this,true,n),this.controls[n].setValue(t[n],{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);});}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(n=>{let i=this._find(n);i&&i.patchValue(t[n],{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t?t[i]:null,s(r$1({},e),{onlySelf:true}));}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==false&&this._events.next(new kt$1(this));}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(false,(e,n)=>n._syncPendingControls()?true:e);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&t(n,e);});}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);});}_updateValue(){this.value=this._reduceValue();}_anyControls(t){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return true;return false}_reduceValue(){let t={};return this._reduceChildren(t,(e,n,i)=>((n.enabled||this.disabled)&&(e[i]=n.value),e))}_reduceChildren(t,e){let n=t;return this._forEachChild((i,o)=>{n=e(n,i,o);}),n}_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 Xa(this.controls,t)?this.controls[t]:null}};var Li$1=class Li extends Jn{};function Ya(r,t){let e=r.indexOf(t);e>-1&&r.splice(e,1);}function Oa(r){return typeof r=="object"&&r!==null&&Object.keys(r).length===2&&"value"in r&&"disabled"in r}var qn=class extends Ht$1{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=false;constructor(t=null,e,n){super(qi$1(e),Gi$1(n,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator}),tr(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Oa(t)?this.defaultValue=t.value:this.defaultValue=t);}setValue(t,e={}){qw(()=>{this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==false&&this._onChange.forEach(n=>n(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 kt$1(this));}_updateValue(){}_anyControls(t){return false}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t);}_unregisterOnChange(t){Ya(this._onChange,t);}registerOnDisabledChange(t){this._onDisabledChange.push(t);}_unregisterOnDisabledChange(t){Ya(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){Oa(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 Qc={provide:lt,useExisting:wo$1(()=>$i$1)},Ea=Promise.resolve(),$i$1=(()=>{class r extends lt{_changeDetectorRef;callSetDisabledState;control=new qn;static ngAcceptInputType_isDisabled;_registered=false;viewModel;name="";isDisabled;model;options;update=new Le$4;constructor(e,n,i,o,a,s,u,p){super(u,p,o),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(i);}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)});}this._setUpControl();}"isDisabled"in e&&this._updateDisabled(e),tl(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,Ri$1(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:false});}_setupWithForm(e){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Ri$1(this.control,this,e));}_checkForErrors(){this._checkName();}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name;}_updateValue(e){Ea.then(()=>{this.control.setValue(e,{emitViewToModelChange:false}),this._changeDetectorRef?.markForCheck();});}_updateDisabled(e){let n=e.isDisabled.currentValue,i=n!==0&&K0$1(n);Ea.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck();});}_getPath(e){return this._parent?Hc(e,this._parent):[e]}static \u0275fac=function(n){return new(n||r)(kr$1(Ni$1,9),kr$1(un$2,10),kr$1(Aa,10),kr$1(St$1,10),kr$1(Z0$1,8),kr$1(nr,8),kr$1(Ee$3,8),kr$1(XI,8))};static \u0275dir=eD({type:r,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:[Nw([Qc,nl]),th$2,ly,rD(null)]})}return r})();var Xc={provide:St$1,useExisting:wo$1(()=>Jc),multi:true},Jc=(()=>{class r extends Bi$1{writeValue(e){let n=e??"";this.setProperty("value",n);}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n));};}static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,selectors:[["input","type","number","formControlName","",3,"ngNoCva",""],["input","type","number","formControl","",3,"ngNoCva",""],["input","type","number","ngModel","",3,"ngNoCva",""]],hostBindings:function(n,i){n&1&&mh$2("input",function(a){return i.onChange(a.target.value)})("blur",function(){return i.onTouched()});},standalone:false,features:[Nw([Xc]),th$2]})}return r})();var Hi$1=class Hi extends Ht$1{constructor(t,e,n){super(qi$1(e),Gi$1(n,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(n=>{this.controls.push(n),this._registerControl(n);}):(this.controls.push(t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent});}removeAt(t,e={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent});}setControl(t,e,n={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange();}get length(){return this.controls.length}setValue(t,e={}){qw(()=>{Qa(this,false,t),t.forEach((n,i)=>{$a(this,false,i),this.at(i).setValue(n,{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);});}patchValue(t,e={}){t!=null&&(t.forEach((n,i)=>{this.at(i)&&this.at(i).patchValue(n,{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],s(r$1({},e),{onlySelf:true}));}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==false&&this._events.next(new kt$1(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,n)=>n._syncPendingControls()?true:e,false);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n);});}_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 il=new A$4(""),ed={provide:lt,useExisting:wo$1(()=>td)},td=(()=>{class r extends lt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new Le$4;static _ngModelWarningSentOnce=false;_ngModelWarningSent=false;constructor(e,n,i,o,a,s,u){super(u,s,i),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(n);}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&(Ma(n,this,false),this.removeParseErrorsValidator(n)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Ri$1(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:false});}tl(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.form&&Ma(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(n){return new(n||r)(kr$1(un$2,10),kr$1(Aa,10),kr$1(St$1,10),kr$1(il,8),kr$1(nr,8),kr$1(XI,8),kr$1(Ee$3,8))};static \u0275dir=eD({type:r,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:false,features:[Nw([ed,nl]),th$2,ly,rD(null)]})}return r})();var ol=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})();function Fa(r){return !!r&&(r.asyncValidators!==void 0||r.validators!==void 0||r.updateOn!==void 0)}var tp=(()=>{class r{useNonNullable=false;get nonNullable(){let e=new r;return e.useNonNullable=true,e}group(e,n=null){let i=this._reduceControls(e),o={};return Fa(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new Jn(i,o)}record(e,n=null){let i=this._reduceControls(e);return new Li$1(i,n)}control(e,n,i){let o={};return this.useNonNullable?(Fa(n)?o=n:(o.validators=n,o.asyncValidators=i),new qn(e,s(r$1({},o),{nonNullable:true}))):new qn(e,n,i)}array(e,n,i){let o=e.map(a=>this._createControl(a));return new Hi$1(o,n,i)}_reduceControls(e){let n={};return Object.keys(e).forEach(i=>{n[i]=this._createControl(e[i]);}),n}_createControl(e){if(e instanceof qn)return e;if(e instanceof Ht$1)return e;if(Array.isArray(e)){let n=e[0],i=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(n,i,o)}else return this.control(e)}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();var al=(()=>{class r{static withConfig(e){return {ngModule:r,providers:[{provide:nr,useValue:e.callSetDisabledState??rr}]}}static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({imports:[ol]})}return r})(),np=(()=>{class r{static withConfig(e){return {ngModule:r,providers:[{provide:il,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:nr,useValue:e.callSetDisabledState??rr}]}}static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({imports:[ol]})}return r})();var sp=(()=>{class r{elementRef=C$1(_r$1);renderer=C$1(XI);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(n){return new(n||r)};static \u0275dir=eD({type:r,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:[ly]})}return r})(),ll=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})();var Qi$1=class Qi{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,n,i,o){this.triggerElement=t,this.ngZone=e,this.insertExtraNode=n,this.platform=i,this.cspNonce=o,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=`
12
+ [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {
13
+ --antd-wave-shadow-color: ${e};
14
+ }`,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));}},rd={disabled:false},sl=new A$4("");function id(r){return wu$1([{provide:sl,useValue:r}])}var fp=(()=>{class r{nzWaveExtraNode=false;waveRenderer;waveDisabled=false;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=C$1(zm$1,{optional:true});platform=C$1(k6);config=C$1(sl,{optional:true});animationType=C$1(Gm,{optional:true});ngZone=C$1(oe$1);elementRef=C$1(_r$1);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 Qi$1(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(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return r})(),cl=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({providers:[id(rd)]})}return r})();var od=new A$4("cdk-dir-doc",{providedIn:"root",factory:()=>C$1(Uo)}),ad=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function dl(r){let t=r?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?ad.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Oe$1=(()=>{class r{get value(){return this.valueSignal()}valueSignal=qo("ltr");change=new Le$4;constructor(){let e=C$1(od,{optional:true});if(e){let n=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(dl(n||i||"ltr"));}}ngOnDestroy(){this.change.complete();}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();var hn$2=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})();function ld(r,t){r&1&&uh$2(0,"nz-icon",0),r&2&&lh$2("nzType",t);}var sd={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},mn$1="ant-form-item-feedback-icon",hl=(()=>{class r{status=q0$1("");iconType=Uw(()=>{let e=this.status();return e?sd[e]:null});class=Uw(()=>{let e=this.status();return {[mn$1]:true,[`${mn$1}-error`]:e==="error",[`${mn$1}-warning`]:e==="warning",[`${mn$1}-success`]:e==="success",[`${mn$1}-validating`]:e==="validating"}});static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-form-item-feedback-icon"]],hostVars:2,hostBindings:function(n,i){n&2&&lw(i.class());},inputs:{status:[1,"status"]},exportAs:["nzFormFeedbackIcon"],decls:1,vars:1,consts:[[3,"nzType"]],template:function(n,i){if(n&1&&_D(0,ld,1,1,"nz-icon",0),n&2){let o;MD((o=i.iconType())?0:-1,o);}},dependencies:[Ah$1,Th$1],encapsulation:2})}return r})(),Bt$1=new A$4(""),ml=(()=>{class r{formStatusChanges=new Ln$2(1);static \u0275fac=function(n){return new(n||r)};static \u0275prov=ie$1({token:r,factory:r.\u0275fac})}return r})(),pl=new A$4("");var Ee=(()=>{class r{viewContainer=C$1(Vi$2);templateRef=C$1(Er$1);embeddedViewRef=null;context=new Xi$1;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(e,n){return true}recreateView(){this.viewContainer.clear(),Ur$1(this.nzStringTemplateOutlet)?this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.templateRef,this.context);}updateContext(){let e=Ur$1(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,n=this.embeddedViewRef.context;if(e)for(let i of Object.keys(e))n[i]=e[i];}ngOnChanges(e){let{nzStringTemplateOutletContext:n,nzStringTemplateOutlet:i}=e,o=()=>{let s=false;return i&&(s=i.firstChange||Ur$1(i.previousValue)||Ur$1(i.currentValue)),n&&(f=>{let C=Object.keys(f.previousValue||{}),G=Object.keys(f.currentValue||{});if(C.length===G.length){for(let h of G)if(C.indexOf(h)===-1)return true;return false}else return true})(n)||s};i&&(this.context.$implicit=i.currentValue),o()?this.recreateView():this.updateContext();}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[ly]})}return r})(),Xi$1=class Xi{$implicit},st=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})();var gl=["*"],cd=r=>({$implicit:r});function dd(r,t){if(r&1&&Iw(0),r&2){let e=HD(3);Lh$1(e.nzSplit);}}function ud(r,t){if(r&1&&(_i$1(0,"span",2),rh$2(1,dd,1,1,"ng-template",3),Jc$2()),r&2){let e=HD().$index,n=HD();gI(),lh$2("nzStringTemplateOutlet",n.nzSplit)("nzStringTemplateOutletContext",Aw(2,cd,e));}}function hd(r,t){if(r&1&&(_i$1(0,"div",0),ph$1(1,1),Jc$2(),_D(2,ud,2,4,"span",2)),r&2){let e=t.$implicit,n=t.$index,i=t.$count,o=HD();gI(),lh$2("ngTemplateOutlet",e),gI(),MD(o.nzSplit&&n!==i-1?2:-1);}}var pn$1=new A$4(""),vl=new A$4(""),fn$2=new A$4(""),md=(()=>{class r{formSize=C$1(Bt$1,{optional:true});nzBlock=q0$1(false,{transform:K0$1});nzDirection=q0$1("horizontal");nzSize=q0$1("default");elementRef=C$1(_r$1);finalSize=Uw(()=>this.formSize?.()||this.nzSize());static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(n,i){n&2&&Sh$1("ant-space-compact-block",i.nzBlock())("ant-space-compact-vertical",i.nzDirection()==="vertical");},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[Nw([{provide:pn$1,useFactory:()=>C$1(r).finalSize},{provide:vl,useFactory:()=>qo([])}])],ngContentSelectors:gl,decls:1,vars:0,template:function(n,i){n&1&&($D(),UD(0));},encapsulation:2})}return r})(),ir=(()=>{class r{spaceCompactCmp=C$1(md,{host:true,optional:true});items=C$1(vl,{host:true,optional:true});type=C$1(fn$2);elementRef=C$1(_r$1);dir=C$1(Oe$1).valueSignal;get parentElement(){return this.elementRef.nativeElement?.parentElement}class=Uw(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;let e=this.items(),n=this.spaceCompactCmp.nzDirection(),i=[pd(this.type,n,this.dir()==="rtl")],o=e.indexOf(this),a=e.findIndex(s=>s);return o===a&&i.push(fd(this.type,n)),o===e.length-1&&i.push(gd(this.type,n)),i});constructor(){!this.spaceCompactCmp||!this.items||(Xf(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){let e=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(n=>{let i=n.slice();return i.splice(e,0,this),i});}}),C$1(at$1).onDestroy(()=>{this.items?.update(e=>e.filter(n=>n!==this));}));}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,hostVars:2,hostBindings:function(n,i){n&2&&lw(i.class());},exportAs:["nzSpaceCompactItem"]})}return r})();function eo(r,t,e){return `ant-${r}-compact-${t==="vertical"?"vertical-":""}${e}`}function pd(r,t,e){let n=e?"-rtl":"";return `${eo(r,t,"item")}${n}`}function fd(r,t){return eo(r,t,"first-item")}function gd(r,t){return eo(r,t,"last-item")}var vd=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","nzSpaceItem",""]]})}return r})(),yd="space",_d={small:8,middle:16,large:24};(()=>{let r,t=[],e=[];return class Ji{static{let i=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;r=[Yl$1()],mT(null,null,r,{kind:"field",name:"nzSize",static:false,private:false,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a;}},metadata:i},t,e),i&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:i});}_nzModuleName=yd;nzConfigService=C$1(E3);cdr=C$1(Z0$1);destroyRef=C$1(at$1);nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=false;nzSize=yT(this,t,"small");items=yT(this,e);mergedAlign;horizontalSize;verticalSize;constructor(){this.updateSpaceSize();}ngOnChanges(i){let{nzSize:o}=i;o&&this.updateSpaceSize(),this.mergedAlign=this.nzAlign===void 0&&this.nzDirection==="horizontal"?"center":this.nzAlign;}ngAfterContentInit(){this.items.changes.pipe(ue$1(this.destroyRef)).subscribe(()=>{this.cdr.markForCheck();});}updateSpaceSize(){let{horizontalSize:i,verticalSize:o}=Cd(this.nzSize);this.horizontalSize=i,this.verticalSize=o;}static \u0275fac=function(o){return new(o||Ji)};static \u0275cmp=ZE({type:Ji,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(o,a,s){if(o&1&&Ih$1(s,vd,4,Er$1),o&2){let u;WD(u=GD())&&(a.items=u);}},hostAttrs:[1,"ant-space"],hostVars:18,hostBindings:function(o,a){o&2&&(Mh$1("flex-wrap",a.nzWrap?"wrap":null)("column-gap",a.horizontalSize,"px")("row-gap",a.verticalSize,"px"),Sh$1("ant-space-horizontal",a.nzDirection==="horizontal")("ant-space-vertical",a.nzDirection==="vertical")("ant-space-align-start",a.mergedAlign==="start")("ant-space-align-end",a.mergedAlign==="end")("ant-space-align-center",a.mergedAlign==="center")("ant-space-align-baseline",a.mergedAlign==="baseline"));},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",K0$1],nzSize:"nzSize"},exportAs:["nzSpace"],features:[ly],ngContentSelectors:gl,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(o,a){o&1&&($D(),UD(0),xD(1,hd,3,2,null,null,ND)),o&2&&(gI(),AD(a.items));},dependencies:[w5,Ee],encapsulation:2})}})();function Cd(r){let[t,e]=(Array.isArray(r)?r:[r,r]).map(n=>typeof n=="number"?n:_d[n]);return {horizontalSize:t,verticalSize:e}}var kd=["*"];function Sd(r,t){r&1&&(_i$1(0,"span",0),uh$2(1,"nz-icon",1),Jc$2());}var _l="button",bd=(()=>{let r,t=[],e=[];return class to{static{let i=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;r=[Yl$1()],mT(null,null,r,{kind:"field",name:"nzSize",static:false,private:false,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a;}},metadata:i},t,e),i&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:i});}elementRef=C$1(_r$1);cdr=C$1(Z0$1);renderer=C$1(XI);destroyRef=C$1(at$1);dir=C$1(Oe$1).valueSignal;_nzModuleName=_l;nzIconDirectiveElement;nzBlock=false;nzGhost=false;nzLoading=false;nzDanger=false;disabled=false;tabIndex=null;nzType=null;nzShape=null;nzSize=yT(this,t,"default");elementOnly=(yT(this,e),qo(false));size=qo(this.nzSize);loading$=new re$2;formSize=C$1(Bt$1,{optional:true});compactSize=C$1(pn$1,{optional:true});finalSize=Uw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());iconDir=z0(Th$1);loadingIconDir=G0$1(Th$1);iconOnly=Uw(()=>this.elementOnly()&&(!!this.iconDir()||!!this.loadingIconDir()));constructor(){zt$1(_l,()=>{this.size.set(this.nzSize),this.cdr.markForCheck();}),Gv({read:()=>{let{children:i}=this.elementRef.nativeElement,o=Array.from(i).filter(a=>a.style.display!=="none");this.elementOnly.set(o.length===1);}});}ngOnInit(){this.size.set(this.nzSize),el$1(this.elementRef.nativeElement,"click",{capture:true}).pipe(ue$1(this.destroyRef)).subscribe(i=>{(this.disabled&&i.target?.tagName==="A"||this.nzLoading)&&(i.preventDefault(),i.stopImmediatePropagation());});}ngOnChanges({nzLoading:i,nzSize:o}){i&&this.loading$.next(this.nzLoading),o&&this.size.set(o.currentValue);}ngAfterViewInit(){this.insertSpan();}ngAfterContentInit(){this.loading$.pipe(Ql$2(this.nzLoading),sn$3(()=>!!this.nzIconDirectiveElement),ue$1(this.destroyRef)).subscribe(i=>{let o=this.nzIconDirectiveElement.nativeElement;i?this.renderer.setStyle(o,"display","none"):this.renderer.removeStyle(o,"display");});}insertSpan(){this.elementRef.nativeElement.childNodes.forEach(i=>{if(i.nodeType===Node.TEXT_NODE&&i.textContent.trim().length>0){let o=this.renderer.createElement("span"),a=this.renderer.parentNode(i);this.renderer.insertBefore(a,o,i),this.renderer.appendChild(o,i);}});}static \u0275fac=function(o){return new(o||to)};static \u0275cmp=ZE({type:to,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(o,a,s){if(o&1&&(Dh$1(s,a.iconDir,Th$1,5),Ih$1(s,Th$1,5,_r$1)),o&2){zD();let u;WD(u=GD())&&(a.nzIconDirectiveElement=u.first);}},viewQuery:function(o,a){o&1&&wh$1(a.loadingIconDir,Th$1,5),o&2&&zD();},hostAttrs:[1,"ant-btn"],hostVars:32,hostBindings:function(o,a){o&2&&(ch$2("tabindex",a.disabled?-1:a.tabIndex===null?null:a.tabIndex)("disabled",a.disabled||null),Sh$1("ant-btn-default",a.nzType==="default")("ant-btn-primary",a.nzType==="primary")("ant-btn-dashed",a.nzType==="dashed")("ant-btn-link",a.nzType==="link")("ant-btn-text",a.nzType==="text")("ant-btn-circle",a.nzShape==="circle")("ant-btn-round",a.nzShape==="round")("ant-btn-lg",a.finalSize()==="large")("ant-btn-sm",a.finalSize()==="small")("ant-btn-dangerous",a.nzDanger)("ant-btn-loading",a.nzLoading)("ant-btn-background-ghost",a.nzGhost)("ant-btn-block",a.nzBlock)("ant-btn-rtl",a.dir()==="rtl")("ant-btn-icon-only",a.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:[Nw([{provide:fn$2,useValue:"btn"}]),oD([ir]),ly],ngContentSelectors:kd,decls:2,vars:1,consts:[[1,"ant-btn-icon","ant-btn-loading-icon"],["nzType","loading"]],template:function(o,a){o&1&&($D(),_D(0,Sd,2,0,"span",0),UD(1)),o&2&&MD(a.nzLoading?0:-1);},dependencies:[Ah$1,Th$1],encapsulation:2})}})(),pf=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({imports:[bd,ll,cl]})}return r})();var or=new WeakMap,gn$2=(()=>{class r{_appRef;_injector=C$1(Ee$3);_environmentInjector=C$1(ue$2);load(e){let n=this._appRef=this._appRef||this._injector.get(Hi$2),i=or.get(n);i||(i={loaders:new Set,refs:[]},or.set(n,i),n.onDestroy(()=>{or.get(n)?.refs.forEach(o=>o.destroy()),or.delete(n);})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(X0$1(e,{environmentInjector:this._environmentInjector})));}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();var ar=class{};function Cl(r){return r&&typeof r.connect=="function"&&!(r instanceof ts$2)}var lr=class extends ar{_data;constructor(t){super(),this._data=t;}connect(){return Lg(this._data)?this._data:Dg(this._data)}disconnect(){}},vn$2=(function(r){return r[r.REPLACED=0]="REPLACED",r[r.INSERTED=1]="INSERTED",r[r.MOVED=2]="MOVED",r[r.REMOVED=3]="REMOVED",r})(vn$2||{}),sr=class{viewCacheSize=20;_viewCache=[];applyChanges(t,e,n,i,o){t.forEachOperation((a,s,u)=>{let p,f;if(a.previousIndex==null){let C=()=>n(a,s,u);p=this._insertView(C,u,e,i(a)),f=p?vn$2.INSERTED:vn$2.REPLACED;}else u==null?(this._detachAndCacheView(s,e),f=vn$2.REMOVED):(p=this._moveView(s,u,e,i(a)),f=vn$2.MOVED);o&&o({context:p?.context,operation:f,record:a});});}detach(){for(let t of this._viewCache)t.destroy();this._viewCache=[];}_insertView(t,e,n,i){let o=this._insertViewFromCache(e,n);if(o){o.context.$implicit=i;return}let a=t();return n.createEmbeddedView(a.templateRef,a.context,a.index)}_detachAndCacheView(t,e){let n=e.detach(t);this._maybeCacheView(n,e);}_moveView(t,e,n,i){let o=n.get(t);return n.move(o,e),o.context.$implicit=i,o}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else {let n=e.indexOf(t);n===-1?t.destroy():e.remove(n);}}_insertViewFromCache(t,e){let n=this._viewCache.pop();return n&&e.insert(n,t),n||null}};var Pd=["contentWrapper"],Dd=["*"],bl=new A$4("VIRTUAL_SCROLL_STRATEGY"),no=class{_scrolledIndexChange=new re$2;scrolledIndexChange=this._scrolledIndexChange.pipe(Kg());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(t,e,n){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n;}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange();}detach(){this._scrolledIndexChange.complete(),this._viewport=null;}updateItemAndBufferSize(t,e,n){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n,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},n=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),a=this._itemSize>0?o/this._itemSize:0;if(e.end>i){let u=Math.ceil(n/this._itemSize),p=Math.max(0,Math.min(a,i-u));a!=p&&(a=p,o=p*this._itemSize,e.start=Math.floor(a)),e.end=Math.max(0,Math.min(i,e.start+u));}let s=o-e.start*this._itemSize;if(s<this._minBufferPx&&e.start!=0){let u=Math.ceil((this._maxBufferPx-s)/this._itemSize);e.start=Math.max(0,e.start-u),e.end=Math.min(i,Math.ceil(a+(n+this._minBufferPx)/this._itemSize));}else {let u=e.end*this._itemSize-(o+n);if(u<this._minBufferPx&&e.end!=i){let p=Math.ceil((this._maxBufferPx-u)/this._itemSize);p>0&&(e.end=Math.min(i,e.end+p),e.start=Math.max(0,Math.floor(a-this._minBufferPx/this._itemSize)));}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(a));}};function xd(r){return r._scrollStrategy}var io=(()=>{class r{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=R6(e);}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=R6(e);}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=R6(e);}_maxBufferPx=200;_scrollStrategy=new no(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx);}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Nw([{provide:bl,useFactory:xd,deps:[wo$1(()=>r)]}]),ly]})}return r})(),wd=20,yn$2=(()=>{class r{_ngZone=C$1(oe$1);_platform=C$1(k6);_renderer=C$1(Dr$1).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new re$2;_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 n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e));}scrolled(e=wd){return this._platform.isBrowser?new S$2(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=e>0?this._scrolled.pipe(Qg(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0);}}):Dg()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete();}ancestorScrolled(e,n){let i=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(sn$3(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((i,o)=>{this._targetContainsElement(o,e)&&n.push(o);}),n}_targetContainsElement(e,n){let i=Sn$3(n),o=e.getElementRef().nativeElement;do if(i==o)return true;while(i=i.parentElement);return false}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),oo=(()=>{class r{elementRef=C$1(_r$1);scrollDispatcher=C$1(yn$2);ngZone=C$1(oe$1);dir=C$1(Oe$1,{optional:true});_scrollElement=this.elementRef.nativeElement;_destroyed=new re$2;_renderer=C$1(XI);_cleanupScroll;_elementScrolled=new re$2;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 n=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=i?e.end:e.start),e.right==null&&(e.right=i?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),i&&ul()!=l2.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),ul()==l2.INVERTED?e.left=e.right:ul()==l2.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e);}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;hl$1()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left));}measureScrollOffset(e){let n="left",i="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?i:n:e=="end"&&(e=a?n:i),a&&ul()==l2.INVERTED?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&ul()==l2.NEGATED?e==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return r})(),Td=20,bt$1=(()=>{class r{_platform=C$1(k6);_listeners;_viewportSize=null;_change=new re$2;_document=C$1(Uo);constructor(){let e=C$1(oe$1),n=C$1(Dr$1).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[n.listen("window","resize",i),n.listen("window","orientationchange",i)];}this.change().subscribe(()=>this._viewportSize=null);});}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete();}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:i}=this.getViewportSize();return {top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return {top:0,left:0};let e=this._document,n=this._getWindow(),i=e.documentElement,o=i.getBoundingClientRect(),a=-o.top||e.body?.scrollTop||n.scrollY||i.scrollTop||0,s=-o.left||e.body?.scrollLeft||n.scrollX||i.scrollLeft||0;return {top:a,left:s}}change(e=Td){return e>0?this._change.pipe(Qg(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(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),kl=new A$4("VIRTUAL_SCROLLABLE"),Md=(()=>{class r extends oo{measureViewportSize(e){let n=this.elementRef.nativeElement;return e==="horizontal"?n.clientWidth:n.clientHeight}static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,features:[th$2]})}return r})();function Yd(r,t){return r.start==t.start&&r.end==t.end}var Od=typeof requestAnimationFrame<"u"?Og:kg,Pl=new A$4("CDK_VIRTUAL_SCROLL_VIEWPORT"),_n$2=(()=>{class r extends Md{elementRef=C$1(_r$1);_changeDetectorRef=C$1(Z0$1);_scrollStrategy=C$1(bl,{optional:true});scrollable=C$1(kl,{optional:true});_platform=C$1(k6);_detachedSubject=new re$2;_renderedRangeSubject=new re$2;_renderedContentOffsetSubject=new re$2;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize());}_orientation="vertical";appendOnly=false;scrolledIndexChange=new S$2(e=>this._scrollStrategy.scrolledIndexChange.subscribe(n=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(n)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(sn$3(e=>e!==null),Kg());_totalContentSize=0;_totalContentWidth=qo("");_totalContentHeight=qo("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=false;_changeDetectionNeeded=qo(false);_runAfterChangeDetection=[];_viewportChanges=H$2.EMPTY;_injector=C$1(Ee$3);_isDestroyed=false;constructor(){super();let e=C$1(bt$1);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize();}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let n=id$1(()=>{this._changeDetectionNeeded()&&this._doChangeDetection();},{injector:C$1(Hi$2).injector});C$1(at$1).onDestroy(()=>{n.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(Ql$2(null),Qg(0,Od),im$1(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(im$1(this._detachedSubject)).subscribe(n=>{let i=n.length;i!==this._dataLength&&(this._dataLength=i,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection();});});}detach(){this._forOf=null,this._detachedSubject.next();}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded());}setRenderedRange(e){Yd(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,n="to-start"){e=this.appendOnly&&n==="to-start"?0:e;let i=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",a=o?"X":"Y",u=`translate${a}(${Number((o&&i?-1:1)*e)}px)`;this._renderedContentOffset=e,n==="to-end"&&(u+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=true),this._renderedContentTransform!=u&&(this._renderedContentTransform=u,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=false,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged();}));}scrollToOffset(e,n="auto"){let i={behavior:n};this.orientation==="horizontal"?i.start=e:i.top=e,this.scrollable.scrollTo(i);}scrollToIndex(e,n="auto"){this._scrollStrategy.scrollToIndex(e,n);}measureScrollOffset(e){let n;return this.scrollable==this?n=i=>super.measureScrollOffset(i):n=i=>this.scrollable.measureScrollOffset(i),Math.max(0,n(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let n,i="left",o="right",a=this.dir?.value=="rtl";e=="start"?n=a?o:i:e=="end"?n=a?i:o:e?n=e:n=this.orientation==="horizontal"?"left":"top";let s=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-s}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged();}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation);}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!qw(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()),Xf(()=>{this._changeDetectionNeeded.set(false);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let n of e)n();},{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(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(n,i){if(n&1&&Eh$1(Pd,7),n&2){let o;WD(o=GD())&&(i._contentWrapper=o.first);}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(n,i){n&2&&Sh$1("cdk-virtual-scroll-orientation-horizontal",i.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",i.orientation!=="horizontal");},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",K0$1]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Nw([{provide:oo,useFactory:()=>C$1(kl,{optional:true})||C$1(r)},{provide:Pl,useExisting:r}]),th$2],ngContentSelectors:Dd,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(n,i){n&1&&($D(),Xc$2(0,"div",1,0),UD(2),el$2(),dh$2(3,"div",2)),n&2&&(gI(3),Mh$1("width",i._totalContentWidth())("height",i._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 r})();function Sl(r,t,e){let n=e;if(!n.getBoundingClientRect)return 0;let i=n.getBoundingClientRect();return r==="horizontal"?t==="start"?i.left:i.right:t==="start"?i.top:i.bottom}var ao=(()=>{class r{_viewContainerRef=C$1(Vi$2);_template=C$1(Er$1);_differs=C$1(eT);_viewRepeater=new sr;_viewport=C$1(Pl,{skipSelf:true});viewChange=new re$2;_dataSourceChanges=new re$2;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Cl(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new lr(Lg(e)?e:Array.from(e||[])));}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=true,this._cdkVirtualForTrackBy=e?(n,i)=>e(n+(this._renderedRange?this._renderedRange.start:0),i):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=R6(e);}dataStream=this._dataSourceChanges.pipe(Ql$2(null),nm$1(),Nl$1(([e,n])=>this._changeDataSource(e,n)),zl$1(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=false;_destroyed=new re$2;constructor(){let e=C$1(oe$1);this.dataStream.subscribe(n=>{this._data=n,this._onRenderedDataChange();}),this._viewport.renderedRangeStream.pipe(im$1(this._destroyed)).subscribe(n=>{this._renderedRange=n,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange();}),this._viewport.attach(this);}measureRangeSize(e,n){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let i=e.start-this._renderedRange.start,o=e.end-e.start,a,s;for(let u=0;u<o;u++){let p=this._viewContainerRef.get(u+i);if(p&&p.rootNodes.length){a=s=p.rootNodes[0];break}}for(let u=o-1;u>-1;u--){let p=this._viewContainerRef.get(u+i);if(p&&p.rootNodes.length){s=p.rootNodes[p.rootNodes.length-1];break}}return a&&s?Sl(n,"end",s)-Sl(n,"start",a):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,n)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,n):n)),this._needsUpdate=true);}_changeDataSource(e,n){return e&&e.disconnect(this),this._needsUpdate=true,n?n.connect(this):Dg()}_updateContext(){let e=this._data.length,n=this._viewContainerRef.length;for(;n--;){let i=this._viewContainerRef.get(n);i.context.index=this._renderedRange.start+n,i.context.count=e,this._updateComputedContextProperties(i.context),i.detectChanges();}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(o,a,s)=>this._getEmbeddedViewArgs(o,s),o=>o.item),e.forEachIdentityChange(o=>{let a=this._viewContainerRef.get(o.currentIndex);a.context.$implicit=o.item;});let n=this._data.length,i=this._viewContainerRef.length;for(;i--;){let o=this._viewContainerRef.get(i);o.context.index=this._renderedRange.start+i,o.context.count=n,this._updateComputedContextProperties(o.context);}}_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,n){return {templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:false,last:false,odd:false,even:false},index:n}}static ngTemplateContextGuard(e,n){return true}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return r})();var ro=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})(),lo=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({imports:[hn$2,ro,hn$2,ro]})}return r})();var Dl=new Map,cr=class r{_appId=C$1(rd$1);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(t,e=false){this._appId!=="ng"&&(t+=this._appId);let n=Dl.get(t);return n===void 0?n=0:n++,Dl.set(t,n),`${t}${e?r._infix+"-":""}${n}`}static \u0275fac=function(e){return new(e||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})};var Cn$1=class Cn{_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;}},kn$2=class kn extends Cn$1{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(t,e,n,i,o,a){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.projectableNodes=i,this.bindings=o||null,this.directives=a||null;}},Sn$2=class Sn extends Cn$1{templateRef;viewContainerRef;context;injector;constructor(t,e,n,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n,this.injector=i;}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()}},so=class extends Cn$1{element;constructor(t){super(),this.element=t instanceof _r$1?t.nativeElement:t;}},dr=class{_attachedPortal=null;_disposeFn=null;_isDisposed=false;hasAttached(){return !!this._attachedPortal}attach(t){if(t instanceof kn$2)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof Sn$2)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof so)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);}},ur=class extends dr{outletElement;_appRef;_defaultInjector;constructor(t,e,n){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=n;}attachComponentPortal(t){let e;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,i=n.get(Mn$4,null,{optional:true})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),this.setDisposeFn(()=>e.destroy());}else {let n=this._appRef,i=t.injector||this._defaultInjector||Ee$3.NULL,o=i.get(ue$2,n.injector);e=X0$1(t.component,{elementInjector:i,environmentInjector:o,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy();});}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(i=>this.outletElement.appendChild(i)),n.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(n);i!==-1&&e.remove(i);}),this._attachedPortal=t,n}attachDomPortal=t=>{let e=t.element;e.parentNode;let n=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n);});};dispose(){super.dispose(),this.outletElement.remove();}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var xl=(()=>{class r extends dr{_moduleRef=C$1(Mn$4,{optional:true});_document=C$1(Uo);_viewContainerRef=C$1(Vi$2);_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 Le$4;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=true;}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null;}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,i=n.createComponent(e.component,{index:n.length,injector:e.injector||n.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachDomPortal=e=>{let n=e.element;n.parentNode;let i=this._document.createComment("dom-portal");e.setAttachedHost(this),n.parentNode.insertBefore(i,n),this._getRootNode().appendChild(n),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i);});};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=(()=>{let e;return function(i){return (e||(e=Sy(r)))(i||r)}})();static \u0275dir=eD({type:r,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[th$2]})}return r})(),hr=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})();function wl(r,...t){return t.length?t.some(e=>r[e]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}var Tl=hl$1();function Il(r){return new mr(r.get(bt$1),r.get(Uo))}var mr=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=O6(-this._previousScrollPosition.left),t.style.top=O6(-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,n=t.style,i=e.style,o=n.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=false,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Tl&&(n.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Tl&&(n.scrollBehavior=o,i.scrollBehavior=a);}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return false;let e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};function Nl(r,t){return new pr(r.get(yn$2),r.get(oe$1),r.get(bt$1),t)}var pr=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(sn$3(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 Fd(){return new Ut$1}var Ut$1=class Ut{enable(){}disable(){}attach(){}};function co(r,t){return t.some(e=>{let n=r.bottom<e.top,i=r.top>e.bottom,o=r.right<e.left,a=r.left>e.right;return n||i||o||a})}function Ml(r,t){return t.some(e=>{let n=r.top<e.top,i=r.bottom>e.bottom,o=r.left<e.left,a=r.right>e.right;return n||i||o||a})}function ho(r,t){return new fr(r.get(yn$2),r.get(bt$1),r.get(oe$1),t)}var fr=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i;}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:n,height:i}=this._viewportRuler.getViewportSize();co(e,[{width:n,height:i,bottom:i,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()));}});}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}},Vl=(()=>{class r{_injector=C$1(Ee$3);noop=()=>new Ut$1;close=e=>Nl(this._injector,e);block=()=>Il(this._injector);reposition=e=>ho(this._injector,e);static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),bn$2=class bn{positionStrategy;scrollStrategy=new Ut$1;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 n of e)t[n]!==void 0&&(this[n]=t[n]);}}},Z=class{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(t,e,n,i,o){this.offsetX=n,this.offsetY=i,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY;}};var gr=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e;}};var Rl=(()=>{class r{_attachedOverlays=[];_document=C$1(Uo);_isAttached=false;ngOnDestroy(){this.detach();}add(e){this.remove(e),this._attachedOverlays.push(e);}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach();}canReceiveEvent(e,n,i){return i.observers.length<1?false:e.eventPredicate?e.eventPredicate(n):true}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),jl=(()=>{class r extends Rl{_ngZone=C$1(oe$1);_renderer=C$1(Dr$1).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 n=this._attachedOverlays;for(let i=n.length-1;i>-1;i--){let o=n[i];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),Ll=(()=>{class r extends Rl{_platform=C$1(k6);_ngZone=C$1(oe$1);_renderer=C$1(Dr$1).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=false;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,i={capture:true},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(n,"pointerdown",this._pointerDownListener,i),o.listen(n,"click",this._clickListener,i),o.listen(n,"auxclick",this._clickListener,i),o.listen(n,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.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=_n$3(e);};_clickListener=e=>{let n=_n$3(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],u=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,u))){if(Yl(s.overlayElement,n)||Yl(s.overlayElement,i))break;this._ngZone?this._ngZone.run(()=>u.next(e)):u.next(e);}}};static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();function Yl(r,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===r)return true;n=e&&n instanceof ShadowRoot?n.host:n.parentNode;}return false}var Hl=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,i){},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 r})(),Bl=(()=>{class r{_platform=C$1(k6);_containerElement;_document=C$1(Uo);_styleLoader=C$1(gn$2);ngOnDestroy(){this._containerElement?.remove();}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||vl$1()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove();}let n=this._document.createElement("div");n.classList.add(e),vl$1()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n;}_loadStyles(){this._styleLoader.load(Hl);}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),uo=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,e,n,i){this._renderer=e,this._ngZone=n,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i);}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 mo(r){return r&&r.nodeType===1}var vr=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new re$2;_attachments=new re$2;_detachments=new re$2;_positionStrategy;_scrollStrategy;_locationChanges=H$2.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=false;_previousHostParent;_keydownEvents=new re$2;_outsidePointerEvents=new re$2;_afterNextRenderRef;constructor(t,e,n,i,o,a,s,u,p,f=false,C,G){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=u,this._outsideClickDispatcher=p,this._animationsDisabled=f,this._injector=C,this._renderer=G,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy;}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(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=Xf(()=>{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$1(r$1({},this._config),t),this._updateElementSize();}setDirection(t){this._config=s(r$1({},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=O6(this._config.width),t.height=O6(this._config.height),t.minWidth=O6(this._config.minWidth),t.minHeight=O6(this._config.minHeight),t.maxWidth=O6(this._config.maxWidth),t.maxHeight=O6(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;mo(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 uo(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,n){let i=xr$1(e||[]).filter(o=>!!o);i.length&&(n?t.classList.add(...i):t.classList.remove(...i));}_detachContentWhenEmpty(){let t=false;try{this._detachContentAfterRenderRef=Xf(()=>{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?.();}},Ol="cdk-overlay-connected-position-bounding-box",zd=/([A-Za-z%]+)$/;function po(r,t){return new yr(t,r.get(bt$1),r.get(Uo),r.get(k6),r.get(Bl))}var yr=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$2;_resizeSubscription=H$2.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,n,i,o){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=o,this.setOrigin(t);}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Ol),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,n=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let u=this._getOriginPoint(t,i,s),p=this._getOverlayPoint(u,e,s),f=this._getOverlayFit(p,e,n,s);if(f.isCompletelyWithinViewport){this._isPushed=false,this._applyPosition(s,u);return}if(this._canFitWithFlexibleDimensions(f,p,n)){o.push({position:s,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,s)});continue}(!a||a.overlayFit.visibleArea<f.visibleArea)&&(a={overlayFit:f,overlayPoint:p,originPoint:u,position:s,overlayRect:e});}if(o.length){let s=null,u=-1;for(let p of o){let f=p.boundingBoxRect.width*p.boundingBoxRect.height*(p.position.weight||1);f>u&&(u=f,s=p);}this._isPushed=false,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=true,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint);}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe();}dispose(){this._isDisposed||(this._boundingBox&&Pt$2(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ol),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 _r$1?this._origin.nativeElement:mo(this._origin)?this._origin:null}_getOriginPoint(t,e,n){let i;if(n.originX=="center")i=t.left+t.width/2;else {let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i=n.originX=="start"?a:s;}e.left<0&&(i-=e.left);let o;return n.originY=="center"?o=t.top+t.height/2:o=n.originY=="top"?t.top:t.bottom,e.top<0&&(o-=e.top),{x:i,y:o}}_getOverlayPoint(t,e,n){let i;n.overlayX=="center"?i=-e.width/2:n.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let o;return n.overlayY=="center"?o=-e.height/2:o=n.overlayY=="top"?0:-e.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,e,n,i){let o=Fl(e),{x:a,y:s}=t,u=this._getOffset(i,"x"),p=this._getOffset(i,"y");u&&(a+=u),p&&(s+=p);let f=0-a,C=a+o.width-n.width,G=0-s,h=s+o.height-n.height,m=this._subtractOverflows(o.width,f,C),c=this._subtractOverflows(o.height,G,h),d=m*c;return {visibleArea:d,isCompletelyWithinViewport:o.width*o.height===d,fitsInViewportVertically:c===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){let i=n.bottom-e.y,o=n.right-e.x,a=El(this._overlayRef.getConfig().minHeight),s=El(this._overlayRef.getConfig().minWidth),u=t.fitsInViewportVertically||a!=null&&a<=i,p=t.fitsInViewportHorizontally||s!=null&&s<=o;return u&&p}return false}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return {x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Fl(e),o=this._viewportRect,a=Math.max(t.x+i.width-o.width,0),s=Math.max(t.y+i.height-o.height,0),u=Math.max(o.top-n.top-t.y,0),p=Math.max(o.left-n.left-t.x,0),f=0,C=0;return i.width<=o.width?f=p||-a:f=t.x<this._getViewportMarginStart()?o.left-n.left-t.x:0,i.height<=o.height?C=u||-s:C=t.y<this._getViewportMarginTop()?o.top-n.top-t.y:0,this._previousPushAmount={x:f,y:C},{x:t.x+f,y:t.y+C}}_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 n=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!Ad(this._lastScrollVisibility,n)){let i=new gr(t,n);this._positionChanges.next(i);}this._lastScrollVisibility=n;}this._lastPosition=t,this._isInitialRender=false;}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,i=t.overlayY;t.overlayX==="center"?n="center":this._isRtl()?n=t.overlayX==="start"?"right":"left":n=t.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${i}`;}_calculateBoundingBoxRect(t,e){let n=this._viewportRect,i=this._isRtl(),o,a,s;if(e.overlayY==="top")a=t.y,o=n.height-a+this._getViewportMarginBottom();else if(e.overlayY==="bottom")s=n.height-t.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=n.height-s+this._getViewportMarginTop();else {let h=Math.min(n.bottom-t.y+n.top,t.y),m=this._lastBoundingBoxSize.height;o=h*2,a=t.y-h,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-m/2);}let u=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,p=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,f,C,G;if(p)G=n.width-t.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),f=t.x-this._getViewportMarginStart();else if(u)C=t.x,f=n.right-t.x-this._getViewportMarginEnd();else {let h=Math.min(n.right-t.x+n.left,t.x),m=this._lastBoundingBoxSize.width;f=h*2,C=t.x-h,f>m&&!this._isInitialRender&&!this._growAfterOpen&&(C=t.x-m/2);}return {top:a,left:C,bottom:s,right:G,width:f,height:o}}_setBoundingBoxStyles(t,e){let n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="auto",i.maxHeight=i.maxWidth="",i.width=i.height="100%";else {let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.width=O6(n.width),i.height=O6(n.height),i.top=O6(n.top)||"auto",i.bottom=O6(n.bottom)||"auto",i.left=O6(n.left)||"auto",i.right=O6(n.right)||"auto",e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=O6(o)),a&&(i.maxWidth=O6(a));}this._lastBoundingBoxSize=n,Pt$2(this._boundingBox.style,i);}_resetBoundingBoxStyles(){Pt$2(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""});}_resetOverlayElementStyles(){Pt$2(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""});}_setOverlayElementStyles(t,e){let n={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let f=this._viewportRuler.getViewportScrollPosition();Pt$2(n,this._getExactOverlayY(e,t,f)),Pt$2(n,this._getExactOverlayX(e,t,f));}else n.position="static";let s="",u=this._getOffset(e,"x"),p=this._getOffset(e,"y");u&&(s+=`translateX(${u}px) `),p&&(s+=`translateY(${p}px)`),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=O6(a.maxHeight):o&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=O6(a.maxWidth):o&&(n.maxWidth="")),Pt$2(this._pane.style,n);}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`;}else i.top=O6(o.y);return i}_getExactOverlayX(t,e,n){let i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`;}else i.left=O6(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return {isOriginClipped:Ml(t,n),isOriginOutsideView:co(t,n),isOverlayClipped:Ml(e,n),isOverlayOutsideView:co(e,n)}}_subtractOverflows(t,...e){return e.reduce((n,i)=>n-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return {top:n.top+this._getViewportMarginTop(),left:n.left+this._getViewportMarginStart(),right:n.left+t-this._getViewportMarginEnd(),bottom:n.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&&xr$1(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 _r$1)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,n=t.height||0;return {top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}_getContainerRect(){let t=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();t&&(e.style.display="block");let n=e.getBoundingClientRect();return t&&(e.style.display=""),n}};function Pt$2(r,t){for(let e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);return r}function El(r){if(typeof r!="number"&&r!=null){let[t,e]=r.split(zd);return !e||e==="px"?parseFloat(t):null}return r||null}function Fl(r){return {top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}function Ad(r,t){return r===t?true:r.isOriginClipped===t.isOriginClipped&&r.isOriginOutsideView===t.isOriginOutsideView&&r.isOverlayClipped===t.isOverlayClipped&&r.isOverlayOutsideView===t.isOverlayOutsideView}var zl="cdk-global-overlay-wrapper";function Ul(r){return new _r}var _r=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(zl),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,n=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=n,u=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),p=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),f=this._xPosition,C=this._xOffset,G=this._overlayRef.getConfig().direction==="rtl",h="",m="",c="";u?c="flex-start":f==="center"?(c="center",G?m=C:h=C):G?f==="left"||f==="end"?(c="flex-end",h=C):(f==="right"||f==="start")&&(c="flex-start",m=C):f==="left"||f==="start"?(c="flex-start",h=C):(f==="right"||f==="end")&&(c="flex-end",m=C),t.position=this._cssPosition,t.marginLeft=u?"0":h,t.marginTop=p?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=u?"0":m,e.justifyContent=c,e.alignItems=p?"flex-start":this._alignItems;}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(zl),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=true;}},Wl=(()=>{class r{_injector=C$1(Ee$3);global(){return Ul()}flexibleConnectedTo(e){return po(this._injector,e)}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),fo$1=new A$4("OVERLAY_DEFAULT_CONFIG");function go$1(r,t){r.get(gn$2).load(Hl);let e=r.get(Bl),n=r.get(Uo),i=r.get(cr),o=r.get(Hi$2),a=r.get(Oe$1),s=r.get(XI,null,{optional:true})||r.get(Dr$1).createRenderer(null,null),u=new bn$2(t),p=r.get(fo$1,null,{optional:true})?.usePopover??true;u.direction=u.direction||a.value,!n.body||!("showPopover"in n.body)?u.usePopover=false:u.usePopover=t?.usePopover??p;let f=n.createElement("div"),C=n.createElement("div");f.id=i.getId("cdk-overlay-"),f.classList.add("cdk-overlay-pane"),C.appendChild(f),u.usePopover&&(C.setAttribute("popover","manual"),C.classList.add("cdk-overlay-popover"));let G=u.usePopover?u.positionStrategy?.getPopoverInsertionPoint?.():null;return mo(G)?G.after(C):G?.type==="parent"?G.element.appendChild(C):e.getContainerElement().appendChild(C),new vr(new ur(f,o,r),C,f,u,r.get(oe$1),r.get(jl),n,r.get(v4),r.get(Ll),t?.disableAnimations??r.get(Gm,null,{optional:true})==="NoopAnimations",r.get(ue$2),s)}var Kl=(()=>{class r{scrollStrategies=C$1(Vl);_positionBuilder=C$1(Wl);_injector=C$1(Ee$3);create(e){return go$1(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),Id=[{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"}],Nd=new A$4("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let r=C$1(Ee$3);return ()=>ho(r)}}),ct=(()=>{class r{elementRef=C$1(_r$1);static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return r})(),ql=new A$4("cdk-connected-overlay-default-config"),Wt=(()=>{class r{_dir=C$1(Oe$1,{optional:true});_injector=C$1(Ee$3);_overlayRef;_templatePortal;_backdropSubscription=H$2.EMPTY;_attachSubscription=H$2.EMPTY;_detachSubscription=H$2.EMPTY;_positionSubscription=H$2.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=C$1(Nd);_ngZone=C$1(oe$1);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 Le$4;positionChange=new Le$4;attach=new Le$4;detach=new Le$4;overlayKeydown=new Le$4;overlayOutsideClick=new Le$4;constructor(){let e=C$1(Er$1),n=C$1(Vi$2),i=C$1(ql,{optional:true}),o=C$1(fo$1,{optional:true});this.usePopover=o?.usePopover===false?null:"global",this._templatePortal=new Sn$2(e,n),this.scrollStrategy=this._scrollStrategyFactory(),i&&this._assignConfig(i);}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose();}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay());}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Id);let e=this._overlayRef=go$1(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!wl(n)&&(n.preventDefault(),this.detachOverlay());}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let i=this._getOriginElement(),o=_n$3(n);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(n);});}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new bn$2({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return (this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){let n=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(n).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=po(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof ct?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ct?this.origin.elementRef.nativeElement:this.origin instanceof _r$1?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(n=>this.backdropClick.emit(n)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(sm$1(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),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(n){return new(n||r)};static \u0275dir=eD({type:r,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:[ly]})}return r})(),vo=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({providers:[Kl],imports:[hn$2,hr,lo,lo]})}return r})();var me={top:new Z({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new Z({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new Z({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new Z({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new Z({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new Z({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new Z({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new Z({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new Z({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new Z({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new Z({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new Z({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new Z({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new Z({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Rd=(r=12)=>({top:[0,-r],topCenter:[0,-r],topLeft:[0,-r],topRight:[0,-r],right:[r,0],rightTop:[r,0],rightBottom:[r,0],bottom:[0,r],bottomCenter:[0,r],bottomLeft:[0,r],bottomRight:[0,r],left:[-r,0],leftTop:[-r,0],leftBottom:[-r,0]}),Cr=Rd(),Rg=[Sr(me.top,Cr.top),Sr(me.right,Cr.right),Sr(me.bottom,Cr.bottom),Sr(me.left,Cr.left)];[new Z({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new Z({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})];[me.bottomLeft,new Z({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function yo(r){for(let t in me)if(r.connectionPair.originX===me[t].originX&&r.connectionPair.originY===me[t].originY&&r.connectionPair.overlayX===me[t].overlayX&&r.connectionPair.overlayY===me[t].overlayY)return t}({bottomLeft:new Z({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new Z({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new Z({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new Z({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)});function jd(r){return Array.isArray(r)?r:[r,r]}function Sr(r,t){let[e,n]=jd(t);return s(r$1({},r),{offsetX:e,offsetY:n})}var Gl=(()=>{class r{cdkConnectedOverlay=C$1(Wt);nzArrowPointAtCenter=false;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(ue$1()).subscribe(e=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(e);});}updateArrowPosition(e){let n=this.getOriginRect(),i=yo(e),o=0,a=0;i==="topLeft"||i==="bottomLeft"?o=n.width/2-14:i==="topRight"||i==="bottomRight"?o=-(n.width/2-14):i==="leftTop"||i==="rightTop"?a=n.height/2-10:(i==="leftBottom"||i==="rightBottom")&&(a=-(n.height/2-10)),(this.cdkConnectedOverlay.offsetX!==o||this.cdkConnectedOverlay.offsetY!==a)&&(this.cdkConnectedOverlay.offsetY=a,this.cdkConnectedOverlay.offsetX=o,this.cdkConnectedOverlay.overlayRef.updatePosition());}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof ct?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){let e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof _r$1)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let n=e.width||0,i=e.height||0;return {top:e.y,bottom:e.y+i,left:e.x,right:e.x+n,height:i,width:n}}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",K0$1]},exportAs:["nzConnectedOverlay"]})}return r})(),_o=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})();function Ug(r,t){t&&(r._host.style.zIndex=`${t}`);}var br=6048e5,Zl=864e5,$l=6e4,Ql=36e5,Xl=1e3;var Co=Symbol.for("constructDateFrom");function b(r,t){return typeof r=="function"?r(t):r&&typeof r=="object"&&Co in r?r[Co](t):r instanceof Date?new r.constructor(t):new Date(t)}function y$2(r,t){return b(t||r,r)}function Kt$1(r,t,e){let n=y$2(r,e?.in);return isNaN(t)?b(e?.in||r,NaN):(t&&n.setDate(n.getDate()+t),n)}function Pr(r,t,e){let n=y$2(r,e?.in);if(isNaN(t))return b(r,NaN);if(!t)return n;let i=n.getDate(),o=b(r,n.getTime());o.setMonth(n.getMonth()+t+1,0);let a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function es(r,t,e){return b(r,+y$2(r)+t)}var Kd={};function Fe(){return Kd}function ve(r,t){let e=Fe(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,i=y$2(r,t?.in),o=i.getDay(),a=(o<n?7:0)+o-n;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}function Le$1(r,t){return ve(r,s(r$1({},t),{weekStartsOn:1}))}function Dr(r,t){let e=y$2(r,t?.in),n=e.getFullYear(),i=b(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let o=Le$1(i),a=b(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);let s=Le$1(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function Dt$2(r){let t=y$2(r),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+r-+e}function xr(r,...t){let e=b.bind(null,t.find(n=>typeof n=="object"));return t.map(e)}function qt$1(r,t){let e=y$2(r,t?.in);return e.setHours(0,0,0,0),e}function ko(r,t,e){let[n,i]=xr(e?.in,r,t),o=qt$1(n),a=qt$1(i),s=+o-Dt$2(o),u=+a-Dt$2(a);return Math.round((s-u)/Zl)}function ts$1(r,t){let e=Dr(r,t),n=b(r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Le$1(n)}function ns(r,t,e){return es(r,t*1e3)}function rs(r,t,e){return Pr(r,t*12,e)}function is(r){return b(r,Date.now())}function So(r,t,e){let[n,i]=xr(e?.in,r,t);return +qt$1(n)==+qt$1(i)}function os(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function wr(r){return !(!os(r)&&typeof r!="number"||isNaN(+y$2(r)))}function as(r,t){let e=y$2(r,t?.in);return Math.trunc(e.getMonth()/3)+1}function ls(r,t){let e=y$2(r,t?.in);return e.setHours(23,59,59,999),e}function ss(r,t){let e=y$2(r,t?.in),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function cs(r,t){let e=y$2(r,t?.in);return +ls(e,t)==+ss(e,t)}function ds(r,t){let e=y$2(r,t?.in),n=e.getMonth(),i=n-n%3;return e.setMonth(i,1),e.setHours(0,0,0,0),e}function us(r,t){let e=y$2(r,t?.in);return e.setDate(1),e.setHours(0,0,0,0),e}function hs(r,t){let e=y$2(r,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var qd={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"}},ms=(r,t,e)=>{let n,i=qd[r];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),e?.addSuffix?e.comparison&&e.comparison>0?"in "+n:n+" ago":n};function Tr(r){return (t={})=>{let e=t.width?String(t.width):r.defaultWidth;return r.formats[e]||r.formats[r.defaultWidth]}}var Gd={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Zd={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$d={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ps={date:Tr({formats:Gd,defaultWidth:"full"}),time:Tr({formats:Zd,defaultWidth:"full"}),dateTime:Tr({formats:$d,defaultWidth:"full"})};var Qd={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},fs=(r,t,e,n)=>Qd[r];function Gt$1(r){return (t,e)=>{let n=e?.context?String(e.context):"standalone",i;if(n==="formatting"&&r.formattingValues){let a=r.defaultFormattingWidth||r.defaultWidth,s=e?.width?String(e.width):a;i=r.formattingValues[s]||r.formattingValues[a];}else {let a=r.defaultWidth,s=e?.width?String(e.width):r.defaultWidth;i=r.values[s]||r.values[a];}let o=r.argumentCallback?r.argumentCallback(t):t;return i[o]}}var Xd={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Jd={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},eu={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"]},tu={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"]},nu={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"}},ru={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"}},iu=(r,t)=>{let e=Number(r),n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},gs={ordinalNumber:iu,era:Gt$1({values:Xd,defaultWidth:"wide"}),quarter:Gt$1({values:Jd,defaultWidth:"wide",argumentCallback:r=>r-1}),month:Gt$1({values:eu,defaultWidth:"wide"}),day:Gt$1({values:tu,defaultWidth:"wide"}),dayPeriod:Gt$1({values:nu,defaultWidth:"wide",formattingValues:ru,defaultFormattingWidth:"wide"})};function Zt$1(r){return (t,e={})=>{let n=e.width,i=n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth],o=t.match(i);if(!o)return null;let a=o[0],s=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],u=Array.isArray(s)?au(s,C=>C.test(a)):ou(s,C=>C.test(a)),p;p=r.valueCallback?r.valueCallback(u):u,p=e.valueCallback?e.valueCallback(p):p;let f=t.slice(a.length);return {value:p,rest:f}}}function ou(r,t){for(let e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t(r[e]))return e}function au(r,t){for(let e=0;e<r.length;e++)if(t(r[e]))return e}function vs(r){return (t,e={})=>{let n=t.match(r.matchPattern);if(!n)return null;let i=n[0],o=t.match(r.parsePattern);if(!o)return null;let a=r.valueCallback?r.valueCallback(o[0]):o[0];a=e.valueCallback?e.valueCallback(a):a;let s=t.slice(i.length);return {value:a,rest:s}}}var lu=/^(\d+)(th|st|nd|rd)?/i,su=/\d+/i,cu={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},du={any:[/^b/i,/^(a|c)/i]},uu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},hu={any:[/1/i,/2/i,/3/i,/4/i]},mu={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},pu={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]},fu={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},gu={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]},vu={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},yu={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}},ys={ordinalNumber:vs({matchPattern:lu,parsePattern:su,valueCallback:r=>parseInt(r,10)}),era:Zt$1({matchPatterns:cu,defaultMatchWidth:"wide",parsePatterns:du,defaultParseWidth:"any"}),quarter:Zt$1({matchPatterns:uu,defaultMatchWidth:"wide",parsePatterns:hu,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Zt$1({matchPatterns:mu,defaultMatchWidth:"wide",parsePatterns:pu,defaultParseWidth:"any"}),day:Zt$1({matchPatterns:fu,defaultMatchWidth:"wide",parsePatterns:gu,defaultParseWidth:"any"}),dayPeriod:Zt$1({matchPatterns:vu,defaultMatchWidth:"any",parsePatterns:yu,defaultParseWidth:"any"})};var Pn$1={code:"en-US",formatDistance:ms,formatLong:ps,formatRelative:fs,localize:gs,match:ys,options:{weekStartsOn:0,firstWeekContainsDate:1}};function _s(r,t){let e=y$2(r,t?.in);return ko(e,hs(e))+1}function $t(r,t){let e=y$2(r,t?.in),n=+Le$1(e)-+ts$1(e);return Math.round(n/br)+1}function Qt$1(r,t){let e=y$2(r,t?.in),n=e.getFullYear(),i=Fe(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=b(t?.in||r,0);a.setFullYear(n+1,0,o),a.setHours(0,0,0,0);let s=ve(a,t),u=b(t?.in||r,0);u.setFullYear(n,0,o),u.setHours(0,0,0,0);let p=ve(u,t);return +e>=+s?n+1:+e>=+p?n:n-1}function Cs(r,t){let e=Fe(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,i=Qt$1(r,t),o=b(t?.in||r,0);return o.setFullYear(i,0,n),o.setHours(0,0,0,0),ve(o,t)}function Mr(r,t){let e=y$2(r,t?.in),n=+ve(e,t)-+Cs(e,t);return Math.round(n/br)+1}function R(r,t){let e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}var et={y(r,t){let e=r.getFullYear(),n=e>0?e:1-e;return R(t==="yy"?n%100:n,t.length)},M(r,t){let e=r.getMonth();return t==="M"?String(e+1):R(e+1,2)},d(r,t){return R(r.getDate(),t.length)},a(r,t){let e=r.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(r,t){return R(r.getHours()%12||12,t.length)},H(r,t){return R(r.getHours(),t.length)},m(r,t){return R(r.getMinutes(),t.length)},s(r,t){return R(r.getSeconds(),t.length)},S(r,t){let e=t.length,n=r.getMilliseconds(),i=Math.trunc(n*Math.pow(10,e-3));return R(i,t.length)}};var Xt$1={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},bo={G:function(r,t,e){let n=r.getFullYear()>0?1:0;switch(t){case "G":case "GG":case "GGG":return e.era(n,{width:"abbreviated"});case "GGGGG":return e.era(n,{width:"narrow"});default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){let n=r.getFullYear(),i=n>0?n:1-n;return e.ordinalNumber(i,{unit:"year"})}return et.y(r,t)},Y:function(r,t,e,n){let i=Qt$1(r,n),o=i>0?i:1-i;if(t==="YY"){let a=o%100;return R(a,2)}return t==="Yo"?e.ordinalNumber(o,{unit:"year"}):R(o,t.length)},R:function(r,t){let e=Dr(r);return R(e,t.length)},u:function(r,t){let e=r.getFullYear();return R(e,t.length)},Q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case "Q":return String(n);case "QQ":return R(n,2);case "Qo":return e.ordinalNumber(n,{unit:"quarter"});case "QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case "QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case "q":return String(n);case "qq":return R(n,2);case "qo":return e.ordinalNumber(n,{unit:"quarter"});case "qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case "qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){let n=r.getMonth();switch(t){case "M":case "MM":return et.M(r,t);case "Mo":return e.ordinalNumber(n+1,{unit:"month"});case "MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case "MMMMM":return e.month(n,{width:"narrow",context:"formatting"});default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){let n=r.getMonth();switch(t){case "L":return String(n+1);case "LL":return R(n+1,2);case "Lo":return e.ordinalNumber(n+1,{unit:"month"});case "LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case "LLLLL":return e.month(n,{width:"narrow",context:"standalone"});default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){let i=Mr(r,n);return t==="wo"?e.ordinalNumber(i,{unit:"week"}):R(i,t.length)},I:function(r,t,e){let n=$t(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):R(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):et.d(r,t)},D:function(r,t,e){let n=_s(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):R(n,t.length)},E:function(r,t,e){let n=r.getDay();switch(t){case "E":case "EE":case "EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case "EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case "EEEEEE":return e.day(n,{width:"short",context:"formatting"});default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){let i=r.getDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case "e":return String(o);case "ee":return R(o,2);case "eo":return e.ordinalNumber(o,{unit:"day"});case "eee":return e.day(i,{width:"abbreviated",context:"formatting"});case "eeeee":return e.day(i,{width:"narrow",context:"formatting"});case "eeeeee":return e.day(i,{width:"short",context:"formatting"});default:return e.day(i,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){let i=r.getDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case "c":return String(o);case "cc":return R(o,t.length);case "co":return e.ordinalNumber(o,{unit:"day"});case "ccc":return e.day(i,{width:"abbreviated",context:"standalone"});case "ccccc":return e.day(i,{width:"narrow",context:"standalone"});case "cccccc":return e.day(i,{width:"short",context:"standalone"});default:return e.day(i,{width:"wide",context:"standalone"})}},i:function(r,t,e){let n=r.getDay(),i=n===0?7:n;switch(t){case "i":return String(i);case "ii":return R(i,t.length);case "io":return e.ordinalNumber(i,{unit:"day"});case "iii":return e.day(n,{width:"abbreviated",context:"formatting"});case "iiiii":return e.day(n,{width:"narrow",context:"formatting"});case "iiiiii":return e.day(n,{width:"short",context:"formatting"});default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){let i=r.getHours()/12>=1?"pm":"am";switch(t){case "a":case "aa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case "aaa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case "aaaaa":return e.dayPeriod(i,{width:"narrow",context:"formatting"});default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(r,t,e){let n=r.getHours(),i;switch(n===12?i=Xt$1.noon:n===0?i=Xt$1.midnight:i=n/12>=1?"pm":"am",t){case "b":case "bb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case "bbb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case "bbbbb":return e.dayPeriod(i,{width:"narrow",context:"formatting"});default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(r,t,e){let n=r.getHours(),i;switch(n>=17?i=Xt$1.evening:n>=12?i=Xt$1.afternoon:n>=4?i=Xt$1.morning:i=Xt$1.night,t){case "B":case "BB":case "BBB":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case "BBBBB":return e.dayPeriod(i,{width:"narrow",context:"formatting"});default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return et.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):et.H(r,t)},K:function(r,t,e){let n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):R(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):R(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):et.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):et.s(r,t)},S:function(r,t){return et.S(r,t)},X:function(r,t,e){let n=r.getTimezoneOffset();if(n===0)return "Z";switch(t){case "X":return Ss(n);case "XXXX":case "XX":return xt$1(n);default:return xt$1(n,":")}},x:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case "x":return Ss(n);case "xxxx":case "xx":return xt$1(n);default:return xt$1(n,":")}},O:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case "O":case "OO":case "OOO":return "GMT"+ks(n,":");default:return "GMT"+xt$1(n,":")}},z:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case "z":case "zz":case "zzz":return "GMT"+ks(n,":");default:return "GMT"+xt$1(n,":")}},t:function(r,t,e){let n=Math.trunc(+r/1e3);return R(n,t.length)},T:function(r,t,e){return R(+r,t.length)}};function ks(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),i=Math.trunc(n/60),o=n%60;return o===0?e+String(i):e+String(i)+t+R(o,2)}function Ss(r,t){return r%60===0?(r>0?"-":"+")+R(Math.abs(r)/60,2):xt$1(r,t)}function xt$1(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),i=R(Math.trunc(n/60),2),o=R(n%60,2);return e+i+t+o}var bs=(r,t)=>{switch(r){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"})}},Ps=(r,t)=>{switch(r){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"})}},_u=(r,t)=>{let e=r.match(/(P+)(p+)?/)||[],n=e[1],i=e[2];if(!i)return bs(r,t);let o;switch(n){case "P":o=t.dateTime({width:"short"});break;case "PP":o=t.dateTime({width:"medium"});break;case "PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",bs(n,t)).replace("{{time}}",Ps(i,t))},Dn$1={p:Ps,P:_u};var Cu=/^D+$/,ku=/^Y+$/,Su=["D","DD","YY","YYYY"];function Yr(r){return Cu.test(r)}function Or(r){return ku.test(r)}function xn$2(r,t,e){let n=bu(r,t,e);if(console.warn(n),Su.includes(r))throw new RangeError(n)}function bu(r,t,e){let n=r[0]==="Y"?"years":"days of the month";return `Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Pu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Du=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xu=/^'([^]*?)'?$/,wu=/''/g,Tu=/[a-zA-Z]/;function wn$2(r,t,e){let n=Fe(),i=e?.locale??n.locale??Pn$1,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=y$2(r,e?.in);if(!wr(s))throw new RangeError("Invalid time value");let u=t.match(Du).map(f=>{let C=f[0];if(C==="p"||C==="P"){let G=Dn$1[C];return G(f,i.formatLong)}return f}).join("").match(Pu).map(f=>{if(f==="''")return {isToken:false,value:"'"};let C=f[0];if(C==="'")return {isToken:false,value:Mu(f)};if(bo[C])return {isToken:true,value:f};if(C.match(Tu))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return {isToken:false,value:f}});i.localize.preprocessor&&(u=i.localize.preprocessor(s,u));let p={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return u.map(f=>{if(!f.isToken)return f.value;let C=f.value;(!e?.useAdditionalWeekYearTokens&&Or(C)||!e?.useAdditionalDayOfYearTokens&&Yr(C))&&xn$2(C,t,String(r));let G=bo[C[0]];return G(s,C,i.localize,p)}).join("")}function Mu(r){let t=r.match(xu);return t?t[1].replace(wu,"'"):r}function Er(r,t){let e=y$2(r,t?.in),n=e.getFullYear(),i=e.getMonth(),o=b(e,0);return o.setFullYear(n,i+1,0),o.setHours(0,0,0,0),o.getDate()}function Ds(){return Object.assign({},Fe())}function xs(r,t){let e=y$2(r,t?.in).getDay();return e===0?7:e}function ws(r,t){return y$2(r,t?.in).getDate()===1}function Ts(r,t){let e=Yu(t)?new t(0):b(t,0);return e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),e.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),e}function Yu(r){return typeof r=="function"&&r.prototype?.constructor===r}var Ou=10,Fr=class{subPriority=0;validate(t,e){return true}},zr=class extends Fr{constructor(t,e,n,i,o){super(),this.value=t,this.validateValue=e,this.setValue=n,this.priority=i,o&&(this.subPriority=o);}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,n){return this.setValue(t,e,this.value,n)}},Ar=class extends Fr{priority=Ou;subPriority=-1;constructor(t,e){super(),this.context=t||(n=>b(e,n));}set(t,e){return e.timestampIsSet?t:b(t,Ts(t,this.context))}};var _=class{run(t,e,n,i){let o=this.parse(t,e,n,i);return o?{setter:new zr(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,e,n){return true}};var Ir=class extends _{priority=140;parse(t,e,n){switch(e){case "G":case "GG":case "GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case "GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,e,n){return e.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]};var A$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}/},ze$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 U$1(r,t){return r&&{value:t(r.value),rest:r.rest}}function F$1(r,t){let e=t.match(r);return e?{value:parseInt(e[0],10),rest:t.slice(e[0].length)}:null}function Ae$1(r,t){let e=t.match(r);if(!e)return null;if(e[0]==="Z")return {value:0,rest:t.slice(1)};let n=e[1]==="+"?1:-1,i=e[2]?parseInt(e[2],10):0,o=e[3]?parseInt(e[3],10):0,a=e[5]?parseInt(e[5],10):0;return {value:n*(i*Ql+o*$l+a*Xl),rest:t.slice(e[0].length)}}function Nr(r){return F$1(A$1.anyDigitsSigned,r)}function x(r,t){switch(r){case 1:return F$1(A$1.singleDigit,t);case 2:return F$1(A$1.twoDigits,t);case 3:return F$1(A$1.threeDigits,t);case 4:return F$1(A$1.fourDigits,t);default:return F$1(new RegExp("^\\d{1,"+r+"}"),t)}}function Jt(r,t){switch(r){case 1:return F$1(A$1.singleDigitSigned,t);case 2:return F$1(A$1.twoDigitsSigned,t);case 3:return F$1(A$1.threeDigitsSigned,t);case 4:return F$1(A$1.fourDigitsSigned,t);default:return F$1(new RegExp("^-?\\d{1,"+r+"}"),t)}}function en$2(r){switch(r){case "morning":return 4;case "evening":return 17;case "pm":case "noon":case "afternoon":return 12;default:return 0}}function Vr(r,t){let e=t>0,n=e?t:1-t,i;if(n<=50)i=r||100;else {let o=n+50,a=Math.trunc(o/100)*100,s=r>=o%100;i=r+a-(s?100:0);}return e?i:1-i}function Rr(r){return r%400===0||r%4===0&&r%100!==0}var jr=class extends _{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,n){let i=o=>({year:o,isTwoDigitYear:e==="yy"});switch(e){case "y":return U$1(x(4,t),i);case "yo":return U$1(n.ordinalNumber(t,{unit:"year"}),i);default:return U$1(x(e.length,t),i)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n){let i=t.getFullYear();if(n.isTwoDigitYear){let a=Vr(n.year,i);return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}let o=!("era"in e)||e.era===1?n.year:1-n.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}};var Lr=class extends _{priority=130;parse(t,e,n){let i=o=>({year:o,isTwoDigitYear:e==="YY"});switch(e){case "Y":return U$1(x(4,t),i);case "Yo":return U$1(n.ordinalNumber(t,{unit:"year"}),i);default:return U$1(x(e.length,t),i)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n,i){let o=Qt$1(t,i);if(n.isTwoDigitYear){let s=Vr(n.year,o);return t.setFullYear(s,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),ve(t,i)}let a=!("era"in e)||e.era===1?n.year:1-n.year;return t.setFullYear(a,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),ve(t,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var Hr=class extends _{priority=130;parse(t,e){return e==="R"?Jt(4,t):Jt(e.length,t)}set(t,e,n){let i=b(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),Le$1(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var Br=class extends _{priority=130;parse(t,e){return e==="u"?Jt(4,t):Jt(e.length,t)}set(t,e,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]};var Ur=class extends _{priority=120;parse(t,e,n){switch(e){case "Q":case "QQ":return x(e.length,t);case "Qo":return n.ordinalNumber(t,{unit:"quarter"});case "QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case "QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth((n-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 Wr=class extends _{priority=120;parse(t,e,n){switch(e){case "q":case "qq":return x(e.length,t);case "qo":return n.ordinalNumber(t,{unit:"quarter"});case "qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case "qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth((n-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 Kr=class extends _{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,n){let i=o=>o-1;switch(e){case "M":return U$1(F$1(A$1.month,t),i);case "MM":return U$1(x(2,t),i);case "Mo":return U$1(n.ordinalNumber(t,{unit:"month"}),i);case "MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case "MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};var qr=class extends _{priority=110;parse(t,e,n){let i=o=>o-1;switch(e){case "L":return U$1(F$1(A$1.month,t),i);case "LL":return U$1(x(2,t),i);case "Lo":return U$1(n.ordinalNumber(t,{unit:"month"}),i);case "LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case "LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]};function Ms(r,t,e){let n=y$2(r,e?.in),i=Mr(n,e)-t;return n.setDate(n.getDate()-i*7),y$2(n,e?.in)}var Gr=class extends _{priority=100;parse(t,e,n){switch(e){case "w":return F$1(A$1.week,t);case "wo":return n.ordinalNumber(t,{unit:"week"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n,i){return ve(Ms(t,n,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function Ys(r,t,e){let n=y$2(r,e?.in),i=$t(n,e)-t;return n.setDate(n.getDate()-i*7),n}var Zr=class extends _{priority=100;parse(t,e,n){switch(e){case "I":return F$1(A$1.week,t);case "Io":return n.ordinalNumber(t,{unit:"week"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n){return Le$1(Ys(t,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var Eu=[31,28,31,30,31,30,31,31,30,31,30,31],Fu=[31,29,31,30,31,30,31,31,30,31,30,31],$r=class extends _{priority=90;subPriority=1;parse(t,e,n){switch(e){case "d":return F$1(A$1.date,t);case "do":return n.ordinalNumber(t,{unit:"date"});default:return x(e.length,t)}}validate(t,e){let n=t.getFullYear(),i=Rr(n),o=t.getMonth();return i?e>=1&&e<=Fu[o]:e>=1&&e<=Eu[o]}set(t,e,n){return t.setDate(n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]};var Qr=class extends _{priority=90;subpriority=1;parse(t,e,n){switch(e){case "D":case "DD":return F$1(A$1.dayOfYear,t);case "Do":return n.ordinalNumber(t,{unit:"date"});default:return x(e.length,t)}}validate(t,e){let n=t.getFullYear();return Rr(n)?e>=1&&e<=366:e>=1&&e<=365}set(t,e,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]};function wt$1(r,t,e){let n=Fe(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=y$2(r,e?.in),a=o.getDay(),u=(t%7+7)%7,p=7-i,f=t<0||t>6?t-(a+p)%7:(u+p)%7-(a+p)%7;return Kt$1(o,f,e)}var Xr=class extends _{priority=90;parse(t,e,n){switch(e){case "E":case "EE":case "EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case "EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case "EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return t=wt$1(t,n,i),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]};var Jr=class extends _{priority=90;parse(t,e,n,i){let o=a=>{let s=Math.floor((a-1)/7)*7;return (a+i.weekStartsOn+6)%7+s};switch(e){case "e":case "ee":return U$1(x(e.length,t),o);case "eo":return U$1(n.ordinalNumber(t,{unit:"day"}),o);case "eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case "eeeee":return n.day(t,{width:"narrow",context:"formatting"});case "eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return t=wt$1(t,n,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]};var ei=class extends _{priority=90;parse(t,e,n,i){let o=a=>{let s=Math.floor((a-1)/7)*7;return (a+i.weekStartsOn+6)%7+s};switch(e){case "c":case "cc":return U$1(x(e.length,t),o);case "co":return U$1(n.ordinalNumber(t,{unit:"day"}),o);case "ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case "ccccc":return n.day(t,{width:"narrow",context:"standalone"});case "cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return t=wt$1(t,n,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]};function Os(r,t,e){let n=y$2(r,e?.in),i=xs(n,e),o=t-i;return Kt$1(n,o,e)}var ti=class extends _{priority=90;parse(t,e,n){let i=o=>o===0?7:o;switch(e){case "i":case "ii":return x(e.length,t);case "io":return n.ordinalNumber(t,{unit:"day"});case "iii":return U$1(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case "iiiii":return U$1(n.day(t,{width:"narrow",context:"formatting"}),i);case "iiiiii":return U$1(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);default:return U$1(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,e){return e>=1&&e<=7}set(t,e,n){return t=Os(t,n),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]};var ni=class extends _{priority=80;parse(t,e,n){switch(e){case "a":case "aa":case "aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case "aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(en$2(n),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]};var ri=class extends _{priority=80;parse(t,e,n){switch(e){case "b":case "bb":case "bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case "bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(en$2(n),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]};var ii=class extends _{priority=80;parse(t,e,n){switch(e){case "B":case "BB":case "BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case "BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(en$2(n),0,0,0),t}incompatibleTokens=["a","b","t","T"]};var oi=class extends _{priority=70;parse(t,e,n){switch(e){case "h":return F$1(A$1.hour12h,t);case "ho":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,n){let i=t.getHours()>=12;return i&&n<12?t.setHours(n+12,0,0,0):!i&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]};var ai=class extends _{priority=70;parse(t,e,n){switch(e){case "H":return F$1(A$1.hour23h,t);case "Ho":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,n){return t.setHours(n,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]};var li=class extends _{priority=70;parse(t,e,n){switch(e){case "K":return F$1(A$1.hour11h,t);case "Ko":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]};var si=class extends _{priority=70;parse(t,e,n){switch(e){case "k":return F$1(A$1.hour24h,t);case "ko":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,n){let i=n<=24?n%24:n;return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]};var ci=class extends _{priority=60;parse(t,e,n){switch(e){case "m":return F$1(A$1.minute,t);case "mo":return n.ordinalNumber(t,{unit:"minute"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setMinutes(n,0,0),t}incompatibleTokens=["t","T"]};var di=class extends _{priority=50;parse(t,e,n){switch(e){case "s":return F$1(A$1.second,t);case "so":return n.ordinalNumber(t,{unit:"second"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setSeconds(n,0),t}incompatibleTokens=["t","T"]};var ui=class extends _{priority=30;parse(t,e){let n=i=>Math.trunc(i*Math.pow(10,-e.length+3));return U$1(x(e.length,t),n)}set(t,e,n){return t.setMilliseconds(n),t}incompatibleTokens=["t","T"]};var hi=class extends _{priority=10;parse(t,e){switch(e){case "X":return Ae$1(ze$1.basicOptionalMinutes,t);case "XX":return Ae$1(ze$1.basic,t);case "XXXX":return Ae$1(ze$1.basicOptionalSeconds,t);case "XXXXX":return Ae$1(ze$1.extendedOptionalSeconds,t);default:return Ae$1(ze$1.extended,t)}}set(t,e,n){return e.timestampIsSet?t:b(t,t.getTime()-Dt$2(t)-n)}incompatibleTokens=["t","T","x"]};var mi=class extends _{priority=10;parse(t,e){switch(e){case "x":return Ae$1(ze$1.basicOptionalMinutes,t);case "xx":return Ae$1(ze$1.basic,t);case "xxxx":return Ae$1(ze$1.basicOptionalSeconds,t);case "xxxxx":return Ae$1(ze$1.extendedOptionalSeconds,t);default:return Ae$1(ze$1.extended,t)}}set(t,e,n){return e.timestampIsSet?t:b(t,t.getTime()-Dt$2(t)-n)}incompatibleTokens=["t","T","X"]};var pi=class extends _{priority=40;parse(t){return Nr(t)}set(t,e,n){return [b(t,n*1e3),{timestampIsSet:true}]}incompatibleTokens="*"};var fi=class extends _{priority=20;parse(t){return Nr(t)}set(t,e,n){return [b(t,n),{timestampIsSet:true}]}incompatibleTokens="*"};var Es={G:new Ir,y:new jr,Y:new Lr,R:new Hr,u:new Br,Q:new Ur,q:new Wr,M:new Kr,L:new qr,w:new Gr,I:new Zr,d:new $r,D:new Qr,E:new Xr,e:new Jr,c:new ei,i:new ti,a:new ni,b:new ri,B:new ii,h:new oi,H:new ai,K:new li,k:new si,m:new ci,s:new di,S:new ui,X:new hi,x:new mi,t:new pi,T:new fi};var zu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Au=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Iu=/^'([^]*?)'?$/,Nu=/''/g,Vu=/\S/,Ru=/[a-zA-Z]/;function Fs(r,t,e,n){let i=()=>b(n?.in||e,NaN),o=Ds(),a=n?.locale??o.locale??Pn$1,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,u=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!t)return r?i():y$2(e,n?.in);let p={firstWeekContainsDate:s,weekStartsOn:u,locale:a},f=[new Ar(n?.in,e)],C=t.match(Au).map(d=>{let g=d[0];if(g in Dn$1){let J=Dn$1[g];return J(d,a.formatLong)}return d}).join("").match(zu),G=[];for(let d of C){let g=d[0],J=Es[g];if(J){let{incompatibleTokens:qe}=J;if(Array.isArray(qe)){let Ge=G.find(ee=>qe.includes(ee.token)||ee.token===g);if(Ge)throw new RangeError(`The format string mustn't contain \`${Ge.fullToken}\` and \`${d}\` at the same time`)}else if(J.incompatibleTokens==="*"&&G.length>0)throw new RangeError(`The format string mustn't contain \`${d}\` and any other token at the same time`);G.push({token:g,fullToken:d});let Ie=J.run(r,d,a.match,p);if(!Ie)return i();f.push(Ie.setter),r=Ie.rest;}else {if(g.match(Ru))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");if(d==="''"?d="'":g==="'"&&(d=ju(d)),r.indexOf(d)===0)r=r.slice(d.length);else return i()}}if(r.length>0&&Vu.test(r))return i();let h=f.map(d=>d.priority).sort((d,g)=>g-d).filter((d,g,J)=>J.indexOf(d)===g).map(d=>f.filter(g=>g.priority===d).sort((g,J)=>J.subPriority-g.subPriority)).map(d=>d[0]),m=y$2(e,n?.in);if(isNaN(+m))return i();let c={};for(let d of h){if(!d.validate(m,p))return i();let g=d.set(m,c,p);Array.isArray(g)?(m=g[0],Object.assign(c,g[1])):m=g;}return m}function ju(r){return r.match(Iu)[1].replace(Nu,"'")}function zs(r,t){return So(b(r,r),is(r))}function gi(r,t,e){let n=y$2(r,e?.in),i=n.getFullYear(),o=n.getDate(),a=b(r,0);a.setFullYear(i,t,15),a.setHours(0,0,0,0);let s=Er(a);return n.setMonth(t,Math.min(o,s)),n}function As(r,t,e){let n=y$2(r,e?.in),i=Math.trunc(n.getMonth()/3)+1,o=t-i;return gi(n,n.getMonth()+o*3)}function Is(r,t,e){let n=y$2(r,e?.in);return isNaN(+n)?b(r,NaN):(n.setFullYear(t),n)}var Po=new A$4(""),yi=new A$4(""),Lu={firstDayOfWeek:void 0};var Ke="NzDateAdapter: method not implemented. Override this method in your adapter to opt in.";function Hu(r,t){let i={},{locale:e}=i,n=t$1(i,["locale"]);return wu$1([r,{provide:vi,useExisting:r},{provide:Po,useValue:r$1(r$1({},Lu),n)},...e!==void 0?[{provide:yi,useValue:e}]:[]])}var vi=class{locale;_localeChanges=new re$2;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 n=this.isValid(t),i=this.isValid(e);return n&&i?this.compareDate(t,e)===0:n===i}return t===e}clampDate(t,e,n){return e&&this.compareDate(e,t)>0?this.clone(e):n&&this.compareDate(t,n)>0?this.clone(n):t}calendarStartOfMonth(t){return this.createDate(this.getYear(t),this.getMonth(t),1)}calendarStartOfWeek(t){let e=this.getDayOfWeek(t),n=this.getFirstDayOfWeek(),i=(e-n+7)%7;return this.addCalendarDays(t,-i)}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,n,i){throw new Error(Ke)}getHours(t){throw new Error(Ke)}getMinutes(t){throw new Error(Ke)}getSeconds(t){throw new Error(Ke)}parseTime(t,e){throw new Error(Ke)}addSeconds(t,e){throw new Error(Ke)}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(Ke)}getTime(t){throw new Error(Ke)}getCalendarId(t){throw new Error(Ke)}getTimezoneOffset(t){throw new Error(Ke)}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)}},Bu=(()=>{class r extends vi{dateLocale=C$1(yi,{optional:true});dateConfig=C$1(Po,{optional:true});constructor(){super(),this.dateLocale&&super.setLocale(this.dateLocale);}today(){return new Date}createDate(e,n,i){return new Date(e,n,i)}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 Er(e)}getYearName(e){return wn$2(e,"yyyy",{locale:this.locale})}getMonthNames(e){let n=e==="narrow"?"MMMMM":e==="short"?"MMM":"MMMM";return Array.from({length:12},(i,o)=>wn$2(new Date(2024,o,1),n,{locale:this.locale}))}getDateNames(){return Array.from({length:31},(e,n)=>String(n+1))}getDayOfWeekNames(e){let n=e==="narrow"?"EEEEEE":e==="short"?"EEE":"EEEE";return Array.from({length:7},(i,o)=>wn$2(new Date(2024,0,o+1),n,{locale:this.locale}))}getFirstDayOfWeek(){return this.dateConfig?.firstDayOfWeek!=null?this.dateConfig.firstDayOfWeek:this.locale?.options?.weekStartsOn??1}addCalendarYears(e,n){return rs(e,n)}addCalendarMonths(e,n){return Pr(e,n)}addCalendarDays(e,n){return Kt$1(e,n)}format(e,n){if(!e)return "";if(!this.isValid(e))throw new Error("DateFnsDateAdapter: Cannot format invalid date.");let i=n.replace(/\[(.*?)\]/g,"'$1'");return wn$2(e,i,{locale:this.locale,useAdditionalWeekYearTokens:true,useAdditionalDayOfYearTokens:true})}parse(e,n){if(typeof e=="string"&&e.length>0){let i=Array.isArray(n)?n:[n];if(!i.length)throw new Error("Formats array must not be empty.");for(let o of i){let a=o.replace(/\[(.*?)\]/g,"'$1'"),s=Fs(e,a,new Date,{locale:this.locale,weekStartsOn:this.getFirstDayOfWeek()});if(this.isValid(s))return s}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 wr(e)}invalid(){return new Date(NaN)}getQuarter(e){return as(e)}setQuarter(e,n){return As(e,n)}startOfQuarter(e){return ds(e)}getISOWeek(e){return $t(e)}setYear(e,n){return Is(e,n)}setMonth(e,n){return gi(e,n)}setDate(e,n){let i=new Date(e);return i.setDate(n),i}setTime(e,n,i,o){let a=new Date(e);return a.setHours(n,i,o,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){return this.parse(e,n)}addSeconds(e,n){return ns(e,n)}getMilliseconds(e){return e.getMilliseconds()}getTime(e){return e.getTime()}isFirstDayOfMonth(e){return ws(e)}isLastDayOfMonth(e){return cs(e)}isToday(e){return zs(e)}calendarStartOfMonth(e){return us(e)}calendarStartOfWeek(e){return ve(e,{weekStartsOn:this.getFirstDayOfWeek()})}static \u0275fac=function(n){return new(n||r)};static \u0275prov=ie$1({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Ab(r){return Hu(Bu)}var Uu={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"}},Wu={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"}},Do=new A$4("");function Gb(r){return wu$1([typeof r=="function"?{provide:Do,useFactory:r}:{provide:Do,useValue:r}])}var xo=(()=>{class r{_locale;_change=new On$3(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(C$1(Do,{optional:true})||Wu),this.setDateLocale(C$1(yi,{optional:true}));}translate(e,n){let i=this._getObjectPath(this._locale,e);return typeof i=="string"?(n&&Object.keys(n).forEach(o=>i=i.replace(new RegExp(`%${o}%`,"g"),n[o])),i):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,n){let i=e?this._getObjectPath(this._locale,e):this._locale;return !i&&!n&&r2(`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`),i||n||this._getObjectPath(Uu,e)||{}}_getObjectPath(e,n){let i=e,o=n.split("."),a=o.length,s=0;for(;i&&s<a;)i=i[o[s++]];return s===a?i:null}static \u0275fac=function(n){return new(n||r)};static \u0275prov=ie$1({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Zb=(()=>{class r{_locale=C$1(xo);transform(e,n){return this._locale.translate(e,n)}static \u0275fac=function(n){return new(n||r)};static \u0275pipe=tD({name:"nzI18n",type:r,pure:true})}return r})(),$b=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({})}return r})();var Qb={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 Ku(r,t){if(r&1&&(tl$2(0),uh$2(1,"img",4),nl$2()),r&2){let e=HD(2);gI(),lh$2("src",e.nzNotFoundImage,Hf)("alt",e.isContentString?e.nzNotFoundContent:"empty");}}function qu(r,t){if(r&1&&rh$2(0,Ku,2,2,"ng-container",3),r&2){let e=HD();lh$2("nzStringTemplateOutlet",e.nzNotFoundImage);}}function Gu(r,t){r&1&&uh$2(0,"nz-empty-simple");}function Zu(r,t){r&1&&uh$2(0,"nz-empty-default");}function $u(r,t){if(r&1&&_D(0,Gu,1,0,"nz-empty-simple")(1,Zu,1,0,"nz-empty-default"),r&2){let e=HD();MD(e.nzNotFoundImage==="simple"?0:1);}}function Qu(r,t){if(r&1&&(tl$2(0),Iw(1),nl$2()),r&2){let e=HD(2);gI(),rl$1(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ");}}function Xu(r,t){if(r&1&&(_i$1(0,"p",1),rh$2(1,Qu,2,1,"ng-container",3),Jc$2()),r&2){let e=HD();gI(),lh$2("nzStringTemplateOutlet",e.nzNotFoundContent);}}function Ju(r,t){if(r&1&&(tl$2(0),Iw(1),nl$2()),r&2){let e=HD(2);gI(),rl$1(" ",e.nzNotFoundFooter," ");}}function eh(r,t){if(r&1&&(_i$1(0,"div",2),rh$2(1,Ju,2,1,"ng-container",3),Jc$2()),r&2){let e=HD();gI(),lh$2("nzStringTemplateOutlet",e.nzNotFoundFooter);}}var th=r=>({$implicit:r});function nh(r,t){if(r&1&&(tl$2(0),Iw(1),nl$2()),r&2){let e=HD(3);gI(),Lh$1(e.content);}}function rh(r,t){if(r&1&&rh$2(0,nh,2,1,"ng-container",1),r&2){let e=HD(2);lh$2("nzStringTemplateOutlet",e.content)("nzStringTemplateOutletContext",Aw(2,th,e.nzComponentName));}}function ih(r,t){}function oh(r,t){if(r&1&&rh$2(0,ih,0,0,"ng-template",0),r&2){let e=HD(2);lh$2("cdkPortalOutlet",e.contentPortal);}}function ah(r,t){if(r&1&&_D(0,rh,1,4,"ng-container")(1,oh,1,1,null,0),r&2){let e=HD();MD(e.contentType==="template"||e.contentType==="string"?0:1);}}function lh(r,t){r&1&&uh$2(0,"nz-empty",2);}function sh(r,t){r&1&&uh$2(0,"nz-empty",3);}function ch(r,t){r&1&&uh$2(0,"nz-empty");}function dh(r,t){if(r&1&&_D(0,lh,1,0,"nz-empty",2)(1,sh,1,0,"nz-empty",3)(2,ch,1,0,"nz-empty"),r&2){let e,n=HD(2);MD((e=n.size)==="normal"?0:e==="small"?1:2);}}function uh(r,t){if(r&1&&_D(0,dh,3,1),r&2){let e=HD();MD(e.specificContent!==null?0:-1);}}var hh=new A$4(""),mh=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,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(n,i){n&1&&(Yu$1(),Xc$2(0,"svg",0)(1,"g",1)(2,"g",2),dh$2(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),el$2(),dh$2(8,"path",8),Xc$2(9,"g",9),dh$2(10,"ellipse",10)(11,"path",11),el$2()()());},encapsulation:2})}return r})(),ph=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,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(n,i){n&1&&(Yu$1(),Xc$2(0,"svg",0)(1,"g",1),dh$2(2,"ellipse",2),Xc$2(3,"g",3),dh$2(4,"path",4)(5,"path",5),el$2()()());},encapsulation:2})}return r})(),fh=["default","simple"],Ns=(()=>{class r{i18n=C$1(xo);cdr=C$1(Z0$1);destroyRef=C$1(at$1);nzNotFoundImage="default";nzNotFoundContent;nzNotFoundFooter;isContentString=false;isImageBuildIn=true;locale;ngOnChanges(e){let{nzNotFoundContent:n,nzNotFoundImage:i}=e;if(n){let o=n.currentValue;this.isContentString=typeof o=="string";}if(i){let o=i.currentValue||"default";this.isImageBuildIn=fh.findIndex(a=>a===o)>-1;}}ngOnInit(){this.i18n.localeChange.pipe(ue$1(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck();});}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[ly],decls:5,vars:3,consts:[[1,"ant-empty-image"],[1,"ant-empty-description"],[1,"ant-empty-footer"],[4,"nzStringTemplateOutlet"],[3,"src","alt"]],template:function(n,i){n&1&&(_i$1(0,"div",0),_D(1,qu,1,1,"ng-container")(2,$u,2,1),Jc$2(),_D(3,Xu,2,1,"p",1),_D(4,eh,2,1,"div",2)),n&2&&(gI(),MD(i.isImageBuildIn?2:1),gI(2),MD(i.nzNotFoundContent!==null?3:-1),gI(),MD(i.nzNotFoundFooter?4:-1));},dependencies:[st,Ee,mh,ph],encapsulation:2})}return r})();function gh(r){switch(r){case "table":case "list":return "normal";case "select":case "tree-select":case "cascader":case "transfer":return "small";default:return ""}}var wo=(()=>{class r{configService=C$1(E3);viewContainerRef=C$1(Vi$2);cdr=C$1(Z0$1);injector=C$1(Ee$3);nzComponentName;specificContent;content;contentType="string";contentPortal;size="";constructor(){zt$1("empty",()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty();});}ngOnChanges(e){e.nzComponentName&&(this.size=gh(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 Er$1)this.contentType="template",this.contentPortal=void 0;else if(e instanceof xy){let n=Ee$3.create({parent:this.injector,providers:[{provide:hh,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new kn$2(e,this.viewContainerRef,n);}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges();}getUserDefaultEmptyContent(){return (this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[ly],decls:2,vars:1,consts:[[3,"cdkPortalOutlet"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nzNotFoundImage","simple",1,"ant-empty-normal"],["nzNotFoundImage","simple",1,"ant-empty-small"]],template:function(n,i){n&1&&_D(0,ah,2,1)(1,uh,1,1),n&2&&MD(i.content?0:1);},dependencies:[Ns,hr,xl,st,Ee],encapsulation:2})}return r})(),Vs=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({imports:[Ns,wo]})}return r})();function Rs(r){return r.buttons===0||r.detail===0}function js(r){let t=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return !!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Ls=new A$4("cdk-input-modality-detector-options"),Hs={ignoreKeys:[18,17,224,91,16]},Bs=650,To={passive:true,capture:true},Us=(()=>{class r{_platform=C$1(k6);_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(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=_n$3(e));};_onMousedown=e=>{Date.now()-this._lastTouchMs<Bs||(this._modality.next(Rs(e)?"keyboard":"mouse"),this._mostRecentTarget=_n$3(e));};_onTouchstart=e=>{if(js(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=_n$3(e);};constructor(){let e=C$1(oe$1),n=C$1(Uo),i=C$1(Ls,{optional:true});if(this._options=r$1(r$1({},Hs),i),this.modalityDetected=this._modality.pipe(om$1(1)),this.modalityChanged=this.modalityDetected.pipe(Kg()),this._platform.isBrowser){let o=C$1(Dr$1).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(n,"keydown",this._onKeydown,To),o.listen(n,"mousedown",this._onMousedown,To),o.listen(n,"touchstart",this._onTouchstart,To)]);}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e());}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),Tn$1=(function(r){return r[r.IMMEDIATE=0]="IMMEDIATE",r[r.EVENTUAL=1]="EVENTUAL",r})(Tn$1||{}),Ws=new A$4("cdk-focus-monitor-default-options"),_i=gl$1({passive:true,capture:true}),Ci=(()=>{class r{_ngZone=C$1(oe$1);_platform=C$1(k6);_inputModalityDetector=C$1(Us);_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$1(Uo);_stopInputModalityDetector=new re$2;constructor(){let e=C$1(Ws,{optional:true});this._detectionMode=e?.detectionMode||Tn$1.IMMEDIATE;}_rootNodeFocusAndBlurListener=e=>{let n=_n$3(e);for(let i=n;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i);};monitor(e,n=false){let i=Sn$3(e);if(!this._platform.isBrowser||i.nodeType!==1)return Dg();let o=On$2(i)||this._document,a=this._elementInfo.get(i);if(a)return n&&(a.checkChildren=true),a.subject;let s={checkChildren:n,subject:new re$2,rootNode:o};return this._elementInfo.set(i,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=Sn$3(e),i=this._elementInfo.get(n);i&&(i.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(i));}focusVia(e,n,i){let o=Sn$3(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,u])=>this._originChanged(s,n,u)):(this._setOrigin(n),typeof o.focus=="function"&&o.focus(i));}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n));}_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===Tn$1.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program");}_setOrigin(e,n=false){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Tn$1.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Bs:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i);}});}_onFocus(e,n){let i=this._elementInfo.get(n),o=_n$3(e);!i||!i.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),i);}_onBlur(e,n){let i=this._elementInfo.get(n);!i||i.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(i,null));}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n));}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,_i),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,_i);}),this._rootNodeFocusListenerCount.set(n,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener);}),this._inputModalityDetector.modalityDetected.pipe(im$1(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,true);}));}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let i=this._rootNodeFocusListenerCount.get(n);i>1?this._rootNodeFocusListenerCount.set(n,i-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_i),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_i),this._rootNodeFocusListenerCount.delete(n));}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId));}_originChanged(e,n,i){this._setClasses(e,n),this._emitOrigin(i,n),this._lastFocusOrigin=n;}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&n.push([o,i]);}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return false;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(n))return true}return false}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();var Ks=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,i){},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 r})();var qs=new Set,Tt$2,yh=(()=>{class r{_platform=C$1(k6);_nonce=C$1(zm$1,{optional:true});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ch;}matchMedia(e){return (this._platform.WEBKIT||this._platform.BLINK)&&_h(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();function _h(r,t){if(!qs.has(r))try{Tt$2||(Tt$2=document.createElement("style"),t&&Tt$2.setAttribute("nonce",t),Tt$2.setAttribute("type","text/css"),document.head.appendChild(Tt$2)),Tt$2.sheet&&(Tt$2.sheet.insertRule(`@media ${r.replace(/[{}]/g,"")} {body{ }}`,0),qs.add(r));}catch(e){console.error(e);}}function Ch(r){return {matches:r==="all"||r==="",media:r,addListener:()=>{},removeListener:()=>{}}}var Zs=(()=>{class r{_mediaMatcher=C$1(yh);_zone=C$1(oe$1);_queries=new Map;_destroySubject=new re$2;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete();}isMatched(e){return Gs(xr$1(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=Gs(xr$1(e)).map(a=>this._registerQuery(a).observable),o=Fg(i);return o=on$2(o.pipe(yt$2(1)),o.pipe(om$1(1),Bl$2(0))),o.pipe(Se$3(a=>{let s={matches:false,breakpoints:{}};return a.forEach(({matches:u,query:p})=>{s.matches=s.matches||u,s.breakpoints[p]=u;}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),o={observable:new S$2(a=>{let s=u=>this._zone.run(()=>a.next(u));return n.addListener(s),()=>{n.removeListener(s);}}).pipe(Ql$2(n),Se$3(({matches:a})=>({query:e,matches:a})),im$1(this._destroySubject)),mql:n};return this._queries.set(e,o),o}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();function Gs(r){return r.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var kh=(()=>{class r{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();var $s=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({providers:[kh]})}return r})();var Sh=(()=>{class r{_platform=C$1(k6);isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Ph(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return false;let n=bh(Eh(e));if(n&&(Qs(n)===-1||!this.isVisible(n)))return false;let i=e.nodeName.toLowerCase(),o=Qs(e);return e.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Yh(e)?false:i==="audio"?e.hasAttribute("controls")?o!==-1:false:i==="video"?o===-1?false:o!==null?true:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return Oh(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})();function bh(r){try{return r.frameElement}catch(t){return null}}function Ph(r){return !!(r.offsetWidth||r.offsetHeight||typeof r.getClientRects=="function"&&r.getClientRects().length)}function Dh(r){let t=r.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function xh(r){return Th(r)&&r.type=="hidden"}function wh(r){return Mh(r)&&r.hasAttribute("href")}function Th(r){return r.nodeName.toLowerCase()=="input"}function Mh(r){return r.nodeName.toLowerCase()=="a"}function ec(r){if(!r.hasAttribute("tabindex")||r.tabIndex===void 0)return false;let t=r.getAttribute("tabindex");return !!(t&&!isNaN(parseInt(t,10)))}function Qs(r){if(!ec(r))return null;let t=parseInt(r.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Yh(r){let t=r.nodeName.toLowerCase(),e=t==="input"&&r.type;return e==="text"||e==="password"||t==="select"||t==="textarea"}function Oh(r){return xh(r)?false:Dh(r)||wh(r)||r.hasAttribute("contenteditable")||ec(r)}function Eh(r){return r.ownerDocument&&r.ownerDocument.defaultView||window}var Yo=class{_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,n,i,o=false,a){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._injector=a,o||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 n=this._getFirstTabbableElement(e);return n?.focus(t),!!n}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 n=0;n<e.length;n++){let i=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(i)return i}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let n=e.length-1;n>=0;n--){let i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}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){Xf(t,{injector:this._injector});}},tc=(()=>{class r{_checker=C$1(Sh);_ngZone=C$1(oe$1);_document=C$1(Uo);_injector=C$1(Ee$3);constructor(){C$1(gn$2).load(Ks);}create(e,n=false){return new Yo(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),Fh=(()=>{class r{_elementRef=C$1(_r$1);_focusTrapFactory=C$1(tc);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$1(k6).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 n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus();}_captureFocus(){this._previouslyFocusedElement=Bn$1(),this.focusTrap?.focusInitialElementWhenReady();}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",K0$1],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",K0$1]},exportAs:["cdkTrapFocus"],features:[ly]})}return r})();var dt=(function(r){return r[r.NONE=0]="NONE",r[r.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",r[r.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",r})(dt||{}),Xs="cdk-high-contrast-black-on-white",Js="cdk-high-contrast-white-on-black",Mo="cdk-high-contrast-active",nc=(()=>{class r{_platform=C$1(k6);_hasCheckedHighContrastMode=false;_document=C$1(Uo);_breakpointSubscription;constructor(){this._breakpointSubscription=C$1(Zs).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=false,this._applyBodyHighContrastModeCssClasses());});}getHighContrastMode(){if(!this._platform.isBrowser)return dt.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,i=n&&n.getComputedStyle?n.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case "rgb(0,0,0)":case "rgb(45,50,54)":case "rgb(32,32,32)":return dt.WHITE_ON_BLACK;case "rgb(255,255,255)":case "rgb(255,250,239)":return dt.BLACK_ON_WHITE}return dt.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe();}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Mo,Xs,Js),this._hasCheckedHighContrastMode=true;let n=this.getHighContrastMode();n===dt.BLACK_ON_WHITE?e.add(Mo,Xs):n===dt.WHITE_ON_BLACK&&e.add(Mo,Js);}}static \u0275fac=function(n){return new(n||r)};static \u0275prov=br$1({token:r,factory:r.\u0275fac})}return r})(),zh=(()=>{class r{constructor(){C$1(nc)._applyBodyHighContrastModeCssClasses();}static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({imports:[$s]})}return r})();var tn$2=typeof globalThis.requestAnimationFrame=="function"?globalThis.requestAnimationFrame:globalThis.setTimeout,Oo=typeof globalThis.requestAnimationFrame=="function"?globalThis.cancelAnimationFrame:globalThis.clearTimeout;var Ah="nz-animate-disabled",Mn$2=(()=>{class r{animationType=C$1(Gm,{optional:true});nzNoAnimation=q0$1(false,{transform:K0$1});static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(n,i){n&2&&Sh$1("nz-animate-disabled",i.nzNoAnimation()||i.animationType==="NoopAnimations");},inputs:{nzNoAnimation:[1,"nzNoAnimation"]},exportAs:["nzNoAnimation"]})}return r})();function ic(){return C$1(Gm,{optional:true})!=="NoopAnimations"}function Ih(r){return ic()?Uw(r):qo(false)}function oc(r){return ic()?Uw(r):qo(Ah)}var rc="ant-motion-collapse",gD=(()=>{class r{elementRef=C$1(_r$1);noAnimation=C$1(Mn$2,{optional:true,host:true});animationEnabled=Ih(()=>!this.noAnimation?.nzNoAnimation());open=q0$1(false);leavedClassName=q0$1("");firstRender=true;constructor(){id$1(()=>{let e=this.open(),n=this.animationEnabled()&&!this.firstRender,i=this.elementRef.nativeElement,o=this.leavedClassName();if(e&&o&&i.classList.remove(o),n)if(i.classList.add(rc),e)tn$2(()=>{let a=this.getActualScrollHeight(i);i.style.height=O6(a),i.style.opacity="1";});else {let a=this.getActualScrollHeight(i);i.style.height=O6(a),tn$2(()=>{i.style.height=O6(0),i.style.opacity="0";});}else e?(i.style.height="auto",i.style.opacity="1"):(i.style.height=O6(0),i.style.opacity="0",o&&i.classList.add(o));this.firstRender=false;});}getActualScrollHeight(e){return Array.from(e.children).reduce((n,i)=>n+i.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(rc));}static \u0275fac=function(n){return new(n||r)};static \u0275dir=eD({type:r,selectors:[["","animation-collapse",""]],hostBindings:function(n,i){n&1&&mh$2("transitionend",function(a){return i.onTransitionEnd(a)});},inputs:{open:[1,"open"],leavedClassName:[1,"leavedClassName"]}})}return r})();var ac={enter:"ant-slide-up-enter ant-slide-up-enter-active",leave:"ant-slide-up-leave ant-slide-up-leave-active"},lc={enter:"ant-slide-down-enter ant-slide-down-enter-active",leave:"ant-slide-down-leave ant-slide-down-leave-active"};function sc(r=()=>"up"){return oc(()=>r()==="up"?ac.enter:lc.enter)}function cc(r=()=>"up"){return oc(()=>r()==="up"?ac.leave:lc.leave)}var uc=["*"];function Nh(r,t){if(r&1&&(tl$2(0),Iw(1),nl$2()),r&2){let e=HD();gI(),Lh$1(e.nzLabel);}}function Vh(r,t){}function Rh(r,t){if(r&1&&rh$2(0,Vh,0,0,"ng-template",1),r&2){let e=HD();lh$2("ngTemplateOutlet",e.template);}}function jh(r,t){if(r&1&&Iw(0),r&2){let e=HD();rl$1(" ",e.label," ");}}function Lh(r,t){r&1&&uh$2(0,"nz-icon",3);}function Hh(r,t){}function Bh(r,t){if(r&1&&rh$2(0,Hh,0,0,"ng-template",1),r&2){let e=HD(2);lh$2("ngTemplateOutlet",e.icon);}}function Uh(r,t){if(r&1&&(_i$1(0,"div",2),_D(1,Lh,1,0,"nz-icon",3)(2,Bh,1,1,null,1),Jc$2()),r&2){let e=HD();gI(),MD(e.icon?2:1);}}function Wh(r,t){if(r&1&&(_i$1(0,"div",0),uh$2(1,"nz-embed-empty",4),Jc$2()),r&2){let e=HD();gI(),lh$2("specificContent",e.notFoundContent);}}function Kh(r,t){if(r&1&&uh$2(0,"nz-option-item-group",5),r&2){let e=HD().$implicit;lh$2("nzLabel",e.groupLabel??null);}}function qh(r,t){if(r&1){let e=FD();_i$1(0,"nz-option-item",7),mh$2("itemHover",function(i){Fu$1(e);let o=HD(2);return ju$1(o.onItemHover(i))})("itemClick",function(i){Fu$1(e);let o=HD(2);return ju$1(o.onItemClick(i))}),Jc$2();}if(r&2){let e=HD().$implicit,n=HD();lh$2("icon",n.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template??null)("grouped",!!e.groupLabel)("disabled",e.nzDisabled||n.isMaxMultipleCountReached&&!n.listOfSelectedValue.includes(e.nzValue))("showState",n.mode==="tags"||n.mode==="multiple")("title",e.nzTitle)("label",e.nzLabel)("compareWith",n.compareWith)("activatedValue",n.activatedValue)("listOfSelectedValue",n.listOfSelectedValue)("value",e.nzValue);}}function Gh(r,t){if(r&1&&_D(0,Kh,1,1,"nz-option-item-group",5)(1,qh,1,12,"nz-option-item",6),r&2){let e,n=t.$implicit;MD((e=n.type)==="group"?0:e==="item"?1:-1);}}function Zh(r,t){}function $h(r,t){r&1&&UD(0);}function Qh(r,t){if(r&1&&(_i$1(0,"span"),Iw(1),Jc$2()),r&2){let e=HD();gI(),Fh$1("",e.listOfValue.length," / ",e.nzMaxMultipleCount);}}function Xh(r,t){r&1&&uh$2(0,"nz-icon",0);}function Jh(r,t){r&1&&uh$2(0,"nz-icon",2);}function em(r,t){r&1&&uh$2(0,"nz-icon",3);}function tm(r,t){if(r&1&&_D(0,Jh,1,0,"nz-icon",2)(1,em,1,0,"nz-icon",3),r&2){let e=HD(2);MD(e.search?0:1);}}function nm(r,t){if(r&1&&(tl$2(0),uh$2(1,"nz-icon",4),nl$2()),r&2){let e=t.$implicit;gI(),lh$2("nzType",e);}}function rm(r,t){if(r&1&&rh$2(0,nm,2,1,"ng-container",1),r&2){let e=HD(2);lh$2("nzStringTemplateOutlet",e.suffixIcon);}}function im(r,t){if(r&1&&_D(0,tm,2,1)(1,rm,1,1,"ng-container"),r&2){let e=HD();MD(e.showArrow&&!e.suffixIcon?0:1);}}function om(r,t){if(r&1&&(tl$2(0),Iw(1),nl$2()),r&2){let e=HD();gI(),Lh$1(e.feedbackIcon);}}function am(r,t){}function lm(r,t){if(r&1&&rh$2(0,am,0,0,"ng-template",0),r&2){let e=HD();lh$2("ngTemplateOutlet",e.clearIcon);}}function sm(r,t){r&1&&uh$2(0,"nz-icon",1);}function cm(r,t){if(r&1&&uh$2(0,"span",4),r&2){let e=HD(2);Sh$1("ant-select-selection-item-content",e.deletable),lh$2("innerHTML",e.label,vv);}}function dm(r,t){if(r&1&&(_i$1(0,"span"),Iw(1),Jc$2()),r&2){let e=HD(2);Sh$1("ant-select-selection-item-content",e.deletable),gI(),Lh$1(e.label);}}function um(r,t){if(r&1&&(tl$2(0),_D(1,cm,1,3,"span",2)(2,dm,2,3,"span",3),nl$2()),r&2){let e=HD();gI(),MD(e.displayLabelInHtml?1:2);}}function hm(r,t){r&1&&uh$2(0,"nz-icon",6);}function mm(r,t){}function pm(r,t){if(r&1&&rh$2(0,mm,0,0,"ng-template",7),r&2){let e=HD(2);lh$2("ngTemplateOutlet",e.removeIcon);}}function fm(r,t){if(r&1){let e=FD();_i$1(0,"span",5),mh$2("click",function(i){Fu$1(e);let o=HD();return ju$1(o.onDelete(i))}),_D(1,hm,1,0,"nz-icon",6)(2,pm,1,1,null,7),Jc$2();}if(r&2){let e=HD();gI(),MD(e.removeIcon?2:1);}}function gm(r,t){if(r&1&&(tl$2(0),Iw(1),nl$2()),r&2){let e=HD();gI(),rl$1(" ",e.placeholder," ");}}var vm=["inputElement"],ym=["mirrorElement"];function _m(r,t){r&1&&uh$2(0,"span",3,1);}var Cm=(r,t)=>t.nzValue;function km(r,t){if(r&1&&(tl$2(0),Iw(1),nl$2()),r&2){let e=HD(2);gI(),Lh$1(e.prefix);}}function Sm(r,t){if(r&1&&(_i$1(0,"div",0),rh$2(1,km,2,1,"ng-container",4),Jc$2()),r&2){let e=HD();gI(),lh$2("nzStringTemplateOutlet",e.prefix);}}function bm(r,t){if(r&1&&uh$2(0,"nz-select-item",6),r&2){let e=HD(2);lh$2("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0]);}}function Pm(r,t){if(r&1){let e=FD();_i$1(0,"nz-select-search",5),mh$2("isComposingChange",function(i){Fu$1(e);let o=HD();return ju$1(o.isComposingChange(i))})("valueChange",function(i){Fu$1(e);let o=HD();return ju$1(o.onInputValueChange(i))}),Jc$2(),_D(1,bm,1,4,"nz-select-item",6);}if(r&2){let e=HD();lh$2("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",false)("autofocus",e.autofocus)("focusTrigger",e.open),gI(),MD(e.isShowSingleLabel?1:-1);}}function Dm(r,t){if(r&1){let e=FD();_i$1(0,"div",7)(1,"nz-select-item",10),mh$2("delete",function(){let i=Fu$1(e).$implicit,o=HD(2);return ju$1(o.onDeleteItem(i.contentTemplateOutletContext))}),Jc$2()();}if(r&2){let e=t.$implicit,n=HD(2);gI(),lh$2("removeIcon",n.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||n.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("contentTemplateOutletContext",e.contentTemplateOutletContext);}}function xm(r,t){if(r&1){let e=FD();_i$1(0,"div",2),xD(1,Dm,2,5,"div",7,Cm),_i$1(3,"div",8)(4,"nz-select-search",9),mh$2("isComposingChange",function(i){Fu$1(e);let o=HD();return ju$1(o.isComposingChange(i))})("valueChange",function(i){Fu$1(e);let o=HD();return ju$1(o.onInputValueChange(i))}),Jc$2()()();}if(r&2){let e=HD();gI(),AD(e.listOfSlicedItem),gI(3),lh$2("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",true)("mirrorSync",true)("focusTrigger",e.open);}}function wm(r,t){if(r&1&&uh$2(0,"nz-select-placeholder",3),r&2){let e=HD();lh$2("placeholder",e.placeHolder);}}function Tm(r,t){if(r&1&&uh$2(0,"nz-form-item-feedback-icon",6),r&2){let e=HD(3);lh$2("status",e.status);}}function Mm(r,t){if(r&1&&_D(0,Tm,1,1,"nz-form-item-feedback-icon",6),r&2){let e=HD(2);MD(e.hasFeedback&&e.status?0:-1);}}function Ym(r,t){if(r&1&&(_i$1(0,"nz-select-arrow",3),rh$2(1,Mm,1,1,"ng-template",null,1,Vw),Jc$2()),r&2){let e=QD(2),n=HD();lh$2("showArrow",n.nzShowArrow)("loading",n.nzLoading)("search",n.nzOpen&&n.nzShowSearch)("suffixIcon",n.nzSuffixIcon)("feedbackIcon",e)("nzMaxMultipleCount",n.nzMaxMultipleCount)("listOfValue",n.listOfValue)("isMaxMultipleCountSet",n.isMaxMultipleCountSet);}}function Om(r,t){if(r&1){let e=FD();_i$1(0,"nz-select-clear",7),mh$2("clear",function(){Fu$1(e);let i=HD();return ju$1(i.onClearSelection())}),Jc$2();}if(r&2){let e=HD();lh$2("clearIcon",e.nzClearIcon);}}function Em(r,t){if(r&1){let e=FD();_i$1(0,"nz-option-container",8),oi$1(function(){Fu$1(e);let i=HD();return ju$1(i.slideAnimationLeave())}),ri$1(function(){Fu$1(e);let i=HD();return ju$1(i.slideAnimationEnter())}),mh$2("keydown",function(i){Fu$1(e);let o=HD();return ju$1(o.onKeyDown(i))})("itemClick",function(i){Fu$1(e);let o=HD();return ju$1(o.onItemClick(i))})("scrollToBottom",function(){Fu$1(e);let i=HD();return ju$1(i.nzScrollToBottom.emit())}),Jc$2();}if(r&2){let e=HD();aw(e.nzDropdownStyle),Sh$1("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"),lh$2("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 Eo=(()=>{class r{nzLabel=null;changes=new re$2;ngOnChanges(){this.changes.next();}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[ly],ngContentSelectors:uc,decls:1,vars:0,template:function(n,i){n&1&&($D(),UD(0));},encapsulation:2})}return r})(),hc=(()=>{class r{nzLabel=null;static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,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(n,i){n&1&&rh$2(0,Nh,2,1,"ng-container",0),n&2&&lh$2("nzStringTemplateOutlet",i.nzLabel);},dependencies:[st,Ee],encapsulation:2})}return r})(),mc=(()=>{class r{el=C$1(_r$1).nativeElement;ngZone=C$1(oe$1);destroyRef=C$1(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 Le$4;itemHover=new Le$4;ngOnChanges(e){let{value:n,activatedValue:i,listOfSelectedValue:o}=e;(n||o)&&(this.selected=this.listOfSelectedValue.some(a=>this.compareWith(a,this.value))),(n||i)&&(this.activated=this.compareWith(this.activatedValue,this.value));}ngOnInit(){el$1(this.el,"click").pipe(ue$1(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value));}),el$1(this.el,"mouseenter").pipe(ue$1(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value));});}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(n,i){n&2&&(ch$2("title",i.title),Sh$1("ant-select-item-option-grouped",i.grouped)("ant-select-item-option-selected",i.selected&&!i.disabled)("ant-select-item-option-disabled",i.disabled)("ant-select-item-option-active",i.activated&&!i.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:[ly],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(n,i){n&1&&(_i$1(0,"div",0),_D(1,Rh,1,1,null,1)(2,jh,1,1),Jc$2(),_D(3,Uh,3,1,"div",2)),n&2&&(gI(),MD(i.customContent?1:2),gI(2),MD(i.showState&&i.selected?3:-1));},dependencies:[w5,Ah$1,Th$1],encapsulation:2})}return r})(),pc=(()=>{class r{ngZone=C$1(oe$1);platformId=C$1(Wm);notFoundContent=void 0;menuItemSelectedIcon=null;dropdownRender=null;activatedValue=null;listOfSelectedValue=[];compareWith;mode="default";matchWidth=true;itemSize=32;maxItemLength=8;isMaxMultipleCountReached=false;listOfContainerItem=[];itemClick=new Le$4;scrollToBottom=new Le$4;cdkVirtualScrollViewport;scrolledIndex=0;onItemClick(e){this.itemClick.emit(e);}onItemHover(e){this.activatedValue=e;}trackValue(e,n){return n.key}onScrolledIndexChange(e){let n=this.listOfContainerItem.length-e<=this.maxItemLength+1,i=this.listOfContainerItem.length-this.scrolledIndex<=this.maxItemLength+1;n&&!i&&this.scrollToBottom.emit(),this.scrolledIndex=e;}scrollToActivatedValue(){let e=this.listOfContainerItem.findIndex(n=>this.compareWith(n.key,this.activatedValue));(e<this.scrolledIndex||e>=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0);}ngOnChanges(e){let{listOfContainerItem:n,activatedValue:i}=e,o=!!n&&!n.previousValue?.length&&!!n.currentValue?.length;(i||o)&&this.scrollToActivatedValue();}ngAfterViewInit(){S2(this.platformId)&&this.ngZone.runOutsideAngular(()=>setTimeout(()=>this.scrollToActivatedValue()));}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-option-container"]],viewQuery:function(n,i){if(n&1&&Eh$1(_n$2,7),n&2){let o;WD(o=GD())&&(i.cdkVirtualScrollViewport=o.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:[ly],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(n,i){n&1&&(_i$1(0,"div"),_D(1,Wh,2,1,"div",0),_i$1(2,"cdk-virtual-scroll-viewport",1),mh$2("scrolledIndexChange",function(a){return i.onScrolledIndexChange(a)}),rh$2(3,Gh,2,1,"ng-template",2),Jc$2(),rh$2(4,Zh,0,0,"ng-template",3),Jc$2()),n&2&&(gI(),MD(i.listOfContainerItem.length===0?1:-1),gI(),Mh$1("height",i.listOfContainerItem.length*i.itemSize,"px")("max-height",i.itemSize*i.maxItemLength,"px"),Sh$1("full-width",!i.matchWidth),lh$2("itemSize",i.itemSize)("maxBufferPx",i.itemSize*i.maxItemLength)("minBufferPx",i.itemSize*i.maxItemLength),gI(),lh$2("cdkVirtualForOf",i.listOfContainerItem)("cdkVirtualForTrackBy",i.trackValue)("cdkVirtualForTemplateCacheSize",0),gI(),lh$2("ngTemplateOutlet",i.dropdownRender));},dependencies:[Vs,wo,hc,mc,w5,vo,io,ao,_n$2,_o],encapsulation:2})}return r})(),Fm=(()=>{class r{destroyRef=C$1(at$1);nzOptionGroupComponent=C$1(Eo,{optional:true});changes=new re$2;groupLabel=null;template;nzTitle;nzLabel=null;nzValue=null;nzKey;nzDisabled=false;nzHide=false;nzCustomContent=false;ngOnInit(){this.nzOptionGroupComponent?.changes.pipe(Ql$2(true),ue$1(this.destroyRef)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent?.nzLabel;});}ngOnChanges(){this.changes.next();}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-option"]],viewQuery:function(n,i){if(n&1&&Eh$1(Er$1,7),n&2){let o;WD(o=GD())&&(i.template=o.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:[ly],ngContentSelectors:uc,decls:1,vars:0,template:function(n,i){n&1&&($D(),oh$2(0,$h,1,0,"ng-template"));},encapsulation:2})}return r})(),fc=(()=>{class r{listOfValue=[];loading=false;search=false;showArrow=false;isMaxMultipleCountSet=false;suffixIcon=null;feedbackIcon=null;nzMaxMultipleCount=1/0;static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(n,i){n&2&&Sh$1("ant-select-arrow-loading",i.loading);},inputs:{listOfValue:"listOfValue",loading:"loading",search:"search",showArrow:"showArrow",isMaxMultipleCountSet:"isMaxMultipleCountSet",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon",nzMaxMultipleCount:[2,"nzMaxMultipleCount","nzMaxMultipleCount",qr$1]},decls:4,vars:3,consts:[["nzType","loading"],[4,"nzStringTemplateOutlet"],["nzType","search"],["nzType","down"],[3,"nzType"]],template:function(n,i){n&1&&(_D(0,Qh,2,2,"span"),_D(1,Xh,1,0,"nz-icon",0)(2,im,2,1),rh$2(3,om,2,1,"ng-container",1)),n&2&&(MD(i.isMaxMultipleCountSet?0:-1),gI(),MD(i.loading?1:2),gI(2),lh$2("nzStringTemplateOutlet",i.feedbackIcon));},dependencies:[Ah$1,Th$1,st,Ee],encapsulation:2})}return r})(),gc=(()=>{class r{clearIcon=null;clear=new Le$4;onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e);}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(n,i){n&1&&mh$2("click",function(a){return i.onClick(a)});},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(n,i){n&1&&_D(0,lm,1,1,null,0)(1,sm,1,0,"nz-icon",1),n&2&&MD(i.clearIcon?0:1);},dependencies:[w5,Ah$1,Th$1],encapsulation:2})}return r})(),vc=(()=>{class r{disabled=false;label=null;displayLabelInHtml=false;deletable=false;removeIcon=null;contentTemplateOutletContext=null;contentTemplateOutlet=null;delete=new Le$4;get templateOutletContext(){return r$1({$implicit:this.contentTemplateOutletContext},this.contentTemplateOutletContext)}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e);}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(n,i){n&2&&(ch$2("title",i.label),Sh$1("ant-select-selection-item-disabled",i.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(n,i){n&1&&(rh$2(0,um,3,1,"ng-container",0),_D(1,fm,3,1,"span",1)),n&2&&(lh$2("nzStringTemplateOutlet",i.contentTemplateOutlet)("nzStringTemplateOutletContext",i.templateOutletContext),gI(),MD(i.deletable&&!i.disabled?1:-1));},dependencies:[w5,st,Ee,Ah$1,Th$1],encapsulation:2})}return r})(),yc=(()=>{class r{placeholder=null;static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(n,i){n&1&&rh$2(0,gm,2,1,"ng-container",0),n&2&&lh$2("nzStringTemplateOutlet",i.placeholder);},dependencies:[st,Ee],encapsulation:2})}return r})(),Fo=(()=>{class r{elementRef=C$1(_r$1);renderer=C$1(XI);focusMonitor=C$1(Ci);nzId=null;disabled=false;mirrorSync=false;showInput=true;focusTrigger=false;value="";autofocus=false;valueChange=new Le$4;isComposingChange=new Le$4;inputElement;mirrorElement;constructor(){Xf(()=>{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,n=this.elementRef.nativeElement,i=this.inputElement.nativeElement;this.renderer.removeStyle(n,"width"),this.renderer.setProperty(e,"textContent",`${i.value}\xA0`),this.renderer.setStyle(n,"width",`${e.scrollWidth}px`);}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard");}blur(){this.inputElement.nativeElement.blur();}ngOnChanges(e){let n=this.inputElement.nativeElement,{focusTrigger:i,showInput:o}=e;o&&(this.showInput?this.renderer.removeAttribute(n,"readonly"):this.renderer.setAttribute(n,"readonly","readonly")),i&&i.currentValue===true&&i.previousValue===false&&n.focus();}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-select-search"]],viewQuery:function(n,i){if(n&1&&Eh$1(vm,7)(ym,5),n&2){let o;WD(o=GD())&&(i.inputElement=o.first),WD(o=GD())&&(i.mirrorElement=o.first);}},hostAttrs:[1,"ant-select-selection-search"],hostVars:2,hostBindings:function(n,i){n&2&&Mh$1("width",i.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:[Nw([{provide:Ui$1,useValue:false}]),ly],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(n,i){n&1&&(_i$1(0,"input",2,0),mh$2("ngModelChange",function(a){return i.onValueChange(a)})("compositionstart",function(){return i.setCompositionState(true)})("compositionend",function(){return i.setCompositionState(false)}),Jc$2(),iE(),_D(2,_m,2,0,"span",3)),n&2&&(Mh$1("opacity",i.showInput?null:0),lh$2("ngModel",i.value)("disabled",i.disabled),ch$2("id",i.nzId)("autofocus",i.autofocus?"autofocus":null),aE(),gI(2),MD(i.mirrorSync?2:-1));},dependencies:[al,er,rl,$i$1],encapsulation:2})}return r})(),ki$1=(()=>{class r{destroyRef=C$1(at$1);elementRef=C$1(_r$1);ngZone=C$1(oe$1);noAnimation=C$1(Mn$2,{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 Le$4;inputValueChange=new Le$4;deleteItem=new Le$4;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,n){let i=(a,s)=>{for(let u=0;u<s.length;++u)if(a.lastIndexOf(s[u])>0)return true;return false},o=(a,s)=>{let u=new RegExp(`[${s.join()}]`),p=a.split(u).filter(f=>f);return [...new Set(p)]};if(e&&e.length&&n.length&&this.mode!=="default"&&i(e,n)){let a=o(e,n);this.tokenize.next(a);}}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:n,maxTagCount:i,customTemplate:o,maxTagPlaceholder:a}=e;if(n&&this.updateTemplateVariable(),n||i||o||a){let s=this.listOfTopItem.slice(0,this.maxTagCount).map(u=>({nzLabel:u.nzLabel,nzValue:u.nzValue,nzDisabled:u.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:u}));if(this.listOfTopItem.length>this.maxTagCount){let u=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,p=this.listOfTopItem.map(C=>C.nzValue),f={nzLabel:u,nzValue:"$$__nz_exceeded_item",nzDisabled:true,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:p.slice(this.maxTagCount)};s.push(f);}this.listOfSlicedItem=s;}}ngOnInit(){el$1(this.elementRef.nativeElement,"click").pipe(ue$1(this.destroyRef)).subscribe(e=>{e.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus();}),el$1(this.elementRef.nativeElement,"keydown").pipe(ue$1(this.destroyRef)).subscribe(e=>{if(e.target instanceof HTMLInputElement){let n=e.target.value;e.keyCode===8&&this.mode!=="default"&&!n&&this.listOfTopItem.length>0&&(e.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])));}});}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=ZE({type:r,selectors:[["nz-select-top-control"]],viewQuery:function(n,i){if(n&1&&Eh$1(Fo,5),n&2){let o;WD(o=GD())&&(i.nzSelectSearchComponent=o.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:[ly],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(n,i){if(n&1&&(_D(0,Sm,2,1,"div",0),_i$1(1,"span",1),_D(2,Pm,2,8)(3,xm,5,7,"div",2),_D(4,wm,1,1,"nz-select-placeholder",3),Jc$2()),n&2){MD(i.prefix?0:-1),gI(2),MD((i.mode)==="default"?2:3),gI(2),MD(i.isShowPlaceholder?4:-1);}},dependencies:[Fo,vc,yc,Ee],encapsulation:2})}return r})(),zm=(r,t)=>t&&t.nzLabel?t.nzLabel.toString().toLowerCase().indexOf(r.toLowerCase())>-1:false,dc="select",Am=(()=>{let r,t=[],e=[],n,i=[],o=[],a,s=[],u=[],p,f=[],C=[];return class Si{static{let h=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;r=[Yl$1()],n=[Yl$1()],a=[Yl$1()],p=[Yl$1()],mT(null,null,r,{kind:"field",name:"nzVariant",static:false,private:false,access:{has:m=>"nzVariant"in m,get:m=>m.nzVariant,set:(m,c)=>{m.nzVariant=c;}},metadata:h},t,e),mT(null,null,n,{kind:"field",name:"nzOptionHeightPx",static:false,private:false,access:{has:m=>"nzOptionHeightPx"in m,get:m=>m.nzOptionHeightPx,set:(m,c)=>{m.nzOptionHeightPx=c;}},metadata:h},i,o),mT(null,null,a,{kind:"field",name:"nzSuffixIcon",static:false,private:false,access:{has:m=>"nzSuffixIcon"in m,get:m=>m.nzSuffixIcon,set:(m,c)=>{m.nzSuffixIcon=c;}},metadata:h},s,u),mT(null,null,p,{kind:"field",name:"nzBackdrop",static:false,private:false,access:{has:m=>"nzBackdrop"in m,get:m=>m.nzBackdrop,set:(m,c)=>{m.nzBackdrop=c;}},metadata:h},f,C),h&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:h});}_nzModuleName=dc;ngZone=C$1(oe$1);cdr=C$1(Z0$1);host=C$1(_r$1);renderer=C$1(XI);platform=C$1(k6);focusMonitor=C$1(Ci);destroyRef=C$1(at$1);noAnimation=C$1(Mn$2,{host:true,optional:true});nzFormStatusService=C$1(ml,{optional:true});nzId=null;nzSize="default";nzStatus="";nzVariant=yT(this,t,void 0);nzOptionHeightPx=(yT(this,e),yT(this,i,32));nzOptionOverflowSize=(yT(this,o),8);nzDropdownClassName=null;nzDropdownMatchSelectWidth=true;nzDropdownStyle=null;nzNotFoundContent=void 0;nzPlaceHolder=null;nzPlacement=null;nzMaxTagCount=1/0;nzDropdownRender=null;nzCustomTemplate=null;nzPrefix=null;nzSuffixIcon=yT(this,s,null);nzClearIcon=(yT(this,u),null);nzRemoveIcon=null;nzMenuItemSelectedIcon=null;nzTokenSeparators=[];nzMaxTagPlaceholder=null;nzMaxMultipleCount=1/0;nzMode="default";nzFilterOption=zm;compareWith=(h,m)=>h===m;nzAllowClear=false;nzShowSearch=false;nzLoading=false;nzAutoFocus=false;nzAutoClearSearchValue=true;nzServerSearch=false;nzDisabled=false;nzOpen=false;nzSelectOnTab=false;nzBackdrop=yT(this,f,false);nzOptions=(yT(this,C),[]);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 Le$4;nzScrollToBottom=new Le$4;nzOpenChange=new Le$4;nzBlur=new Le$4;nzFocus=new Le$4;nzOnClear=U0$1();originElement;cdkConnectedOverlay;nzSelectTopControlComponent;listOfNzOptionComponent;listOfNzOptionGroupComponent;nzOptionGroupComponentElement;nzSelectTopControlComponentElement;finalSize=Uw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());finalVariant=Uw(()=>this.variant()||this.formVariant?.()||"outlined");size=qo(this.nzSize);variant=qo(this.nzVariant);formSize=C$1(Bt$1,{optional:true});formVariant=C$1(pl,{optional:true});compactSize=C$1(pn$1,{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$1(Oe$1).valueSignal;placement=qo("bottomLeft");slideAnimationEnter=sc(()=>this.placement().startsWith("top")?"down":"up");slideAnimationLeave=cc(()=>this.placement().startsWith("top")?"down":"up");prefixCls="ant-select";statusCls={};status="";hasFeedback=false;generateTagItem(h){return {nzValue:h,nzLabel:h,type:"item"}}onItemClick(h){if(this.activatedValue=h,this.nzMode==="default")(this.listOfValue.length===0||!this.compareWith(this.listOfValue[0],h))&&this.updateListOfValue([h]),this.setOpenState(false);else {let m=this.listOfValue.findIndex(c=>this.compareWith(c,h));if(m!==-1){let c=this.listOfValue.filter((d,g)=>g!==m);this.updateListOfValue(c);}else if(this.listOfValue.length<this.nzMaxMultipleCount){let c=[...this.listOfValue,h];this.updateListOfValue(c);}this.focus(),this.nzAutoClearSearchValue&&this.clearInput();}}onItemDelete(h){let m=this.listOfValue.filter(c=>!this.compareWith(c,h.nzValue));this.updateListOfValue(m),this.clearInput();}updateListOfContainerItem(){let h=this.listOfTagAndTemplateItem.filter(d=>!d.nzHide).filter(d=>!this.nzServerSearch&&this.searchValue?this.nzFilterOption(this.searchValue,d):true);if(this.nzMode==="tags"&&this.searchValue){let d=this.listOfTagAndTemplateItem.find(g=>g.nzLabel===this.searchValue);if(d)this.activatedValue=d.nzValue;else {let g=this.generateTagItem(this.searchValue);h=[g,...h],this.activatedValue=g.nzValue;}}let m=h.find(d=>d.nzLabel===this.searchValue)||h.find(d=>this.compareWith(d.nzValue,this.activatedValue))||h.find(d=>this.compareWith(d.nzValue,this.listOfValue[0]))||h[0];this.activatedValue=m&&m.nzValue||null;let c=[];this.isReactiveDriven?c=[...new Set(this.nzOptions.filter(d=>d.groupLabel).map(d=>d.groupLabel))]:this.listOfNzOptionGroupComponent&&(c=this.listOfNzOptionGroupComponent.map(d=>d.nzLabel)),c.forEach(d=>{let g=h.findIndex(J=>d===J.groupLabel);if(g>-1){let J={groupLabel:d,type:"group",key:d};h.splice(g,0,J);}}),this.listOfContainerItem=[...h],this.updateCdkConnectedOverlayPositions();}clearInput(){this.nzSelectTopControlComponent.clearInputValue();}updateListOfValue(h){let c=((d,g)=>g==="default"?d.length>0?d[0]:null:d)(h,this.nzMode);this.value!==c&&(this.listOfValue=h,this.listOfValue$.next(h),this.value=c,this.onChange(this.value));}onTokenSeparate(h){let m=this.listOfTagAndTemplateItem.filter(d=>h.findIndex(g=>g===d.nzLabel)!==-1).map(d=>d.nzValue).filter(d=>this.listOfValue.findIndex(g=>this.compareWith(g,d))===-1),c=d=>this.isMaxMultipleCountSet?d.slice(0,this.nzMaxMultipleCount):d;if(this.nzMode==="multiple"){let d=c([...this.listOfValue,...m]);this.updateListOfValue(d);}else if(this.nzMode==="tags"){let d=h.filter(J=>this.listOfTagAndTemplateItem.findIndex(qe=>qe.nzLabel===J)===-1),g=c([...this.listOfValue,...m,...d]);this.updateListOfValue(g);}this.clearInput();}onKeyDown(h){if(this.nzDisabled)return;let m=this.listOfContainerItem.filter(d=>d.type==="item").filter(d=>!d.nzDisabled),c=m.findIndex(d=>this.compareWith(d.nzValue,this.activatedValue));switch(h.keyCode){case 38:if(h.preventDefault(),this.nzOpen&&m.length>0){let d=c>0?c-1:m.length-1;this.activatedValue=m[d].nzValue;}break;case 40:if(h.preventDefault(),this.nzOpen&&m.length>0){let d=c<m.length-1?c+1:0;this.activatedValue=m[d].nzValue;}else this.setOpenState(true);break;case 13:h.preventDefault(),this.nzOpen?Nr$1(this.activatedValue)&&c!==-1&&this.onItemClick(this.activatedValue):this.setOpenState(true);break;case 32:this.nzOpen||(this.setOpenState(true),h.preventDefault());break;case 9:this.nzSelectOnTab?this.nzOpen&&(h.preventDefault(),Nr$1(this.activatedValue)&&this.onItemClick(this.activatedValue)):this.setOpenState(false);break;case 27:break;default:this.nzOpen||this.setOpenState(true);}}setOpenState(h){this.nzOpen!==h&&(this.nzOpen=h,this.nzOpenChange.emit(h),this.onOpenChange(),this.cdr.markForCheck());}onOpenChange(){this.updateCdkConnectedOverlayStatus(),(this.nzAutoClearSearchValue||!this.isMultiple)&&this.clearInput();}onInputValueChange(h){this.searchValue=h,this.updateListOfContainerItem(),this.nzOnSearch.emit(h),this.updateCdkConnectedOverlayPositions();}onClearSelection(){this.updateListOfValue([]),this.nzOnClear.emit();}onClickOutside(h){let m=_n$3(h);this.host.nativeElement.contains(m)||this.setOpenState(false);}focus(){this.nzSelectTopControlComponent.focus();}blur(){this.nzSelectTopControlComponent.blur();}onPositionChange(h){let m=yo(h);this.placement.set(m);}updateCdkConnectedOverlayStatus(){if(this.platform.isBrowser&&this.originElement.nativeElement){let h=this.triggerWidth;Oo(this.requestId),this.requestId=tn$2(()=>{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,h!==this.triggerWidth&&this.cdr.detectChanges();});}}updateCdkConnectedOverlayPositions(){tn$2(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition();});}constructor(){this.destroyRef.onDestroy(()=>{Oo(this.requestId),this.focusMonitor.stopMonitoring(this.host);}),zt$1(dc,()=>{this.size.set(this.nzSize),this.cdr.markForCheck();});}writeValue(h){if(this.value!==h){this.value=h;let c=((d,g)=>d==null?[]:g==="default"?[d]:d)(h,this.nzMode);this.listOfValue=c,this.nzOpen||(this.activatedValue=c[0]??null),this.listOfValue$.next(c),this.cdr.markForCheck();}}registerOnChange(h){this.onChange=h;}registerOnTouched(h){this.onTouched=h;}setDisabledState(h){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||h,this.isNzDisableFirstChange=false,this.nzDisabled&&this.setOpenState(false),this.cdr.markForCheck();}ngOnChanges({nzOpen:h,nzDisabled:m,nzOptions:c,nzStatus:d,nzPlacement:g,nzSize:J,nzVariant:qe}){if(h&&this.onOpenChange(),m&&this.nzDisabled&&this.setOpenState(false),c){this.isReactiveDriven=true;let Ge=(this.nzOptions||[]).map(ee=>({template:ee.label instanceof Er$1?ee.label:null,nzTitle:this.getTitle(ee.title,ee.label),nzLabel:typeof ee.label=="string"||typeof ee.label=="number"?ee.label:null,nzValue:ee.value,nzDisabled:ee.disabled||false,nzHide:ee.hide||false,nzCustomContent:ee.label instanceof Er$1,groupLabel:ee.groupLabel||null,type:"item",key:ee.key===void 0?ee.value:ee.key}));this.listOfTemplateItem$.next(Ge);}if(d&&this.setStatusStyles(this.nzStatus,this.hasFeedback),g){let{currentValue:Ie}=g;this.placement.set(Ie);let Ge=["bottomLeft","topLeft","bottomRight","topRight"];Ie&&Ge.includes(Ie)?this.positions=[me[Ie]]:this.positions=Ge.map(ee=>me[ee]);}J&&this.size.set(J.currentValue),qe&&this.variant.set(qe.currentValue);}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Kg((h,m)=>h.status===m.status&&h.hasFeedback===m.hasFeedback),ue$1(this.destroyRef)).subscribe(({status:h,hasFeedback:m})=>{this.setStatusStyles(h,m);}),this.focusMonitor.monitor(this.host,true).pipe(ue$1(this.destroyRef)).subscribe(h=>{h?(this.focused=true,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=false,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched();}));}),Fg([this.listOfValue$,this.listOfTemplateItem$]).pipe(ue$1(this.destroyRef)).subscribe(([h,m])=>{let c=h.filter(()=>this.nzMode==="tags").filter(d=>m.findIndex(g=>this.compareWith(g.nzValue,d))===-1).map(d=>this.listOfTopItem.find(g=>this.compareWith(g.nzValue,d))||this.generateTagItem(d));this.listOfTagAndTemplateItem=[...m,...c],this.listOfTopItem=this.listOfValue.map(d=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(g=>this.compareWith(d,g.nzValue))).filter(d=>!!d),this.updateListOfContainerItem();}),el$1(this.host.nativeElement,"click").pipe(ue$1(this.destroyRef)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen));}),this.cdkConnectedOverlay.overlayKeydown.pipe(ue$1(this.destroyRef)).subscribe(h=>{h.keyCode===27&&this.setOpenState(false);});}ngAfterContentInit(){this.isReactiveDriven||zg(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Ql$2(true),Nl$1(()=>zg(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(h=>h.changes),...this.listOfNzOptionGroupComponent.map(h=>h.changes)).pipe(Ql$2(true))),ue$1(this.destroyRef)).subscribe(()=>{let h=this.listOfNzOptionComponent.toArray().map(m=>{let{template:c,nzLabel:d,nzValue:g,nzKey:J,nzDisabled:qe,nzHide:Ie,nzCustomContent:Ge,groupLabel:ee}=m;return {template:c,nzLabel:d,nzValue:g,nzDisabled:qe,nzHide:Ie,nzCustomContent:Ge,groupLabel:ee,nzTitle:this.getTitle(m.nzTitle,m.nzLabel),type:"item",key:J===void 0?g:J}});this.listOfTemplateItem$.next(h),this.cdr.markForCheck();});}setStatusStyles(h,m){this.status=h,this.hasFeedback=m,this.cdr.markForCheck(),this.statusCls=Qr$1(this.prefixCls,h,m),Object.keys(this.statusCls).forEach(c=>{this.statusCls[c]?this.renderer.addClass(this.host.nativeElement,c):this.renderer.removeClass(this.host.nativeElement,c);});}getTitle(h,m){let c;return h===void 0?(typeof m=="string"||typeof m=="number")&&(c=m.toString()):(typeof h=="string"||typeof h=="number")&&(c=h.toString()),c}static \u0275fac=function(m){return new(m||Si)};static \u0275cmp=ZE({type:Si,selectors:[["nz-select"]],contentQueries:function(m,c,d){if(m&1&&Ih$1(d,Fm,5)(d,Eo,5),m&2){let g;WD(g=GD())&&(c.listOfNzOptionComponent=g),WD(g=GD())&&(c.listOfNzOptionGroupComponent=g);}},viewQuery:function(m,c){if(m&1&&Eh$1(ct,7,_r$1)(Wt,7)(ki$1,7)(Eo,7,_r$1)(ki$1,7,_r$1),m&2){let d;WD(d=GD())&&(c.originElement=d.first),WD(d=GD())&&(c.cdkConnectedOverlay=d.first),WD(d=GD())&&(c.nzSelectTopControlComponent=d.first),WD(d=GD())&&(c.nzOptionGroupComponentElement=d.first),WD(d=GD())&&(c.nzSelectTopControlComponentElement=d.first);}},hostAttrs:[1,"ant-select"],hostVars:32,hostBindings:function(m,c){m&2&&Sh$1("ant-select-in-form-item",!!c.nzFormStatusService)("ant-select-lg",c.finalSize()==="large")("ant-select-sm",c.finalSize()==="small")("ant-select-show-arrow",c.showArrow)("ant-select-disabled",c.nzDisabled)("ant-select-show-search",(c.nzShowSearch||c.nzMode!=="default")&&!c.nzDisabled)("ant-select-allow-clear",c.nzAllowClear)("ant-select-outlined",c.finalVariant()==="outlined")("ant-select-borderless",c.finalVariant()==="borderless")("ant-select-filled",c.finalVariant()==="filled")("ant-select-underlined",c.finalVariant()==="underlined")("ant-select-open",c.nzOpen)("ant-select-focused",c.nzOpen||c.focused)("ant-select-single",c.nzMode==="default")("ant-select-multiple",c.nzMode!=="default")("ant-select-rtl",c.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",qr$1],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:[Nw([{provide:St$1,useExisting:wo$1(()=>Si),multi:true},{provide:fn$2,useValue:"select"}]),oD([ir]),ly],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(m,c){if(m&1&&(_i$1(0,"nz-select-top-control",2,0),mh$2("inputValueChange",function(g){return c.onInputValueChange(g)})("tokenize",function(g){return c.onTokenSeparate(g)})("deleteItem",function(g){return c.onItemDelete(g)})("keydown",function(g){return c.onKeyDown(g)}),Jc$2(),_D(2,Ym,3,8,"nz-select-arrow",3),_D(3,Om,1,1,"nz-select-clear",4),rh$2(4,Em,1,23,"ng-template",5),mh$2("overlayOutsideClick",function(g){return c.onClickOutside(g)})("detach",function(){return c.setOpenState(false)})("positionChange",function(g){return c.onPositionChange(g)})),m&2){let d=QD(1);lh$2("nzId",c.nzId)("open",c.nzOpen)("disabled",c.nzDisabled)("mode",c.nzMode)("nzNoAnimation",c.noAnimation?.nzNoAnimation?.())("maxTagPlaceholder",c.nzMaxTagPlaceholder)("removeIcon",c.nzRemoveIcon)("placeHolder",c.nzPlaceHolder)("maxTagCount",c.nzMaxTagCount)("customTemplate",c.nzCustomTemplate)("tokenSeparators",c.nzTokenSeparators)("showSearch",c.nzShowSearch)("autofocus",c.nzAutoFocus)("listOfTopItem",c.listOfTopItem)("prefix",c.nzPrefix),gI(2),MD(c.showArrow||c.hasFeedback&&c.status||c.isMaxMultipleCountSet?2:-1),gI(),MD(c.nzAllowClear&&!c.nzDisabled&&c.listOfValue.length?3:-1),gI(),lh$2("cdkConnectedOverlayOffsetY",c.placement().startsWith("top")?-4:4)("cdkConnectedOverlayHasBackdrop",c.nzBackdrop)("cdkConnectedOverlayMinWidth",c.nzDropdownMatchSelectWidth?null:c.triggerWidth)("cdkConnectedOverlayWidth",c.nzDropdownMatchSelectWidth?c.triggerWidth:null)("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayPanelClass",c.nzDropdownClassName)("cdkConnectedOverlayOpen",c.nzOpen)("cdkConnectedOverlayPositions",c.positions);}},dependencies:[ki$1,ct,Mn$2,fc,hl,gc,Wt,_o,Gl,pc],encapsulation:2})}})(),ex=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275mod=KE({type:r});static \u0275inj=fu$1({imports:[Am,pc,mc,ki$1,Fo,vc,gc,fc,yc,hc]})}return r})();var bi$1=class bi extends Error{constructor(t,e,n){super(e),this.httpStatus=t,this.details=n,this.name="ApiError";}};var ix={apiBaseUrl:"/api"};function Im(r,t){return r&&typeof r=="object"&&"error"in r&&typeof r.error=="string"?r.error:t}function Nm(r){if(!r||typeof r!="object"||Array.isArray(r))return;let n=r,{error:t}=n,e=t$1(n,["error"]);return Object.keys(e).length>0?e:void 0}function cx(){return r=>r.pipe(es$1(t=>t instanceof G1?Pg(()=>new bi$1(t.status,Im(t.error,t.message||`HTTP ${t.status}`),Nm(t.error))):Pg(()=>t)))}var U=(()=>{class r{constructor(){this.http=C$1(N2),this.baseUrl=`${ix.apiBaseUrl}/views`;}list(t){return this.http.get(this.baseUrl,{params:u$1(t)}).pipe(cx())}get(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(cx())}getSubjects(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}/subjects`).pipe(cx())}create(t){return this.http.post(this.baseUrl,t).pipe(cx())}update(t,i){return this.http.patch(`${this.baseUrl}/${encodeURIComponent(t)}`,i).pipe(cx())}reorder(t){return this.http.patch(`${this.baseUrl}/reorder`,{viewIds:t}).pipe(cx())}delete(t){return this.http.delete(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(cx())}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=ie$1({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();var m$1=(()=>{class e{constructor(){this.http=C$1(N2),this.baseUrl=`${ix.apiBaseUrl}/workflow-shortcuts`;}list(){return this.http.get(this.baseUrl).pipe(cx())}get(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(cx())}create(t){return this.http.post(this.baseUrl,t).pipe(cx())}update(t,i){return this.http.patch(`${this.baseUrl}/${encodeURIComponent(t)}`,i).pipe(cx())}reorder(t){return this.http.patch(`${this.baseUrl}/reorder`,{shortcutIds:t}).pipe(cx())}delete(t){return this.http.delete(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(cx())}static{this.\u0275fac=function(i){return new(i||e)};}static{this.\u0275prov=ie$1({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();var y$1=(()=>{class e{constructor(){this.viewsApi=C$1(U),this.shortcutsApi=C$1(m$1),this.reload=new re$2,this.viewsSignal=qo([]),this.shortcutsSignal=qo([]),this.views=this.viewsSignal.asReadonly(),this.shortcuts=this.shortcutsSignal.asReadonly(),this.reload.pipe(Nl$1(()=>Ng({views:this.viewsApi.list(),shortcuts:this.shortcutsApi.list()}))).subscribe({next:({views:t,shortcuts:i})=>{this.viewsSignal.set(t),this.shortcutsSignal.set(i);},error:()=>{}}),this.refresh();}refresh(){this.reload.next();}static{this.\u0275fac=function(i){return new(i||e)};}static{this.\u0275prov=ie$1({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();function L$2(e){return v$1(this,null,function*(){if(e==="es"){let t=yield import('./chunk-JvTI8UXr.js');t9(t.default);return}let h=yield import('./chunk-fWbYKoKA.js');t9(h.default);})}var g=new A$4("APP_LOCALE_REGISTRAR",{providedIn:"root",factory:()=>L$2});var A={en:Uu,es:Qb},O=(()=>{class e{constructor(){this.transloco=C$1(Ve$1),this.nzI18n=C$1(xo),this.document=C$1(Uo),this.registerLocale=C$1(g),this.lang=qo(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[t]),yield this.registerLocale(t),this.document.documentElement.lang=t;})}static{this.\u0275fac=function(u){return new(u||e)};}static{this.\u0275prov=ie$1({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();(class o{static formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}};transform(i,e=0,t="B",n){if(!(Zr$1(i)&&Zr$1(e)&&e%1===0&&e>=0))return i;let s=i,r=t;for(;r!=="B";)s*=1024,r=o.formats[r].prev;if(n){let a=o.formats[n],l=Xr$1(o.calculateResult(a,s),e);return o.formatResult(l,n)}for(let a in o.formats)if(o.formats.hasOwnProperty(a)){let l=o.formats[a];if(s<l.max){let c=Xr$1(o.calculateResult(l,s),e);return o.formatResult(c,a)}}}static formatResult(i,e){return `${i} ${e}`}static calculateResult(i,e){let t=i.prev?o.formats[i.prev]:void 0;return t?e/t.max:e}static \u0275fac=function(e){return new(e||o)};static \u0275pipe=tD({name:"nzBytes",type:o,pure:true})});var Dt$1=(()=>{class o{transform(e,t="px"){return typeof e=="number"?`${e}${t}`:e}static \u0275fac=function(t){return new(t||o)};static \u0275pipe=tD({name:"nzToCssUnit",type:o,pure:true})}return o})();var yt=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=KE({type:o});static \u0275inj=fu$1({})}return o})();function wt(o){let i=o.cloneNode(true),e=i.querySelectorAll("[id]"),t=o.nodeName.toLowerCase();i.removeAttribute("id");for(let n=0;n<e.length;n++)e[n].removeAttribute("id");return t==="canvas"?wi(o,i):(t==="input"||t==="select"||t==="textarea")&&bi(o,i),zi("canvas",o,i,wi),zi("input, textarea, select",o,i,bi),i}function zi(o,i,e,t){let n=i.querySelectorAll(o);if(n.length){let s=e.querySelectorAll(o);for(let r=0;r<n.length;r++)t(n[r],s[r]);}}var ln$1=0;function bi(o,i){i.type!=="file"&&(i.value=o.value),i.type==="radio"&&i.name&&(i.name=`mat-clone-${i.name}-${ln$1++}`);}function wi(o,i){let e=i.getContext("2d");if(e)try{e.drawImage(o,0,0);}catch(t){}}function kt(o){let i=o.getBoundingClientRect();return {top:i.top,right:i.right,bottom:i.bottom,left:i.left,width:i.width,height:i.height,x:i.x,y:i.y}}function St(o,i,e){let{top:t,bottom:n,left:s,right:r}=o;return e>=t&&e<=n&&i>=s&&i<=r}function cn(o,i){let e=i.left<o.left,t=i.left+i.width>o.right,n=i.top<o.top,s=i.top+i.height>o.bottom;return e||t||n||s}function ze(o,i,e){o.top+=i,o.bottom=o.top+o.height,o.left+=e,o.right=o.left+o.width;}function Si(o,i,e,t){let{top:n,right:s,bottom:r,left:a,width:l,height:c}=o,h=l*i,D=c*i;return t>n-D&&t<r+D&&e>a-h&&e<s+h}var ke=class{_document;positions=new Map;constructor(i){this._document=i;}clear(){this.positions.clear();}cache(i){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),i.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:kt(e)});});}handleScroll(i){let e=_n$3(i),t=this.positions.get(e);if(!t)return null;let n=t.scrollPosition,s,r;if(e===this._document){let c=this.getViewportScrollPosition();s=c.top,r=c.left;}else s=e.scrollTop,r=e.scrollLeft;let a=n.top-s,l=n.left-r;return this.positions.forEach((c,h)=>{c.clientRect&&e!==h&&e.contains(h)&&ze(c.clientRect,a,l);}),n.top=s,n.left=r,{top:a,left:l}}getViewportScrollPosition(){return {top:window.scrollY,left:window.scrollX}}};function Li(o,i){let e=o.rootNodes;if(e.length===1&&e[0].nodeType===i.ELEMENT_NODE)return e[0];let t=i.createElement("div");return e.forEach(n=>t.appendChild(n)),t}function Mt(o,i,e){for(let t in i)if(i.hasOwnProperty(t)){let n=i[t];n?o.setProperty(t,n,e?.has(t)?"important":""):o.removeProperty(t);}return o}function re(o,i){let e=i?"":"none";Mt(o.style,{"touch-action":i?"":"none","-webkit-user-drag":i?"":"none","-webkit-tap-highlight-color":i?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e});}function Ti(o,i,e){Mt(o.style,{position:i?"":"fixed",top:i?"":"0",opacity:i?"":"0",left:i?"":"-999em"},e);}function Me(o,i){return i&&i!="none"?o+" "+i:o}function Ei(o,i){o.style.width=`${i.width}px`,o.style.height=`${i.height}px`,o.style.transform=be$1(i.left,i.top);}function be$1(o,i){return `translate3d(${Math.round(o)}px, ${Math.round(i)}px, 0)`}var De={capture:true},zt={passive:false,capture:true},dn$1=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275cmp=ZE({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(t,n){},styles:[`@layer cdk-resets {
235
+ .cdk-drag-preview {
236
+ background: none;
237
+ border: none;
238
+ padding: 0;
239
+ color: inherit;
240
+ overflow: visible;
241
+ inset: auto;
242
+ }
243
+ }
244
+ .cdk-drag-placeholder *,
245
+ .cdk-drag-preview * {
246
+ pointer-events: none !important;
247
+ }
248
+ `],encapsulation:2})}return o})(),Oe=(()=>{class o{_ngZone=C$1(oe$1);_document=C$1(Uo);_styleLoader=C$1(gn$2);_renderer=C$1(Dr$1).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new re$2;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=qo([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new re$2;pointerUp=new re$2;registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e);}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,zt);});}removeDropContainer(e){this._dropInstances.delete(e);}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.();}startDragging(e,t){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(dn$1),this._activeDragInstances.update(n=>[...n,e]),this._activeDragInstances().length===1)){let n=t.type.startsWith("touch"),s=a=>this.pointerUp.next(a),r=[["scroll",a=>this._scroll.next(a),De],["selectstart",this._preventDefaultWhileDragging,zt]];n?r.push(["touchend",s,De],["touchcancel",s,De]):r.push(["mouseup",s,De]),n||r.push(["mousemove",a=>this.pointerMove.next(a),zt]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=r.map(([a,l,c])=>this._renderer.listen(this._document,a,l,c));});}}stopDragging(e){this._activeDragInstances.update(t=>{let n=t.indexOf(e);return n>-1?(t.splice(n,1),[...t]):t}),this._activeDragInstances().length===0&&this._clearGlobalListeners();}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let t=[this._scroll];return e&&e!==this._document&&t.push(new S$2(n=>this._ngZone.runOutsideAngular(()=>{let s=this._renderer.listen(e,"scroll",r=>{this._activeDragInstances().length&&n.next(r);},De);return ()=>{s();}}))),zg(...t)}registerDirectiveNode(e,t){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,t);}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e);}getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete();}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault();};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e));};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0;}static \u0275fac=function(t){return new(t||o)};static \u0275prov=br$1({token:o,factory:o.\u0275fac})}return o})();function Pi(o){let i=o.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(o)*i}function hn$1(o){let i=getComputedStyle(o),e=bt(i,"transition-property"),t=e.find(a=>a==="transform"||a==="all");if(!t)return 0;let n=e.indexOf(t),s=bt(i,"transition-duration"),r=bt(i,"transition-delay");return Pi(s[n])+Pi(r[n])}function bt(o,i){return o.getPropertyValue(i).split(",").map(t=>t.trim())}var pn=new Set(["position"]),Tt$1=class Tt{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView=null;_preview;get element(){return this._preview}constructor(i,e,t,n,s,r,a,l,c,h){this._document=i,this._rootElement=e,this._direction=t,this._initialDomRect=n,this._previewTemplate=s,this._previewClass=r,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=c,this._renderer=h;}attach(i){this._preview=this._createPreview(),i.appendChild(this._preview),Ri(this._preview)&&this._preview.showPopover();}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null;}setTransform(i){this._preview.style.transform=i;}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(i){this._preview.classList.add(i);}getTransitionDuration(){return hn$1(this._preview)}addEventListener(i,e){return this._renderer.listen(this._preview,i,e)}_createPreview(){let i=this._previewTemplate,e=this._previewClass,t=i?i.template:null,n;if(t&&i){let s=i.matchSize?this._initialDomRect:null,r=i.viewContainer.createEmbeddedView(t,i.context);r.detectChanges(),n=Li(r,this._document),this._previewEmbeddedView=r,i.matchSize?Ei(n,s):n.style.transform=be$1(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y);}else n=wt(this._rootElement),Ei(n,this._initialDomRect),this._initialTransform&&(n.style.transform=this._initialTransform);return Mt(n.style,{"pointer-events":"none",margin:Ri(n)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},pn),re(n,false),n.classList.add("cdk-drag-preview"),n.setAttribute("popover","manual"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(s=>n.classList.add(s)):n.classList.add(e)),n}};function Ri(o){return "showPopover"in o}var gn$1={passive:true},xi={passive:false},fn$1={passive:false,capture:true},mn=800,ki="cdk-drag-placeholder",Mi=new Set(["position"]);function Fi(o,i,e={dragStartThreshold:5,pointerDirectionChangeThreshold:5}){let t=o.get(XI,null,{optional:true})||o.get(Dr$1).createRenderer(null,null);return new Et$1(i,e,o.get(Uo),o.get(oe$1),o.get(bt$1),o.get(Oe),t)}var Et$1=class Et{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview=null;_previewContainer;_placeholderRef=null;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=qo(false);_hasMoved=false;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new re$2;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement=null;_rootElementTapHighlight;_pointerMoveSubscription=H$2.EMPTY;_pointerUpSubscription=H$2.EMPTY;_scrollSubscription=H$2.EMPTY;_resizeSubscription=H$2.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=true;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef=null;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(i){i!==this._disabled&&(this._disabled=i,this._toggleNativeDragInteractions(),this._handles.forEach(e=>re(e,i)));}_disabled=false;beforeStarted=new re$2;started=new re$2;released=new re$2;ended=new re$2;entered=new re$2;exited=new re$2;dropped=new re$2;moved=this._moveEvents;data;constrainPosition;constructor(i,e,t,n,s,r,a){this._config=e,this._document=t,this._ngZone=n,this._viewportRuler=s,this._dragDropRegistry=r,this._renderer=a,this.withRootElement(i).withParent(e.parentDragRef||null),this._parentPositions=new ke(t),r.registerDragItem(this);}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(i){this._handles=i.map(t=>Sn$3(t)),this._handles.forEach(t=>re(t,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t);}),this._disabledHandles=e,this}withPreviewTemplate(i){return this._previewTemplate=i,this}withPlaceholderTemplate(i){return this._placeholderTemplate=i,this}withRootElement(i){let e=Sn$3(i);if(e!==this._rootElement){this._removeRootElementListeners();let t=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[t.listen(e,"mousedown",this._pointerDown,xi),t.listen(e,"touchstart",this._pointerDown,gn$1),t.listen(e,"dragstart",this._nativeDragStart,xi)]),this._initialTransform=void 0,this._rootElement=e;}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(i){return this._boundaryElement=i?Sn$3(i):null,this._resizeSubscription.unsubscribe(),i&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(i){return this._parentDragRef=i,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null;}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0};}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&cn(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let i=this._boundaryElement.getBoundingClientRect(),e=this._rootElement.getBoundingClientRect(),t=0,n=0;e.left<i.left?t=i.left-e.left:e.right>i.right&&(t=i.right-e.right),e.top<i.top?n=i.top-e.top:e.bottom>i.bottom&&(n=i.bottom-e.bottom);let s=this._activeTransform.x,r=this._activeTransform.y,a=s+t,l=r+n;this._rootElement.style.transform=be$1(a,l),this._activeTransform={x:a,y:l},this._passiveTransform={x:a,y:l};}}disableHandle(i){!this._disabledHandles.has(i)&&this._handles.indexOf(i)>-1&&(this._disabledHandles.add(i),re(i,true));}enableHandle(i){this._disabledHandles.has(i)&&(this._disabledHandles.delete(i),re(i,this.disabled));}withDirection(i){return this._direction=i,this}_withDropContainer(i){this._dropContainer=i;}getFreeDragPosition(){let i=this.isDragging()?this._activeTransform:this._passiveTransform;return {x:i.x,y:i.y}}setFreeDragPosition(i){return this._activeTransform={x:0,y:0},this._passiveTransform.x=i.x,this._passiveTransform.y=i.y,this._dropContainer||this._applyRootElementTransform(i.x,i.y),this}withPreviewContainer(i){return this._previewContainer=i,this}_sortFromLastPointerPosition(){let i=this._lastKnownPointerPosition;i&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(i),i);}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0;}_destroyPreview(){this._preview?.destroy(),this._preview=null;}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null;}_pointerDown=i=>{if(this.beforeStarted.next(),this._handles.length){let e=this._getTargetHandle(i);e&&!this._disabledHandles.has(e)&&!this.disabled&&this._initializeDragSequence(e,i);}else this.disabled||this._initializeDragSequence(this._rootElement,i);};_pointerMove=i=>{let e=this._getPointerPositionOnPage(i);if(!this._hasStartedDragging()){let n=Math.abs(e.x-this._pickupPositionOnPage.x),s=Math.abs(e.y-this._pickupPositionOnPage.y);if(n+s>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(i),l=this._dropContainer;if(!a){this._endDragSequence(i);return}(!l||!l.isDragging()&&!l.isReceiving())&&(i.cancelable&&i.preventDefault(),this._hasStartedDragging.set(true),this._ngZone.run(()=>this._startDragSequence(i)));}return}i.cancelable&&i.preventDefault();let t=this._getConstrainedPointerPosition(e);if(this._hasMoved=true,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(t),this._dropContainer)this._updateActiveDropContainer(t,e);else {let n=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,s=this._activeTransform;s.x=t.x-n.x+this._passiveTransform.x,s.y=t.y-n.y+this._passiveTransform.y,this._applyRootElementTransform(s.x,s.y);}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:t,event:i,distance:this._getDragDistance(t),delta:this._pointerDirectionDelta});});};_pointerUp=i=>{this._endDragSequence(i);};_endDragSequence(i){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:i}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(i),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this);});else {this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(i);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:i});}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this);}}_startDragSequence(i){ye(i)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),t=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(e,"selectstart",un$1,fn$1);}),t){let n=this._rootElement,s=n.parentNode,r=this._placeholder=this._createPlaceholderElement(),a=this._marker=this._marker||this._document.createComment("");s.insertBefore(a,n),this._initialTransform=n.style.transform||"",this._preview=new Tt$1(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(s,e)),Ti(n,false,Mi),this._document.body.appendChild(s.replaceChild(r,n)),this.started.next({source:this,event:i}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this);}else this.started.next({source:this,event:i}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[]);}_initializeDragSequence(i,e){this._parentDragRef&&e.stopPropagation();let t=this.isDragging(),n=ye(e),s=!n&&e.button!==0,r=this._rootElement,a=_n$3(e),l=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+mn>Date.now(),c=n?js(e):Rs(e);if(a&&a.draggable&&e.type==="mousedown"&&e.preventDefault(),t||s||l||c)return;if(this._handles.length){let P=r.style;this._rootElementTapHighlight=P.webkitTapHighlightColor||"",P.webkitTapHighlightColor="transparent";}this._hasMoved=false,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(P=>this._updateOnScroll(P)),this._boundaryElement&&(this._boundaryRect=kt(this._boundaryElement));let h=this._previewTemplate;this._pickupPositionInElement=h&&h.template&&!h.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,i,e);let D=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:D.x,y:D.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e);}_cleanupDragArtifacts(i){Ti(this._rootElement,true,Mi),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,t=e.getItemIndex(this),n=this._getPointerPositionOnPage(i),s=this._getDragDistance(n),r=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n,event:i}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:s,dropPoint:n,event:i}),e.drop(this,t,this._initialIndex,this._initialContainer,r,s,n,i),this._dropContainer=this._initialContainer;});}_updateActiveDropContainer({x:i,y:e},{x:t,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,i,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{let r=this._dropContainer.getItemIndex(this),a=this._dropContainer.getItemAtIndex(r+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(s,this._dropContainer,a),this._dropContainer=s,this._dropContainer.enter(this,i,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)});}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,n),this._dropContainer._sortItem(this,i,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(i,e):this._applyPreviewTransform(i-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y));}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let i=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(i.left,i.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{let n=a=>{(!a||this._preview&&_n$3(a)===this._preview.element&&a.propertyName==="transform")&&(r(),t(),clearTimeout(s));},s=setTimeout(n,e*1.5),r=this._preview.addEventListener("transitionend",n);}))}_createPlaceholderElement(){let i=this._placeholderTemplate,e=i?i.template:null,t;return e?(this._placeholderRef=i.viewContainer.createEmbeddedView(e,i.context),this._placeholderRef.detectChanges(),t=Li(this._placeholderRef,this._document)):t=wt(this._rootElement),t.style.pointerEvents="none",t.classList.add(ki),t}_getPointerPositionInElement(i,e,t){let n=e===this._rootElement?null:e,s=n?n.getBoundingClientRect():i,r=ye(t)?t.targetTouches[0]:t,a=this._getViewportScrollPosition(),l=r.pageX-s.left-a.left,c=r.pageY-s.top-a.top;return {x:s.left-i.left+l,y:s.top-i.top+c}}_getPointerPositionOnPage(i){let e=this._getViewportScrollPosition(),t=ye(i)?i.touches[0]||i.changedTouches[0]||{pageX:0,pageY:0}:i,n=t.pageX-e.left,s=t.pageY-e.top;if(this._ownerSVGElement){let r=this._ownerSVGElement.getScreenCTM();if(r){let a=this._ownerSVGElement.createSVGPoint();return a.x=n,a.y=s,a.matrixTransform(r.inverse())}}return {x:n,y:s}}_getConstrainedPointerPosition(i){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:t,y:n}=this.constrainPosition?this.constrainPosition(i,this,this._initialDomRect,this._pickupPositionInElement):i;if(this.lockAxis==="x"||e==="x"?n=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(t=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:s,y:r}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),h=a.top+r,D=a.bottom-(c-r),P=a.left+s,Fe=a.right-(l-s);t=Ii(t,P,Fe),n=Ii(n,h,D);}return {x:t,y:n}}_updatePointerDirectionDelta(i){let{x:e,y:t}=i,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-s.x),a=Math.abs(t-s.y);return r>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),a>this._config.pointerDirectionChangeThreshold&&(n.y=t>s.y?1:-1,s.y=t),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let i=this._handles.length>0||!this.isDragging();i!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=i,re(this._rootElement,i));}_removeRootElementListeners(){this._rootElementCleanups?.forEach(i=>i()),this._rootElementCleanups=void 0;}_applyRootElementTransform(i,e){let t=1/this.scale,n=be$1(i*t,e*t),s=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=s.transform&&s.transform!="none"?s.transform:""),s.transform=Me(n,this._initialTransform);}_applyPreviewTransform(i,e){let t=this._previewTemplate?.template?void 0:this._initialTransform,n=be$1(i,e);this._preview.setTransform(Me(n,t));}_getDragDistance(i){let e=this._pickupPositionOnPage;return e?{x:i.x-e.x,y:i.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear();}_containInsideBoundaryOnResize(){let{x:i,y:e}=this._passiveTransform;if(i===0&&e===0||this.isDragging()||!this._boundaryElement)return;let t=this._rootElement.getBoundingClientRect(),n=this._boundaryElement.getBoundingClientRect();if(n.width===0&&n.height===0||t.width===0&&t.height===0)return;let s=n.left-t.left,r=t.right-n.right,a=n.top-t.top,l=t.bottom-n.bottom;n.width>t.width?(s>0&&(i+=s),r>0&&(i-=r)):i=0,n.height>t.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(i!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:i});}_getDragStartDelay(i){let e=this.dragStartDelay;return typeof e=="number"?e:ye(i)?e.touch:e?e.mouse:0}_updateOnScroll(i){let e=this._parentPositions.handleScroll(i);if(e){let t=_n$3(i);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&ze(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y));}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=On$2(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(i,e){let t=this._previewContainer||"global";if(t==="parent")return i;if(t==="global"){let n=this._document;return e||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return Sn$3(t)}_getPreviewRect(){return (!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=i=>{if(this._handles.length){let e=this._getTargetHandle(i);e&&!this._disabledHandles.has(e)&&!this.disabled&&i.preventDefault();}else this.disabled||i.preventDefault();};_getTargetHandle(i){return this._handles.find(e=>i.target&&(i.target===e||e.contains(i.target)))}_conditionallyInsertAnchor(i,e,t){if(i===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(e===this._initialContainer&&e.hasAnchor){let n=this._anchor??=wt(this._placeholder);n.classList.remove(ki),n.classList.add("cdk-drag-anchor"),n.style.transform="",t?t.before(n):Sn$3(e.element).appendChild(n);}}};function Ii(o,i,e){return Math.max(i,Math.min(e,o))}function ye(o){return o.type[0]==="t"}function un$1(o){o.preventDefault();}function Bi(o,i,e){let t=Oi(i,o.length-1),n=Oi(e,o.length-1);if(t===n)return;let s=o[t],r=n<t?-1:1;for(let a=t;a!==n;a+=r)o[a]=o[a+r];o[n]=s;}function Oi(o,i){return Math.max(0,Math.min(i,o))}var Ie=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction="ltr";constructor(i){this._dragDropRegistry=i;}_previousSwap={drag:null,delta:0,overlaps:false};start(i){this.withItems(i);}sort(i,e,t,n){let s=this._itemPositions,r=this._getItemIndexFromPointerPosition(i,e,t,n);if(r===-1&&s.length>0)return null;let a=this.orientation==="horizontal",l=s.findIndex(b=>b.drag===i),c=s[r],h=s[l].clientRect,D=c.clientRect,P=l>r?1:-1,Fe=this._getItemOffsetPx(h,D,P),nn=this._getSiblingOffsetPx(l,s,P),on=s.slice();return Bi(s,l,r),s.forEach((b,sn)=>{if(on[sn]===b)return;let Nt=b.drag===i,Be=Nt?Fe:nn,At=Nt?i.getPlaceholderElement():b.drag.getRootElement();b.offset+=Be;let Lt=Math.round(b.offset*(1/b.drag.scale));a?(At.style.transform=Me(`translate3d(${Lt}px, 0, 0)`,b.initialTransform),ze(b.clientRect,0,Be)):(At.style.transform=Me(`translate3d(0, ${Lt}px, 0)`,b.initialTransform),ze(b.clientRect,Be,0));}),this._previousSwap.overlaps=St(D,e,t),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?n.x:n.y,{previousIndex:l,currentIndex:r}}enter(i,e,t,n){let s=this._activeDraggables,r=s.indexOf(i),a=i.getPlaceholderElement();r>-1&&s.splice(r,1);let l=n==null||n<0?this._getItemIndexFromPointerPosition(i,e,t):n,c=s[l];if(c===i&&(c=s[l+1]),!c&&(l==null||l===-1||l<s.length-1)&&this._shouldEnterAsFirstChild(e,t)&&(c=s[0]),c&&!this._dragDropRegistry.isDragging(c)){let h=c.getRootElement();h.parentElement.insertBefore(a,h),s.splice(l,0,i);}else this._element.appendChild(a),s.push(i);a.style.transform="",this._cacheItemPositions();}withItems(i){this._activeDraggables=i.slice(),this._cacheItemPositions();}withSortPredicate(i){this._sortPredicate=i;}reset(){this._activeDraggables?.forEach(i=>{let e=i.getRootElement();if(e){let t=this._itemPositions.find(n=>n.drag===i)?.initialTransform;e.style.transform=t||"";}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=false;}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(i){return this._getVisualItemPositions().findIndex(e=>e.drag===i)}getItemAtIndex(i){return this._getVisualItemPositions()[i]?.drag||null}updateOnScroll(i,e){this._itemPositions.forEach(({clientRect:t})=>{ze(t,i,e);}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition();});}withElementContainer(i){this._element=i;}_cacheItemPositions(){let i=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let t=e.getVisibleElement();return {drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:kt(t)}}).sort((e,t)=>i?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top);}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(i,e,t){let n=this.orientation==="horizontal",s=n?e.left-i.left:e.top-i.top;return t===-1&&(s+=n?e.width-i.width:e.height-i.height),s}_getSiblingOffsetPx(i,e,t){let n=this.orientation==="horizontal",s=e[i].clientRect,r=e[i+t*-1],a=s[n?"width":"height"]*t;if(r){let l=n?"left":"top",c=n?"right":"bottom";t===-1?a-=r.clientRect[l]-s[c]:a+=s[l]-r.clientRect[c];}return a}_shouldEnterAsFirstChild(i,e){if(!this._activeDraggables.length)return false;let t=this._itemPositions,n=this.orientation==="horizontal";if(t[0].drag!==this._activeDraggables[0]){let r=t[t.length-1].clientRect;return n?i>=r.right:e>=r.bottom}else {let r=t[0].clientRect;return n?i<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(i,e,t,n){let s=this.orientation==="horizontal",r=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===i)return false;if(n){let c=s?n.x:n.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return false}return s?e>=Math.floor(l.left)&&e<Math.floor(l.right):t>=Math.floor(l.top)&&t<Math.floor(l.bottom)});return r===-1||!this._sortPredicate(r,i)?-1:r}},Pt$1=class Pt{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:false};_relatedNodes=[];constructor(i,e){this._document=i,this._dragDropRegistry=e;}start(i){let e=this._element.childNodes;this._relatedNodes=[];for(let t=0;t<e.length;t++){let n=e[t];this._relatedNodes.push([n,n.nextSibling]);}this.withItems(i);}sort(i,e,t,n){let s=this._getItemIndexFromPointerPosition(i,e,t),r=this._previousSwap;if(s===-1||this._activeItems[s]===i)return null;let a=this._activeItems[s];if(r.drag===a&&r.overlaps&&r.deltaX===n.x&&r.deltaY===n.y)return null;let l=this.getItemIndex(i),c=i.getPlaceholderElement(),h=a.getRootElement();s>l?h.after(c):h.before(c),Bi(this._activeItems,l,s);let D=this._getRootNode().elementFromPoint(e,t);return r.deltaX=n.x,r.deltaY=n.y,r.drag=a,r.overlaps=h===D||h.contains(D),{previousIndex:l,currentIndex:s}}enter(i,e,t,n){let s=this._activeItems.indexOf(i);s>-1&&this._activeItems.splice(s,1);let r=n==null||n<0?this._getItemIndexFromPointerPosition(i,e,t):n;r===-1&&(r=this._getClosestItemIndexToPointer(i,e,t));let a=this._activeItems[r];a&&!this._dragDropRegistry.isDragging(a)?(this._activeItems.splice(r,0,i),a.getRootElement().before(i.getPlaceholderElement())):(this._activeItems.push(i),this._element.appendChild(i.getPlaceholderElement()));}withItems(i){this._activeItems=i.slice();}withSortPredicate(i){this._sortPredicate=i;}reset(){let i=this._element,e=this._previousSwap;for(let t=this._relatedNodes.length-1;t>-1;t--){let[n,s]=this._relatedNodes[t];n.parentNode===i&&n.nextSibling!==s&&(s===null?i.appendChild(n):s.parentNode===i&&i.insertBefore(n,s));}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=false;}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(i){return this._activeItems.indexOf(i)}getItemAtIndex(i){return this._activeItems[i]||null}updateOnScroll(){this._activeItems.forEach(i=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition();});}withElementContainer(i){i!==this._element&&(this._element=i,this._rootNode=void 0);}_getItemIndexFromPointerPosition(i,e,t){let n=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(t)),s=n?this._activeItems.findIndex(r=>{let a=r.getRootElement();return n===a||a.contains(n)}):-1;return s===-1||!this._sortPredicate(s,i)?-1:s}_getRootNode(){return this._rootNode||(this._rootNode=On$2(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(i,e,t){if(this._activeItems.length===0)return -1;if(this._activeItems.length===1)return 0;let n=1/0,s=-1;for(let r=0;r<this._activeItems.length;r++){let a=this._activeItems[r];if(a!==i){let{x:l,y:c}=a.getRootElement().getBoundingClientRect(),h=Math.hypot(e-l,t-c);h<n&&(n=h,s=r);}}return s}},Ni=.05,Vi=.05,S=(function(o){return o[o.NONE=0]="NONE",o[o.UP=1]="UP",o[o.DOWN=2]="DOWN",o})(S||{}),C=(function(o){return o[o.NONE=0]="NONE",o[o.LEFT=1]="LEFT",o[o.RIGHT=2]="RIGHT",o})(C||{});function Hi(o,i){return new Rt$1(i,o.get(Oe),o.get(Uo),o.get(oe$1),o.get(bt$1))}var Rt$1=class Rt{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=false;sortingDisabled=false;lockAxis=null;autoScrollDisabled=false;autoScrollStep=2;hasAnchor=false;enterPredicate=()=>true;sortPredicate=()=>true;beforeStarted=new re$2;entered=new re$2;exited=new re$2;dropped=new re$2;sorted=new re$2;receivingStarted=new re$2;receivingStopped=new re$2;data;_container;_isDragging=false;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=H$2.EMPTY;_verticalScrollDirection=S.NONE;_horizontalScrollDirection=C.NONE;_scrollNode;_stopScrollTimers=new re$2;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(i,e,t,n,s){this._dragDropRegistry=e,this._ngZone=n,this._viewportRuler=s;let r=this.element=Sn$3(i);this._document=t,this.withOrientation("vertical").withElementContainer(r),e.registerDropContainer(this),this._parentPositions=new ke(t);}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this);}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings();}enter(i,e,t,n){this._draggingStarted(),n==null&&this.sortingDisabled&&(n=this._draggables.indexOf(i)),this._sortStrategy.enter(i,e,t,n),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:i,container:this,currentIndex:this.getItemIndex(i)});}exit(i){this._reset(),this.exited.next({item:i,container:this});}drop(i,e,t,n,s,r,a,l){this._reset(),this.dropped.next({item:i,currentIndex:e,previousIndex:t,container:this,previousContainer:n,isPointerOverContainer:s,distance:r,dropPoint:a,event:l});}withItems(i){let e=this._draggables;return this._draggables=i,i.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(n=>n.isDragging()).every(n=>i.indexOf(n)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(i){return this._direction=i,this._sortStrategy instanceof Ie&&(this._sortStrategy.direction=i),this}connectedTo(i){return this._siblings=i.slice(),this}withOrientation(i){if(i==="mixed")this._sortStrategy=new Pt$1(this._document,this._dragDropRegistry);else {let e=new Ie(this._dragDropRegistry);e.direction=this._direction,e.orientation=i,this._sortStrategy=e;}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,t)=>this.sortPredicate(e,t,this)),this}withScrollableParents(i){let e=this._container;return this._scrollableElements=i.indexOf(e)===-1?[e,...i]:i.slice(),this}withElementContainer(i){if(i===this._container)return this;Sn$3(this.element);let t=this._scrollableElements.indexOf(this._container),n=this._scrollableElements.indexOf(i);return t>-1&&this._scrollableElements.splice(t,1),n>-1&&this._scrollableElements.splice(n,1),this._sortStrategy&&this._sortStrategy.withElementContainer(i),this._cachedShadowRoot=null,this._scrollableElements.unshift(i),this._container=i,this}getScrollableParents(){return this._scrollableElements}getItemIndex(i){return this._isDragging?this._sortStrategy.getItemIndex(i):this._draggables.indexOf(i)}getItemAtIndex(i){return this._isDragging?this._sortStrategy.getItemAtIndex(i):this._draggables[i]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(i,e,t,n){if(this.sortingDisabled||!this._domRect||!Si(this._domRect,Ni,e,t))return;let s=this._sortStrategy.sort(i,e,t,n);s&&this.sorted.next({previousIndex:s.previousIndex,currentIndex:s.currentIndex,container:this,item:i});}_startScrollingIfNecessary(i,e){if(this.autoScrollDisabled)return;let t,n=S.NONE,s=C.NONE;if(this._parentPositions.positions.forEach((r,a)=>{a===this._document||!r.clientRect||t||Si(r.clientRect,Ni,i,e)&&([n,s]=_n$1(a,r.clientRect,this._direction,i,e),(n||s)&&(t=a));}),!n&&!s){let{width:r,height:a}=this._viewportRuler.getViewportSize(),l={width:r,height:a,top:0,right:r,bottom:a,left:0};n=Wi(l,e),s=Gi(l,i),t=window;}t&&(n!==this._verticalScrollDirection||s!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=t,(n||s)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling());}_stopScrolling(){this._stopScrollTimers.next();}_draggingStarted(){let i=this._container.style;this.beforeStarted.next(),this._isDragging=true,this._initialScrollSnap=i.msScrollSnapType||i.scrollSnapType||"",i.scrollSnapType=i.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents();}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect;}_reset(){this._isDragging=false;let i=this._container.style;i.scrollSnapType=i.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear();}_startScrollInterval=()=>{this._stopScrolling(),Gg(0,Og).pipe(im$1(this._stopScrollTimers)).subscribe(()=>{let i=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===S.UP?i.scrollBy(0,-e):this._verticalScrollDirection===S.DOWN&&i.scrollBy(0,e),this._horizontalScrollDirection===C.LEFT?i.scrollBy(-e,0):this._horizontalScrollDirection===C.RIGHT&&i.scrollBy(e,0);});};_isOverContainer(i,e){return this._domRect!=null&&St(this._domRect,i,e)}_getSiblingContainerFromPosition(i,e,t){return this._siblings.find(n=>n._canReceive(i,e,t))}_canReceive(i,e,t){if(!this._domRect||!St(this._domRect,e,t)||!this.enterPredicate(i,this))return false;let n=this._getShadowRoot().elementFromPoint(e,t);return n?n===this._container||this._container.contains(n):false}_startReceiving(i,e){let t=this._activeSiblings;!t.has(i)&&e.every(n=>this.enterPredicate(n,this)||this._draggables.indexOf(n)>-1)&&(t.add(i),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:i,receiver:this,items:e}));}_stopReceiving(i){this._activeSiblings.delete(i),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:i,receiver:this});}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(i=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(i);e&&this._sortStrategy.updateOnScroll(e.top,e.left);}else this.isReceiving()&&this._cacheParentPositions();});}_getShadowRoot(){if(!this._cachedShadowRoot){let i=On$2(this._container);this._cachedShadowRoot=i||this._document;}return this._cachedShadowRoot}_notifyReceivingSiblings(){let i=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,i));}};function Wi(o,i){let{top:e,bottom:t,height:n}=o,s=n*Vi;return i>=e-s&&i<=e+s?S.UP:i>=t-s&&i<=t+s?S.DOWN:S.NONE}function Gi(o,i){let{left:e,right:t,width:n}=o,s=n*Vi;return i>=e-s&&i<=e+s?C.LEFT:i>=t-s&&i<=t+s?C.RIGHT:C.NONE}function _n$1(o,i,e,t,n){let s=Wi(i,n),r=Gi(i,t),a=S.NONE,l=C.NONE;if(s){let c=o.scrollTop;s===S.UP?c>0&&(a=S.UP):o.scrollHeight-c>o.clientHeight&&(a=S.DOWN);}if(r){let c=o.scrollLeft;e==="rtl"?r===C.RIGHT?c<0&&(l=C.RIGHT):o.scrollWidth+c>o.clientWidth&&(l=C.LEFT):r===C.LEFT?c>0&&(l=C.LEFT):o.scrollWidth-c>o.clientWidth&&(l=C.RIGHT);}return [a,l]}var vn$1=(()=>{class o{_injector=C$1(Ee$3);createDrag(e,t){return Fi(this._injector,e,t)}createDropList(e){return Hi(this._injector,e)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=br$1({token:o,factory:o.\u0275fac})}return o})(),xt=new A$4("CDK_DRAG_PARENT");var Zi=new A$4("CdkDragHandle"),ji=(()=>{class o{element=C$1(_r$1);_parentDrag=C$1(xt,{optional:true,skipSelf:true});_dragDropRegistry=C$1(Oe);_stateChanges=new re$2;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._stateChanges.next(this);}_disabled=false;constructor(){this._parentDrag?._addHandle(this);}ngAfterViewInit(){if(!this._parentDrag){let e=this.element.nativeElement.parentElement;for(;e;){let t=this._dragDropRegistry.getDragDirectiveForNode(e);if(t){this._parentDrag=t,t._addHandle(this);break}e=e.parentElement;}}}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete();}static \u0275fac=function(t){return new(t||o)};static \u0275dir=eD({type:o,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",K0$1]},features:[Nw([{provide:Zi,useExisting:o}])]})}return o})(),$i=new A$4("CDK_DRAG_CONFIG"),Ui=new A$4("CdkDropList"),Ki=(()=>{class o{element=C$1(_r$1);dropContainer=C$1(Ui,{optional:true,skipSelf:true});_ngZone=C$1(oe$1);_viewContainerRef=C$1(Vi$2);_dir=C$1(Oe$1,{optional:true});_changeDetectorRef=C$1(Z0$1);_selfHandle=C$1(Zi,{optional:true,self:true});_parentDrag=C$1(xt,{optional:true,skipSelf:true});_dragDropRegistry=C$1(Oe);_destroyed=new re$2;_handles=new On$3([]);_previewTemplate=null;_placeholderTemplate=null;_dragRef;data;lockAxis=null;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled;}_disabled=false;constrainPosition;previewClass;previewContainer;scale=1;started=new Le$4;released=new Le$4;ended=new Le$4;entered=new Le$4;exited=new Le$4;dropped=new Le$4;moved=new S$2(e=>{let t=this._dragRef.moved.pipe(Se$3(n=>({source:this,pointerPosition:n.pointerPosition,event:n.event,delta:n.delta,distance:n.distance}))).subscribe(e);return ()=>{t.unsubscribe();}});_injector=C$1(Ee$3);constructor(){let e=this.dropContainer,t=C$1($i,{optional:true});this._dragRef=Fi(this._injector,this.element,{dragStartThreshold:t&&t.dragStartThreshold!=null?t.dragStartThreshold:5,pointerDirectionChangeThreshold:t&&t.pointerDirectionChangeThreshold!=null?t.pointerDirectionChangeThreshold:5,zIndex:t?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),t&&this._assignDefaults(t),e&&(e.addItem(this),e._dropListRef.beforeStarted.pipe(im$1(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale;})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef);}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset();}resetToBoundary(){this._dragRef.resetToBoundary();}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e);}ngAfterViewInit(){Xf(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition);},{injector:this._injector});}ngOnChanges(e){let t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition);}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose();});}_addHandle(e){let t=this._handles.getValue();t.push(e),this._handles.next(t);}_removeHandle(e){let t=this._handles.getValue(),n=t.indexOf(e);n>-1&&(t.splice(n,1),this._handles.next(t));}_setPreviewTemplate(e){this._previewTemplate=e;}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null);}_setPlaceholderTemplate(e){this._placeholderTemplate=e;}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null);}_updateRootElement(){let e=this.element.nativeElement,t=e;this.rootElementSelector&&(t=e.closest!==void 0?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(t||e);}_getBoundaryElement(){let e=this.boundaryElement;return e?typeof e=="string"?this.element.nativeElement.closest(e):Sn$3(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){let t=this._dir,n=this.dragStartDelay,s=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.scale=this.scale,e.dragStartDelay=typeof n=="object"&&n?n:R6(n),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(s).withPreviewTemplate(r).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value);}}),e.beforeStarted.pipe(yt$2(1)).subscribe(()=>{if(this._parentDrag){e.withParent(this._parentDrag._dragRef);return}let t=this.element.nativeElement.parentElement;for(;t;){let n=this._dragDropRegistry.getDragDirectiveForNode(t);if(n){e.withParent(n._dragRef);break}t=t.parentElement;}});}_handleEvents(e){e.started.subscribe(t=>{this.started.emit({source:this,event:t.event}),this._changeDetectorRef.markForCheck();}),e.released.subscribe(t=>{this.released.emit({source:this,event:t.event});}),e.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint,event:t.event}),this._changeDetectorRef.markForCheck();}),e.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex});}),e.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this});}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance,dropPoint:t.dropPoint,event:t.event});});}_assignDefaults(e){let{lockAxis:t,dragStartDelay:n,constrainPosition:s,previewClass:r,boundaryElement:a,draggingDisabled:l,rootElementSelector:c,previewContainer:h}=e;this.disabled=l??false,this.dragStartDelay=n||0,this.lockAxis=t||null,s&&(this.constrainPosition=s),r&&(this.previewClass=r),a&&(this.boundaryElement=a),c&&(this.rootElementSelector=c),h&&(this.previewContainer=h);}_setupHandlesListener(){this._handles.pipe(Zl$1(e=>{let t=e.map(n=>n.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t);}),Nl$1(e=>zg(...e.map(t=>t._stateChanges.pipe(Ql$2(t))))),im$1(this._destroyed)).subscribe(e=>{let t=this._dragRef,n=e.element.nativeElement;e.disabled?t.disableHandle(n):t.enableHandle(n);});}static \u0275fac=function(t){return new(t||o)};static \u0275dir=eD({type:o,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,n){t&2&&Sh$1("cdk-drag-disabled",n.disabled)("cdk-drag-dragging",n._dragRef.isDragging());},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",K0$1],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",J0$1]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Nw([{provide:xt,useExisting:o}]),ly]})}return o})(),Ai=new A$4("CdkDropListGroup");var go=(()=>{class o{element=C$1(_r$1);_changeDetectorRef=C$1(Z0$1);_scrollDispatcher=C$1(yn$2);_dir=C$1(Oe$1,{optional:true});_group=C$1(Ai,{optional:true,skipSelf:true});_latestSortedRefs;_destroyed=new re$2;_scrollableParentsResolved=false;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation="vertical";id=C$1(cr).getId("cdk-drop-list-");lockAxis=null;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e;}_disabled=false;sortingDisabled=false;enterPredicate=()=>true;sortPredicate=()=>true;autoScrollDisabled=false;autoScrollStep;elementContainerSelector=null;hasAnchor=false;dropped=new Le$4;entered=new Le$4;exited=new Le$4;sorted=new Le$4;_unsortedItems=new Set;constructor(){let e=C$1($i,{optional:true}),t=C$1(Ee$3);this._dropListRef=Hi(t,this.element),this._dropListRef.data=this,e&&this._assignDefaults(e),this._dropListRef.enterPredicate=(n,s)=>this.enterPredicate(n.data,s.data),this._dropListRef.sortPredicate=(n,s,r)=>this.sortPredicate(n,s.data,r.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),o._dropLists.push(this),this._group&&this._group._items.add(this);}addItem(e){this._unsortedItems.add(e),e._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(t=>t._dragRef));}removeItem(e){if(this._unsortedItems.delete(e),this._latestSortedRefs){let t=this._latestSortedRefs.indexOf(e._dragRef);t>-1&&(this._latestSortedRefs.splice(t,1),this._syncItemsWithRef(this._latestSortedRefs));}}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let e=o._dropLists.indexOf(this);e>-1&&o._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete();}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Ql$2(this._dir.value),im$1(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{let t=xr$1(this.connectedTo).map(n=>{if(typeof n=="string"){let s=o._dropLists.find(r=>r.id===n);return s}return n});if(this._group&&this._group._items.forEach(n=>{t.indexOf(n)===-1&&t.push(n);}),!this._scrollableParentsResolved){let n=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(s=>s.getElementRef().nativeElement);this._dropListRef.withScrollableParents(n),this._scrollableParentsResolved=true;}if(this.elementContainerSelector){let n=this.element.nativeElement.querySelector(this.elementContainerSelector);e.withElementContainer(n);}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=R6(this.autoScrollStep,2),e.hasAnchor=this.hasAnchor,e.connectedTo(t.filter(n=>n&&n!==this).map(n=>n._dropListRef)).withOrientation(this.orientation);});}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(t=>t._dragRef)),this._changeDetectorRef.markForCheck();}),e.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex});}),e.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck();}),e.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data});}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance,dropPoint:t.dropPoint,event:t.event}),this._changeDetectorRef.markForCheck();}),zg(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck());}_assignDefaults(e){let{lockAxis:t,draggingDisabled:n,sortingDisabled:s,listAutoScrollDisabled:r,listOrientation:a}=e;this.disabled=n??false,this.sortingDisabled=s??false,this.autoScrollDisabled=r??false,this.orientation=a||"vertical",this.lockAxis=t||null;}_syncItemsWithRef(e){this._latestSortedRefs=e,this._dropListRef.withItems(e);}static \u0275fac=function(t){return new(t||o)};static \u0275dir=eD({type:o,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,n){t&2&&(ch$2("id",n.id),Sh$1("cdk-drop-list-disabled",n.disabled)("cdk-drop-list-dragging",n._dropListRef.isDragging())("cdk-drop-list-receiving",n._dropListRef.isReceiving()));},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",K0$1],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",K0$1],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",K0$1],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",K0$1]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Nw([{provide:Ai,useValue:void 0},{provide:Ui,useExisting:o}])]})}return o})();var fo=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=KE({type:o});static \u0275inj=fu$1({providers:[vn$1],imports:[ro]})}return o})();function Dn(o,i){if(o&1&&(tl$2(0),uh$2(1,"nz-icon",2),nl$2()),o&2){let e=i.$implicit;gI(),lh$2("nzType",e);}}var Yi=["modalElement"];function yn$1(o,i){if(o&1){let e=FD();_i$1(0,"button",16),mh$2("click",function(){Fu$1(e);let n=HD();return ju$1(n.onCloseClick())}),Jc$2();}}function zn$1(o,i){if(o&1&&(tl$2(0),uh$2(1,"span",12),nl$2()),o&2){let e=HD();gI(),lh$2("innerHTML",e.config.nzTitle,vv);}}function bn$1(o,i){}function wn$1(o,i){if(o&1&&uh$2(0,"div",12),o&2){let e=HD();lh$2("innerHTML",e.config.nzContent,vv);}}function Sn$1(o,i){if(o&1){let e=FD();_i$1(0,"button",17),mh$2("click",function(){Fu$1(e);let n=HD();return ju$1(n.onCancel())}),Iw(1),Pw(2,"nzI18n"),Jc$2();}if(o&2){let e=HD();lh$2("nzLoading",e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),ch$2("cdkFocusInitial",e.config.nzAutofocus==="cancel"||null),gI(),rl$1(" ",e.config.nzCancelText||Fw(2,4,"Modal.cancelText")," ");}}function Tn(o,i){if(o&1){let e=FD();_i$1(0,"button",18),mh$2("click",function(){Fu$1(e);let n=HD();return ju$1(n.onOk())}),Iw(1),Pw(2,"nzI18n"),Jc$2();}if(o&2){let e=HD();lh$2("nzType",e.config.nzOkType)("nzLoading",e.config.nzOkLoading)("disabled",e.config.nzOkDisabled)("nzDanger",e.config.nzOkDanger),ch$2("cdkFocusInitial",e.config.nzAutofocus==="ok"||null),gI(),rl$1(" ",e.config.nzOkText||Fw(2,6,"Modal.okText")," ");}}var En=(o,i)=>({$implicit:o,modalRef:i});function Pn(o,i){if(o&1){let e=FD();_i$1(0,"button",3),mh$2("click",function(){let n=Fu$1(e).$implicit,s=HD(4);return ju$1(s.onButtonClick(n))}),Iw(1),Jc$2();}if(o&2){let e=i.$implicit,t=HD(4);lh$2("hidden",!t.getButtonCallableProp(e,"show"))("nzLoading",t.getButtonCallableProp(e,"loading"))("disabled",t.getButtonCallableProp(e,"disabled"))("nzType",e.type)("nzDanger",e.danger)("nzShape",e.shape)("nzSize",e.size)("nzGhost",e.ghost),gI(),rl$1(" ",e.label," ");}}function Rn(o,i){if(o&1&&xD(0,Pn,2,9,"button",2,ND),o&2){let e=HD(3);AD(e.buttons);}}function xn$1(o,i){if(o&1&&uh$2(0,"div",1),o&2){let e=HD(3);lh$2("innerHTML",e.config.nzFooter,vv);}}function kn$1(o,i){if(o&1&&(tl$2(0),_D(1,Rn,2,0)(2,xn$1,1,1,"div",1),nl$2()),o&2){let e=HD(2);gI(),MD(e.buttons?1:2);}}function Mn$1(o,i){if(o&1&&rh$2(0,kn$1,3,1,"ng-container",0),o&2){let e=HD();lh$2("nzStringTemplateOutlet",e.config.nzFooter)("nzStringTemplateOutletContext",Rw(2,En,e.config.nzData,e.modalRef()));}}function In(o,i){if(o&1){let e=FD();_i$1(0,"button",6),mh$2("click",function(){Fu$1(e);let n=HD(2);return ju$1(n.onCancel())}),Iw(1),Pw(2,"nzI18n"),Jc$2();}if(o&2){let e=HD(2);lh$2("nzLoading",e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),ch$2("cdkFocusInitial",e.config.nzAutofocus==="cancel"||null),gI(),rl$1(" ",e.config.nzCancelText||Fw(2,4,"Modal.cancelText")," ");}}function On$1(o,i){if(o&1){let e=FD();_i$1(0,"button",7),mh$2("click",function(){Fu$1(e);let n=HD(2);return ju$1(n.onOk())}),Iw(1),Pw(2,"nzI18n"),Jc$2();}if(o&2){let e=HD(2);lh$2("nzType",e.config.nzOkType)("nzDanger",e.config.nzOkDanger)("nzLoading",e.config.nzOkLoading)("disabled",e.config.nzOkDisabled),ch$2("cdkFocusInitial",e.config.nzAutofocus==="ok"||null),gI(),rl$1(" ",e.config.nzOkText||Fw(2,6,"Modal.okText")," ");}}function Nn(o,i){if(o&1&&(_D(0,In,3,6,"button",4),_D(1,On$1,3,8,"button",5)),o&2){let e=HD();MD(e.config.nzCancelText!==null?0:-1),gI(),MD(e.config.nzOkText!==null?1:-1);}}function An(o,i){if(o&1&&(tl$2(0),uh$2(1,"div",2),nl$2()),o&2){let e=HD();gI(),lh$2("innerHTML",e.config.nzTitle,vv);}}function Ln(o,i){if(o&1){let e=FD();_i$1(0,"button",9),mh$2("click",function(){Fu$1(e);let n=HD();return ju$1(n.onCloseClick())}),Jc$2();}}function Fn(o,i){if(o&1&&uh$2(0,"div",10),o&2){let e=HD();Mh$1("cursor",e.config.nzDraggable?"move":"auto");}}function Bn(o,i){}function Vn(o,i){if(o&1&&uh$2(0,"div",7),o&2){let e=HD();lh$2("innerHTML",e.config.nzContent,vv);}}function Hn(o,i){if(o&1){let e=FD();_i$1(0,"div",11),mh$2("cancelTriggered",function(){Fu$1(e);let n=HD();return ju$1(n.onCloseClick())})("okTriggered",function(){Fu$1(e);let n=HD();return ju$1(n.onOkClick())}),Jc$2();}if(o&2){let e=HD();lh$2("modalRef",e.modalRef);}}var qi=()=>{},B=class{nzCentered=false;nzClosable=true;nzOkLoading=false;nzOkDisabled=false;nzCancelDisabled=false;nzCancelLoading=false;nzDraggable=false;nzNoAnimation=false;nzAutofocus="auto";nzMask;nzMaskClosable;nzKeyboard=true;nzZIndex=1e3;nzWidth=520;nzCloseIcon="close";nzOkType="primary";nzOkDanger=false;nzModalType="default";nzOnCancel=qi;nzOnOk=qi;nzData;nzMaskStyle;nzBodyStyle;nzWrapClassName;nzClassName;nzStyle;nzTitle;nzFooter;nzCancelText;nzOkText;nzContent;nzCloseOnNavigation;nzViewContainerRef;nzAfterOpen;nzAfterClose;nzIconType="question-circle";nzDirection},L$1={enter:"ant-zoom-enter",enterActive:"ant-zoom-enter-active",leave:"ant-zoom-leave",leaveActive:"ant-zoom-leave-active"},ae={enter:"ant-fade-enter",enterActive:"ant-fade-enter-active",leave:"ant-fade-leave",leaveActive:"ant-fade-leave-active"},Ne="ant-modal-mask",Ae="modal",Wn=new A$4(""),Ot$1=(()=>{class o{config=C$1(B);static \u0275fac=function(t){return new(t||o)};static \u0275cmp=ZE({type:o,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["nzModalCloseBuiltin"],decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-close-icon",3,"nzType"]],template:function(t,n){t&1&&(_i$1(0,"span",0),rh$2(1,Dn,2,1,"ng-container",1),Jc$2()),t&2&&(gI(),lh$2("nzStringTemplateOutlet",n.config.nzCloseIcon));},dependencies:[Ah$1,Th$1,st,Ee],encapsulation:2})}return o})();function Gn(o,i){return r$1(r$1({},i),o)}function Se(o,i,e){return typeof o>"u"?typeof i>"u"?e:i:o}function Qi(){throw Error("Attempting to attach modal content after content is already attached")}var Xi=(()=>{class o extends dr{document=C$1(Uo);cdr=C$1(Z0$1);config=C$1(B);ngZone=C$1(oe$1);host=C$1(_r$1);focusTrapFactory=C$1(tc);renderer=C$1(XI);overlayRef=C$1(vr);nzConfigService=C$1(E3);animationType=C$1(Gm,{optional:true});destroyRef=C$1(at$1);portalOutlet;modalElementRef;animationStateChanged=new Le$4;containerClick=new Le$4;cancelTriggered=new Le$4;okTriggered=new Le$4;modalRef;isStringContent=false;dir="ltr";elementFocusedBeforeModalWasOpened=null;focusTrap;mouseDown=false;oldMaskStyle=null;get showMask(){let e=this.nzConfigService.getConfigForComponent(Ae)||{};return !!Se(this.config.nzMask,e.nzMask,true)}get maskClosable(){let e=this.nzConfigService.getConfigForComponent(Ae)||{};return !!Se(this.config.nzMaskClosable,e.nzMaskClosable,true)}constructor(){super(),this.dir=this.overlayRef.getDirection(),this.isStringContent=typeof this.config.nzContent=="string",zt$1(Ae,()=>this.updateMaskClassname()),this.destroyRef.onDestroy(()=>{this.setMaskExitAnimationClass(true);});}onContainerClick(e){e.target===e.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit();}onCloseClick(){this.cancelTriggered.emit();}onOkClick(){this.okTriggered.emit();}markForCheck(){this.cdr.markForCheck();}attachComponentPortal(e){this.portalOutlet.hasAttached()&&Qi(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop();let t=this.portalOutlet.attachComponentPortal(e);return this._startEnterAnimation(),t}attachTemplatePortal(e){this.portalOutlet.hasAttached()&&Qi(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop();let t=this.portalOutlet.attachTemplatePortal(e);return this._startEnterAnimation(),t}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this._startEnterAnimation();}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||this.animationType==="NoopAnimations"}setModalTransformOrigin(){let e=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){let t=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),n=Yr$1(this.elementFocusedBeforeModalWasOpened),s=n.left+t.width/2,r=n.top+t.height/2,a=`${s-e.offsetLeft}px ${r-e.offsetTop}px 0px`;this.renderer.setStyle(e,"transform-origin",a);}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>tn$2(()=>this.host.nativeElement.focus())));}trapFocus(){let e=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else {let t=this.document.activeElement;t!==e&&!e.contains(t)&&e.focus();}}restoreFocus(){this.elementFocusedBeforeModalWasOpened?.focus(),this.focusTrap?.destroy();}setEnterInitialClass(){if(this.animationDisabled())return;let e=this.modalElementRef.nativeElement,t=this.overlayRef.backdropElement;e.classList.add(L$1.enter),t&&t.classList.add(ae.enter);}setEnterActiveClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();let e=this.modalElementRef.nativeElement,t=this.overlayRef.backdropElement;e.classList.add(L$1.enterActive),t&&t.classList.add(ae.enterActive);}setExitAnimationClass(){let e=this.modalElementRef.nativeElement;e.classList.add(L$1.leave),e.classList.add(L$1.leaveActive),this.setMaskExitAnimationClass();}setMaskExitAnimationClass(e=false){let t=this.overlayRef.backdropElement;if(t){if(this.animationDisabled()||e){t.classList.remove(Ne);return}t.classList.add(ae.leave),t.classList.add(ae.leaveActive);}}cleanAnimationClass(){if(this.animationDisabled())return;let e=this.overlayRef.backdropElement,t=this.modalElementRef.nativeElement;e&&(e.classList.remove(ae.enter),e.classList.remove(ae.enterActive)),t.classList.remove(L$1.enter),t.classList.remove(L$1.enterActive),t.classList.remove(L$1.leave),t.classList.remove(L$1.leaveActive);}setZIndexForBackdrop(){let e=this.overlayRef.backdropElement;e&&Nr$1(this.config.nzZIndex)&&this.renderer.setStyle(e,"z-index",this.config.nzZIndex);}bindBackdropStyle(){let e=this.overlayRef.backdropElement;if(e){if(this.oldMaskStyle){let t=this.oldMaskStyle;Object.keys(t).forEach(n=>{this.renderer.removeStyle(e,n);}),this.oldMaskStyle=null;}if(this.setZIndexForBackdrop(),typeof this.config.nzMaskStyle=="object"&&Object.keys(this.config.nzMaskStyle).length){let t=r$1({},this.config.nzMaskStyle);Object.keys(t).forEach(n=>{this.renderer.setStyle(e,n,t[n]);}),this.oldMaskStyle=t;}}}updateMaskClassname(){let e=this.overlayRef.backdropElement;e&&(this.showMask?e.classList.add(Ne):e.classList.remove(Ne));}_startEnterAnimation(){if(this.bindBackdropStyle(),this.animationStateChanged.emit("enter-start"),this.animationDisabled())this.trapFocus(),this.animationStateChanged.emit("enter-active");else {this.setEnterInitialClass(),tn$2(()=>this.setEnterActiveClass());let e=this.modalElementRef.nativeElement,t=()=>{e.removeEventListener("animationend",t),this.trapFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit("enter-active");};e.addEventListener("animationend",t);}}_startLeaveAnimation(e){if(this.animationStateChanged.emit("leave-start"),this.animationDisabled())this.restoreFocus(),e?.(),this.animationStateChanged.emit("leave-active");else {this.setExitAnimationClass();let t=this.modalElementRef.nativeElement,n=()=>{t.removeEventListener("animationend",n),this.restoreFocus(),this.cleanAnimationClass(),e?.(),this.animationStateChanged.emit("leave-active");};t.addEventListener("animationend",n);}}setupMouseListeners(e){el$1(this.host.nativeElement,"mouseup").pipe(ue$1(this.destroyRef)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=false;});}),el$1(e.nativeElement,"mousedown").pipe(ue$1(this.destroyRef)).subscribe(()=>{this.mouseDown=true;});}static \u0275fac=function(t){return new(t||o)};static \u0275dir=eD({type:o,features:[th$2]})}return o})(),Ji=(()=>{class o extends Xi{set _portalOutlet(e){this.portalOutlet=e;}set _modalElementRef(e){this.modalElementRef=e;}cancelTriggered=new Le$4;okTriggered=new Le$4;ngOnInit(){this.setupMouseListeners(this.modalElementRef);}onCancel(){this.cancelTriggered.emit();}onOk(){this.okTriggered.emit();}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Sy(o)))(n||o)}})();static \u0275cmp=ZE({type:o,selectors:[["nz-modal-confirm-container"]],viewQuery:function(t,n){if(t&1&&Eh$1(xl,7)(Yi,7),t&2){let s;WD(s=GD())&&(n._portalOutlet=s.first),WD(s=GD())&&(n._modalElementRef=s.first);}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:8,hostBindings:function(t,n){t&1&&mh$2("click",function(r){return n.onContainerClick(r)}),t&2&&(lw(n.config.nzWrapClassName?"ant-modal-wrap "+n.config.nzWrapClassName:"ant-modal-wrap"),Mh$1("z-index",n.config.nzZIndex),Sh$1("ant-modal-wrap-rtl",n.dir==="rtl")("ant-modal-centered",n.config.nzCentered));},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[oD([oo]),th$2],decls:17,vars:16,consts:[["modalElement",""],["role","document",1,"ant-modal"],[1,"ant-modal-content"],["nz-modal-close",""],[1,"ant-modal-body"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],[3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger"],["nz-modal-close","",3,"click"],["nz-button","",3,"click","nzLoading","disabled"],["nz-button","",3,"click","nzType","nzLoading","disabled","nzDanger"]],template:function(t,n){t&1&&(_i$1(0,"div",1,0),Pw(2,"nzToCssUnit"),_i$1(3,"div",2),_D(4,yn$1,1,0,"button",3),_i$1(5,"div",4)(6,"div",5)(7,"div",6),uh$2(8,"nz-icon",7),_i$1(9,"span",8),rh$2(10,zn$1,2,1,"ng-container",9),Jc$2(),_i$1(11,"div",10),rh$2(12,bn$1,0,0,"ng-template",11),_D(13,wn$1,1,1,"div",12),Jc$2()(),_i$1(14,"div",13),_D(15,Sn$1,3,6,"button",14),_D(16,Tn,3,8,"button",15),Jc$2()()()()()),t&2&&(aw(n.config.nzStyle),lw(n.config.nzClassName),Mh$1("width",Fw(2,14,n.config?.nzWidth)),gI(4),MD(n.config.nzClosable?4:-1),gI(),aw(n.config.nzBodyStyle),gI(3),lh$2("nzType",n.config.nzIconType),gI(2),lh$2("nzStringTemplateOutlet",n.config.nzTitle),gI(3),MD(n.isStringContent?13:-1),gI(2),MD(n.config.nzCancelText!==null?15:-1),gI(),MD(n.config.nzOkText!==null?16:-1));},dependencies:[yt,Ah$1,Th$1,Ot$1,st,Ee,hr,xl,pf,bd,sp,fp,Dt$1,Zb],encapsulation:2})}return o})(),It$1=(()=>{class o{cdr=C$1(Z0$1);config=C$1(B);modalRef=q0$1.required();cancelTriggered=U0$1();okTriggered=U0$1();buttons=Array.isArray(this.config.nzFooter)?this.config.nzFooter.map(Zn):null;onCancel(){this.cancelTriggered.emit();}onOk(){this.okTriggered.emit();}markForCheck(){this.cdr.markForCheck();}getButtonCallableProp(e,t){let n=e[t],s=this.modalRef().getContentComponent();return typeof n=="function"?n.apply(e,s&&[s]):n}onButtonClick(e){if(!this.getButtonCallableProp(e,"loading")){let n=this.getButtonCallableProp(e,"onClick");e.autoLoading&&Ln$1(n)&&(e.loading=true,n.then(()=>e.loading=false).catch(s=>{throw e.loading=false,s}));}}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=ZE({type:o,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:[1,"modalRef"]},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalFooterBuiltin"],decls:2,vars:1,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost"],["nz-button","",3,"click","hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost"],["nz-button","",3,"nzLoading","disabled"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled"],["nz-button","",3,"click","nzLoading","disabled"],["nz-button","",3,"click","nzType","nzDanger","nzLoading","disabled"]],template:function(t,n){t&1&&_D(0,Mn$1,1,5,"ng-container")(1,Nn,2,2),t&2&&MD(n.config.nzFooter?0:1);},dependencies:[st,Ee,pf,bd,sp,fp,Zb],encapsulation:2})}return o})();function Zn(o){return r$1({type:null,size:"default",autoLoading:true,show:true,loading:false,disabled:false},o)}var en$1=(()=>{class o{config=C$1(B);static \u0275fac=function(t){return new(t||o)};static \u0275cmp=ZE({type:o,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["nzModalTitleBuiltin"],decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(t,n){t&1&&(_i$1(0,"div",0),rh$2(1,An,2,1,"ng-container",1),Jc$2()),t&2&&(gI(),lh$2("nzStringTemplateOutlet",n.config.nzTitle));},dependencies:[st,Ee],encapsulation:2})}return o})(),tn$1=(()=>{class o extends Xi{set _portalOutlet(e){this.portalOutlet=e;}set _modalElementRef(e){this.modalElementRef=e;}modalFooter;markForCheck(){super.markForCheck(),this.modalFooter?.markForCheck();}ngOnInit(){this.setupMouseListeners(this.modalElementRef);}onDragEnded(e){let t=this.modalElementRef.nativeElement,n=e.source.getFreeDragPosition(),{top:s,left:r}=getComputedStyle(t);this.renderer.setStyle(t,"top",O6((parseFloat(s)||0)+n.y)),this.renderer.setStyle(t,"left",O6((parseFloat(r)||0)+n.x)),e.source.reset();}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Sy(o)))(n||o)}})();static \u0275cmp=ZE({type:o,selectors:[["nz-modal-container"]],viewQuery:function(t,n){if(t&1&&Eh$1(xl,7)(Yi,7)(It$1,5),t&2){let s;WD(s=GD())&&(n._portalOutlet=s.first),WD(s=GD())&&(n._modalElementRef=s.first),WD(s=GD())&&(n.modalFooter=s.first);}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:8,hostBindings:function(t,n){t&1&&mh$2("click",function(r){return n.onContainerClick(r)}),t&2&&(lw(n.config.nzWrapClassName?"ant-modal-wrap "+n.config.nzWrapClassName:"ant-modal-wrap"),Mh$1("z-index",n.config.nzZIndex),Sh$1("ant-modal-wrap-rtl",n.dir==="rtl")("ant-modal-centered",n.config.nzCentered));},exportAs:["nzModalContainer"],features:[oD([oo]),th$2],decls:10,vars:15,consts:[["modalElement",""],["cdkDrag","","cdkDragBoundary",".cdk-overlay-container","role","document",1,"ant-modal",3,"cdkDragEnded","cdkDragDisabled"],[1,"ant-modal-content"],["nz-modal-close",""],["nz-modal-title","","cdkDragHandle","",3,"cursor"],[1,"ant-modal-body"],["cdkPortalOutlet",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef"],["nz-modal-close","",3,"click"],["nz-modal-title","","cdkDragHandle",""],["nz-modal-footer","",3,"cancelTriggered","okTriggered","modalRef"]],template:function(t,n){t&1&&(_i$1(0,"div",1,0),Pw(2,"nzToCssUnit"),mh$2("cdkDragEnded",function(r){return n.onDragEnded(r)}),_i$1(3,"div",2),_D(4,Ln,1,0,"button",3),_D(5,Fn,1,2,"div",4),_i$1(6,"div",5),rh$2(7,Bn,0,0,"ng-template",6),_D(8,Vn,1,1,"div",7),Jc$2(),_D(9,Hn,1,1,"div",8),Jc$2()()),t&2&&(aw(n.config.nzStyle),lw(n.config.nzClassName),Mh$1("width",Fw(2,13,n.config?.nzWidth)),lh$2("cdkDragDisabled",!n.config.nzDraggable),gI(4),MD(n.config.nzClosable?4:-1),gI(),MD(n.config.nzTitle?5:-1),gI(),aw(n.config.nzBodyStyle),gI(2),MD(n.isStringContent?8:-1),gI(),MD(n.config.nzFooter!==null?9:-1));},dependencies:[Ot$1,en$1,hr,xl,It$1,yt,Ki,ji,Dt$1],encapsulation:2})}return o})(),we={OPEN:0,CLOSING:1,CLOSED:2},F={CANCEL:"cancel",OK:"ok"},Le=class{overlayRef;config;containerInstance;componentInstance=null;componentRef=null;result;state=we.OPEN;afterClose=new re$2;afterOpen=new re$2;destroy$=new re$2;constructor(i,e,t){this.overlayRef=i,this.config=e,this.containerInstance=t,t.animationStateChanged.pipe(sn$3(n=>n==="enter-active"),yt$2(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),e.nzAfterOpen instanceof Le$4&&e.nzAfterOpen.emit();}),t.animationStateChanged.pipe(sn$3(n=>n==="leave-active"),yt$2(1)).subscribe(()=>this._finishDialogClose()),t.containerClick.pipe(im$1(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger(F.CANCEL);}),i.keydownEvents().pipe(sn$3(()=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading),sn$3(n=>n.keyCode===27&&!wl(n))).subscribe(n=>{n.preventDefault(),this.trigger(F.CANCEL);}),t.cancelTriggered.pipe(im$1(this.destroy$)).subscribe(()=>this.trigger(F.CANCEL)),t.okTriggered.pipe(im$1(this.destroy$)).subscribe(()=>this.trigger(F.OK)),i.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),e.nzAfterClose instanceof Le$4&&e.nzAfterClose.emit(this.result),this.componentInstance=null,this.componentRef=null,this.overlayRef.dispose();});}getContentComponent(){return this.componentInstance}getContentComponentRef(){return this.componentRef}getElement(){return this.containerInstance.getNativeElement()}destroy(i){this.close(i);}triggerOk(){return this.trigger(F.OK)}triggerCancel(){return this.trigger(F.CANCEL)}close(i){this.state===we.OPEN&&(this.result=i,this.state=we.CLOSING,this.containerInstance._startLeaveAnimation(()=>{this.overlayRef.detachBackdrop(),this._finishDialogClose();}));}updateConfig(i){Object.assign(this.config,i),this.containerInstance.bindBackdropStyle(),this.containerInstance.markForCheck();}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(i){return v$1(this,null,function*(){if(this.state===we.CLOSING)return;let e={[F.OK]:{trigger:this.config.nzOnOk,loadingKey:"nzOkLoading"},[F.CANCEL]:{trigger:this.config.nzOnCancel,loadingKey:"nzCancelLoading"}},{trigger:t,loadingKey:n}=e[i];if(!this.config[n]){if(t instanceof Le$4)t.emit(this.getContentComponent());else if(typeof t=="function"){let s=t(this.getContentComponent());if(Ln$1(s)){this.config[n]=true,this.updateConfig(this.config);let r=false;try{r=yield s;}finally{this.config[n]=false,this.updateConfig(this.config),this.closeWhitResult(r);}}else this.closeWhitResult(s);}}})}closeWhitResult(i){i!==false&&this.close(i);}_finishDialogClose(){this.state=we.CLOSED,this.overlayRef.dispose(),this.destroy$.next();}},jn=(()=>{class o{injector=C$1(Ee$3);nzConfigService=C$1(E3);directionality=C$1(Oe$1);parentModal=C$1(o,{skipSelf:true,optional:true});openModalsAtThisLevel=[];afterAllClosedAtThisLevel=new re$2;get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){let e=this.parentModal;return e?e._afterAllClosed:this.afterAllClosedAtThisLevel}afterAllClose=Vg(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(Ql$2(void 0)));create(e){return this.open(e.nzContent,e)}closeAll(){this.closeModals(this.openModals);}confirm(e={},t="confirm"){return "nzFooter"in e&&r2(`The Confirm-Modal doesn't support "nzFooter", this property will be ignored.`),"nzWidth"in e||(e.nzWidth=416),"nzMaskClosable"in e||(e.nzMaskClosable=false),e.nzModalType="confirm",e.nzClassName=`ant-modal-confirm ant-modal-confirm-${t} ${e.nzClassName||""}`,this.create(e)}info(e={}){return this.confirmFactory(e,"info")}success(e={}){return this.confirmFactory(e,"success")}error(e={}){return this.confirmFactory(e,"error")}warning(e={}){return this.confirmFactory(e,"warning")}open(e,t){let n=Gn(t||{},new B),s=this.createOverlay(n),r=this.attachModalContainer(s,n),a=this.attachModalContent(e,r,s,n);return r.modalRef=a,Ug(s,t?.nzZIndex),this.openModals.push(a),a.afterClose.subscribe(()=>this.removeOpenModal(a)),a}removeOpenModal(e){let t=this.openModals.indexOf(e);t>-1&&(this.openModals.splice(t,1),this.openModals.length||this._afterAllClosed.next());}closeModals(e){let t=e.length;for(;t--;)e[t].close(),this.openModals.length||this._afterAllClosed.next();}createOverlay(e){let t=this.nzConfigService.getConfigForComponent(Ae)||{};return go$1(this.injector,{hasBackdrop:true,scrollStrategy:Il(this.injector),backdropClass:Se(e.nzMask,t.nzMask,true)?Ne:"",positionStrategy:Ul(this.injector),disposeOnNavigation:Se(e.nzCloseOnNavigation,t.nzCloseOnNavigation,true),direction:Se(e.nzDirection,t.nzDirection,this.directionality.valueSignal())})}attachModalContainer(e,t){let n=t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector,s=Ee$3.create({parent:n||this.injector,providers:[{provide:vr,useValue:e},{provide:B,useValue:t}]}),r=t.nzModalType==="confirm"?Ji:tn$1,a=new kn$2(r,t.nzViewContainerRef,s);return e.attach(a).instance}attachModalContent(e,t,n,s){let r=new Le(n,s,t);if(Ur$1(e))t.attachTemplatePortal(new Sn$2(e,null,{$implicit:s.nzData,modalRef:r}));else if(Nr$1(e)&&typeof e!="string"){let a=this.createInjector(r,s),l=t.attachComponentPortal(new kn$2(e,s.nzViewContainerRef,a));r.componentRef=l,r.componentInstance=l.instance;}else t.attachStringContent();return r}createInjector(e,t){let n=t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector;return Ee$3.create({parent:n||this.injector,providers:[{provide:Le,useValue:e},{provide:Wn,useValue:t.nzData}]})}confirmFactory(e={},t){let n={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"};return "nzIconType"in e||(e.nzIconType=n[t]),"nzCancelText"in e||(e.nzCancelText=null),this.confirm(e,t)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete();}static \u0275fac=function(t){return new(t||o)};static \u0275prov=ie$1({token:o,factory:o.\u0275fac})}return o})();var ts=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=KE({type:o});static \u0275inj=fu$1({providers:[jn],imports:[Ot$1,It$1,en$1,tn$1,Ji]})}return o})();var h="knoflows-theme",c="nz-theme",l="nz-theme.css",m="nz-theme-dark.css",p=(()=>{class i{constructor(){this.document=C$1(Uo),this.themeSignal=qo(this.initialTheme()),this.theme=this.themeSignal.asReadonly(),this.apply(this.themeSignal());}setTheme(e){this.apply(e),this.storage()?.setItem(h,e);}toggleTheme(){this.setTheme(this.themeSignal()==="dark"?"light":"dark");}apply(e){let t=this.document.documentElement,n=this.themeLink();e==="dark"?(t.dataset.theme="dark",n.setAttribute("href",m)):(t.removeAttribute("data-theme"),n.setAttribute("href",l)),this.themeSignal.set(e);}initialTheme(){let e=this.storage()?.getItem(h);return e==="light"||e==="dark"?e:this.prefersDark()?"dark":"light"}prefersDark(){return this.document.defaultView?.matchMedia?.("(prefers-color-scheme: dark)")?.matches===true}themeLink(){let e=this.document.getElementById(c);if(e instanceof HTMLLinkElement)return e;let t=this.document.createElement("link");return t.id=c,t.rel="stylesheet",this.document.head.appendChild(t),t}storage(){try{return this.document.defaultView?.localStorage??null}catch(e){return null}}static{this.\u0275fac=function(t){return new(t||i)};}static{this.\u0275prov=ie$1({token:i,factory:i.\u0275fac,providedIn:"root"});}}return i})();var $=(()=>{class s{constructor(){this.http=C$1(N2),this.baseUrl=`${ix.apiBaseUrl}/jobs`;}list(t){return this.http.get(this.baseUrl,{params:u$1(t)}).pipe(cx())}listQueued(){return this.http.get(`${this.baseUrl}/queued`).pipe(cx())}get(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(cx())}start(t){return this.http.post(this.baseUrl,t).pipe(cx())}latestBySubject(t,r){return this.http.post(`${this.baseUrl}/latest-by-subject`,{workflowId:t,subjectIds:r}).pipe(cx())}resume(t,r){return this.http.post(`${this.baseUrl}/${encodeURIComponent(t)}/resume`,{response:r}).pipe(cx())}retry(t){return this.http.post(`${this.baseUrl}/${encodeURIComponent(t)}/retry`,{}).pipe(cx())}retryStep(t,r){return this.http.post(`${this.baseUrl}/${encodeURIComponent(t)}/retry-step`,r$1({},r!==void 0?{overrideParams:r}:{})).pipe(cx())}cancel(t){return this.http.post(`${this.baseUrl}/${encodeURIComponent(t)}/cancel`,{}).pipe(cx())}deleteWorktrees(t){return this.http.post(`${this.baseUrl}/delete-worktrees`,{jobIds:t}).pipe(cx())}static{this.\u0275fac=function(r){return new(r||s)};}static{this.\u0275prov=ie$1({token:s,factory:s.\u0275fac,providedIn:"root"});}}return s})();var D=[vh,fh$1,th$1,Vt$1,Tt$3,At$1,oh$1,ah$1,sh$1,gh$1,mh$1,lh$1,eh$1,Jl,Ql$1,Kl$1,$t$1,jt$2,nh$1,ch$1,uh$1,hh$1,ih$1,dh$1,rh$1];function y(){return ti$1(D)}var L=new Set(["tag","file-text","thunderbolt","appstore","api","file","database","setting"]);function H(N,v){return N&&L.has(v)?"fill":"outline"}function Ht(t,i){if(t&1&&(_i$1(0,"p",3),Iw(1),Jc$2()),t&2){let e=i.$implicit,o=HD(2).$index,n=HD(2);Sh$1("current",e===n.countArray[o]),gI(),rl$1(" ",e," ");}}function Gt(t,i){if(t&1&&xD(0,Ht,2,3,"p",2,ND),t&2){let e=HD(3);AD(e.countSingleArray);}}function Ut(t,i){if(t&1&&(_i$1(0,"span",1),_D(1,Gt,2,0),Jc$2()),t&2){let e=i.$index,o=HD(2);Mh$1("transform","translateY("+-o.countArray[e]*100+"%)"),lh$2("nzNoAnimation",!!o.noAnimation?.nzNoAnimation?.()),gI(),MD(!o.nzDot&&o.countArray[e]!==void 0?1:-1);}}function Zt(t,i){if(t&1&&xD(0,Ut,2,4,"span",0,ND),t&2){let e=HD();AD(e.maxNumberArray);}}function Kt(t,i){if(t&1&&Iw(0),t&2){let e=HD();rl$1(" ",e.nzOverflowCount,"+ ");}}var Ot=["*"];function Yt(t,i){if(t&1&&(tl$2(0),Iw(1),nl$2()),t&2){let e=HD(2);gI(),Lh$1(e.nzText);}}function qt(t,i){if(t&1&&(uh$2(0,"span",1),_i$1(1,"span",2),rh$2(2,Yt,2,1,"ng-container",0),Jc$2()),t&2){let e=HD();aw(e.mergedStyle),lw((e.nzStatus||e.presetColor)&&"ant-badge-status-"+(e.nzStatus||e.presetColor)),gI(2),lh$2("nzStringTemplateOutlet",e.nzText);}}function Xt(t,i){if(t&1){let e=FD();_i$1(0,"nz-badge-sup",3),oi$1(function(){Fu$1(e);let n=HD(2);return ju$1(n.supAnimationLeave())}),ri$1(function(){Fu$1(e);let n=HD(2);return ju$1(n.supAnimationEnter())}),Jc$2();}if(t&2){let e=HD(2);lh$2("isPresetColor",e.nzStatus||e.presetColor)("nzColor",e.nzStatus||e.presetColor||e.nzColor)("nzOffset",e.nzOffset)("nzSize",e.nzSize)("nzTitle",e.nzTitle)("nzStyle",e.mergedStyle)("nzDot",e.nzDot)("nzCount",e.nzCount)("nzOverflowCount",e.nzOverflowCount);}}function Qt(t,i){if(t&1&&(tl$2(0),_D(1,Xt,1,9,"nz-badge-sup",3),nl$2()),t&2){let e=HD();gI(),MD(e.showSup?1:-1);}}function en(t,i){if(t&1&&(tl$2(0),_i$1(1,"span",3),Iw(2),Jc$2(),nl$2()),t&2){let e=HD();gI(2),Lh$1(e.nzText);}}var tn=(()=>{class t{noAnimation=C$1(Mn$2,{host:true,optional:true});nzOffset;nzTitle;nzStyle=null;nzDot=false;nzOverflowCount=99;nzCount;nzSize="default";isPresetColor=false;nzColor;maxNumberArray=[];countArray=[];count=0;countSingleArray=[0,1,2,3,4,5,6,7,8,9];generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("").map((e,o)=>`${e}-${o}`);}ngOnInit(){this.generateMaxNumberArray();}ngOnChanges(e){let{nzOverflowCount:o,nzCount:n}=e;n&&typeof n.currentValue=="number"&&(this.count=Math.max(0,n.currentValue),this.countArray=this.count.toString().split("").map(l=>+l)),o&&this.generateMaxNumberArray();}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ZE({type:t,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:17,hostBindings:function(o,n){o&2&&(ch$2("title",n.nzTitle===null?"":n.nzTitle||n.nzCount),aw(n.nzStyle),lw(n.isPresetColor?"ant-badge-status-"+n.nzColor:""),Mh$1("right",n.nzOffset&&n.nzOffset[0]?-n.nzOffset[0]:null,"px")("margin-top",n.nzOffset&&n.nzOffset[1]?n.nzOffset[1]:null,"px"),Sh$1("ant-badge-count",!n.nzDot)("ant-badge-count-sm",n.nzSize==="small")("ant-badge-dot",n.nzDot)("ant-badge-multiple-words",n.countArray.length>=2));},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:[2,"nzOverflowCount","nzOverflowCount",J0$1],nzCount:"nzCount",nzSize:"nzSize",isPresetColor:[2,"isPresetColor","isPresetColor",K0$1],nzColor:"nzColor"},exportAs:["nzBadgeSup"],features:[ly],decls:2,vars:1,consts:[[1,"ant-scroll-number-only",3,"nzNoAnimation","transform"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[1,"ant-scroll-number-only-unit",3,"current"],[1,"ant-scroll-number-only-unit"]],template:function(o,n){o&1&&_D(0,Zt,2,0)(1,Kt,1,1),o&2&&MD(n.count<=n.nzOverflowCount?0:1);},dependencies:[Mn$2],encapsulation:2})}return t})(),Dt=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"],nn="badge",Ce=(()=>{let t,i=[],e=[],o,n=[],l=[];return class fe{static{let _=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[Yl$1()],o=[Yl$1()],mT(null,null,t,{kind:"field",name:"nzOverflowCount",static:false,private:false,access:{has:m=>"nzOverflowCount"in m,get:m=>m.nzOverflowCount,set:(m,h)=>{m.nzOverflowCount=h;}},metadata:_},i,e),mT(null,null,o,{kind:"field",name:"nzColor",static:false,private:false,access:{has:m=>"nzColor"in m,get:m=>m.nzColor,set:(m,h)=>{m.nzColor=h;}},metadata:_},n,l),_&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:_});}dir=C$1(Oe$1).valueSignal;_nzModuleName=nn;showSup=false;supAnimationEnter=oc(()=>"ant-badge-zoom-enter");supAnimationLeave=oc(()=>"ant-badge-zoom-leave");presetColor=null;nzShowZero=false;nzShowDot=true;nzStandalone=false;nzDot=false;nzOverflowCount=yT(this,i,99);nzColor=(yT(this,e),yT(this,n,void 0));nzStyle=(yT(this,l),null);nzText=null;nzTitle;nzStatus;nzCount;nzOffset;nzSize="default";get mergedStyle(){return r$1({backgroundColor:!this.presetColor&&this.nzColor},this.nzStyle??{})}ngOnChanges(_){let{nzColor:m,nzShowDot:h,nzDot:Jt,nzCount:$t,nzShowZero:Wt}=_;m&&(this.presetColor=this.nzColor&&Dt.indexOf(this.nzColor)!==-1?this.nzColor:null),(h||Jt||$t||Wt)&&(this.showSup=this.nzShowDot&&this.nzDot||typeof this.nzCount=="number"&&(this.nzCount>0||this.nzShowZero));}static \u0275fac=function(m){return new(m||fe)};static \u0275cmp=ZE({type:fe,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:6,hostBindings:function(m,h){m&2&&Sh$1("ant-badge-status",h.nzStatus)("ant-badge-not-a-wrapper",!!(h.nzStandalone||(h.nzStatus||h.nzColor)&&!h.showSup&&!h.nzCount))("ant-badge-rtl",h.dir()==="rtl");},inputs:{nzShowZero:[2,"nzShowZero","nzShowZero",K0$1],nzShowDot:[2,"nzShowDot","nzShowDot",K0$1],nzStandalone:[2,"nzStandalone","nzStandalone",K0$1],nzDot:[2,"nzDot","nzDot",K0$1],nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset",nzSize:"nzSize"},exportAs:["nzBadge"],features:[ly],ngContentSelectors:Ot,decls:3,vars:2,consts:[[4,"nzStringTemplateOutlet"],[1,"ant-badge-status-dot"],[1,"ant-badge-status-text"],[3,"isPresetColor","nzColor","nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzCount","nzOverflowCount"]],template:function(m,h){m&1&&($D(),_D(0,qt,3,5),UD(1),rh$2(2,Qt,2,1,"ng-container",0)),m&2&&(MD((h.nzStatus||h.nzColor)&&!h.showSup&&!h.nzCount?0:-1),gI(2),lh$2("nzStringTemplateOutlet",h.nzCount));},dependencies:[tn,st,Ee],encapsulation:2})}})(),on=(()=>{class t{nzColor;nzPlacement="end";nzText=null;presetColor=null;ngOnChanges(e){let{nzColor:o}=e;o&&(this.presetColor=this.nzColor&&Dt.indexOf(this.nzColor)!==-1?this.nzColor:null);}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ZE({type:t,selectors:[["nz-ribbon"]],hostAttrs:[1,"ant-ribbon-wrapper"],inputs:{nzColor:"nzColor",nzPlacement:"nzPlacement",nzText:"nzText"},exportAs:["nzRibbon"],features:[ly],ngContentSelectors:Ot,decls:4,vars:11,consts:[[1,"ant-ribbon"],[4,"nzStringTemplateOutlet"],[1,"ant-ribbon-corner"],[1,"ant-ribbon-text"]],template:function(o,n){o&1&&($D(),UD(0),_i$1(1,"div",0),rh$2(2,en,3,1,"ng-container",1),uh$2(3,"div",2),Jc$2()),o&2&&(gI(),lw(n.presetColor&&"ant-ribbon-color-"+n.presetColor),Mh$1("background-color",!n.presetColor&&n.nzColor),Sh$1("ant-ribbon-placement-end",n.nzPlacement==="end")("ant-ribbon-placement-start",n.nzPlacement==="start"),gI(),lh$2("nzStringTemplateOutlet",n.nzText),gI(),Mh$1("color",!n.presetColor&&n.nzColor));},dependencies:[st,Ee],encapsulation:2})}return t})(),Tt=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=KE({type:t});static \u0275inj=fu$1({imports:[Ce,on]})}return t})();var Pt="#12161F",an="#F7F4EE",At=(()=>{class t{constructor(){this.themeService=C$1(p),this.variant=q0$1("theme"),this.ariaLabel=q0$1("knoflows"),this.monochrome=Uw(()=>this.variant()==="mono"||this.themeService.theme()==="light"),this.nodeFill=Uw(()=>this.monochrome()?Pt:an),this.stroke=Uw(()=>this.nodeFill()),this.hubFill=Uw(()=>this.monochrome()?Pt:"var(--knoflows-accent)");}static{this.\u0275fac=function(o){return new(o||t)};}static{this.\u0275cmp=ZE({type:t,selectors:[["app-brand-mark"]],inputs:{variant:[1,"variant"],ariaLabel:[1,"ariaLabel"]},decls:9,vars:9,consts:[["viewBox","0 0 200 200","role","img","data-testid","brand-mark",1,"mark"],["x1","70","y1","38","x2","70","y2","162","stroke-width","13","stroke-linecap","round","data-testid","brand-mark-spine"],["x1","70","y1","100","x2","154","y2","52","stroke-width","13","stroke-linecap","round","data-testid","brand-mark-arm-top"],["x1","70","y1","100","x2","154","y2","148","stroke-width","13","stroke-linecap","round","data-testid","brand-mark-arm-bottom"],["cx","70","cy","38","r","17","data-testid","brand-mark-node-tl"],["cx","70","cy","162","r","17","data-testid","brand-mark-node-bl"],["cx","154","cy","52","r","17","data-testid","brand-mark-node-tr"],["cx","154","cy","148","r","17","data-testid","brand-mark-node-br"],["cx","70","cy","100","r","22","data-testid","brand-mark-hub"]],template:function(o,n){o&1&&(Yu$1(),Xc$2(0,"svg",0),dh$2(1,"line",1)(2,"line",2)(3,"line",3)(4,"circle",4)(5,"circle",5)(6,"circle",6)(7,"circle",7)(8,"circle",8),el$2()),o&2&&(ch$2("aria-label",n.ariaLabel()),gI(),ch$2("stroke",n.stroke()),gI(),ch$2("stroke",n.stroke()),gI(),ch$2("stroke",n.stroke()),gI(),ch$2("fill",n.nodeFill()),gI(),ch$2("fill",n.nodeFill()),gI(),ch$2("fill",n.nodeFill()),gI(),ch$2("fill",n.nodeFill()),gI(),ch$2("fill",n.hubFill()));},styles:["[_nghost-%COMP%]{display:inline-flex;line-height:0}.mark[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;flex-shrink:0}"]});}}return t})();var sn=["ticket","pull_request","documentation"],ln={ticket:"shell.group.tickets",pull_request:"shell.group.pullRequests",documentation:"shell.group.documentation"};function dn(t,i){return ln[t]}function Nt(t,i){let e=new Map;for(let o of t){let n=e.get(o.subjectType)??[];n.push(o),e.set(o.subjectType,n);}return sn.flatMap(o=>{let n=e.get(o);return n?.length?[{subjectType:o,labelKey:dn(o),views:[...n].sort((l,C)=>l.order-C.order)}]:[]})}var un=t=>["/views",t],hn=(t,i)=>i.subjectType,Et=(t,i)=>i.id;function gn(t,i){t&1&&(_i$1(0,"section",6)(1,"h2",7),Iw(2),Pw(3,"transloco"),Jc$2(),_i$1(4,"p"),Iw(5),Pw(6,"transloco"),Jc$2(),_i$1(7,"a",8),Iw(8),Pw(9,"transloco"),Jc$2()()),t&2&&(gI(2),Lh$1(Fw(3,3,"shell.empty.title")),gI(3),Lh$1(Fw(6,5,"shell.empty.body")),gI(3),rl$1(" ",Fw(9,7,"shell.empty.settingsLink")," "));}function fn(t,i){if(t&1&&(_i$1(0,"p",9),Iw(1),Jc$2()),t&2){let e=HD(2);gI(),Lh$1(e.reorderError());}}function Cn(t,i){if(t&1&&(_i$1(0,"li",15)(1,"a",16),Iw(2),Jc$2(),_i$1(3,"button",17),Pw(4,"transloco"),uh$2(5,"span",18),Jc$2()()),t&2){let e=i.$implicit;ch$2("data-testid","sidebar-view-"+e.id),gI(),lh$2("routerLink",Aw(8,un,e.id)),ch$2("data-testid","sidebar-link-"+e.id),gI(),rl$1(" ",e.name," "),gI(),ch$2("data-testid","sidebar-drag-handle-"+e.id)("aria-label",Fw(4,6,"shell.reorderHandle"));}}function bn(t,i){if(t&1){let e=FD();_i$1(0,"section",10)(1,"h2",12),uh$2(2,"span",13),Iw(3),Pw(4,"transloco"),Jc$2(),_i$1(5,"ul",14),mh$2("cdkDropListDropped",function(n){let l=Fu$1(e).$implicit,C=HD(2);return ju$1(C.drop(l,n))}),xD(6,Cn,6,10,"li",15,Et),Jc$2()();}if(t&2){let e=i.$implicit,o=HD(2);ch$2("data-testid","sidebar-group-"+e.subjectType),gI(2),lh$2("nzType",o.groupIcon(e.subjectType))("nzTheme",o.navIconTheme(o.isGroupActive(e),o.groupIcon(e.subjectType))),ch$2("data-testid","sidebar-group-icon-"+e.subjectType),gI(),rl$1(" ",Fw(4,8,e.labelKey)," "),gI(2),lh$2("cdkDropListData",e.views)("cdkDropListDisabled",o.reordering()),ch$2("data-testid","sidebar-drop-"+e.subjectType),gI(),AD(e.views);}}function zn(t,i){if(t&1&&(_i$1(0,"li",15)(1,"a",21),Iw(2),Jc$2(),_i$1(3,"button",17),Pw(4,"transloco"),uh$2(5,"span",18),Jc$2()()),t&2){let e=i.$implicit;ch$2("data-testid","sidebar-shortcut-"+e.id),gI(),ch$2("data-testid","sidebar-shortcut-link-"+e.id),gI(),rl$1(" ",e.name," "),gI(),ch$2("data-testid","sidebar-drag-handle-"+e.id)("aria-label",Fw(4,5,"shell.reorderHandle"));}}function vn(t,i){if(t&1){let e=FD();_i$1(0,"section",11)(1,"h2",12),uh$2(2,"span",19),Iw(3),Pw(4,"transloco"),Jc$2(),_i$1(5,"ul",20),mh$2("cdkDropListDropped",function(n){Fu$1(e);let l=HD(2);return ju$1(l.dropShortcut(n))}),xD(6,zn,6,7,"li",15,Et),Jc$2()();}if(t&2){let e=HD(2);gI(2),lh$2("nzTheme",e.navIconTheme(e.isShortcutsActive(),"thunderbolt")),gI(),rl$1(" ",Fw(4,4,"shell.shortcuts")," "),gI(2),lh$2("cdkDropListData",e.shortcuts())("cdkDropListDisabled",e.reordering()),gI(),AD(e.shortcuts());}}function _n(t,i){if(t&1&&(_D(0,fn,2,1,"p",9),xD(1,bn,8,10,"section",10,hn),_D(3,vn,8,6,"section",11)),t&2){let e=HD();MD(e.reorderError()?0:-1),gI(),AD(e.groups()),gI(2),MD(e.shortcuts().length>0?3:-1);}}var It=(()=>{class t{constructor(){this.nav=C$1(y$1),this.viewsApi=C$1(U),this.shortcutsApi=C$1(m$1),this.destroyRef=C$1(at$1),this.router=C$1(J1),this.navIconTheme=H,this.url=de$1(this.router.events.pipe(sn$3(e=>e instanceof o1),Se$3(()=>this.router.url),Ql$2(this.router.url)),{initialValue:this.router.url}),this.groups=Uw(()=>Nt(this.nav.views())),this.shortcuts=this.nav.shortcuts,this.empty=Uw(()=>this.nav.views().length===0&&this.nav.shortcuts().length===0),this.reorderError=qo(null),this.reordering=qo(false);}groupIcon(e){switch(e){case "ticket":return "tag";case "pull_request":return "branches";case "documentation":return "file-text"}}isGroupActive(e){let o=this.url();return e.views.some(n=>o.startsWith(`/views/${n.id}`))}isShortcutsActive(){return this.url().startsWith("/shortcuts")}drop(e,o){if(o.previousIndex===o.currentIndex)return;let n=[...e.views];Bi(n,o.previousIndex,o.currentIndex),this.reorderError.set(null),this.reordering.set(true),this.viewsApi.reorder(n.map(l=>l.id)).pipe(ue$1(this.destroyRef)).subscribe({next:()=>{this.reordering.set(false),this.nav.refresh();},error:l=>{this.reordering.set(false),this.reorderError.set(l instanceof Error?l.message:"Failed to reorder views");}});}dropShortcut(e){if(e.previousIndex===e.currentIndex)return;let o=[...this.shortcuts()];Bi(o,e.previousIndex,e.currentIndex),this.reorderError.set(null),this.reordering.set(true),this.shortcutsApi.reorder(o.map(n=>n.id)).pipe(ue$1(this.destroyRef)).subscribe({next:()=>{this.reordering.set(false),this.nav.refresh();},error:n=>{this.reordering.set(false),this.reorderError.set(n instanceof Error?n.message:"Failed to reorder shortcuts");}});}static{this.\u0275fac=function(o){return new(o||t)};}static{this.\u0275cmp=ZE({type:t,selectors:[["app-sidebar"]],decls:11,vars:1,consts:[["data-testid","app-sidebar",1,"sidebar"],["data-testid","app-brand",1,"brand"],["aria-label","knoflows",1,"wordmark"],[1,"wordmark-kno"],[1,"wordmark-flows"],[1,"sidebar-body"],["data-testid","sidebar-empty",1,"empty"],[1,"display-heading"],["nz-button","","nzType","primary","routerLink","/settings","data-testid","sidebar-empty-settings"],["data-testid","sidebar-reorder-error",1,"error"],[1,"group"],["data-testid","sidebar-group-shortcuts",1,"group"],[1,"group-title"],["nz-icon","",1,"group-icon",3,"nzType","nzTheme"],["cdkDropList","",1,"view-list",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["cdkDrag","",1,"view-item"],["routerLinkActive","active",3,"routerLink"],["type","button","cdkDragHandle","",1,"drag-handle"],["nz-icon","","nzType","holder","nzTheme","outline"],["nz-icon","","nzType","thunderbolt","data-testid","sidebar-group-icon-shortcuts",1,"group-icon",3,"nzTheme"],["cdkDropList","","data-testid","sidebar-drop-shortcuts",1,"view-list",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["routerLink","/shortcuts","routerLinkActive","active"]],template:function(o,n){o&1&&(_i$1(0,"aside",0)(1,"div",1),uh$2(2,"app-brand-mark"),_i$1(3,"span",2)(4,"span",3),Iw(5,"kno"),Jc$2(),_i$1(6,"span",4),Iw(7,"flows"),Jc$2()()(),_i$1(8,"div",5),_D(9,gn,10,9,"section",6)(10,_n,4,2),Jc$2()()),o&2&&(gI(9),MD(n.empty()?9:10));},dependencies:[$8,fo,go,Ki,ji,v3,Yc$1,pf,bd,sp,Ah$1,Th$1,At,Kt$3],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;width:15rem;min-height:0;height:100%;flex-shrink:0}.sidebar[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;border-right:1px solid var(--knoflows-border, #e1dacb);background:var(--knoflows-surface, #fff);overflow:hidden}.brand[_ngcontent-%COMP%]{display:flex;box-sizing:border-box;flex-shrink:0;align-items:center;gap:.5rem;height:var(--app-chrome-height);padding:0 1rem;border-bottom:1px solid var(--knoflows-border, #e1dacb)}.wordmark[_ngcontent-%COMP%]{font-family:Space Grotesk,sans-serif;font-size:1.1rem;font-weight:700;letter-spacing:.02em;line-height:1}.wordmark-kno[_ngcontent-%COMP%]{color:var(--knoflows-heading, inherit)}.wordmark-flows[_ngcontent-%COMP%]{color:var(--knoflows-accent)}.sidebar-body[_ngcontent-%COMP%]{flex:1;min-height:0;overflow-y:auto;padding:1rem .75rem 1.5rem}.group[_ngcontent-%COMP%] + .group[_ngcontent-%COMP%]{margin-top:1.25rem}.group-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.4rem;margin:0 0 .5rem;padding:0 .35rem;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--knoflows-text-secondary, #6b6558)}.group-icon[_ngcontent-%COMP%]{font-size:16px;color:currentColor}.view-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.view-item[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;margin:.15rem 0;border-radius:.5rem}.view-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:relative;display:block;flex:1;min-width:0;padding:.45rem 1.75rem .45rem .7rem;color:var(--knoflows-text, inherit);text-decoration:none;border-radius:.5rem}.drag-handle[_ngcontent-%COMP%]{position:absolute;top:50%;right:.2rem;z-index:1;display:flex;align-items:center;justify-content:center;width:1.4rem;height:1.4rem;padding:0;border:0;border-radius:.3rem;background:transparent;color:var(--knoflows-text-secondary, #6b6558);cursor:grab;opacity:0;pointer-events:none;transform:translateY(-50%)}.drag-handle[_ngcontent-%COMP%]:active{cursor:grabbing}.view-item[_ngcontent-%COMP%]:hover .drag-handle[_ngcontent-%COMP%], .view-item[_ngcontent-%COMP%]:focus-within .drag-handle[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%] .drag-handle[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}.view-item.cdk-drag-disabled[_ngcontent-%COMP%] .drag-handle[_ngcontent-%COMP%]{display:none}.view-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--knoflows-active-bg, #eef1fc)}.view-item[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{background:var(--knoflows-active-bg, #eef1fc);color:var(--knoflows-link, #3854d6);font-weight:600}.view-item[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:before{content:"";position:absolute;top:8px;bottom:8px;left:4px;width:3px;border-radius:999px;background:var(--knoflows-accent)}.empty[_ngcontent-%COMP%]{padding:.5rem .35rem}.empty[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:1rem}.empty[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 1rem;color:var(--knoflows-text-secondary, #6b6558);font-size:.92rem;line-height:1.45}.error[_ngcontent-%COMP%]{margin:0 0 .75rem;padding:0 .35rem;color:#d64545;font-size:.85rem}.cdk-drag-preview[_ngcontent-%COMP%]{box-shadow:0 4px 12px #0000001f;background:var(--knoflows-surface, #fff);border-radius:.5rem}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}']});}}return t})();var yn=()=>({status:"waiting_for_human"});function wn(t,i){if(t&1&&uh$2(0,"nz-badge",5),t&2){let e=HD();lh$2("nzCount",e.waitingJobsCount())("nzOverflowCount",99);}}var xn=3e4,Sn=500,Ft=(()=>{class t{constructor(){this.jobsApi=C$1($),this.destroyRef=C$1(at$1),this.language=C$1(O),this.theme=C$1(p),this.waitingJobsCount=qo(0),this.pollWaitingJobs();}onLanguageChange(e){this.language.setLanguage(e);}pollWaitingJobs(){Gg(xn).pipe(Ql$2(0),Nl$1(()=>this.jobsApi.list({status:"waiting_for_human",topLevelOnly:false,limit:Sn,offset:0})),ue$1(this.destroyRef)).subscribe({next:e=>this.waitingJobsCount.set(e.length),error:()=>this.waitingJobsCount.set(0)});}static{this.\u0275fac=function(o){return new(o||t)};}static{this.\u0275cmp=ZE({type:t,selectors:[["app-shell"]],decls:25,vars:17,consts:[["data-testid","app-shell",1,"app-shell"],[1,"main"],["data-testid","app-top-bar",1,"top-bar"],[1,"top-actions"],["routerLink","/jobs","data-testid","jobs-waiting-badge",1,"jobs-badge",3,"queryParams"],["nzStandalone","","nzSize","small",3,"nzCount","nzOverflowCount"],["nz-button","","nzType","link","routerLink","/manage","routerLinkActive","active","data-testid","manage-link"],["nz-button","","nzType","text","type","button","data-testid","theme-toggle",1,"theme-toggle",3,"click"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"lang"],["data-testid","language-select",3,"ngModelChange","ngModel"],["nzValue","en","nzLabel","English"],["nzValue","es","nzLabel","Espa\xF1ol"],[1,"content"]],template:function(o,n){o&1&&(_i$1(0,"div",0),uh$2(1,"app-sidebar"),_i$1(2,"div",1)(3,"header",2)(4,"div",3)(5,"a",4)(6,"span"),Iw(7),Pw(8,"transloco"),Jc$2(),_D(9,wn,1,2,"nz-badge",5),Jc$2(),_i$1(10,"a",6),Iw(11),Pw(12,"transloco"),Jc$2(),_i$1(13,"button",7),Pw(14,"transloco"),mh$2("click",function(){return n.theme.toggleTheme()}),uh$2(15,"span",8),Jc$2(),_i$1(16,"label",9)(17,"span"),Iw(18),Pw(19,"transloco"),Jc$2(),_i$1(20,"nz-select",10),mh$2("ngModelChange",function(C){return n.onLanguageChange(C)}),uh$2(21,"nz-option",11)(22,"nz-option",12),Jc$2(),iE(),Jc$2()()(),_i$1(23,"div",13),uh$2(24,"router-outlet"),Jc$2()()()),o&2&&(gI(5),lh$2("queryParams",xw(16,yn)),gI(2),Lh$1(Fw(8,8,"shell.jobs")),gI(2),MD(n.waitingJobsCount()>0?9:-1),gI(2),rl$1(" ",Fw(12,10,"shell.manage")," "),gI(2),ch$2("aria-label",Fw(14,12,n.theme.theme()==="dark"?"shell.theme.toLight":"shell.theme.toDark")),gI(2),lh$2("nzType",n.theme.theme()==="dark"?"sun":"moon"),gI(3),Lh$1(Fw(19,14,"nav.language")),gI(2),lh$2("ngModel",n.language.currentLang()),aE());},dependencies:[$8,al,rl,$i$1,D6,v3,Yc$1,Tt,Ce,pf,bd,sp,Ah$1,Th$1,ex,Fm,Am,It,Kt$3],styles:["[_nghost-%COMP%]{display:block;height:100%}.app-shell[_ngcontent-%COMP%]{display:flex;height:100%;overflow:hidden;background:var(--knoflows-page, transparent);color:var(--knoflows-text, inherit)}.main[_ngcontent-%COMP%]{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.top-bar[_ngcontent-%COMP%]{display:flex;box-sizing:border-box;flex-shrink:0;align-items:center;justify-content:flex-end;gap:1rem;height:var(--app-chrome-height);padding:0 1.25rem;border-bottom:1px solid var(--knoflows-border, #e1dacb);background:var(--knoflows-surface, #fff)}.top-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.jobs-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .5rem;color:var(--knoflows-text, inherit);text-decoration:none;border-radius:.5rem}.jobs-badge[_ngcontent-%COMP%]:hover{background:var(--knoflows-active-bg, #eef1fc)}.theme-toggle[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;font-size:16px;color:var(--knoflows-text, inherit)}.lang[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;font-size:.9rem;color:var(--knoflows-text-secondary, inherit)}.content[_ngcontent-%COMP%]{flex:1;min-width:0;min-height:0;overflow:auto}[_nghost-%COMP%] .top-actions a.active{font-weight:600}"]});}}return t})();var Lt=(()=>{class t{constructor(){this.theme=C$1(p);}static{this.\u0275fac=function(o){return new(o||t)};}static{this.\u0275cmp=ZE({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(o,n){o&1&&uh$2(0,"app-shell");},dependencies:[Ft],encapsulation:2});}}return t})();var kn="@",Mn=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=C$1(Ee$3);loadingSchedulerFn=C$1(On,{optional:true});_engine;constructor(e,o,n,l,C){this.doc=e,this.delegate=o,this.zone=n,this.animationType=l,this.moduleImpl=C;}ngOnDestroy(){this._engine?.flush();}loadImpl(){let e=()=>this.moduleImpl??import('./chunk-BW9BdLk-.js').then(n=>n),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(n=>{throw new _$2(5300,false)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:l})=>{this._engine=n(this.animationType,this.doc);let C=new l(this.delegate,this._engine,this.zone);return this.delegate=C,C})}createRenderer(e,o){let n=this.delegate.createRenderer(e,o);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=false);let l=new be(n);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(C=>{let _=C.createRenderer(e,o);l.use(_),this.scheduler??=this.injector.get(He$2,null,{optional:true}),this.scheduler?.notify(10);}).catch(C=>{l.use(n);}),l}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(o){pE();};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),be=class{delegate;replay=[];\u0275type=1;constructor(i){this.delegate=i;}use(i){if(this.delegate=i,this.replay!==null){for(let e of this.replay)e(i);this.replay=null;}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy();}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}get destroyNode(){return this.delegate.destroyNode}appendChild(i,e){this.delegate.appendChild(i,e);}insertBefore(i,e,o,n){this.delegate.insertBefore(i,e,o,n);}removeChild(i,e,o,n){this.delegate.removeChild(i,e,o,n);}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,o,n){this.delegate.setAttribute(i,e,o,n);}removeAttribute(i,e,o){this.delegate.removeAttribute(i,e,o);}addClass(i,e){this.delegate.addClass(i,e);}removeClass(i,e){this.delegate.removeClass(i,e);}setStyle(i,e,o,n){this.delegate.setStyle(i,e,o,n);}removeStyle(i,e,o){this.delegate.removeStyle(i,e,o);}setProperty(i,e,o){this.shouldReplay(e)&&this.replay.push(n=>n.setProperty(i,e,o)),this.delegate.setProperty(i,e,o);}setValue(i,e){this.delegate.setValue(i,e);}listen(i,e,o,n){return this.shouldReplay(e)&&this.replay.push(l=>l.listen(i,e,o,n)),this.delegate.listen(i,e,o,n)}shouldReplay(i){return this.replay!==null&&i.startsWith(kn)}},On=new A$4("");function Bt(t="animations"){return le$1("NgAsyncAnimations"),wu$1([{provide:Dr$1,useFactory:()=>new Mn(C$1(Uo),C$1(K3),C$1(oe$1),t)},{provide:Gm,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var jt=(()=>{class t{constructor(){this.http=C$1(N2);}getTranslation(e){return this.http.get(`./assets/i18n/${e}.json`)}static{this.\u0275fac=function(o){return new(o||t)};}static{this.\u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var Rt=[{path:"",pathMatch:"full",redirectTo:"jobs"},{path:"jobs",pathMatch:"full",loadComponent:()=>import('./chunk-Dv5GyY6h.js').then(t=>t.JobListComponent)},{path:"jobs/:id",loadComponent:()=>import('./chunk-BhF-m2HP.js').then(t=>t.JobDetailComponent)},{path:"batches/:id",loadComponent:()=>import('./chunk-DfcFBVF4.js').then(t=>t.BatchDetailComponent)},{path:"manage",loadComponent:()=>import('./chunk-CenXuPs5.js').then(t=>t.ManageShellComponent),children:[{path:"",pathMatch:"full",redirectTo:"workflows"},{path:"workflows",loadComponent:()=>import('./chunk-DZJZYEZl.js').then(t=>t.WorkflowsManageComponent)},{path:"views",loadComponent:()=>import('./chunk-CRv0PDB7.js').then(t=>t.ViewsAndShortcutsManageComponent)},{path:"providers",loadComponent:()=>import('./chunk-CsQ_HDGC.js').then(t=>t.ProvidersManageComponent)},{path:"context-files",loadComponent:()=>import('./chunk-DixyYfV_.js').then(t=>t.ContextFilesManageComponent)},{path:"local-repositories",loadComponent:()=>import('./chunk-DtQtDE8q.js').then(t=>t.LocalRepositoriesManageComponent)},{path:"worktrees",loadComponent:()=>import('./chunk-HUIPNwd9.js').then(t=>t.WorktreesManageComponent)},{path:"preferences",loadComponent:()=>import('./chunk-DGC4TkAL.js').then(t=>t.PreferencesManageComponent)}]},{path:"workflows",pathMatch:"full",redirectTo:"/manage/workflows"},{path:"workflows/new",loadComponent:()=>import('./chunk-Bu6_39Nh.js').then(t=>t.WorkflowEditorComponent)},{path:"workflows/:id/edit",loadComponent:()=>import('./chunk-Bu6_39Nh.js').then(t=>t.WorkflowEditorComponent)},{path:"views",pathMatch:"full",redirectTo:"/manage/views"},{path:"views/new",loadComponent:()=>import('./chunk-p6dftaf8.js').then(t=>t.ViewEditorComponent)},{path:"views/:id/edit",loadComponent:()=>import('./chunk-p6dftaf8.js').then(t=>t.ViewEditorComponent)},{path:"views/:id",loadComponent:()=>import('./chunk-B0kZCuEt.js').then(t=>t.ViewDetailComponent)},{path:"shortcuts",loadComponent:()=>import('./chunk-bCuvpgQS.js').then(t=>t.ShortcutListComponent)},{path:"shortcuts/new",loadComponent:()=>import('./chunk-DYzSLsNo.js').then(t=>t.ShortcutEditorComponent)},{path:"shortcuts/:id/edit",loadComponent:()=>import('./chunk-DYzSLsNo.js').then(t=>t.ShortcutEditorComponent)},{path:"settings",pathMatch:"full",redirectTo:"/manage/providers"}];var Vt={providers:[Kc$1(Rt),v7(),Bt(),Gb(Uu),y(),Tu$1(ts),Ab(),Ht$3({config:{availableLangs:["en","es"],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:true,prodMode:true},loader:jt})]};j5(Lt,Vt).catch(t=>console.error(t));export{$,Am as A,AD as B,C$1 as C,ch$2 as D,Aw as E,Fm as F,FD as G,HD as H,Iw as I,Jc$2 as J,Kt$3 as K,Lh$1 as L,MD as M,ND as N,Fu$1 as O,Pw as P,ju$1 as Q,J1 as R,p as S,id$1 as T,Uw as U,Ve$1 as V,qw as W,M5 as X,pf as Y,ZE as Z,_$2 as _,C1 as a,Yc$1 as a$,bd as a0,sp as a1,fp as a2,Ah$1 as a3,Th$1 as a4,q0$1 as a5,U0$1 as a6,KE as a7,fu$1 as a8,Z0$1 as a9,mT as aA,yT as aB,zt$1 as aC,Nr$1 as aD,J0$1 as aE,$r$1 as aF,lw as aG,QD as aH,kw as aI,tl$2 as aJ,nl$2 as aK,Fh$1 as aL,Yl$1 as aM,Yu$1 as aN,SD as aO,Mh$1 as aP,aw as aQ,xw as aR,v$1 as aS,Vw as aT,vv as aU,ix as aV,Ng as aW,es$1 as aX,Dg as aY,H as aZ,D6 as a_,oe$1 as aa,Oe$1 as ab,Er$1 as ac,jr$1 as ad,Le$4 as ae,H$2 as af,Ql$2 as ag,zg as ah,ly as ai,$D as aj,UD as ak,Sh$1 as al,Ih$1 as am,WD as an,GD as ao,re$2 as ap,el$1 as aq,sn$3 as ar,st as as,Ee as at,w5 as au,K0$1 as av,rh$2 as aw,Eh$1 as ax,n6 as ay,jw as az,at$1 as b,Gm as b$,jn as b0,ts as b1,Le as b2,Wn as b3,N2 as b4,cx as b5,U as b6,m$1 as b7,y$1 as b8,Nl$1 as b9,kr as bA,Xf as bB,il$1 as bC,hl as bD,fn$2 as bE,oD as bF,ir as bG,wh$1 as bH,zD as bI,Dh$1 as bJ,W0 as bK,yh$1 as bL,Hh$1 as bM,Vh$1 as bN,Tw as bO,hn$2 as bP,Wr$1 as bQ,eD as bR,dh$2 as bS,oh$2 as bT,M1 as bU,XI as bV,Bl$1 as bW,_l$1 as bX,qn$1 as bY,$n$1 as bZ,u$1 as b_,Se$3 as ba,er as bb,Jc as bc,Nc as bd,E3 as be,_r$1 as bf,Ci as bg,Bt$1 as bh,cl as bi,Nw as bj,St$1 as bk,wo$1 as bl,Xc$2 as bm,el$2 as bn,O as bo,de$1 as bp,Ja as bq,pn$1 as br,G0$1 as bs,Ee$3 as bt,ml as bu,pl as bv,Gw as bw,z0 as bx,Qr$1 as by,tl$1 as bz,bi$1 as c,o1 as c$,Mn$2 as c0,tc$2 as c1,ph$1 as c2,th$2 as c3,Uo as c4,Q0 as c5,em$1 as c6,Gl$1 as c7,vo as c8,Wt as c9,Cc as cA,xo as cB,Ln$2 as cC,On$3 as cD,Fg as cE,Jr$1 as cF,mt$1 as cG,Ie$3 as cH,Vs as cI,wo as cJ,H5 as cK,Gr$1 as cL,Rw as cM,k6 as cN,lo as cO,oo as cP,io as cQ,ao as cR,_n$2 as cS,Pr$1 as cT,Sn$3 as cU,S$2 as cV,Bl$2 as cW,om$1 as cX,Kc$2 as cY,CD as cZ,hh$2 as c_,_o as ca,Gl as cb,zh as cc,Fh as cd,$b as ce,Zb as cf,oc as cg,Sy as ch,oi$1 as ci,ri$1 as cj,$h$1 as ck,Vi$2 as cl,Wm as cm,S2 as cn,Kg as co,Yg as cp,kg as cq,kr$1 as cr,xy as cs,Sr as ct,Cr as cu,me as cv,Rg as cw,yo as cx,_n$3 as cy,A$4 as cz,$8 as d,sc as d0,cc as d1,os$1 as d2,Qg as d3,po as d4,go$1 as d5,ho as d6,wl as d7,Sn$2 as d8,ct as d9,cl$1 as da,nl$1 as db,gD as dc,ac as dd,Z as de,u as df,Ul as dg,Fd as dh,kn$2 as di,lt as dj,Me$2 as dk,Zr$1 as dl,tp as dm,Ai$1 as dn,Zl$1 as dp,np as dq,jc as dr,td as ds,Cw as dt,bw as du,yh as dv,Dr$1 as dw,al as e,rl as f,$i$1 as g,ex as h,ie$1 as i,_i$1 as j,iE as k,_D as l,mh$2 as m,uh$2 as n,gI as o,Fw as p,qo as q,r$1 as r,s,t$1 as t,ue$1 as u,v3 as v,lh$2 as w,xD as x,aE as y,rl$1 as z};