homebridge-config-ui-x 5.0.0-beta.51 → 5.0.0-beta.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/CHANGELOG.md +5 -2
  2. package/package.json +14 -14
  3. package/public/{chunk-4MDIQGUS.js → chunk-2OUYQIDT.js} +1 -1
  4. package/public/chunk-2SKV4EZG.js +1 -0
  5. package/public/{chunk-4ANMJJ3Y.js → chunk-2TXKGWMR.js} +1 -1
  6. package/public/{chunk-7VOWKBC5.js → chunk-2WNK6SOS.js} +1 -1
  7. package/public/chunk-3MX5DOL7.js +1 -0
  8. package/public/{chunk-CBCEQDGK.js → chunk-3QZ375B7.js} +1 -1
  9. package/public/chunk-5YCO5TXF.js +1 -0
  10. package/public/{chunk-R2YGI2OS.js → chunk-6ILQEJNG.js} +1 -1
  11. package/public/{chunk-7BDTDCEB.js → chunk-6KTIHC4T.js} +1 -1
  12. package/public/{chunk-EDFYZGGZ.js → chunk-6WEQLPNK.js} +1 -1
  13. package/public/chunk-7NJFL3V5.js +1 -0
  14. package/public/{chunk-YKBVU6AV.js → chunk-7V7FVNQR.js} +1 -1
  15. package/public/{chunk-RLOJ4URV.js → chunk-A6T442AC.js} +1 -1
  16. package/public/{chunk-UCAC3YJL.js → chunk-ADLO54TI.js} +1 -1
  17. package/public/chunk-ASPLXDLK.js +1 -0
  18. package/public/{chunk-Q4TOTCFN.js → chunk-ATZCPOHY.js} +1 -1
  19. package/public/{chunk-LT62K2G6.js → chunk-BSQTJCCZ.js} +1 -1
  20. package/public/chunk-BVKEUYDD.js +1 -0
  21. package/public/{chunk-TRKPIOD5.js → chunk-C7B7J3YU.js} +1 -1
  22. package/public/{chunk-NHG4TUCE.js → chunk-CHKLSRJ3.js} +1 -1
  23. package/public/{chunk-GKJDQJXY.js → chunk-CPYAFTPH.js} +16 -16
  24. package/public/{chunk-VIPLB6ON.js → chunk-DNCUP6B7.js} +2 -2
  25. package/public/chunk-ECYEAXRB.js +1 -0
  26. package/public/{chunk-S7LSMLK2.js → chunk-ESRGAJUF.js} +1 -1
  27. package/public/{chunk-TF3VIHQQ.js → chunk-FASTOCS5.js} +1 -1
  28. package/public/{chunk-I4RJOFJA.js → chunk-FNBFKTZI.js} +1 -1
  29. package/public/{chunk-PWYRMEUF.js → chunk-GKSJJJEG.js} +1 -1
  30. package/public/{chunk-XRJZ7K7S.js → chunk-GZSXNYQC.js} +1 -1
  31. package/public/{chunk-4ODGBS6J.js → chunk-H22PVD4I.js} +1 -1
  32. package/public/{chunk-E4TY3GD7.js → chunk-H3B6SNLD.js} +1 -1
  33. package/public/{chunk-ZMPWO4WI.js → chunk-HATWVP5C.js} +1 -1
  34. package/public/{chunk-NQKVHBGX.js → chunk-I5QQRRPS.js} +1 -1
  35. package/public/{chunk-ZJLAMLYN.js → chunk-IC7Y4XQH.js} +1 -1
  36. package/public/{chunk-O6CWJLIA.js → chunk-IFJS5HBB.js} +1 -1
  37. package/public/chunk-IU42UO7J.js +1 -0
  38. package/public/chunk-JKRWJSXD.js +1 -0
  39. package/public/{chunk-RVTJXBND.js → chunk-JMXJZ2Q7.js} +1 -1
  40. package/public/{chunk-ZV6IGHL6.js → chunk-JN4WEHM3.js} +1 -1
  41. package/public/chunk-JUFP3U6F.js +1 -0
  42. package/public/chunk-JXE2EDWO.js +1 -0
  43. package/public/chunk-KUMEH2DS.js +1 -0
  44. package/public/chunk-KW4MJOSS.js +1 -0
  45. package/public/chunk-KXTEHFOE.js +1 -0
  46. package/public/chunk-LFQIH47S.js +1 -0
  47. package/public/chunk-LU42XXER.js +1 -0
  48. package/public/chunk-MF5APUVW.js +1 -0
  49. package/public/{chunk-HBOJTK3W.js → chunk-MJJZV2ZZ.js} +1 -1
  50. package/public/{chunk-EJHOKTHW.js → chunk-MNIEFP5R.js} +1 -1
  51. package/public/{chunk-CF74UVXM.js → chunk-MR2YBKPP.js} +1 -1
  52. package/public/{chunk-4ASVYUZP.js → chunk-MRUJHSFO.js} +1 -1
  53. package/public/chunk-N23UCYUG.js +1 -0
  54. package/public/{chunk-ZTTWZU4Q.js → chunk-NSTYUUFS.js} +1 -1
  55. package/public/chunk-NTKR7QBR.js +1 -0
  56. package/public/chunk-NVNBNEFN.js +7 -0
  57. package/public/{chunk-XNFEKMGG.js → chunk-OE7J5OFK.js} +1 -1
  58. package/public/{chunk-FXH7UJ5I.js → chunk-ON2E7LVH.js} +1 -1
  59. package/public/chunk-PNVUM7VV.js +1 -0
  60. package/public/chunk-PWQDJSBN.js +1 -0
  61. package/public/chunk-QTMHY65L.js +1 -0
  62. package/public/{chunk-OH2VPUYU.js → chunk-R5JL6NY3.js} +1 -1
  63. package/public/chunk-RDPAVLAZ.js +1 -0
  64. package/public/chunk-RK2BHUS3.js +1 -0
  65. package/public/{chunk-AWS7TJOY.js → chunk-RP6EJVPS.js} +1 -1
  66. package/public/{chunk-5ZFJ4INX.js → chunk-SD472BD2.js} +1 -1
  67. package/public/chunk-SRUQ34W2.js +1 -0
  68. package/public/chunk-THWGBC4V.js +1 -0
  69. package/public/chunk-UL2YWIGQ.js +1 -0
  70. package/public/chunk-UTIL4E7P.js +1 -0
  71. package/public/{chunk-RGZ4UMYA.js → chunk-V65HN5SX.js} +1 -1
  72. package/public/{chunk-IJOPQHDM.js → chunk-WCXU6QPE.js} +1 -1
  73. package/public/{chunk-R35OKBR7.js → chunk-WPESHLCE.js} +1 -1
  74. package/public/{chunk-GKS2WGAQ.js → chunk-WSXVUEYM.js} +1 -1
  75. package/public/{chunk-IBW35LGZ.js → chunk-X3WLRBIN.js} +1 -1
  76. package/public/{chunk-DMDPOVJW.js → chunk-X7R5UQDS.js} +1 -1
  77. package/public/{chunk-Z4VQJOCM.js → chunk-XBIY2EKP.js} +1 -1
  78. package/public/{chunk-XSKOJB4V.js → chunk-XEJ57GXO.js} +1 -1
  79. package/public/{chunk-RJ6HXANU.js → chunk-XHTRCMG4.js} +1 -1
  80. package/public/{chunk-PPKGVJBE.js → chunk-XSZWYGN5.js} +1 -1
  81. package/public/{chunk-UY5XIM7B.js → chunk-YCKXYAPE.js} +1 -1
  82. package/public/{chunk-FPILNIO7.js → chunk-YYVRF4AL.js} +1 -1
  83. package/public/{chunk-ATKY7BPX.js → chunk-ZJTXU2GZ.js} +1 -1
  84. package/public/{chunk-KGJAZDYN.js → chunk-ZREFVRCJ.js} +1 -1
  85. package/public/chunk-ZS7TMHAN.js +1 -0
  86. package/public/index.html +1 -1
  87. package/public/{main-MNVDWH2C.js → main-BETLO3TF.js} +1 -1
  88. package/public/polyfills-JNAS3VFQ.js +2 -0
  89. package/public/chunk-4GO2ER3F.js +0 -1
  90. package/public/chunk-5PONL6FC.js +0 -1
  91. package/public/chunk-6LV4FEWJ.js +0 -1
  92. package/public/chunk-7PQEY6AT.js +0 -1
  93. package/public/chunk-AJVPO262.js +0 -1
  94. package/public/chunk-AZRFXNOQ.js +0 -1
  95. package/public/chunk-EC7UWAIJ.js +0 -1
  96. package/public/chunk-EMSBT2VW.js +0 -1
  97. package/public/chunk-F5HFYQPC.js +0 -1
  98. package/public/chunk-FGRVUXCU.js +0 -1
  99. package/public/chunk-H7QJNST5.js +0 -1
  100. package/public/chunk-HSF575TE.js +0 -1
  101. package/public/chunk-JZIPYGE6.js +0 -1
  102. package/public/chunk-KN3QRU4A.js +0 -1
  103. package/public/chunk-L2R4XPOU.js +0 -1
  104. package/public/chunk-LHRPSEZP.js +0 -1
  105. package/public/chunk-NUX2WN3X.js +0 -7
  106. package/public/chunk-OIIFJ7L5.js +0 -1
  107. package/public/chunk-OZNUTRGZ.js +0 -1
  108. package/public/chunk-QYC6YOSS.js +0 -1
  109. package/public/chunk-QZOMUMX6.js +0 -1
  110. package/public/chunk-RHAWMCG6.js +0 -1
  111. package/public/chunk-RMQTDYIN.js +0 -1
  112. package/public/chunk-RZ7AYZQX.js +0 -1
  113. package/public/chunk-TXZ2N2XM.js +0 -1
  114. package/public/chunk-XR25UPXG.js +0 -1
  115. package/public/chunk-Y54VXXJK.js +0 -1
  116. package/public/chunk-YUORH5KC.js +0 -1
  117. package/public/chunk-Z2STW2WN.js +0 -1
  118. package/public/chunk-ZFCY3QWG.js +0 -1
  119. package/public/polyfills-C6JHVXJJ.js +0 -2
