@yinuo-ngm/server 1.0.16 → 1.0.17

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 (118) hide show
  1. package/lib/app.js +3 -15
  2. package/lib/common/editor.js +2 -2
  3. package/lib/env.d.ts +1 -0
  4. package/lib/env.js +1 -0
  5. package/lib/plugins/error-handler.plugin.d.ts +2 -2
  6. package/lib/plugins/error-handler.plugin.js +97 -93
  7. package/lib/plugins/ws/topics/nginx.ws.js +2 -1
  8. package/lib/plugins/ws/topics/svn.ws.d.ts +2 -1
  9. package/lib/plugins/ws/topics/svn.ws.js +3 -2
  10. package/lib/plugins/ws/topics/syslog.ws.d.ts +1 -1
  11. package/lib/plugins/ws/topics/task.ws.d.ts +2 -1
  12. package/lib/plugins/ws/topics/task.ws.js +2 -1
  13. package/lib/plugins/ws/ws.context.d.ts +1 -1
  14. package/lib/plugins/ws/ws.plugin.js +4 -3
  15. package/lib/plugins/ws/ws.router.d.ts +2 -2
  16. package/lib/plugins/ws/ws.router.js +8 -7
  17. package/lib/routes/api-client/collection.routes.js +8 -6
  18. package/lib/routes/api-client/env.routes.js +4 -3
  19. package/lib/routes/api-client/history.routes.js +3 -2
  20. package/lib/routes/api-client/hub-token.routes.js +11 -11
  21. package/lib/routes/api-client/request.routes.js +7 -6
  22. package/lib/routes/api-client/send.routes.js +3 -2
  23. package/lib/routes/config.routes.js +5 -5
  24. package/lib/routes/hub.routes.js +10 -10
  25. package/lib/routes/nginx/nginx-lifecycle.routes.js +4 -0
  26. package/lib/routes/nginx/nginx-route.context.js +23 -7
  27. package/lib/routes/nginx/nginx-server.routes.js +158 -6
  28. package/lib/routes/node-version.routes.js +7 -7
  29. package/lib/routes/project.routes.js +9 -9
  30. package/lib/routes/rss.routes.js +3 -3
  31. package/lib/routes/sprite-browse.routes.js +2 -1
  32. package/lib/routes/sprite.routes.js +3 -3
  33. package/lib/routes/static-files.routes.js +7 -7
  34. package/lib/routes/svn.routes.js +5 -3
  35. package/lib/routes/system.routes.js +20 -1
  36. package/lib/routes/task.routes.js +4 -4
  37. package/package.json +13 -6
  38. package/www/3rdpartylicenses.txt +52 -52
  39. package/www/browser/chunk-2L7NUOMX.js +2 -0
  40. package/www/browser/chunk-2NZJ7CN2.js +20 -0
  41. package/www/browser/{chunk-SPRWNZHF.js → chunk-3CM4SKDO.js} +2 -2
  42. package/www/browser/{chunk-EEVPZGEY.js → chunk-3I7BQCXS.js} +1 -1
  43. package/www/browser/{chunk-DXF7BVK5.js → chunk-3M56F2S2.js} +1 -1
  44. package/www/browser/chunk-3OHBKMAA.js +1 -0
  45. package/www/browser/{chunk-4KETC6EB.js → chunk-3XNNQFWR.js} +1 -1
  46. package/www/browser/chunk-4BRW6LCZ.js +4 -0
  47. package/www/browser/{chunk-HGONFYP6.js → chunk-4LBSLURA.js} +1 -1
  48. package/www/browser/{chunk-BYEU6KGP.js → chunk-4X42HB6N.js} +1 -1
  49. package/www/browser/chunk-5DYX4DUX.js +11 -0
  50. package/www/browser/chunk-6SYVDN5L.js +1 -0
  51. package/www/browser/{chunk-XJ5KZQNN.js → chunk-6YYNHZ2A.js} +1 -1
  52. package/www/browser/{chunk-G2W3B7TJ.js → chunk-75W3GVSO.js} +1 -1
  53. package/www/browser/{chunk-76TVIB33.js → chunk-7U44RF5F.js} +1 -1
  54. package/www/browser/{chunk-WD4IAQR3.js → chunk-AELTP6YN.js} +1 -1
  55. package/www/browser/chunk-AMXRL4GR.js +1 -0
  56. package/www/browser/chunk-AV2ZODEH.js +1 -0
  57. package/www/browser/chunk-AZ6SIMYH.js +1 -0
  58. package/www/browser/chunk-B3C35ET3.js +2 -0
  59. package/www/browser/chunk-BTQIUVTQ.js +1 -0
  60. package/www/browser/chunk-CN5J4WNO.js +1 -0
  61. package/www/browser/{chunk-N4LRZJBP.js → chunk-D2ODDESN.js} +1 -1
  62. package/www/browser/{chunk-O2EYEF7J.js → chunk-DE6E23ET.js} +1 -1
  63. package/www/browser/{chunk-SVQWPHF5.js → chunk-DIJPUYIA.js} +1 -1
  64. package/www/browser/{chunk-SYCNSLAW.js → chunk-DLGJD6YU.js} +4 -4
  65. package/www/browser/{chunk-JHMEKUZ5.js → chunk-EEDA5U4V.js} +1 -1
  66. package/www/browser/chunk-FK6Z4HLL.js +1 -0
  67. package/www/browser/chunk-FL6GDGHW.js +1 -0
  68. package/www/browser/{chunk-HRXCR3IN.js → chunk-FXCG34QS.js} +1 -1
  69. package/www/browser/{chunk-UJOHBN2Y.js → chunk-H2USFIYR.js} +1 -1
  70. package/www/browser/chunk-H5HGMOE6.js +1 -0
  71. package/www/browser/chunk-HB3HECPD.js +1 -0
  72. package/www/browser/{chunk-INL2PELS.js → chunk-HDNG236Q.js} +1 -1
  73. package/www/browser/{chunk-WF2QTF5L.js → chunk-HJTXXSMC.js} +1 -1
  74. package/www/browser/{chunk-LQ5OXSW7.js → chunk-HUMCWAKJ.js} +1 -1
  75. package/www/browser/chunk-IKB3EQCP.js +2 -0
  76. package/www/browser/{chunk-TMX5TTV3.js → chunk-K7PESFPY.js} +1 -1
  77. package/www/browser/{chunk-T3KK7ZXB.js → chunk-KRYMOHYF.js} +1 -1
  78. package/www/browser/{chunk-SQQNR223.js → chunk-M4QRBV3K.js} +1 -1
  79. package/www/browser/chunk-N2PELLMM.js +30 -0
  80. package/www/browser/{chunk-ACAZUX6C.js → chunk-ONXBYGIG.js} +1 -1
  81. package/www/browser/{chunk-JZULA5JV.js → chunk-OSBDR36P.js} +1 -1
  82. package/www/browser/chunk-OZCK4XVV.js +1 -0
  83. package/www/browser/{chunk-GDWS2L66.js → chunk-QJP5F735.js} +1 -1
  84. package/www/browser/{chunk-2X3MRS27.js → chunk-RGOYDY7H.js} +1 -1
  85. package/www/browser/{chunk-B6MBYCXI.js → chunk-UJKK4A7Y.js} +1 -1
  86. package/www/browser/{chunk-ZNTJRLVH.js → chunk-WD2EKZQC.js} +1 -1
  87. package/www/browser/{chunk-L5D75AMV.js → chunk-WUA5JFDD.js} +1 -1
  88. package/www/browser/chunk-XLFHB7RS.js +3 -0
  89. package/www/browser/{chunk-JU3TEDBV.js → chunk-YNW4HEJO.js} +1 -1
  90. package/www/browser/{chunk-RW2JPJV7.js → chunk-ZTDLWBW5.js} +1 -1
  91. package/www/browser/index.html +1 -1
  92. package/www/browser/main-N64WJCHX.js +34 -0
  93. package/www/browser/chunk-2BZRE4G7.js +0 -1
  94. package/www/browser/chunk-5T5KA5PG.js +0 -1
  95. package/www/browser/chunk-6CGHNKJI.js +0 -1
  96. package/www/browser/chunk-7J24TP36.js +0 -1
  97. package/www/browser/chunk-CZ5AZ3VW.js +0 -1
  98. package/www/browser/chunk-DW7F5PEA.js +0 -1
  99. package/www/browser/chunk-HHBPULJW.js +0 -2
  100. package/www/browser/chunk-KVFR7GFV.js +0 -20
  101. package/www/browser/chunk-L7TMCSHV.js +0 -1
  102. package/www/browser/chunk-MVQTKINJ.js +0 -1
  103. package/www/browser/chunk-OMDHJIUB.js +0 -1
  104. package/www/browser/chunk-OWUAAOHW.js +0 -2
  105. package/www/browser/chunk-PIK5YPIB.js +0 -1
  106. package/www/browser/chunk-RHLQRQDK.js +0 -9
  107. package/www/browser/chunk-S3SJ4VVM.js +0 -11
  108. package/www/browser/chunk-SIVPP74B.js +0 -0
  109. package/www/browser/chunk-UFY3FLDK.js +0 -1
  110. package/www/browser/chunk-UQGCUFNM.js +0 -1
  111. package/www/browser/chunk-UXXWRMM6.js +0 -1
  112. package/www/browser/chunk-UZRJGJTD.js +0 -2
  113. package/www/browser/chunk-WI67LAOV.js +0 -4
  114. package/www/browser/chunk-WNCM6QKB.js +0 -1
  115. package/www/browser/chunk-YETDFSQE.js +0 -1
  116. package/www/browser/chunk-YMTC5GZK.js +0 -1
  117. package/www/browser/chunk-YVZHJ76K.js +0 -1
  118. package/www/browser/main-6LN5C22E.js +0 -34
