@yinuo-ngm/server 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app.js +2 -0
- package/lib/plugins/error-handler.plugin.js +5 -0
- package/lib/plugins/nginx.binding.store.d.ts +4 -0
- package/lib/plugins/nginx.binding.store.js +39 -0
- package/lib/plugins/nginx.plugin.d.ts +3 -0
- package/lib/plugins/nginx.plugin.js +23 -0
- package/lib/plugins/ws/topics/index.d.ts +1 -0
- package/lib/plugins/ws/topics/index.js +1 -0
- package/lib/plugins/ws/topics/nginx.ws.d.ts +7 -0
- package/lib/plugins/ws/topics/nginx.ws.js +59 -0
- package/lib/plugins/ws/ws.plugin.js +3 -0
- package/lib/routes/api-client/hub-cookie-jar.d.ts +3 -0
- package/lib/routes/api-client/hub-cookie-jar.js +54 -0
- package/lib/routes/api-client/hub-token.routes.d.ts +2 -0
- package/lib/routes/api-client/hub-token.routes.js +284 -0
- package/lib/routes/api-client/index.d.ts +1 -0
- package/lib/routes/api-client/index.js +1 -0
- package/lib/routes/api-client/send.routes.js +60 -1
- package/lib/routes/hub.routes.d.ts +2 -0
- package/lib/routes/hub.routes.js +103 -0
- package/lib/routes/index.js +7 -0
- package/lib/routes/nginx/nginx-config.routes.d.ts +2 -0
- package/lib/routes/nginx/nginx-config.routes.js +94 -0
- package/lib/routes/nginx/nginx-lifecycle.routes.d.ts +2 -0
- package/lib/routes/nginx/nginx-lifecycle.routes.js +108 -0
- package/lib/routes/nginx/nginx-log.routes.d.ts +2 -0
- package/lib/routes/nginx/nginx-log.routes.js +47 -0
- package/lib/routes/nginx/nginx-module.routes.d.ts +2 -0
- package/lib/routes/nginx/nginx-module.routes.js +123 -0
- package/lib/routes/nginx/nginx-route.context.d.ts +9 -0
- package/lib/routes/nginx/nginx-route.context.js +36 -0
- package/lib/routes/nginx/nginx-server.routes.d.ts +2 -0
- package/lib/routes/nginx/nginx-server.routes.js +97 -0
- package/lib/routes/nginx.routes.d.ts +2 -0
- package/lib/routes/nginx.routes.js +17 -0
- package/lib/routes/node-version.routes.d.ts +2 -0
- package/lib/routes/node-version.routes.js +56 -0
- package/lib/routes/project.routes.js +5 -0
- package/lib/routes/sprite-browse.routes.js +19 -5
- package/lib/routes/sprite.routes.js +17 -11
- package/lib/routes/static-files.routes.js +16 -0
- package/lib/routes/task.routes.js +7 -0
- package/package.json +5 -4
- package/www/3rdpartylicenses.txt +75 -0
- package/www/browser/assets/vs/_commonjsHelpers-CT9FvmAN.js +1 -0
- package/www/browser/assets/vs/abap-D-t0cyap.js +1 -0
- package/www/browser/assets/vs/apex-CcIm7xu6.js +1 -0
- package/www/browser/assets/vs/assets/css.worker-HnVq6Ewq.js +93 -0
- package/www/browser/assets/vs/assets/editor.worker-Be8ye1pW.js +26 -0
- package/www/browser/assets/vs/assets/html.worker-B51mlPHg.js +470 -0
- package/www/browser/assets/vs/assets/json.worker-DKiEKt88.js +58 -0
- package/www/browser/assets/vs/assets/ts.worker-CMbG-7ft.js +67731 -0
- package/www/browser/assets/vs/azcli-BA0tQDCg.js +1 -0
- package/www/browser/assets/vs/basic-languages/monaco.contribution.js +1 -0
- package/www/browser/assets/vs/bat-C397hTD6.js +1 -0
- package/www/browser/assets/vs/bicep-DF5aW17k.js +2 -0
- package/www/browser/assets/vs/cameligo-plsz8qhj.js +1 -0
- package/www/browser/assets/vs/clojure-Y2auQMzK.js +1 -0
- package/www/browser/assets/vs/coffee-Bu45yuWE.js +1 -0
- package/www/browser/assets/vs/cpp-CkKPQIni.js +1 -0
- package/www/browser/assets/vs/csharp-CX28MZyh.js +1 -0
- package/www/browser/assets/vs/csp-D8uWnyxW.js +1 -0
- package/www/browser/assets/vs/css-CaeNmE3S.js +3 -0
- package/www/browser/assets/vs/cssMode-CjiAH6dQ.js +1 -0
- package/www/browser/assets/vs/cypher-DVThT8BS.js +1 -0
- package/www/browser/assets/vs/dart-CmGfCvrO.js +1 -0
- package/www/browser/assets/vs/dockerfile-CZqqYdch.js +1 -0
- package/www/browser/assets/vs/ecl-30fUercY.js +1 -0
- package/www/browser/assets/vs/editor/editor.main.css +1 -0
- package/www/browser/assets/vs/editor/editor.main.js +5 -0
- package/www/browser/assets/vs/editor.api-CalNCsUg.js +903 -0
- package/www/browser/assets/vs/elixir-xjPaIfzF.js +1 -0
- package/www/browser/assets/vs/flow9-DqtmStfK.js +1 -0
- package/www/browser/assets/vs/freemarker2-Cz_sV6Md.js +3 -0
- package/www/browser/assets/vs/fsharp-BOMdg4U1.js +1 -0
- package/www/browser/assets/vs/go-D_hbi-Jt.js +1 -0
- package/www/browser/assets/vs/graphql-CKUU4kLG.js +1 -0
- package/www/browser/assets/vs/handlebars-OwglfO-1.js +1 -0
- package/www/browser/assets/vs/hcl-DTaboeZW.js +1 -0
- package/www/browser/assets/vs/html-Pa1xEWsY.js +1 -0
- package/www/browser/assets/vs/htmlMode-Bz67EXwp.js +1 -0
- package/www/browser/assets/vs/ini-CsNwO04R.js +1 -0
- package/www/browser/assets/vs/java-CI4ZMsH9.js +1 -0
- package/www/browser/assets/vs/javascript-PczUCGdz.js +1 -0
- package/www/browser/assets/vs/jsonMode-DULH5oaX.js +7 -0
- package/www/browser/assets/vs/julia-BwzEvaQw.js +1 -0
- package/www/browser/assets/vs/kotlin-IUYPiTV8.js +1 -0
- package/www/browser/assets/vs/language/css/monaco.contribution.js +1 -0
- package/www/browser/assets/vs/language/html/monaco.contribution.js +1 -0
- package/www/browser/assets/vs/language/json/monaco.contribution.js +1 -0
- package/www/browser/assets/vs/language/typescript/monaco.contribution.js +1 -0
- package/www/browser/assets/vs/less-C0eDYdqa.js +2 -0
- package/www/browser/assets/vs/lexon-iON-Kj97.js +1 -0
- package/www/browser/assets/vs/liquid-DqKjdPGy.js +1 -0
- package/www/browser/assets/vs/loader.js +1368 -0
- package/www/browser/assets/vs/lspLanguageFeatures-kM9O9rjY.js +4 -0
- package/www/browser/assets/vs/lua-DtygF91M.js +1 -0
- package/www/browser/assets/vs/m3-CsR4AuFi.js +1 -0
- package/www/browser/assets/vs/markdown-C_rD0bIw.js +1 -0
- package/www/browser/assets/vs/mdx-DEWtB1K5.js +1 -0
- package/www/browser/assets/vs/mips-CiYP61RB.js +1 -0
- package/www/browser/assets/vs/monaco.contribution-D2OdxNBt.js +1 -0
- package/www/browser/assets/vs/monaco.contribution-DO3azKX8.js +1 -0
- package/www/browser/assets/vs/monaco.contribution-EcChJV6a.js +1 -0
- package/www/browser/assets/vs/monaco.contribution-qLAYrEOP.js +1 -0
- package/www/browser/assets/vs/msdax-C38-sJlp.js +1 -0
- package/www/browser/assets/vs/mysql-CdtbpvbG.js +1 -0
- package/www/browser/assets/vs/nls.messages-loader.js +1 -0
- package/www/browser/assets/vs/nls.messages.cs.js.js +17 -0
- package/www/browser/assets/vs/nls.messages.de.js.js +17 -0
- package/www/browser/assets/vs/nls.messages.es.js.js +17 -0
- package/www/browser/assets/vs/nls.messages.fr.js.js +15 -0
- package/www/browser/assets/vs/nls.messages.it.js.js +15 -0
- package/www/browser/assets/vs/nls.messages.ja.js.js +17 -0
- package/www/browser/assets/vs/nls.messages.js.js +10 -0
- package/www/browser/assets/vs/nls.messages.ko.js.js +25 -0
- package/www/browser/assets/vs/nls.messages.pl.js.js +17 -0
- package/www/browser/assets/vs/nls.messages.pt-br.js.js +6 -0
- package/www/browser/assets/vs/nls.messages.ru.js.js +17 -0
- package/www/browser/assets/vs/nls.messages.tr.js.js +15 -0
- package/www/browser/assets/vs/nls.messages.zh-cn.js.js +17 -0
- package/www/browser/assets/vs/nls.messages.zh-tw.js.js +15 -0
- package/www/browser/assets/vs/objective-c-CntZFaHX.js +1 -0
- package/www/browser/assets/vs/pascal-r6kuqfl_.js +1 -0
- package/www/browser/assets/vs/pascaligo-BiXoTmXh.js +1 -0
- package/www/browser/assets/vs/perl-DABw_TcH.js +1 -0
- package/www/browser/assets/vs/pgsql-me_jFXeX.js +1 -0
- package/www/browser/assets/vs/php-D_kh-9LK.js +1 -0
- package/www/browser/assets/vs/pla-VfZjczW0.js +1 -0
- package/www/browser/assets/vs/postiats-BBSzz8Pk.js +1 -0
- package/www/browser/assets/vs/powerquery-Dt-g_2cc.js +1 -0
- package/www/browser/assets/vs/powershell-B-7ap1zc.js +1 -0
- package/www/browser/assets/vs/protobuf-BmtuEB1A.js +2 -0
- package/www/browser/assets/vs/pug-BRpRNeEb.js +1 -0
- package/www/browser/assets/vs/python-Cr0UkIbn.js +1 -0
- package/www/browser/assets/vs/qsharp-BzsFaUU9.js +1 -0
- package/www/browser/assets/vs/r-f8dDdrp4.js +1 -0
- package/www/browser/assets/vs/razor-BYAHOTkz.js +1 -0
- package/www/browser/assets/vs/redis-fvZQY4PI.js +1 -0
- package/www/browser/assets/vs/redshift-45Et0LQi.js +1 -0
- package/www/browser/assets/vs/restructuredtext-C7UUFKFD.js +1 -0
- package/www/browser/assets/vs/ruby-CZO8zYTz.js +1 -0
- package/www/browser/assets/vs/rust-Bfetafyc.js +1 -0
- package/www/browser/assets/vs/sb-3GYllVck.js +1 -0
- package/www/browser/assets/vs/scala-foMgrKo1.js +1 -0
- package/www/browser/assets/vs/scheme-CHdMtr7p.js +1 -0
- package/www/browser/assets/vs/scss-C1cmLt9V.js +3 -0
- package/www/browser/assets/vs/shell-ClXCKCEW.js +1 -0
- package/www/browser/assets/vs/solidity-MZ6ExpPy.js +1 -0
- package/www/browser/assets/vs/sophia-DWkuSsPQ.js +1 -0
- package/www/browser/assets/vs/sparql-AUGFYSyk.js +1 -0
- package/www/browser/assets/vs/sql-32GpJSV2.js +1 -0
- package/www/browser/assets/vs/st-CuDFIVZ_.js +1 -0
- package/www/browser/assets/vs/swift-n-2HociN.js +3 -0
- package/www/browser/assets/vs/systemverilog-Ch4vA8Yt.js +1 -0
- package/www/browser/assets/vs/tcl-D74tq1nH.js +1 -0
- package/www/browser/assets/vs/tsMode-CZz1Umrk.js +11 -0
- package/www/browser/assets/vs/twig-C6taOxMV.js +1 -0
- package/www/browser/assets/vs/typescript-DfOrAzoV.js +1 -0
- package/www/browser/assets/vs/typespec-D-PIh9Xw.js +1 -0
- package/www/browser/assets/vs/vb-Dyb2648j.js +1 -0
- package/www/browser/assets/vs/wgsl-BhLXMOR0.js +298 -0
- package/www/browser/assets/vs/workers-DcJshg-q.js +1 -0
- package/www/browser/assets/vs/xml-CdsdnY8S.js +1 -0
- package/www/browser/assets/vs/yaml-DYGvmE88.js +1 -0
- package/www/browser/chunk-2BZRE4G7.js +1 -0
- package/www/browser/chunk-2X3MRS27.js +1 -0
- package/www/browser/chunk-4KETC6EB.js +1 -0
- package/www/browser/{chunk-SNCDDYQR.js → chunk-5T5KA5PG.js} +1 -1
- package/www/browser/chunk-6CGHNKJI.js +1 -0
- package/www/browser/chunk-76TVIB33.js +63 -0
- package/www/browser/chunk-7J24TP36.js +1 -0
- package/www/browser/chunk-ACAZUX6C.js +1 -0
- package/www/browser/chunk-B6MBYCXI.js +1 -0
- package/www/browser/chunk-BYEU6KGP.js +2 -0
- package/www/browser/chunk-CZ5AZ3VW.js +1 -0
- package/www/browser/chunk-DW7F5PEA.js +1 -0
- package/www/browser/chunk-DXF7BVK5.js +1 -0
- package/www/browser/{chunk-HEKO7RQP.js → chunk-EEVPZGEY.js} +1 -1
- package/www/browser/chunk-G2W3B7TJ.js +1 -0
- package/www/browser/chunk-GDWS2L66.js +1 -0
- package/www/browser/chunk-HGONFYP6.js +1 -0
- package/www/browser/chunk-HHBPULJW.js +2 -0
- package/www/browser/chunk-HRXCR3IN.js +1 -0
- package/www/browser/chunk-INL2PELS.js +1 -0
- package/www/browser/chunk-JHMEKUZ5.js +1 -0
- package/www/browser/{chunk-OC62FHHS.js → chunk-JU3TEDBV.js} +2 -2
- package/www/browser/chunk-JZULA5JV.js +1 -0
- package/www/browser/{chunk-HZ73CM45.js → chunk-KVFR7GFV.js} +1 -1
- package/www/browser/chunk-L5D75AMV.js +1 -0
- package/www/browser/chunk-L7TMCSHV.js +1 -0
- package/www/browser/{chunk-E6LF4XBJ.js → chunk-LQ5OXSW7.js} +2 -2
- package/www/browser/chunk-MVQTKINJ.js +1 -0
- package/www/browser/chunk-N4LRZJBP.js +1 -0
- package/www/browser/chunk-O2EYEF7J.js +1 -0
- package/www/browser/chunk-OMDHJIUB.js +1 -0
- package/www/browser/chunk-OWUAAOHW.js +2 -0
- package/www/browser/chunk-PIK5YPIB.js +1 -0
- package/www/browser/chunk-RHLQRQDK.js +9 -0
- package/www/browser/chunk-RW2JPJV7.js +1 -0
- package/www/browser/chunk-S3SJ4VVM.js +11 -0
- package/www/browser/chunk-SPRWNZHF.js +15 -0
- package/www/browser/chunk-SQQNR223.js +1 -0
- package/www/browser/chunk-SVQWPHF5.js +1 -0
- package/www/browser/{chunk-56SDBJDG.js → chunk-SYCNSLAW.js} +4 -4
- package/www/browser/chunk-T3KK7ZXB.js +2 -0
- package/www/browser/chunk-TMX5TTV3.js +1 -0
- package/www/browser/chunk-UFY3FLDK.js +1 -0
- package/www/browser/chunk-UJOHBN2Y.js +1 -0
- package/www/browser/chunk-UQGCUFNM.js +1 -0
- package/www/browser/chunk-UXXWRMM6.js +1 -0
- package/www/browser/chunk-UZRJGJTD.js +2 -0
- package/www/browser/chunk-WD4IAQR3.js +1 -0
- package/www/browser/chunk-WF2QTF5L.js +1 -0
- package/www/browser/chunk-WI67LAOV.js +4 -0
- package/www/browser/chunk-WNCM6QKB.js +1 -0
- package/www/browser/chunk-XJ5KZQNN.js +1 -0
- package/www/browser/chunk-YETDFSQE.js +1 -0
- package/www/browser/chunk-YMTC5GZK.js +1 -0
- package/www/browser/chunk-YVZHJ76K.js +1 -0
- package/www/browser/chunk-ZNTJRLVH.js +1 -0
- package/www/browser/favicon.ico +0 -0
- package/www/browser/index.html +2 -2
- package/www/browser/main-6LN5C22E.js +34 -0
- package/www/browser/scripts-U25HCVEI.js +6 -0
- package/www/browser/chunk-25RT7L2O.js +0 -1
- package/www/browser/chunk-2P5WKSWB.js +0 -5
- package/www/browser/chunk-2XZHN52E.js +0 -1
- package/www/browser/chunk-3MBM5AMR.js +0 -1
- package/www/browser/chunk-3V5PIKHE.js +0 -11
- package/www/browser/chunk-42JVTVYH.js +0 -1
- package/www/browser/chunk-4IQIZX7Y.js +0 -1
- package/www/browser/chunk-4UAHOL42.js +0 -1
- package/www/browser/chunk-5DD65JMJ.js +0 -1
- package/www/browser/chunk-5EQOKH7G.js +0 -12
- package/www/browser/chunk-6JH45SUC.js +0 -1
- package/www/browser/chunk-6X6PEDE5.js +0 -1
- package/www/browser/chunk-AI6SNMEH.js +0 -1
- package/www/browser/chunk-AMXCOT2F.js +0 -1
- package/www/browser/chunk-DP3VTELD.js +0 -1
- package/www/browser/chunk-EMK65RIU.js +0 -1
- package/www/browser/chunk-EYGWZTTT.js +0 -1
- package/www/browser/chunk-GKY4LJF4.js +0 -1
- package/www/browser/chunk-HJC5MNP5.js +0 -1
- package/www/browser/chunk-ITXWAN4J.js +0 -1
- package/www/browser/chunk-IZNTCWTR.js +0 -1
- package/www/browser/chunk-KN3WZJH7.js +0 -1
- package/www/browser/chunk-KPO75P5E.js +0 -1
- package/www/browser/chunk-LWBZC6ZL.js +0 -2
- package/www/browser/chunk-NYXWJKSW.js +0 -1
- package/www/browser/chunk-QM5ROT66.js +0 -1
- package/www/browser/chunk-SJG2JCPL.js +0 -4
- package/www/browser/chunk-W633D3VG.js +0 -1
- package/www/browser/chunk-X3HFJACM.js +0 -2
- package/www/browser/chunk-YFAKNLWB.js +0 -2
- package/www/browser/chunk-ZSPNEYSK.js +0 -1
- package/www/browser/main-O5GAJRDW.js +0 -34
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{c as b1,d as E,f as v,g as h1,h as S,i as ce,j as oe}from"./chunk-HFZLJHYR.js";import{a as h3,b as h8,e as l2,l as Y4,o as d8,r as u8,u as f8}from"./chunk-X3HFJACM.js";import{$ as N6,$b as K2,Aa as c1,Ab as R1,Ac as S1,B as J,Ba as Q,Bb as a3,Bc as i8,C as A6,Ca as I,Cc as G4,D as L6,Dc as O1,Eb as e1,Ec as ee,F as D6,Fb as C,Fc as R,Ga as c3,Gb as u,Gc as te,H as T6,Ha as A,Hc as $1,I as B6,Ib as U,Ic as G1,Jb as U4,Jc as J1,Ka as o3,Kb as Z,Kc as n8,L as I6,La as W6,M as v1,Ma as U6,N as T4,Na as q6,Nb as X6,O as k6,Oa as O,Pa as M1,Pc as c8,Q as B4,Qc as o8,Ra as z,Rc as r3,S as I4,Sa as s3,Sb as m4,T as F6,Tb as j1,U as P1,Ua as $6,Uc as N,V as k4,Vb as L,Wa as P4,Wc as ie,Xa as j4,Xb as D,Ya as W4,Yb as Z6,Z as R6,Zb as K6,_b as Z2,a as b,aa as P6,ac as V,ad as i4,b as G,ba as G2,bc as X,ca as H1,cc as K,da as Y2,dc as r1,ea as Q1,ec as Q6,ed as A1,f as O4,fa as j6,fc as J6,fd as x,g as N1,ga as F4,gc as e8,gd as o4,hc as Q2,hd as s8,i as I1,ib as G6,ic as J2,ja as v4,jc as t8,k as S6,kc as p4,kd as l3,l as g,la as a1,ld as t1,m as j2,ma as p,mb as w,md as a8,n as W2,na as M,nd as L1,o as A4,p as U2,pa as y,pd as r8,q as q2,qa as X2,qc as w1,qd as r2,r as $2,ra as r,rb as Y,rd as p1,s as L4,sa as R4,sb as F,sd as l8,t as O6,tb as Y6,tc as f,u as x1,ub as y1,uc as W1,va as N4,vb as m1,vc as l1,vd as _,w as D4,wb as E1,wc as q4,wd as g4,xa as k1,xb as i1,xc as $4,xd as ne,ya as F1,yb as H,yc as U1,zc as q1}from"./chunk-SJG2JCPL.js";function T(t){t||(t=r(I));let i=new I1(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(Q1(i))}function v8(t,i){let e=i?.injector??r(c1),n=new W2(1),c=o4(()=>{let o;try{o=t()}catch(s){A1(()=>n.error(s));return}A1(()=>n.next(o))},{injector:e,manualCleanup:!0});return e.get(I).onDestroy(()=>{c.destroy(),n.complete()}),n.asObservable()}function h2(t,i){let n=!i?.manualCleanup?i?.injector?.get(I)??r(I):null,c=Mi(i?.equal),o;i?.requireSync?o=A({kind:0},{equal:c}):o=A({kind:1,value:i?.initialValue},{equal:c});let s,a=t.subscribe({next:l=>o.set({kind:1,value:l}),error:l=>{o.set({kind:2,error:l}),s?.()},complete:()=>{s?.()}});if(i?.requireSync&&o().kind===0)throw new v4(601,!1);return s=n?.onDestroy(a.unsubscribe.bind(a)),x(()=>{let l=o();switch(l.kind){case 1:return l.value;case 2:throw l.error;case 0:throw new v4(601,!1)}},{equal:i?.equal})}function Mi(t=Object.is){return(i,e)=>i.kind===1&&e.kind===1&&t(i.value,e.value)}function z4(t){"@babel/helpers - typeof";return z4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},z4(t)}function m8(t,i){if(z4(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var n=e.call(t,i||"default");if(z4(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(t)}function p8(t){var i=m8(t,"string");return z4(i)=="symbol"?i:i+""}function D1(t,i,e){return(i=p8(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}var o1=Math.round;function d3(t,i){let e=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=e.map(c=>parseFloat(c));for(let c=0;c<3;c+=1)n[c]=i(n[c]||0,e[c]||"",c);return e[3]?n[3]=e[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}var g8=(t,i,e)=>e===0?t:t/100;function d2(t,i){let e=i||255;return t>e?e:t<0?0:t}var _4=class t{constructor(i){D1(this,"isValid",!0),D1(this,"r",0),D1(this,"g",0),D1(this,"b",0),D1(this,"a",1),D1(this,"_h",void 0),D1(this,"_s",void 0),D1(this,"_l",void 0),D1(this,"_v",void 0),D1(this,"_max",void 0),D1(this,"_min",void 0),D1(this,"_brightness",void 0);function e(c){return c[0]in i&&c[1]in i&&c[2]in i}if(i)if(typeof i=="string"){let o=function(s){return c.startsWith(s)};var n=o;let c=i.trim();/^#?[A-F\d]{3,8}$/i.test(c)?this.fromHexString(c):o("rgb")?this.fromRgbString(c):o("hsl")?this.fromHslString(c):(o("hsv")||o("hsb"))&&this.fromHsvString(c)}else if(i instanceof t)this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this._h=i._h,this._s=i._s,this._l=i._l,this._v=i._v;else if(e("rgb"))this.r=d2(i.r),this.g=d2(i.g),this.b=d2(i.b),this.a=typeof i.a=="number"?d2(i.a,1):1;else if(e("hsl"))this.fromHsl(i);else if(e("hsv"))this.fromHsv(i);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(i))}setR(i){return this._sc("r",i)}setG(i){return this._sc("g",i)}setB(i){return this._sc("b",i)}setA(i){return this._sc("a",i,1)}setHue(i){let e=this.toHsv();return e.h=i,this._c(e)}getLuminance(){function i(o){let s=o/255;return s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4)}let e=i(this.r),n=i(this.g),c=i(this.b);return .2126*e+.7152*n+.0722*c}getHue(){if(typeof this._h>"u"){let i=this.getMax()-this.getMin();i===0?this._h=0:this._h=o1(60*(this.r===this.getMax()?(this.g-this.b)/i+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/i+2:(this.r-this.g)/i+4))}return this._h}getSaturation(){if(typeof this._s>"u"){let i=this.getMax()-this.getMin();i===0?this._s=0:this._s=i/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(i=10){let e=this.getHue(),n=this.getSaturation(),c=this.getLightness()-i/100;return c<0&&(c=0),this._c({h:e,s:n,l:c,a:this.a})}lighten(i=10){let e=this.getHue(),n=this.getSaturation(),c=this.getLightness()+i/100;return c>1&&(c=1),this._c({h:e,s:n,l:c,a:this.a})}mix(i,e=50){let n=this._c(i),c=e/100,o=a=>(n[a]-this[a])*c+this[a],s={r:o1(o("r")),g:o1(o("g")),b:o1(o("b")),a:o1(o("a")*100)/100};return this._c(s)}tint(i=10){return this.mix({r:255,g:255,b:255,a:1},i)}shade(i=10){return this.mix({r:0,g:0,b:0,a:1},i)}onBackground(i){let e=this._c(i),n=this.a+e.a*(1-this.a),c=o=>o1((this[o]*this.a+e[o]*e.a*(1-this.a))/n);return this._c({r:c("r"),g:c("g"),b:c("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(i){return this.r===i.r&&this.g===i.g&&this.b===i.b&&this.a===i.a}clone(){return this._c(this)}toHexString(){let i="#",e=(this.r||0).toString(16);i+=e.length===2?e:"0"+e;let n=(this.g||0).toString(16);i+=n.length===2?n:"0"+n;let c=(this.b||0).toString(16);if(i+=c.length===2?c:"0"+c,typeof this.a=="number"&&this.a>=0&&this.a<1){let o=o1(this.a*255).toString(16);i+=o.length===2?o:"0"+o}return i}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let i=this.getHue(),e=o1(this.getSaturation()*100),n=o1(this.getLightness()*100);return this.a!==1?`hsla(${i},${e}%,${n}%,${this.a})`:`hsl(${i},${e}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(i,e,n){let c=this.clone();return c[i]=d2(e,n),c}_c(i){return new this.constructor(i)}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(i){let e=i.replace("#","");function n(c,o){return parseInt(e[c]+e[o||c],16)}e.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=e[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=e[6]?n(6,7)/255:1)}fromHsl({h:i,s:e,l:n,a:c}){if(this._h=i%360,this._s=e,this._l=n,this.a=typeof c=="number"?c:1,e<=0){let k=o1(n*255);this.r=k,this.g=k,this.b=k}let o=0,s=0,a=0,l=i/60,h=(1-Math.abs(2*n-1))*e,d=h*(1-Math.abs(l%2-1));l>=0&&l<1?(o=h,s=d):l>=1&&l<2?(o=d,s=h):l>=2&&l<3?(s=h,a=d):l>=3&&l<4?(s=d,a=h):l>=4&&l<5?(o=d,a=h):l>=5&&l<6&&(o=h,a=d);let m=n-h/2;this.r=o1((o+m)*255),this.g=o1((s+m)*255),this.b=o1((a+m)*255)}fromHsv({h:i,s:e,v:n,a:c}){this._h=i%360,this._s=e,this._v=n,this.a=typeof c=="number"?c:1;let o=o1(n*255);if(this.r=o,this.g=o,this.b=o,e<=0)return;let s=i/60,a=Math.floor(s),l=s-a,h=o1(n*(1-e)*255),d=o1(n*(1-e*l)*255),m=o1(n*(1-e*(1-l))*255);switch(a){case 0:this.g=m,this.b=h;break;case 1:this.r=d,this.b=h;break;case 2:this.r=h,this.b=m;break;case 3:this.r=h,this.g=d;break;case 4:this.r=m,this.g=h;break;case 5:default:this.g=h,this.b=d;break}}fromHsvString(i){let e=d3(i,g8);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]})}fromHslString(i){let e=d3(i,g8);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]})}fromRgbString(i){let e=d3(i,(n,c)=>c.includes("%")?o1(n/100*255):n);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3]}};var se=2,z8=.16,yi=.05,wi=.05,Ci=.15,y8=5,w8=4,Vi=[{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 _8(t,i,e){var n;return Math.round(t.h)>=60&&Math.round(t.h)<=240?n=e?Math.round(t.h)-se*i:Math.round(t.h)+se*i:n=e?Math.round(t.h)+se*i:Math.round(t.h)-se*i,n<0?n+=360:n>=360&&(n-=360),n}function b8(t,i,e){if(t.h===0&&t.s===0)return t.s;var n;return e?n=t.s-z8*i:i===w8?n=t.s+z8:n=t.s+yi*i,n>1&&(n=1),e&&i===y8&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function M8(t,i,e){var n;return e?n=t.v+wi*i:n=t.v-Ci*i,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function ae(t){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],n=new _4(t),c=n.toHsv(),o=y8;o>0;o-=1){var s=new _4({h:_8(c,o,!0),s:b8(c,o,!0),v:M8(c,o,!0)});e.push(s)}e.push(n);for(var a=1;a<=w8;a+=1){var l=new _4({h:_8(c,a),s:b8(c,a),v:M8(c,a)});e.push(l)}return i.theme==="dark"?Vi.map(function(h){var d=h.index,m=h.amount;return new _4(i.backgroundColor||"#141414").mix(e[d],m).toHexString()}):e.map(function(h){return h.toHexString()})}var C8=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];C8.primary=C8[5];var V8=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];V8.primary=V8[5];var x8=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];x8.primary=x8[5];var H8=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];H8.primary=H8[5];var E8=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];E8.primary=E8[5];var S8=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];S8.primary=S8[5];var O8=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];O8.primary=O8[5];var A8=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];A8.primary=A8[5];var L8=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];L8.primary=L8[5];var D8=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];D8.primary=D8[5];var T8=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];T8.primary=T8[5];var B8=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];B8.primary=B8[5];var I8=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];I8.primary=I8[5];var k8=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];k8.primary=k8[5];var F8=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];F8.primary=F8[5];var R8=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];R8.primary=R8[5];var N8=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];N8.primary=N8[5];var P8=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];P8.primary=P8[5];var j8=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];j8.primary=j8[5];var W8=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];W8.primary=W8[5];var U8=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];U8.primary=U8[5];var q8=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];q8.primary=q8[5];var $8=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];$8.primary=$8[5];var G8=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];G8.primary=G8[5];var Y8=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Y8.primary=Y8[5];var X8=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];X8.primary=X8[5];var n4="[@ant-design/icons-angular]:";function xi(t){console.error(`${n4} ${t}.`)}function Q8(t){r2()&&console.warn(`${n4} ${t}.`)}function Z8(t){return ae(t)[0]}function re(t,i){switch(i){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${n4}Theme "${i}" is not a recognized theme!`)}}function Hi(t,i,e,n){return`${re(t,i)}-${e}-${n}`}function Ei(t){return t==="o"?"outline":t}function Si(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}function J8(t){return typeof t=="object"&&typeof t.name=="string"&&(typeof t.theme=="string"||t.theme===void 0)&&typeof t.icon=="string"}function Oi(t){let i=t.split("-"),e=Ei(i.splice(i.length-1,1)[0]);return{name:i.join("-"),theme:e,icon:""}}function Ai(t){return t.cloneNode(!0)}function Li(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function le(t){let i=t.split(":");switch(i.length){case 1:return[t,""];case 2:return[i[1],i[0]];default:throw new Error(`${n4}The icon type ${t} is not valid!`)}}function Di(t){return le(t)[1]!==""}function Ti(){return new Error(`${n4}Type should have a namespace. Try "namespace:${name}".`)}function K8(t){return new Error(`${n4}the icon ${t} does not exist or is not registered.`)}function Bi(){return xi('you need to import "HttpClientModule" to use dynamic importing.'),null}function Ii(t){return new Error(`${n4}The url "${t}" is unsafe.`)}function ki(){return new Error(`${n4}<svg> tag not found.`)}function Fi(){return new Error(`${n4}Importing timeout error.`)}var Ri="__ant_icon_load",Ni=new y("ant_icons"),u3=(()=>{let i=class i{set twoToneColor({primaryColor:n,secondaryColor:c}){this._twoToneColorPalette.primaryColor=n,this._twoToneColorPalette.secondaryColor=c||Z8(n)}get twoToneColor(){return b({},this._twoToneColorPalette)}get _disableDynamicLoading(){return!1}constructor(n){this._antIcons=n,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=r(E1),this._handler=r(d8,{optional:!0}),this._document=r(Q),this.sanitizer=r(f8),this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new u8(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?Q8("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window[Ri]=n=>{this._jsonpIconLoad$.next(n)})}changeAssetsSource(n){this._assetsUrlRoot=n.endsWith("/")?n:n+"/"}addIcon(...n){n.forEach(c=>{this._svgDefinitions.set(re(c.name,c.theme),c)})}addIconLiteral(n,c){let[o,s]=le(n);if(!s)throw Ti();this.addIcon({name:n,icon:c})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(n,c){let o=J8(n)?n:this._svgDefinitions.get(n)||null;if(!o&&this._disableDynamicLoading)throw K8(n);return(o?x1(o):this._loadIconDynamically(n)).pipe(J(a=>{if(!a)throw K8(n);return this._loadSVGFromCacheOrCreateNew(a,c)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(n){if(!this._http&&!this._enableJsonpLoading)return x1(Bi());let c=this._inProgressFetches.get(n);if(!c){let[o,s]=le(n),a=s?{name:n,icon:""}:Oi(o),l=this._enableJsonpLoading?".js":".svg",h=(s?`${this._assetsUrlRoot}assets/${s}/${o}`:`${this._assetsUrlRoot}assets/${a.theme}/${a.name}`)+l,d=this.sanitizer.sanitize(G6.URL,h);if(!d)throw Ii(h);c=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(a,d):this._http.get(d,{responseType:"text"}).pipe(J(k=>G(b({},a),{icon:k})))).pipe(F4(k=>this.addIcon(k)),k4(()=>this._inProgressFetches.delete(n)),k6(()=>x1(null)),N6()),this._inProgressFetches.set(n,c)}return c}_loadIconDynamicallyWithJsonp(n,c){return new I1(o=>{let s=this._document.createElement("script"),a=setTimeout(()=>{l(),o.error(Fi())},6e3);s.src=c;function l(){s.parentNode.removeChild(s),clearTimeout(a)}this._document.body.appendChild(s),this._jsonpIconLoad$.pipe(v1(h=>h.name===n.name&&h.theme===n.theme),I4(1)).subscribe(h=>{o.next(h),l()})})}_loadSVGFromCacheOrCreateNew(n,c){let o,s=c||this._twoToneColorPalette.primaryColor,a=Z8(s)||this._twoToneColorPalette.secondaryColor,l=n.theme==="twotone"?Hi(n.name,n.theme,s,a):n.theme===void 0?n.name:re(n.name,n.theme),h=this._svgRenderedDefinitions.get(l);return h?o=h.icon:(o=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(Di(n.name)?n.icon:Li(n.icon)),n.theme==="twotone",s,a)),this._svgRenderedDefinitions.set(l,G(b({},n),{icon:o}))),Ai(o)}_createSVGElementFromString(n){let c=this._document.createElement("div");c.innerHTML=n;let o=c.querySelector("svg");if(!o)throw ki;return o}_setSVGAttribute(n){return this._renderer.setAttribute(n,"width","1em"),this._renderer.setAttribute(n,"height","1em"),n}_colorizeSVGIcon(n,c,o,s){if(c){let a=n.childNodes,l=a.length;for(let h=0;h<l;h++){let d=a[h];d.getAttribute("fill")==="secondaryColor"?this._renderer.setAttribute(d,"fill",s):this._renderer.setAttribute(d,"fill",o)}}return this._renderer.setAttribute(n,"fill","currentColor"),n}};i.\u0275fac=function(c){return new(c||i)(X2(Ni,8))},i.\u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})();function Pi(t,i){return t.type===i.type&&t.theme===i.theme&&t.twoToneColor===i.twoToneColor}var et=(()=>{let i=class i{constructor(n){this._iconService=n,this._elementRef=r(z),this._renderer=r(i1)}ngOnChanges(n){(n.type||n.theme||n.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(n=>{if(!this.type){this._clearSVGElement(),n(null);return}let c=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(o=>{let s=this._getSelfRenderMeta();Pi(c,s)?(this._setSVGElement(o),n(o)):n(null)})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(n,c){if(J8(n))return n;{let[o,s]=le(n);return s?n:Si(o)?(c&&Q8(`'type' ${o} already gets a theme inside so 'theme' ${c} would be ignored`),o):re(o,c||this._iconService.defaultTheme)}}_setSVGElement(n){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,n)}_clearSVGElement(){let n=this._elementRef.nativeElement,c=n.childNodes,o=c.length;for(let s=o-1;s>=0;s--){let a=c[s];a.tagName?.toLowerCase()==="svg"&&this._renderer.removeChild(n,a)}}};i.\u0275fac=function(c){return new(c||i)(H(u3))},i.\u0275dir=u({type:i,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[O]});let t=i;return t})();var he={isTestMode:!1};var tt={},ji="[NG-ZORRO]:";function Wi(...t){let i=t.reduce((e,n)=>e+n.toString(),"");return tt[i]?!1:(tt[i]=!0,!0)}function Ui(t,...i){(he.isTestMode||r2()&&Wi(...i))&&t(...i)}var u2=(...t)=>Ui((...i)=>console.warn(ji,...i),...t);function s4(t,i=0){return it(t)?Number(t):arguments.length===2?i:0}function it(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function b4(t){return t instanceof z?t.nativeElement:t}function X4(t){return Array.isArray(t)?t:[t]}function q(t){return t==null?"":typeof t=="string"?t:`${t}px`}function nt(t){return t!=null&&`${t}`!="false"}function $s(t,i){if(!t||!i||t.length!==i.length)return!1;let e=t.length;for(let n=0;n<e;n++)if(t[n]!==i[n])return!1;return!0}function _3(t){return typeof t<"u"&&t!==null}function f2(t){return t instanceof m1}function st(t){return nt(t)}function Gs(t){return g4(t,0)}function Ys(t){return g4(t,1/0)}function Xs(t,i=0){return s4(t,i)}function Zs(t){return q(t)}function Ks(t){if(!t.getClientRects().length)return{top:0,left:0};let i=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return{top:i.top+e.pageYOffset,left:i.left+e.pageXOffset}}function qi(t){return!!t&&typeof t.then=="function"&&typeof t.catch=="function"}function Qs(t){return typeof t=="number"&&isFinite(t)}function Js(t,i){return Math.round(t*Math.pow(10,i))/Math.pow(10,i)}var $i=typeof window<"u",ea=$i&&window.mozInnerScreenX!=null;function ta(t){if(typeof window<"u"&&window.document&&window.document.documentElement){let i=Array.isArray(t)?t:[t],{documentElement:e}=window.document;return i.some(n=>n in e.style)}return!1}var Gi=1,g3=3,Yi=8,B,f3={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function v3(t){if(!t)return 0;let i=t.match(/^\d*(\.\d*)?/);return i?Number(i[0]):0}function Xi(t){let i={},e=Array.prototype.slice.apply(t);for(let n of e)i[n]=t.getPropertyValue(n);return i}function Zi(t){let i=[];return t.forEach(e=>{let n=i[i.length-1];n&&e.nodeType===g3&&n.nodeType===g3?n.data+=e.data:i.push(e)}),i}function ia(t,i,e,n,c,o=""){B||(B=document.createElement("div"),B.setAttribute("aria-hidden","true"),document.body.appendChild(B));let s=window.getComputedStyle(t),a=Xi(s),l=v3(s.lineHeight),h=Math.round(l*(i+1)+v3(s.paddingTop)+v3(s.paddingBottom));for(let[W,V1]of Object.entries(a))B.style.setProperty(W,V1);B.style.position="fixed",B.style.left="0",B.style.height="auto",B.style.minHeight="auto",B.style.maxHeight="auto",B.style.top="-999999px",B.style.zIndex="-1000",B.style.textOverflow="clip",B.style.whiteSpace="normal",B.style.webkitLineClamp="none";let d=Zi(e),m=document.createElement("div"),k=document.createElement("span"),f1=document.createTextNode(o),s1=document.createElement("span");Object.assign(m.style,f3),Object.assign(k.style,f3),Object.assign(s1.style,f3),d.forEach(W=>{k.appendChild(W)}),k.appendChild(f1),n.forEach(W=>{s1.appendChild(W.cloneNode(!0))}),m.appendChild(k),m.appendChild(s1),B.appendChild(m);function _1(){return B.offsetHeight<h}if(_1()){let W=B.innerHTML;return B.removeChild(m),{contentNodes:e,text:W,ellipsis:!1}}let k2=Array.prototype.slice.apply(B.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:W})=>W!==Yi),gi=Array.prototype.slice.apply(B.childNodes[0].childNodes[1].cloneNode(!0).childNodes);B.removeChild(m),B.innerHTML="";let F2=document.createElement("span");B.appendChild(F2);let H6=document.createTextNode(c+o);F2.appendChild(H6),gi.forEach(W=>{B.appendChild(W)});function zi(W){F2.insertBefore(W,H6)}function i3(W,V1,t4=0,K1=V1.length,R2=0){let N2=Math.floor((t4+K1)/2);if(W.textContent=V1.slice(0,N2),t4>=K1-1)for(let P2=K1;P2>=t4;P2-=1){let n3=V1.slice(0,P2);if(W.textContent=n3,_1()||!n3)return P2===V1.length?{finished:!1,node:document.createTextNode(V1)}:{finished:!0,node:document.createTextNode(n3)}}return _1()?i3(W,V1,N2,K1,N2):i3(W,V1,t4,N2,R2)}function _i(W,V1){let t4=W.nodeType;if(t4===Gi)return _1()?{finished:!1,node:d[V1]}:(F2.removeChild(W),{finished:!0,node:null});if(t4===g3){let K1=W.textContent||"",R2=document.createTextNode(K1);return zi(R2),i3(R2,K1)}return{finished:!1,node:null}}let E6=[];k2.some((W,V1)=>{let{finished:t4,node:K1}=_i(W,V1);return K1&&E6.push(K1),t4});let bi={contentNodes:E6,text:B.innerHTML,ellipsis:!0};for(;B.firstChild;)B.removeChild(B.firstChild);return bi}var m3,p3,ct={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function na(t="vertical",i="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=t==="vertical";if(e&&m3)return m3;if(!e&&p3)return p3;let n=document.createElement("div");Object.keys(ct).forEach(o=>{n.style[o]=ct[o]}),n.className=`${i}-hide-scrollbar scroll-div-append-to-body`,e?n.style.overflowY="scroll":n.style.overflowX="scroll",document.body.appendChild(n);let c=0;return e?(c=n.offsetWidth-n.clientWidth,m3=c):(c=n.offsetHeight-n.clientHeight,p3=c),document.body.removeChild(n),c}function ca(){let t=new g;return Promise.resolve().then(()=>t.next()),t.pipe(I4(1))}function at(t){return D4(t)?t:qi(t)?new I1(i=>{Promise.resolve(t).then(e=>{i.next(e),i.complete()}).catch(e=>i.error(e))}):x1(t)}function b3(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ki="rc-util-key";function rt({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:Ki}function M3(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function ot(t,i={}){if(!b3())return null;let e=document.createElement("style");i.cspNonce&&(e.nonce=i.cspNonce),e.innerHTML=t;let n=M3(i),{firstChild:c}=n;return i.prepend&&n.prepend?n.prepend(e):i.prepend&&c?n.insertBefore(e,c):n.appendChild(e),e}var z3=new Map;function Qi(t,i={}){let e=M3(i);return Array.from(z3.get(e)?.children||[]).find(n=>n.tagName==="STYLE"&&n.getAttribute(rt(i))===t)}function lt(t,i,e={}){let n=M3(e);if(!z3.has(n)){let s=ot("",e),{parentNode:a}=s;z3.set(n,a),a.removeChild(s)}let c=Qi(i,e);if(c)return e.cspNonce&&c.nonce!==e.cspNonce&&(c.nonce=e.cspNonce),c.innerHTML!==t&&(c.innerHTML=t),c;let o=ot(t,e);return o?.setAttribute(rt(e),i),o}function M4(t,i,e){return{[`${t}-status-success`]:i==="success",[`${t}-status-warning`]:i==="warning",[`${t}-status-error`]:i==="error",[`${t}-status-validating`]:i==="validating",[`${t}-has-feedback`]:e}}function Ji(t){return typeof Zone<"u"?Zone.root.run(t):t()}function ht(t,i,e){return t?new I1(n=>Ji(()=>B6(t,i,e).subscribe(n))):q2}function y3(t,i,e){return{[`${t}-borderless`]:i==="borderless"||i==="outlined"&&e,[`${t}-filled`]:i==="filled",[`${t}-underlined`]:i==="underlined"}}var w3;try{w3=typeof Intl<"u"&&Intl.v8BreakIterator}catch{w3=!1}var $=(()=>{class t{_platformId=r(P4);isBrowser=this._platformId?Y4(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||w3)&&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(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var v2;function en(){if(v2==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>v2=!0}))}finally{v2=v2||!1}return v2}function dt(t){return en()?t:!!t.capture}var Y1=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Y1||{}),de,y4;function ue(){if(y4==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return y4=!1,y4;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)y4=!0;else{let t=Element.prototype.scrollTo;t?y4=!/\{\s*\[native code\]\s*\}/.test(t.toString()):y4=!1}}return y4}function Z4(){if(typeof document!="object"||!document)return Y1.NORMAL;if(de==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),de=Y1.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,de=t.scrollLeft===0?Y1.NEGATED:Y1.INVERTED),t.remove()}return de}var C3;function ut(){if(C3==null){let t=typeof document<"u"?document.head:null;C3=!!(t&&(t.createShadowRoot||t.attachShadow))}return C3}function V3(t){if(ut()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function x3(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function T1(t){return t.composedPath?t.composedPath()[0]:t.target}function H3(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function n1(t,i){tn(t)&&(t="100%");var e=nn(t);return t=i===360?t:Math.min(i,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*i),10)/100),Math.abs(t-i)<1e-6?1:(i===360?t=(t<0?t%i+i:t%i)/parseFloat(String(i)):t=t%i/parseFloat(String(i)),t)}function m2(t){return Math.min(1,Math.max(0,t))}function tn(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function nn(t){return typeof t=="string"&&t.indexOf("%")!==-1}function fe(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function p2(t){return t<=1?"".concat(Number(t)*100,"%"):t}function a4(t){return t.length===1?"0"+t:String(t)}function ft(t,i,e){return{r:n1(t,255)*255,g:n1(i,255)*255,b:n1(e,255)*255}}function S3(t,i,e){t=n1(t,255),i=n1(i,255),e=n1(e,255);var n=Math.max(t,i,e),c=Math.min(t,i,e),o=0,s=0,a=(n+c)/2;if(n===c)s=0,o=0;else{var l=n-c;switch(s=a>.5?l/(2-n-c):l/(n+c),n){case t:o=(i-e)/l+(i<e?6:0);break;case i:o=(e-t)/l+2;break;case e:o=(t-i)/l+4;break;default:break}o/=6}return{h:o,s,l:a}}function E3(t,i,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+(i-t)*(6*e):e<1/2?i:e<2/3?t+(i-t)*(2/3-e)*6:t}function vt(t,i,e){var n,c,o;if(t=n1(t,360),i=n1(i,100),e=n1(e,100),i===0)c=e,o=e,n=e;else{var s=e<.5?e*(1+i):e+i-e*i,a=2*e-s;n=E3(a,s,t+1/3),c=E3(a,s,t),o=E3(a,s,t-1/3)}return{r:n*255,g:c*255,b:o*255}}function g2(t,i,e){t=n1(t,255),i=n1(i,255),e=n1(e,255);var n=Math.max(t,i,e),c=Math.min(t,i,e),o=0,s=n,a=n-c,l=n===0?0:a/n;if(n===c)o=0;else{switch(n){case t:o=(i-e)/a+(i<e?6:0);break;case i:o=(e-t)/a+2;break;case e:o=(t-i)/a+4;break;default:break}o/=6}return{h:o,s:l,v:s}}function mt(t,i,e){t=n1(t,360)*6,i=n1(i,100),e=n1(e,100);var n=Math.floor(t),c=t-n,o=e*(1-i),s=e*(1-c*i),a=e*(1-(1-c)*i),l=n%6,h=[e,s,o,o,a,e][l],d=[a,e,e,s,o,o][l],m=[o,o,a,e,e,s][l];return{r:h*255,g:d*255,b:m*255}}function z2(t,i,e,n){var c=[a4(Math.round(t).toString(16)),a4(Math.round(i).toString(16)),a4(Math.round(e).toString(16))];return n&&c[0].startsWith(c[0].charAt(1))&&c[1].startsWith(c[1].charAt(1))&&c[2].startsWith(c[2].charAt(1))?c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0):c.join("")}function pt(t,i,e,n,c){var o=[a4(Math.round(t).toString(16)),a4(Math.round(i).toString(16)),a4(Math.round(e).toString(16)),a4(cn(n))];return c&&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 cn(t){return Math.round(parseFloat(t)*255).toString(16)}function O3(t){return C1(t)/255}function C1(t){return parseInt(t,16)}function gt(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var _2={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 l4(t){var i={r:0,g:0,b:0},e=1,n=null,c=null,o=null,s=!1,a=!1;return typeof t=="string"&&(t=an(t)),typeof t=="object"&&(c4(t.r)&&c4(t.g)&&c4(t.b)?(i=ft(t.r,t.g,t.b),s=!0,a=String(t.r).substr(-1)==="%"?"prgb":"rgb"):c4(t.h)&&c4(t.s)&&c4(t.v)?(n=p2(t.s),c=p2(t.v),i=mt(t.h,n,c),s=!0,a="hsv"):c4(t.h)&&c4(t.s)&&c4(t.l)&&(n=p2(t.s),o=p2(t.l),i=vt(t.h,n,o),s=!0,a="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=fe(e),{ok:s,format:t.format||a,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:e}}var on="[-\\+]?\\d+%?",sn="[-\\+]?\\d*\\.\\d+%?",r4="(?:".concat(sn,")|(?:").concat(on,")"),A3="[\\s|\\(]+(".concat(r4,")[,|\\s]+(").concat(r4,")[,|\\s]+(").concat(r4,")\\s*\\)?"),L3="[\\s|\\(]+(".concat(r4,")[,|\\s]+(").concat(r4,")[,|\\s]+(").concat(r4,")[,|\\s]+(").concat(r4,")\\s*\\)?"),X1={CSS_UNIT:new RegExp(r4),rgb:new RegExp("rgb"+A3),rgba:new RegExp("rgba"+L3),hsl:new RegExp("hsl"+A3),hsla:new RegExp("hsla"+L3),hsv:new RegExp("hsv"+A3),hsva:new RegExp("hsva"+L3),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 an(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var i=!1;if(_2[t])t=_2[t],i=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=X1.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=X1.rgba.exec(t),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=X1.hsl.exec(t),e?{h:e[1],s:e[2],l:e[3]}:(e=X1.hsla.exec(t),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=X1.hsv.exec(t),e?{h:e[1],s:e[2],v:e[3]}:(e=X1.hsva.exec(t),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=X1.hex8.exec(t),e?{r:C1(e[1]),g:C1(e[2]),b:C1(e[3]),a:O3(e[4]),format:i?"name":"hex8"}:(e=X1.hex6.exec(t),e?{r:C1(e[1]),g:C1(e[2]),b:C1(e[3]),format:i?"name":"hex"}:(e=X1.hex4.exec(t),e?{r:C1(e[1]+e[1]),g:C1(e[2]+e[2]),b:C1(e[3]+e[3]),a:O3(e[4]+e[4]),format:i?"name":"hex8"}:(e=X1.hex3.exec(t),e?{r:C1(e[1]+e[1]),g:C1(e[2]+e[2]),b:C1(e[3]+e[3]),format:i?"name":"hex"}:!1)))))))))}function c4(t){return!!X1.CSS_UNIT.exec(String(t))}var ve=(function(){function t(i,e){i===void 0&&(i=""),e===void 0&&(e={});var n;if(i instanceof t)return i;typeof i=="number"&&(i=gt(i)),this.originalInput=i;var c=l4(i);this.originalInput=i,this.r=c.r,this.g=c.g,this.b=c.b,this.a=c.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=e.format)!==null&&n!==void 0?n:c.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=c.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var i=this.toRgb();return(i.r*299+i.g*587+i.b*114)/1e3},t.prototype.getLuminance=function(){var i=this.toRgb(),e,n,c,o=i.r/255,s=i.g/255,a=i.b/255;return o<=.03928?e=o/12.92:e=Math.pow((o+.055)/1.055,2.4),s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),a<=.03928?c=a/12.92:c=Math.pow((a+.055)/1.055,2.4),.2126*e+.7152*n+.0722*c},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(i){return this.a=fe(i),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var i=this.toHsl().s;return i===0},t.prototype.toHsv=function(){var i=g2(this.r,this.g,this.b);return{h:i.h*360,s:i.s,v:i.v,a:this.a}},t.prototype.toHsvString=function(){var i=g2(this.r,this.g,this.b),e=Math.round(i.h*360),n=Math.round(i.s*100),c=Math.round(i.v*100);return this.a===1?"hsv(".concat(e,", ").concat(n,"%, ").concat(c,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(c,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var i=S3(this.r,this.g,this.b);return{h:i.h*360,s:i.s,l:i.l,a:this.a}},t.prototype.toHslString=function(){var i=S3(this.r,this.g,this.b),e=Math.round(i.h*360),n=Math.round(i.s*100),c=Math.round(i.l*100);return this.a===1?"hsl(".concat(e,", ").concat(n,"%, ").concat(c,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(c,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(i){return i===void 0&&(i=!1),z2(this.r,this.g,this.b,i)},t.prototype.toHexString=function(i){return i===void 0&&(i=!1),"#"+this.toHex(i)},t.prototype.toHex8=function(i){return i===void 0&&(i=!1),pt(this.r,this.g,this.b,this.a,i)},t.prototype.toHex8String=function(i){return i===void 0&&(i=!1),"#"+this.toHex8(i)},t.prototype.toHexShortString=function(i){return i===void 0&&(i=!1),this.a===1?this.toHexString(i):this.toHex8String(i)},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 i=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(i,", ").concat(e,", ").concat(n,")"):"rgba(".concat(i,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var i=function(e){return"".concat(Math.round(n1(e,255)*100),"%")};return{r:i(this.r),g:i(this.g),b:i(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var i=function(e){return Math.round(n1(e,255)*100)};return this.a===1?"rgb(".concat(i(this.r),"%, ").concat(i(this.g),"%, ").concat(i(this.b),"%)"):"rgba(".concat(i(this.r),"%, ").concat(i(this.g),"%, ").concat(i(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var i="#"+z2(this.r,this.g,this.b,!1),e=0,n=Object.entries(_2);e<n.length;e++){var c=n[e],o=c[0],s=c[1];if(i===s)return o}return!1},t.prototype.toString=function(i){var e=!!i;i=i??this.format;var n=!1,c=this.a<1&&this.a>=0,o=!e&&c&&(i.startsWith("hex")||i==="name");return o?i==="name"&&this.a===0?this.toName():this.toRgbString():(i==="rgb"&&(n=this.toRgbString()),i==="prgb"&&(n=this.toPercentageRgbString()),(i==="hex"||i==="hex6")&&(n=this.toHexString()),i==="hex3"&&(n=this.toHexString(!0)),i==="hex4"&&(n=this.toHex8String(!0)),i==="hex8"&&(n=this.toHex8String()),i==="name"&&(n=this.toName()),i==="hsl"&&(n=this.toHslString()),i==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(i){i===void 0&&(i=10);var e=this.toHsl();return e.l+=i/100,e.l=m2(e.l),new t(e)},t.prototype.brighten=function(i){i===void 0&&(i=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(i/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(i/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(i/100)))),new t(e)},t.prototype.darken=function(i){i===void 0&&(i=10);var e=this.toHsl();return e.l-=i/100,e.l=m2(e.l),new t(e)},t.prototype.tint=function(i){return i===void 0&&(i=10),this.mix("white",i)},t.prototype.shade=function(i){return i===void 0&&(i=10),this.mix("black",i)},t.prototype.desaturate=function(i){i===void 0&&(i=10);var e=this.toHsl();return e.s-=i/100,e.s=m2(e.s),new t(e)},t.prototype.saturate=function(i){i===void 0&&(i=10);var e=this.toHsl();return e.s+=i/100,e.s=m2(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(i){var e=this.toHsl(),n=(e.h+i)%360;return e.h=n<0?360+n:n,new t(e)},t.prototype.mix=function(i,e){e===void 0&&(e=50);var n=this.toRgb(),c=new t(i).toRgb(),o=e/100,s={r:(c.r-n.r)*o+n.r,g:(c.g-n.g)*o+n.g,b:(c.b-n.b)*o+n.b,a:(c.a-n.a)*o+n.a};return new t(s)},t.prototype.analogous=function(i,e){i===void 0&&(i=6),e===void 0&&(e=30);var n=this.toHsl(),c=360/e,o=[this];for(n.h=(n.h-(c*i>>1)+720)%360;--i;)n.h=(n.h+c)%360,o.push(new t(n));return o},t.prototype.complement=function(){var i=this.toHsl();return i.h=(i.h+180)%360,new t(i)},t.prototype.monochromatic=function(i){i===void 0&&(i=6);for(var e=this.toHsv(),n=e.h,c=e.s,o=e.v,s=[],a=1/i;i--;)s.push(new t({h:n,s:c,v:o})),o=(o+a)%1;return s},t.prototype.splitcomplement=function(){var i=this.toHsl(),e=i.h;return[this,new t({h:(e+72)%360,s:i.s,l:i.l}),new t({h:(e+216)%360,s:i.s,l:i.l})]},t.prototype.onBackground=function(i){var e=this.toRgb(),n=new t(i).toRgb(),c=e.a+n.a*(1-e.a);return new t({r:(e.r*e.a+n.r*n.a*(1-e.a))/c,g:(e.g*e.a+n.g*n.a*(1-e.a))/c,b:(e.b*e.a+n.b*n.a*(1-e.a))/c,a:c})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(i){for(var e=this.toHsl(),n=e.h,c=[this],o=360/i,s=1;s<i;s++)c.push(new t({h:(n+s*o)%360,s:e.s,l:e.l}));return c},t.prototype.equals=function(i){return this.toRgbString()===new t(i).toRgbString()},t})();var rn=["success","processing","error","default","warning"],ln=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function wt(t){return ln.indexOf(t)!==-1}function Aa(t){return rn.indexOf(t)!==-1}var me=2,zt=.16,hn=.05,dn=.05,un=.15,Ct=5,Vt=4,fn=[{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 _t({r:t,g:i,b:e}){let n=g2(t,i,e);return{h:n.h*360,s:n.s,v:n.v}}function pe({r:t,g:i,b:e}){return`#${z2(t,i,e,!1)}`}function vn(t,i,e){let n=e/100;return{r:(i.r-t.r)*n+t.r,g:(i.g-t.g)*n+t.g,b:(i.b-t.b)*n+t.b}}function bt(t,i,e){let n;return Math.round(t.h)>=60&&Math.round(t.h)<=240?n=e?Math.round(t.h)-me*i:Math.round(t.h)+me*i:n=e?Math.round(t.h)+me*i:Math.round(t.h)-me*i,n<0?n+=360:n>=360&&(n-=360),n}function Mt(t,i,e){if(t.h===0&&t.s===0)return t.s;let n;return e?n=t.s-zt*i:i===Vt?n=t.s+zt:n=t.s+hn*i,n>1&&(n=1),e&&i===Ct&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function yt(t,i,e){let n;return e?n=t.v+dn*i:n=t.v-un*i,n>1&&(n=1),Number(n.toFixed(2))}function D3(t,i={}){let e=[],n=l4(t);for(let c=Ct;c>0;c-=1){let o=_t(n),s=pe(l4({h:bt(o,c,!0),s:Mt(o,c,!0),v:yt(o,c,!0)}));e.push(s)}e.push(pe(n));for(let c=1;c<=Vt;c+=1){let o=_t(n),s=pe(l4({h:bt(o,c),s:Mt(o,c),v:yt(o,c)}));e.push(s)}return i.theme==="dark"?fn.map(({index:c,opacity:o})=>pe(vn(l4(i.backgroundColor||"#141414"),l4(e[c]),o*100))):e}var mn=new y("");var pn=`-ant-${Date.now()}-${Math.random()}`;function gn(t,i){let e={},n=(s,a)=>{let l=s.clone();return l=a?.(l)||l,l.toRgbString()},c=(s,a)=>{let l=new ve(s),h=D3(l.toRgbString());e[`${a}-color`]=n(l),e[`${a}-color-disabled`]=h[1],e[`${a}-color-hover`]=h[4],e[`${a}-color-active`]=h[7],e[`${a}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),e[`${a}-color-deprecated-bg`]=h[1],e[`${a}-color-deprecated-border`]=h[3]};if(i.primaryColor){c(i.primaryColor,"primary");let s=new ve(i.primaryColor),a=D3(s.toRgbString());a.forEach((h,d)=>{e[`primary-${d+1}`]=h}),e["primary-color-deprecated-l-35"]=n(s,h=>h.lighten(35)),e["primary-color-deprecated-l-20"]=n(s,h=>h.lighten(20)),e["primary-color-deprecated-t-20"]=n(s,h=>h.tint(20)),e["primary-color-deprecated-t-50"]=n(s,h=>h.tint(50)),e["primary-color-deprecated-f-12"]=n(s,h=>h.setAlpha(h.getAlpha()*.12));let l=new ve(a[0]);e["primary-color-active-deprecated-f-30"]=n(l,h=>h.setAlpha(h.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=n(l,h=>h.darken(2))}return i.successColor&&c(i.successColor,"success"),i.warningColor&&c(i.warningColor,"warning"),i.errorColor&&c(i.errorColor,"error"),i.infoColor&&c(i.infoColor,"info"),`
|
|
2
|
-
:root {
|
|
3
|
-
${Object.keys(e).map(s=>`--${t}-${s}: ${e[s]};`).join(`
|
|
4
|
-
`)}
|
|
5
|
-
}
|
|
6
|
-
`.trim()}function xt(t,i,e){let n=gn(t,i);b3()?lt(n,`${pn}-dynamic-theme`,{cspNonce:e}):u2("NzConfigService: SSR do not support dynamic theme with css variables.")}function Ht(t){return t!==void 0}var Et="ant",h4=(()=>{class t{configUpdated$=new g;_configMap=new Map;config=r(mn,{optional:!0})||{};cspNonce=r(W4,{optional:!0});constructor(){this.config.theme&&xt(this.getConfig().prefixCls?.prefixCls||Et,this.config.theme,this.cspNonce)}_getConfigValue(e){let n=this._configMap.get(e);return n||(n=A(this.config[e]),this._configMap.set(e,n),n)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(v1(n=>n===e),J(()=>{}))}set(e,n){this.config[e]=b(b({},this.config[e]),n),this._configMap.get(e)?.set(this.config[e]),e==="theme"&&this.config.theme&&xt(this.getConfig().prefixCls?.prefixCls||Et,this.config.theme,this.cspNonce),this.configUpdated$.next(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ge(t,i){let e=r(I),n=r(h4),c=null,o=y1(()=>{c=n.getConfigChangeEventForComponent(t).pipe(T(e)).subscribe(i)});return()=>{o.destroy(),c?.unsubscribe()}}function ze(){return function(t,i){i.addInitializer(function(){let e=r(h4),n=this[i.name],c,o=!1;Object.defineProperty(this,i.name,{get:()=>{let s=e.getConfigForComponent(this._nzModuleName)?.[i.name];return o?c:Ht(s)?s:n},set:s=>{o=Ht(s),c=s},enumerable:!0,configurable:!0})})}}var St={name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var Ot={name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var At={name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var Lt={name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var Dt={name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var Tt={name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'};var Bt={name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'};var It={name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'};var kt={name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'};var Ft={name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'},Rt={name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'};var Nt={name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'},Pt={name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'};var jt={name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'};var Wt={name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'};var Ut={name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'};var qt={name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'},$t={name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'};var Gt={name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'};var Yt={name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var Xt={name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var Zt={name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'};var Kt={name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'};var Qt={name:"eye-invisible",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" /></svg>'};var Jt={name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'};var e0={name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'};var t0={name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'};var i0={name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'};var n0={name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},c0={name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'};var o0={name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'};var s0={name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'};var a0={name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'};var r0={name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'};var l0={name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'};var h0={name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'};var d0={name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'};var T3={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'};var u0={name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'};var f0={name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'};var v0={name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'};var m0={name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'};var p0={name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'};var g0={name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var z0={name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var zn=[St,kt,Lt,Dt,Ot,At,Tt,Bt,It,Rt,Pt,Ft,Nt,jt,Wt,Ut,qt,$t,Gt,Yt,Xt,Zt,Kt,Qt,Jt,e0,t0,n0,c0,i0,o0,s0,a0,r0,h0,l0,T3,d0,T3,m0,p0,v0,u0,f0,g0,z0],b0=new y("");var _0="#1890ff",M0=(()=>{class t extends u3{nzConfigService=r(h4);platform=r($);configUpdated$=new g;get _disableDynamicLoading(){return!this.platform.isBrowser}iconfontCache=new Set;normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){let{scriptUrl:n}=e;if(this._document&&!this.iconfontCache.has(n)){let c=this._renderer.createElement("script");this._renderer.setAttribute(c,"src",n),this._renderer.setAttribute(c,"data-namespace",n.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,c),this.iconfontCache.add(n)}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}constructor(){super([...zn,...r(b0,{optional:!0})||[]]),this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){ge("icon",()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){let e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){let n=this.getConfig().nzTwotoneColor||_0,c=_0;n&&(n.startsWith("#")?c=n:u2("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:c}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),y0=new y("nz_icons_patch"),w0=(()=>{class t{rootIconService;patched=!1;extraIcons=r(y0,{self:!0});constructor(e){this.rootIconService=e}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}static \u0275fac=function(n){return new(n||t)(X2(M0))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),B1=(()=>{class t extends et{iconService;ngZone=r(F);changeDetectorRef=r(p1);renderer=r(i1);destroyRef=r(I);pendingTasks=r(o3);isBrowser=Y4(r(P4));nzSpin=!1;nzRotate=0;set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}hostClass;el;iconfont;constructor(e){super(e),this.iconService=e,r(w0,{optional:!0})?.doPatch(),this.el=this._elementRef.nativeElement}ngOnChanges(e){let{nzType:n,nzTwotoneColor:c,nzTheme:o,nzRotate:s,nzSpin:a}=e;n||c||o||a?this.ngZone.runOutsideAngular(()=>this.changeIcon2()):s?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngAfterContentChecked(){if(!this.type){let e=this.el.children,n=e.length;if(!this.type&&e.length)for(;n--;){let c=e[n];c.tagName.toLowerCase()==="svg"&&this.iconService.normalizeSvgElement(c)}}}changeIcon2(){let e=this.pendingTasks.add();at(this._changeIcon()).pipe(B4(0,this.isBrowser?U2:A4),T(this.destroyRef),k4(e)).subscribe({next:c=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),c&&(this.setSVGData(c),this.handleRotate(c))})},error:u2})}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}static \u0275fac=function(n){return new(n||t)(H(M0))};static \u0275dir=u({type:t,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:["role","img",1,"anticon"],hostVars:5,hostBindings:function(n,c){n&2&&(j1("aria-label",c.type),$1("anticon-"+c.type),R("anticon-spin",c.nzSpin||c.type==="loading"))},inputs:{nzSpin:[2,"nzSpin","nzSpin",_],nzRotate:[2,"nzRotate","nzRotate",g4],nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[U,O]})}return t})(),_n=t=>R4([{provide:b0,useValue:t}]),bn=t=>[w0,{provide:y0,useValue:t}],w4=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[_n(e)]}}static forChild(e){return{ngModule:t,providers:[bn(e)]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var Mn=new y("cdk-dir-doc",{providedIn:"root",factory:yn});function yn(){return r(Q)}var wn=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function C0(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?wn.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var g1=(()=>{class t{get value(){return this.valueSignal()}valueSignal=A("ltr");change=new Y;constructor(){let e=r(Mn,{optional:!0});if(e){let n=e.body?e.body.dir:null,c=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(C0(n||c||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var b2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var K4=(()=>{class t{viewContainer=r(R1);templateRef=r(m1);embeddedViewRef=null;context=new I3;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(e,n){return!0}recreateView(){this.viewContainer.clear(),f2(this.nzStringTemplateOutlet)?this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.templateRef,this.context)}updateContext(){let e=f2(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,n=this.embeddedViewRef.context;if(e)for(let c of Object.keys(e))n[c]=e[c]}ngOnChanges(e){let{nzStringTemplateOutletContext:n,nzStringTemplateOutlet:c}=e,o=()=>{let a=!1;return c&&(a=c.firstChange||f2(c.previousValue)||f2(c.currentValue)),n&&(d=>{let m=Object.keys(d.previousValue||{}),k=Object.keys(d.currentValue||{});if(m.length===k.length){for(let f1 of k)if(m.indexOf(f1)===-1)return!0;return!1}else return!0})(n)||a};c&&(this.context.$implicit=c.currentValue),o()?this.recreateView():this.updateContext()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[O]})}return t})(),I3=class{$implicit},_e=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var x0=["*"],Cn=t=>({$implicit:t});function Vn(t,i){if(t&1&&G1(0),t&2){let e=f(3);J1(e.nzSplit)}}function xn(t,i){if(t&1&&(X(0,"span",2),Z(1,Vn,1,1,"ng-template",3),K()),t&2){let e=f().$index,n=f();w(),V("nzStringTemplateOutlet",n.nzSplit)("nzStringTemplateOutletContext",ie(2,Cn,e))}}function Hn(t,i){if(t&1&&(X(0,"div",0),t8(1,1),K(),L(2,xn,2,4,"span",2)),t&2){let e=i.$implicit,n=i.$index,c=i.$count,o=f();w(),V("ngTemplateOutlet",e),w(),D(o.nzSplit&&n!==c-1?2:-1)}}var Q4=new y(""),H0=new y(""),C4=new y(""),En=(()=>{class t{nzBlock=t1(!1,{transform:_});nzDirection=t1("horizontal");nzSize=t1("default");elementRef=r(z);static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(n,c){n&2&&R("ant-space-compact-block",c.nzBlock())("ant-space-compact-vertical",c.nzDirection()==="vertical")},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[N([{provide:Q4,useFactory:()=>r(t).nzSize},{provide:H0,useFactory:()=>A([])}])],ngContentSelectors:x0,decls:1,vars:0,template:function(n,c){n&1&&(W1(),l1(0))},encapsulation:2,changeDetection:0})}return t})(),J4=(()=>{class t{spaceCompactCmp=r(En,{host:!0,optional:!0});items=r(H0,{host:!0,optional:!0});type=r(C4);elementRef=r(z);directionality=r(g1);dir=h2(this.directionality.change,{initialValue:this.directionality.value});get parentElement(){return this.elementRef.nativeElement?.parentElement}class=x(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;let e=this.items(),n=this.spaceCompactCmp.nzDirection(),c=[Sn(this.type,n,this.dir()==="rtl")],o=e.indexOf(this),s=e.findIndex(a=>a);return o===s&&c.push(On(this.type,n)),o===e.length-1&&c.push(An(this.type,n)),c});constructor(){!this.spaceCompactCmp||!this.items||(y1(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){let e=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(n=>{let c=n.slice();return c.splice(e,0,this),c})}}),r(I).onDestroy(()=>{this.items?.update(e=>e.filter(n=>n!==this))}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,hostVars:2,hostBindings:function(n,c){n&2&&$1(c.class())},exportAs:["nzSpaceCompactItem"]})}return t})();function k3(t,i,e){return`ant-${t}-compact-${i==="vertical"?"vertical-":""}${e}`}function Sn(t,i,e){let n=e?"-rtl":"";return`${k3(t,i,"item")}${n}`}function On(t,i){return k3(t,i,"first-item")}function An(t,i){return k3(t,i,"last-item")}var Ln=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzSpaceItem",""]]})}return t})(),Dn="space",Tn={small:8,middle:16,large:24},S9=(()=>{var n;let t,i=[],e=[];return n=class{_nzModuleName=Dn;nzConfigService=r(h4);cdr=r(p1);destroyRef=r(I);nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=!1;nzSize=L4(this,i,"small");items=L4(this,e);mergedAlign;horizontalSize;verticalSize;constructor(){this.updateSpaceSize()}ngOnChanges(o){let{nzSize:s}=o;s&&this.updateSpaceSize(),this.mergedAlign=this.nzAlign===void 0&&this.nzDirection==="horizontal"?"center":this.nzAlign}ngAfterContentInit(){this.items.changes.pipe(T(this.destroyRef)).subscribe(()=>{this.cdr.markForCheck()})}updateSpaceSize(){let{horizontalSize:o,verticalSize:s}=Bn(this.nzSize);this.horizontalSize=o,this.verticalSize=s}},(()=>{let o=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[ze()],$2(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:s=>"nzSize"in s,get:s=>s.nzSize,set:(s,a)=>{s.nzSize=a}},metadata:o},i,e),o&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),O4(n,"\u0275fac",function(s){return new(s||n)}),O4(n,"\u0275cmp",e1({type:n,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(s,a,l){if(s&1&&q4(l,Ln,4,m1),s&2){let h;U1(h=q1())&&(a.items=h)}},hostAttrs:[1,"ant-space"],hostVars:18,hostBindings:function(s,a){s&2&&(ee("flex-wrap",a.nzWrap?"wrap":null)("column-gap",a.horizontalSize,"px")("row-gap",a.verticalSize,"px"),R("ant-space-horizontal",a.nzDirection==="horizontal")("ant-space-vertical",a.nzDirection==="vertical")("ant-space-align-start",a.mergedAlign==="start")("ant-space-align-end",a.mergedAlign==="end")("ant-space-align-center",a.mergedAlign==="center")("ant-space-align-baseline",a.mergedAlign==="baseline"))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",_],nzSize:"nzSize"},exportAs:["nzSpace"],features:[O],ngContentSelectors:x0,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(s,a){s&1&&(W1(),l1(0),Z2(1,Hn,3,2,null,null,K6)),s&2&&(w(),K2(a.items))},dependencies:[l2,K4],encapsulation:2,changeDetection:0})),n})();function Bn(t){let[i,e]=(Array.isArray(t)?t:[t,t]).map(n=>typeof n=="number"?n:Tn[n]);return{horizontalSize:i,verticalSize:e}}var O9=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var S0=(()=>{class t{elementRef=r(z);renderer=r(i1);hidden=null;setHiddenAttribute(){this.hidden?typeof this.hidden=="string"?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden):this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(){this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nz-button",""],["","nz-icon",""],["nz-icon"],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[O]})}return t})(),O0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var F3=class{triggerElement;ngZone;insertExtraNode;platform;cspNonce;waveTransitionDuration=400;styleForPseudo=null;extraNode=null;lastTime=0;clickHandler;get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(i,e,n,c,o){this.triggerElement=i,this.ngZone=e,this.insertExtraNode=n,this.platform=c,this.cspNonce=o,this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}onClick=i=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||i.target.tagName==="INPUT"||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()};bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){let i=this.triggerElement,e=this.getWaveColor(i);i.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(e)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`
|
|
7
|
-
[ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {
|
|
8
|
-
--antd-wave-shadow-color: ${e};
|
|
9
|
-
}`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",i.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{i.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(i){return!!i&&i!=="#ffffff"&&i!=="rgb(255, 255, 255)"&&this.isNotGrey(i)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(i)&&i!=="transparent"}isNotGrey(i){let e=i.match(/rgba?\((\d*), (\d*), (\d*)(, [.\d]*)?\)/);return e&&e[1]&&e[2]&&e[3]?!(e[1]===e[2]&&e[2]===e[3]):!0}getWaveColor(i){let e=getComputedStyle(i);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(i,e){this.ngZone.runOutsideAngular(()=>setTimeout(i,e))}},kn={disabled:!1},A0=new y("");function Fn(t){return R4([{provide:A0,useValue:t}])}var L0=(()=>{class t{nzWaveExtraNode=!1;waveRenderer;waveDisabled=!1;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=r(W4,{optional:!0});platform=r($);config=r(A0,{optional:!0});animationType=r(j4,{optional:!0});ngZone=r(F);elementRef=r(z);constructor(){this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let e=!1;return this.config&&typeof this.config.disabled=="boolean"&&(e=this.config.disabled),this.animationType==="NoopAnimations"&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new F3(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platform,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return t})(),D0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({providers:[Fn(kn)]})}return t})();var Nn=["nz-button",""],Pn=["*"];function jn(t,i){t&1&&(X(0,"span",0),r1(1,"nz-icon",1),K())}var T0="button",R3=(()=>{var n;let t,i=[],e=[];return n=class{elementRef=r(z);cdr=r(p1);renderer=r(i1);directionality=r(g1);destroyRef=r(I);_nzModuleName=T0;nzIconDirectiveElement;nzBlock=!1;nzGhost=!1;nzSearch=!1;nzLoading=!1;nzDanger=!1;disabled=!1;tabIndex=null;nzType=null;nzShape=null;nzSize=L4(this,i,"default");dir=(L4(this,e),"ltr");elementOnly=A(!1);size=A(this.nzSize);compactSize=r(Q4,{optional:!0});loading$=new g;finalSize=x(()=>this.compactSize?this.compactSize():this.size());iconDir=L1(B1);loadingIconDir=a8(B1);iconOnly=x(()=>this.elementOnly()&&(!!this.iconDir()||!!this.loadingIconDir()));constructor(){ge(T0,()=>{this.size.set(this.nzSize),this.cdr.markForCheck()}),Y6({read:()=>{let{children:o}=this.elementRef.nativeElement,s=Array.from(o).filter(a=>a.style.display!=="none");this.elementOnly.set(s.length===1)}})}ngOnInit(){this.size.set(this.nzSize),this.directionality.change?.pipe(T(this.destroyRef)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,ht(this.elementRef.nativeElement,"click",{capture:!0}).pipe(T(this.destroyRef)).subscribe(o=>{(this.disabled&&o.target?.tagName==="A"||this.nzLoading)&&(o.preventDefault(),o.stopImmediatePropagation())})}ngOnChanges({nzLoading:o,nzSize:s}){o&&this.loading$.next(this.nzLoading),s&&this.size.set(s.currentValue)}ngAfterViewInit(){this.insertSpan()}ngAfterContentInit(){this.loading$.pipe(H1(this.nzLoading),v1(()=>!!this.nzIconDirectiveElement),T(this.destroyRef)).subscribe(o=>{let s=this.nzIconDirectiveElement.nativeElement;o?this.renderer.setStyle(s,"display","none"):this.renderer.removeStyle(s,"display")})}insertSpan(){this.elementRef.nativeElement.childNodes.forEach(o=>{if(o.nodeType===Node.TEXT_NODE&&o.textContent.trim().length>0){let s=this.renderer.createElement("span"),a=this.renderer.parentNode(o);this.renderer.insertBefore(a,s,o),this.renderer.appendChild(s,o)}})}},(()=>{let o=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[ze()],$2(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:s=>"nzSize"in s,get:s=>s.nzSize,set:(s,a)=>{s.nzSize=a}},metadata:o},i,e),o&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),O4(n,"\u0275fac",function(s){return new(s||n)}),O4(n,"\u0275cmp",e1({type:n,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(s,a,l){if(s&1&&(S1(l,a.iconDir,B1,5),q4(l,B1,5,z)),s&2){G4();let h;U1(h=q1())&&(a.nzIconDirectiveElement=h.first)}},viewQuery:function(s,a){s&1&&i8(a.loadingIconDir,B1,5),s&2&&G4()},hostAttrs:[1,"ant-btn"],hostVars:34,hostBindings:function(s,a){s&2&&(j1("tabindex",a.disabled?-1:a.tabIndex===null?null:a.tabIndex)("disabled",a.disabled||null),R("ant-btn-default",a.nzType==="default")("ant-btn-primary",a.nzType==="primary")("ant-btn-dashed",a.nzType==="dashed")("ant-btn-link",a.nzType==="link")("ant-btn-text",a.nzType==="text")("ant-btn-circle",a.nzShape==="circle")("ant-btn-round",a.nzShape==="round")("ant-btn-lg",a.finalSize()==="large")("ant-btn-sm",a.finalSize()==="small")("ant-btn-dangerous",a.nzDanger)("ant-btn-loading",a.nzLoading)("ant-btn-background-ghost",a.nzGhost)("ant-btn-block",a.nzBlock)("ant-input-search-button",a.nzSearch)("ant-btn-rtl",a.dir==="rtl")("ant-btn-icon-only",a.iconOnly()))},inputs:{nzBlock:[2,"nzBlock","nzBlock",_],nzGhost:[2,"nzGhost","nzGhost",_],nzSearch:[2,"nzSearch","nzSearch",_],nzLoading:[2,"nzLoading","nzLoading",_],nzDanger:[2,"nzDanger","nzDanger",_],disabled:[2,"disabled","disabled",_],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[N([{provide:C4,useValue:"btn"}]),U4([J4]),O],attrs:Nn,ngContentSelectors:Pn,decls:2,vars:1,consts:[[1,"ant-btn-icon","ant-btn-loading-icon"],["nzType","loading"]],template:function(s,a){s&1&&(W1(),L(0,jn,2,0,"span",0),l1(1)),s&2&&D(a.nzLoading?0:-1)},dependencies:[w4,B1],encapsulation:2,changeDetection:0})),n})(),B0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[R3,O0,D0]})}return t})();var U0=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(H(i1),H(z))};static \u0275dir=u({type:t})}return t})(),U3=(()=>{class t extends U0{static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275dir=u({type:t,features:[U]})}return t})(),u4=new y(""),Un={provide:u4,useExisting:a1(()=>qn),multi:!0},qn=(()=>{class t extends U3{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275dir=u({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,c){n&1&&w1("change",function(s){return c.onChange(s.target.checked)})("blur",function(){return c.onTouched()})},standalone:!1,features:[N([Un]),U]})}return t})(),$n={provide:u4,useExisting:a1(()=>Se),multi:!0};function Gn(){let t=h3()?h3().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Yn=new y(""),Se=(()=>{class t extends U0{_compositionMode;_composing=!1;constructor(e,n,c){super(e,n),this._compositionMode=c,this._compositionMode==null&&(this._compositionMode=!Gn())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(H(i1),H(z),H(Yn,8))};static \u0275dir=u({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,c){n&1&&w1("input",function(s){return c._handleInput(s.target.value)})("blur",function(){return c.onTouched()})("compositionstart",function(){return c._compositionStart()})("compositionend",function(s){return c._compositionEnd(s.target.value)})},standalone:!1,features:[N([$n]),U]})}return t})();function q3(t){return t==null||$3(t)===0}function $3(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var x4=new y(""),Oe=new y(""),Xn=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ye=class{static min(i){return q0(i)}static max(i){return Zn(i)}static required(i){return $0(i)}static requiredTrue(i){return Kn(i)}static email(i){return Qn(i)}static minLength(i){return Jn(i)}static maxLength(i){return G0(i)}static pattern(i){return e7(i)}static nullValidator(i){return we()}static compose(i){return J0(i)}static composeAsync(i){return e5(i)}};function q0(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e<t?{min:{min:t,actual:i.value}}:null}}function Zn(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function $0(t){return q3(t.value)?{required:!0}:null}function Kn(t){return t.value===!0?null:{required:!0}}function Qn(t){return q3(t.value)||Xn.test(t.value)?null:{email:!0}}function Jn(t){return i=>{let e=i.value?.length??$3(i.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function G0(t){return i=>{let e=i.value?.length??$3(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function e7(t){if(!t)return we;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(q3(n.value))return null;let c=n.value;return i.test(c)?null:{pattern:{requiredPattern:e,actualValue:c}}}}function we(t){return null}function Y0(t){return t!=null}function X0(t){return X6(t)?O6(t):t}function Z0(t){let i={};return t.forEach(e=>{i=e!=null?b(b({},i),e):i}),Object.keys(i).length===0?null:i}function K0(t,i){return i.map(e=>e(t))}function t7(t){return!t.validate}function Q0(t){return t.map(i=>t7(i)?i:e=>i.validate(e))}function J0(t){if(!t)return null;let i=t.filter(Y0);return i.length==0?null:function(e){return Z0(K0(e,i))}}function G3(t){return t!=null?J0(Q0(t)):null}function e5(t){if(!t)return null;let i=t.filter(Y0);return i.length==0?null:function(e){let n=K0(e,i).map(X0);return T6(n).pipe(J(Z0))}}function Y3(t){return t!=null?e5(Q0(t)):null}function I0(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function t5(t){return t._rawValidators}function i5(t){return t._rawAsyncValidators}function N3(t){return t?Array.isArray(t)?t:[t]:[]}function Ce(t,i){return Array.isArray(t)?t.includes(i):t===i}function k0(t,i){let e=N3(i);return N3(t).forEach(c=>{Ce(e,c)||e.push(c)}),e}function F0(t,i){return N3(i).filter(e=>!Ce(t,e))}var Ve=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=G3(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Y3(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},V4=class extends Ve{name;get formDirective(){return null}get path(){return null}},Z1=class extends Ve{_parent=null;name=null;valueAccessor=null},xe=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},i7={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},wr=G(b({},i7),{"[class.ng-submitted]":"isSubmitted"}),n5=(()=>{class t extends xe{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(H(Z1,2))};static \u0275dir=u({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,c){n&2&&R("ng-untouched",c.isUntouched)("ng-touched",c.isTouched)("ng-pristine",c.isPristine)("ng-dirty",c.isDirty)("ng-valid",c.isValid)("ng-invalid",c.isInvalid)("ng-pending",c.isPending)},standalone:!1,features:[U]})}return t})(),Cr=(()=>{class t extends xe{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(H(V4,10))};static \u0275dir=u({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,c){n&2&&R("ng-untouched",c.isUntouched)("ng-touched",c.isTouched)("ng-pristine",c.isPristine)("ng-dirty",c.isDirty)("ng-valid",c.isValid)("ng-invalid",c.isInvalid)("ng-pending",c.isPending)("ng-submitted",c.isSubmitted)},standalone:!1,features:[U]})}return t})();var M2="VALID",be="INVALID",e2="PENDING",y2="DISABLED",d4=class{},He=class extends d4{value;source;constructor(i,e){super(),this.value=i,this.source=e}},C2=class extends d4{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},V2=class extends d4{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},t2=class extends d4{status;source;constructor(i,e){super(),this.status=i,this.source=e}},P3=class extends d4{source;constructor(i){super(),this.source=i}},x2=class extends d4{source;constructor(i){super(),this.source=i}};function X3(t){return(Ae(t)?t.validators:t)||null}function n7(t){return Array.isArray(t)?G3(t):t||null}function Z3(t,i){return(Ae(i)?i.asyncValidators:t)||null}function c7(t){return Array.isArray(t)?Y3(t):t||null}function Ae(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function c5(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new v4(1e3,"");if(!n[e])throw new v4(1001,"")}function o5(t,i,e){t._forEachChild((n,c)=>{if(e[c]===void 0)throw new v4(1002,"")})}var i2=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return A1(this.statusReactive)}set status(i){A1(()=>this.statusReactive.set(i))}_status=x(()=>this.statusReactive());statusReactive=A(void 0);get valid(){return this.status===M2}get invalid(){return this.status===be}get pending(){return this.status==e2}get disabled(){return this.status===y2}get enabled(){return this.status!==y2}errors;get pristine(){return A1(this.pristineReactive)}set pristine(i){A1(()=>this.pristineReactive.set(i))}_pristine=x(()=>this.pristineReactive());pristineReactive=A(!0);get dirty(){return!this.pristine}get touched(){return A1(this.touchedReactive)}set touched(i){A1(()=>this.touchedReactive.set(i))}_touched=x(()=>this.touchedReactive());touchedReactive=A(!1);get untouched(){return!this.touched}_events=new g;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(k0(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(k0(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(F0(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(F0(i,this._rawAsyncValidators))}hasValidator(i){return Ce(this._rawValidators,i)}hasAsyncValidator(i){return Ce(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(G(b({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new V2(!0,n))}markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(c=>{c.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new V2(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(G(b({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new C2(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(c=>{c.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new C2(!0,n))}markAsPending(i={}){this.status=e2;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new t2(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(G(b({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=y2,this.errors=null,this._forEachChild(c=>{c.disable(G(b({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new He(this.value,n)),this._events.next(new t2(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(G(b({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(c=>c(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=M2,this._forEachChild(n=>{n.enable(G(b({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(G(b({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===M2||this.status===e2)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new He(this.value,e)),this._events.next(new t2(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(G(b({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?y2:M2}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=e2,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:i!==!1};let n=X0(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(c=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(c,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,c)=>n&&n._find(c),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new t2(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new Y,this.statusChanges=new Y}_calculateStatus(){return this._allControlsDisabled()?y2:this.errors?be:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(e2)?e2:this._anyControlsHaveStatus(be)?be:M2}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),c=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),c&&this._events.next(new C2(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new V2(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Ae(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=n7(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=c7(this._rawAsyncValidators)}},n2=class extends i2{constructor(i,e,n){super(X3(e),Z3(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){o5(this,!0,i),Object.keys(i).forEach(n=>{c5(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let c=this.controls[n];c&&c.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,c)=>{n.reset(i?i[c]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new x2(this))}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,c)=>((n.enabled||this.disabled)&&(e[c]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((c,o)=>{n=e(n,c,o)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var j3=class extends n2{};var H2=new y("",{providedIn:"root",factory:()=>Le}),Le="always";function s5(t,i){return[...i.path,t]}function K3(t,i,e=Le){a5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),a7(t,i),l7(t,i),r7(t,i),o7(t,i)}function R0(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),s7(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ee(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function o7(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function a5(t,i){let e=t5(t);i.validator!==null?t.setValidators(I0(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=i5(t);i.asyncValidator!==null?t.setAsyncValidators(I0(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let c=()=>t.updateValueAndValidity();Ee(i._rawValidators,c),Ee(i._rawAsyncValidators,c)}function s7(t,i){let e=!1;if(t!==null){if(i.validator!==null){let c=t5(t);if(Array.isArray(c)&&c.length>0){let o=c.filter(s=>s!==i.validator);o.length!==c.length&&(e=!0,t.setValidators(o))}}if(i.asyncValidator!==null){let c=i5(t);if(Array.isArray(c)&&c.length>0){let o=c.filter(s=>s!==i.asyncValidator);o.length!==c.length&&(e=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Ee(i._rawValidators,n),Ee(i._rawAsyncValidators,n),e}function a7(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&r5(t,i)})}function r7(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&r5(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function r5(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function l7(t,i){let e=(n,c)=>{i.valueAccessor.writeValue(n),c&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function h7(t,i){t==null,a5(t,i)}function Q3(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function d7(t){return Object.getPrototypeOf(t.constructor)===U3}function u7(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function J3(t,i){if(!i)return null;Array.isArray(i);let e,n,c;return i.forEach(o=>{o.constructor===Se?e=o:d7(o)?n=o:c=o}),c||n||e||null}var f7={provide:V4,useExisting:a1(()=>v7)},w2=Promise.resolve(),v7=(()=>{class t extends V4{callSetDisabledState;get submitted(){return A1(this.submittedReactive)}_submitted=x(()=>this.submittedReactive());submittedReactive=A(!1);_directives=new Set;form;ngSubmit=new Y;options;constructor(e,n,c){super(),this.callSetDisabledState=c,this.form=new n2({},G3(e),Y3(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){w2.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),K3(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){w2.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){w2.then(()=>{let n=this._findContainer(e.path),c=new n2({});h7(c,e),n.registerControl(e.name,c),c.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){w2.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){w2.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),u7(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new P3(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(H(x4,10),H(Oe,10),H(H2,8))};static \u0275dir=u({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,c){n&1&&w1("submit",function(s){return c.onSubmit(s)})("reset",function(){return c.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[N([f7]),U]})}return t})();function N0(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function P0(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Me=class extends i2{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(X3(e),Z3(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ae(e)&&(e.nonNullable||e.initialValueIsDefault)&&(P0(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new x2(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){N0(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){N0(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){P0(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var m7={provide:Z1,useExisting:a1(()=>p7)},j0=Promise.resolve(),p7=(()=>{class t extends Z1{_changeDetectorRef;callSetDisabledState;control=new Me;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Y;constructor(e,n,c,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(n),this._setAsyncValidators(c),this.valueAccessor=J3(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Q3(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){K3(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){j0.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,c=n!==0&&_(n);j0.then(()=>{c&&!this.control.disabled?this.control.disable():!c&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?s5(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(H(V4,9),H(x4,10),H(Oe,10),H(u4,10),H(p1,8),H(H2,8))};static \u0275dir=u({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[N([m7]),U,O]})}return t})();var xr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),g7={provide:u4,useExisting:a1(()=>z7),multi:!0},z7=(()=>{class t extends U3{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275dir=u({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,c){n&1&&w1("input",function(s){return c.onChange(s.target.value)})("blur",function(){return c.onTouched()})},standalone:!1,features:[N([g7]),U]})}return t})();var e6=new y(""),_7={provide:Z1,useExisting:a1(()=>t6)},t6=(()=>{class t extends Z1{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new Y;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,c,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=J3(this,c)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&R0(n,this,!1),K3(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Q3(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&R0(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(H(x4,10),H(Oe,10),H(u4,10),H(e6,8),H(H2,8))};static \u0275dir=u({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[N([_7]),U,O]})}return t})();var b7={provide:Z1,useExisting:a1(()=>M7)},M7=(()=>{class t extends Z1{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new Y;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,c,o,s){super(),this._ngModelWarningConfig=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(c),this.valueAccessor=J3(this,o)}ngOnChanges(e){this._added||this._setUpControl(),Q3(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return s5(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(H(V4,13),H(x4,10),H(Oe,10),H(u4,10),H(e6,8))};static \u0275dir=u({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[N([b7]),U,O]})}return t})();function y7(t){return typeof t=="number"?t:parseInt(t,10)}function w7(t){return typeof t=="number"?t:parseFloat(t)}var i6=(()=>{class t{_validator=we;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):we,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,features:[O]})}return t})();var C7={provide:x4,useExisting:a1(()=>V7),multi:!0},V7=(()=>{class t extends i6{min;inputName="min";normalizeInput=e=>w7(e);createValidator=e=>q0(e);static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275dir=u({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,c){n&2&&j1("min",c._enabled?c.min:null)},inputs:{min:"min"},standalone:!1,features:[N([C7]),U]})}return t})(),x7={provide:x4,useExisting:a1(()=>H7),multi:!0};var H7=(()=>{class t extends i6{required;inputName="required";normalizeInput=_;createValidator=e=>$0;enabled(e){return e}static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275dir=u({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,c){n&2&&j1("required",c._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[N([x7]),U]})}return t})();var E7={provide:x4,useExisting:a1(()=>n6),multi:!0},n6=(()=>{class t extends i6{maxlength;inputName="maxlength";normalizeInput=e=>y7(e);createValidator=e=>G0(e);static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275dir=u({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,c){n&2&&j1("maxlength",c._enabled?c.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[N([E7]),U]})}return t})();var l5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})(),W3=class extends i2{constructor(i,e,n){super(X3(e),Z3(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){Array.isArray(i)?i.forEach(n=>{this.controls.push(n),this._registerControl(n)}):(this.controls.push(i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let c=this._adjustIndex(i);c<0&&(c=0),this.controls[c]&&this.controls[c]._registerOnCollectionChange(()=>{}),this.controls.splice(c,1),e&&(this.controls.splice(c,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){o5(this,!1,i),i.forEach((n,c)=>{c5(this,!1,c),this.at(c).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,c)=>{this.at(c)&&this.at(c).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,c)=>{n.reset(i[c],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new x2(this))}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function W0(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var h5=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let c=this._reduceControls(e),o={};return W0(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new n2(c,o)}record(e,n=null){let c=this._reduceControls(e);return new j3(c,n)}control(e,n,c){let o={};return this.useNonNullable?(W0(n)?o=n:(o.validators=n,o.asyncValidators=c),new Me(e,G(b({},o),{nonNullable:!0}))):new Me(e,n,c)}array(e,n,c){let o=e.map(s=>this._createControl(s));return new W3(o,n,c)}_reduceControls(e){let n={};return Object.keys(e).forEach(c=>{n[c]=this._createControl(e[c])}),n}_createControl(e){if(e instanceof Me)return e;if(e instanceof i2)return e;if(Array.isArray(e)){let n=e[0],c=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(n,c,o)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Hr=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:H2,useValue:e.callSetDisabledState??Le}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[l5]})}return t})(),d5=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:e6,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:H2,useValue:e.callSetDisabledState??Le}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[l5]})}return t})();var Sr=typeof globalThis.requestAnimationFrame=="function"?globalThis.requestAnimationFrame:globalThis.setTimeout,Or=typeof globalThis.requestAnimationFrame=="function"?globalThis.cancelAnimationFrame:globalThis.clearTimeout;var u5=new Set,H4,De=(()=>{class t{_platform=r($);_nonce=r(W4,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):A7}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&O7(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function O7(t,i){if(!u5.has(t))try{H4||(H4=document.createElement("style"),i&&H4.setAttribute("nonce",i),H4.setAttribute("type","text/css"),document.head.appendChild(H4)),H4.sheet&&(H4.sheet.insertRule(`@media ${t} {body{ }}`,0),u5.add(t))}catch(e){console.error(e)}}function A7(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var c6=(()=>{class t{_mediaMatcher=r(De);_zone=r(F);_queries=new Map;_destroySubject=new g;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return f5(X4(e)).some(c=>this._registerQuery(c).mql.matches)}observe(e){let c=f5(X4(e)).map(s=>this._registerQuery(s).observable),o=A6(c);return o=D6(o.pipe(I4(1)),o.pipe(G2(1),B4(0))),o.pipe(J(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:h})=>{a.matches=a.matches||l,a.breakpoints[h]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),o={observable:new I1(s=>{let a=l=>this._zone.run(()=>s.next(l));return n.addListener(a),()=>{n.removeListener(a)}}).pipe(H1(n),J(({matches:s})=>({query:e,matches:s})),Q1(this._destroySubject)),mql:n};return this._queries.set(e,o),o}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function f5(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var o6=()=>{},s6=(()=>{class t{ngZone=r(F);destroyRef=r(I);resizeSource$=new g;listeners=0;renderer=r(E1).createRenderer(null,null);disposeHandle=o6;handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})};constructor(){this.destroyRef.onDestroy(()=>{this.handler=o6})}connect(){return this.registerListener(),this.resizeSource$.pipe(T4(16),k4(()=>this.unregisterListener()))}disconnet(){this.unregisterListener()}registerListener(){this.listeners===0&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,this.listeners===0&&(this.disposeHandle(),this.disposeHandle=o6)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),L7=new Map,Yr=(()=>{class t{get singletonRegistry(){return he.isTestMode?L7:this._singletonRegistry}_singletonRegistry=new Map;registerSingletonWithKey(e,n){let c=this.singletonRegistry.has(e),o=c?this.singletonRegistry.get(e):this.withNewTarget(n);c||this.singletonRegistry.set(e,o)}unregisterSingletonWithKey(e){this.singletonRegistry.has(e)&&this.singletonRegistry.delete(e)}getSingletonWithKey(e){return this.singletonRegistry.has(e)?this.singletonRegistry.get(e).target:null}withNewTarget(e){return{target:e}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var v5=(function(t){return t.xxl="xxl",t.xl="xl",t.lg="lg",t.md="md",t.sm="sm",t.xs="xs",t})(v5||{}),D7={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},Xr={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"},Zr=(()=>{class t{resizeService=r(s6);mediaMatcher=r(De);constructor(){this.resizeService.connect().pipe(T()).subscribe(()=>{})}subscribe(e,n){if(n){let c=()=>this.matchMedia(e,!0);return this.resizeService.connect().pipe(J(c),H1(c()),P1((o,s)=>o[0]===s[0]),J(o=>o[1]))}else{let c=()=>this.matchMedia(e);return this.resizeService.connect().pipe(J(c),H1(c()),P1())}}matchMedia(e,n){let c=v5.md,o={};return Object.keys(e).map(s=>{let a=s,l=this.mediaMatcher.matchMedia(D7[a]).matches;o[s]=l,l&&(c=a)}),n?[c,o]:c}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function m5(t){return t.buttons===0||t.detail===0}function p5(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var g5=new y("cdk-input-modality-detector-options"),z5={ignoreKeys:[18,17,224,91,16]},_5=650,a6={passive:!0,capture:!0},b5=(()=>{class t{_platform=r($);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new j2(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=T1(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<_5||(this._modality.next(m5(e)?"keyboard":"mouse"),this._mostRecentTarget=T1(e))};_onTouchstart=e=>{if(p5(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=T1(e)};constructor(){let e=r(F),n=r(Q),c=r(g5,{optional:!0});if(this._options=b(b({},z5),c),this.modalityDetected=this._modality.pipe(G2(1)),this.modalityChanged=this.modalityDetected.pipe(P1()),this._platform.isBrowser){let o=r(E1).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(n,"keydown",this._onKeydown,a6),o.listen(n,"mousedown",this._onMousedown,a6),o.listen(n,"touchstart",this._onTouchstart,a6)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),E2=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(E2||{}),M5=new y("cdk-focus-monitor-default-options"),Te=dt({passive:!0,capture:!0}),c2=(()=>{class t{_ngZone=r(F);_platform=r($);_inputModalityDetector=r(b5);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=r(Q);_stopInputModalityDetector=new g;constructor(){let e=r(M5,{optional:!0});this._detectionMode=e?.detectionMode||E2.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=T1(e);for(let c=n;c;c=c.parentElement)e.type==="focus"?this._onFocus(e,c):this._onBlur(e,c)};monitor(e,n=!1){let c=b4(e);if(!this._platform.isBrowser||c.nodeType!==1)return x1();let o=V3(c)||this._document,s=this._elementInfo.get(c);if(s)return n&&(s.checkChildren=!0),s.subject;let a={checkChildren:n,subject:new g,rootNode:o};return this._elementInfo.set(c,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let n=b4(e),c=this._elementInfo.get(n);c&&(c.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(c))}focusVia(e,n,c){let o=b4(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,n,l)):(this._setOrigin(n),typeof o.focus=="function"&&o.focus(c))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===E2.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===E2.IMMEDIATE){clearTimeout(this._originTimeoutId);let c=this._originFromTouchInteraction?_5:1;this._originTimeoutId=setTimeout(()=>this._origin=null,c)}})}_onFocus(e,n){let c=this._elementInfo.get(n),o=T1(e);!c||!c.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),c)}_onBlur(e,n){let c=this._elementInfo.get(n);!c||c.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(c,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,c=this._rootNodeFocusListenerCount.get(n)||0;c||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Te),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Te)}),this._rootNodeFocusListenerCount.set(n,c+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Q1(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let c=this._rootNodeFocusListenerCount.get(n);c>1?this._rootNodeFocusListenerCount.set(n,c-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Te),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Te),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,c){this._setClasses(e,n),this._emitOrigin(c,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((c,o)=>{(o===e||c.checkChildren&&o.contains(e))&&n.push([o,c])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:c}=this._inputModalityDetector;if(c!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(n))return!0}return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),T7=(()=>{class t{_elementRef=r(z);_focusMonitor=r(c2);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new Y;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var Be=new WeakMap,S2=(()=>{class t{_appRef;_injector=r(c1);_environmentInjector=r(N4);load(e){let n=this._appRef=this._appRef||this._injector.get(m4),c=Be.get(n);c||(c={loaders:new Set,refs:[]},Be.set(n,c),n.onDestroy(()=>{Be.get(n)?.refs.forEach(o=>o.destroy()),Be.delete(n)})),c.loaders.has(e)||(c.loaders.add(e),c.refs.push(ne(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var y5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,c){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
10
|
-
`],encapsulation:2,changeDetection:0})}return t})();var B7=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var w5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({providers:[B7]})}return t})();var I7=(()=>{class t{_platform=r($);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return F7(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=k7($7(e));if(n&&(C5(n)===-1||!this.isVisible(n)))return!1;let c=e.nodeName.toLowerCase(),o=C5(e);return e.hasAttribute("contenteditable")?o!==-1:c==="iframe"||c==="object"||this._platform.WEBKIT&&this._platform.IOS&&!U7(e)?!1:c==="audio"?e.hasAttribute("controls")?o!==-1:!1:c==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return q7(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function k7(t){try{return t.frameElement}catch{return null}}function F7(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function R7(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function N7(t){return j7(t)&&t.type=="hidden"}function P7(t){return W7(t)&&t.hasAttribute("href")}function j7(t){return t.nodeName.toLowerCase()=="input"}function W7(t){return t.nodeName.toLowerCase()=="a"}function H5(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function C5(t){if(!H5(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function U7(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function q7(t){return N7(t)?!1:R7(t)||P7(t)||t.hasAttribute("contenteditable")||H5(t)}function $7(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var l6=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,c,o=!1,s){this._element=i,this._checker=e,this._ngZone=n,this._document=c,this._injector=s,o||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n<e.length;n++){let c=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(c)return c}return null}_getLastTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=e.length-1;n>=0;n--){let c=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(c)return c}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?y1(i,{injector:this._injector}):setTimeout(i)}},E5=(()=>{class t{_checker=r(I7);_ngZone=r(F);_document=r(Q);_injector=r(c1);constructor(){r(S2).load(y5)}create(e,n=!1){return new l6(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),G7=(()=>{class t{_elementRef=r(z);_focusTrapFactory=r(E5);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){r($).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=x3(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",_],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",_]},exportAs:["cdkTrapFocus"],features:[O]})}return t})();var f4=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(f4||{}),V5="cdk-high-contrast-black-on-white",x5="cdk-high-contrast-white-on-black",r6="cdk-high-contrast-active",S5=(()=>{class t{_platform=r($);_hasCheckedHighContrastMode;_document=r(Q);_breakpointSubscription;constructor(){this._breakpointSubscription=r(c6).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return f4.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,c=n&&n.getComputedStyle?n.getComputedStyle(e):null,o=(c&&c.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return f4.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return f4.BLACK_ON_WHITE}return f4.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(r6,V5,x5),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===f4.BLACK_ON_WHITE?e.add(r6,V5):n===f4.WHITE_ON_BLACK&&e.add(r6,x5)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y7=(()=>{class t{constructor(){r(S5)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[w5]})}return t})();var h6={},O5=(()=>{class t{_appId=r($6);getId(e){return this._appId!=="ng"&&(e+=this._appId),h6.hasOwnProperty(e)||(h6[e]=0),`${e}${h6[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var X7=200,Ie=class{_letterKeyStream=new g;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new g;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:X7;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(F4(e=>this._pressedLetters.push(e)),B4(i),v1(()=>this._pressedLetters.length>0),J(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;n<this._items.length+1;n++){let c=(this._selectedItemIndex+n)%this._items.length,o=this._items[c];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function ke(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Fe=class{_items;_activeItemIndex=A(-1);_activeItem=A(null);_wrap=!1;_typeaheadSubscription=N1.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,e){this._items=i,i instanceof s3?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):c3(i)&&(this._effectRef=o4(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new g;change=new g;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Ie(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(i){let e=i.keyCode,c=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!i[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&c){this.setNextItemActive();break}else return;case 38:if(this._vertical&&c){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&c){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&c){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&c){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&c){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&c){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&c){let o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(c||ke(i,"shiftKey"))&&this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(i){let e=this._getItemsArray(),n=typeof i=="number"?i:e.indexOf(i),c=e[n];this._activeItem.set(c??null),this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(i){this._wrap?this._setActiveInWrapMode(i):this._setActiveInDefaultMode(i)}_setActiveInWrapMode(i){let e=this._getItemsArray();for(let n=1;n<=e.length;n++){let c=(this._activeItemIndex()+i*n+e.length)%e.length,o=e[c];if(!this._skipPredicateFn(o)){this.setActiveItem(c);return}}}_setActiveInDefaultMode(i){this._setActiveItemByIndex(this._activeItemIndex()+i,i)}_setActiveItemByIndex(i,e){let n=this._getItemsArray();if(n[i]){for(;this._skipPredicateFn(n[i]);)if(i+=e,!n[i])return;this.setActiveItem(i)}}_getItemsArray(){return c3(this._items)?this._items():this._items instanceof s3?this._items.toArray():this._items}_itemsChanged(i){this._typeahead?.setItems(i);let e=this._activeItem();if(e){let n=i.indexOf(e);n>-1&&n!==this._activeItemIndex()&&(this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n))}}};var d6=class extends Fe{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};function Q7(t,i){if(t&1&&r1(0,"nz-icon",0),t&2){let e=f();V("nzType",e.iconType)}}var u6=(()=>{class t{formStatusChanges=new W2(1);static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),Re=(()=>{class t{noFormStatus=new j2(!1);static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),J7={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},Ne=(()=>{class t{cdr=r(p1);status="";iconType=null;ngOnChanges(e){this.updateIcon()}updateIcon(){this.iconType=this.status?J7[this.status]:null,this.cdr.markForCheck()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(n,c){n&2&&R("ant-form-item-feedback-icon-error",c.status==="error")("ant-form-item-feedback-icon-warning",c.status==="warning")("ant-form-item-feedback-icon-success",c.status==="success")("ant-form-item-feedback-icon-validating",c.status==="validating")},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[O],decls:1,vars:1,consts:[[3,"nzType"]],template:function(n,c){n&1&&L(0,Q7,1,1,"nz-icon",0),n&2&&D(c.iconType?0:-1)},dependencies:[w4,B1],encapsulation:2,changeDetection:0})}return t})();var ec=["nz-input-group-slot",""],k5=["*"];function tc(t,i){if(t&1&&r1(0,"nz-icon",0),t&2){let e=f();V("nzType",e.icon)}}function ic(t,i){if(t&1&&(Q2(0),G1(1),J2()),t&2){let e=f();w(),J1(e.template)}}function nc(t,i){if(t&1&&r1(0,"span",3),t&2){let e=f(2);V("icon",e.nzAddOnBeforeIcon)("template",e.nzAddOnBefore)}}function cc(t,i){}function oc(t,i){if(t&1&&(X(0,"span",6),Z(1,cc,0,0,"ng-template",5),K()),t&2){let e=f(2),n=O1(3);$1(e.affixInGroupStatusCls),R("ant-input-affix-wrapper-disabled",e.disabled)("ant-input-affix-wrapper-sm",e.isSmall)("ant-input-affix-wrapper-lg",e.isLarge)("ant-input-affix-wrapper-focused",e.focused),w(),V("ngTemplateOutlet",n)}}function sc(t,i){}function ac(t,i){if(t&1&&Z(0,sc,0,0,"ng-template",5),t&2){f(2);let e=O1(5);V("ngTemplateOutlet",e)}}function rc(t,i){if(t&1&&r1(0,"span",3),t&2){let e=f(2);V("icon",e.nzAddOnAfterIcon)("template",e.nzAddOnAfter)}}function lc(t,i){if(t&1&&(X(0,"span",2),L(1,nc,1,2,"span",3),L(2,oc,2,11,"span",4)(3,ac,1,1,null,5),L(4,rc,1,2,"span",3),K()),t&2){let e=f();w(),D(e.nzAddOnBefore||e.nzAddOnBeforeIcon?1:-1),w(),D(e.isAffix||e.hasFeedback?2:3),w(2),D(e.nzAddOnAfter||e.nzAddOnAfterIcon?4:-1)}}function hc(t,i){}function dc(t,i){if(t&1&&Z(0,hc,0,0,"ng-template",5),t&2){f(2);let e=O1(3);V("ngTemplateOutlet",e)}}function uc(t,i){}function fc(t,i){if(t&1&&Z(0,uc,0,0,"ng-template",5),t&2){f(2);let e=O1(5);V("ngTemplateOutlet",e)}}function vc(t,i){if(t&1&&L(0,dc,1,1,null,5)(1,fc,1,1,null,5),t&2){let e=f();D(e.isAffix?0:1)}}function mc(t,i){if(t&1&&r1(0,"span",7),t&2){let e=f(2);V("icon",e.nzPrefixIcon)("template",e.nzPrefix)}}function pc(t,i){}function gc(t,i){if(t&1&&r1(0,"nz-form-item-feedback-icon",9),t&2){let e=f(3);V("status",e.status)}}function zc(t,i){if(t&1&&(X(0,"span",8),L(1,gc,1,1,"nz-form-item-feedback-icon",9),K()),t&2){let e=f(2);V("icon",e.nzSuffixIcon)("template",e.nzSuffix),w(),D(e.isFeedback?1:-1)}}function _c(t,i){if(t&1&&(L(0,mc,1,2,"span",7),Z(1,pc,0,0,"ng-template",5),L(2,zc,2,3,"span",8)),t&2){let e=f(),n=O1(5);D(e.nzPrefix||e.nzPrefixIcon?0:-1),w(),V("ngTemplateOutlet",n),w(),D(e.nzSuffix||e.nzSuffixIcon||e.isFeedback?2:-1)}}function bc(t,i){if(t&1&&(X(0,"span",10),r1(1,"nz-form-item-feedback-icon",9),K()),t&2){let e=f(2);w(),V("status",e.status)}}function Mc(t,i){if(t&1&&(l1(0),L(1,bc,2,1,"span",10)),t&2){let e=f();w(),D(!e.isAddOn&&!e.isAffix&&e.isFeedback?1:-1)}}var yc=["otpInput"];function wc(t,i){if(t&1){let e=p4();X(0,"input",2,0),w1("input",function(c){let o=k1(e).$index,s=f();return F1(s.onInput(o,c))})("focus",function(c){k1(e);let o=f();return F1(o.onFocus(c))})("keydown",function(c){let o=k1(e).$index,s=f();return F1(s.onKeyDown(o,c))})("paste",function(c){let o=k1(e).$index,s=f();return F1(s.onPaste(o,c))}),K()}if(t&2){let e=i.$implicit,n=f();V("nzSize",n.nzSize)("formControl",e)("nzStatus",n.nzStatus)}}var Cc=[[["","nzInputAddonBefore",""]],[["","nzInputAddonAfter",""]],[["","nzInputSearchEnterButton",""]],[["","nzInputPrefix",""]],[["","nzInputSuffix",""]],[["","nzInputClearIcon",""]],[["","nz-input",""]]],Vc=["[nzInputAddonBefore]","[nzInputAddonAfter]","[nzInputSearchEnterButton]","[nzInputPrefix]","[nzInputSuffix]","[nzInputClearIcon]","[nz-input]"],xc=t=>({$implicit:t});function Hc(t,i){}function Ec(t,i){if(t&1&&Z(0,Hc,0,0,"ng-template",4),t&2){f();let e=O1(4);V("ngTemplateOutlet",e)}}function Sc(t,i){}function Oc(t,i){if(t&1&&Z(0,Sc,0,0,"ng-template",4),t&2){f();let e=O1(8);V("ngTemplateOutlet",e)}}function Ac(t,i){}function Lc(t,i){if(t&1&&Z(0,Ac,0,0,"ng-template",4),t&2){f();let e=O1(10);V("ngTemplateOutlet",e)}}function Dc(t,i){if(t&1&&G1(0),t&2){let e=f(3);J1(e.nzAddonBefore())}}function Tc(t,i){t&1&&(X(0,"span",6),l1(1,0,null,Dc,1,1),K())}function Bc(t,i){}function Ic(t,i){if(t&1&&Z(0,Bc,0,0,"ng-template",4),t&2){f(2);let e=O1(6);V("ngTemplateOutlet",e)}}function kc(t,i){}function Fc(t,i){if(t&1&&Z(0,kc,0,0,"ng-template",4),t&2){f(2);let e=O1(10);V("ngTemplateOutlet",e)}}function Rc(t,i){if(t&1&&G1(0),t&2){f(2);let e=r3(0);n8(" ",e," ")}}function Nc(t,i){t&1&&r1(0,"nz-icon",9)}function Pc(t,i){if(t&1&&L(0,Rc,1,1)(1,Nc,1,0,"nz-icon",9),t&2){f();let e=r3(0);D(e&&typeof e=="string"?0:1)}}function jc(t,i){if(t&1){let e=p4();c8(0),X(1,"button",8),w1("click",function(c){k1(e);let o=f(3);return F1(o.inputSearchDir.search(c))}),l1(2,2,null,Pc,2,1),K()}if(t&2){let e=f(3),n=o8(e.inputSearchDir.nzEnterButton()),c=e.inputSearchEnterButton()??n!==!1;w(),V("nzType",c?"primary":"default")("nzSize",e.size())("nzLoading",e.inputSearchDir.nzLoading())}}function Wc(t,i){if(t&1&&G1(0),t&2){let e=f(3);J1(e.nzAddonAfter())}}function Uc(t,i){if(t&1&&(X(0,"span",6),L(1,jc,4,4,"button",7),l1(2,1,null,Wc,1,1),K()),t&2){let e=f(2);w(),D(e.inputSearchDir?1:-1)}}function qc(t,i){if(t&1&&(X(0,"span",5),L(1,Tc,3,0,"span",6),L(2,Ic,1,1,null,4)(3,Fc,1,1,null,4),L(4,Uc,4,1,"span",6),K()),t&2){let e=f();w(),D(e.hasAddonBefore()?1:-1),w(),D(e.hasAffix()?2:3),w(2),D(e.hasAddonAfter()?4:-1)}}function $c(t,i){}function Gc(t,i){if(t&1&&(X(0,"span"),Z(1,$c,0,0,"ng-template",4),K()),t&2){let e=f(),n=O1(8);$1(e.affixWrapperClass()),w(),V("ngTemplateOutlet",n)}}function Yc(t,i){if(t&1&&G1(0),t&2){let e=f(3);J1(e.nzPrefix())}}function Xc(t,i){t&1&&(X(0,"span",10),l1(1,3,null,Yc,1,1),K())}function Zc(t,i){}function Kc(t,i){t&1&&r1(0,"nz-icon",16)}function Qc(t,i){if(t&1){let e=p4();X(0,"span",15),w1("click",function(c){k1(e);let o=f(3);return o.clear(),F1(o.inputSearchDir==null?null:o.inputSearchDir.search(c,"clear"))}),l1(1,5,null,Kc,1,0),K()}if(t&2){let e=f(3);R("ant-input-clear-icon-has-suffix",e.nzSuffix()||e.suffix()||e.hasFeedback()||(e.inputPasswordDir==null?null:e.inputPasswordDir.nzVisibilityToggle()))("ant-input-clear-icon-hidden",!e.inputDir().value()||e.disabled()||e.readOnly())}}function Jc(t,i){}function eo(t,i){if(t&1&&Z(0,Jc,0,0,"ng-template",18),t&2){let e=f(4);V("ngTemplateOutlet",i)("ngTemplateOutletContext",ie(2,xc,e.inputPasswordDir.nzVisible()))}}function to(t,i){if(t&1&&r1(0,"nz-icon",19),t&2){let e=f(4);V("nzType",e.inputPasswordDir.nzVisible()?"eye":"eye-invisible")}}function io(t,i){if(t&1){let e=p4();X(0,"span",17),w1("click",function(){k1(e);let c=f(3);return F1(c.inputPasswordDir.toggleVisible())}),L(1,eo,1,4,null,18)(2,to,1,1,"nz-icon",19),K()}if(t&2){let e,n=f(3);w(),D((e=n.inputPasswordIconTmpl())?1:2,e)}}function no(t,i){if(t&1&&G1(0),t&2){let e=f(3);J1(e.nzSuffix())}}function co(t,i){if(t&1&&r1(0,"nz-form-item-feedback-icon",14),t&2){let e=f(3);V("status",e.status())}}function oo(t,i){if(t&1&&(X(0,"span",11),L(1,Qc,3,4,"span",12),L(2,io,3,1,"span",13),l1(3,4,null,no,1,1),L(5,co,1,1,"nz-form-item-feedback-icon",14),K()),t&2){let e=f(2);w(),D(e.nzAllowClear()?1:-1),w(),D(e.inputPasswordDir&&e.inputPasswordDir.nzVisibilityToggle()?2:-1),w(3),D(e.hasFeedback()&&e.status()?5:-1)}}function so(t,i){if(t&1&&(L(0,Xc,3,0,"span",10),Z(1,Zc,0,0,"ng-template",4),L(2,oo,6,3,"span",11)),t&2){let e=f(),n=O1(10);D(e.hasPrefix()?0:-1),w(),V("ngTemplateOutlet",n),w(),D(e.hasSuffix()?2:-1)}}function ao(t,i){t&1&&l1(0,6)}var Qh=(()=>{class t{ngZone=r(F);platform=r($);destroyRef=r(I);resizeService=r(s6);el=r(z).nativeElement;autosize=!1;cachedLineHeight;previousValue;previousMinRows;minRows;maxRows;maxHeight=null;minHeight=null;inputGap=10;destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}set nzAutosize(e){typeof e=="string"||e===!0?this.autosize=!0:(c=>typeof c!="string"&&typeof c!="boolean"&&(!!c.maxRows||!!c.minRows))(e)&&(this.autosize=!0,this.minRows=e.minRows,this.maxRows=e.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent(e=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;let n=this.el,c=n.value;if(!e&&this.minRows===this.previousMinRows&&c===this.previousValue)return;let o=n.placeholder;n.classList.add("nz-textarea-autosize-measuring"),n.placeholder="";let s=Math.round((n.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;this.maxHeight!==null&&s>this.maxHeight&&(s=this.maxHeight),this.minHeight!==null&&s<this.minHeight&&(s=this.minHeight),n.style.height=`${s}px`,n.classList.remove("nz-textarea-autosize-measuring"),n.placeholder=o,typeof requestAnimationFrame<"u"&&this.ngZone.runOutsideAngular(()=>requestAnimationFrame(()=>{let{selectionStart:a,selectionEnd:l}=n;!this.destroyed&&document.activeElement===n&&n.setSelectionRange(a,l)})),this.previousValue=c,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;let e=this.el.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this.el.parentNode.appendChild(e),this.cachedLineHeight=e.clientHeight-this.inputGap,this.el.parentNode.removeChild(e),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){let e=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return e!==null&&(this.el.style.minHeight=`${e}px`),e}setMaxHeight(){let e=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return e!==null&&(this.el.style.maxHeight=`${e}px`),e}noopInputHandler(){}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.connect().pipe(T(this.destroyRef)).subscribe(()=>this.resizeToFitContent(!0)))}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(n,c){n&1&&w1("input",function(){return c.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]})}return t})(),A5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzInputAddonBefore",""]]})}return t})(),L5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzInputAddonAfter",""]]})}return t})(),D5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzInputPrefix",""]]})}return t})(),T5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzInputSuffix",""]]})}return t})(),F5=(()=>{class t{icon=null;type=null;template=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(n,c){n&2&&R("ant-input-group-addon",c.type==="addon")("ant-input-prefix",c.type==="prefix")("ant-input-suffix",c.type==="suffix")},inputs:{icon:"icon",type:"type",template:"template"},attrs:ec,ngContentSelectors:k5,decls:3,vars:2,consts:[[3,"nzType"],[4,"nzStringTemplateOutlet"]],template:function(n,c){n&1&&(W1(),L(0,tc,1,1,"nz-icon",0),Z(1,ic,2,1,"ng-container",1),l1(2)),n&2&&(D(c.icon?0:-1),w(),V("nzStringTemplateOutlet",c.template))},dependencies:[w4,B1,_e,K4],encapsulation:2,changeDetection:0})}return t})(),R5=(()=>{class t{nzVisibilityToggle=t1(!0);nzVisible=r8(!1);toggleVisible(){this.nzVisible.update(e=>!e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["nz-input-password"]],hostAttrs:[1,"ant-input-password"],inputs:{nzVisibilityToggle:[1,"nzVisibilityToggle"],nzVisible:[1,"nzVisible"]},outputs:{nzVisible:"nzVisibleChange"},exportAs:["nzInputPassword"]})}return t})(),B5=(()=>{class t{static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzInputPasswordIcon",""]]})}return t})(),N5=new y(""),P5=new y(""),ro="ant-input",e4=(()=>{class t{elementRef=r(z);compactSize=r(Q4,{optional:!0});destroyRef=r(I);nzFormStatusService=r(u6,{optional:!0});nzFormNoStatusService=r(Re,{optional:!0});inputWrapper=r(N5,{host:!0,optional:!0});focusMonitor=r(c2);hostView=r(R1);inputPasswordDir=r(R5,{host:!0,optional:!0});inputSearchDir=r(P5,{host:!0,optional:!0});ngControl=r(Z1,{self:!0,optional:!0});value=A(this.elementRef.nativeElement.value);nzBorderless=t1(!1,{transform:_});nzVariant=t1("outlined");nzSize=t1("default");nzStepperless=t1(!0,{transform:_});nzStatus=t1("");disabled=t1(!1,{transform:_});readonly=t1(!1,{transform:_});controlDisabled=A(!1);finalDisabled=this.ngControl?this.controlDisabled:this.disabled;dir=r(g1).valueSignal;size=s8(this.nzSize);status=this.nzFormStatusService?h2(this.nzFormStatusService.formStatusChanges.pipe(J(e=>e.status)),{initialValue:""}):this.nzStatus;hasFeedback=h2(this.nzFormStatusService?.formStatusChanges.pipe(J(e=>e.hasFeedback))??q2,{initialValue:!1});classes=x(()=>M4(ro,this.status(),this.hasFeedback()));type=x(()=>this.inputPasswordDir?this.inputPasswordDir.nzVisible()?"text":"password":this.inputSearchDir?"search":this.elementRef.nativeElement.getAttribute("type")||"text");focused=A(!1);finalSize=x(()=>this.compactSize?this.compactSize():this.size());feedbackRef=null;disabled$=v8(this.finalDisabled);constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.elementRef)}),this.focusMonitor.monitor(this.elementRef,!1).pipe(T()).subscribe(e=>this.focused.set(!!e)),o4(()=>{this.renderFeedbackIcon()})}ngOnInit(){this.ngControl?.statusChanges?.pipe(H1(null),T(this.destroyRef)).subscribe(()=>{this.controlDisabled.set(!!this.ngControl.disabled)}),this.ngControl?.valueChanges?.pipe(T(this.destroyRef)).subscribe(e=>{this.value.set(e)})}renderFeedbackIcon(){if(!this.status()||!this.hasFeedback()||this.inputWrapper||this.nzFormNoStatusService){this.hostView.clear(),this.feedbackRef=null;return}this.feedbackRef=this.feedbackRef||this.hostView.createComponent(Ne),this.feedbackRef.location.nativeElement.classList.add("ant-input-suffix"),this.feedbackRef.instance.status=this.status(),this.feedbackRef.instance.updateIcon()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostAttrs:[1,"ant-input"],hostVars:23,hostBindings:function(n,c){n&2&&(j1("type",c.type())("disabled",c.finalDisabled()||null)("readonly",c.readonly()||null),$1(c.classes()),R("ant-input-disabled",c.finalDisabled())("ant-input-borderless",c.nzVariant()==="borderless"||c.nzVariant()==="outlined"&&c.nzBorderless())("ant-input-filled",c.nzVariant()==="filled")("ant-input-underlined",c.nzVariant()==="underlined")("ant-input-lg",c.finalSize()==="large")("ant-input-sm",c.finalSize()==="small")("ant-input-rtl",c.dir()==="rtl")("ant-input-stepperless",c.nzStepperless())("ant-input-focused",c.focused()))},inputs:{nzBorderless:[1,"nzBorderless"],nzVariant:[1,"nzVariant"],nzSize:[1,"nzSize"],nzStepperless:[1,"nzStepperless"],nzStatus:[1,"nzStatus"],disabled:[1,"disabled"],readonly:[1,"readonly"]},exportAs:["nzInput"],features:[N([{provide:C4,useValue:"input"}]),U4([J4])]})}return t})();var lo=(()=>{class t{focusMonitor=r(c2);elementRef=r(z);renderer=r(i1);cdr=r(p1);directionality=r(g1);destroyRef=r(I);nzFormStatusService=r(u6,{optional:!0});nzFormNoStatusService=r(Re,{optional:!0});listOfNzInputDirective;nzAddOnBeforeIcon=null;nzAddOnAfterIcon=null;nzPrefixIcon=null;nzSuffixIcon=null;nzAddOnBefore;nzAddOnAfter;nzPrefix;nzStatus="";nzSuffix;nzSize="default";nzSearch=!1;isLarge=!1;isSmall=!1;isAffix=!1;isAddOn=!1;isFeedback=!1;focused=!1;disabled=!1;dir="ltr";prefixCls="ant-input";affixStatusCls={};groupStatusCls={};affixInGroupStatusCls={};status="";hasFeedback=!1;constructor(){this.destroyRef.onDestroy(()=>this.focusMonitor.stopMonitoring(this.elementRef))}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach(e=>e.size.set(this.nzSize))}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(P1((e,n)=>e.status===n.status&&e.hasFeedback===n.hasFeedback),T(this.destroyRef)).subscribe(({status:e,hasFeedback:n})=>{this.setStatusStyles(e,n)}),this.focusMonitor.monitor(this.elementRef,!0).pipe(T(this.destroyRef)).subscribe(e=>{this.focused=!!e,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe(T(this.destroyRef)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.updateChildrenInputSize();let e=this.listOfNzInputDirective.changes.pipe(H1(this.listOfNzInputDirective));e.pipe(Y2(n=>I6(e,...n.map(c=>c.disabled$))),L6(()=>e),J(n=>n.some(c=>c.finalDisabled())),T(this.destroyRef)).subscribe(n=>{this.disabled=n,this.cdr.markForCheck()})}ngOnChanges(e){let{nzSize:n,nzSuffix:c,nzPrefix:o,nzPrefixIcon:s,nzSuffixIcon:a,nzAddOnAfter:l,nzAddOnBefore:h,nzAddOnAfterIcon:d,nzAddOnBeforeIcon:m,nzStatus:k}=e;n&&(this.updateChildrenInputSize(),this.isLarge=this.nzSize==="large",this.isSmall=this.nzSize==="small"),(c||o||s||a)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(l||h||d||m)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),k&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}setStatusStyles(e,n){this.status=e,this.hasFeedback=n,this.isFeedback=!!e&&n;let c=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon);this.isAffix=c||!this.isAddOn&&n,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=M4(`${this.prefixCls}-affix-wrapper`,e,n):{},this.cdr.markForCheck(),this.affixStatusCls=M4(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":e,this.isAddOn?!1:n),this.groupStatusCls=M4(`${this.prefixCls}-group-wrapper`,this.isAddOn?e:"",this.isAddOn?n:!1);let o=b(b({},this.affixStatusCls),this.groupStatusCls);Object.keys(o).forEach(s=>{o[s]?this.renderer.addClass(this.elementRef.nativeElement,s):this.renderer.removeClass(this.elementRef.nativeElement,s)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["nz-input-group"]],contentQueries:function(n,c,o){if(n&1&&q4(o,e4,4),n&2){let s;U1(s=q1())&&(c.listOfNzInputDirective=s)}},hostVars:38,hostBindings:function(n,c){n&2&&R("ant-input-search-enter-button",c.nzSearch)("ant-input-search",c.nzSearch)("ant-input-search-rtl",c.dir==="rtl")("ant-input-search-sm",c.nzSearch&&c.isSmall)("ant-input-search-large",c.nzSearch&&c.isLarge)("ant-input-group-wrapper",c.isAddOn)("ant-input-group-wrapper-rtl",c.dir==="rtl")("ant-input-group-wrapper-lg",c.isAddOn&&c.isLarge)("ant-input-group-wrapper-sm",c.isAddOn&&c.isSmall)("ant-input-affix-wrapper",c.isAffix&&!c.isAddOn)("ant-input-affix-wrapper-rtl",c.dir==="rtl")("ant-input-affix-wrapper-focused",c.isAffix&&c.focused)("ant-input-affix-wrapper-disabled",c.isAffix&&c.disabled)("ant-input-affix-wrapper-lg",c.isAffix&&!c.isAddOn&&c.isLarge)("ant-input-affix-wrapper-sm",c.isAffix&&!c.isAddOn&&c.isSmall)("ant-input-group",!c.isAffix&&!c.isAddOn)("ant-input-group-rtl",c.dir==="rtl")("ant-input-group-lg",!c.isAffix&&!c.isAddOn&&c.isLarge)("ant-input-group-sm",!c.isAffix&&!c.isAddOn&&c.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzSearch:[2,"nzSearch","nzSearch",_]},exportAs:["nzInputGroup"],features:[N([Re,{provide:C4,useValue:"input"}]),U4([J4]),O],ngContentSelectors:k5,decls:6,vars:1,consts:[["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper",3,"ant-input-affix-wrapper-disabled","ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg","ant-input-affix-wrapper-focused","class"],[3,"ngTemplateOutlet"],[1,"ant-input-affix-wrapper"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"],[3,"status"],["nz-input-group-slot","","type","suffix"]],template:function(n,c){n&1&&(W1(),L(0,lc,5,3,"span",2)(1,vc,2,1),Z(2,_c,3,3,"ng-template",null,0,i4)(4,Mc,2,1,"ng-template",null,1,i4)),n&2&&D(c.isAddOn?0:1)},dependencies:[F5,l2,Ne],encapsulation:2,changeDetection:0})}return t})(),ho=(()=>{class t{formBuilder=r(h5);destroyRef=r(I);otpInputs;nzLength=6;nzSize="default";disabled=!1;nzStatus="";nzFormatter=e=>e;nzMask=null;otpArray;internalValue=[];onChangeCallback;onTouched=()=>{};constructor(){this.createFormArray()}ngOnChanges(e){e.nzLength?.currentValue&&this.createFormArray(),e.disabled&&this.setDisabledState(this.disabled)}onInput(e,n){let c=n.target,o=this.otpInputs.toArray()[e+1];c.value&&o?o.nativeElement.focus():o||this.selectInputBox(e)}onFocus(e){e.target.select()}onKeyDown(e,n){let c=this.otpInputs.toArray()[e-1];n.keyCode===8?(n.preventDefault(),this.internalValue[e]="",this.otpArray.at(e).setValue("",{emitEvent:!1}),c&&this.selectInputBox(e-1),this.emitValue()):n.keyCode===37?(n.preventDefault(),this.selectInputBox(e-1)):n.keyCode===39&&(n.preventDefault(),this.selectInputBox(e+1))}writeValue(e){if(!e){this.otpArray.reset();return}let n=e.split("");this.internalValue=n,n.forEach((c,o)=>{let s=this.nzFormatter(c),a=this.nzMask?this.nzMask:s;this.otpArray.at(o).setValue(a,{emitEvent:!1})})}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?this.otpArray.disable():this.otpArray.enable()}onPaste(e,n){let c=n.clipboardData?.getData("text")||"";if(!c)return;let o=e;for(let s of c.split(""))if(o<this.nzLength){let a=this.nzFormatter(s);this.internalValue[o]=s;let l=this.nzMask?this.nzMask:a;this.otpArray.at(o).setValue(l,{emitEvent:!1}),o++}else break;n.preventDefault(),this.selectInputBox(o),this.emitValue()}createFormArray(){this.otpArray=this.formBuilder.array([]),this.internalValue=new Array(this.nzLength).fill("");for(let e=0;e<this.nzLength;e++){let n=this.formBuilder.nonNullable.control("",[ye.required]);n.valueChanges.pipe(F4(c=>{let o=this.nzFormatter(c);this.internalValue[e]=o,n.setValue(this.nzMask??o,{emitEvent:!1}),this.emitValue()}),T(this.destroyRef)).subscribe(),this.otpArray.push(n)}}emitValue(){let e=this.internalValue.join("");this.onChangeCallback&&this.onChangeCallback(e)}selectInputBox(e){let n=this.otpInputs.toArray();e<=0&&(e=0),e>=n.length&&(e=n.length-1),n[e].nativeElement.select()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["nz-input-otp"]],viewQuery:function(n,c){if(n&1&&$4(yc,5),n&2){let o;U1(o=q1())&&(c.otpInputs=o)}},hostAttrs:[1,"ant-otp"],inputs:{nzLength:[2,"nzLength","nzLength",g4],nzSize:"nzSize",disabled:[2,"disabled","disabled",_],nzStatus:"nzStatus",nzFormatter:"nzFormatter",nzMask:"nzMask"},exportAs:["nzInputOtp"],features:[N([{provide:u4,useExisting:a1(()=>t),multi:!0}]),O],decls:2,vars:0,consts:[["otpInput",""],["nz-input","","type","text","maxlength","1","size","1",1,"ant-otp-input",3,"nzSize","formControl","nzStatus"],["nz-input","","type","text","maxlength","1","size","1",1,"ant-otp-input",3,"input","focus","keydown","paste","nzSize","formControl","nzStatus"]],template:function(n,c){n&1&&Z2(0,wc,2,3,"input",1,Z6),n&2&&K2(c.otpArray.controls)},dependencies:[e4,d5,Se,n5,n6,t6],encapsulation:2,changeDetection:0})}return t})(),uo=(()=>{class t{inputDir=L1.required(e4);inputRef=L1.required(e4,{read:z});nzEnterButton=t1(!1);nzLoading=t1(!1,{transform:_});nzSearch=l3();size=x(()=>this.inputDir().nzSize());search(e,n="input"){this.nzLoading()||this.nzSearch.emit({value:this.inputRef().nativeElement.value,event:e,source:n})}onEnter(e){e.target===this.inputRef().nativeElement&&this.search(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["nz-input-search"]],contentQueries:function(n,c,o){n&1&&(S1(o,c.inputDir,e4,5),S1(o,c.inputRef,e4,5,z)),n&2&&G4(2)},hostAttrs:[1,"ant-input-search"],hostVars:6,hostBindings:function(n,c){n&1&&w1("keydown.enter",function(s){return c.onEnter(s)}),n&2&&R("ant-input-search-large",c.size()==="large")("ant-input-search-small",c.size()==="small")("ant-input-search-with-button",c.nzEnterButton()!==!1)},inputs:{nzEnterButton:[1,"nzEnterButton"],nzLoading:[1,"nzLoading"]},outputs:{nzSearch:"nzSearch"},exportAs:["nzInputSearch"],features:[N([{provide:P5,useExisting:a1(()=>t)}])]})}return t})(),I5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzInputSearchEnterButton",""]]})}return t})(),fo=(()=>{class t{focusMonitor=r(c2);inputPasswordDir=r(R5,{self:!0,optional:!0});inputSearchDir=r(uo,{self:!0,optional:!0});inputRef=L1.required(e4,{read:z});inputDir=L1.required(e4);prefix=L1(D5);suffix=L1(T5);addonBefore=L1(A5);addonAfter=L1(L5);inputPasswordIconTmpl=L1(B5,{read:m1});inputSearchEnterButton=L1(I5);nzAllowClear=t1(!1,{transform:_});nzPrefix=t1();nzSuffix=t1();nzAddonBefore=t1();nzAddonAfter=t1();nzClear=l3();size=x(()=>this.inputDir().nzSize());variant=x(()=>this.inputDir().nzVariant());disabled=x(()=>this.inputDir().finalDisabled());readOnly=x(()=>this.inputDir().readonly());status=x(()=>this.inputDir().status());hasFeedback=x(()=>this.inputDir().hasFeedback());hasPrefix=x(()=>!!this.nzPrefix()||!!this.prefix());hasSuffix=x(()=>!!this.nzSuffix()||!!this.suffix()||this.nzAllowClear()||this.hasFeedback()||this.inputPasswordDir);hasAffix=x(()=>this.hasPrefix()||this.hasSuffix());hasAddonBefore=x(()=>!!this.nzAddonBefore()||!!this.addonBefore());hasAddonAfter=x(()=>!!this.nzAddonAfter()||!!this.addonAfter()||!!this.inputSearchDir);hasAddon=x(()=>this.hasAddonBefore()||this.hasAddonAfter());compactSize=r(Q4,{optional:!0});dir=r(g1).valueSignal;focused=A(!1);isTextarea=x(()=>this.inputRef().nativeElement instanceof HTMLTextAreaElement);finalSize=x(()=>this.compactSize?this.compactSize():this.size());class=x(()=>this.hasAddon()?this.groupWrapperClass():this.hasAffix()?this.affixWrapperClass():null);affixWrapperClass=x(()=>b(b({"ant-input-affix-wrapper":!0,"ant-input-affix-wrapper-lg":this.finalSize()==="large","ant-input-affix-wrapper-sm":this.finalSize()==="small","ant-input-affix-wrapper-disabled":this.disabled(),"ant-input-affix-wrapper-readonly":this.readOnly(),"ant-input-affix-wrapper-focused":this.focused(),"ant-input-affix-wrapper-rtl":this.dir()==="rtl"},M4("ant-input-affix-wrapper",this.status(),this.hasFeedback())),y3("ant-input-affix-wrapper",this.variant())));groupWrapperClass=x(()=>b(b({"ant-input-group-wrapper":!0,"ant-input-group-wrapper-sm":this.finalSize()==="small","ant-input-group-wrapper-lg":this.finalSize()==="large","ant-input-group-wrapper-rtl":this.dir()==="rtl"},M4("ant-input-group-wrapper",this.status(),this.hasFeedback())),y3("ant-input-group-wrapper",this.variant())));constructor(){let e=r(I);y1(()=>{let n=this.inputRef();this.focusMonitor.monitor(n).pipe(T(e)).subscribe(c=>{this.focused.set(!!c)}),e.onDestroy(()=>{this.focusMonitor.stopMonitoring(n)})})}clear(){this.inputDir().ngControl?.control?.setValue(""),this.nzClear.emit()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["nz-input-wrapper"],["nz-input-password"],["nz-input-search"]],contentQueries:function(n,c,o){n&1&&(S1(o,c.inputRef,e4,5,z),S1(o,c.inputDir,e4,5),S1(o,c.prefix,D5,5),S1(o,c.suffix,T5,5),S1(o,c.addonBefore,A5,5),S1(o,c.addonAfter,L5,5),S1(o,c.inputPasswordIconTmpl,B5,5,m1),S1(o,c.inputSearchEnterButton,I5,5)),n&2&&G4(8)},hostVars:6,hostBindings:function(n,c){n&2&&($1(c.class()),R("ant-input-disabled",c.disabled())("ant-input-affix-wrapper-textarea-with-clear-btn",c.nzAllowClear()&&c.isTextarea()))},inputs:{nzAllowClear:[1,"nzAllowClear"],nzPrefix:[1,"nzPrefix"],nzSuffix:[1,"nzSuffix"],nzAddonBefore:[1,"nzAddonBefore"],nzAddonAfter:[1,"nzAddonAfter"]},outputs:{nzClear:"nzClear"},exportAs:["nzInputWrapper"],features:[N([{provide:C4,useValue:"input"},{provide:N5,useExisting:a1(()=>t)}]),U4([J4])],ngContentSelectors:Vc,decls:11,vars:1,consts:[["inputWithAddonInner",""],["inputWithAffix",""],["inputWithAffixInner",""],["input",""],[3,"ngTemplateOutlet"],[1,"ant-input-wrapper","ant-input-group"],[1,"ant-input-group-addon"],["nz-button","","type","button",1,"ant-input-search-button",3,"nzType","nzSize","nzLoading"],["nz-button","","type","button",1,"ant-input-search-button",3,"click","nzType","nzSize","nzLoading"],["nzType","search","nzTheme","outline"],[1,"ant-input-prefix"],[1,"ant-input-suffix"],["role","button","tabindex","-1",1,"ant-input-clear-icon",3,"ant-input-clear-icon-has-suffix","ant-input-clear-icon-hidden"],["role","button","tabindex","-1",1,"ant-input-password-icon"],[3,"status"],["role","button","tabindex","-1",1,"ant-input-clear-icon",3,"click"],["nzType","close-circle","nzTheme","fill"],["role","button","tabindex","-1",1,"ant-input-password-icon",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nzTheme","outline",3,"nzType"]],template:function(n,c){n&1&&(W1(Cc),L(0,Ec,1,1,null,4)(1,Oc,1,1,null,4)(2,Lc,1,1,null,4),Z(3,qc,5,3,"ng-template",null,0,i4)(5,Gc,2,3,"ng-template",null,1,i4)(7,so,3,3,"ng-template",null,2,i4)(9,ao,1,0,"ng-template",null,3,i4)),n&2&&D(c.hasAddon()?0:c.hasAffix()?1:2)},dependencies:[w4,B1,B0,R3,S0,L0,Ne,l2],encapsulation:2,changeDetection:0})}return t})();var Jh=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[fo,lo,F5,ho]})}return t})();var Pe=class{};function j5(t){return t&&typeof t.connect=="function"&&!(t instanceof S6)}var je=class extends Pe{_data;constructor(i){super(),this._data=i}connect(){return D4(this._data)?this._data:x1(this._data)}disconnect(){}},O2=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(O2||{}),f6=new y("_ViewRepeater"),We=class{viewCacheSize=20;_viewCache=[];applyChanges(i,e,n,c,o){i.forEachOperation((s,a,l)=>{let h,d;if(s.previousIndex==null){let m=()=>n(s,a,l);h=this._insertView(m,l,e,c(s)),d=h?O2.INSERTED:O2.REPLACED}else l==null?(this._detachAndCacheView(a,e),d=O2.REMOVED):(h=this._moveView(a,l,e,c(s)),d=O2.MOVED);o&&o({context:h?.context,operation:d,record:s})})}detach(){for(let i of this._viewCache)i.destroy();this._viewCache=[]}_insertView(i,e,n,c){let o=this._insertViewFromCache(e,n);if(o){o.context.$implicit=c;return}let s=i();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(i,e){let n=e.detach(i);this._maybeCacheView(n,e)}_moveView(i,e,n,c){let o=n.get(i);return n.move(o,e),o.context.$implicit=c,o}_maybeCacheView(i,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(i);else{let n=e.indexOf(i);n===-1?i.destroy():e.remove(n)}}_insertViewFromCache(i,e){let n=this._viewCache.pop();return n&&e.insert(n,i),n||null}};var vo=["contentWrapper"],mo=["*"],q5=new y("VIRTUAL_SCROLL_STRATEGY"),v6=class{_scrolledIndexChange=new g;scrolledIndexChange=this._scrolledIndexChange.pipe(P1());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(i,e,n){this._itemSize=i,this._minBufferPx=e,this._maxBufferPx=n}attach(i){this._viewport=i,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(i,e,n){n<e,this._itemSize=i,this._minBufferPx=e,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(i,e){this._viewport&&this._viewport.scrollToOffset(i*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let i=this._viewport.getRenderedRange(),e={start:i.start,end:i.end},n=this._viewport.getViewportSize(),c=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),s=this._itemSize>0?o/this._itemSize:0;if(e.end>c){let l=Math.ceil(n/this._itemSize),h=Math.max(0,Math.min(s,c-l));s!=h&&(s=h,o=h*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(c,e.start+l))}let a=o-e.start*this._itemSize;if(a<this._minBufferPx&&e.start!=0){let l=Math.ceil((this._maxBufferPx-a)/this._itemSize);e.start=Math.max(0,e.start-l),e.end=Math.min(c,Math.ceil(s+(n+this._minBufferPx)/this._itemSize))}else{let l=e.end*this._itemSize-(o+n);if(l<this._minBufferPx&&e.end!=c){let h=Math.ceil((this._maxBufferPx-l)/this._itemSize);h>0&&(e.end=Math.min(c,e.end+h),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(s))}};function po(t){return t._scrollStrategy}var go=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=s4(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=s4(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=s4(e)}_maxBufferPx=200;_scrollStrategy=new v6(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[N([{provide:q5,useFactory:po,deps:[a1(()=>t)]}]),O]})}return t})(),zo=20,A2=(()=>{class t{_ngZone=r(F);_platform=r($);_renderer=r(E1).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new g;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=zo){return this._platform.isBrowser?new I1(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let c=e>0?this._scrolled.pipe(T4(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{c.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):x1()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let c=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(v1(o=>!o||c.indexOf(o)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((c,o)=>{this._scrollableContainsElement(o,e)&&n.push(o)}),n}_scrollableContainsElement(e,n){let c=b4(n),o=e.getElementRef().nativeElement;do if(c==o)return!0;while(c=c.parentElement);return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),p6=(()=>{class t{elementRef=r(z);scrollDispatcher=r(A2);ngZone=r(F);dir=r(g1,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new g;_renderer=r(i1);_cleanupScroll;_elementScrolled=new g;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let n=this.elementRef.nativeElement,c=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=c?e.end:e.start),e.right==null&&(e.right=c?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),c&&Z4()!=Y1.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),Z4()==Y1.INVERTED?e.left=e.right:Z4()==Y1.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;ue()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left))}measureScrollOffset(e){let n="left",c="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?c:n:e=="end"&&(e=s?n:c),s&&Z4()==Y1.INVERTED?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&Z4()==Y1.NEGATED?e==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),_o=20,E4=(()=>{class t{_platform=r($);_listeners;_viewportSize;_change=new g;_document=r(Q);constructor(){let e=r(F),n=r(E1).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let c=o=>this._change.next(o);this._listeners=[n.listen("window","resize",c),n.listen("window","orientationchange",c)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:c}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+c,right:e.left+n,height:c,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),c=e.documentElement,o=c.getBoundingClientRect(),s=-o.top||e.body.scrollTop||n.scrollY||c.scrollTop||0,a=-o.left||e.body.scrollLeft||n.scrollX||c.scrollLeft||0;return{top:s,left:a}}change(e=_o){return e>0?this._change.pipe(T4(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),W5=new y("VIRTUAL_SCROLLABLE"),bo=(()=>{class t extends p6{constructor(){super()}measureViewportSize(e){let n=this.elementRef.nativeElement;return e==="horizontal"?n.clientWidth:n.clientHeight}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,features:[U]})}return t})();function Mo(t,i){return t.start==i.start&&t.end==i.end}var yo=typeof requestAnimationFrame<"u"?U2:A4,$5=(()=>{class t extends bo{elementRef=r(z);_changeDetectorRef=r(p1);_scrollStrategy=r(q5,{optional:!0});scrollable=r(W5,{optional:!0});_platform=r($);_detachedSubject=new g;_renderedRangeSubject=new g;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new I1(e=>this._scrollStrategy.scrolledIndexChange.subscribe(n=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(n)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;_totalContentSize=0;_totalContentWidth=A("");_totalContentHeight=A("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=A(!1);_runAfterChangeDetection=[];_viewportChanges=N1.EMPTY;_injector=r(c1);_isDestroyed=!1;constructor(){super();let e=r(E4);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let n=o4(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:r(m4).injector});r(I).onDestroy(()=>void n.destroy())}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(H1(null),T4(0,yo),Q1(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Q1(this._detachedSubject)).subscribe(n=>{let c=n.length;c!==this._dataLength&&(this._dataLength=c,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){Mo(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,n="to-start"){e=this.appendOnly&&n==="to-start"?0:e;let c=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",s=o?"X":"Y",l=`translate${s}(${Number((o&&c?-1:1)*e)}px)`;this._renderedContentOffset=e,n==="to-end"&&(l+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=l&&(this._renderedContentTransform=l,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,n="auto"){let c={behavior:n};this.orientation==="horizontal"?c.start=e:c.top=e,this.scrollable.scrollTo(c)}scrollToIndex(e,n="auto"){this._scrollStrategy.scrollToIndex(e,n)}measureScrollOffset(e){let n;return this.scrollable==this?n=c=>super.measureScrollOffset(c):n=c=>this.scrollable.measureScrollOffset(c),Math.max(0,n(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let n,c="left",o="right",s=this.dir?.value=="rtl";e=="start"?n=s?o:c:e=="end"?n=s?c:o:e?n=e:n=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-a}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!A1(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,y1(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let n of e)n()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(n,c){if(n&1&&$4(vo,7),n&2){let o;U1(o=q1())&&(c._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(n,c){n&2&&R("cdk-virtual-scroll-orientation-horizontal",c.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",c.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",_]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[N([{provide:p6,useFactory:(e,n)=>e||n,deps:[[new U6,new W6(W5)],t]}]),U],ngContentSelectors:mo,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(n,c){n&1&&(W1(),Q6(0,"div",1,0),l1(2),J6(),e8(3,"div",2)),n&2&&(w(3),ee("width",c._totalContentWidth())("height",c._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}
|
|
11
|
-
`],encapsulation:2,changeDetection:0})}return t})();function U5(t,i,e){let n=e;if(!n.getBoundingClientRect)return 0;let c=n.getBoundingClientRect();return t==="horizontal"?i==="start"?c.left:c.right:i==="start"?c.top:c.bottom}var wo=(()=>{class t{_viewContainerRef=r(R1);_template=r(m1);_differs=r(l8);_viewRepeater=r(f6);_viewport=r($5,{skipSelf:!0});viewChange=new g;_dataSourceChanges=new g;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,j5(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new je(D4(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(n,c)=>e(n+(this._renderedRange?this._renderedRange.start:0),c):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=s4(e)}dataStream=this._dataSourceChanges.pipe(H1(null),R6(),Y2(([e,n])=>this._changeDataSource(e,n)),P6(1));_differ=null;_data;_renderedItems;_renderedRange;_needsUpdate=!1;_destroyed=new g;constructor(){let e=r(F);this.dataStream.subscribe(n=>{this._data=n,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Q1(this._destroyed)).subscribe(n=>{this._renderedRange=n,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,n){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let c=e.start-this._renderedRange.start,o=e.end-e.start,s,a;for(let l=0;l<o;l++){let h=this._viewContainerRef.get(l+c);if(h&&h.rootNodes.length){s=a=h.rootNodes[0];break}}for(let l=o-1;l>-1;l--){let h=this._viewContainerRef.get(l+c);if(h&&h.rootNodes.length){a=h.rootNodes[h.rootNodes.length-1];break}}return s&&a?U5(n,"end",a)-U5(n,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,n)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,n):n)),this._needsUpdate=!0)}_changeDataSource(e,n){return e&&e.disconnect(this),this._needsUpdate=!0,n?n.connect(this):x1()}_updateContext(){let e=this._data.length,n=this._viewContainerRef.length;for(;n--;){let c=this._viewContainerRef.get(n);c.context.index=this._renderedRange.start+n,c.context.count=e,this._updateComputedContextProperties(c.context),c.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(o,s,a)=>this._getEmbeddedViewArgs(o,a),o=>o.item),e.forEachIdentityChange(o=>{let s=this._viewContainerRef.get(o.currentIndex);s.context.$implicit=o.item});let n=this._data.length,c=this._viewContainerRef.length;for(;c--;){let o=this._viewContainerRef.get(c);o.context.index=this._renderedRange.start+c,o.context.count=n,this._updateComputedContextProperties(o.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,n){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:n}}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[N([{provide:f6,useClass:We}])]})}return t})();var m6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})(),g6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[b2,m6,b2,m6]})}return t})();var L2=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},z6=class extends L2{component;viewContainerRef;injector;projectableNodes;constructor(i,e,n,c){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.projectableNodes=c}},D2=class extends L2{templateRef;viewContainerRef;context;injector;constructor(i,e,n,c){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=c}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},_6=class extends L2{element;constructor(i){super(),this.element=i instanceof z?i.nativeElement:i}},Ue=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof z6)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof D2)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof _6)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},qe=class extends Ue{outletElement;_appRef;_defaultInjector;constructor(i,e,n){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=n}attachComponentPortal(i){let e;if(i.viewContainerRef){let n=i.injector||i.viewContainerRef.injector,c=n.get(a3,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:n,ngModuleRef:c,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let n=this._appRef,c=i.injector||this._defaultInjector||c1.NULL,o=c.get(N4,n.injector);e=ne(i.component,{elementInjector:c,environmentInjector:o,projectableNodes:i.projectableNodes||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return n.rootNodes.forEach(c=>this.outletElement.appendChild(c)),n.detectChanges(),this.setDisposeFn(()=>{let c=e.indexOf(n);c!==-1&&e.remove(c)}),this._attachedPortal=i,n}attachDomPortal=i=>{let e=i.element;e.parentNode;let n=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var Dd=(()=>{class t extends Ue{_moduleRef=r(a3,{optional:!0});_document=r(Q);_viewContainerRef=r(R1);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new Y;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,c=n.createComponent(e.component,{index:n.length,injector:e.injector||n.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=e,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachDomPortal=e=>{let n=e.element;n.parentNode;let c=this._document.createComment("dom-portal");e.setAttachedHost(this),n.parentNode.insertBefore(c,n),this._getRootNode().appendChild(n),this._attachedPortal=e,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(n,c)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[U]})}return t})();var G5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var Y5=ue();function ti(t){return new $e(t.get(E4),t.get(Q))}var $e=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=q(-this._previousScrollPosition.left),i.style.top=q(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,n=i.style,c=e.style,o=n.scrollBehavior||"",s=c.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),Y5&&(n.scrollBehavior=c.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Y5&&(n.scrollBehavior=o,c.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};function ii(t,i){return new Ge(t.get(A2),t.get(F),t.get(E4),i)}var Ge=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,n,c){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=c}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(v1(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};function Co(){return new o2}var o2=class{enable(){}disable(){}attach(){}};function b6(t,i){return i.some(e=>{let n=t.bottom<e.top,c=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return n||c||o||s})}function X5(t,i){return i.some(e=>{let n=t.top<e.top,c=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return n||c||o||s})}function Je(t,i){return new Ye(t.get(A2),t.get(E4),t.get(F),i)}var Ye=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,n,c){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=c}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:c}=this._viewportRuler.getViewportSize();b6(e,[{width:n,height:c,bottom:c,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ni=(()=>{class t{_injector=r(c1);constructor(){}noop=()=>new o2;close=e=>ii(this._injector,e);block=()=>ti(this._injector);reposition=e=>Je(this._injector,e);static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),T2=class{positionStrategy;scrollStrategy=new o2;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let n of e)i[n]!==void 0&&(this[n]=i[n])}}},j=class{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(i,e,n,c,o){this.offsetX=n,this.offsetY=c,this.panelClass=o,this.originX=i.originX,this.originY=i.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}};var Xe=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var ci=(()=>{class t{_attachedOverlays=[];_document=r(Q);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oi=(()=>{class t extends ci{_ngZone=r(F);_renderer=r(E1).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let n=this._attachedOverlays;for(let c=n.length-1;c>-1;c--)if(n[c]._keydownEvents.observers.length>0){this._ngZone.run(()=>n[c]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),si=(()=>{class t extends ci{_platform=r($);_ngZone=r(F);_renderer=r(E1).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,c={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(n,"pointerdown",this._pointerDownListener,c),o.listen(n,"click",this._clickListener,c),o.listen(n,"auxclick",this._clickListener,c),o.listen(n,"contextmenu",this._clickListener,c)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=T1(e)};_clickListener=e=>{let n=T1(e),c=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(Z5(a.overlayElement,n)||Z5(a.overlayElement,c))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(c){return(e||(e=M1(t)))(c||t)}})();static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Z5(t,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=i;for(;n;){if(n===t)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var ai=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=e1({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,c){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
12
|
-
`],encapsulation:2,changeDetection:0})}return t})(),ri=(()=>{class t{_platform=r($);_containerElement;_document=r(Q);_styleLoader=r(S2);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||H3()){let c=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<c.length;o++)c[o].remove()}let n=this._document.createElement("div");n.classList.add(e),H3()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}_loadStyles(){this._styleLoader.load(ai)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),M6=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,e,n,c){this._renderer=e,this._ngZone=n,this.element=i.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",c)}detach(){this._ngZone.runOutsideAngular(()=>{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.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()}},Ze=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=N1.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new g;_outsidePointerEvents=new g;_afterNextRenderRef;constructor(i,e,n,c,o,s,a,l,h,d=!1,m,k){this._portalOutlet=i,this._host=e,this._pane=n,this._config=c,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=h,this._animationsDisabled=d,this._injector=m,this._renderer=k,c.scrollStrategy&&(this._scrollStrategy=c.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=c.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=y1(()=>{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 i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=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,i&&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(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=b(b({},this._config),i),this._updateElementSize()}setDirection(i){this._config=G(b({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=q(this._config.width),i.height=q(this._config.height),i.minWidth=q(this._config.minWidth),i.minHeight=q(this._config.minHeight),i.maxWidth=q(this._config.maxWidth),i.maxHeight=q(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new M6(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(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,n){let c=X4(e||[]).filter(o=>!!o);c.length&&(n?i.classList.add(...c):i.classList.remove(...c))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=y1(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)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 i=this._scrollStrategy;i?.disable(),i?.detach?.()}},K5="cdk-overlay-connected-position-bounding-box",Vo=/([A-Za-z%]+)$/;function y6(t,i){return new Ke(i,t.get(E4),t.get(Q),t.get($),t.get(ri))}var Ke=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=N1.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,n,c,o){this._viewportRuler=e,this._document=n,this._platform=c,this._overlayContainer=o,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(K5),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.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 i=this._originRect,e=this._overlayRect,n=this._viewportRect,c=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(i,c,a),h=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(h,e,n,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,h,n)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:h,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let h of o){let d=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);d>l&&(l=d,a=h)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&S4(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(K5),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){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,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,n){let c;if(n.originX=="center")c=i.left+i.width/2;else{let s=this._isRtl()?i.right:i.left,a=this._isRtl()?i.left:i.right;c=n.originX=="start"?s:a}e.left<0&&(c-=e.left);let o;return n.originY=="center"?o=i.top+i.height/2:o=n.originY=="top"?i.top:i.bottom,e.top<0&&(o-=e.top),{x:c,y:o}}_getOverlayPoint(i,e,n){let c;n.overlayX=="center"?c=-e.width/2:n.overlayX==="start"?c=this._isRtl()?-e.width:0:c=this._isRtl()?0:-e.width;let o;return n.overlayY=="center"?o=-e.height/2:o=n.overlayY=="top"?0:-e.height,{x:i.x+c,y:i.y+o}}_getOverlayFit(i,e,n,c){let o=J5(e),{x:s,y:a}=i,l=this._getOffset(c,"x"),h=this._getOffset(c,"y");l&&(s+=l),h&&(a+=h);let d=0-s,m=s+o.width-n.width,k=0-a,f1=a+o.height-n.height,s1=this._subtractOverflows(o.width,d,m),_1=this._subtractOverflows(o.height,k,f1),k2=s1*_1;return{visibleArea:k2,isCompletelyWithinViewport:o.width*o.height===k2,fitsInViewportVertically:_1===o.height,fitsInViewportHorizontally:s1==o.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){let c=n.bottom-e.y,o=n.right-e.x,s=Q5(this._overlayRef.getConfig().minHeight),a=Q5(this._overlayRef.getConfig().minWidth),l=i.fitsInViewportVertically||s!=null&&s<=c,h=i.fitsInViewportHorizontally||a!=null&&a<=o;return l&&h}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let c=J5(e),o=this._viewportRect,s=Math.max(i.x+c.width-o.width,0),a=Math.max(i.y+c.height-o.height,0),l=Math.max(o.top-n.top-i.y,0),h=Math.max(o.left-n.left-i.x,0),d=0,m=0;return c.width<=o.width?d=h||-s:d=i.x<this._viewportMargin?o.left-n.left-i.x:0,c.height<=o.height?m=l||-a:m=i.y<this._viewportMargin?o.top-n.top-i.y:0,this._previousPushAmount={x:d,y:m},{x:i.x+d,y:i.y+m}}_applyPosition(i,e){if(this._setTransformOrigin(i),this._setOverlayElementStyles(e,i),this._setBoundingBoxStyles(e,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!xo(this._lastScrollVisibility,n)){let c=new Xe(i,n);this._positionChanges.next(c)}this._lastScrollVisibility=n}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,c=i.overlayY;i.overlayX==="center"?n="center":this._isRtl()?n=i.overlayX==="start"?"right":"left":n=i.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${c}`}_calculateBoundingBoxRect(i,e){let n=this._viewportRect,c=this._isRtl(),o,s,a;if(e.overlayY==="top")s=i.y,o=n.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=n.height-i.y+this._viewportMargin*2,o=n.height-a+this._viewportMargin;else{let f1=Math.min(n.bottom-i.y+n.top,i.y),s1=this._lastBoundingBoxSize.height;o=f1*2,s=i.y-f1,o>s1&&!this._isInitialRender&&!this._growAfterOpen&&(s=i.y-s1/2)}let l=e.overlayX==="start"&&!c||e.overlayX==="end"&&c,h=e.overlayX==="end"&&!c||e.overlayX==="start"&&c,d,m,k;if(h)k=n.width-i.x+this._viewportMargin*2,d=i.x-this._viewportMargin;else if(l)m=i.x,d=n.right-i.x;else{let f1=Math.min(n.right-i.x+n.left,i.x),s1=this._lastBoundingBoxSize.width;d=f1*2,m=i.x-f1,d>s1&&!this._isInitialRender&&!this._growAfterOpen&&(m=i.x-s1/2)}return{top:s,left:m,bottom:a,right:k,width:d,height:o}}_setBoundingBoxStyles(i,e){let n=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;c.height=q(n.height),c.top=q(n.top),c.bottom=q(n.bottom),c.width=q(n.width),c.left=q(n.left),c.right=q(n.right),e.overlayX==="center"?c.alignItems="center":c.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?c.justifyContent="center":c.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(c.maxHeight=q(o)),s&&(c.maxWidth=q(s))}this._lastBoundingBoxSize=n,S4(this._boundingBox.style,c)}_resetBoundingBoxStyles(){S4(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){S4(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let n={},c=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(c){let d=this._viewportRuler.getViewportScrollPosition();S4(n,this._getExactOverlayY(e,i,d)),S4(n,this._getExactOverlayX(e,i,d))}else n.position="static";let a="",l=this._getOffset(e,"x"),h=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),h&&(a+=`translateY(${h}px)`),n.transform=a.trim(),s.maxHeight&&(c?n.maxHeight=q(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(c?n.maxWidth=q(s.maxWidth):o&&(n.maxWidth="")),S4(this._pane.style,n)}_getExactOverlayY(i,e,n){let c={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;c.bottom=`${s-(o.y+this._overlayRect.height)}px`}else c.top=q(o.y);return c}_getExactOverlayX(i,e,n){let c={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=i.overlayX==="end"?"left":"right":s=i.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;c.right=`${a-(o.x+this._overlayRect.width)}px`}else c.left=q(o.x);return c}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(c=>c.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:X5(i,n),isOriginOutsideView:b6(i,n),isOverlayClipped:X5(e,n),isOverlayOutsideView:b6(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,c)=>n-Math.max(c,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+i-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&X4(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof z)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}};function S4(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function Q5(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(Vo);return!e||e==="px"?parseFloat(i):null}return t||null}function J5(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 xo(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var ei="cdk-global-overlay-wrapper";function li(t){return new Qe}var Qe=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(ei),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:c,height:o,maxWidth:s,maxHeight:a}=n,l=(c==="100%"||c==="100vw")&&(!s||s==="100%"||s==="100vw"),h=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,m=this._xOffset,k=this._overlayRef.getConfig().direction==="rtl",f1="",s1="",_1="";l?_1="flex-start":d==="center"?(_1="center",k?s1=m:f1=m):k?d==="left"||d==="end"?(_1="flex-end",f1=m):(d==="right"||d==="start")&&(_1="flex-start",s1=m):d==="left"||d==="start"?(_1="flex-start",f1=m):(d==="right"||d==="end")&&(_1="flex-end",s1=m),i.position=this._cssPosition,i.marginLeft=l?"0":f1,i.marginTop=h?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=l?"0":s1,e.justifyContent=_1,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(ei),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},hi=(()=>{class t{_injector=r(c1);constructor(){}global(){return li()}flexibleConnectedTo(e){return y6(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function w6(t,i){t.get(S2).load(ai);let e=t.get(ri),n=t.get(Q),c=t.get(O5),o=t.get(m4),s=t.get(g1),a=n.createElement("div"),l=n.createElement("div");l.id=c.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),e.getContainerElement().appendChild(a);let h=new qe(l,o,t),d=new T2(i),m=t.get(i1,null,{optional:!0})||t.get(E1).createRenderer(null,null);return d.direction=d.direction||s.value,new Ze(h,a,l,d,t.get(F),t.get(oi),n,t.get(h8),t.get(si),i?.disableAnimations??t.get(j4,null,{optional:!0})==="NoopAnimations",t.get(N4),m)}var di=(()=>{class t{scrollStrategies=r(ni);_positionBuilder=r(hi);_injector=r(c1);constructor(){}create(e){return w6(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ho=[{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"}],ui=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=r(c1);return()=>Je(t)}}),B2=(()=>{class t{elementRef=r(z);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),I2=(()=>{class t{_dir=r(g1,{optional:!0});_injector=r(c1);_overlayRef;_templatePortal;_backdropSubscription=N1.EMPTY;_attachSubscription=N1.EMPTY;_detachSubscription=N1.EMPTY;_positionSubscription=N1.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=r(ui);_disposeOnNavigation=!1;_ngZone=r(F);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 Y;positionChange=new Y;attach=new Y;detach=new Y;overlayKeydown=new Y;overlayOutsideClick=new Y;constructor(){let e=r(m1),n=r(R1);this._templatePortal=new D2(e,n),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=Ho);let e=this._overlayRef=w6(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!ke(n)&&(n.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let c=this._getOriginElement(),o=T1(n);(!c||c!==o&&!c.contains(o))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new T2({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){let n=this.positions.map(c=>({originX:c.originX,originY:c.originY,overlayX:c.overlayX,overlayY:c.overlayY,offsetX:c.offsetX||this.offsetX,offsetY:c.offsetY||this.offsetY,panelClass:c.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=y6(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof B2?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof B2?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(j6(()=>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(n){return new(n||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:[O]})}return t})();function Eo(t){let i=r(c1);return()=>Je(i)}var So={provide:ui,useFactory:Eo},C6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({providers:[di,So],imports:[b2,G5,g6,g6]})}return t})();var u1=(()=>{class t{static SLOW="0.3s";static BASE="0.2s";static FAST="0.1s"}return t})(),d1=(()=>{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})(),Au=b1("collapseMotion",[h1("expanded",v({height:"*"})),h1("collapsed",v({height:0,overflow:"hidden"})),h1("hidden",v({height:0,overflow:"hidden",borderTopWidth:"0"})),S("expanded => collapsed",E(`150ms ${d1.EASE_IN_OUT}`)),S("expanded => hidden",E(`150ms ${d1.EASE_IN_OUT}`)),S("collapsed => expanded",E(`150ms ${d1.EASE_IN_OUT}`)),S("hidden => expanded",E(`150ms ${d1.EASE_IN_OUT}`))]),Lu=b1("treeCollapseMotion",[S("* => *",[ce("nz-tree-node:leave,nz-tree-builtin-node:leave",[v({overflow:"hidden"}),oe(0,[E(`150ms ${d1.EASE_IN_OUT}`,v({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),ce("nz-tree-node:enter,nz-tree-builtin-node:enter",[v({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),oe(0,[E(`150ms ${d1.EASE_IN_OUT}`,v({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),Du=b1("drawerMaskMotion",[S(":enter",[v({opacity:0}),E(`${u1.SLOW}`,v({opacity:1}))]),S(":leave",[v({opacity:1}),E(`${u1.SLOW}`,v({opacity:0}))])]),Tu=b1("fadeMotion",[S("* => enter",[v({opacity:0}),E(`${u1.BASE}`,v({opacity:1}))]),S("* => leave, :leave",[v({opacity:1}),E(`${u1.BASE}`,v({opacity:0}))])]),Bu=b1("helpMotion",[S(":enter",[v({opacity:0,transform:"translateY(-5px)"}),E(`${u1.SLOW} ${d1.EASE_IN_OUT}`,v({opacity:1,transform:"translateY(0)"}))]),S(":leave",[v({opacity:1,transform:"translateY(0)"}),E(`${u1.SLOW} ${d1.EASE_IN_OUT}`,v({opacity:0,transform:"translateY(-5px)"}))])]),Iu=b1("moveUpMotion",[S("* => enter",[v({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),E(`${u1.BASE}`,v({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),S("* => leave",[v({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),E(`${u1.BASE}`,v({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),ku=b1("notificationMotion",[h1("enterRight",v({opacity:1,transform:"translateX(0)"})),S("* => enterRight",[v({opacity:0,transform:"translateX(5%)"}),E("100ms linear")]),h1("enterLeft",v({opacity:1,transform:"translateX(0)"})),S("* => enterLeft",[v({opacity:0,transform:"translateX(-5%)"}),E("100ms linear")]),h1("enterTop",v({opacity:1,transform:"translateY(0)"})),S("* => enterTop",[v({opacity:0,transform:"translateY(-5%)"}),E("100ms linear")]),h1("enterBottom",v({opacity:1,transform:"translateY(0)"})),S("* => enterBottom",[v({opacity:0,transform:"translateY(5%)"}),E("100ms linear")]),h1("leave",v({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),S("* => leave",[v({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),E("100ms linear")])]),Ao=`${u1.BASE} ${d1.EASE_OUT_QUINT}`,Lo=`${u1.BASE} ${d1.EASE_IN_QUINT}`,Fu=b1("slideMotion",[h1("void",v({opacity:0,transform:"scaleY(0.8)"})),h1("enter",v({opacity:1,transform:"scaleY(1)"})),S("void => *",[E(Ao)]),S("* => void",[E(Lo)])]),Ru=b1("slideAlertMotion",[S(":leave",[v({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),E(`${u1.SLOW} ${d1.EASE_IN_OUT_CIRC}`,v({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),Nu=b1("tabSwitchMotion",[h1("leave",v({display:"none"})),S("* => enter",[v({display:"block",opacity:0}),E(u1.SLOW)]),S("* => leave, :leave",[v({position:"absolute",top:0,left:0,width:"100%"}),E(u1.SLOW,v({opacity:0})),v({display:"none"})])]),Pu=b1("thumbMotion",[h1("from",v({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),h1("to",v({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),h1("fromVertical",v({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:0,width:0,height:0}}),h1("toVertical",v({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:100,width:0,height:0}}),S("from => to",E(`300ms ${d1.EASE_IN_OUT}`)),S("fromVertical => toVertical",E(`300ms ${d1.EASE_IN_OUT}`))]),fi=b1("zoomBigMotion",[S("void => active",[v({opacity:0,transform:"scale(0.8)"}),E(`${u1.BASE} ${d1.EASE_OUT_CIRC}`,v({opacity:1,transform:"scale(1)"}))]),S("active => void",[v({opacity:1,transform:"scale(1)"}),E(`${u1.BASE} ${d1.EASE_IN_OUT_CIRC}`,v({opacity:0,transform:"scale(0.8)"}))])]),ju=b1("zoomBadgeMotion",[S(":enter",[v({opacity:0,transform:"scale(0) translate(50%, -50%)"}),E(`${u1.SLOW} ${d1.EASE_OUT_BACK}`,v({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),S(":leave",[v({opacity:1,transform:"scale(1) translate(50%, -50%)"}),E(`${u1.SLOW} ${d1.EASE_IN_BACK}`,v({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);var e3=(()=>{class t{animationType=r(j4,{optional:!0});nzNoAnimation=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(n,c){n&2&&R("nz-animate-disabled",c.nzNoAnimation||c.animationType==="NoopAnimations")},inputs:{nzNoAnimation:[2,"nzNoAnimation","nzNoAnimation",_]},exportAs:["nzNoAnimation"]})}return t})();var z1={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"})},Do=(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]}),s2=Do(),V6=[a2(z1.top,s2.top),a2(z1.right,s2.right),a2(z1.bottom,s2.bottom),a2(z1.left,s2.left)],tf=[z1.bottomLeft,z1.bottomRight,z1.topLeft,z1.topRight],nf=[new j({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],cf=[z1.bottomLeft,new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function x6(t){for(let i in z1)if(t.connectionPair.originX===z1[i].originX&&t.connectionPair.originY===z1[i].originY&&t.connectionPair.overlayX===z1[i].overlayX&&t.connectionPair.overlayY===z1[i].overlayY)return i}var t3={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)},of=[t3.bottomLeft,t3.topLeft,t3.bottomRight,t3.topRight];function To(t){return Array.isArray(t)?t:[t,t]}function a2(t,i){let[e,n]=To(i);return G(b({},t),{offsetX:e,offsetY:n})}var vi=(()=>{class t{cdkConnectedOverlay=r(I2);nzArrowPointAtCenter=!1;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(T()).subscribe(e=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(e)})}updateArrowPosition(e){let n=this.getOriginRect(),c=x6(e),o=0,s=0;c==="topLeft"||c==="bottomLeft"?o=n.width/2-14:c==="topRight"||c==="bottomRight"?o=-(n.width/2-14):c==="leftTop"||c==="rightTop"?s=n.height/2-10:(c==="leftBottom"||c==="rightBottom")&&(s=-(n.height/2-10)),(this.cdkConnectedOverlay.offsetX!==o||this.cdkConnectedOverlay.offsetY!==s)&&(this.cdkConnectedOverlay.offsetY=s,this.cdkConnectedOverlay.offsetX=o,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof B2?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 n=e.width||0,c=e.height||0;return{top:e.y,bottom:e.y+c,left:e.x,right:e.x+n,height:c,width:n}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",_]},exportAs:["nzConnectedOverlay"]})}return t})(),mi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();function sf(t,i){i&&(t._host.style.zIndex=`${i}`)}var Io=["overlay"];function ko(t,i){if(t&1&&(Q2(0),G1(1),J2()),t&2){let e=f(2);w(),J1(e.nzTitle)}}function Fo(t,i){if(t&1&&(X(0,"div",2),r1(1,"div",3),X(2,"div",4)(3,"div",5),Z(4,ko,2,1,"ng-container",6),K()()()),t&2){let e=f();te(e.nzOverlayStyle),$1(e._classMap),R("ant-tooltip-rtl",e.dir==="rtl"),V("@.disabled",!!(e.noAnimation!=null&&e.noAnimation.nzNoAnimation))("nzNoAnimation",e.noAnimation==null?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),w(),te(e._arrowStyleMap),w(2),te(e._contentStyleMap),w(),V("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext)}}var Ro=(()=>{class t{componentType;config;cdkConnectedOverlayPush;visibleChange=new Y;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=r(z);hostView=r(R1);renderer=r(i1);noAnimation=r(e3,{host:!0,optional:!0});nzConfigService=r(h4);destroyRef=r(I);platformId=r(P4);constructor(e){this.componentType=e,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners()})}ngAfterViewInit(){Y4(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(e){let{trigger:n}=e;n&&!n.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 n=this.component.nzVisibleChange.pipe(P1());n.pipe(T(this.destroyRef)).subscribe(c=>{this.internalVisible=c,this.visibleChange.emit(c)}),n.pipe(v1(c=>c),F6(0,A4),v1(()=>!!this.component?.overlay?.overlayRef),T(this.destroyRef)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){let e=this.elementRef.nativeElement,n=this.trigger;if(this.removeTriggerListeners(),n==="hover"){let c;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&&!c&&(c=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(c,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(c,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else n==="focus"?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):n==="click"&&this.triggerDisposables.push(this.renderer.listen(e,"click",c=>{c.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){let n=b({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(n).filter(c=>!c.startsWith("directive"))).forEach(c=>{if(n[c]){let[o,s]=n[c];this.updateComponentValue(o,s())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,n){typeof n<"u"&&(this.component[e]=n)}delayEnterLeave(e,n,c=-1){this.delayTimer?this.clearTogglingTimer():c>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,n?this.show():this.hide()},c*1e3):n&&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(n){return new(n||t)(H(q6))};static \u0275dir=u({type:t,features:[O]})}return t})(),No=(()=>{class t{overlay;noAnimation=r(e3,{host:!0,optional:!0});directionality=r(g1);cdr=r(p1);elementRef=r(z);destroyRef=r(I);nzTitle=null;nzContent=null;nzArrowPointAtCenter=!1;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=!0;nzBackdrop=!1;nzMouseEnterDelay;nzMouseLeaveDelay;cdkConnectedOverlayPush=!0;nzVisibleChange=new g;set nzVisible(e){let n=st(e);this._visible!==n&&(this._visible=n,this.nzVisibleChange.next(n))}get nzVisible(){return this._visible}_visible=!1;set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){let n=e.map(c=>a2(z1[c],s2[c]));this._positions=[...n,...V6]}preferredPlacement="top";origin;dir="ltr";_classMap={};_prefix="ant-tooltip";_positions=[...V6];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete()})}ngOnInit(){this.directionality.change?.pipe(T(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=x6(e),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){if(!this.nzOverlayClickable)return;let n=T1(e);!this.origin.nativeElement.contains(n)&&this.nzTrigger!==null&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap=G(b({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0})}transformClassListToMap(e){let n={};return(e!==null?e.split(/\s+/):[]).forEach(o=>n[o]=!0),n}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,viewQuery:function(n,c){if(n&1&&$4(Io,5),n&2){let o;U1(o=q1())&&(c.overlay=o.first)}}})}return t})();function Po(t){return t instanceof m1?!1:t===""||!_3(t)}var Af=(()=>{class t extends Ro{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 Y;constructor(){super(pi)}getProxyPropertyMap(){return G(b({},super.getProxyPropertyMap()),{nzTooltipColor:["nzColor",()=>this.nzTooltipColor],titleContext:["nzTitleContext",()=>this.titleContext]})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=u({type:t,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(n,c){n&2&&R("ant-tooltip-open",c.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:[U]})}return t})(),pi=(()=>{class t extends No{nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};isEmpty(){return Po(this.nzTitle)}updateStyles(){let e=this.nzColor&&wt(this.nzColor);this._classMap=G(b({},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(c){return(e||(e=M1(t)))(c||t)}})();static \u0275cmp=e1({type:t,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[U],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(n,c){if(n&1){let o=p4();Z(0,Fo,5,15,"ng-template",1,0,i4),w1("overlayOutsideClick",function(a){return k1(o),F1(c.onClickOutside(a))})("detach",function(){return k1(o),F1(c.hide())})("positionChange",function(a){return k1(o),F1(c.onPositionChange(a))})}n&2&&V("cdkConnectedOverlayOrigin",c.origin)("cdkConnectedOverlayOpen",c._visible)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayPush",c.cdkConnectedOverlayPush)("nzArrowPointAtCenter",c.nzArrowPointAtCenter)},dependencies:[C6,I2,e3,_e,K4,mi,vi],encapsulation:2,data:{animation:[fi]},changeDetection:0})}return t})();var Lf=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[pi]})}return t})();export{ji as a,u2 as b,s4 as c,b4 as d,$s as e,_3 as f,f2 as g,st as h,Gs as i,Ys as j,Xs as k,Zs as l,Ks as m,qi as n,Qs as o,Js as p,ta as q,ia as r,na as s,ca as t,at as u,M4 as v,ht as w,g1 as x,b2 as y,T as z,h2 as A,rn as B,ln as C,wt as D,Aa as E,h4 as F,ge as G,ze as H,$ as I,V3 as J,T1 as K,M0 as L,B1 as M,w4 as N,K4 as O,_e as P,Q4 as Q,C4 as R,J4 as S,S9 as T,O9 as U,S0 as V,L0 as W,D0 as X,R3 as Y,B0 as Z,m5 as _,p5 as $,c2 as aa,T7 as ba,S2 as ca,De as da,E5 as ea,G7 as fa,Y7 as ga,ke as ha,d6 as ia,go as ja,p6 as ka,E4 as la,$5 as ma,wo as na,g6 as oa,z6 as pa,D2 as qa,Ue as ra,Dd as sa,G5 as ta,ti as ua,Co as va,Je as wa,j as xa,oi as ya,Ze as za,y6 as Aa,li as Ba,w6 as Ca,B2 as Da,I2 as Ea,C6 as Fa,Au as Ga,Du as Ha,Tu as Ia,Bu as Ja,Iu as Ka,Fu as La,Ru as Ma,Nu as Na,fi as Oa,ju as Pa,e3 as Qa,z1 as Ra,s2 as Sa,x6 as Ta,a2 as Ua,vi as Va,mi as Wa,sf as Xa,Sr as Ya,Or as Za,s6 as _a,Yr as $a,v5 as ab,D7 as bb,Xr as cb,Zr as db,u6 as eb,Re as fb,Ne as gb,u4 as hb,qn as ib,Yn as jb,Se as kb,Z1 as lb,n5 as mb,Cr as nb,i2 as ob,v7 as pb,p7 as qb,xr as rb,z7 as sb,t6 as tb,M7 as ub,V7 as vb,H7 as wb,Hr as xb,d5 as yb,Qh as zb,D5 as Ab,T5 as Bb,e4 as Cb,fo as Db,Jh as Eb,Ro as Fb,Po as Gb,Af as Hb,pi as Ib,Lf as Jb};
|