@@ -1 +0,0 @@
1
- import{l as Xr}from"./chunk-VIPLB6ON.js";import{$ as N,A as Re,Aa as Dr,Ab as $r,B as yr,Ba as Mr,C as yt,Ca as oe,Da as It,Ec as Ge,Fb as Lr,Ga as Or,Gb as Ot,Gc as Qe,H as X,Ha as At,Hb as kr,Ib as _r,Jb as zr,Jc as Ke,K as ne,L as ie,N as Rt,Nc as Wr,O as se,Rc as Gr,S as Ve,Sa as Tr,T as W,Tc as Qr,U as St,Uc as Ce,V as Rr,W as Sr,Wb as Fr,Wc as Kr,Xc as Zr,Yc as we,_ as Cr,a as h,aa as wr,b as M,ba as I,bc as qr,da as A,eb as Ur,fc as Br,ga as w,ha as br,hc as Vr,i as pr,ia as Ir,ic as Hr,j as gr,ja as T,ka as Ct,l as vt,la as G,lb as Dt,m as mt,ma as p,mb as $,md as Yr,n as H,nb as Er,o as x,ob as xr,p as F,q as D,qa as Se,r as f,ra as _,rb as Pr,s as ye,sb as Mt,t as vr,ta as He,tb as jr,u as mr,ub as Nr,vb as We,x as R,xa as wt,y as Be,ya as Ar,z as O,za as bt}from"./chunk-NUX2WN3X.js";var g="primary",Ne=Symbol("RouteTitle"),Pt=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function de(t){return new Pt(t)}function Wn(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let s=0;s<n.length;s++){let o=n[s],u=t[s];if(o[0]===":")i[o.substring(1)]=u;else if(o!==u.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Gn(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!z(t[e],r[e]))return!1;return!0}function z(t,r){let e=t?jt(t):void 0,n=r?jt(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!ln(t[i],r[i]))return!1;return!0}function jt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function ln(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,s)=>n[s]===i)}else return t===r}function hn(t){return t.length>0?t[t.length-1]:null}function Z(t){return vr(t)?t:Lr(t)?D(Promise.resolve(t)):f(t)}var Qn={exact:fn,subset:pn},dn={exact:Kn,subset:Zn,ignored:()=>!0};function Jr(t,r,e){return Qn[e.paths](t.root,r.root,e.matrixParams)&&dn[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Kn(t,r){return z(t,r)}function fn(t,r,e){if(!ee(t.segments,r.segments)||!Xe(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!fn(t.children[n],r.children[n],e))return!1;return!0}function Zn(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>ln(t[e],r[e]))}function pn(t,r,e){return gn(t,r,r.segments,e)}function gn(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!ee(i,e)||r.hasChildren()||!Xe(i,e,n))}else if(t.segments.length===e.length){if(!ee(t.segments,e)||!Xe(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!pn(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!ee(t.segments,i)||!Xe(t.segments,i,n)||!t.children[g]?!1:gn(t.children[g],r,s,n)}}function Xe(t,r,e){return r.every((n,i)=>dn[e](t[i].parameters,n.parameters))}var B=class{root;queryParams;fragment;_queryParamMap;constructor(r=new y([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){var r;return(r=this._queryParamMap)!=null||(this._queryParamMap=de(this.queryParams)),this._queryParamMap}toString(){return Jn.serialize(this)}},y=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Je(this)}},J=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){var r;return(r=this._parameterMap)!=null||(this._parameterMap=de(this.parameters)),this._parameterMap}toString(){return mn(this)}};function Yn(t,r){return ee(t,r)&&t.every((e,n)=>z(e.parameters,r[n].parameters))}function ee(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Xn(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===g&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==g&&(e=e.concat(r(i,n)))}),e}var $e=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>new fe,providedIn:"root"})}return t})(),fe=class{parse(r){let e=new $t(r);return new B(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${be(r.root,!0)}`,n=ri(r.queryParams),i=typeof r.fragment=="string"?`#${ei(r.fragment)}`:"";return`${e}${n}${i}`}},Jn=new fe;function Je(t){return t.segments.map(r=>mn(r)).join("/")}function be(t,r){if(!t.hasChildren())return Je(t);if(r){let e=t.children[g]?be(t.children[g],!1):"",n=[];return Object.entries(t.children).forEach(([i,s])=>{i!==g&&n.push(`${i}:${be(s,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Xn(t,(n,i)=>i===g?[be(t.children[g],!1)]:[`${i}:${be(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[g]!=null?`${Je(t)}/${e[0]}`:`${Je(t)}/(${e.join("//")})`}}function vn(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ze(t){return vn(t).replace(/%3B/gi,";")}function ei(t){return encodeURI(t)}function Nt(t){return vn(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function et(t){return decodeURIComponent(t)}function en(t){return et(t.replace(/\+/g,"%20"))}function mn(t){return`${Nt(t.path)}${ti(t.parameters)}`}function ti(t){return Object.entries(t).map(([r,e])=>`;${Nt(r)}=${Nt(e)}`).join("")}function ri(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Ze(e)}=${Ze(i)}`).join("&"):`${Ze(e)}=${Ze(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var ni=/^[^\/()?;#]+/;function Tt(t){let r=t.match(ni);return r?r[0]:""}var ii=/^[^\/()?;=#]+/;function si(t){let r=t.match(ii);return r?r[0]:""}var oi=/^[^=?&#]+/;function ai(t){let r=t.match(oi);return r?r[0]:""}var ui=/^[^&#]+/;function ci(t){let r=t.match(ui);return r?r[0]:""}var $t=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new y([],{}):new y([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[g]=new y(r,e)),n}parseSegment(){let r=Tt(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(r),new J(et(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=si(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=Tt(this.remaining);i&&(n=i,this.capture(n))}r[et(e)]=et(n)}parseQueryParam(r){let e=ai(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let o=ci(this.remaining);o&&(n=o,this.capture(n))}let i=en(e),s=en(n);if(r.hasOwnProperty(i)){let o=r[i];Array.isArray(o)||(o=[o],r[i]=o),o.push(s)}else r[i]=s}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Tt(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new A(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=g);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[g]:new y([],o),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new A(4011,!1)}};function yn(t){return t.segments.length>0?new y([],{[g]:t}):t}function Rn(t){let r={};for(let[n,i]of Object.entries(t.children)){let s=Rn(i);if(n===g&&s.segments.length===0&&s.hasChildren())for(let[o,u]of Object.entries(s.children))r[o]=u;else(s.segments.length>0||s.hasChildren())&&(r[n]=s)}let e=new y(t.segments,r);return li(e)}function li(t){if(t.numberOfChildren===1&&t.children[g]){let r=t.children[g];return new y(t.segments.concat(r.segments),r.children)}return t}function te(t){return t instanceof B}function hi(t,r,e=null,n=null){let i=Sn(t);return Cn(i,r,e,n)}function Sn(t){let r;function e(s){let o={};for(let a of s.children){let c=e(a);o[a.outlet]=c}let u=new y(s.url,o);return s===t&&(r=u),u}let n=e(t.root),i=yn(n);return r!=null?r:i}function Cn(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return Ut(i,i,i,e,n);let s=di(r);if(s.toRoot())return Ut(i,i,new y([],{}),e,n);let o=fi(s,i,t),u=o.processChildren?Ae(o.segmentGroup,o.index,s.commands):bn(o.segmentGroup,o.index,s.commands);return Ut(i,o.segmentGroup,u,e,n)}function tt(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Oe(t){return typeof t=="object"&&t!=null&&t.outlets}function Ut(t,r,e,n,i){let s={};n&&Object.entries(n).forEach(([a,c])=>{s[a]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let o;t===r?o=e:o=wn(t,r,e);let u=yn(Rn(o));return new B(u,s,i)}function wn(t,r,e){let n={};return Object.entries(t.children).forEach(([i,s])=>{s===r?n[i]=e:n[i]=wn(s,r,e)}),new y(t.segments,n)}var rt=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&tt(n[0]))throw new A(4003,!1);let i=n.find(Oe);if(i&&i!==hn(n))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function di(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new rt(!0,0,t);let r=0,e=!1,n=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let u={};return Object.entries(s.outlets).forEach(([a,c])=>{u[a]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:u}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((u,a)=>{a==0&&u==="."||(a==0&&u===""?e=!0:u===".."?r++:u!=""&&i.push(u))}),i):[...i,s]},[]);return new rt(e,r,n)}var ce=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function fi(t,r,e){if(t.isAbsolute)return new ce(r,!0,0);if(!e)return new ce(r,!1,NaN);if(e.parent===null)return new ce(e,!0,0);let n=tt(t.commands[0])?0:1,i=e.segments.length-1+n;return pi(e,i,t.numberOfDoubleDots)}function pi(t,r,e){let n=t,i=r,s=e;for(;s>i;){if(s-=i,n=n.parent,!n)throw new A(4005,!1);i=n.segments.length}return new ce(n,!1,i-s)}function gi(t){return Oe(t[0])?t[0].outlets:{[g]:t}}function bn(t,r,e){if(t!=null||(t=new y([],{})),t.segments.length===0&&t.hasChildren())return Ae(t,r,e);let n=vi(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let s=new y(t.segments.slice(0,n.pathIndex),{});return s.children[g]=new y(t.segments.slice(n.pathIndex),t.children),Ae(s,0,i)}else return n.match&&i.length===0?new y(t.segments,{}):n.match&&!t.hasChildren()?Lt(t,r,e):n.match?Ae(t,0,i):Lt(t,r,e)}function Ae(t,r,e){if(e.length===0)return new y(t.segments,{});{let n=gi(e),i={};if(Object.keys(n).some(s=>s!==g)&&t.children[g]&&t.numberOfChildren===1&&t.children[g].segments.length===0){let s=Ae(t.children[g],r,e);return new y(t.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=bn(t.children[s],r,o))}),Object.entries(t.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o)}),new y(t.segments,i)}}function vi(t,r,e){let n=0,i=r,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return s;let o=t.segments[i],u=e[n];if(Oe(u))break;let a=`${u}`,c=n<e.length-1?e[n+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c=="object"&&c.outlets===void 0){if(!rn(a,c,o))return s;n+=2}else{if(!rn(a,{},o))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Lt(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let s=e[i];if(Oe(s)){let a=mi(s.outlets);return new y(n,a)}if(i===0&&tt(e[0])){let a=t.segments[r];n.push(new J(a.path,tn(e[0]))),i++;continue}let o=Oe(s)?s.outlets[g]:`${s}`,u=i<e.length-1?e[i+1]:null;o&&u&&tt(u)?(n.push(new J(o,tn(u))),i+=2):(n.push(new J(o,{})),i++)}return new y(n,{})}function mi(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=Lt(new y([],{}),0,n))}),r}function tn(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function rn(t,r,e){return t==e.path&&z(r,e.parameters)}var De="imperative",S=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(S||{}),P=class{id;url;constructor(r,e){this.id=r,this.url=e}},pe=class extends P{type=S.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},k=class extends P{urlAfterRedirects;type=S.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},E=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(E||{}),nt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(nt||{}),q=class extends P{reason;code;type=S.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Q=class extends P{reason;code;type=S.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},Te=class extends P{error;target;type=S.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},it=class extends P{urlAfterRedirects;state;type=S.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},kt=class extends P{urlAfterRedirects;state;type=S.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_t=class extends P{urlAfterRedirects;state;shouldActivate;type=S.GuardsCheckEnd;constructor(r,e,n,i,s){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},zt=class extends P{urlAfterRedirects;state;type=S.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ft=class extends P{urlAfterRedirects;state;type=S.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qt=class{route;type=S.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Bt=class{route;type=S.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Vt=class{snapshot;type=S.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ht=class{snapshot;type=S.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wt=class{snapshot;type=S.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gt=class{snapshot;type=S.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},st=class{routerEvent;position;anchor;type=S.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},Ue=class{},ge=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function yi(t,r){var e;return t.providers&&!t._injector&&(t._injector=Mt(t.providers,r,`Route: ${t.path}`)),(e=t._injector)!=null?e:r}function L(t){return t.outlet||g}function Ri(t,r){let e=t.filter(n=>L(n)===r);return e.push(...t.filter(n=>L(n)!==r)),e}function Le(t){var r;if(!t)return null;if((r=t.routeConfig)!=null&&r._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n!=null&&n._loadedInjector)return n._loadedInjector;if(n!=null&&n._injector)return n._injector}return null}var Qt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){var r,e;return(e=Le((r=this.route)==null?void 0:r.snapshot))!=null?e:this.rootInjector}constructor(r){this.rootInjector=r,this.children=new ke(this.rootInjector)}},ke=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Qt(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(G(Se))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ot=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Kt(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=Kt(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=Zt(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Zt(r,this._root).map(e=>e.value)}};function Kt(t,r){if(t===r.value)return r;for(let e of r.children){let n=Kt(t,e);if(n)return n}return null}function Zt(t,r){if(t===r.value)return[r];for(let e of r.children){let n=Zt(t,e);if(n.length)return n.unshift(r),n}return[]}var U=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function ue(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var at=class extends ot{snapshot;constructor(r,e){super(r),this.snapshot=e,sr(this,r)}toString(){return this.snapshot.toString()}};function In(t){let r=Si(t),e=new x([new J("",{})]),n=new x({}),i=new x({}),s=new x({}),o=new x(""),u=new re(e,n,s,o,i,g,t,r.root);return u.snapshot=r.root,new at(new U(u,[]),r)}function Si(t){let r={},e={},n={},i="",s=new le([],r,n,i,e,g,t,null,{});return new ct("",new U(s,[]))}var re=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,s,o,u,a){var c,l;this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=u,this._futureSnapshot=a,this.title=(l=(c=this.dataSubject)==null?void 0:c.pipe(R(v=>v[Ne])))!=null?l:f(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var r;return(r=this._paramMap)!=null||(this._paramMap=this.params.pipe(R(e=>de(e)))),this._paramMap}get queryParamMap(){var r;return(r=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe(R(e=>de(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ut(t,r,e="emptyOnly"){var s,o;let n,{routeConfig:i}=t;return r!==null&&(e==="always"||(i==null?void 0:i.path)===""||!r.component&&!((s=r.routeConfig)!=null&&s.loadComponent))?n={params:h(h({},r.params),t.params),data:h(h({},r.data),t.data),resolve:h(h(h(h({},t.data),r.data),i==null?void 0:i.data),t._resolvedData)}:n={params:h({},t.params),data:h({},t.data),resolve:h(h({},t.data),(o=t._resolvedData)!=null?o:{})},i&&Dn(i)&&(n.resolve[Ne]=i.title),n}var le=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){var r;return(r=this.data)==null?void 0:r[Ne]}constructor(r,e,n,i,s,o,u,a,c){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=u,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var r;return(r=this._paramMap)!=null||(this._paramMap=de(this.params)),this._paramMap}get queryParamMap(){var r;return(r=this._queryParamMap)!=null||(this._queryParamMap=de(this.queryParams)),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},ct=class extends ot{url;constructor(r,e){super(e),this.url=r,sr(this,e)}toString(){return An(this._root)}};function sr(t,r){r.value._routerState=t,r.children.forEach(e=>sr(t,e))}function An(t){let r=t.children.length>0?` { ${t.children.map(An).join(", ")} } `:"";return`${t.value}${r}`}function Et(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,z(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),z(r.params,e.params)||t.paramsSubject.next(e.params),Gn(r.url,e.url)||t.urlSubject.next(e.url),z(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Yt(t,r){let e=z(t.params,r.params)&&Yn(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Yt(t.parent,r.parent))}function Dn(t){return typeof t.title=="string"||t.title===null}var Ci=new T(""),wi=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=g;activateEvents=new oe;deactivateEvents=new oe;attachEvents=new oe;detachEvents=new oe;routerOutletData=Or(void 0);parentContexts=p(ke);location=p(xr);changeDetector=p(Qe);inputBinder=p(pt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){var e;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(e=this.inputBinder)==null||e.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){var n;return((n=this.parentContexts.getContext(e))==null?void 0:n.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e!=null&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){var i;this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),(i=this.inputBinder)==null||i.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){var c;if(this.isActivated)throw new A(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new Xt(e,u,i.injector,this.routerOutletData);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:n}),this.changeDetector.markForCheck(),(c=this.inputBinder)==null||c.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=We({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[He]})}return t})(),Xt=class t{route;childContexts;parent;outletData;__ngOutletInjector(r){return new t(this.route,this.childContexts,r,this.outletData)}constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===re?this.route:r===ke?this.childContexts:r===Ci?this.outletData:this.parent.get(r,e)}},pt=new T(""),nn=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){var n;(n=this.outletDataSubscriptions.get(e))==null||n.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=Be([n.queryParams,n.params,n.data]).pipe(N(([s,o,u],a)=>(u=h(h(h({},s),o),u),a===0?f(u):Promise.resolve(u)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let o=Wr(n.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:u}of o.inputs)e.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function bi(t,r,e){let n=Ee(t,r._root,e?e._root:void 0);return new at(n,r)}function Ee(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Ii(t,r,e);return new U(n,i)}else{if(t.shouldAttach(r.value)){let s=t.retrieve(r.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=r.value,o.children=r.children.map(u=>Ee(t,u)),o}}let n=Ai(r.value),i=r.children.map(s=>Ee(t,s));return new U(n,i)}}function Ii(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Ee(t,n,i);return Ee(t,n)})}function Ai(t){return new re(new x(t.url),new x(t.params),new x(t.queryParams),new x(t.fragment),new x(t.data),t.outlet,t.component,t)}var xe=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},Mn="ngNavigationCancelingError";function lt(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=te(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=On(!1,E.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function On(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Mn]=!0,e.cancellationCode=r,e}function Di(t){return Tn(t)&&te(t.url)}function Tn(t){return!!t&&t[Mn]}var Mi=(t,r,e,n)=>R(i=>(new Jt(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),Jt=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,s){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),Et(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=ue(e);r.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(i===s)if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(r,e,o.children)}else this.deactivateChildRoutes(r,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=ue(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),u=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:o,route:r,contexts:u})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=ue(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=ue(e);r.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new Gt(s.value.snapshot))}),r.children.length&&this.forwardEvent(new Ht(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(Et(i),i===s)if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,o.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(u.contexts),o.attachRef=u.componentRef,o.route=u.route.value,o.outlet&&o.outlet.attach(u.componentRef,u.route.value),Et(u.route.value),this.activateChildRoutes(r,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(r,null,o.children)}else this.activateChildRoutes(r,null,n)}},ht=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},he=class{component;route;constructor(r,e){this.component=r,this.route=e}};function Oi(t,r,e){let n=t._root,i=r?r._root:null;return Ie(n,i,e,[n.value])}function Ti(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function me(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Ir(t)?t:r.get(t):n}function Ie(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=ue(r);return t.children.forEach(o=>{Ui(o,s[o.value.outlet],e,n.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,u])=>Me(u,e.getContext(o),i)),i}function Ui(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=r?r.value:null,u=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=Ei(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new ht(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ie(t,r,u?u.children:null,n,i):Ie(t,r,e,n,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new he(u.outlet.component,o))}else o&&Me(r,u,i),i.canActivateChecks.push(new ht(n)),s.component?Ie(t,null,u?u.children:null,n,i):Ie(t,null,e,n,i);return i}function Ei(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!ee(t.url,r.url);case"pathParamsOrQueryParamsChange":return!ee(t.url,r.url)||!z(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yt(t,r)||!z(t.queryParams,r.queryParams);case"paramsChange":default:return!Yt(t,r)}}function Me(t,r,e){let n=ue(t),i=t.value;Object.entries(n).forEach(([s,o])=>{i.component?r?Me(o,r.children.getContext(s),e):Me(o,null,e):Me(o,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new he(r.outlet.component,i)):e.canDeactivateChecks.push(new he(null,i)):e.canDeactivateChecks.push(new he(null,i))}function _e(t){return typeof t=="function"}function xi(t){return typeof t=="boolean"}function Pi(t){return t&&_e(t.canLoad)}function ji(t){return t&&_e(t.canActivate)}function Ni(t){return t&&_e(t.canActivateChild)}function $i(t){return t&&_e(t.canDeactivate)}function Li(t){return t&&_e(t.canMatch)}function Un(t){return t instanceof mr||(t==null?void 0:t.name)==="EmptyError"}var Ye=Symbol("INITIAL_VALUE");function ve(){return N(t=>Be(t.map(r=>r.pipe(se(1),Cr(Ye)))).pipe(R(r=>{for(let e of r)if(e!==!0){if(e===Ye)return Ye;if(e===!1||ki(e))return e}return!0}),X(r=>r!==Ye),se(1)))}function ki(t){return te(t)||t instanceof xe}function _i(t,r){return O(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?f(M(h({},e),{guardsResult:!0})):zi(o,n,i,t).pipe(O(u=>u&&xi(u)?Fi(n,s,t,r):f(u)),R(u=>M(h({},e),{guardsResult:u})))})}function zi(t,r,e,n){return D(t).pipe(O(i=>Wi(i.component,i.route,e,r,n)),W(i=>i!==!0,!0))}function Fi(t,r,e,n){return D(r).pipe(ie(i=>yr(Bi(i.route.parent,n),qi(i.route,n),Hi(t,i.path,e),Vi(t,i.route,e))),W(i=>i!==!0,!0))}function qi(t,r){return t!==null&&r&&r(new Wt(t)),f(!0)}function Bi(t,r){return t!==null&&r&&r(new Vt(t)),f(!0)}function Vi(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return f(!0);let i=n.map(s=>yt(()=>{var c;let o=(c=Le(r))!=null?c:e,u=me(s,o),a=ji(u)?u.canActivate(r,t):_(o,()=>u(r,t));return Z(a).pipe(W())}));return f(i).pipe(ve())}function Hi(t,r,e){let n=r[r.length-1],s=r.slice(0,r.length-1).reverse().map(o=>Ti(o)).filter(o=>o!==null).map(o=>yt(()=>{let u=o.guards.map(a=>{var d;let c=(d=Le(o.node))!=null?d:e,l=me(a,c),v=Ni(l)?l.canActivateChild(n,t):_(c,()=>l(n,t));return Z(v).pipe(W())});return f(u).pipe(ve())}));return f(s).pipe(ve())}function Wi(t,r,e,n,i){let s=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!s||s.length===0)return f(!0);let o=s.map(u=>{var v;let a=(v=Le(r))!=null?v:i,c=me(u,a),l=$i(c)?c.canDeactivate(t,r,e,n):_(a,()=>c(t,r,e,n));return Z(l).pipe(W())});return f(o).pipe(ve())}function Gi(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return f(!0);let s=i.map(o=>{let u=me(o,t),a=Pi(u)?u.canLoad(r,e):_(t,()=>u(r,e));return Z(a)});return f(s).pipe(ve(),En(n))}function En(t){return gr(I(r=>{if(typeof r!="boolean")throw lt(t,r)}),R(r=>r===!0))}function Qi(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return f(!0);let s=i.map(o=>{let u=me(o,t),a=Li(u)?u.canMatch(r,e):_(t,()=>u(r,e));return Z(a)});return f(s).pipe(ve(),En(n))}var Pe=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},je=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function ae(t){return ye(new Pe(t))}function Ki(t){return ye(new A(4e3,!1))}function Zi(t){return ye(On(!1,E.GuardRejected))}var er=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return f(n);if(i.numberOfChildren>1||!i.children[g])return Ki(`${r.redirectTo}`);i=i.children[g]}}applyRedirectCommands(r,e,n,i,s){if(typeof e!="string"){let u=e,{queryParams:a,fragment:c,routeConfig:l,url:v,outlet:d,params:m,data:b,title:C}=i,j=_(s,()=>u({params:m,data:b,queryParams:a,fragment:c,routeConfig:l,url:v,outlet:d,title:C}));if(j instanceof B)throw new je(j);e=j}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new je(o);return o}applyRedirectCreateUrlTree(r,e,n,i){let s=this.createSegmentGroup(r,e.root,n,i);return new B(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let u=s.substring(1);n[i]=e[u]}else n[i]=s}),n}createSegmentGroup(r,e,n,i){let s=this.createSegments(r,e.segments,n,i),o={};return Object.entries(e.children).forEach(([u,a])=>{o[u]=this.createSegmentGroup(r,a,n,i)}),new y(s,o)}createSegments(r,e,n,i){return e.map(s=>s.path[0]===":"?this.findPosParam(r,s,i):this.findOrReturn(s,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new A(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},tr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Yi(t,r,e,n,i){let s=xn(t,r,e);return s.matched?(n=yi(r,n),Qi(n,r,e,i).pipe(R(o=>o===!0?s:h({},tr)))):f(s)}function xn(t,r,e){var u,a;if(r.path==="**")return Xi(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?h({},tr):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Wn)(e,t,r);if(!i)return h({},tr);let s={};Object.entries((u=i.posParams)!=null?u:{}).forEach(([c,l])=>{s[c]=l.path});let o=i.consumed.length>0?h(h({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:(a=i.posParams)!=null?a:{}}}function Xi(t){return{matched:!0,parameters:t.length>0?hn(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function sn(t,r,e,n){return e.length>0&&ts(t,e,n)?{segmentGroup:new y(r,es(n,new y(e,t.children))),slicedSegments:[]}:e.length===0&&rs(t,e,n)?{segmentGroup:new y(t.segments,Ji(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new y(t.segments,t.children),slicedSegments:e}}function Ji(t,r,e,n){let i={};for(let s of e)if(gt(t,r,s)&&!n[L(s)]){let o=new y([],{});i[L(s)]=o}return h(h({},n),i)}function es(t,r){let e={};e[g]=r;for(let n of t)if(n.path===""&&L(n)!==g){let i=new y([],{});e[L(n)]=i}return e}function ts(t,r,e){return e.some(n=>gt(t,r,n)&&L(n)!==g)}function rs(t,r,e){return e.some(n=>gt(t,r,n))}function gt(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function ns(t,r,e){return r.length===0&&!t.children[e]}var rr=class{};function is(t,r,e,n,i,s,o="emptyOnly"){return new nr(t,r,e,n,i,o,s).recognize()}var ss=31,nr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,s,o,u){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=u,this.applyRedirects=new er(this.urlSerializer,this.urlTree)}noMatchError(r){return new A(4002,`'${r.segmentGroup}'`)}recognize(){let r=sn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(R(({children:e,rootSnapshot:n})=>{let i=new U(n,e),s=new ct("",i),o=hi(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(r){let e=new le([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,g,e).pipe(R(n=>({children:n,rootSnapshot:e})),ne(n=>{if(n instanceof je)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Pe?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,s){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,s):this.processSegment(r,e,n,n.segments,i,!0,s).pipe(R(o=>o instanceof U?[o]:[]))}processChildren(r,e,n,i){let s=[];for(let o of Object.keys(n.children))o==="primary"?s.unshift(o):s.push(o);return D(s).pipe(ie(o=>{let u=n.children[o],a=Ri(e,o);return this.processSegmentGroup(r,a,u,o,i)}),Sr((o,u)=>(o.push(...u),o)),Rt(null),Rr(),O(o=>{if(o===null)return ae(n);let u=Pn(o);return os(u),f(u)}))}processSegment(r,e,n,i,s,o,u){return D(e).pipe(ie(a=>{var c;return this.processSegmentAgainstRoute((c=a._injector)!=null?c:r,e,a,n,i,s,o,u).pipe(ne(l=>{if(l instanceof Pe)return f(null);throw l}))}),W(a=>!!a),ne(a=>{if(Un(a))return ns(n,i,s)?f(new rr):ae(n);throw a}))}processSegmentAgainstRoute(r,e,n,i,s,o,u,a){return L(n)!==o&&(o===g||!gt(i,s,n))?ae(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,s,o,a):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,s,o,a):ae(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,s,o,u){var j,V;let{matched:a,parameters:c,consumedSegments:l,positionalParamSegments:v,remainingSegments:d}=xn(e,i,s);if(!a)return ae(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ss&&(this.allowRedirects=!1));let m=new le(s,c,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,on(i),L(i),(V=(j=i.component)!=null?j:i._loadedComponent)!=null?V:null,i,an(i)),b=ut(m,u,this.paramsInheritanceStrategy);m.params=Object.freeze(b.params),m.data=Object.freeze(b.data);let C=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,v,m,r);return this.applyRedirects.lineralizeSegments(i,C).pipe(O(Y=>this.processSegment(r,n,e,Y.concat(d),o,!1,u)))}matchSegmentAgainstRoute(r,e,n,i,s,o){let u=Yi(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),u.pipe(N(a=>{var c;return a.matched?(r=(c=n._injector)!=null?c:r,this.getChildConfig(r,n,i).pipe(N(({routes:l})=>{var hr,dr,fr;let v=(hr=n._loadedInjector)!=null?hr:r,{parameters:d,consumedSegments:m,remainingSegments:b}=a,C=new le(m,d,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,on(n),L(n),(fr=(dr=n.component)!=null?dr:n._loadedComponent)!=null?fr:null,n,an(n)),j=ut(C,o,this.paramsInheritanceStrategy);C.params=Object.freeze(j.params),C.data=Object.freeze(j.data);let{segmentGroup:V,slicedSegments:Y}=sn(e,m,b,l);if(Y.length===0&&V.hasChildren())return this.processChildren(v,l,V,C).pipe(R(qe=>new U(C,qe)));if(l.length===0&&Y.length===0)return f(new U(C,[]));let Hn=L(n)===s;return this.processSegment(v,l,V,Y,Hn?g:s,!0,C).pipe(R(qe=>new U(C,qe instanceof U?[qe]:[])))}))):ae(e)}))}getChildConfig(r,e,n){return e.children?f({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?f({routes:e._loadedRoutes,injector:e._loadedInjector}):Gi(r,e,n,this.urlSerializer).pipe(O(i=>i?this.configLoader.loadChildren(r,e).pipe(I(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):Zi(e))):f({routes:[],injector:r})}};function os(t){t.sort((r,e)=>r.value.outlet===g?-1:e.value.outlet===g?1:r.value.outlet.localeCompare(e.value.outlet))}function as(t){let r=t.value.routeConfig;return r&&r.path===""}function Pn(t){let r=[],e=new Set;for(let n of t){if(!as(n)){r.push(n);continue}let i=r.find(s=>n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=Pn(n.children);r.push(new U(n.value,i))}return r.filter(n=>!e.has(n))}function on(t){return t.data||{}}function an(t){return t.resolve||{}}function us(t,r,e,n,i,s){return O(o=>is(t,r,e,n,o.extractedUrl,i,s).pipe(R(({state:u,tree:a})=>M(h({},o),{targetSnapshot:u,urlAfterRedirects:a}))))}function cs(t,r){return O(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return f(e);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let c of jn(a))o.add(c);let u=0;return D(o).pipe(ie(a=>s.has(a)?ls(a,n,t,r):(a.data=ut(a,a.parent,t).resolve,f(void 0))),I(()=>u++),St(1),O(a=>u===o.size?f(e):F))})}function jn(t){let r=t.children.map(e=>jn(e)).flat();return[t,...r]}function ls(t,r,e,n){let i=t.routeConfig,s=t._resolve;return(i==null?void 0:i.title)!==void 0&&!Dn(i)&&(s[Ne]=i.title),hs(s,t,r,n).pipe(R(o=>(t._resolvedData=o,t.data=ut(t,t.parent,e).resolve,null)))}function hs(t,r,e,n){let i=jt(t);if(i.length===0)return f({});let s={};return D(i).pipe(O(o=>ds(t[o],r,e,n).pipe(W(),I(u=>{if(u instanceof xe)throw lt(new fe,u);s[o]=u}))),St(1),R(()=>s),ne(o=>Un(o)?F:ye(o)))}function ds(t,r,e,n){var u;let i=(u=Le(r))!=null?u:n,s=me(t,i),o=s.resolve?s.resolve(r,e):_(i,()=>s(r,e));return Z(o)}function xt(t){return N(r=>{let e=t(r);return e?D(e).pipe(R(()=>r)):f(r)})}var Nn=(()=>{class t{buildTitle(e){var s;let n,i=e.root;for(;i!==void 0;)n=(s=this.getResolvedTitleForRoute(i))!=null?s:n,i=i.children.find(o=>o.outlet===g);return n}getResolvedTitleForRoute(e){return e.data[Ne]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>p(fs),providedIn:"root"})}return t})(),fs=(()=>{class t extends Nn{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(G(Xr))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ze=new T("",{providedIn:"root",factory:()=>({})}),ps=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=jr({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&Fr(0,"router-outlet")},dependencies:[wi],encapsulation:2})}return t})();function or(t){let r=t.children&&t.children.map(or),e=r?M(h({},t),{children:r}):h({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==g&&(e.component=ps),e}var dt=new T(""),ar=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(Ge);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return f(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=Z(e.loadComponent()).pipe(R($n),I(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),Ve(()=>{this.componentLoaders.delete(e)})),i=new mt(n,()=>new H).pipe(vt());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return f({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=gs(n,this.compiler,e,this.onLoadEndListener).pipe(Ve(()=>{this.childrenLoaders.delete(n)})),o=new mt(s,()=>new H).pipe(vt());return this.childrenLoaders.set(n,o),o}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gs(t,r,e,n){return Z(t.loadChildren()).pipe(R($n),O(i=>i instanceof Pr||Array.isArray(i)?f(i):D(r.compileModuleAsync(i))),R(i=>{n&&n(t);let s,o,u=!1;return Array.isArray(i)?(o=i,u=!0):(s=i.create(e).injector,o=s.get(dt,[],{optional:!0,self:!0}).flat()),{routes:o.map(or),injector:s}}))}function vs(t){return t&&typeof t=="object"&&"default"in t}function $n(t){return vs(t)?t.default:t}var ur=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>p(ms),providedIn:"root"})}return t})(),ms=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ln=new T(""),kn=new T("");function ys(t,r,e){let n=t.get(kn),i=t.get(Gr);return t.get(It).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),u=i.startViewTransition(()=>(s(),Rs(t))),{onViewTransitionCreated:a}=n;return a&&_(t,()=>a({transition:u,from:r,to:e})),o})}function Rs(t){return new Promise(r=>{Tr({read:()=>setTimeout(r)},{injector:t})})}var _n=new T(""),cr=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new H;transitionAbortSubject=new H;configLoader=p(ar);environmentInjector=p(Se);destroyRef=p(Dr);urlSerializer=p($e);rootContexts=p(ke);location=p(we);inputBindingEnabled=p(pt,{optional:!0})!==null;titleStrategy=p(Nn);options=p(ze,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(ur);createViewTransition=p(Ln,{optional:!0});navigationErrorHandler=p(_n,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>f(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new qt(i)),n=i=>this.events.next(new Bt(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){var e;(e=this.transitions)==null||e.complete()}handleNavigationRequest(e){var i;let n=++this.navigationId;(i=this.transitions)==null||i.next(M(h(h({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,i){return this.transitions=new x({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:De,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(X(s=>s.id!==0),R(s=>M(h({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),N(s=>{let o=!1,u=!1;return f(s).pipe(N(a=>{var v;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",E.SupersededByNewNavigation),F;this.currentTransition=s,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?M(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=(v=a.extras.onSameUrlNavigation)!=null?v:e.onSameUrlNavigation;if(!c&&l!=="reload"){let d="";return this.events.next(new Q(a.id,this.urlSerializer.serialize(a.rawUrl),d,nt.IgnoredSameUrlNavigation)),a.resolve(!1),F}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return f(a).pipe(N(d=>{var b,C;let m=(b=this.transitions)==null?void 0:b.getValue();return this.events.next(new pe(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),m!==((C=this.transitions)==null?void 0:C.getValue())?F:Promise.resolve(d)}),us(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),I(d=>{s.targetSnapshot=d.targetSnapshot,s.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=M(h({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let m=new it(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(m)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:m,source:b,restoredState:C,extras:j}=a,V=new pe(d,this.urlSerializer.serialize(m),b,C);this.events.next(V);let Y=In(this.rootComponentType).snapshot;return this.currentTransition=s=M(h({},a),{targetSnapshot:Y,urlAfterRedirects:m,extras:M(h({},j),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,f(s)}else{let d="";return this.events.next(new Q(a.id,this.urlSerializer.serialize(a.extractedUrl),d,nt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),F}}),I(a=>{let c=new kt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),R(a=>(this.currentTransition=s=M(h({},a),{guards:Oi(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),_i(this.environmentInjector,a=>this.events.next(a)),I(a=>{if(s.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw lt(this.urlSerializer,a.guardsResult);let c=new _t(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),X(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",E.GuardRejected),!1)),xt(a=>{if(a.guards.canActivateChecks.length)return f(a).pipe(I(c=>{let l=new zt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),N(c=>{let l=!1;return f(c).pipe(cs(this.paramsInheritanceStrategy,this.environmentInjector),I({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",E.NoDataFromResolver)}}))}),I(c=>{let l=new Ft(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),xt(a=>{let c=l=>{var d;let v=[];(d=l.routeConfig)!=null&&d.loadComponent&&!l.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(l.routeConfig).pipe(I(m=>{l.component=m}),R(()=>{})));for(let m of l.children)v.push(...c(m));return v};return Be(c(a.targetSnapshot.root)).pipe(Rt(null),se(1))}),xt(()=>this.afterPreactivation()),N(()=>{var v;let{currentSnapshot:a,targetSnapshot:c}=s,l=(v=this.createViewTransition)==null?void 0:v.call(this,this.environmentInjector,a.root,c.root);return l?D(l).pipe(R(()=>s)):f(s)}),R(a=>{let c=bi(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=M(h({},a),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,s}),I(()=>{this.events.next(new Ue)}),Mi(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),se(1),I({next:a=>{var c;o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new k(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),(c=this.titleStrategy)==null||c.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),wr(this.transitionAbortSubject.pipe(I(a=>{throw a}))),Ve(()=>{var a;!o&&!u&&this.cancelNavigationTransition(s,"",E.SupersededByNewNavigation),((a=this.currentTransition)==null?void 0:a.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),ne(a=>{var c;if(this.destroyed)return s.resolve(!1),F;if(u=!0,Tn(a))this.events.next(new q(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),Di(a)?this.events.next(new ge(a.url,a.navigationBehaviorOptions)):s.resolve(!1);else{let l=new Te(s.id,this.urlSerializer.serialize(s.extractedUrl),a,(c=s.targetSnapshot)!=null?c:void 0);try{let v=_(this.environmentInjector,()=>{var d;return(d=this.navigationErrorHandler)==null?void 0:d.call(this,l)});if(v instanceof xe){let{message:d,cancellationCode:m}=lt(this.urlSerializer,v);this.events.next(new q(s.id,this.urlSerializer.serialize(s.extractedUrl),d,m)),this.events.next(new ge(v.redirectTo,v.navigationBehaviorOptions))}else throw this.events.next(l),a}catch(v){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(v)}}return F}))}))}cancelNavigationTransition(e,n,i){let s=new q(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(s),e.resolve(!1)}isUpdatingInternalState(){var e,n;return((e=this.currentTransition)==null?void 0:e.extractedUrl.toString())!==((n=this.currentTransition)==null?void 0:n.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,s,o,u;let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=(o=(i=this.currentNavigation)==null?void 0:i.targetBrowserUrl)!=null?o:(s=this.currentNavigation)==null?void 0:s.extractedUrl;return e.toString()!==(n==null?void 0:n.toString())&&!((u=this.currentNavigation)!=null&&u.extras.skipLocationChange)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ss(t){return t!==De}var Cs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>p(ws),providedIn:"root"})}return t})(),ir=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},ws=(()=>{class t extends ir{static \u0275fac=(()=>{let e;return function(i){return(e||(e=wt(t)))(i||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>p(bs),providedIn:"root"})}return t})(),bs=(()=>{class t extends zn{location=p(we);urlSerializer=p($e);options=p(ze,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=p(ur);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new B;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){var e,n;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(n=(e=this.restoredState())==null?void 0:e.\u0275routerPageId)!=null?n:this.currentPageId}routerState=In(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){var i,s;if(e instanceof pe)this.stateMemento=this.createStateMemento();else if(e instanceof Q)this.rawUrlTree=n.initialUrl;else if(e instanceof it){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl((i=n.targetBrowserUrl)!=null?i:o,n)}}else e instanceof Ue?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl((s=n.targetBrowserUrl)!=null?s:this.rawUrlTree,n)):e instanceof q&&(e.code===E.GuardRejected||e.code===E.NoDataFromResolver)?this.restoreHistory(n):e instanceof Te?this.restoreHistory(n,!0):e instanceof k&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let i=e instanceof B?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl){let s=this.browserPageId,o=h(h({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(i,"",o)}else{let s=h(h({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===e.finalUrl&&s===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){var n;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(n=e.finalUrl)!=null?n:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=wt(t)))(i||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Fn(t,r){t.events.pipe(X(e=>e instanceof k||e instanceof q||e instanceof Te||e instanceof Q),R(e=>e instanceof k||e instanceof Q?0:(e instanceof q?e.code===E.Redirect||e.code===E.SupersededByNewNavigation:!1)?2:1),X(e=>e!==2),se(1)).subscribe(()=>{r()})}var Is={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},As={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},K=(()=>{var r,e;class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p($r);stateManager=p(zn);options=p(ze,{optional:!0})||{};pendingTasks=p(Mr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(cr);urlSerializer=p($e);location=p(we);urlHandlingStrategy=p(ur);_events=new H;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(Cs);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(e=(r=p(dt,{optional:!0}))==null?void 0:r.flat())!=null?e:[];componentInputBindingEnabled=!!p(pt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}eventsSubscription=new pr;subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(s=>{try{let o=this.navigationTransitions.currentTransition,u=this.navigationTransitions.currentNavigation;if(o!==null&&u!==null){if(this.stateManager.handleRouterEvent(s,u),s instanceof q&&s.code!==E.Redirect&&s.code!==E.SupersededByNewNavigation)this.navigated=!0;else if(s instanceof k)this.navigated=!0;else if(s instanceof ge){let a=s.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(s.url,o.currentRawUrl),l=h({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ss(o.source)},a);this.scheduleNavigation(c,De,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Ms(s)&&this._events.next(s)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),De,this.stateManager.restoredState())}setUpLocationChangeListener(){var i;(i=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((s,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(s,"popstate",o)},0)}))}navigateToSyncWithBrowser(i,s,o){let u={replaceUrl:!0},a=o!=null&&o.navigationId?o:null;if(o){let l=h({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(u.state=l)}let c=this.parseUrl(i);this.scheduleNavigation(c,s,a,u)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(or),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,s={}){let{relativeTo:o,queryParams:u,fragment:a,queryParamsHandling:c,preserveFragment:l}=s,v=l?this.currentUrlTree.fragment:a,d=null;switch(c!=null?c:this.options.defaultQueryParamsHandling){case"merge":d=h(h({},this.currentUrlTree.queryParams),u);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=u||null}d!==null&&(d=this.removeEmptyProps(d));let m;try{let b=o?o.snapshot:this.routerState.snapshot.root;m=Sn(b)}catch{(typeof i[0]!="string"||i[0][0]!=="/")&&(i=[]),m=this.currentUrlTree.root}return Cn(m,i,d,v!=null?v:null)}navigateByUrl(i,s={skipLocationChange:!1}){let o=te(i)?i:this.parseUrl(i),u=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(u,De,null,s)}navigate(i,s={skipLocationChange:!1}){return Ds(i),this.navigateByUrl(this.createUrlTree(i,s),s)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,s){let o;if(s===!0?o=h({},Is):s===!1?o=h({},As):o=s,te(i))return Jr(this.currentUrlTree,i,o);let u=this.parseUrl(i);return Jr(this.currentUrlTree,u,o)}removeEmptyProps(i){return Object.entries(i).reduce((s,[o,u])=>(u!=null&&(s[o]=u),s),{})}scheduleNavigation(i,s,o,u,a){if(this.disposed)return Promise.resolve(!1);let c,l,v;a?(c=a.resolve,l=a.reject,v=a.promise):v=new Promise((m,b)=>{c=m,l=b});let d=this.pendingTasks.add();return Fn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:s,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:u,resolve:c,reject:l,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(m=>Promise.reject(m))}static \u0275fac=function(s){return new(s||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ds(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new A(4008,!1)}function Ms(t){return!(t instanceof Ue)&&!(t instanceof ge)}var un=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new H;constructor(e,n,i,s,o,u){var c;this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=u;let a=(c=o.nativeElement.tagName)==null?void 0:c.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof k&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(te(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,s,o){let u=this.urlTree;if(u===null||this.isAnchorElement&&(e!==0||n||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,a),!this.isAnchorElement}ngOnDestroy(){var e;(e=this.subscription)==null||e.unsubscribe()}updateHref(){var i;let e=this.urlTree;this.href=e!==null&&this.locationStrategy?(i=this.locationStrategy)==null?void 0:i.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:Ur(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,s=this.el.nativeElement;n!==null?i.setAttribute(s,e,n):i.removeAttribute(s,e)}get urlTree(){return this.routerLinkInput===null?null:te(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)($(K),$(re),Ar("tabindex"),$(Dt),$(At),$(Ce))};static \u0275dir=We({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&qr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),n&2&&zr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ke],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ke],replaceUrl:[2,"replaceUrl","replaceUrl",Ke],routerLink:"routerLink"},features:[He]})}return t})(),vo=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new oe;constructor(e,n,i,s,o){this.router=e,this.element=n,this.renderer=i,this.cdr=s,this.link=o,this.routerEventsSubscription=e.events.subscribe(u=>{u instanceof k&&this.update()})}ngAfterContentInit(){f(this.links.changes,f(null)).pipe(Re()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var n;(n=this.linkInputChangesSubscription)==null||n.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=D(e).pipe(Re()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),(e=this.linkInputChangesSubscription)==null||e.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=Os(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)($(K),$(At),$(Dt),$(Qe),$(un,8))};static \u0275dir=We({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,s){if(n&1&&Br(s,un,5),n&2){let o;Vr(o=Hr())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[He]})}return t})();function Os(t){return!!t.paths}var ft=class{};var Ts=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,s,o){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(X(e=>e instanceof k),ie(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){var s,o,u;let i=[];for(let a of n){a.providers&&!a._injector&&(a._injector=Mt(a.providers,e,`Route: ${a.path}`));let c=(s=a._injector)!=null?s:e,l=(o=a._loadedInjector)!=null?o:c;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&i.push(this.preloadConfig(c,a)),(a.children||a._loadedRoutes)&&i.push(this.processRoutes(l,(u=a.children)!=null?u:a._loadedRoutes))}return D(i).pipe(Re())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n):i=f(null);let s=i.pipe(O(o=>{var u;return o===null?f(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes((u=o.injector)!=null?u:e,o.routes))}));if(n.loadComponent&&!n._loadedComponent){let o=this.loader.loadComponent(n);return D([s,o]).pipe(Re())}else return s})}static \u0275fac=function(n){return new(n||t)(G(K),G(Ge),G(Se),G(ft),G(ar))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qn=new T(""),Us=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,i,s,o={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=i,this.zone=s,this.options=o,o.scrollPositionRestoration||(o.scrollPositionRestoration="disabled"),o.anchorScrolling||(o.anchorScrolling="disabled")}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof pe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof k?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Q&&e.code===nt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof st&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new st(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){var e,n;(e=this.routerEventsSubscription)==null||e.unsubscribe(),(n=this.scrollEventsSubscription)==null||n.unsubscribe()}static \u0275fac=function(n){Er()};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function Es(t){return t.routerState.root}function Fe(t,r){return{\u0275kind:t,\u0275providers:r}}function xs(){let t=p(bt);return r=>{var s,o;let e=t.get(_r);if(r!==e.components[0])return;let n=t.get(K),i=t.get(Bn);t.get(lr)===1&&n.initialNavigation(),(s=t.get(Vn,null,Ct.Optional))==null||s.setUpPreloading(),(o=t.get(qn,null,Ct.Optional))==null||o.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Bn=new T("",{factory:()=>new H}),lr=new T("",{providedIn:"root",factory:()=>1});function Ps(){return Fe(2,[{provide:lr,useValue:0},{provide:Ot,multi:!0,deps:[bt],useFactory:r=>{let e=r.get(Qr,Promise.resolve());return()=>e.then(()=>new Promise(n=>{let i=r.get(K),s=r.get(Bn);Fn(i,()=>{n(!0)}),r.get(cr).afterPreactivation=()=>(n(!0),s.closed?f(void 0):s),i.initialNavigation()}))}}])}function js(){return Fe(3,[{provide:Ot,multi:!0,useFactory:()=>{let r=p(K);return()=>{r.setUpLocationChangeListener()}}},{provide:lr,useValue:2}])}var Vn=new T("");function Ns(t){return Fe(0,[{provide:Vn,useExisting:Ts},{provide:ft,useExisting:t}])}function $s(){return Fe(8,[nn,{provide:pt,useExisting:nn}])}function Ls(t){let r=[{provide:Ln,useValue:ys},{provide:kn,useValue:h({skipNextTransition:!!(t!=null&&t.skipInitialTransition)},t)}];return Fe(9,r)}var ks=[we,{provide:$e,useClass:fe},K,ke,{provide:re,useFactory:Es,deps:[K]},ar,[]],mo=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[ks,[],{provide:dt,multi:!0,useValue:e},[],n!=null&&n.errorHandler?{provide:_n,useValue:n.errorHandler}:[],{provide:ze,useValue:n||{}},n!=null&&n.useHash?zs():Fs(),_s(),n!=null&&n.preloadingStrategy?Ns(n.preloadingStrategy).\u0275providers:[],n!=null&&n.initialNavigation?qs(n):[],n!=null&&n.bindToComponentInputs?$s().\u0275providers:[],n!=null&&n.enableViewTransitions?Ls().\u0275providers:[],Bs()]}}static forChild(e){return{ngModule:t,providers:[{provide:dt,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Nr({type:t});static \u0275inj=br({})}return t})();function _s(){return{provide:qn,useFactory:()=>{let t=p(Yr),r=p(It),e=p(ze),n=p(cr),i=p($e);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Us(i,n,t,r,e)}}}function zs(){return{provide:Ce,useClass:Zr}}function Fs(){return{provide:Ce,useClass:Kr}}function qs(t){return[t.initialNavigation==="disabled"?js().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Ps().\u0275providers:[]]}var cn=new T("");function Bs(){return[{provide:cn,useFactory:xs},{provide:kr,multi:!0,useExisting:cn}]}export{k as a,re as b,wi as c,K as d,un as e,vo as f,mo as g};
@@ -1 +0,0 @@
1
- import{a as f,b as u}from"./chunk-GKS2WGAQ.js";import{a as d}from"./chunk-AWS7TJOY.js";import{c as p}from"./chunk-IBW35LGZ.js";import"./chunk-4ASVYUZP.js";import"./chunk-ZV6IGHL6.js";import"./chunk-EDFYZGGZ.js";import{q as n}from"./chunk-IJOPQHDM.js";import{y as s}from"./chunk-ZFCY3QWG.js";import"./chunk-NHG4TUCE.js";import{g as i}from"./chunk-RZ7AYZQX.js";import"./chunk-S7LSMLK2.js";import"./chunk-FXH7UJ5I.js";import"./chunk-LHRPSEZP.js";import"./chunk-VIPLB6ON.js";import{c}from"./chunk-7VOWKBC5.js";import{ha as r,id as m,ub as e}from"./chunk-NUX2WN3X.js";var C=[{path:"",loadComponent:()=>import("./chunk-FGRVUXCU.js").then(o=>o.AccessoriesComponent)}],l=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=e({type:o});static \u0275inj=r({imports:[i.forChild(C),i]})}return o})();var S=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=e({type:o});static \u0275inj=r({imports:[m,s,n,p,c.forChild(),d,l,u,f]})}return o})();export{S as AccessoriesModule};
@@ -1 +0,0 @@
1
- import{e as a}from"./chunk-XSKOJB4V.js";import"./chunk-Z4VQJOCM.js";import"./chunk-IJOPQHDM.js";import"./chunk-ZFCY3QWG.js";import"./chunk-RZ7AYZQX.js";import"./chunk-S7LSMLK2.js";import"./chunk-FXH7UJ5I.js";import"./chunk-LHRPSEZP.js";import"./chunk-VIPLB6ON.js";import"./chunk-7VOWKBC5.js";import"./chunk-NUX2WN3X.js";export{a as UsersComponent};
@@ -1 +0,0 @@
1
- import{d as a}from"./chunk-RLOJ4URV.js";import"./chunk-5ZFJ4INX.js";import"./chunk-4ASVYUZP.js";import"./chunk-GKJDQJXY.js";import"./chunk-KGJAZDYN.js";import"./chunk-OH2VPUYU.js";import"./chunk-ZV6IGHL6.js";import"./chunk-EDFYZGGZ.js";import"./chunk-ZTTWZU4Q.js";import"./chunk-RJ6HXANU.js";import"./chunk-Z4VQJOCM.js";import"./chunk-I4RJOFJA.js";import"./chunk-UY5XIM7B.js";import"./chunk-4ANMJJ3Y.js";import"./chunk-RGZ4UMYA.js";import"./chunk-IJOPQHDM.js";import"./chunk-ZFCY3QWG.js";import"./chunk-NHG4TUCE.js";import"./chunk-RZ7AYZQX.js";import"./chunk-S7LSMLK2.js";import"./chunk-FXH7UJ5I.js";import"./chunk-LHRPSEZP.js";import"./chunk-VIPLB6ON.js";import"./chunk-7VOWKBC5.js";import"./chunk-NUX2WN3X.js";export{a as SettingsComponent};
@@ -1 +0,0 @@
1
- import{a as f}from"./chunk-PPKGVJBE.js";import{a as s}from"./chunk-ATKY7BPX.js";import"./chunk-ZJLAMLYN.js";import"./chunk-YKBVU6AV.js";import"./chunk-GKJDQJXY.js";import"./chunk-KGJAZDYN.js";import"./chunk-OH2VPUYU.js";import"./chunk-ZV6IGHL6.js";import"./chunk-EDFYZGGZ.js";import"./chunk-ZTTWZU4Q.js";import"./chunk-RJ6HXANU.js";import"./chunk-Z4VQJOCM.js";import"./chunk-I4RJOFJA.js";import"./chunk-UY5XIM7B.js";import"./chunk-R35OKBR7.js";import"./chunk-4ANMJJ3Y.js";import"./chunk-RGZ4UMYA.js";import{q as l}from"./chunk-IJOPQHDM.js";import{y as m,z as u}from"./chunk-ZFCY3QWG.js";import"./chunk-NHG4TUCE.js";import{g as e}from"./chunk-RZ7AYZQX.js";import"./chunk-S7LSMLK2.js";import"./chunk-FXH7UJ5I.js";import"./chunk-LHRPSEZP.js";import"./chunk-VIPLB6ON.js";import{c as p}from"./chunk-7VOWKBC5.js";import{ha as t,id as n,ub as r}from"./chunk-NUX2WN3X.js";var g=[{path:"",loadComponent:()=>import("./chunk-F5HFYQPC.js").then(o=>o.PluginsComponent)}],d=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[e.forChild(g),e]})}return o})();var v=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,m,u,p.forChild(),l,f,d,s]})}return o})();export{v as PluginsModule};
@@ -1 +0,0 @@
1
- import"./chunk-XRJZ7K7S.js";import{q as n}from"./chunk-IJOPQHDM.js";import{z as p}from"./chunk-ZFCY3QWG.js";import{g as i}from"./chunk-RZ7AYZQX.js";import"./chunk-VIPLB6ON.js";import{c as u}from"./chunk-7VOWKBC5.js";import{ha as t,id as m,ub as r}from"./chunk-NUX2WN3X.js";var l=[{path:"",loadComponent:()=>import("./chunk-KN3QRU4A.js").then(o=>o.SupportComponent)}],d=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(l),i]})}return o})();var R=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[m,d,n,p,u]})}return o})();export{R as SupportModule};
@@ -1 +0,0 @@
1
- import{Ca as y,D as Fe,Fb as we,Gc as Ie,Ha as N,Ia as E,Jb as z,Jc as Se,Kc as m,Lc as F,Mb as oe,Oc as ae,a as h,b as f,bc as C,da as W,fa as d,ha as $,ja as A,lb as O,mb as o,n as Ae,q as Me,ta as M,ub as q,uc as c,vb as l,x as Ee,xa as p,xb as u}from"./chunk-NUX2WN3X.js";var Te=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||n)(o(O),o(N))};static \u0275dir=l({type:n})}return n})(),U=(()=>{class n extends Te{static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,features:[u]})}return n})(),D=new A(""),dt={provide:D,useExisting:d(()=>ct),multi:!0},ct=(()=>{class n extends U{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){i&1&&C("change",function(a){return r.onChange(a.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[c([dt]),u]})}return n})(),ht={provide:D,useExisting:d(()=>Be),multi:!0};function ft(){let n=ae()?ae().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var gt=new A(""),Be=(()=>{class n extends Te{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!ft())}writeValue(e){let i=e==null?"":e;this.setProperty("value",i)}_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(i){return new(i||n)(o(O),o(N),o(gt,8))};static \u0275dir=l({type:n,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(i,r){i&1&&C("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[c([ht]),u]})}return n})();function he(n){return n==null||fe(n)===0}function fe(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var b=new A(""),H=new A(""),pt=/^(?=.{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])?)*$/,Ne=class{static min(t){return Ue(t)}static max(t){return He(t)}static required(t){return mt(t)}static requiredTrue(t){return _t(t)}static email(t){return vt(t)}static minLength(t){return yt(t)}static maxLength(t){return Ct(t)}static pattern(t){return Le(t)}static nullValidator(t){return X(t)}static compose(t){return Xe(t)}static composeAsync(t){return Ye(t)}};function Ue(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}function He(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function mt(n){return he(n.value)?{required:!0}:null}function _t(n){return n.value===!0?null:{required:!0}}function vt(n){return he(n.value)||pt.test(n.value)?null:{email:!0}}function yt(n){return t=>{var i,r;let e=(r=(i=t.value)==null?void 0:i.length)!=null?r:fe(t.value);return e===null||e===0?null:e<n?{minlength:{requiredLength:n,actualLength:e}}:null}}function Ct(n){return t=>{var i,r;let e=(r=(i=t.value)==null?void 0:i.length)!=null?r:fe(t.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function Le(n){if(!n)return X;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(he(i.value))return null;let r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function X(n){return null}function We(n){return n!=null}function $e(n){return we(n)?Me(n):n}function qe(n){let t={};return n.forEach(e=>{t=e!=null?h(h({},t),e):t}),Object.keys(t).length===0?null:t}function ze(n,t){return t.map(e=>e(n))}function Vt(n){return!n.validate}function Ze(n){return n.map(t=>Vt(t)?t:e=>t.validate(e))}function Xe(n){if(!n)return null;let t=n.filter(We);return t.length==0?null:function(e){return qe(ze(e,t))}}function ge(n){return n!=null?Xe(Ze(n)):null}function Ye(n){if(!n)return null;let t=n.filter(We);return t.length==0?null:function(e){let i=ze(e,t).map($e);return Fe(i).pipe(Ee(qe))}}function pe(n){return n!=null?Ye(Ze(n)):null}function Oe(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function Ke(n){return n._rawValidators}function Je(n){return n._rawAsyncValidators}function le(n){return n?Array.isArray(n)?n:[n]:[]}function Y(n,t){return Array.isArray(n)?n.includes(t):n===t}function xe(n,t){let e=le(t);return le(n).forEach(r=>{Y(e,r)||e.push(r)}),e}function Pe(n,t){return le(t).filter(e=>!Y(n,e))}var K=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=ge(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=pe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},_=class extends K{name;get formDirective(){return null}get path(){return null}},v=class extends K{_parent=null;name=null;valueAccessor=null},J=class{_cd;constructor(t){this._cd=t}get isTouched(){var t,e,i,r,s;return(i=(e=(t=this._cd)==null?void 0:t.control)==null?void 0:e._touched)==null||i.call(e),!!((s=(r=this._cd)==null?void 0:r.control)!=null&&s.touched)}get isUntouched(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.untouched)}get isPristine(){var t,e,i,r,s;return(i=(e=(t=this._cd)==null?void 0:t.control)==null?void 0:e._pristine)==null||i.call(e),!!((s=(r=this._cd)==null?void 0:r.control)!=null&&s.pristine)}get isDirty(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.dirty)}get isValid(){var t,e,i,r,s;return(i=(e=(t=this._cd)==null?void 0:t.control)==null?void 0:e._status)==null||i.call(e),!!((s=(r=this._cd)==null?void 0:r.control)!=null&&s.valid)}get isInvalid(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.invalid)}get isPending(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.pending)}get isSubmitted(){var t,e,i;return(e=(t=this._cd)==null?void 0:t._submitted)==null||e.call(t),!!((i=this._cd)!=null&&i.submitted)}},Dt={"[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"},Dn=f(h({},Dt),{"[class.ng-submitted]":"isSubmitted"}),bn=(()=>{class n extends J{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(o(v,2))};static \u0275dir=l({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&oe("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[u]})}return n})(),An=(()=>{class n extends J{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(o(_,10))};static \u0275dir=l({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&oe("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[u]})}return n})();var x="VALID",Z="INVALID",w="PENDING",P="DISABLED",V=class{},Q=class extends V{value;source;constructor(t,e){super(),this.value=t,this.source=e}},R=class extends V{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},G=class extends V{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},I=class extends V{status;source;constructor(t,e){super(),this.status=t,this.source=e}},ue=class extends V{source;constructor(t){super(),this.source=t}},de=class extends V{source;constructor(t){super(),this.source=t}};function me(n){return(ie(n)?n.validators:n)||null}function bt(n){return Array.isArray(n)?ge(n):n||null}function _e(n,t){return(ie(t)?t.asyncValidators:n)||null}function At(n){return Array.isArray(n)?pe(n):n||null}function ie(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Qe(n,t,e){let i=n.controls;if(!(t?Object.keys(i):i).length)throw new W(1e3,"");if(!i[e])throw new W(1001,"")}function et(n,t,e){n._forEachChild((i,r)=>{if(e[r]===void 0)throw new W(1002,"")})}var j=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return m(this.statusReactive)}set status(t){m(()=>this.statusReactive.set(t))}_status=F(()=>this.statusReactive());statusReactive=E(void 0);get valid(){return this.status===x}get invalid(){return this.status===Z}get pending(){return this.status==w}get disabled(){return this.status===P}get enabled(){return this.status!==P}errors;get pristine(){return m(this.pristineReactive)}set pristine(t){m(()=>this.pristineReactive.set(t))}_pristine=F(()=>this.pristineReactive());pristineReactive=E(!0);get dirty(){return!this.pristine}get touched(){return m(this.touchedReactive)}set touched(t){m(()=>this.touchedReactive.set(t))}_touched=F(()=>this.touchedReactive());touchedReactive=E(!1);get untouched(){return!this.touched}_events=new Ae;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(xe(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(xe(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Pe(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Pe(t,this._rawAsyncValidators))}hasValidator(t){return Y(this._rawValidators,t)}hasAsyncValidator(t){return Y(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){var r;let e=this.touched===!1;this.touched=!0;let i=(r=t.sourceControl)!=null?r:this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(f(h({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new G(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){var r;let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=(r=t.sourceControl)!=null?r:this;this._forEachChild(s=>{s.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&t.emitEvent!==!1&&this._events.next(new G(!1,i))}markAsDirty(t={}){var r;let e=this.pristine===!0;this.pristine=!1;let i=(r=t.sourceControl)!=null?r:this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(f(h({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new R(!1,i))}markAsPristine(t={}){var r;let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=(r=t.sourceControl)!=null?r:this;this._forEachChild(s=>{s.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&t.emitEvent!==!1&&this._events.next(new R(!0,i))}markAsPending(t={}){var i;this.status=w;let e=(i=t.sourceControl)!=null?i:this;t.emitEvent!==!1&&(this._events.next(new I(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(f(h({},t),{sourceControl:e}))}disable(t={}){var r;let e=this._parentMarkedDirty(t.onlySelf);this.status=P,this.errors=null,this._forEachChild(s=>{s.disable(f(h({},t),{onlySelf:!0}))}),this._updateValue();let i=(r=t.sourceControl)!=null?r:this;t.emitEvent!==!1&&(this._events.next(new Q(this.value,i)),this._events.next(new I(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(f(h({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(s=>s(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=x,this._forEachChild(i=>{i.enable(f(h({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(f(h({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){var i;if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===x||this.status===w)&&this._runAsyncValidator(r,t.emitEvent)}let e=(i=t.sourceControl)!=null?i:this;t.emitEvent!==!1&&(this._events.next(new Q(this.value,e)),this._events.next(new I(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(f(h({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?P:x}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=w,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=$e(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){var t,e;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(e=(t=this._hasOwnPendingAsyncValidator)==null?void 0:t.emitEvent)!=null?e:!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new I(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new y,this.statusChanges=new y}_calculateStatus(){return this._allControlsDisabled()?P:this.errors?Z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(w)?w:this._anyControlsHaveStatus(Z)?Z:x}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new R(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new G(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ie(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=bt(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=At(this._rawAsyncValidators)}},T=class extends j{constructor(t,e,i){super(me(e),_e(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){et(this,!0,t),Object.keys(t).forEach(i=>{Qe(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(i=>{let r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,s)=>{i=e(i,r,s)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Mn=T;var S=new A("",{providedIn:"root",factory:()=>re}),re="always";function tt(n,t){return[...t.path,n]}function B(n,t,e=re){var i,r;ve(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&((r=(i=t.valueAccessor).setDisabledState)==null||r.call(i,n.disabled)),Et(n,t),wt(n,t),Ft(n,t),Mt(n,t)}function ee(n,t,e=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),ne(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function te(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Mt(n,t){if(t.valueAccessor.setDisabledState){let e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function ve(n,t){let e=Ke(n);t.validator!==null?n.setValidators(Oe(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let i=Je(n);t.asyncValidator!==null?n.setAsyncValidators(Oe(i,t.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();te(t._rawValidators,r),te(t._rawAsyncValidators,r)}function ne(n,t){let e=!1;if(n!==null){if(t.validator!==null){let r=Ke(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==t.validator);s.length!==r.length&&(e=!0,n.setValidators(s))}}if(t.asyncValidator!==null){let r=Je(n);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==t.asyncValidator);s.length!==r.length&&(e=!0,n.setAsyncValidators(s))}}}let i=()=>{};return te(t._rawValidators,i),te(t._rawAsyncValidators,i),e}function Et(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&nt(n,t)})}function Ft(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&nt(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function nt(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function wt(n,t){let e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function it(n,t){n==null,ve(n,t)}function It(n,t){return ne(n,t)}function ye(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function St(n){return Object.getPrototypeOf(n.constructor)===U}function rt(n,t){n._syncPendingControls(),t.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Ce(n,t){if(!t)return null;Array.isArray(t);let e,i,r;return t.forEach(s=>{s.constructor===Be?e=s:St(s)?i=s:r=s}),r||i||e||null}function Nt(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}var Ot={provide:_,useExisting:d(()=>xt)},k=Promise.resolve(),xt=(()=>{class n extends _{callSetDisabledState;get submitted(){return m(this.submittedReactive)}_submitted=F(()=>this.submittedReactive());submittedReactive=E(!1);_directives=new Set;form;ngSubmit=new y;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new T({},ge(e),pe(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){k.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),B(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){k.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){k.then(()=>{let i=this._findContainer(e.path),r=new T({});it(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){k.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){k.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){var i;return this.submittedReactive.set(!0),rt(this.form,this._directives),this.ngSubmit.emit(e),((i=e==null?void 0:e.target)==null?void 0:i.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(i){return new(i||n)(o(b,10),o(H,10),o(S,8))};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&C("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[c([Ot]),u]})}return n})();function ke(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function Re(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var Ve=class extends j{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,i){super(me(e),_e(i,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ie(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Re(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ke(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ke(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Re(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Fn=Ve,Pt=n=>n instanceof Ve;var kt={provide:v,useExisting:d(()=>Rt)},Ge=Promise.resolve(),Rt=(()=>{class n extends v{_changeDetectorRef;callSetDisabledState;control=new Ve;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new y;constructor(e,i,r,s,a,g){super(),this._changeDetectorRef=a,this.callSetDisabledState=g,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=Ce(this,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),ye(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(){B(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){Ge.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),(i=this._changeDetectorRef)==null||i.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Se(i);Ge.then(()=>{var s;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),(s=this._changeDetectorRef)==null||s.markForCheck()})}_getPath(e){return this._parent?tt(e,this._parent):[e]}static \u0275fac=function(i){return new(i||n)(o(_,9),o(b,10),o(H,10),o(D,10),o(Ie,8),o(S,8))};static \u0275dir=l({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[c([kt]),u,M]})}return n})();var wn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})(),Gt={provide:D,useExisting:d(()=>jt),multi:!0},jt=(()=>{class n extends U{writeValue(e){let i=e==null?"":e;this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&C("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[c([Gt]),u]})}return n})();var De=new A(""),Tt={provide:v,useExisting:d(()=>Bt)},Bt=(()=>{class n extends v{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new y;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Ce(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&ee(i,this,!1),B(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ye(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ee(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(i){return new(i||n)(o(b,10),o(H,10),o(D,10),o(De,8),o(S,8))};static \u0275dir=l({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[c([Tt]),u,M]})}return n})(),Ut={provide:_,useExisting:d(()=>Ht)},Ht=(()=>{class n extends _{callSetDisabledState;get submitted(){return m(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=F(()=>this._submittedReactive());_submittedReactive=E(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new y;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ne(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return B(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){ee(e.control||null,e,!1),Nt(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){var i;return this._submittedReactive.set(!0),rt(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ue(this.control)),((i=e==null?void 0:e.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new de(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(ee(i||null,e),Pt(r)&&(B(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);it(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&It(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ve(this.form,this),this._oldForm&&ne(this._oldForm,this)}static \u0275fac=function(i){return new(i||n)(o(b,10),o(H,10),o(S,8))};static \u0275dir=l({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&C("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[c([Ut]),u,M]})}return n})();var Lt={provide:v,useExisting:d(()=>Wt)},Wt=(()=>{class n extends v{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new y;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,s,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=Ce(this,s)}ngOnChanges(e){this._added||this._setUpControl(),ye(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 tt(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(i){return new(i||n)(o(_,13),o(b,10),o(H,10),o(D,10),o(De,8))};static \u0275dir=l({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[c([Lt]),u,M]})}return n})();var $t={provide:D,useExisting:d(()=>ot),multi:!0};function st(n,t){return n==null?`${t}`:(t&&typeof t=="object"&&(t="Object"),`${n}: ${t}`.slice(0,50))}function qt(n){return n.split(":")[0]}var ot=(()=>{class n extends U{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let i=this._getOptionId(e),r=st(i,e);this.setProperty("value",r)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){let i=qt(e);return this._optionMap.has(i)?this._optionMap.get(i):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){i&1&&C("change",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[c([$t]),u]})}return n})(),In=(()=>{class n{_element;_renderer;_select;id;constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(st(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||n)(o(N),o(O),o(ot,9))};static \u0275dir=l({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return n})(),zt={provide:D,useExisting:d(()=>at),multi:!0};function je(n,t){return n==null?`${t}`:(typeof t=="string"&&(t=`'${t}'`),t&&typeof t=="object"&&(t="Object"),`${n}: ${t}`.slice(0,50))}function Zt(n){return n.split(":")[0]}var at=(()=>{class n extends U{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let i;if(Array.isArray(e)){let r=e.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(r.indexOf(a.toString())>-1)}}else i=(r,s)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{let r=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let g=0;g<a.length;g++){let L=a[g],se=this._getOptionValue(L.value);r.push(se)}}else{let a=i.options;for(let g=0;g<a.length;g++){let L=a[g];if(L.selected){let se=this._getOptionValue(L.value);r.push(se)}}}this.value=r,e(r)}}_registerOption(e){let i=(this._idCounter++).toString();return this._optionMap.set(i,e),i}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,e))return i;return null}_getOptionValue(e){let i=Zt(e);return this._optionMap.has(i)?this._optionMap.get(i)._value:e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){i&1&&C("change",function(a){return r.onChange(a.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[c([zt]),u]})}return n})(),Sn=(()=>{class n{_element;_renderer;_select;id;_value;constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(je(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(je(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||n)(o(N),o(O),o(at,9))};static \u0275dir=l({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return n})();function lt(n){return typeof n=="number"?n:parseFloat(n)}var be=(()=>{class n{_validator=X;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):X,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,features:[M]})}return n})(),Xt={provide:b,useExisting:d(()=>Yt),multi:!0},Yt=(()=>{class n extends be{max;inputName="max";normalizeInput=e=>lt(e);createValidator=e=>He(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&z("max",r._enabled?r.max:null)},inputs:{max:"max"},standalone:!1,features:[c([Xt]),u]})}return n})(),Kt={provide:b,useExisting:d(()=>Jt),multi:!0},Jt=(()=>{class n extends be{min;inputName="min";normalizeInput=e=>lt(e);createValidator=e=>Ue(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&z("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[c([Kt]),u]})}return n})();var Qt={provide:b,useExisting:d(()=>en),multi:!0},en=(()=>{class n extends be{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>Le(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=p(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&z("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[c([Qt]),u]})}return n})();var ut=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=q({type:n});static \u0275inj=$({})}return n})(),ce=class extends j{constructor(t,e,i){super(me(e),_e(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){et(this,!1,t),t.forEach((i,r)=>{Qe(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){var e;return(e=this.at(t))!=null?e:null}},Nn=ce;var On=(()=>{class n{static withConfig(e){var i;return{ngModule:n,providers:[{provide:S,useValue:(i=e.callSetDisabledState)!=null?i:re}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=q({type:n});static \u0275inj=$({imports:[ut]})}return n})(),xn=(()=>{class n{static withConfig(e){var i,r;return{ngModule:n,providers:[{provide:De,useValue:(i=e.warnOnNgModelWithFormControl)!=null?i:"always"},{provide:S,useValue:(r=e.callSetDisabledState)!=null?r:re}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=q({type:n});static \u0275inj=$({imports:[ut]})}return n})();export{D as a,ct as b,Be as c,Ne as d,bn as e,An as f,T as g,Mn as h,xt as i,Ve as j,Fn as k,Rt as l,wn as m,jt as n,Bt as o,Ht as p,Wt as q,ot as r,In as s,Sn as t,Yt as u,Jt as v,en as w,Nn as x,On as y,xn as z};
@@ -1,2 +0,0 @@
1
- var ce=globalThis;function te(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e}function Tt(){let e=ce.performance;function r(A){e&&e.mark&&e.mark(A)}function i(A,_){e&&e.measure&&e.measure(A,_)}r("Zone");let n=(()=>{let _=class _{static assertZonePatched(){if(ce.Promise!==M.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=_.current;for(;t.parent;)t=t.parent;return t}static get current(){return b.zone}static get currentTask(){return O}static __load_patch(t,d,C=!1){if(M.hasOwnProperty(t)){let I=ce[te("forceDuplicateZoneCheck")]===!0;if(!C&&I)throw Error("Already loaded patch: "+t)}else if(!ce["__Zone_disable_"+t]){let I="Zone:"+t;r(I),M[t]=d(ce,_,P),i(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(t,d){this._parent=t,this._name=d?d.name||"unnamed":"<root>",this._properties=d&&d.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,d)}get(t){let d=this.getZoneWith(t);if(d)return d._properties[t]}getZoneWith(t){let d=this;for(;d;){if(d._properties.hasOwnProperty(t))return d;d=d._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,d){if(typeof t!="function")throw new Error("Expecting function got: "+t);let C=this._zoneDelegate.intercept(this,t,d),I=this;return function(){return I.runGuarded(C,this,arguments,d)}}run(t,d,C,I){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,t,d,C,I)}finally{b=b.parent}}runGuarded(t,d=null,C,I){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,t,d,C,I)}catch(S){if(this._zoneDelegate.handleError(this,S))throw S}}finally{b=b.parent}}runTask(t,d,C){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");let I=t,{type:S,data:{isPeriodic:Te=!1,isRefreshable:ae=!1}={}}=t;if(t.state===B&&(S===W||S===p))return;let re=t.state!=H;re&&I._transitionTo(H,h);let ge=O;O=I,b={parent:b,zone:this};try{S==p&&t.data&&!Te&&!ae&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,I,d,C)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{let l=t.state;if(l!==B&&l!==F)if(S==W||Te||ae&&l===k)re&&I._transitionTo(h,H,k);else{let a=I._zoneDelegates;this._updateTaskCount(I,-1),re&&I._transitionTo(B,H,B),ae&&(I._zoneDelegates=a)}b=b.parent,O=ge}}scheduleTask(t){if(t.zone&&t.zone!==this){let C=this;for(;C;){if(C===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);C=C.parent}}t._transitionTo(k,B);let d=[];t._zoneDelegates=d,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(C){throw t._transitionTo(F,k,B),this._zoneDelegate.handleError(this,C),C}return t._zoneDelegates===d&&this._updateTaskCount(t,1),t.state==k&&t._transitionTo(h,k),t}scheduleMicroTask(t,d,C,I){return this.scheduleTask(new E(z,t,d,C,I,void 0))}scheduleMacroTask(t,d,C,I,S){return this.scheduleTask(new E(p,t,d,C,I,S))}scheduleEventTask(t,d,C,I,S){return this.scheduleTask(new E(W,t,d,C,I,S))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");if(!(t.state!==h&&t.state!==H)){t._transitionTo(U,h,H);try{this._zoneDelegate.cancelTask(this,t)}catch(d){throw t._transitionTo(F,U),this._zoneDelegate.handleError(this,d),d}return this._updateTaskCount(t,-1),t._transitionTo(B,U),t.runCount=-1,t}}_updateTaskCount(t,d){let C=t._zoneDelegates;d==-1&&(t._zoneDelegates=null);for(let I=0;I<C.length;I++)C[I]._updateTaskCount(t.type,d)}};_.__symbol__=te;let A=_;return A})(),s={name:"",onHasTask:(A,_,c,t)=>A.hasTask(c,t),onScheduleTask:(A,_,c,t)=>A.scheduleTask(c,t),onInvokeTask:(A,_,c,t,d,C)=>A.invokeTask(c,t,d,C),onCancelTask:(A,_,c,t)=>A.cancelTask(c,t)};class f{get zone(){return this._zone}constructor(_,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this._zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this._zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this._zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this._zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this._zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this._zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this._zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let d=t&&t.onHasTask,C=c&&c._hasTaskZS;(d||C)&&(this._hasTaskZS=d?t:s,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,t.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this._zone),t.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this._zone),t.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this._zone))}fork(_,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,c):new n(_,c)}intercept(_,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,c,t):c}invoke(_,c,t,d,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,c,t,d,C):c.apply(t,d)}handleError(_,c){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,c):!0}scheduleTask(_,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else if(c.type==z)K(c);else throw new Error("Task is missing scheduleFn.");return t}invokeTask(_,c,t,d){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,c,t,d):c.callback.apply(t,d)}cancelTask(_,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(_,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,c)}catch(t){this.handleError(_,t)}}_updateTaskCount(_,c){let t=this._taskCounts,d=t[_],C=t[_]=d+c;if(C<0)throw new Error("More tasks executed then were scheduled.");if(d==0||C==0){let I={microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:_};this.hasTask(this._zone,I)}}}class E{constructor(_,c,t,d,C,I){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=c,this.data=d,this.scheduleFn=C,this.cancelFn=I,!t)throw new Error("callback is not defined");this.callback=t;let S=this;_===W&&d&&d.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,S,this,arguments)}}static invokeTask(_,c,t){_||(_=this),J++;try{return _.runCount++,_.zone.runTask(_,c,t)}finally{J==1&&q(),J--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(B,k)}_transitionTo(_,c,t){if(this._state===c||this._state===t)this._state=_,_==B&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${c}'${t?" or '"+t+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let m=te("setTimeout"),y=te("Promise"),N=te("then"),T=[],R=!1,D;function x(A){if(D||ce[y]&&(D=ce[y].resolve(0)),D){let _=D[N];_||(_=D.then),_.call(D,A)}else ce[m](A,0)}function K(A){J===0&&T.length===0&&x(q),A&&T.push(A)}function q(){if(!R){for(R=!0;T.length;){let A=T;T=[];for(let _=0;_<A.length;_++){let c=A[_];try{c.zone.runTask(c,null,null)}catch(t){P.onUnhandledError(t)}}}P.microtaskDrainDone(),R=!1}}let Q={name:"NO ZONE"},B="notScheduled",k="scheduling",h="scheduled",H="running",U="canceling",F="unknown",z="microTask",p="macroTask",W="eventTask",M={},P={symbol:te,currentZoneFrame:()=>b,onUnhandledError:X,microtaskDrainDone:X,scheduleMicroTask:K,showUncaughtError:()=>!n[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:X,patchMethod:()=>X,bindArguments:()=>[],patchThen:()=>X,patchMacroTask:()=>X,patchEventPrototype:()=>X,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>X,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>X,wrapWithCurrentZone:()=>X,filterProperties:()=>[],attachOriginToPatched:()=>X,_redefineProperty:()=>X,patchCallbacks:()=>X,nativeScheduleMicroTask:x},b={parent:null,zone:new n(null,null)},O=null,J=0;function X(){}return i("Zone","Zone"),n}function gt(){var i;let e=globalThis,r=e[te("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(r||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return(i=e.Zone)!=null||(e.Zone=Tt()),e.Zone}var be=Object.getOwnPropertyDescriptor,Ze=Object.defineProperty,xe=Object.getPrototypeOf,Et=Object.create,mt=Array.prototype.slice,$e="addEventListener",He="removeEventListener",Me=te($e),Le=te(He),le="true",ue="false",we=te("");function Be(e,r){return Zone.current.wrap(e,r)}function Ue(e,r,i,n,s){return Zone.current.scheduleMacroTask(e,r,i,n,s)}var $=te,Se=typeof window<"u",ye=Se?window:void 0,Y=Se&&ye||globalThis,pt="removeAttribute";function ze(e,r){for(let i=e.length-1;i>=0;i--)typeof e[i]=="function"&&(e[i]=Be(e[i],r+"_"+i));return e}function yt(e,r){let i=e.constructor.name;for(let n=0;n<r.length;n++){let s=r[n],f=e[s];if(f){let E=be(e,s);if(!nt(E))continue;e[s]=(m=>{let y=function(){return m.apply(this,ze(arguments,i+"."+s))};return he(y,m),y})(f)}}}function nt(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var rt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Oe=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ve=!Oe&&!rt&&!!(Se&&ye.HTMLElement),ot=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!rt&&!!(Se&&ye.HTMLElement),Ne={},kt=$("enable_beforeunload"),Ye=function(e){if(e=e||Y.event,!e)return;let r=Ne[e.type];r||(r=Ne[e.type]=$("ON_PROPERTY"+e.type));let i=this||e.target||Y,n=i[r],s;if(Ve&&i===ye&&e.type==="error"){let f=e;s=n&&n.call(this,f.message,f.filename,f.lineno,f.colno,f.error),s===!0&&e.preventDefault()}else s=n&&n.apply(this,arguments),e.type==="beforeunload"&&Y[kt]&&typeof s=="string"?e.returnValue=s:s!=null&&!s&&e.preventDefault();return s};function Ke(e,r,i){let n=be(e,r);if(!n&&i&&be(i,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let s=$("on"+r+"patched");if(e.hasOwnProperty(s)&&e[s])return;delete n.writable,delete n.value;let f=n.get,E=n.set,m=r.slice(2),y=Ne[m];y||(y=Ne[m]=$("ON_PROPERTY"+m)),n.set=function(N){let T=this;if(!T&&e===Y&&(T=Y),!T)return;typeof T[y]=="function"&&T.removeEventListener(m,Ye),E&&E.call(T,null),T[y]=N,typeof N=="function"&&T.addEventListener(m,Ye,!1)},n.get=function(){let N=this;if(!N&&e===Y&&(N=Y),!N)return null;let T=N[y];if(T)return T;if(f){let R=f.call(this);if(R)return n.set.call(this,R),typeof N[pt]=="function"&&N.removeAttribute(r),R}return null},Ze(e,r,n),e[s]=!0}function st(e,r,i){if(r)for(let n=0;n<r.length;n++)Ke(e,"on"+r[n],i);else{let n=[];for(let s in e)s.slice(0,2)=="on"&&n.push(s);for(let s=0;s<n.length;s++)Ke(e,n[s],i)}}var se=$("originalInstance");function ve(e){let r=Y[e];if(!r)return;Y[$(e)]=r,Y[e]=function(){let s=ze(arguments,e);switch(s.length){case 0:this[se]=new r;break;case 1:this[se]=new r(s[0]);break;case 2:this[se]=new r(s[0],s[1]);break;case 3:this[se]=new r(s[0],s[1],s[2]);break;case 4:this[se]=new r(s[0],s[1],s[2],s[3]);break;default:throw new Error("Arg list too long.")}},he(Y[e],r);let i=new r(function(){}),n;for(n in i)e==="XMLHttpRequest"&&n==="responseBlob"||function(s){typeof i[s]=="function"?Y[e].prototype[s]=function(){return this[se][s].apply(this[se],arguments)}:Ze(Y[e].prototype,s,{set:function(f){typeof f=="function"?(this[se][s]=Be(f,e+"."+s),he(this[se][s],f)):this[se][s]=f},get:function(){return this[se][s]}})}(n);for(n in r)n!=="prototype"&&r.hasOwnProperty(n)&&(Y[e][n]=r[n])}function fe(e,r,i){let n=e;for(;n&&!n.hasOwnProperty(r);)n=xe(n);!n&&e[r]&&(n=e);let s=$(r),f=null;if(n&&(!(f=n[s])||!n.hasOwnProperty(s))){f=n[s]=n[r];let E=n&&be(n,r);if(nt(E)){let m=i(f,s,r);n[r]=function(){return m(this,arguments)},he(n[r],f)}}return f}function vt(e,r,i){let n=null;function s(f){let E=f.data;return E.args[E.cbIdx]=function(){f.invoke.apply(this,arguments)},n.apply(E.target,E.args),f}n=fe(e,r,f=>function(E,m){let y=i(E,m);return y.cbIdx>=0&&typeof m[y.cbIdx]=="function"?Ue(y.name,m[y.cbIdx],y,s):f.apply(E,m)})}function he(e,r){e[$("OriginalDelegate")]=r}var Je=!1,Ae=!1;function bt(){try{let e=ye.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function wt(){if(Je)return Ae;Je=!0;try{let e=ye.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ae=!0)}catch{}return Ae}function Qe(e){return typeof e=="function"}function et(e){return typeof e=="number"}var pe=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){pe=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{pe=!1}var Rt={useG:!0},ne={},it={},ct=new RegExp("^"+we+"(\\w+)(true|false)$"),at=$("propagationStopped");function lt(e,r){let i=(r?r(e):e)+ue,n=(r?r(e):e)+le,s=we+i,f=we+n;ne[e]={},ne[e][ue]=s,ne[e][le]=f}function Pt(e,r,i,n){let s=n&&n.add||$e,f=n&&n.rm||He,E=n&&n.listeners||"eventListeners",m=n&&n.rmAll||"removeAllListeners",y=$(s),N="."+s+":",T="prependListener",R="."+T+":",D=function(k,h,H){if(k.isRemoved)return;let U=k.callback;typeof U=="object"&&U.handleEvent&&(k.callback=p=>U.handleEvent(p),k.originalDelegate=U);let F;try{k.invoke(k,h,[H])}catch(p){F=p}let z=k.options;if(z&&typeof z=="object"&&z.once){let p=k.originalDelegate?k.originalDelegate:k.callback;h[f].call(h,H.type,p,z)}return F};function x(k,h,H){if(h=h||e.event,!h)return;let U=k||h.target||e,F=U[ne[h.type][H?le:ue]];if(F){let z=[];if(F.length===1){let p=D(F[0],U,h);p&&z.push(p)}else{let p=F.slice();for(let W=0;W<p.length&&!(h&&h[at]===!0);W++){let M=D(p[W],U,h);M&&z.push(M)}}if(z.length===1)throw z[0];for(let p=0;p<z.length;p++){let W=z[p];r.nativeScheduleMicroTask(()=>{throw W})}}}let K=function(k){return x(this,k,!1)},q=function(k){return x(this,k,!0)};function Q(k,h){if(!k)return!1;let H=!0;h&&h.useG!==void 0&&(H=h.useG);let U=h&&h.vh,F=!0;h&&h.chkDup!==void 0&&(F=h.chkDup);let z=!1;h&&h.rt!==void 0&&(z=h.rt);let p=k;for(;p&&!p.hasOwnProperty(s);)p=xe(p);if(!p&&k[s]&&(p=k),!p||p[y])return!1;let W=h&&h.eventNameToString,M={},P=p[y]=p[s],b=p[$(f)]=p[f],O=p[$(E)]=p[E],J=p[$(m)]=p[m],X;h&&h.prepend&&(X=p[$(h.prepend)]=p[h.prepend]);function A(o,u){return!pe&&typeof o=="object"&&o?!!o.capture:!pe||!u?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let _=function(o){if(!M.isExisting)return P.call(M.target,M.eventName,M.capture?q:K,M.options)},c=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?le:ue]);let w=v&&o.target[v];if(w){for(let g=0;g<w.length;g++)if(w[g]===o){w.splice(g,1),o.isRemoved=!0,o.removeAbortListener&&(o.removeAbortListener(),o.removeAbortListener=null),w.length===0&&(o.allRemoved=!0,o.target[v]=null);break}}}if(o.allRemoved)return b.call(o.target,o.eventName,o.capture?q:K,o.options)},t=function(o){return P.call(M.target,M.eventName,o.invoke,M.options)},d=function(o){return X.call(M.target,M.eventName,o.invoke,M.options)},C=function(o){return b.call(o.target,o.eventName,o.invoke,o.options)},I=H?_:t,S=H?c:C,Te=function(o,u){let v=typeof u;return v==="function"&&o.callback===u||v==="object"&&o.originalDelegate===u},ae=h&&h.diff?h.diff:Te,re=Zone[$("UNPATCHED_EVENTS")],ge=e[$("PASSIVE_EVENTS")];function l(o){if(typeof o=="object"&&o!==null){let u={...o};return o.signal&&(u.signal=o.signal),u}return o}let a=function(o,u,v,w,g=!1,L=!1){return function(){let j=this||e,Z=arguments[0];h&&h.transferEventName&&(Z=h.transferEventName(Z));let V=arguments[1];if(!V)return o.apply(this,arguments);if(Oe&&Z==="uncaughtException")return o.apply(this,arguments);let G=!1;if(typeof V!="function"){if(!V.handleEvent)return o.apply(this,arguments);G=!0}if(U&&!U(o,V,j,arguments))return;let de=pe&&!!ge&&ge.indexOf(Z)!==-1,ee=l(A(arguments[2],de)),_e=ee==null?void 0:ee.signal;if(_e!=null&&_e.aborted)return;if(re){for(let ie=0;ie<re.length;ie++)if(Z===re[ie])return de?o.call(j,Z,V,ee):o.apply(this,arguments)}let Ie=ee?typeof ee=="boolean"?!0:ee.capture:!1,Ge=ee&&typeof ee=="object"?ee.once:!1,_t=Zone.current,De=ne[Z];De||(lt(Z,W),De=ne[Z]);let Fe=De[Ie?le:ue],Ee=j[Fe],We=!1;if(Ee){if(We=!0,F){for(let ie=0;ie<Ee.length;ie++)if(ae(Ee[ie],V))return}}else Ee=j[Fe]=[];let Re,qe=j.constructor.name,Xe=it[qe];Xe&&(Re=Xe[Z]),Re||(Re=qe+u+(W?W(Z):Z)),M.options=ee,Ge&&(M.options.once=!1),M.target=j,M.capture=Ie,M.eventName=Z,M.isExisting=We;let ke=H?Rt:void 0;ke&&(ke.taskData=M),_e&&(M.options.signal=void 0);let oe=_t.scheduleEventTask(Re,V,ke,v,w);if(_e){M.options.signal=_e;let ie=()=>oe.zone.cancelTask(oe);o.call(_e,"abort",ie,{once:!0}),oe.removeAbortListener=()=>_e.removeEventListener("abort",ie)}if(M.target=null,ke&&(ke.taskData=null),Ge&&(M.options.once=!0),!pe&&typeof oe.options=="boolean"||(oe.options=ee),oe.target=j,oe.capture=Ie,oe.eventName=Z,G&&(oe.originalDelegate=V),L?Ee.unshift(oe):Ee.push(oe),g)return j}};return p[s]=a(P,N,I,S,z),X&&(p[T]=a(X,R,d,S,z,!0)),p[f]=function(){let o=this||e,u=arguments[0];h&&h.transferEventName&&(u=h.transferEventName(u));let v=arguments[2],w=v?typeof v=="boolean"?!0:v.capture:!1,g=arguments[1];if(!g)return b.apply(this,arguments);if(U&&!U(b,g,o,arguments))return;let L=ne[u],j;L&&(j=L[w?le:ue]);let Z=j&&o[j];if(Z)for(let V=0;V<Z.length;V++){let G=Z[V];if(ae(G,g)){if(Z.splice(V,1),G.isRemoved=!0,Z.length===0&&(G.allRemoved=!0,o[j]=null,!w&&typeof u=="string")){let de=we+"ON_PROPERTY"+u;o[de]=null}return G.zone.cancelTask(G),z?o:void 0}}return b.apply(this,arguments)},p[E]=function(){let o=this||e,u=arguments[0];h&&h.transferEventName&&(u=h.transferEventName(u));let v=[],w=ut(o,W?W(u):u);for(let g=0;g<w.length;g++){let L=w[g],j=L.originalDelegate?L.originalDelegate:L.callback;v.push(j)}return v},p[m]=function(){let o=this||e,u=arguments[0];if(u){h&&h.transferEventName&&(u=h.transferEventName(u));let v=ne[u];if(v){let w=v[ue],g=v[le],L=o[w],j=o[g];if(L){let Z=L.slice();for(let V=0;V<Z.length;V++){let G=Z[V],de=G.originalDelegate?G.originalDelegate:G.callback;this[f].call(this,u,de,G.options)}}if(j){let Z=j.slice();for(let V=0;V<Z.length;V++){let G=Z[V],de=G.originalDelegate?G.originalDelegate:G.callback;this[f].call(this,u,de,G.options)}}}}else{let v=Object.keys(o);for(let w=0;w<v.length;w++){let g=v[w],L=ct.exec(g),j=L&&L[1];j&&j!=="removeListener"&&this[m].call(this,j)}this[m].call(this,"removeListener")}if(z)return this},he(p[s],P),he(p[f],b),J&&he(p[m],J),O&&he(p[E],O),!0}let B=[];for(let k=0;k<i.length;k++)B[k]=Q(i[k],n);return B}function ut(e,r){if(!r){let f=[];for(let E in e){let m=ct.exec(E),y=m&&m[1];if(y&&(!r||y===r)){let N=e[E];if(N)for(let T=0;T<N.length;T++)f.push(N[T])}}return f}let i=ne[r];i||(lt(r),i=ne[r]);let n=e[i[ue]],s=e[i[le]];return n?s?n.concat(s):n.slice():s?s.slice():[]}function Nt(e,r){let i=e.Event;i&&i.prototype&&r.patchMethod(i.prototype,"stopImmediatePropagation",n=>function(s,f){s[at]=!0,n&&n.apply(s,f)})}function St(e,r){r.patchMethod(e,"queueMicrotask",i=>function(n,s){Zone.current.scheduleMicroTask("queueMicrotask",s[0])})}var Pe=$("zoneTask");function me(e,r,i,n){let s=null,f=null;r+=n,i+=n;let E={};function m(N){let T=N.data;T.args[0]=function(){return N.invoke.apply(this,arguments)};let R=s.apply(e,T.args);return et(R)?T.handleId=R:(T.handle=R,T.isRefreshable=Qe(R.refresh)),N}function y(N){let{handle:T,handleId:R}=N.data;return f.call(e,T!=null?T:R)}s=fe(e,r,N=>function(T,R){var D;if(Qe(R[0])){let x={isRefreshable:!1,isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?R[1]||0:void 0,args:R},K=R[0];R[0]=function(){try{return K.apply(this,arguments)}finally{let{handle:U,handleId:F,isPeriodic:z,isRefreshable:p}=x;!z&&!p&&(F?delete E[F]:U&&(U[Pe]=null))}};let q=Ue(r,R[0],x,m,y);if(!q)return q;let{handleId:Q,handle:B,isRefreshable:k,isPeriodic:h}=q.data;if(Q)E[Q]=q;else if(B&&(B[Pe]=q,k&&!h)){let H=B.refresh;B.refresh=function(){let{zone:U,state:F}=q;return F==="notScheduled"?(q._state="scheduled",U._updateTaskCount(q,1)):F==="running"&&(q._state="scheduling"),H.call(this)}}return(D=B!=null?B:Q)!=null?D:q}else return N.apply(e,R)}),f=fe(e,i,N=>function(T,R){let D=R[0],x;et(D)?(x=E[D],delete E[D]):(x=D==null?void 0:D[Pe],x?D[Pe]=null:x=D),x!=null&&x.type?x.cancelFn&&x.zone.cancelTask(x):N.apply(e,R)})}function Ot(e,r){let{isBrowser:i,isMix:n}=r.getGlobalObjects();if(!i&&!n||!e.customElements||!("customElements"in e))return;let s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,e.customElements,"customElements","define",s)}function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:i,zoneSymbolEventNames:n,TRUE_STR:s,FALSE_STR:f,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let y=0;y<i.length;y++){let N=i[y],T=N+f,R=N+s,D=E+T,x=E+R;n[N]={},n[N][f]=D,n[N][s]=x}let m=e.EventTarget;if(!(!m||!m.prototype))return r.patchEventTarget(e,r,[m&&m.prototype]),!0}function It(e,r){r.patchEventPrototype(e,r)}function ft(e,r,i){if(!i||i.length===0)return r;let n=i.filter(f=>f.target===e);if(!n||n.length===0)return r;let s=n[0].ignoreProperties;return r.filter(f=>s.indexOf(f)===-1)}function tt(e,r,i,n){if(!e)return;let s=ft(e,r,i);st(e,s,n)}function je(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Dt(e,r){if(Oe&&!ot||Zone[e.symbol("patchEvents")])return;let i=r.__Zone_ignore_on_properties,n=[];if(Ve){let s=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=bt()?[{target:s,ignoreProperties:["error"]}]:[];tt(s,je(s),i&&i.concat(f),xe(s))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let s=0;s<n.length;s++){let f=r[n[s]];f&&f.prototype&&tt(f.prototype,je(f.prototype),i)}}function Mt(e){e.__load_patch("legacy",r=>{let i=r[e.__symbol__("legacyPatch")];i&&i()}),e.__load_patch("timers",r=>{let i="set",n="clear";me(r,i,n,"Timeout"),me(r,i,n,"Interval"),me(r,i,n,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{me(r,"request","cancel","AnimationFrame"),me(r,"mozRequest","mozCancel","AnimationFrame"),me(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,i)=>{let n=["alert","prompt","confirm"];for(let s=0;s<n.length;s++){let f=n[s];fe(r,f,(E,m,y)=>function(N,T){return i.current.run(E,r,T,y)})}}),e.__load_patch("EventTarget",(r,i,n)=>{It(r,n),Ct(r,n);let s=r.XMLHttpRequestEventTarget;s&&s.prototype&&n.patchEventTarget(r,n,[s.prototype])}),e.__load_patch("MutationObserver",(r,i,n)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,i,n)=>{ve("IntersectionObserver")}),e.__load_patch("FileReader",(r,i,n)=>{ve("FileReader")}),e.__load_patch("on_property",(r,i,n)=>{Dt(n,r)}),e.__load_patch("customElements",(r,i,n)=>{Ot(r,n)}),e.__load_patch("XHR",(r,i)=>{N(r);let n=$("xhrTask"),s=$("xhrSync"),f=$("xhrListener"),E=$("xhrScheduled"),m=$("xhrURL"),y=$("xhrErrorBeforeScheduled");function N(T){let R=T.XMLHttpRequest;if(!R)return;let D=R.prototype;function x(P){return P[n]}let K=D[Me],q=D[Le];if(!K){let P=T.XMLHttpRequestEventTarget;if(P){let b=P.prototype;K=b[Me],q=b[Le]}}let Q="readystatechange",B="scheduled";function k(P){let b=P.data,O=b.target;O[E]=!1,O[y]=!1;let J=O[f];K||(K=O[Me],q=O[Le]),J&&q.call(O,Q,J);let X=O[f]=()=>{if(O.readyState===O.DONE)if(!b.aborted&&O[E]&&P.state===B){let _=O[i.__symbol__("loadfalse")];if(O.status!==0&&_&&_.length>0){let c=P.invoke;P.invoke=function(){let t=O[i.__symbol__("loadfalse")];for(let d=0;d<t.length;d++)t[d]===P&&t.splice(d,1);!b.aborted&&P.state===B&&c.call(P)},_.push(P)}else P.invoke()}else!b.aborted&&O[E]===!1&&(O[y]=!0)};return K.call(O,Q,X),O[n]||(O[n]=P),W.apply(O,b.args),O[E]=!0,P}function h(){}function H(P){let b=P.data;return b.aborted=!0,M.apply(b.target,b.args)}let U=fe(D,"open",()=>function(P,b){return P[s]=b[2]==!1,P[m]=b[1],U.apply(P,b)}),F="XMLHttpRequest.send",z=$("fetchTaskAborting"),p=$("fetchTaskScheduling"),W=fe(D,"send",()=>function(P,b){if(i.current[p]===!0||P[s])return W.apply(P,b);{let O={target:P,url:P[m],isPeriodic:!1,args:b,aborted:!1},J=Ue(F,h,O,k,H);P&&P[y]===!0&&!O.aborted&&J.state===B&&J.invoke()}}),M=fe(D,"abort",()=>function(P,b){let O=x(P);if(O&&typeof O.type=="string"){if(O.cancelFn==null||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(i.current[z]===!0)return M.apply(P,b)})}}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&yt(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,i)=>{function n(s){return function(f){ut(r,s).forEach(m=>{let y=r.PromiseRejectionEvent;if(y){let N=new y(s,{promise:f.promise,reason:f.rejection});m.invoke(N)}})}}r.PromiseRejectionEvent&&(i[$("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),i[$("rejectionHandledHandler")]=n("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,i,n)=>{St(r,n)})}function Lt(e){e.__load_patch("ZoneAwarePromise",(r,i,n)=>{let s=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function E(l){if(l&&l.toString===Object.prototype.toString){let a=l.constructor&&l.constructor.name;return(a||"")+": "+JSON.stringify(l)}return l?l.toString():Object.prototype.toString.call(l)}let m=n.symbol,y=[],N=r[m("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,T=m("Promise"),R=m("then"),D="__creationTrace__";n.onUnhandledError=l=>{if(n.showUncaughtError()){let a=l&&l.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(l)}},n.microtaskDrainDone=()=>{for(;y.length;){let l=y.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(a){K(a)}}};let x=m("unhandledPromiseRejectionHandler");function K(l){n.onUnhandledError(l);try{let a=i[x];typeof a=="function"&&a.call(this,l)}catch{}}function q(l){return l&&l.then}function Q(l){return l}function B(l){return S.reject(l)}let k=m("state"),h=m("value"),H=m("finally"),U=m("parentPromiseValue"),F=m("parentPromiseState"),z="Promise.then",p=null,W=!0,M=!1,P=0;function b(l,a){return o=>{try{A(l,a,o)}catch(u){A(l,!1,u)}}}let O=function(){let l=!1;return function(o){return function(){l||(l=!0,o.apply(null,arguments))}}},J="Promise resolved with itself",X=m("currentTaskTrace");function A(l,a,o){let u=O();if(l===o)throw new TypeError(J);if(l[k]===p){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(w){return u(()=>{A(l,!1,w)})(),l}if(a!==M&&o instanceof S&&o.hasOwnProperty(k)&&o.hasOwnProperty(h)&&o[k]!==p)c(o),A(l,o[k],o[h]);else if(a!==M&&typeof v=="function")try{v.call(o,u(b(l,a)),u(b(l,!1)))}catch(w){u(()=>{A(l,!1,w)})()}else{l[k]=a;let w=l[h];if(l[h]=o,l[H]===H&&a===W&&(l[k]=l[F],l[h]=l[U]),a===M&&o instanceof Error){let g=i.currentTask&&i.currentTask.data&&i.currentTask.data[D];g&&f(o,X,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g<w.length;)t(l,w[g++],w[g++],w[g++],w[g++]);if(w.length==0&&a==M){l[k]=P;let g=o;try{throw new Error("Uncaught (in promise): "+E(o)+(o&&o.stack?`
2
- `+o.stack:""))}catch(L){g=L}N&&(g.throwOriginal=!0),g.rejection=o,g.promise=l,g.zone=i.current,g.task=i.currentTask,y.push(g),n.scheduleMicroTask()}}}return l}let _=m("rejectionHandledHandler");function c(l){if(l[k]===P){try{let a=i[_];a&&typeof a=="function"&&a.call(this,{rejection:l[h],promise:l})}catch{}l[k]=M;for(let a=0;a<y.length;a++)l===y[a].promise&&y.splice(a,1)}}function t(l,a,o,u,v){c(l);let w=l[k],g=w?typeof u=="function"?u:Q:typeof v=="function"?v:B;a.scheduleMicroTask(z,()=>{try{let L=l[h],j=!!o&&H===o[H];j&&(o[U]=L,o[F]=w);let Z=a.run(g,void 0,j&&g!==B&&g!==Q?[]:[L]);A(o,!0,Z)}catch(L){A(o,!1,L)}},o)}let d="function ZoneAwarePromise() { [native code] }",C=function(){},I=r.AggregateError;class S{static toString(){return d}static resolve(a){return a instanceof S?a:A(new this(null),W,a)}static reject(a){return A(new this(null),M,a)}static withResolvers(){let a={};return a.promise=new S((o,u)=>{a.resolve=o,a.reject=u}),a}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new I([],"All promises were rejected"));let o=[],u=0;try{for(let g of a)u++,o.push(S.resolve(g))}catch{return Promise.reject(new I([],"All promises were rejected"))}if(u===0)return Promise.reject(new I([],"All promises were rejected"));let v=!1,w=[];return new S((g,L)=>{for(let j=0;j<o.length;j++)o[j].then(Z=>{v||(v=!0,g(Z))},Z=>{w.push(Z),u--,u===0&&(v=!0,L(new I(w,"All promises were rejected")))})})}static race(a){let o,u,v=new this((L,j)=>{o=L,u=j});function w(L){o(L)}function g(L){u(L)}for(let L of a)q(L)||(L=this.resolve(L)),L.then(w,g);return v}static all(a){return S.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof S?this:S).allWithCallback(a,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(a,o){let u,v,w=new this((Z,V)=>{u=Z,v=V}),g=2,L=0,j=[];for(let Z of a){q(Z)||(Z=this.resolve(Z));let V=L;try{Z.then(G=>{j[V]=o?o.thenCallback(G):G,g--,g===0&&u(j)},G=>{o?(j[V]=o.errorCallback(G),g--,g===0&&u(j)):v(G)})}catch(G){v(G)}g++,L++}return g-=2,g===0&&u(j),w}constructor(a){let o=this;if(!(o instanceof S))throw new Error("Must be an instanceof Promise.");o[k]=p,o[h]=[];try{let u=O();a&&a(u(b(o,W)),u(b(o,M)))}catch(u){A(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return S}then(a,o){var g;let u=(g=this.constructor)==null?void 0:g[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||S);let v=new u(C),w=i.current;return this[k]==p?this[h].push(w,v,a,o):t(this,w,v,a,o),v}catch(a){return this.then(null,a)}finally(a){var w;let o=(w=this.constructor)==null?void 0:w[Symbol.species];(!o||typeof o!="function")&&(o=S);let u=new o(C);u[H]=H;let v=i.current;return this[k]==p?this[h].push(v,u,a,a):t(this,v,u,a,a),u}}S.resolve=S.resolve,S.reject=S.reject,S.race=S.race,S.all=S.all;let Te=r[T]=r.Promise;r.Promise=S;let ae=m("thenPatched");function re(l){let a=l.prototype,o=s(a,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=a.then;a[R]=u,l.prototype.then=function(v,w){return new S((L,j)=>{u.call(this,L,j)}).then(v,w)},l[ae]=!0}n.patchThen=re;function ge(l){return function(a,o){let u=l.apply(a,o);if(u instanceof S)return u;let v=u.constructor;return v[ae]||re(v),u}}return Te&&(re(Te),fe(r,"fetch",l=>ge(l))),Promise[i.__symbol__("uncaughtPromiseErrors")]=y,S})}function At(e){e.__load_patch("toString",r=>{let i=Function.prototype.toString,n=$("OriginalDelegate"),s=$("Promise"),f=$("Error"),E=function(){if(typeof this=="function"){let T=this[n];if(T)return typeof T=="function"?i.call(T):Object.prototype.toString.call(T);if(this===Promise){let R=r[s];if(R)return i.call(R)}if(this===Error){let R=r[f];if(R)return i.call(R)}}return i.call(this)};E[n]=i,Function.prototype.toString=E;let m=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:m.call(this)}})}function jt(e,r,i,n,s){let f=Zone.__symbol__(n);if(r[f])return;let E=r[f]=r[n];r[n]=function(m,y,N){return y&&y.prototype&&s.forEach(function(T){let R=`${i}.${n}::`+T,D=y.prototype;try{if(D.hasOwnProperty(T)){let x=e.ObjectGetOwnPropertyDescriptor(D,T);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,R),e._redefineProperty(y.prototype,T,x)):D[T]&&(D[T]=e.wrapWithCurrentZone(D[T],R))}else D[T]&&(D[T]=e.wrapWithCurrentZone(D[T],R))}catch{}}),E.call(r,m,y,N)},e.attachOriginToPatched(r[n],E)}function Zt(e){e.__load_patch("util",(r,i,n)=>{let s=je(r);n.patchOnProperties=st,n.patchMethod=fe,n.bindArguments=ze,n.patchMacroTask=vt;let f=i.__symbol__("BLACK_LISTED_EVENTS"),E=i.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[f]=r[E]),r[f]&&(i[f]=i[E]=r[f]),n.patchEventPrototype=Nt,n.patchEventTarget=Pt,n.isIEOrEdge=wt,n.ObjectDefineProperty=Ze,n.ObjectGetOwnPropertyDescriptor=be,n.ObjectCreate=Et,n.ArraySlice=mt,n.patchClass=ve,n.wrapWithCurrentZone=Be,n.filterProperties=ft,n.attachOriginToPatched=he,n._redefineProperty=Object.defineProperty,n.patchCallbacks=jt,n.getGlobalObjects=()=>({globalSources:it,zoneSymbolEventNames:ne,eventNames:s,isBrowser:Ve,isMix:ot,isNode:Oe,TRUE_STR:le,FALSE_STR:ue,ZONE_SYMBOL_PREFIX:we,ADD_EVENT_LISTENER_STR:$e,REMOVE_EVENT_LISTENER_STR:He})})}function xt(e){Lt(e),At(e),Zt(e)}var ht=gt();xt(ht);Mt(ht);window.global=window;var $t=":";function Ht(e,r){for(let i=1,n=1;i<e.length;i++,n++)if(r[n]==="\\")n++;else if(e[i]===$t)return i;throw new Error(`Unterminated $localize metadata block in "${r}".`)}var Ce=function(e,...r){if(Ce.translate){let n=Ce.translate(e,r);e=n[0],r=n[1]}let i=dt(e[0],e.raw[0]);for(let n=1;n<e.length;n++)i+=r[n-1]+dt(e[n],e.raw[n]);return i},Bt=":";function dt(e,r){return r.charAt(0)===Bt?e.substring(Ht(e,r)+1):e}globalThis.$localize=Ce;