@@ -1,4 +1,4 @@
1
- import{c as be,d as V,f as v,g as he,h as T,i as c4,j as l4}from"./chunk-HFZLJHYR.js";import{A as _6,a as p2,e as g6,i as mt,p as Z1,t as z6,w as y6}from"./chunk-T3KK7ZXB.js";import{$b as Jt,Ac as We,B as J,Ba as oe,Bb as Be,Bc as Te,C as O3,Ca as Q,Cb as u2,Cc as s6,D as L3,Da as F,Dc as $1,Ec as De,F as B3,Fb as ee,Fc as a4,Ga as s2,Gb as C,Gc as N,H as I3,Ha as D,Hb as u,Hc as i4,I as N3,Ib as t6,Ic as qe,Jb as R,Jc as Ke,Ka as h2,Kb as q1,Kc as Je,L as R3,La as $3,Lb as Z,Lc as h6,M as ve,Ma as Z3,N as O1,Na as X3,O as j3,Oa as P,Ob as n6,Pa as Me,Q as L1,Qc as d6,Ra as z,Rc as u6,S as B1,Sa as d2,Sc as m2,Tb as z1,U as U3,Ua as Q3,Ub as Re,V as Ne,W as I1,Wa as j1,Wb as H,Wc as O,Xa as U1,Ya as W1,Yb as E,Yc as o4,Zb as a6,_ as W3,_b as i6,a as y,aa as q3,ac as e4,b as G,ba as K3,bc as k,ca as Xt,cc as $,cd as n1,da as Ve,dc as X,ea as Qt,ec as le,f as H1,fa as Qe,fc as o6,g as Ie,ga as G3,gc as r6,gd as we,ha as N1,hc as c6,hd as S,i as Fe,ib as J3,ic as t4,id as c1,jc as n4,jd as m6,k as A3,ka as g1,kc as l6,l as g,lc as y1,m as E1,ma as ie,md as v2,n as Kt,na as p,nb as w,nd as te,o as Y1,oa as M,od as v6,p as Gt,pd as He,q as $t,qa as b,r as Zt,ra as dt,rc as _e,rd as p6,s as A1,sa as l,sb as W,sd as ut,t as F3,ta as r1,tb as I,td as fe,u as ke,ub as e6,uc as m,ud as f6,vb as Ce,vc as je,w as F1,wa as R1,wb as pe,wc as se,xb as Pe,xc as K1,xd as _,ya as Oe,yb as ne,yc as G1,yd as _1,za as Le,zb as x,zc as Ue,zd as r4}from"./chunk-WI67LAOV.js";function Y(t){t||(t=l(F));let n=new Fe(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(Qe(n))}function b6(t,n){let e=n?.injector??l(oe),a=new Kt(1),i=c1(()=>{let o;try{o=t()}catch(r){we(()=>a.error(r));return}we(()=>a.next(o))},{injector:e,manualCleanup:!0});return e.get(F).onDestroy(()=>{i.destroy(),a.complete()}),a.asObservable()}function vt(t,n){let a=!n?.manualCleanup?n?.injector?.get(F)??l(F):null,i=Pa(n?.equal),o;n?.requireSync?o=D({kind:0},{equal:i}):o=D({kind:1,value:n?.initialValue},{equal:i});let r,c=t.subscribe({next:s=>o.set({kind:1,value:s}),error:s=>{o.set({kind:2,error:s}),r?.()},complete:()=>{r?.()}});if(n?.requireSync&&o().kind===0)throw new g1(601,!1);return r=a?.onDestroy(c.unsubscribe.bind(c)),S(()=>{let s=o();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new g1(601,!1)}},{equal:n?.equal})}function Pa(t=Object.is){return(n,e)=>n.kind===1&&e.kind===1&&t(n.value,e.value)}function b1(t){"@babel/helpers - typeof";return b1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b1(t)}function M6(t,n){if(b1(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var a=e.call(t,n||"default");if(b1(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function C6(t){var n=M6(t,"string");return b1(n)=="symbol"?n:n+""}function Ee(t,n,e){return(n=C6(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var re=Math.round;function f2(t,n){let e=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=e.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)a[i]=n(a[i]||0,e[i]||"",i);return e[3]?a[3]=e[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}var w6=(t,n,e)=>e===0?t:t/100;function pt(t,n){let e=n||255;return t>e?e:t<0?0:t}var M1=class t{constructor(n){Ee(this,"isValid",!0),Ee(this,"r",0),Ee(this,"g",0),Ee(this,"b",0),Ee(this,"a",1),Ee(this,"_h",void 0),Ee(this,"_s",void 0),Ee(this,"_l",void 0),Ee(this,"_v",void 0),Ee(this,"_max",void 0),Ee(this,"_min",void 0),Ee(this,"_brightness",void 0);function e(i){return i[0]in n&&i[1]in n&&i[2]in n}if(n)if(typeof n=="string"){let o=function(r){return i.startsWith(r)};var a=o;let i=n.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(n instanceof t)this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this._h=n._h,this._s=n._s,this._l=n._l,this._v=n._v;else if(e("rgb"))this.r=pt(n.r),this.g=pt(n.g),this.b=pt(n.b),this.a=typeof n.a=="number"?pt(n.a,1):1;else if(e("hsl"))this.fromHsl(n);else if(e("hsv"))this.fromHsv(n);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(n))}setR(n){return this._sc("r",n)}setG(n){return this._sc("g",n)}setB(n){return this._sc("b",n)}setA(n){return this._sc("a",n,1)}setHue(n){let e=this.toHsv();return e.h=n,this._c(e)}getLuminance(){function n(o){let r=o/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}let e=n(this.r),a=n(this.g),i=n(this.b);return .2126*e+.7152*a+.0722*i}getHue(){if(typeof this._h>"u"){let n=this.getMax()-this.getMin();n===0?this._h=0:this._h=re(60*(this.r===this.getMax()?(this.g-this.b)/n+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/n+2:(this.r-this.g)/n+4))}return this._h}getSaturation(){if(typeof this._s>"u"){let n=this.getMax()-this.getMin();n===0?this._s=0:this._s=n/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(n=10){let e=this.getHue(),a=this.getSaturation(),i=this.getLightness()-n/100;return i<0&&(i=0),this._c({h:e,s:a,l:i,a:this.a})}lighten(n=10){let e=this.getHue(),a=this.getSaturation(),i=this.getLightness()+n/100;return i>1&&(i=1),this._c({h:e,s:a,l:i,a:this.a})}mix(n,e=50){let a=this._c(n),i=e/100,o=c=>(a[c]-this[c])*i+this[c],r={r:re(o("r")),g:re(o("g")),b:re(o("b")),a:re(o("a")*100)/100};return this._c(r)}tint(n=10){return this.mix({r:255,g:255,b:255,a:1},n)}shade(n=10){return this.mix({r:0,g:0,b:0,a:1},n)}onBackground(n){let e=this._c(n),a=this.a+e.a*(1-this.a),i=o=>re((this[o]*this.a+e[o]*e.a*(1-this.a))/a);return this._c({r:i("r"),g:i("g"),b:i("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(n){return this.r===n.r&&this.g===n.g&&this.b===n.b&&this.a===n.a}clone(){return this._c(this)}toHexString(){let n="#",e=(this.r||0).toString(16);n+=e.length===2?e:"0"+e;let a=(this.g||0).toString(16);n+=a.length===2?a:"0"+a;let i=(this.b||0).toString(16);if(n+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){let o=re(this.a*255).toString(16);n+=o.length===2?o:"0"+o}return n}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let n=this.getHue(),e=re(this.getSaturation()*100),a=re(this.getLightness()*100);return this.a!==1?`hsla(${n},${e}%,${a}%,${this.a})`:`hsl(${n},${e}%,${a}%)`}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(n,e,a){let i=this.clone();return i[n]=pt(e,a),i}_c(n){return new this.constructor(n)}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(n){let e=n.replace("#","");function a(i,o){return parseInt(e[i]+e[o||i],16)}e.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=e[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=e[6]?a(6,7)/255:1)}fromHsl({h:n,s:e,l:a,a:i}){if(this._h=n%360,this._s=e,this._l=a,this.a=typeof i=="number"?i:1,e<=0){let B=re(a*255);this.r=B,this.g=B,this.b=B}let o=0,r=0,c=0,s=n/60,h=(1-Math.abs(2*a-1))*e,d=h*(1-Math.abs(s%2-1));s>=0&&s<1?(o=h,r=d):s>=1&&s<2?(o=d,r=h):s>=2&&s<3?(r=h,c=d):s>=3&&s<4?(r=d,c=h):s>=4&&s<5?(o=d,c=h):s>=5&&s<6&&(o=h,c=d);let f=a-h/2;this.r=re((o+f)*255),this.g=re((r+f)*255),this.b=re((c+f)*255)}fromHsv({h:n,s:e,v:a,a:i}){this._h=n%360,this._s=e,this._v=a,this.a=typeof i=="number"?i:1;let o=re(a*255);if(this.r=o,this.g=o,this.b=o,e<=0)return;let r=n/60,c=Math.floor(r),s=r-c,h=re(a*(1-e)*255),d=re(a*(1-e*s)*255),f=re(a*(1-e*(1-s))*255);switch(c){case 0:this.g=f,this.b=h;break;case 1:this.r=d,this.b=h;break;case 2:this.r=h,this.b=f;break;case 3:this.r=h,this.g=d;break;case 4:this.r=f,this.g=h;break;case 5:default:this.g=h,this.b=d;break}}fromHsvString(n){let e=f2(n,w6);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]})}fromHslString(n){let e=f2(n,w6);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]})}fromRgbString(n){let e=f2(n,(a,i)=>i.includes("%")?re(a/100*255):a);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3]}};var s4=2,x6=.16,Ta=.05,Da=.05,Ha=.15,P6=5,T6=4,Ea=[{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 S6(t,n,e){var a;return Math.round(t.h)>=60&&Math.round(t.h)<=240?a=e?Math.round(t.h)-s4*n:Math.round(t.h)+s4*n:a=e?Math.round(t.h)+s4*n:Math.round(t.h)-s4*n,a<0?a+=360:a>=360&&(a-=360),a}function k6(t,n,e){if(t.h===0&&t.s===0)return t.s;var a;return e?a=t.s-x6*n:n===T6?a=t.s+x6:a=t.s+Ta*n,a>1&&(a=1),e&&n===P6&&a>.1&&(a=.1),a<.06&&(a=.06),Math.round(a*100)/100}function V6(t,n,e){var a;return e?a=t.v+Da*n:a=t.v-Ha*n,a=Math.max(0,Math.min(1,a)),Math.round(a*100)/100}function h4(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],a=new M1(t),i=a.toHsv(),o=P6;o>0;o-=1){var r=new M1({h:S6(i,o,!0),s:k6(i,o,!0),v:V6(i,o,!0)});e.push(r)}e.push(a);for(var c=1;c<=T6;c+=1){var s=new M1({h:S6(i,c),s:k6(i,c),v:V6(i,c)});e.push(s)}return n.theme==="dark"?Ea.map(function(h){var d=h.index,f=h.amount;return new M1(n.backgroundColor||"#141414").mix(e[d],f).toHexString()}):e.map(function(h){return h.toHexString()})}var D6=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];D6.primary=D6[5];var H6=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];H6.primary=H6[5];var E6=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];E6.primary=E6[5];var Y6=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Y6.primary=Y6[5];var A6=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];A6.primary=A6[5];var F6=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];F6.primary=F6[5];var O6=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];O6.primary=O6[5];var L6=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];L6.primary=L6[5];var B6=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];B6.primary=B6[5];var I6=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];I6.primary=I6[5];var N6=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];N6.primary=N6[5];var R6=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];R6.primary=R6[5];var j6=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];j6.primary=j6[5];var U6=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];U6.primary=U6[5];var W6=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];W6.primary=W6[5];var q6=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];q6.primary=q6[5];var K6=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];K6.primary=K6[5];var G6=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];G6.primary=G6[5];var $6=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];$6.primary=$6[5];var Z6=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Z6.primary=Z6[5];var X6=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];X6.primary=X6[5];var Q6=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Q6.primary=Q6[5];var J6=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];J6.primary=J6[5];var e8=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];e8.primary=e8[5];var t8=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];t8.primary=t8[5];var n8=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];n8.primary=n8[5];var a1="[@ant-design/icons-angular]:";function Ya(t){console.error(`${a1} ${t}.`)}function o8(t){ut()&&console.warn(`${a1} ${t}.`)}function a8(t){return h4(t)[0]}function d4(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${a1}Theme "${n}" is not a recognized theme!`)}}function Aa(t,n,e,a){return`${d4(t,n)}-${e}-${a}`}function Fa(t){return t==="o"?"outline":t}function Oa(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}function r8(t){return typeof t=="object"&&typeof t.name=="string"&&(typeof t.theme=="string"||t.theme===void 0)&&typeof t.icon=="string"}function La(t){let n=t.split("-"),e=Fa(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:e,icon:""}}function Ba(t){return t.cloneNode(!0)}function Ia(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function u4(t){let n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${a1}The icon type ${t} is not valid!`)}}function Na(t){return u4(t)[1]!==""}function Ra(){return new Error(`${a1}Type should have a namespace. Try "namespace:${name}".`)}function i8(t){return new Error(`${a1}the icon ${t} does not exist or is not registered.`)}function ja(){return Ya('you need to import "HttpClientModule" to use dynamic importing.'),null}function Ua(t){return new Error(`${a1}The url "${t}" is unsafe.`)}function Wa(){return new Error(`${a1}<svg> tag not found.`)}function qa(){return new Error(`${a1}Importing timeout error.`)}var Ka="__ant_icon_load",Ga=new b("ant_icons"),g2=(()=>{let n=class n{set twoToneColor({primaryColor:a,secondaryColor:i}){this._twoToneColorPalette.primaryColor=a,this._twoToneColorPalette.secondaryColor=i||a8(a)}get twoToneColor(){return y({},this._twoToneColorPalette)}get _disableDynamicLoading(){return!1}constructor(a){this._antIcons=a,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new g,this._rendererFactory=l(Pe),this._handler=l(z6,{optional:!0}),this._document=l(Q),this.sanitizer=l(_6),this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new y6(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?o8("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window[Ka]=a=>{this._jsonpIconLoad$.next(a)})}changeAssetsSource(a){this._assetsUrlRoot=a.endsWith("/")?a:a+"/"}addIcon(...a){a.forEach(i=>{this._svgDefinitions.set(d4(i.name,i.theme),i)})}addIconLiteral(a,i){let[o,r]=u4(a);if(!r)throw Ra();this.addIcon({name:a,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(a,i){let o=r8(a)?a:this._svgDefinitions.get(a)||null;if(!o&&this._disableDynamicLoading)throw i8(a);return(o?ke(o):this._loadIconDynamically(a)).pipe(J(c=>{if(!c)throw i8(a);return this._loadSVGFromCacheOrCreateNew(c,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(a){if(!this._http&&!this._enableJsonpLoading)return ke(ja());let i=this._inProgressFetches.get(a);if(!i){let[o,r]=u4(a),c=r?{name:a,icon:""}:La(o),s=this._enableJsonpLoading?".js":".svg",h=(r?`${this._assetsUrlRoot}assets/${r}/${o}`:`${this._assetsUrlRoot}assets/${c.theme}/${c.name}`)+s,d=this.sanitizer.sanitize(J3.URL,h);if(!d)throw Ua(h);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(c,d):this._http.get(d,{responseType:"text"}).pipe(J(B=>G(y({},c),{icon:B})))).pipe(N1(B=>this.addIcon(B)),I1(()=>this._inProgressFetches.delete(a)),j3(()=>ke(null)),q3()),this._inProgressFetches.set(a,i)}return i}_loadIconDynamicallyWithJsonp(a,i){return new Fe(o=>{let r=this._document.createElement("script"),c=setTimeout(()=>{s(),o.error(qa())},6e3);r.src=i;function s(){r.parentNode.removeChild(r),clearTimeout(c)}this._document.body.appendChild(r),this._jsonpIconLoad$.pipe(ve(h=>h.name===a.name&&h.theme===a.theme),B1(1)).subscribe(h=>{o.next(h),s()})})}_loadSVGFromCacheOrCreateNew(a,i){let o,r=i||this._twoToneColorPalette.primaryColor,c=a8(r)||this._twoToneColorPalette.secondaryColor,s=a.theme==="twotone"?Aa(a.name,a.theme,r,c):a.theme===void 0?a.name:d4(a.name,a.theme),h=this._svgRenderedDefinitions.get(s);return h?o=h.icon:(o=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(Na(a.name)?a.icon:Ia(a.icon)),a.theme==="twotone",r,c)),this._svgRenderedDefinitions.set(s,G(y({},a),{icon:o}))),Ba(o)}_createSVGElementFromString(a){let i=this._document.createElement("div");i.innerHTML=a;let o=i.querySelector("svg");if(!o)throw Wa;return o}_setSVGAttribute(a){return this._renderer.setAttribute(a,"width","1em"),this._renderer.setAttribute(a,"height","1em"),a}_colorizeSVGIcon(a,i,o,r){if(i){let c=a.childNodes,s=c.length;for(let h=0;h<s;h++){let d=c[h];d.getAttribute("fill")==="secondaryColor"?this._renderer.setAttribute(d,"fill",r):this._renderer.setAttribute(d,"fill",o)}}return this._renderer.setAttribute(a,"fill","currentColor"),a}};n.\u0275fac=function(i){return new(i||n)(dt(Ga,8))},n.\u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})();function $a(t,n){return t.type===n.type&&t.theme===n.theme&&t.twoToneColor===n.twoToneColor}var c8=(()=>{let n=class n{constructor(a){this._iconService=a,this._elementRef=l(z),this._renderer=l(ne)}ngOnChanges(a){(a.type||a.theme||a.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(a=>{if(!this.type){this._clearSVGElement(),a(null);return}let i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(o=>{let r=this._getSelfRenderMeta();$a(i,r)?(this._setSVGElement(o),a(o)):a(null)})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(a,i){if(r8(a))return a;{let[o,r]=u4(a);return r?a:Oa(o)?(i&&o8(`'type' ${o} already gets a theme inside so 'theme' ${i} would be ignored`),o):d4(o,i||this._iconService.defaultTheme)}}_setSVGElement(a){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,a)}_clearSVGElement(){let a=this._elementRef.nativeElement,i=a.childNodes,o=i.length;for(let r=o-1;r>=0;r--){let c=i[r];c.tagName?.toLowerCase()==="svg"&&this._renderer.removeChild(a,c)}}};n.\u0275fac=function(i){return new(i||n)(x(g2))},n.\u0275dir=u({type:n,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[P]});let t=n;return t})();var m4={isTestMode:!1};var l8={},Za="[NG-ZORRO]:";function Xa(...t){let n=t.reduce((e,a)=>e+a.toString(),"");return l8[n]?!1:(l8[n]=!0,!0)}function Qa(t,...n){(m4.isTestMode||ut()&&Xa(...n))&&t(...n)}var C1=(...t)=>Qa((...n)=>console.warn(Za,...n),...t);function l1(t,n=0){return s8(t)?Number(t):arguments.length===2?n:0}function s8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function w1(t){return t instanceof z?t.nativeElement:t}function X1(t){return Array.isArray(t)?t:[t]}function q(t){return t==null?"":typeof t=="string"?t:`${t}px`}function h8(t){return t!=null&&`${t}`!="false"}function ss(t,n){if(!t||!n||t.length!==n.length)return!1;let e=t.length;for(let a=0;a<e;a++)if(t[a]!==n[a])return!1;return!0}function w2(t){return typeof t<"u"&&t!==null}function hs(t){return typeof t>"u"||t===null}function ft(t){return t instanceof pe}function m8(t){return h8(t)}function ds(t){return _1(t,0)}function us(t){return _1(t,1/0)}function ms(t,n=0){return l1(t,n)}function vs(t){return q(t)}function ps(t){t.stopPropagation(),t.preventDefault()}function fs(t){if(!t.getClientRects().length)return{top:0,left:0};let n=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}function Ja(t){let n=Array.isArray(t)?t:[t],e=n.join("").replace(/(\$|\^)/g,"\\$1");return n.length>1&&(e=`[${e}]`),new RegExp(`(\\s|^)(${e})[^\\s]*`,"g")}function gs(t,n="@"){if(typeof t!="string")return[];let e=Ja(n),a=t.match(e);return a!==null?a.map(i=>i.trim()):[]}function ei(t){return!!t&&typeof t.then=="function"&&typeof t.catch=="function"}function zs(t,n,e){return(e-t)/(n-t)*100}function ys(t){let n=t.toString(),e=n.indexOf(".");return e>=0?n.length-e-1:0}function _s(t,n,e){return isNaN(t)||t<n?n:t>e?e:t}function bs(t){return typeof t=="number"&&isFinite(t)}function Ms(t,n){return Math.round(t*Math.pow(10,n))/Math.pow(10,n)}function Cs(t){let n=t;if(n.scrollIntoViewIfNeeded){n.scrollIntoViewIfNeeded(!1);return}if(t.scrollIntoView){t.scrollIntoView(!1);return}}var ti=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],v8=typeof window<"u",ni=v8&&window.mozInnerScreenX!=null,v4=t=>parseInt(t,10);function ws(t,n,e){if(!v8)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");let a=e&&e.debug||!1;if(a){let d=document.querySelector("#input-textarea-caret-position-mirror-div");d&&d.parentNode.removeChild(d)}let i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);let o=i.style,r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,c=t.nodeName==="INPUT";o.whiteSpace="pre-wrap",c||(o.wordWrap="break-word"),o.position="absolute",a||(o.visibility="hidden"),ti.forEach(d=>{c&&d==="lineHeight"?o.lineHeight=r.height:o[d]=r[d]}),ni?t.scrollHeight>v4(r.height)&&(o.overflowY="scroll"):o.overflow="hidden",i.textContent=t.value.substring(0,n),c&&(i.textContent=i.textContent.replace(/\s/g,"\xA0"));let s=document.createElement("span");s.textContent=t.value.substring(n)||".",i.appendChild(s);let h={top:s.offsetTop+v4(r.borderTopWidth),left:s.offsetLeft+v4(r.borderLeftWidth),height:v4(r.lineHeight)};return a?(s.style.backgroundColor="#eee",ai(t,h)):document.body.removeChild(i),h}function ai(t,n){let e=getComputedStyle(t).getPropertyValue("font-size"),a=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(a),a.id="DEBUG",a.style.position="absolute",a.style.backgroundColor="red",a.style.height=e,a.style.width="1px",a.style.top=`${t.getBoundingClientRect().top-t.scrollTop+window.pageYOffset+n.top}px`,a.style.left=`${t.getBoundingClientRect().left-t.scrollLeft+window.pageXOffset+n.left}px`}function xs(t){if(typeof window<"u"&&window.document&&window.document.documentElement){let n=Array.isArray(t)?t:[t],{documentElement:e}=window.document;return n.some(a=>a in e.style)}return!1}var ii=1,M2=3,oi=8,A,z2={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function y2(t){if(!t)return 0;let n=t.match(/^\d*(\.\d*)?/);return n?Number(n[0]):0}function ri(t){let n={},e=Array.prototype.slice.apply(t);for(let a of e)n[a]=t.getPropertyValue(a);return n}function ci(t){let n=[];return t.forEach(e=>{let a=n[n.length-1];a&&e.nodeType===M2&&a.nodeType===M2?a.data+=e.data:n.push(e)}),n}function Ss(t,n,e,a,i,o=""){A||(A=document.createElement("div"),A.setAttribute("aria-hidden","true"),document.body.appendChild(A));let r=window.getComputedStyle(t),c=ri(r),s=y2(r.lineHeight),h=Math.round(s*(n+1)+y2(r.paddingTop)+y2(r.paddingBottom));for(let[U,Se]of Object.entries(c))A.style.setProperty(U,Se);A.style.position="fixed",A.style.left="0",A.style.height="auto",A.style.minHeight="auto",A.style.maxHeight="auto",A.style.top="-999999px",A.style.zIndex="-1000",A.style.textOverflow="clip",A.style.whiteSpace="normal",A.style.webkitLineClamp="none";let d=ci(e),f=document.createElement("div"),B=document.createElement("span"),me=document.createTextNode(o),ce=document.createElement("span");Object.assign(f.style,z2),Object.assign(B.style,z2),Object.assign(ce.style,z2),d.forEach(U=>{B.appendChild(U)}),B.appendChild(me),a.forEach(U=>{ce.appendChild(U.cloneNode(!0))}),f.appendChild(B),f.appendChild(ce),A.appendChild(f);function ye(){return A.offsetHeight<h}if(ye()){let U=A.innerHTML;return A.removeChild(f),{contentNodes:e,text:U,ellipsis:!1}}let Rt=Array.prototype.slice.apply(A.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:U})=>U!==oi),xa=Array.prototype.slice.apply(A.childNodes[0].childNodes[1].cloneNode(!0).childNodes);A.removeChild(f),A.innerHTML="";let jt=document.createElement("span");A.appendChild(jt);let E3=document.createTextNode(i+o);jt.appendChild(E3),xa.forEach(U=>{A.appendChild(U)});function Sa(U){jt.insertBefore(U,E3)}function c2(U,Se,t1=0,Xe=Se.length,Ut=0){let Wt=Math.floor((t1+Xe)/2);if(U.textContent=Se.slice(0,Wt),t1>=Xe-1)for(let qt=Xe;qt>=t1;qt-=1){let l2=Se.slice(0,qt);if(U.textContent=l2,ye()||!l2)return qt===Se.length?{finished:!1,node:document.createTextNode(Se)}:{finished:!0,node:document.createTextNode(l2)}}return ye()?c2(U,Se,Wt,Xe,Wt):c2(U,Se,t1,Wt,Ut)}function ka(U,Se){let t1=U.nodeType;if(t1===ii)return ye()?{finished:!1,node:d[Se]}:(jt.removeChild(U),{finished:!0,node:null});if(t1===M2){let Xe=U.textContent||"",Ut=document.createTextNode(Xe);return Sa(Ut),c2(Ut,Xe)}return{finished:!1,node:null}}let Y3=[];Rt.some((U,Se)=>{let{finished:t1,node:Xe}=ka(U,Se);return Xe&&Y3.push(Xe),t1});let Va={contentNodes:Y3,text:A.innerHTML,ellipsis:!0};for(;A.firstChild;)A.removeChild(A.firstChild);return Va}var _2,b2,d8={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function ks(t="vertical",n="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=t==="vertical";if(e&&_2)return _2;if(!e&&b2)return b2;let a=document.createElement("div");Object.keys(d8).forEach(o=>{a.style[o]=d8[o]}),a.className=`${n}-hide-scrollbar scroll-div-append-to-body`,e?a.style.overflowY="scroll":a.style.overflowX="scroll",document.body.appendChild(a);let i=0;return e?(i=a.offsetWidth-a.clientWidth,_2=i):(i=a.offsetHeight-a.clientHeight,b2=i),document.body.removeChild(a),i}function Vs(){let t=new g;return Promise.resolve().then(()=>t.next()),t.pipe(B1(1))}function p8(t){return F1(t)?t:ei(t)?new Fe(n=>{Promise.resolve(t).then(e=>{n.next(e),n.complete()}).catch(e=>n.error(e))}):ke(t)}function x2(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var li="rc-util-key";function f8({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:li}function S2(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function u8(t,n={}){if(!x2())return null;let e=document.createElement("style");n.cspNonce&&(e.nonce=n.cspNonce),e.innerHTML=t;let a=S2(n),{firstChild:i}=a;return n.prepend&&a.prepend?a.prepend(e):n.prepend&&i?a.insertBefore(e,i):a.appendChild(e),e}var C2=new Map;function si(t,n={}){let e=S2(n);return Array.from(C2.get(e)?.children||[]).find(a=>a.tagName==="STYLE"&&a.getAttribute(f8(n))===t)}function g8(t,n,e={}){let a=S2(e);if(!C2.has(a)){let r=u8("",e),{parentNode:c}=r;C2.set(a,c),c.removeChild(r)}let i=si(n,e);if(i)return e.cspNonce&&i.nonce!==e.cspNonce&&(i.nonce=e.cspNonce),i.innerHTML!==t&&(i.innerHTML=t),i;let o=u8(t,e);return o?.setAttribute(f8(e),n),o}function x1(t,n,e){return{[`${t}-status-success`]:n==="success",[`${t}-status-warning`]:n==="warning",[`${t}-status-error`]:n==="error",[`${t}-status-validating`]:n==="validating",[`${t}-has-feedback`]:e}}function hi(t){return typeof Zone<"u"?Zone.root.run(t):t()}function z8(t,n,e){return t?new Fe(a=>hi(()=>N3(t,n,e).subscribe(a))):$t}function k2(t,n,e){return{[`${t}-borderless`]:n==="borderless"||n==="outlined"&&e,[`${t}-filled`]:n==="filled",[`${t}-underlined`]:n==="underlined"}}var V2;try{V2=typeof Intl<"u"&&Intl.v8BreakIterator}catch{V2=!1}var K=(()=>{class t{_platformId=l(j1);isBrowser=this._platformId?Z1(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||V2)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gt;function di(){if(gt==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gt=!0}))}finally{gt=gt||!1}return gt}function y8(t){return di()?t:!!t.capture}var Ge=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Ge||{}),p4,S1;function f4(){if(S1==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return S1=!1,S1;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)S1=!0;else{let t=Element.prototype.scrollTo;t?S1=!/\{\s*\[native code\]\s*\}/.test(t.toString()):S1=!1}}return S1}function Q1(){if(typeof document!="object"||!document)return Ge.NORMAL;if(p4==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),a=e.style;a.width="2px",a.height="1px",t.appendChild(e),document.body.appendChild(t),p4=Ge.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,p4=t.scrollLeft===0?Ge.NEGATED:Ge.INVERTED),t.remove()}return p4}var P2;function _8(){if(P2==null){let t=typeof document<"u"?document.head:null;P2=!!(t&&(t.createShadowRoot||t.attachShadow))}return P2}function T2(t){if(_8()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function D2(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Ye(t){return t.composedPath?t.composedPath()[0]:t.target}function H2(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ae(t,n){ui(t)&&(t="100%");var e=mi(t);return t=n===360?t:Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:(n===360?t=(t<0?t%n+n:t%n)/parseFloat(String(n)):t=t%n/parseFloat(String(n)),t)}function zt(t){return Math.min(1,Math.max(0,t))}function ui(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function mi(t){return typeof t=="string"&&t.indexOf("%")!==-1}function g4(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function yt(t){return t<=1?"".concat(Number(t)*100,"%"):t}function s1(t){return t.length===1?"0"+t:String(t)}function b8(t,n,e){return{r:ae(t,255)*255,g:ae(n,255)*255,b:ae(e,255)*255}}function Y2(t,n,e){t=ae(t,255),n=ae(n,255),e=ae(e,255);var a=Math.max(t,n,e),i=Math.min(t,n,e),o=0,r=0,c=(a+i)/2;if(a===i)r=0,o=0;else{var s=a-i;switch(r=c>.5?s/(2-a-i):s/(a+i),a){case t:o=(n-e)/s+(n<e?6:0);break;case n:o=(e-t)/s+2;break;case e:o=(t-n)/s+4;break;default:break}o/=6}return{h:o,s:r,l:c}}function E2(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+(n-t)*(6*e):e<1/2?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function M8(t,n,e){var a,i,o;if(t=ae(t,360),n=ae(n,100),e=ae(e,100),n===0)i=e,o=e,a=e;else{var r=e<.5?e*(1+n):e+n-e*n,c=2*e-r;a=E2(c,r,t+1/3),i=E2(c,r,t),o=E2(c,r,t-1/3)}return{r:a*255,g:i*255,b:o*255}}function _t(t,n,e){t=ae(t,255),n=ae(n,255),e=ae(e,255);var a=Math.max(t,n,e),i=Math.min(t,n,e),o=0,r=a,c=a-i,s=a===0?0:c/a;if(a===i)o=0;else{switch(a){case t:o=(n-e)/c+(n<e?6:0);break;case n:o=(e-t)/c+2;break;case e:o=(t-n)/c+4;break;default:break}o/=6}return{h:o,s,v:r}}function C8(t,n,e){t=ae(t,360)*6,n=ae(n,100),e=ae(e,100);var a=Math.floor(t),i=t-a,o=e*(1-n),r=e*(1-i*n),c=e*(1-(1-i)*n),s=a%6,h=[e,r,o,o,c,e][s],d=[c,e,e,r,o,o][s],f=[o,o,c,e,e,r][s];return{r:h*255,g:d*255,b:f*255}}function bt(t,n,e,a){var i=[s1(Math.round(t).toString(16)),s1(Math.round(n).toString(16)),s1(Math.round(e).toString(16))];return a&&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 w8(t,n,e,a,i){var o=[s1(Math.round(t).toString(16)),s1(Math.round(n).toString(16)),s1(Math.round(e).toString(16)),s1(vi(a))];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 vi(t){return Math.round(parseFloat(t)*255).toString(16)}function A2(t){return xe(t)/255}function xe(t){return parseInt(t,16)}function x8(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var Mt={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 d1(t){var n={r:0,g:0,b:0},e=1,a=null,i=null,o=null,r=!1,c=!1;return typeof t=="string"&&(t=gi(t)),typeof t=="object"&&(i1(t.r)&&i1(t.g)&&i1(t.b)?(n=b8(t.r,t.g,t.b),r=!0,c=String(t.r).substr(-1)==="%"?"prgb":"rgb"):i1(t.h)&&i1(t.s)&&i1(t.v)?(a=yt(t.s),i=yt(t.v),n=C8(t.h,a,i),r=!0,c="hsv"):i1(t.h)&&i1(t.s)&&i1(t.l)&&(a=yt(t.s),o=yt(t.l),n=M8(t.h,a,o),r=!0,c="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=g4(e),{ok:r,format:t.format||c,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:e}}var pi="[-\\+]?\\d+%?",fi="[-\\+]?\\d*\\.\\d+%?",h1="(?:".concat(fi,")|(?:").concat(pi,")"),F2="[\\s|\\(]+(".concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")\\s*\\)?"),O2="[\\s|\\(]+(".concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")\\s*\\)?"),$e={CSS_UNIT:new RegExp(h1),rgb:new RegExp("rgb"+F2),rgba:new RegExp("rgba"+O2),hsl:new RegExp("hsl"+F2),hsla:new RegExp("hsla"+O2),hsv:new RegExp("hsv"+F2),hsva:new RegExp("hsva"+O2),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 gi(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var n=!1;if(Mt[t])t=Mt[t],n=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=$e.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=$e.rgba.exec(t),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=$e.hsl.exec(t),e?{h:e[1],s:e[2],l:e[3]}:(e=$e.hsla.exec(t),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=$e.hsv.exec(t),e?{h:e[1],s:e[2],v:e[3]}:(e=$e.hsva.exec(t),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=$e.hex8.exec(t),e?{r:xe(e[1]),g:xe(e[2]),b:xe(e[3]),a:A2(e[4]),format:n?"name":"hex8"}:(e=$e.hex6.exec(t),e?{r:xe(e[1]),g:xe(e[2]),b:xe(e[3]),format:n?"name":"hex"}:(e=$e.hex4.exec(t),e?{r:xe(e[1]+e[1]),g:xe(e[2]+e[2]),b:xe(e[3]+e[3]),a:A2(e[4]+e[4]),format:n?"name":"hex8"}:(e=$e.hex3.exec(t),e?{r:xe(e[1]+e[1]),g:xe(e[2]+e[2]),b:xe(e[3]+e[3]),format:n?"name":"hex"}:!1)))))))))}function i1(t){return!!$e.CSS_UNIT.exec(String(t))}var z4=(function(){function t(n,e){n===void 0&&(n=""),e===void 0&&(e={});var a;if(n instanceof t)return n;typeof n=="number"&&(n=x8(n)),this.originalInput=n;var i=d1(n);this.originalInput=n,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=(a=e.format)!==null&&a!==void 0?a: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 n=this.toRgb();return(n.r*299+n.g*587+n.b*114)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),e,a,i,o=n.r/255,r=n.g/255,c=n.b/255;return o<=.03928?e=o/12.92:e=Math.pow((o+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),c<=.03928?i=c/12.92:i=Math.pow((c+.055)/1.055,2.4),.2126*e+.7152*a+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=g4(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var n=this.toHsl().s;return n===0},t.prototype.toHsv=function(){var n=_t(this.r,this.g,this.b);return{h:n.h*360,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=_t(this.r,this.g,this.b),e=Math.round(n.h*360),a=Math.round(n.s*100),i=Math.round(n.v*100);return this.a===1?"hsv(".concat(e,", ").concat(a,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(a,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=Y2(this.r,this.g,this.b);return{h:n.h*360,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=Y2(this.r,this.g,this.b),e=Math.round(n.h*360),a=Math.round(n.s*100),i=Math.round(n.l*100);return this.a===1?"hsl(".concat(e,", ").concat(a,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(a,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return n===void 0&&(n=!1),bt(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return n===void 0&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return n===void 0&&(n=!1),w8(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return n===void 0&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return n===void 0&&(n=!1),this.a===1?this.toHexString(n):this.toHex8String(n)},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 n=Math.round(this.r),e=Math.round(this.g),a=Math.round(this.b);return this.a===1?"rgb(".concat(n,", ").concat(e,", ").concat(a,")"):"rgba(".concat(n,", ").concat(e,", ").concat(a,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(e){return"".concat(Math.round(ae(e,255)*100),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(e){return Math.round(ae(e,255)*100)};return this.a===1?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var n="#"+bt(this.r,this.g,this.b,!1),e=0,a=Object.entries(Mt);e<a.length;e++){var i=a[e],o=i[0],r=i[1];if(n===r)return o}return!1},t.prototype.toString=function(n){var e=!!n;n=n??this.format;var a=!1,i=this.a<1&&this.a>=0,o=!e&&i&&(n.startsWith("hex")||n==="name");return o?n==="name"&&this.a===0?this.toName():this.toRgbString():(n==="rgb"&&(a=this.toRgbString()),n==="prgb"&&(a=this.toPercentageRgbString()),(n==="hex"||n==="hex6")&&(a=this.toHexString()),n==="hex3"&&(a=this.toHexString(!0)),n==="hex4"&&(a=this.toHex8String(!0)),n==="hex8"&&(a=this.toHex8String()),n==="name"&&(a=this.toName()),n==="hsl"&&(a=this.toHslString()),n==="hsv"&&(a=this.toHsvString()),a||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(n){n===void 0&&(n=10);var e=this.toHsl();return e.l+=n/100,e.l=zt(e.l),new t(e)},t.prototype.brighten=function(n){n===void 0&&(n=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(n/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(n/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(n/100)))),new t(e)},t.prototype.darken=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.l-=n/100,e.l=zt(e.l),new t(e)},t.prototype.tint=function(n){return n===void 0&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return n===void 0&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s-=n/100,e.s=zt(e.s),new t(e)},t.prototype.saturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s+=n/100,e.s=zt(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var e=this.toHsl(),a=(e.h+n)%360;return e.h=a<0?360+a:a,new t(e)},t.prototype.mix=function(n,e){e===void 0&&(e=50);var a=this.toRgb(),i=new t(n).toRgb(),o=e/100,r={r:(i.r-a.r)*o+a.r,g:(i.g-a.g)*o+a.g,b:(i.b-a.b)*o+a.b,a:(i.a-a.a)*o+a.a};return new t(r)},t.prototype.analogous=function(n,e){n===void 0&&(n=6),e===void 0&&(e=30);var a=this.toHsl(),i=360/e,o=[this];for(a.h=(a.h-(i*n>>1)+720)%360;--n;)a.h=(a.h+i)%360,o.push(new t(a));return o},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){n===void 0&&(n=6);for(var e=this.toHsv(),a=e.h,i=e.s,o=e.v,r=[],c=1/n;n--;)r.push(new t({h:a,s:i,v:o})),o=(o+c)%1;return r},t.prototype.splitcomplement=function(){var n=this.toHsl(),e=n.h;return[this,new t({h:(e+72)%360,s:n.s,l:n.l}),new t({h:(e+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var e=this.toRgb(),a=new t(n).toRgb(),i=e.a+a.a*(1-e.a);return new t({r:(e.r*e.a+a.r*a.a*(1-e.a))/i,g:(e.g*e.a+a.g*a.a*(1-e.a))/i,b:(e.b*e.a+a.b*a.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(n){for(var e=this.toHsl(),a=e.h,i=[this],o=360/n,r=1;r<n;r++)i.push(new t({h:(a+r*o)%360,s:e.s,l:e.l}));return i},t.prototype.equals=function(n){return this.toRgbString()===new t(n).toRgbString()},t})();var zi=["success","processing","error","default","warning"],yi=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function D8(t){return yi.indexOf(t)!==-1}function t5(t){return zi.indexOf(t)!==-1}var y4=2,S8=.16,_i=.05,bi=.05,Mi=.15,H8=5,E8=4,Ci=[{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 k8({r:t,g:n,b:e}){let a=_t(t,n,e);return{h:a.h*360,s:a.s,v:a.v}}function _4({r:t,g:n,b:e}){return`#${bt(t,n,e,!1)}`}function wi(t,n,e){let a=e/100;return{r:(n.r-t.r)*a+t.r,g:(n.g-t.g)*a+t.g,b:(n.b-t.b)*a+t.b}}function V8(t,n,e){let a;return Math.round(t.h)>=60&&Math.round(t.h)<=240?a=e?Math.round(t.h)-y4*n:Math.round(t.h)+y4*n:a=e?Math.round(t.h)+y4*n:Math.round(t.h)-y4*n,a<0?a+=360:a>=360&&(a-=360),a}function P8(t,n,e){if(t.h===0&&t.s===0)return t.s;let a;return e?a=t.s-S8*n:n===E8?a=t.s+S8:a=t.s+_i*n,a>1&&(a=1),e&&n===H8&&a>.1&&(a=.1),a<.06&&(a=.06),Number(a.toFixed(2))}function T8(t,n,e){let a;return e?a=t.v+bi*n:a=t.v-Mi*n,a>1&&(a=1),Number(a.toFixed(2))}function L2(t,n={}){let e=[],a=d1(t);for(let i=H8;i>0;i-=1){let o=k8(a),r=_4(d1({h:V8(o,i,!0),s:P8(o,i,!0),v:T8(o,i,!0)}));e.push(r)}e.push(_4(a));for(let i=1;i<=E8;i+=1){let o=k8(a),r=_4(d1({h:V8(o,i),s:P8(o,i),v:T8(o,i)}));e.push(r)}return n.theme==="dark"?Ci.map(({index:i,opacity:o})=>_4(wi(d1(n.backgroundColor||"#141414"),d1(e[i]),o*100))):e}var xi=new b("");var Si=`-ant-${Date.now()}-${Math.random()}`;function ki(t,n){let e={},a=(r,c)=>{let s=r.clone();return s=c?.(s)||s,s.toRgbString()},i=(r,c)=>{let s=new z4(r),h=L2(s.toRgbString());e[`${c}-color`]=a(s),e[`${c}-color-disabled`]=h[1],e[`${c}-color-hover`]=h[4],e[`${c}-color-active`]=h[7],e[`${c}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),e[`${c}-color-deprecated-bg`]=h[1],e[`${c}-color-deprecated-border`]=h[3]};if(n.primaryColor){i(n.primaryColor,"primary");let r=new z4(n.primaryColor),c=L2(r.toRgbString());c.forEach((h,d)=>{e[`primary-${d+1}`]=h}),e["primary-color-deprecated-l-35"]=a(r,h=>h.lighten(35)),e["primary-color-deprecated-l-20"]=a(r,h=>h.lighten(20)),e["primary-color-deprecated-t-20"]=a(r,h=>h.tint(20)),e["primary-color-deprecated-t-50"]=a(r,h=>h.tint(50)),e["primary-color-deprecated-f-12"]=a(r,h=>h.setAlpha(h.getAlpha()*.12));let s=new z4(c[0]);e["primary-color-active-deprecated-f-30"]=a(s,h=>h.setAlpha(h.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=a(s,h=>h.darken(2))}return n.successColor&&i(n.successColor,"success"),n.warningColor&&i(n.warningColor,"warning"),n.errorColor&&i(n.errorColor,"error"),n.infoColor&&i(n.infoColor,"info"),`
1
+ import{c as be,d as V,f as v,g as he,h as T,i as c4,j as l4}from"./chunk-HFZLJHYR.js";import{A as _6,a as p2,e as g6,i as mt,p as Z1,t as z6,w as y6}from"./chunk-KRYMOHYF.js";import{$b as Jt,Ac as We,Ad as r4,B as J,Ba as oe,Bb as Be,Bc as Te,C as O3,Ca as Q,Cb as u2,Cc as s6,D as L3,Da as F,Dc as $1,Ec as De,F as B3,Fb as ee,Fc as a4,Ga as s2,Gb as C,Gc as N,H as I3,Ha as D,Hb as u,Hc as i4,I as N3,Ib as t6,Ic as qe,Jb as R,Jc as Ke,Ka as h2,Kb as q1,Kc as Je,L as R3,La as $3,Lb as Z,Lc as h6,M as ve,Ma as Z3,N as O1,Na as X3,O as j3,Oa as P,Ob as n6,Pa as Me,Q as L1,Ra as z,Rc as d6,S as B1,Sa as d2,Sc as u6,Tb as z1,Tc as m2,U as U3,Ua as Q3,Ub as Re,V as Ne,W as I1,Wa as j1,Wb as H,Xa as U1,Xc as O,Ya as W1,Yb as E,Zb as a6,Zc as o4,_ as W3,_b as i6,a as y,aa as q3,ac as e4,b as G,ba as K3,bc as k,ca as Xt,cc as $,da as Ve,dc as X,dd as n1,ea as Qt,ec as le,f as H1,fa as Qe,fc as o6,g as Ie,ga as G3,gc as r6,ha as N1,hc as c6,hd as we,i as Fe,ib as J3,ic as t4,id as S,jc as n4,jd as c1,k as A3,ka as g1,kc as l6,kd as m6,l as g,lc as y1,m as E1,ma as ie,n as Kt,na as p,nb as w,nd as v2,o as Y1,oa as M,od as te,p as Gt,pd as v6,q as $t,qa as b,qd as He,r as Zt,ra as dt,rc as _e,s as A1,sa as l,sb as W,sd as p6,t as F3,ta as r1,tb as I,td as ut,u as ke,ub as e6,uc as m,ud as fe,vb as Ce,vc as je,vd as f6,w as F1,wa as R1,wb as pe,wc as se,xb as Pe,xc as K1,ya as Oe,yb as ne,yc as G1,yd as _,za as Le,zb as x,zc as Ue,zd as _1}from"./chunk-4BRW6LCZ.js";function Y(t){t||(t=l(F));let n=new Fe(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(Qe(n))}function b6(t,n){let e=n?.injector??l(oe),a=new Kt(1),i=c1(()=>{let o;try{o=t()}catch(r){we(()=>a.error(r));return}we(()=>a.next(o))},{injector:e,manualCleanup:!0});return e.get(F).onDestroy(()=>{i.destroy(),a.complete()}),a.asObservable()}function vt(t,n){let a=!n?.manualCleanup?n?.injector?.get(F)??l(F):null,i=Pa(n?.equal),o;n?.requireSync?o=D({kind:0},{equal:i}):o=D({kind:1,value:n?.initialValue},{equal:i});let r,c=t.subscribe({next:s=>o.set({kind:1,value:s}),error:s=>{o.set({kind:2,error:s}),r?.()},complete:()=>{r?.()}});if(n?.requireSync&&o().kind===0)throw new g1(601,!1);return r=a?.onDestroy(c.unsubscribe.bind(c)),S(()=>{let s=o();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new g1(601,!1)}},{equal:n?.equal})}function Pa(t=Object.is){return(n,e)=>n.kind===1&&e.kind===1&&t(n.value,e.value)}function b1(t){"@babel/helpers - typeof";return b1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b1(t)}function M6(t,n){if(b1(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var a=e.call(t,n||"default");if(b1(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function C6(t){var n=M6(t,"string");return b1(n)=="symbol"?n:n+""}function Ee(t,n,e){return(n=C6(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var re=Math.round;function f2(t,n){let e=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=e.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)a[i]=n(a[i]||0,e[i]||"",i);return e[3]?a[3]=e[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}var w6=(t,n,e)=>e===0?t:t/100;function pt(t,n){let e=n||255;return t>e?e:t<0?0:t}var M1=class t{constructor(n){Ee(this,"isValid",!0),Ee(this,"r",0),Ee(this,"g",0),Ee(this,"b",0),Ee(this,"a",1),Ee(this,"_h",void 0),Ee(this,"_s",void 0),Ee(this,"_l",void 0),Ee(this,"_v",void 0),Ee(this,"_max",void 0),Ee(this,"_min",void 0),Ee(this,"_brightness",void 0);function e(i){return i[0]in n&&i[1]in n&&i[2]in n}if(n)if(typeof n=="string"){let o=function(r){return i.startsWith(r)};var a=o;let i=n.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(n instanceof t)this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this._h=n._h,this._s=n._s,this._l=n._l,this._v=n._v;else if(e("rgb"))this.r=pt(n.r),this.g=pt(n.g),this.b=pt(n.b),this.a=typeof n.a=="number"?pt(n.a,1):1;else if(e("hsl"))this.fromHsl(n);else if(e("hsv"))this.fromHsv(n);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(n))}setR(n){return this._sc("r",n)}setG(n){return this._sc("g",n)}setB(n){return this._sc("b",n)}setA(n){return this._sc("a",n,1)}setHue(n){let e=this.toHsv();return e.h=n,this._c(e)}getLuminance(){function n(o){let r=o/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}let e=n(this.r),a=n(this.g),i=n(this.b);return .2126*e+.7152*a+.0722*i}getHue(){if(typeof this._h>"u"){let n=this.getMax()-this.getMin();n===0?this._h=0:this._h=re(60*(this.r===this.getMax()?(this.g-this.b)/n+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/n+2:(this.r-this.g)/n+4))}return this._h}getSaturation(){if(typeof this._s>"u"){let n=this.getMax()-this.getMin();n===0?this._s=0:this._s=n/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(n=10){let e=this.getHue(),a=this.getSaturation(),i=this.getLightness()-n/100;return i<0&&(i=0),this._c({h:e,s:a,l:i,a:this.a})}lighten(n=10){let e=this.getHue(),a=this.getSaturation(),i=this.getLightness()+n/100;return i>1&&(i=1),this._c({h:e,s:a,l:i,a:this.a})}mix(n,e=50){let a=this._c(n),i=e/100,o=c=>(a[c]-this[c])*i+this[c],r={r:re(o("r")),g:re(o("g")),b:re(o("b")),a:re(o("a")*100)/100};return this._c(r)}tint(n=10){return this.mix({r:255,g:255,b:255,a:1},n)}shade(n=10){return this.mix({r:0,g:0,b:0,a:1},n)}onBackground(n){let e=this._c(n),a=this.a+e.a*(1-this.a),i=o=>re((this[o]*this.a+e[o]*e.a*(1-this.a))/a);return this._c({r:i("r"),g:i("g"),b:i("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(n){return this.r===n.r&&this.g===n.g&&this.b===n.b&&this.a===n.a}clone(){return this._c(this)}toHexString(){let n="#",e=(this.r||0).toString(16);n+=e.length===2?e:"0"+e;let a=(this.g||0).toString(16);n+=a.length===2?a:"0"+a;let i=(this.b||0).toString(16);if(n+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){let o=re(this.a*255).toString(16);n+=o.length===2?o:"0"+o}return n}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let n=this.getHue(),e=re(this.getSaturation()*100),a=re(this.getLightness()*100);return this.a!==1?`hsla(${n},${e}%,${a}%,${this.a})`:`hsl(${n},${e}%,${a}%)`}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(n,e,a){let i=this.clone();return i[n]=pt(e,a),i}_c(n){return new this.constructor(n)}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(n){let e=n.replace("#","");function a(i,o){return parseInt(e[i]+e[o||i],16)}e.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=e[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=e[6]?a(6,7)/255:1)}fromHsl({h:n,s:e,l:a,a:i}){if(this._h=n%360,this._s=e,this._l=a,this.a=typeof i=="number"?i:1,e<=0){let B=re(a*255);this.r=B,this.g=B,this.b=B}let o=0,r=0,c=0,s=n/60,h=(1-Math.abs(2*a-1))*e,d=h*(1-Math.abs(s%2-1));s>=0&&s<1?(o=h,r=d):s>=1&&s<2?(o=d,r=h):s>=2&&s<3?(r=h,c=d):s>=3&&s<4?(r=d,c=h):s>=4&&s<5?(o=d,c=h):s>=5&&s<6&&(o=h,c=d);let f=a-h/2;this.r=re((o+f)*255),this.g=re((r+f)*255),this.b=re((c+f)*255)}fromHsv({h:n,s:e,v:a,a:i}){this._h=n%360,this._s=e,this._v=a,this.a=typeof i=="number"?i:1;let o=re(a*255);if(this.r=o,this.g=o,this.b=o,e<=0)return;let r=n/60,c=Math.floor(r),s=r-c,h=re(a*(1-e)*255),d=re(a*(1-e*s)*255),f=re(a*(1-e*(1-s))*255);switch(c){case 0:this.g=f,this.b=h;break;case 1:this.r=d,this.b=h;break;case 2:this.r=h,this.b=f;break;case 3:this.r=h,this.g=d;break;case 4:this.r=f,this.g=h;break;case 5:default:this.g=h,this.b=d;break}}fromHsvString(n){let e=f2(n,w6);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]})}fromHslString(n){let e=f2(n,w6);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]})}fromRgbString(n){let e=f2(n,(a,i)=>i.includes("%")?re(a/100*255):a);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3]}};var s4=2,x6=.16,Ta=.05,Da=.05,Ha=.15,P6=5,T6=4,Ea=[{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 S6(t,n,e){var a;return Math.round(t.h)>=60&&Math.round(t.h)<=240?a=e?Math.round(t.h)-s4*n:Math.round(t.h)+s4*n:a=e?Math.round(t.h)+s4*n:Math.round(t.h)-s4*n,a<0?a+=360:a>=360&&(a-=360),a}function k6(t,n,e){if(t.h===0&&t.s===0)return t.s;var a;return e?a=t.s-x6*n:n===T6?a=t.s+x6:a=t.s+Ta*n,a>1&&(a=1),e&&n===P6&&a>.1&&(a=.1),a<.06&&(a=.06),Math.round(a*100)/100}function V6(t,n,e){var a;return e?a=t.v+Da*n:a=t.v-Ha*n,a=Math.max(0,Math.min(1,a)),Math.round(a*100)/100}function h4(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],a=new M1(t),i=a.toHsv(),o=P6;o>0;o-=1){var r=new M1({h:S6(i,o,!0),s:k6(i,o,!0),v:V6(i,o,!0)});e.push(r)}e.push(a);for(var c=1;c<=T6;c+=1){var s=new M1({h:S6(i,c),s:k6(i,c),v:V6(i,c)});e.push(s)}return n.theme==="dark"?Ea.map(function(h){var d=h.index,f=h.amount;return new M1(n.backgroundColor||"#141414").mix(e[d],f).toHexString()}):e.map(function(h){return h.toHexString()})}var D6=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];D6.primary=D6[5];var H6=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];H6.primary=H6[5];var E6=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];E6.primary=E6[5];var Y6=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Y6.primary=Y6[5];var A6=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];A6.primary=A6[5];var F6=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];F6.primary=F6[5];var O6=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];O6.primary=O6[5];var L6=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];L6.primary=L6[5];var B6=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];B6.primary=B6[5];var I6=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];I6.primary=I6[5];var N6=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];N6.primary=N6[5];var R6=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];R6.primary=R6[5];var j6=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];j6.primary=j6[5];var U6=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];U6.primary=U6[5];var W6=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];W6.primary=W6[5];var q6=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];q6.primary=q6[5];var K6=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];K6.primary=K6[5];var G6=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];G6.primary=G6[5];var $6=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];$6.primary=$6[5];var Z6=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Z6.primary=Z6[5];var X6=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];X6.primary=X6[5];var Q6=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Q6.primary=Q6[5];var J6=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];J6.primary=J6[5];var e8=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];e8.primary=e8[5];var t8=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];t8.primary=t8[5];var n8=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];n8.primary=n8[5];var a1="[@ant-design/icons-angular]:";function Ya(t){console.error(`${a1} ${t}.`)}function o8(t){ut()&&console.warn(`${a1} ${t}.`)}function a8(t){return h4(t)[0]}function d4(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${a1}Theme "${n}" is not a recognized theme!`)}}function Aa(t,n,e,a){return`${d4(t,n)}-${e}-${a}`}function Fa(t){return t==="o"?"outline":t}function Oa(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}function r8(t){return typeof t=="object"&&typeof t.name=="string"&&(typeof t.theme=="string"||t.theme===void 0)&&typeof t.icon=="string"}function La(t){let n=t.split("-"),e=Fa(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:e,icon:""}}function Ba(t){return t.cloneNode(!0)}function Ia(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function u4(t){let n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${a1}The icon type ${t} is not valid!`)}}function Na(t){return u4(t)[1]!==""}function Ra(){return new Error(`${a1}Type should have a namespace. Try "namespace:${name}".`)}function i8(t){return new Error(`${a1}the icon ${t} does not exist or is not registered.`)}function ja(){return Ya('you need to import "HttpClientModule" to use dynamic importing.'),null}function Ua(t){return new Error(`${a1}The url "${t}" is unsafe.`)}function Wa(){return new Error(`${a1}<svg> tag not found.`)}function qa(){return new Error(`${a1}Importing timeout error.`)}var Ka="__ant_icon_load",Ga=new b("ant_icons"),g2=(()=>{let n=class n{set twoToneColor({primaryColor:a,secondaryColor:i}){this._twoToneColorPalette.primaryColor=a,this._twoToneColorPalette.secondaryColor=i||a8(a)}get twoToneColor(){return y({},this._twoToneColorPalette)}get _disableDynamicLoading(){return!1}constructor(a){this._antIcons=a,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new g,this._rendererFactory=l(Pe),this._handler=l(z6,{optional:!0}),this._document=l(Q),this.sanitizer=l(_6),this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new y6(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?o8("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window[Ka]=a=>{this._jsonpIconLoad$.next(a)})}changeAssetsSource(a){this._assetsUrlRoot=a.endsWith("/")?a:a+"/"}addIcon(...a){a.forEach(i=>{this._svgDefinitions.set(d4(i.name,i.theme),i)})}addIconLiteral(a,i){let[o,r]=u4(a);if(!r)throw Ra();this.addIcon({name:a,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(a,i){let o=r8(a)?a:this._svgDefinitions.get(a)||null;if(!o&&this._disableDynamicLoading)throw i8(a);return(o?ke(o):this._loadIconDynamically(a)).pipe(J(c=>{if(!c)throw i8(a);return this._loadSVGFromCacheOrCreateNew(c,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(a){if(!this._http&&!this._enableJsonpLoading)return ke(ja());let i=this._inProgressFetches.get(a);if(!i){let[o,r]=u4(a),c=r?{name:a,icon:""}:La(o),s=this._enableJsonpLoading?".js":".svg",h=(r?`${this._assetsUrlRoot}assets/${r}/${o}`:`${this._assetsUrlRoot}assets/${c.theme}/${c.name}`)+s,d=this.sanitizer.sanitize(J3.URL,h);if(!d)throw Ua(h);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(c,d):this._http.get(d,{responseType:"text"}).pipe(J(B=>G(y({},c),{icon:B})))).pipe(N1(B=>this.addIcon(B)),I1(()=>this._inProgressFetches.delete(a)),j3(()=>ke(null)),q3()),this._inProgressFetches.set(a,i)}return i}_loadIconDynamicallyWithJsonp(a,i){return new Fe(o=>{let r=this._document.createElement("script"),c=setTimeout(()=>{s(),o.error(qa())},6e3);r.src=i;function s(){r.parentNode.removeChild(r),clearTimeout(c)}this._document.body.appendChild(r),this._jsonpIconLoad$.pipe(ve(h=>h.name===a.name&&h.theme===a.theme),B1(1)).subscribe(h=>{o.next(h),s()})})}_loadSVGFromCacheOrCreateNew(a,i){let o,r=i||this._twoToneColorPalette.primaryColor,c=a8(r)||this._twoToneColorPalette.secondaryColor,s=a.theme==="twotone"?Aa(a.name,a.theme,r,c):a.theme===void 0?a.name:d4(a.name,a.theme),h=this._svgRenderedDefinitions.get(s);return h?o=h.icon:(o=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(Na(a.name)?a.icon:Ia(a.icon)),a.theme==="twotone",r,c)),this._svgRenderedDefinitions.set(s,G(y({},a),{icon:o}))),Ba(o)}_createSVGElementFromString(a){let i=this._document.createElement("div");i.innerHTML=a;let o=i.querySelector("svg");if(!o)throw Wa;return o}_setSVGAttribute(a){return this._renderer.setAttribute(a,"width","1em"),this._renderer.setAttribute(a,"height","1em"),a}_colorizeSVGIcon(a,i,o,r){if(i){let c=a.childNodes,s=c.length;for(let h=0;h<s;h++){let d=c[h];d.getAttribute("fill")==="secondaryColor"?this._renderer.setAttribute(d,"fill",r):this._renderer.setAttribute(d,"fill",o)}}return this._renderer.setAttribute(a,"fill","currentColor"),a}};n.\u0275fac=function(i){return new(i||n)(dt(Ga,8))},n.\u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})();function $a(t,n){return t.type===n.type&&t.theme===n.theme&&t.twoToneColor===n.twoToneColor}var c8=(()=>{let n=class n{constructor(a){this._iconService=a,this._elementRef=l(z),this._renderer=l(ne)}ngOnChanges(a){(a.type||a.theme||a.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(a=>{if(!this.type){this._clearSVGElement(),a(null);return}let i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(o=>{let r=this._getSelfRenderMeta();$a(i,r)?(this._setSVGElement(o),a(o)):a(null)})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(a,i){if(r8(a))return a;{let[o,r]=u4(a);return r?a:Oa(o)?(i&&o8(`'type' ${o} already gets a theme inside so 'theme' ${i} would be ignored`),o):d4(o,i||this._iconService.defaultTheme)}}_setSVGElement(a){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,a)}_clearSVGElement(){let a=this._elementRef.nativeElement,i=a.childNodes,o=i.length;for(let r=o-1;r>=0;r--){let c=i[r];c.tagName?.toLowerCase()==="svg"&&this._renderer.removeChild(a,c)}}};n.\u0275fac=function(i){return new(i||n)(x(g2))},n.\u0275dir=u({type:n,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[P]});let t=n;return t})();var m4={isTestMode:!1};var l8={},Za="[NG-ZORRO]:";function Xa(...t){let n=t.reduce((e,a)=>e+a.toString(),"");return l8[n]?!1:(l8[n]=!0,!0)}function Qa(t,...n){(m4.isTestMode||ut()&&Xa(...n))&&t(...n)}var C1=(...t)=>Qa((...n)=>console.warn(Za,...n),...t);function l1(t,n=0){return s8(t)?Number(t):arguments.length===2?n:0}function s8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function w1(t){return t instanceof z?t.nativeElement:t}function X1(t){return Array.isArray(t)?t:[t]}function q(t){return t==null?"":typeof t=="string"?t:`${t}px`}function h8(t){return t!=null&&`${t}`!="false"}function ss(t,n){if(!t||!n||t.length!==n.length)return!1;let e=t.length;for(let a=0;a<e;a++)if(t[a]!==n[a])return!1;return!0}function w2(t){return typeof t<"u"&&t!==null}function hs(t){return typeof t>"u"||t===null}function ft(t){return t instanceof pe}function m8(t){return h8(t)}function ds(t){return _1(t,0)}function us(t){return _1(t,1/0)}function ms(t,n=0){return l1(t,n)}function vs(t){return q(t)}function ps(t){t.stopPropagation(),t.preventDefault()}function fs(t){if(!t.getClientRects().length)return{top:0,left:0};let n=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}function Ja(t){let n=Array.isArray(t)?t:[t],e=n.join("").replace(/(\$|\^)/g,"\\$1");return n.length>1&&(e=`[${e}]`),new RegExp(`(\\s|^)(${e})[^\\s]*`,"g")}function gs(t,n="@"){if(typeof t!="string")return[];let e=Ja(n),a=t.match(e);return a!==null?a.map(i=>i.trim()):[]}function ei(t){return!!t&&typeof t.then=="function"&&typeof t.catch=="function"}function zs(t,n,e){return(e-t)/(n-t)*100}function ys(t){let n=t.toString(),e=n.indexOf(".");return e>=0?n.length-e-1:0}function _s(t,n,e){return isNaN(t)||t<n?n:t>e?e:t}function bs(t){return typeof t=="number"&&isFinite(t)}function Ms(t,n){return Math.round(t*Math.pow(10,n))/Math.pow(10,n)}function Cs(t){let n=t;if(n.scrollIntoViewIfNeeded){n.scrollIntoViewIfNeeded(!1);return}if(t.scrollIntoView){t.scrollIntoView(!1);return}}var ti=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],v8=typeof window<"u",ni=v8&&window.mozInnerScreenX!=null,v4=t=>parseInt(t,10);function ws(t,n,e){if(!v8)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");let a=e&&e.debug||!1;if(a){let d=document.querySelector("#input-textarea-caret-position-mirror-div");d&&d.parentNode.removeChild(d)}let i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);let o=i.style,r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,c=t.nodeName==="INPUT";o.whiteSpace="pre-wrap",c||(o.wordWrap="break-word"),o.position="absolute",a||(o.visibility="hidden"),ti.forEach(d=>{c&&d==="lineHeight"?o.lineHeight=r.height:o[d]=r[d]}),ni?t.scrollHeight>v4(r.height)&&(o.overflowY="scroll"):o.overflow="hidden",i.textContent=t.value.substring(0,n),c&&(i.textContent=i.textContent.replace(/\s/g,"\xA0"));let s=document.createElement("span");s.textContent=t.value.substring(n)||".",i.appendChild(s);let h={top:s.offsetTop+v4(r.borderTopWidth),left:s.offsetLeft+v4(r.borderLeftWidth),height:v4(r.lineHeight)};return a?(s.style.backgroundColor="#eee",ai(t,h)):document.body.removeChild(i),h}function ai(t,n){let e=getComputedStyle(t).getPropertyValue("font-size"),a=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(a),a.id="DEBUG",a.style.position="absolute",a.style.backgroundColor="red",a.style.height=e,a.style.width="1px",a.style.top=`${t.getBoundingClientRect().top-t.scrollTop+window.pageYOffset+n.top}px`,a.style.left=`${t.getBoundingClientRect().left-t.scrollLeft+window.pageXOffset+n.left}px`}function xs(t){if(typeof window<"u"&&window.document&&window.document.documentElement){let n=Array.isArray(t)?t:[t],{documentElement:e}=window.document;return n.some(a=>a in e.style)}return!1}var ii=1,M2=3,oi=8,A,z2={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function y2(t){if(!t)return 0;let n=t.match(/^\d*(\.\d*)?/);return n?Number(n[0]):0}function ri(t){let n={},e=Array.prototype.slice.apply(t);for(let a of e)n[a]=t.getPropertyValue(a);return n}function ci(t){let n=[];return t.forEach(e=>{let a=n[n.length-1];a&&e.nodeType===M2&&a.nodeType===M2?a.data+=e.data:n.push(e)}),n}function Ss(t,n,e,a,i,o=""){A||(A=document.createElement("div"),A.setAttribute("aria-hidden","true"),document.body.appendChild(A));let r=window.getComputedStyle(t),c=ri(r),s=y2(r.lineHeight),h=Math.round(s*(n+1)+y2(r.paddingTop)+y2(r.paddingBottom));for(let[U,Se]of Object.entries(c))A.style.setProperty(U,Se);A.style.position="fixed",A.style.left="0",A.style.height="auto",A.style.minHeight="auto",A.style.maxHeight="auto",A.style.top="-999999px",A.style.zIndex="-1000",A.style.textOverflow="clip",A.style.whiteSpace="normal",A.style.webkitLineClamp="none";let d=ci(e),f=document.createElement("div"),B=document.createElement("span"),me=document.createTextNode(o),ce=document.createElement("span");Object.assign(f.style,z2),Object.assign(B.style,z2),Object.assign(ce.style,z2),d.forEach(U=>{B.appendChild(U)}),B.appendChild(me),a.forEach(U=>{ce.appendChild(U.cloneNode(!0))}),f.appendChild(B),f.appendChild(ce),A.appendChild(f);function ye(){return A.offsetHeight<h}if(ye()){let U=A.innerHTML;return A.removeChild(f),{contentNodes:e,text:U,ellipsis:!1}}let Rt=Array.prototype.slice.apply(A.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:U})=>U!==oi),xa=Array.prototype.slice.apply(A.childNodes[0].childNodes[1].cloneNode(!0).childNodes);A.removeChild(f),A.innerHTML="";let jt=document.createElement("span");A.appendChild(jt);let E3=document.createTextNode(i+o);jt.appendChild(E3),xa.forEach(U=>{A.appendChild(U)});function Sa(U){jt.insertBefore(U,E3)}function c2(U,Se,t1=0,Xe=Se.length,Ut=0){let Wt=Math.floor((t1+Xe)/2);if(U.textContent=Se.slice(0,Wt),t1>=Xe-1)for(let qt=Xe;qt>=t1;qt-=1){let l2=Se.slice(0,qt);if(U.textContent=l2,ye()||!l2)return qt===Se.length?{finished:!1,node:document.createTextNode(Se)}:{finished:!0,node:document.createTextNode(l2)}}return ye()?c2(U,Se,Wt,Xe,Wt):c2(U,Se,t1,Wt,Ut)}function ka(U,Se){let t1=U.nodeType;if(t1===ii)return ye()?{finished:!1,node:d[Se]}:(jt.removeChild(U),{finished:!0,node:null});if(t1===M2){let Xe=U.textContent||"",Ut=document.createTextNode(Xe);return Sa(Ut),c2(Ut,Xe)}return{finished:!1,node:null}}let Y3=[];Rt.some((U,Se)=>{let{finished:t1,node:Xe}=ka(U,Se);return Xe&&Y3.push(Xe),t1});let Va={contentNodes:Y3,text:A.innerHTML,ellipsis:!0};for(;A.firstChild;)A.removeChild(A.firstChild);return Va}var _2,b2,d8={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function ks(t="vertical",n="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=t==="vertical";if(e&&_2)return _2;if(!e&&b2)return b2;let a=document.createElement("div");Object.keys(d8).forEach(o=>{a.style[o]=d8[o]}),a.className=`${n}-hide-scrollbar scroll-div-append-to-body`,e?a.style.overflowY="scroll":a.style.overflowX="scroll",document.body.appendChild(a);let i=0;return e?(i=a.offsetWidth-a.clientWidth,_2=i):(i=a.offsetHeight-a.clientHeight,b2=i),document.body.removeChild(a),i}function Vs(){let t=new g;return Promise.resolve().then(()=>t.next()),t.pipe(B1(1))}function p8(t){return F1(t)?t:ei(t)?new Fe(n=>{Promise.resolve(t).then(e=>{n.next(e),n.complete()}).catch(e=>n.error(e))}):ke(t)}function x2(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var li="rc-util-key";function f8({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:li}function S2(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function u8(t,n={}){if(!x2())return null;let e=document.createElement("style");n.cspNonce&&(e.nonce=n.cspNonce),e.innerHTML=t;let a=S2(n),{firstChild:i}=a;return n.prepend&&a.prepend?a.prepend(e):n.prepend&&i?a.insertBefore(e,i):a.appendChild(e),e}var C2=new Map;function si(t,n={}){let e=S2(n);return Array.from(C2.get(e)?.children||[]).find(a=>a.tagName==="STYLE"&&a.getAttribute(f8(n))===t)}function g8(t,n,e={}){let a=S2(e);if(!C2.has(a)){let r=u8("",e),{parentNode:c}=r;C2.set(a,c),c.removeChild(r)}let i=si(n,e);if(i)return e.cspNonce&&i.nonce!==e.cspNonce&&(i.nonce=e.cspNonce),i.innerHTML!==t&&(i.innerHTML=t),i;let o=u8(t,e);return o?.setAttribute(f8(e),n),o}function x1(t,n,e){return{[`${t}-status-success`]:n==="success",[`${t}-status-warning`]:n==="warning",[`${t}-status-error`]:n==="error",[`${t}-status-validating`]:n==="validating",[`${t}-has-feedback`]:e}}function hi(t){return typeof Zone<"u"?Zone.root.run(t):t()}function z8(t,n,e){return t?new Fe(a=>hi(()=>N3(t,n,e).subscribe(a))):$t}function k2(t,n,e){return{[`${t}-borderless`]:n==="borderless"||n==="outlined"&&e,[`${t}-filled`]:n==="filled",[`${t}-underlined`]:n==="underlined"}}var V2;try{V2=typeof Intl<"u"&&Intl.v8BreakIterator}catch{V2=!1}var K=(()=>{class t{_platformId=l(j1);isBrowser=this._platformId?Z1(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||V2)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gt;function di(){if(gt==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gt=!0}))}finally{gt=gt||!1}return gt}function y8(t){return di()?t:!!t.capture}var Ge=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Ge||{}),p4,S1;function f4(){if(S1==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return S1=!1,S1;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)S1=!0;else{let t=Element.prototype.scrollTo;t?S1=!/\{\s*\[native code\]\s*\}/.test(t.toString()):S1=!1}}return S1}function Q1(){if(typeof document!="object"||!document)return Ge.NORMAL;if(p4==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),a=e.style;a.width="2px",a.height="1px",t.appendChild(e),document.body.appendChild(t),p4=Ge.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,p4=t.scrollLeft===0?Ge.NEGATED:Ge.INVERTED),t.remove()}return p4}var P2;function _8(){if(P2==null){let t=typeof document<"u"?document.head:null;P2=!!(t&&(t.createShadowRoot||t.attachShadow))}return P2}function T2(t){if(_8()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function D2(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Ye(t){return t.composedPath?t.composedPath()[0]:t.target}function H2(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ae(t,n){ui(t)&&(t="100%");var e=mi(t);return t=n===360?t:Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:(n===360?t=(t<0?t%n+n:t%n)/parseFloat(String(n)):t=t%n/parseFloat(String(n)),t)}function zt(t){return Math.min(1,Math.max(0,t))}function ui(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function mi(t){return typeof t=="string"&&t.indexOf("%")!==-1}function g4(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function yt(t){return t<=1?"".concat(Number(t)*100,"%"):t}function s1(t){return t.length===1?"0"+t:String(t)}function b8(t,n,e){return{r:ae(t,255)*255,g:ae(n,255)*255,b:ae(e,255)*255}}function Y2(t,n,e){t=ae(t,255),n=ae(n,255),e=ae(e,255);var a=Math.max(t,n,e),i=Math.min(t,n,e),o=0,r=0,c=(a+i)/2;if(a===i)r=0,o=0;else{var s=a-i;switch(r=c>.5?s/(2-a-i):s/(a+i),a){case t:o=(n-e)/s+(n<e?6:0);break;case n:o=(e-t)/s+2;break;case e:o=(t-n)/s+4;break;default:break}o/=6}return{h:o,s:r,l:c}}function E2(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+(n-t)*(6*e):e<1/2?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function M8(t,n,e){var a,i,o;if(t=ae(t,360),n=ae(n,100),e=ae(e,100),n===0)i=e,o=e,a=e;else{var r=e<.5?e*(1+n):e+n-e*n,c=2*e-r;a=E2(c,r,t+1/3),i=E2(c,r,t),o=E2(c,r,t-1/3)}return{r:a*255,g:i*255,b:o*255}}function _t(t,n,e){t=ae(t,255),n=ae(n,255),e=ae(e,255);var a=Math.max(t,n,e),i=Math.min(t,n,e),o=0,r=a,c=a-i,s=a===0?0:c/a;if(a===i)o=0;else{switch(a){case t:o=(n-e)/c+(n<e?6:0);break;case n:o=(e-t)/c+2;break;case e:o=(t-n)/c+4;break;default:break}o/=6}return{h:o,s,v:r}}function C8(t,n,e){t=ae(t,360)*6,n=ae(n,100),e=ae(e,100);var a=Math.floor(t),i=t-a,o=e*(1-n),r=e*(1-i*n),c=e*(1-(1-i)*n),s=a%6,h=[e,r,o,o,c,e][s],d=[c,e,e,r,o,o][s],f=[o,o,c,e,e,r][s];return{r:h*255,g:d*255,b:f*255}}function bt(t,n,e,a){var i=[s1(Math.round(t).toString(16)),s1(Math.round(n).toString(16)),s1(Math.round(e).toString(16))];return a&&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 w8(t,n,e,a,i){var o=[s1(Math.round(t).toString(16)),s1(Math.round(n).toString(16)),s1(Math.round(e).toString(16)),s1(vi(a))];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 vi(t){return Math.round(parseFloat(t)*255).toString(16)}function A2(t){return xe(t)/255}function xe(t){return parseInt(t,16)}function x8(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var Mt={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 d1(t){var n={r:0,g:0,b:0},e=1,a=null,i=null,o=null,r=!1,c=!1;return typeof t=="string"&&(t=gi(t)),typeof t=="object"&&(i1(t.r)&&i1(t.g)&&i1(t.b)?(n=b8(t.r,t.g,t.b),r=!0,c=String(t.r).substr(-1)==="%"?"prgb":"rgb"):i1(t.h)&&i1(t.s)&&i1(t.v)?(a=yt(t.s),i=yt(t.v),n=C8(t.h,a,i),r=!0,c="hsv"):i1(t.h)&&i1(t.s)&&i1(t.l)&&(a=yt(t.s),o=yt(t.l),n=M8(t.h,a,o),r=!0,c="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=g4(e),{ok:r,format:t.format||c,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:e}}var pi="[-\\+]?\\d+%?",fi="[-\\+]?\\d*\\.\\d+%?",h1="(?:".concat(fi,")|(?:").concat(pi,")"),F2="[\\s|\\(]+(".concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")\\s*\\)?"),O2="[\\s|\\(]+(".concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")\\s*\\)?"),$e={CSS_UNIT:new RegExp(h1),rgb:new RegExp("rgb"+F2),rgba:new RegExp("rgba"+O2),hsl:new RegExp("hsl"+F2),hsla:new RegExp("hsla"+O2),hsv:new RegExp("hsv"+F2),hsva:new RegExp("hsva"+O2),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 gi(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var n=!1;if(Mt[t])t=Mt[t],n=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=$e.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=$e.rgba.exec(t),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=$e.hsl.exec(t),e?{h:e[1],s:e[2],l:e[3]}:(e=$e.hsla.exec(t),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=$e.hsv.exec(t),e?{h:e[1],s:e[2],v:e[3]}:(e=$e.hsva.exec(t),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=$e.hex8.exec(t),e?{r:xe(e[1]),g:xe(e[2]),b:xe(e[3]),a:A2(e[4]),format:n?"name":"hex8"}:(e=$e.hex6.exec(t),e?{r:xe(e[1]),g:xe(e[2]),b:xe(e[3]),format:n?"name":"hex"}:(e=$e.hex4.exec(t),e?{r:xe(e[1]+e[1]),g:xe(e[2]+e[2]),b:xe(e[3]+e[3]),a:A2(e[4]+e[4]),format:n?"name":"hex8"}:(e=$e.hex3.exec(t),e?{r:xe(e[1]+e[1]),g:xe(e[2]+e[2]),b:xe(e[3]+e[3]),format:n?"name":"hex"}:!1)))))))))}function i1(t){return!!$e.CSS_UNIT.exec(String(t))}var z4=(function(){function t(n,e){n===void 0&&(n=""),e===void 0&&(e={});var a;if(n instanceof t)return n;typeof n=="number"&&(n=x8(n)),this.originalInput=n;var i=d1(n);this.originalInput=n,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=(a=e.format)!==null&&a!==void 0?a: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 n=this.toRgb();return(n.r*299+n.g*587+n.b*114)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),e,a,i,o=n.r/255,r=n.g/255,c=n.b/255;return o<=.03928?e=o/12.92:e=Math.pow((o+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),c<=.03928?i=c/12.92:i=Math.pow((c+.055)/1.055,2.4),.2126*e+.7152*a+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=g4(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var n=this.toHsl().s;return n===0},t.prototype.toHsv=function(){var n=_t(this.r,this.g,this.b);return{h:n.h*360,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=_t(this.r,this.g,this.b),e=Math.round(n.h*360),a=Math.round(n.s*100),i=Math.round(n.v*100);return this.a===1?"hsv(".concat(e,", ").concat(a,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(a,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=Y2(this.r,this.g,this.b);return{h:n.h*360,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=Y2(this.r,this.g,this.b),e=Math.round(n.h*360),a=Math.round(n.s*100),i=Math.round(n.l*100);return this.a===1?"hsl(".concat(e,", ").concat(a,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(a,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return n===void 0&&(n=!1),bt(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return n===void 0&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return n===void 0&&(n=!1),w8(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return n===void 0&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return n===void 0&&(n=!1),this.a===1?this.toHexString(n):this.toHex8String(n)},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 n=Math.round(this.r),e=Math.round(this.g),a=Math.round(this.b);return this.a===1?"rgb(".concat(n,", ").concat(e,", ").concat(a,")"):"rgba(".concat(n,", ").concat(e,", ").concat(a,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(e){return"".concat(Math.round(ae(e,255)*100),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(e){return Math.round(ae(e,255)*100)};return this.a===1?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var n="#"+bt(this.r,this.g,this.b,!1),e=0,a=Object.entries(Mt);e<a.length;e++){var i=a[e],o=i[0],r=i[1];if(n===r)return o}return!1},t.prototype.toString=function(n){var e=!!n;n=n??this.format;var a=!1,i=this.a<1&&this.a>=0,o=!e&&i&&(n.startsWith("hex")||n==="name");return o?n==="name"&&this.a===0?this.toName():this.toRgbString():(n==="rgb"&&(a=this.toRgbString()),n==="prgb"&&(a=this.toPercentageRgbString()),(n==="hex"||n==="hex6")&&(a=this.toHexString()),n==="hex3"&&(a=this.toHexString(!0)),n==="hex4"&&(a=this.toHex8String(!0)),n==="hex8"&&(a=this.toHex8String()),n==="name"&&(a=this.toName()),n==="hsl"&&(a=this.toHslString()),n==="hsv"&&(a=this.toHsvString()),a||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(n){n===void 0&&(n=10);var e=this.toHsl();return e.l+=n/100,e.l=zt(e.l),new t(e)},t.prototype.brighten=function(n){n===void 0&&(n=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(n/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(n/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(n/100)))),new t(e)},t.prototype.darken=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.l-=n/100,e.l=zt(e.l),new t(e)},t.prototype.tint=function(n){return n===void 0&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return n===void 0&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s-=n/100,e.s=zt(e.s),new t(e)},t.prototype.saturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s+=n/100,e.s=zt(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var e=this.toHsl(),a=(e.h+n)%360;return e.h=a<0?360+a:a,new t(e)},t.prototype.mix=function(n,e){e===void 0&&(e=50);var a=this.toRgb(),i=new t(n).toRgb(),o=e/100,r={r:(i.r-a.r)*o+a.r,g:(i.g-a.g)*o+a.g,b:(i.b-a.b)*o+a.b,a:(i.a-a.a)*o+a.a};return new t(r)},t.prototype.analogous=function(n,e){n===void 0&&(n=6),e===void 0&&(e=30);var a=this.toHsl(),i=360/e,o=[this];for(a.h=(a.h-(i*n>>1)+720)%360;--n;)a.h=(a.h+i)%360,o.push(new t(a));return o},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){n===void 0&&(n=6);for(var e=this.toHsv(),a=e.h,i=e.s,o=e.v,r=[],c=1/n;n--;)r.push(new t({h:a,s:i,v:o})),o=(o+c)%1;return r},t.prototype.splitcomplement=function(){var n=this.toHsl(),e=n.h;return[this,new t({h:(e+72)%360,s:n.s,l:n.l}),new t({h:(e+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var e=this.toRgb(),a=new t(n).toRgb(),i=e.a+a.a*(1-e.a);return new t({r:(e.r*e.a+a.r*a.a*(1-e.a))/i,g:(e.g*e.a+a.g*a.a*(1-e.a))/i,b:(e.b*e.a+a.b*a.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(n){for(var e=this.toHsl(),a=e.h,i=[this],o=360/n,r=1;r<n;r++)i.push(new t({h:(a+r*o)%360,s:e.s,l:e.l}));return i},t.prototype.equals=function(n){return this.toRgbString()===new t(n).toRgbString()},t})();var zi=["success","processing","error","default","warning"],yi=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function D8(t){return yi.indexOf(t)!==-1}function t5(t){return zi.indexOf(t)!==-1}var y4=2,S8=.16,_i=.05,bi=.05,Mi=.15,H8=5,E8=4,Ci=[{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 k8({r:t,g:n,b:e}){let a=_t(t,n,e);return{h:a.h*360,s:a.s,v:a.v}}function _4({r:t,g:n,b:e}){return`#${bt(t,n,e,!1)}`}function wi(t,n,e){let a=e/100;return{r:(n.r-t.r)*a+t.r,g:(n.g-t.g)*a+t.g,b:(n.b-t.b)*a+t.b}}function V8(t,n,e){let a;return Math.round(t.h)>=60&&Math.round(t.h)<=240?a=e?Math.round(t.h)-y4*n:Math.round(t.h)+y4*n:a=e?Math.round(t.h)+y4*n:Math.round(t.h)-y4*n,a<0?a+=360:a>=360&&(a-=360),a}function P8(t,n,e){if(t.h===0&&t.s===0)return t.s;let a;return e?a=t.s-S8*n:n===E8?a=t.s+S8:a=t.s+_i*n,a>1&&(a=1),e&&n===H8&&a>.1&&(a=.1),a<.06&&(a=.06),Number(a.toFixed(2))}function T8(t,n,e){let a;return e?a=t.v+bi*n:a=t.v-Mi*n,a>1&&(a=1),Number(a.toFixed(2))}function L2(t,n={}){let e=[],a=d1(t);for(let i=H8;i>0;i-=1){let o=k8(a),r=_4(d1({h:V8(o,i,!0),s:P8(o,i,!0),v:T8(o,i,!0)}));e.push(r)}e.push(_4(a));for(let i=1;i<=E8;i+=1){let o=k8(a),r=_4(d1({h:V8(o,i),s:P8(o,i),v:T8(o,i)}));e.push(r)}return n.theme==="dark"?Ci.map(({index:i,opacity:o})=>_4(wi(d1(n.backgroundColor||"#141414"),d1(e[i]),o*100))):e}var xi=new b("");var Si=`-ant-${Date.now()}-${Math.random()}`;function ki(t,n){let e={},a=(r,c)=>{let s=r.clone();return s=c?.(s)||s,s.toRgbString()},i=(r,c)=>{let s=new z4(r),h=L2(s.toRgbString());e[`${c}-color`]=a(s),e[`${c}-color-disabled`]=h[1],e[`${c}-color-hover`]=h[4],e[`${c}-color-active`]=h[7],e[`${c}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),e[`${c}-color-deprecated-bg`]=h[1],e[`${c}-color-deprecated-border`]=h[3]};if(n.primaryColor){i(n.primaryColor,"primary");let r=new z4(n.primaryColor),c=L2(r.toRgbString());c.forEach((h,d)=>{e[`primary-${d+1}`]=h}),e["primary-color-deprecated-l-35"]=a(r,h=>h.lighten(35)),e["primary-color-deprecated-l-20"]=a(r,h=>h.lighten(20)),e["primary-color-deprecated-t-20"]=a(r,h=>h.tint(20)),e["primary-color-deprecated-t-50"]=a(r,h=>h.tint(50)),e["primary-color-deprecated-f-12"]=a(r,h=>h.setAlpha(h.getAlpha()*.12));let s=new z4(c[0]);e["primary-color-active-deprecated-f-30"]=a(s,h=>h.setAlpha(h.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=a(s,h=>h.darken(2))}return n.successColor&&i(n.successColor,"success"),n.warningColor&&i(n.warningColor,"warning"),n.errorColor&&i(n.errorColor,"error"),n.infoColor&&i(n.infoColor,"info"),`
2
2
  :root {
3
3
  ${Object.keys(e).map(r=>`--${t}-${r}: ${e[r]};`).join(`
4
4
  `)}
@@ -12,4 +12,4 @@ import{c as be,d as V,f as v,g as he,h as T,i as c4,j as l4}from"./chunk-HFZLJHY
12
12
  `],encapsulation:2,changeDetection:0})}return t})(),fa=(()=>{class t{_platform=l(K);_containerElement;_document=l(Q);_styleLoader=l(Yt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||H2()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let a=this._document.createElement("div");a.classList.add(e),H2()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(pa)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),S3=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,a,i){this._renderer=e,this._ngZone=a,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},t2=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new g;_attachments=new g;_detachments=new g;_positionStrategy;_scrollStrategy;_locationChanges=Ie.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new g;_outsidePointerEvents=new g;_afterNextRenderRef;constructor(n,e,a,i,o,r,c,s,h,d=!1,f,B){this._portalOutlet=n,this._host=e,this._pane=a,this._config=i,this._ngZone=o,this._keyboardDispatcher=r,this._document=c,this._location=s,this._outsideClickDispatcher=h,this._animationsDisabled=d,this._injector=f,this._renderer=B,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}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Ce(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=y(y({},this._config),n),this._updateElementSize()}setDirection(n){this._config=G(y({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=q(this._config.width),n.height=q(this._config.height),n.minWidth=q(this._config.minWidth),n.minHeight=q(this._config.minHeight),n.maxWidth=q(this._config.maxWidth),n.maxHeight=q(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new S3(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,a){let i=X1(e||[]).filter(o=>!!o);i.length&&(a?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Ce(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},oa="cdk-overlay-connected-position-bounding-box",Oc=/([A-Za-z%]+)$/;function k3(t,n){return new n2(n,t.get(T1),t.get(Q),t.get(K),t.get(fa))}var n2=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new g;_resizeSubscription=Ie.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,a,i,o){this._viewportRuler=e,this._document=a,this._platform=i,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(oa),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,a=this._viewportRect,i=this._containerRect,o=[],r;for(let c of this._preferredPositions){let s=this._getOriginPoint(n,i,c),h=this._getOverlayPoint(s,e,c),d=this._getOverlayFit(h,e,a,c);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(c,s);return}if(this._canFitWithFlexibleDimensions(d,h,a)){o.push({position:c,origin:s,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(s,c)});continue}(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:h,originPoint:s,position:c,overlayRect:e})}if(o.length){let c=null,s=-1;for(let h of o){let d=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);d>s&&(s=d,c=h)}this._isPushed=!1,this._applyPosition(c.position,c.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&D1(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(oa),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,a){let i;if(a.originX=="center")i=n.left+n.width/2;else{let r=this._isRtl()?n.right:n.left,c=this._isRtl()?n.left:n.right;i=a.originX=="start"?r:c}e.left<0&&(i-=e.left);let o;return a.originY=="center"?o=n.top+n.height/2:o=a.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:i,y:o}}_getOverlayPoint(n,e,a){let i;a.overlayX=="center"?i=-e.width/2:a.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let o;return a.overlayY=="center"?o=-e.height/2:o=a.overlayY=="top"?0:-e.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,e,a,i){let o=ca(e),{x:r,y:c}=n,s=this._getOffset(i,"x"),h=this._getOffset(i,"y");s&&(r+=s),h&&(c+=h);let d=0-r,f=r+o.width-a.width,B=0-c,me=c+o.height-a.height,ce=this._subtractOverflows(o.width,d,f),ye=this._subtractOverflows(o.height,B,me),Rt=ce*ye;return{visibleArea:Rt,isCompletelyWithinViewport:o.width*o.height===Rt,fitsInViewportVertically:ye===o.height,fitsInViewportHorizontally:ce==o.width}}_canFitWithFlexibleDimensions(n,e,a){if(this._hasFlexibleDimensions){let i=a.bottom-e.y,o=a.right-e.x,r=ra(this._overlayRef.getConfig().minHeight),c=ra(this._overlayRef.getConfig().minWidth),s=n.fitsInViewportVertically||r!=null&&r<=i,h=n.fitsInViewportHorizontally||c!=null&&c<=o;return s&&h}return!1}_pushOverlayOnScreen(n,e,a){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let i=ca(e),o=this._viewportRect,r=Math.max(n.x+i.width-o.width,0),c=Math.max(n.y+i.height-o.height,0),s=Math.max(o.top-a.top-n.y,0),h=Math.max(o.left-a.left-n.x,0),d=0,f=0;return i.width<=o.width?d=h||-r:d=n.x<this._viewportMargin?o.left-a.left-n.x:0,i.height<=o.height?f=s||-c:f=n.y<this._viewportMargin?o.top-a.top-n.y:0,this._previousPushAmount={x:d,y:f},{x:n.x+d,y:n.y+f}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let a=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!Lc(this._lastScrollVisibility,a)){let i=new e2(n,a);this._positionChanges.next(i)}this._lastScrollVisibility=a}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),a,i=n.overlayY;n.overlayX==="center"?a="center":this._isRtl()?a=n.overlayX==="start"?"right":"left":a=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${a} ${i}`}_calculateBoundingBoxRect(n,e){let a=this._viewportRect,i=this._isRtl(),o,r,c;if(e.overlayY==="top")r=n.y,o=a.height-r+this._viewportMargin;else if(e.overlayY==="bottom")c=a.height-n.y+this._viewportMargin*2,o=a.height-c+this._viewportMargin;else{let me=Math.min(a.bottom-n.y+a.top,n.y),ce=this._lastBoundingBoxSize.height;o=me*2,r=n.y-me,o>ce&&!this._isInitialRender&&!this._growAfterOpen&&(r=n.y-ce/2)}let s=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,h=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,d,f,B;if(h)B=a.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(s)f=n.x,d=a.right-n.x;else{let me=Math.min(a.right-n.x+a.left,n.x),ce=this._lastBoundingBoxSize.width;d=me*2,f=n.x-me,d>ce&&!this._isInitialRender&&!this._growAfterOpen&&(f=n.x-ce/2)}return{top:r,left:f,bottom:c,right:B,width:d,height:o}}_setBoundingBoxStyles(n,e){let a=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=q(a.height),i.top=q(a.top),i.bottom=q(a.bottom),i.width=q(a.width),i.left=q(a.left),i.right=q(a.right),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=q(o)),r&&(i.maxWidth=q(r))}this._lastBoundingBoxSize=a,D1(this._boundingBox.style,i)}_resetBoundingBoxStyles(){D1(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){D1(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let a={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();D1(a,this._getExactOverlayY(e,n,d)),D1(a,this._getExactOverlayX(e,n,d))}else a.position="static";let c="",s=this._getOffset(e,"x"),h=this._getOffset(e,"y");s&&(c+=`translateX(${s}px) `),h&&(c+=`translateY(${h}px)`),a.transform=c.trim(),r.maxHeight&&(i?a.maxHeight=q(r.maxHeight):o&&(a.maxHeight="")),r.maxWidth&&(i?a.maxWidth=q(r.maxWidth):o&&(a.maxWidth="")),D1(this._pane.style,a)}_getExactOverlayY(n,e,a){let i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,a)),n.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(o.y+this._overlayRect.height)}px`}else i.top=q(o.y);return i}_getExactOverlayX(n,e,a){let i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,a));let r;if(this._isRtl()?r=n.overlayX==="end"?"left":"right":r=n.overlayX==="end"?"right":"left",r==="right"){let c=this._document.documentElement.clientWidth;i.right=`${c-(o.x+this._overlayRect.width)}px`}else i.left=q(o.x);return i}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),a=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:aa(n,a),isOriginOutsideView:x3(n,a),isOverlayClipped:aa(e,a),isOverlayOutsideView:x3(e,a)}}_subtractOverflows(n,...e){return e.reduce((a,i)=>a-Math.max(i,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,a=this._viewportRuler.getViewportScrollPosition();return{top:a.top+this._viewportMargin,left:a.left+this._viewportMargin,right:a.left+n-this._viewportMargin,bottom:a.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&X1(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof z)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,a=n.height||0;return{top:n.y,bottom:n.y+a,left:n.x,right:n.x+e,height:a,width:e}}};function D1(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function ra(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Oc);return!e||e==="px"?parseFloat(n):null}return t||null}function ca(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function Lc(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var la="cdk-global-overlay-wrapper";function ga(t){return new a2}var a2=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(la),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,a=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:r,maxHeight:c}=a,s=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),h=(o==="100%"||o==="100vh")&&(!c||c==="100%"||c==="100vh"),d=this._xPosition,f=this._xOffset,B=this._overlayRef.getConfig().direction==="rtl",me="",ce="",ye="";s?ye="flex-start":d==="center"?(ye="center",B?ce=f:me=f):B?d==="left"||d==="end"?(ye="flex-end",me=f):(d==="right"||d==="start")&&(ye="flex-start",ce=f):d==="left"||d==="start"?(ye="flex-start",me=f):(d==="right"||d==="end")&&(ye="flex-end",ce=f),n.position=this._cssPosition,n.marginLeft=s?"0":me,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=s?"0":ce,e.justifyContent=ye,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,a=e.style;e.classList.remove(la),a.justifyContent=a.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},za=(()=>{class t{_injector=l(oe);constructor(){}global(){return ga()}flexibleConnectedTo(e){return k3(this._injector,e)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function V3(t,n){t.get(Yt).load(pa);let e=t.get(fa),a=t.get(Q),i=t.get(Ln),o=t.get(z1),r=t.get(ge),c=a.createElement("div"),s=a.createElement("div");s.id=i.getId("cdk-overlay-"),s.classList.add("cdk-overlay-pane"),c.appendChild(s),e.getContainerElement().appendChild(c);let h=new Z4(s,o,t),d=new Bt(n),f=t.get(ne,null,{optional:!0})||t.get(Pe).createRenderer(null,null);return d.direction=d.direction||r.value,new t2(h,c,s,d,t.get(I),t.get(ma),a,t.get(g6),t.get(va),n?.disableAnimations??t.get(U1,null,{optional:!0})==="NoopAnimations",t.get(R1),f)}var ya=(()=>{class t{scrollStrategies=l(da);_positionBuilder=l(za);_injector=l(oe);constructor(){}create(e){return V3(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bc=[{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"}],_a=new b("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=l(oe);return()=>i2(t)}}),It=(()=>{class t{elementRef=l(z);constructor(){}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Nt=(()=>{class t{_dir=l(ge,{optional:!0});_injector=l(oe);_overlayRef;_templatePortal;_backdropSubscription=Ie.EMPTY;_attachSubscription=Ie.EMPTY;_detachSubscription=Ie.EMPTY;_positionSubscription=Ie.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=l(_a);_disposeOnNavigation=!1;_ngZone=l(I);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new W;positionChange=new W;attach=new W;detach=new W;overlayKeydown=new W;overlayOutsideClick=new W;constructor(){let e=l(pe),a=l(Be);this._templatePortal=new Lt(e,a),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,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=Bc);let e=this._overlayRef=V3(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(a=>{this.overlayKeydown.next(a),a.keyCode===27&&!this.disableClose&&!R4(a)&&(a.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(a=>{let i=this._getOriginElement(),o=Ye(a);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(a)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),a=new Bt({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(a.width=this.width),(this.height||this.height===0)&&(a.height=this.height),(this.minWidth||this.minWidth===0)&&(a.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}_updatePositionStrategy(e){let a=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(a).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=k3(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof It?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof It?this.origin.elementRef.nativeElement:this.origin instanceof z?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(G3(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",_],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",_],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",_],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",_],push:[2,"cdkConnectedOverlayPush","push",_],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",_]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[P]})}return t})();function Ic(t){let n=l(oe);return()=>i2(n)}var Nc={provide:_a,useFactory:Ic},P3=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({providers:[ya,Nc],imports:[Ct,ta,M3,M3]})}return t})();var ue=(()=>{class t{static SLOW="0.3s";static BASE="0.2s";static FAST="0.1s"}return t})(),de=(()=>{class t{static EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}return t})(),am=be("collapseMotion",[he("expanded",v({height:"*"})),he("collapsed",v({height:0,overflow:"hidden"})),he("hidden",v({height:0,overflow:"hidden",borderTopWidth:"0"})),T("expanded => collapsed",V(`150ms ${de.EASE_IN_OUT}`)),T("expanded => hidden",V(`150ms ${de.EASE_IN_OUT}`)),T("collapsed => expanded",V(`150ms ${de.EASE_IN_OUT}`)),T("hidden => expanded",V(`150ms ${de.EASE_IN_OUT}`))]),im=be("treeCollapseMotion",[T("* => *",[c4("nz-tree-node:leave,nz-tree-builtin-node:leave",[v({overflow:"hidden"}),l4(0,[V(`150ms ${de.EASE_IN_OUT}`,v({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),c4("nz-tree-node:enter,nz-tree-builtin-node:enter",[v({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),l4(0,[V(`150ms ${de.EASE_IN_OUT}`,v({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),om=be("drawerMaskMotion",[T(":enter",[v({opacity:0}),V(`${ue.SLOW}`,v({opacity:1}))]),T(":leave",[v({opacity:1}),V(`${ue.SLOW}`,v({opacity:0}))])]),rm=be("fadeMotion",[T("* => enter",[v({opacity:0}),V(`${ue.BASE}`,v({opacity:1}))]),T("* => leave, :leave",[v({opacity:1}),V(`${ue.BASE}`,v({opacity:0}))])]),cm=be("helpMotion",[T(":enter",[v({opacity:0,transform:"translateY(-5px)"}),V(`${ue.SLOW} ${de.EASE_IN_OUT}`,v({opacity:1,transform:"translateY(0)"}))]),T(":leave",[v({opacity:1,transform:"translateY(0)"}),V(`${ue.SLOW} ${de.EASE_IN_OUT}`,v({opacity:0,transform:"translateY(-5px)"}))])]),lm=be("moveUpMotion",[T("* => enter",[v({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),V(`${ue.BASE}`,v({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),T("* => leave",[v({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),V(`${ue.BASE}`,v({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),sm=be("notificationMotion",[he("enterRight",v({opacity:1,transform:"translateX(0)"})),T("* => enterRight",[v({opacity:0,transform:"translateX(5%)"}),V("100ms linear")]),he("enterLeft",v({opacity:1,transform:"translateX(0)"})),T("* => enterLeft",[v({opacity:0,transform:"translateX(-5%)"}),V("100ms linear")]),he("enterTop",v({opacity:1,transform:"translateY(0)"})),T("* => enterTop",[v({opacity:0,transform:"translateY(-5%)"}),V("100ms linear")]),he("enterBottom",v({opacity:1,transform:"translateY(0)"})),T("* => enterBottom",[v({opacity:0,transform:"translateY(5%)"}),V("100ms linear")]),he("leave",v({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),T("* => leave",[v({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),V("100ms linear")])]),jc=`${ue.BASE} ${de.EASE_OUT_QUINT}`,Uc=`${ue.BASE} ${de.EASE_IN_QUINT}`,hm=be("slideMotion",[he("void",v({opacity:0,transform:"scaleY(0.8)"})),he("enter",v({opacity:1,transform:"scaleY(1)"})),T("void => *",[V(jc)]),T("* => void",[V(Uc)])]),dm=be("slideAlertMotion",[T(":leave",[v({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),V(`${ue.SLOW} ${de.EASE_IN_OUT_CIRC}`,v({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),um=be("tabSwitchMotion",[he("leave",v({display:"none"})),T("* => enter",[v({display:"block",opacity:0}),V(ue.SLOW)]),T("* => leave, :leave",[v({position:"absolute",top:0,left:0,width:"100%"}),V(ue.SLOW,v({opacity:0})),v({display:"none"})])]),mm=be("thumbMotion",[he("from",v({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),he("to",v({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),he("fromVertical",v({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:0,width:0,height:0}}),he("toVertical",v({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:100,width:0,height:0}}),T("from => to",V(`300ms ${de.EASE_IN_OUT}`)),T("fromVertical => toVertical",V(`300ms ${de.EASE_IN_OUT}`))]),ba=be("zoomBigMotion",[T("void => active",[v({opacity:0,transform:"scale(0.8)"}),V(`${ue.BASE} ${de.EASE_OUT_CIRC}`,v({opacity:1,transform:"scale(1)"}))]),T("active => void",[v({opacity:1,transform:"scale(1)"}),V(`${ue.BASE} ${de.EASE_IN_OUT_CIRC}`,v({opacity:0,transform:"scale(0.8)"}))])]),vm=be("zoomBadgeMotion",[T(":enter",[v({opacity:0,transform:"scale(0) translate(50%, -50%)"}),V(`${ue.SLOW} ${de.EASE_OUT_BACK}`,v({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),T(":leave",[v({opacity:1,transform:"scale(1) translate(50%, -50%)"}),V(`${ue.SLOW} ${de.EASE_IN_BACK}`,v({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);var o2=(()=>{class t{animationType=l(U1,{optional:!0});nzNoAnimation=!1;static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(a,i){a&2&&N("nz-animate-disabled",i.nzNoAnimation||i.animationType==="NoopAnimations")},inputs:{nzNoAnimation:[2,"nzNoAnimation","nzNoAnimation",_]},exportAs:["nzNoAnimation"]})}return t})();var ze={top:new j({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new j({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new j({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new j({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new j({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new j({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new j({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new j({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new j({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new j({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new j({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new j({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new j({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Wc=(t=12)=>({top:[0,-t],topCenter:[0,-t],topLeft:[0,-t],topRight:[0,-t],right:[t,0],rightTop:[t,0],rightBottom:[t,0],bottom:[0,t],bottomCenter:[0,t],bottomLeft:[0,t],bottomRight:[0,t],left:[-t,0],leftTop:[-t,0],leftBottom:[-t,0]}),st=Wc(),T3=[ht(ze.top,st.top),ht(ze.right,st.right),ht(ze.bottom,st.bottom),ht(ze.left,st.left)],km=[ze.bottomLeft,ze.bottomRight,ze.topLeft,ze.topRight],Vm=[new j({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],Pm=[ze.bottomLeft,new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function D3(t){for(let n in ze)if(t.connectionPair.originX===ze[n].originX&&t.connectionPair.originY===ze[n].originY&&t.connectionPair.overlayX===ze[n].overlayX&&t.connectionPair.overlayY===ze[n].overlayY)return n}var r2={bottomLeft:new j({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new j({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new j({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new j({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},Tm=[r2.bottomLeft,r2.topLeft,r2.bottomRight,r2.topRight];function qc(t){return Array.isArray(t)?t:[t,t]}function ht(t,n){let[e,a]=qc(n);return G(y({},t),{offsetX:e,offsetY:a})}var Ma=(()=>{class t{cdkConnectedOverlay=l(Nt);nzArrowPointAtCenter=!1;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(Y()).subscribe(e=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(e)})}updateArrowPosition(e){let a=this.getOriginRect(),i=D3(e),o=0,r=0;i==="topLeft"||i==="bottomLeft"?o=a.width/2-14:i==="topRight"||i==="bottomRight"?o=-(a.width/2-14):i==="leftTop"||i==="rightTop"?r=a.height/2-10:(i==="leftBottom"||i==="rightBottom")&&(r=-(a.height/2-10)),(this.cdkConnectedOverlay.offsetX!==o||this.cdkConnectedOverlay.offsetY!==r)&&(this.cdkConnectedOverlay.offsetY=r,this.cdkConnectedOverlay.offsetX=o,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof It?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){let e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof z)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let a=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+a,height:i,width:a}}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",_]},exportAs:["nzConnectedOverlay"]})}return t})(),Ca=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();function Dm(t,n){n&&(t._host.style.zIndex=`${n}`)}var Gc=["overlay"];function $c(t,n){if(t&1&&(t4(0),Ke(1),n4()),t&2){let e=m(2);w(),Je(e.nzTitle)}}function Zc(t,n){if(t&1&&($(0,"div",2),le(1,"div",3),$(2,"div",4)(3,"div",5),Z(4,$c,2,1,"ng-container",6),X()()()),t&2){let e=m();i4(e.nzOverlayStyle),qe(e._classMap),N("ant-tooltip-rtl",e.dir==="rtl"),k("@.disabled",!!(e.noAnimation!=null&&e.noAnimation.nzNoAnimation))("nzNoAnimation",e.noAnimation==null?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),w(),i4(e._arrowStyleMap),w(2),i4(e._contentStyleMap),w(),k("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext)}}var Xc=(()=>{class t{componentType;config;cdkConnectedOverlayPush;visibleChange=new W;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){let e=this.placement;return Array.isArray(e)&&e.length>0?e:typeof e=="string"&&e?[e]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??!0}internalVisible=!1;getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new g;triggerDisposables=[];delayTimer;elementRef=l(z);hostView=l(Be);renderer=l(ne);noAnimation=l(o2,{host:!0,optional:!0});nzConfigService=l(u1);destroyRef=l(F);platformId=l(j1);constructor(e){this.componentType=e,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners()})}ngAfterViewInit(){Z1(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(e){let{trigger:a}=e;a&&!a.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e)}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){let e=this.hostView.createComponent(this.componentType);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();let a=this.component.nzVisibleChange.pipe(Ne());a.pipe(Y(this.destroyRef)).subscribe(i=>{this.internalVisible=i,this.visibleChange.emit(i)}),a.pipe(ve(i=>i),U3(0,Y1),ve(()=>!!this.component?.overlay?.overlayRef),Y(this.destroyRef)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){let e=this.elementRef.nativeElement,a=this.trigger;if(this.removeTriggerListeners(),a==="hover"){let i;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!i&&(i=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(i,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(i,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else a==="focus"?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):a==="click"&&this.triggerDisposables.push(this.renderer.listen(e,"click",i=>{i.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){let a=y({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],cdkConnectedOverlayPush:["cdkConnectedOverlayPush",()=>this.cdkConnectedOverlayPush]},this.getProxyPropertyMap());(e||Object.keys(a).filter(i=>!i.startsWith("directive"))).forEach(i=>{if(a[i]){let[o,r]=a[i];this.updateComponentValue(o,r())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,a){typeof a<"u"&&(this.component[e]=a)}delayEnterLeave(e,a,i=-1){this.delayTimer?this.clearTogglingTimer():i>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,a?this.show():this.hide()},i*1e3):a&&e?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static \u0275fac=function(a){return new(a||t)(x(X3))};static \u0275dir=u({type:t,features:[P]})}return t})(),Qc=(()=>{class t{overlay;noAnimation=l(o2,{host:!0,optional:!0});directionality=l(ge);cdr=l(fe);elementRef=l(z);destroyRef=l(F);nzTitle=null;nzContent=null;nzArrowPointAtCenter=!1;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=!0;nzBackdrop=!1;nzMouseEnterDelay;nzMouseLeaveDelay;cdkConnectedOverlayPush=!0;nzVisibleChange=new g;set nzVisible(e){let a=m8(e);this._visible!==a&&(this._visible=a,this.nzVisibleChange.next(a))}get nzVisible(){return this._visible}_visible=!1;set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){let a=e.map(i=>ht(ze[i],st[i]));this._positions=[...a,...T3]}preferredPlacement="top";origin;dir="ltr";_classMap={};_prefix="ant-tooltip";_positions=[...T3];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete()})}ngOnInit(){this.directionality.change?.pipe(Y(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.getDirection()==="rtl"&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(e){this.preferredPlacement=D3(e),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){if(!this.nzOverlayClickable)return;let a=Ye(e);!this.origin.nativeElement.contains(a)&&this.nzTrigger!==null&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap=G(y({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0})}transformClassListToMap(e){let a={};return(e!==null?e.split(/\s+/):[]).forEach(o=>a[o]=!0),a}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,viewQuery:function(a,i){if(a&1&&G1(Gc,5),a&2){let o;Ue(o=We())&&(i.overlay=o.first)}}})}return t})();function Jc(t){return t instanceof pe?!1:t===""||!w2(t)}var nv=(()=>{class t extends Xc{title;titleContext=null;directiveTitle;trigger="hover";placement="top";origin;visible;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;arrowPointAtCenter;cdkConnectedOverlayPush=!0;nzTooltipColor;directiveContent=null;content=null;overlayClickable;visibleChange=new W;constructor(){super(wa)}getProxyPropertyMap(){return G(y({},super.getProxyPropertyMap()),{nzTooltipColor:["nzColor",()=>this.nzTooltipColor],titleContext:["nzTitleContext",()=>this.titleContext]})}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(a,i){a&2&&N("ant-tooltip-open",i.visible)},inputs:{title:[0,"nzTooltipTitle","title"],titleContext:[0,"nzTooltipTitleContext","titleContext"],directiveTitle:[0,"nz-tooltip","directiveTitle"],trigger:[0,"nzTooltipTrigger","trigger"],placement:[0,"nzTooltipPlacement","placement"],origin:[0,"nzTooltipOrigin","origin"],visible:[0,"nzTooltipVisible","visible"],mouseEnterDelay:[0,"nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzTooltipOverlayClassName","overlayClassName"],overlayStyle:[0,"nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:[2,"nzTooltipArrowPointAtCenter","arrowPointAtCenter",_],cdkConnectedOverlayPush:[2,"cdkConnectedOverlayPush","cdkConnectedOverlayPush",_],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[R]})}return t})(),wa=(()=>{class t extends Qc{nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};isEmpty(){return Jc(this.nzTitle)}updateStyles(){let e=this.nzColor&&D8(this.nzColor);this._classMap=G(y({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:e}),this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null},this._arrowStyleMap={"--antd-arrow-background-color":this.nzColor&&!e?this.nzColor:null}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275cmp=ee({type:t,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[R],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(a,i){if(a&1){let o=y1();Z(0,Zc,5,15,"ng-template",1,0,n1),_e("overlayOutsideClick",function(c){return Oe(o),Le(i.onClickOutside(c))})("detach",function(){return Oe(o),Le(i.hide())})("positionChange",function(c){return Oe(o),Le(i.onPositionChange(c))})}a&2&&k("cdkConnectedOverlayOrigin",i.origin)("cdkConnectedOverlayOpen",i._visible)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayPush",i.cdkConnectedOverlayPush)("nzArrowPointAtCenter",i.nzArrowPointAtCenter)},dependencies:[P3,Nt,o2,C4,J1,Ca,Ma],encapsulation:2,data:{animation:[ba]},changeDetection:0})}return t})();var el=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[wa]})}return t})(),av=el;var tl={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:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},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"}},nl={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"}},H3=new b("");function uv(t){return r1([typeof t=="function"?{provide:H3,useFactory:t}:{provide:H3,useValue:t}])}var al=new b(""),il=(()=>{class t{_locale;_change=new E1(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(l(H3,{optional:!0})||nl),this.setDateLocale(l(al,{optional:!0}))}translate(e,a){let i=this._getObjectPath(this._locale,e);return typeof i=="string"?(a&&Object.keys(a).forEach(o=>i=i.replace(new RegExp(`%${o}%`,"g"),a[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,a){let i=e?this._getObjectPath(this._locale,e):this._locale;return!i&&!a&&C1(`Missing translations for "${e}" in language "${this._locale.locale}".
13
13
  You can use "NzI18nService.setLocale" as a temporary fix.
14
14
  Welcome to submit a pull request to help us optimize the translations!
15
- https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),i||a||this._getObjectPath(tl,e)||{}}_getObjectPath(e,a){let i=e,o=a.split("."),r=o.length,c=0;for(;i&&c<r;)i=i[o[c++]];return c===r?i:null}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mv=(()=>{class t{_locale=l(il);transform(e,a){return this._locale.translate(e,a)}static \u0275fac=function(a){return new(a||t)};static \u0275pipe=t6({name:"nzI18n",type:t,pure:!0})}return t})(),vv=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();export{ge as a,Ct as b,K as c,T2 as d,Ye as e,Yt as f,X1 as g,l1 as h,w1 as i,Pc as j,Ft as k,b3 as l,T1 as m,ea as n,Ac as o,_3 as p,M3 as q,C3 as r,Lt as s,$4 as t,ou as u,ta as v,Ln as w,R4 as x,sa as y,ha as z,Fc as A,i2 as B,j as C,ma as D,t2 as E,k3 as F,ga as G,V3 as H,It as I,Nt as J,P3 as K,Y as L,vt as M,zi as N,yi as O,D8 as P,t5 as Q,Za as R,C1 as S,ss as T,w2 as U,hs as V,ft as W,m8 as X,ds as Y,us as Z,ms as _,vs as $,ps as aa,fs as ba,gs as ca,ei as da,zs as ea,ys as fa,_s as ga,bs as ha,Ms as ia,Cs as ja,ws as ka,xs as la,Ss as ma,ks as na,Vs as oa,p8 as pa,x1 as qa,z8 as ra,u1 as sa,b4 as ta,M4 as ua,ze as va,st as wa,Vm as xa,Pm as ya,D3 as za,ht as Aa,Ma as Ba,Ca,Dm as Da,P0 as Ea,Ae as Fa,k1 as Ga,J1 as Ha,C4 as Ia,et as Ja,V1 as Ka,tt as La,J5 as Ma,e7 as Na,O0 as Oa,I0 as Pa,N0 as Qa,U2 as Ra,j0 as Sa,nl as Ta,uv as Ua,il as Va,mv as Wa,vv as Xa,Cn as Ya,wn as Za,ct as _a,Ko as $a,L4 as ab,Fn as bb,rr as cb,cr as db,f3 as eb,e9 as fb,t9 as gb,am as hb,om as ib,rm as jb,cm as kb,lm as lb,hm as mb,dm as nb,um as ob,ba as pb,vm as qb,o2 as rb,d3 as sb,y9 as tb,Mn as ub,qo as vb,_9 as wb,b9 as xb,g3 as yb,U4 as zb,W4 as Ab,v1 as Bb,to as Cb,io as Db,A4 as Eb,Ze as Fb,dn as Gb,G7 as Hb,it as Ib,wo as Jb,ko as Kb,Z7 as Lb,Po as Mb,o3 as Nb,Ho as Ob,Yo as Pb,Lo as Qb,Io as Rb,c3 as Sb,X7 as Tb,Q7 as Ub,yn as Vb,Cd as Wb,Nn as Xb,Rn as Yb,e1 as Zb,wd as _b,xc as $b,xd as ac,Xc as bc,Jc as cc,nv as dc,wa as ec,el as fc,av as gc};
15
+ https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),i||a||this._getObjectPath(tl,e)||{}}_getObjectPath(e,a){let i=e,o=a.split("."),r=o.length,c=0;for(;i&&c<r;)i=i[o[c++]];return c===r?i:null}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mv=(()=>{class t{_locale=l(il);transform(e,a){return this._locale.translate(e,a)}static \u0275fac=function(a){return new(a||t)};static \u0275pipe=t6({name:"nzI18n",type:t,pure:!0})}return t})(),vv=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();export{ge as a,Ct as b,K as c,T2 as d,Ye as e,Yt as f,X1 as g,l1 as h,w1 as i,Pc as j,Ft as k,b3 as l,T1 as m,ea as n,Ac as o,_3 as p,M3 as q,C3 as r,Lt as s,$4 as t,ou as u,ta as v,Ln as w,R4 as x,sa as y,ha as z,Fc as A,i2 as B,j as C,ma as D,t2 as E,k3 as F,ga as G,V3 as H,It as I,Nt as J,P3 as K,Y as L,vt as M,zi as N,yi as O,D8 as P,t5 as Q,Za as R,C1 as S,ss as T,w2 as U,hs as V,ft as W,m8 as X,ds as Y,us as Z,ms as _,vs as $,ps as aa,fs as ba,gs as ca,ei as da,zs as ea,ys as fa,_s as ga,bs as ha,Ms as ia,Cs as ja,ws as ka,xs as la,Ss as ma,ks as na,Vs as oa,p8 as pa,x1 as qa,z8 as ra,k2 as sa,u1 as ta,b4 as ua,M4 as va,ze as wa,st as xa,Vm as ya,Pm as za,D3 as Aa,ht as Ba,Ma as Ca,Ca as Da,Dm as Ea,P0 as Fa,Ae as Ga,k1 as Ha,J1 as Ia,C4 as Ja,et as Ka,V1 as La,tt as Ma,J5 as Na,e7 as Oa,O0 as Pa,I0 as Qa,N0 as Ra,U2 as Sa,j0 as Ta,nl as Ua,uv as Va,il as Wa,mv as Xa,vv as Ya,Cn as Za,wn as _a,ct as $a,Ko as ab,L4 as bb,Fn as cb,rr as db,cr as eb,f3 as fb,e9 as gb,t9 as hb,am as ib,om as jb,rm as kb,cm as lb,lm as mb,hm as nb,dm as ob,um as pb,ba as qb,vm as rb,o2 as sb,d3 as tb,y9 as ub,Mn as vb,qo as wb,_9 as xb,b9 as yb,g3 as zb,U4 as Ab,W4 as Bb,v1 as Cb,to as Db,io as Eb,A4 as Fb,Ze as Gb,dn as Hb,G7 as Ib,it as Jb,wo as Kb,ko as Lb,Z7 as Mb,Po as Nb,o3 as Ob,Ho as Pb,Yo as Qb,Lo as Rb,Io as Sb,c3 as Tb,X7 as Ub,Q7 as Vb,yn as Wb,Cd as Xb,Bn as Yb,In as Zb,Nn as _b,Rn as $b,e1 as ac,wd as bc,xc as cc,xd as dc,Xc as ec,Jc as fc,nv as gc,wa as hc,el as ic,av as jc};