homebridge-config-ui-x 5.12.1-beta.4 → 5.12.1-beta.6

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 (160) hide show
  1. package/dist/bin/platforms/linux.js.map +1 -1
  2. package/package.json +9 -9
  3. package/public/3rdpartylicenses.txt +13 -1
  4. package/public/{chunk-SHUCVS7I.js → chunk-22Z225AS.js} +1 -1
  5. package/public/chunk-2F2PDTDB.js +1 -0
  6. package/public/{chunk-QNOVJEHS.js → chunk-2HD3TOVY.js} +1 -1
  7. package/public/{chunk-HMF2EYMY.js → chunk-2JLK533I.js} +1 -1
  8. package/public/{chunk-TR77UVYU.js → chunk-2R4HORTN.js} +1 -1
  9. package/public/{chunk-CH4W3VJQ.js → chunk-2U3YDOKK.js} +1 -1
  10. package/public/{chunk-EFYVUQZK.js → chunk-35FSDYCY.js} +1 -1
  11. package/public/{chunk-E55EDX5Y.js → chunk-3RTPACYF.js} +1 -1
  12. package/public/chunk-3T6KISS2.js +1 -0
  13. package/public/chunk-3TO3C4MF.js +1 -0
  14. package/public/{chunk-WE4CGPHP.js → chunk-3TYXDC2O.js} +1 -1
  15. package/public/{chunk-4BX7KSQH.js → chunk-3X54YJUZ.js} +1 -1
  16. package/public/{chunk-5GOLEPOT.js → chunk-4IJDU5W2.js} +1 -1
  17. package/public/chunk-4RSOPME5.js +1 -0
  18. package/public/chunk-57L4H7AA.js +1 -0
  19. package/public/chunk-5G2OIZ66.js +1 -0
  20. package/public/{chunk-LR2GN2Y2.js → chunk-5GNJNTLA.js} +1 -1
  21. package/public/{chunk-IHAA5URA.js → chunk-6VNMVWFY.js} +1 -1
  22. package/public/chunk-732GW26P.js +1 -0
  23. package/public/{chunk-AHIRH7NQ.js → chunk-7LZXNMQ7.js} +1 -1
  24. package/public/chunk-7QNFIL7X.js +1 -0
  25. package/public/{chunk-3BODPB3K.js → chunk-ALTMINMJ.js} +1 -1
  26. package/public/{chunk-U5MVAF2Z.js → chunk-AWY7TUU4.js} +1 -1
  27. package/public/{chunk-XTQWZF3J.js → chunk-AYPSIX2K.js} +1 -1
  28. package/public/chunk-B37HWUCD.js +1 -0
  29. package/public/{chunk-KCDMHC2Q.js → chunk-BAWF37TF.js} +1 -1
  30. package/public/{chunk-RDHUW73W.js → chunk-BNNKKGLH.js} +1 -1
  31. package/public/{chunk-J56ZFHCF.js → chunk-BT3EMPD7.js} +1 -1
  32. package/public/chunk-BWJIQBIJ.js +1 -0
  33. package/public/{chunk-X66UFY6K.js → chunk-CU6MTMVY.js} +1 -1
  34. package/public/chunk-DH5YBYHN.js +92 -0
  35. package/public/{chunk-KQSZ6SGH.js → chunk-DO2QQ27Z.js} +1 -1
  36. package/public/chunk-DRY2ILHE.js +1 -0
  37. package/public/chunk-DSI2TVUT.js +1 -0
  38. package/public/{chunk-DUPASTS2.js → chunk-FDGOZLRL.js} +1 -1
  39. package/public/{chunk-B23NNBW7.js → chunk-FLS573AD.js} +2 -2
  40. package/public/{chunk-IL3A5BIS.js → chunk-GET4TOQ7.js} +1 -1
  41. package/public/{chunk-C64AHVUO.js → chunk-GIBUKDL3.js} +1 -1
  42. package/public/{chunk-HH2FDI7W.js → chunk-HOWYXHPL.js} +1 -1
  43. package/public/{chunk-UVWXUC5Y.js → chunk-I5AP453W.js} +1 -1
  44. package/public/chunk-I7YFJOCI.js +1 -0
  45. package/public/{chunk-3NHWMCB7.js → chunk-IBPLHJH5.js} +1 -1
  46. package/public/chunk-IMAK4R64.js +1 -0
  47. package/public/chunk-IRXJL347.js +1 -0
  48. package/public/{chunk-YDYBCBXX.js → chunk-IVGUGJ5O.js} +1 -1
  49. package/public/{chunk-LMPJJK5P.js → chunk-J33KCONB.js} +1 -1
  50. package/public/{chunk-QGJKMFM5.js → chunk-J3GYRR3Q.js} +1 -1
  51. package/public/{chunk-F5MBSCH4.js → chunk-JJ5CEM72.js} +3 -3
  52. package/public/{chunk-TTY6CFWI.js → chunk-JV4CFTMO.js} +1 -1
  53. package/public/{chunk-LF27VVUY.js → chunk-LK5Y5NQ2.js} +1 -1
  54. package/public/{chunk-TKVKJ7BH.js → chunk-LMM3BN25.js} +1 -1
  55. package/public/chunk-LMQIRO2C.js +1 -0
  56. package/public/chunk-LMWHU5BN.js +1 -0
  57. package/public/{chunk-5QQ2XMII.js → chunk-LVC2MQ7H.js} +1 -1
  58. package/public/chunk-MIRW6W7S.js +1 -0
  59. package/public/{chunk-F2HGBWZZ.js → chunk-MM3ZUHP2.js} +1 -1
  60. package/public/{chunk-Z2RGI4BU.js → chunk-MOTTUPLZ.js} +1 -1
  61. package/public/chunk-MQWN43LI.js +1 -0
  62. package/public/{chunk-5A2G7KDR.js → chunk-MRHB36HC.js} +1 -1
  63. package/public/chunk-MW5T6P3D.js +1 -0
  64. package/public/chunk-MXDOJJGQ.js +1 -0
  65. package/public/{chunk-D4MLVPZP.js → chunk-MZA3FXYW.js} +1 -1
  66. package/public/{chunk-UUTQE5VH.js → chunk-N5Z4CTHV.js} +1 -1
  67. package/public/chunk-NO3WWNTD.js +1 -0
  68. package/public/{chunk-AMSZTHK7.js → chunk-NX25VUHB.js} +1 -1
  69. package/public/chunk-O4RPRD43.js +1 -0
  70. package/public/{chunk-T4UELVH7.js → chunk-OCNA6V4W.js} +1 -1
  71. package/public/chunk-ON7YXJNY.js +1 -0
  72. package/public/{chunk-IXMOGLOS.js → chunk-P4ODKUQK.js} +1 -1
  73. package/public/{chunk-YPN7FV6O.js → chunk-PCRT3CPH.js} +1 -1
  74. package/public/chunk-PSTNNJB4.js +1 -0
  75. package/public/chunk-Q2RBJQKF.js +36 -0
  76. package/public/{chunk-W2KCSDQF.js → chunk-Q7FTVGEO.js} +1 -1
  77. package/public/chunk-QJULMVF4.js +1 -0
  78. package/public/{chunk-V45KU64F.js → chunk-QMHMKWPA.js} +1 -1
  79. package/public/{chunk-65AW3ZMH.js → chunk-QPIMSYGY.js} +1 -1
  80. package/public/{chunk-A7MBTNVM.js → chunk-QWCGYWQP.js} +1 -1
  81. package/public/{chunk-VCWYDWAJ.js → chunk-R2AXYPVZ.js} +1 -1
  82. package/public/{chunk-EQBPB35I.js → chunk-SAZ3DI6M.js} +1 -1
  83. package/public/{chunk-AUCDLTKK.js → chunk-SDK5Z2TS.js} +1 -1
  84. package/public/{chunk-OTMZDL7S.js → chunk-SGI3H2QJ.js} +1 -1
  85. package/public/chunk-SHOIYREX.js +1 -0
  86. package/public/{chunk-V2JVDEX6.js → chunk-T43ZT3B7.js} +1 -1
  87. package/public/{chunk-Y7OC2MBV.js → chunk-TLUSFONS.js} +5 -5
  88. package/public/{chunk-Q3NZLPIF.js → chunk-U5APV4HQ.js} +1 -1
  89. package/public/chunk-UKJBJA6I.js +1 -0
  90. package/public/chunk-URPE4YWQ.js +1 -0
  91. package/public/{chunk-DJGU4NTG.js → chunk-UU7UROHF.js} +1 -1
  92. package/public/{chunk-UHG23NUX.js → chunk-UUDM2ZE6.js} +1 -1
  93. package/public/{chunk-H7F7H5MW.js → chunk-V62JRIHN.js} +1 -1
  94. package/public/{chunk-FNRDBHYN.js → chunk-V6SS3LLE.js} +1 -1
  95. package/public/{chunk-UOW2U4BJ.js → chunk-VG77PUXT.js} +1 -1
  96. package/public/chunk-VJN6YUS2.js +1 -0
  97. package/public/{chunk-ASKLCERP.js → chunk-VKVESOYG.js} +1 -1
  98. package/public/{chunk-DW4GVDBD.js → chunk-WFW4V5CB.js} +1 -1
  99. package/public/{chunk-STRIQHMU.js → chunk-WTYHWUIV.js} +1 -1
  100. package/public/{chunk-FHRZH5HG.js → chunk-WTZQODSR.js} +1 -1
  101. package/public/{chunk-DOJGHPYJ.js → chunk-WVBGE4PG.js} +1 -1
  102. package/public/{chunk-PTJ3UZME.js → chunk-X35N33BQ.js} +1 -1
  103. package/public/{chunk-M5HSZY2K.js → chunk-X4YYP2LR.js} +2 -2
  104. package/public/{chunk-YCASP3MF.js → chunk-X5XGTC24.js} +1 -1
  105. package/public/{chunk-4G3SMV26.js → chunk-XBR7SSMW.js} +1 -1
  106. package/public/chunk-YASBCOYX.js +1 -0
  107. package/public/{chunk-FLCYKKEZ.js → chunk-YBWJOGCK.js} +1 -1
  108. package/public/{chunk-QSXJHCTT.js → chunk-YD4U26CQ.js} +1 -1
  109. package/public/chunk-YKLNKZD5.js +2 -0
  110. package/public/chunk-YLQLLNQ6.js +1 -0
  111. package/public/chunk-YWTJYVRK.js +1 -0
  112. package/public/{chunk-Q5X66PGK.js → chunk-YXAXWARF.js} +1 -1
  113. package/public/chunk-Z35VSD7C.js +5 -0
  114. package/public/{chunk-NTQWCIIF.js → chunk-ZBOWFMAD.js} +1 -1
  115. package/public/chunk-ZEBL4YGF.js +19 -0
  116. package/public/{chunk-3YXAYQFV.js → chunk-ZIFXCMBJ.js} +1 -1
  117. package/public/{chunk-DCBZUBGA.js → chunk-ZONYERCP.js} +1 -1
  118. package/public/{chunk-KEESKHLN.js → chunk-ZRGZJ2SE.js} +1 -1
  119. package/public/index.html +2 -2
  120. package/public/{main-ZCE52DX6.js → main-JPI6JIAY.js} +1 -1
  121. package/public/styles-SBKKVTID.css +1 -0
  122. package/public/chunk-2FKL7WTN.js +0 -1
  123. package/public/chunk-3B3NAPXD.js +0 -1
  124. package/public/chunk-3BOXIXZY.js +0 -1
  125. package/public/chunk-6KHLSYCO.js +0 -1
  126. package/public/chunk-7GUHWJ4X.js +0 -1
  127. package/public/chunk-7JD74YRM.js +0 -1
  128. package/public/chunk-7SWRANGJ.js +0 -1
  129. package/public/chunk-A7OA7EDC.js +0 -1
  130. package/public/chunk-AJNVPC3P.js +0 -1
  131. package/public/chunk-ALOGQFKU.js +0 -19
  132. package/public/chunk-AST2OLG2.js +0 -1
  133. package/public/chunk-AZLCZPTC.js +0 -1
  134. package/public/chunk-B4AJQJMI.js +0 -1
  135. package/public/chunk-BJV2F6QZ.js +0 -1
  136. package/public/chunk-BMOLDRJ3.js +0 -9
  137. package/public/chunk-BUZBTHD2.js +0 -1
  138. package/public/chunk-CXSRVC7V.js +0 -1
  139. package/public/chunk-DQVHBQLA.js +0 -1
  140. package/public/chunk-GYM2PPGX.js +0 -1
  141. package/public/chunk-HBK7LF6W.js +0 -1
  142. package/public/chunk-K3WEJJSS.js +0 -2
  143. package/public/chunk-KDXP3F5S.js +0 -1
  144. package/public/chunk-KYBKIBTT.js +0 -1
  145. package/public/chunk-LINXSUG2.js +0 -1
  146. package/public/chunk-LPJ4GDP3.js +0 -1
  147. package/public/chunk-LPWY3RKY.js +0 -1
  148. package/public/chunk-MUHHYXFN.js +0 -1
  149. package/public/chunk-N6F32H34.js +0 -1
  150. package/public/chunk-NPABPWX3.js +0 -1
  151. package/public/chunk-OU66C3M2.js +0 -1
  152. package/public/chunk-P67JXXO4.js +0 -1
  153. package/public/chunk-RRPHHKF2.js +0 -1
  154. package/public/chunk-SH2LIQC2.js +0 -35
  155. package/public/chunk-UP6OS2GK.js +0 -5
  156. package/public/chunk-UPP5DT2A.js +0 -1
  157. package/public/chunk-VV4LXPCS.js +0 -1
  158. package/public/chunk-XYVW562Y.js +0 -1
  159. package/public/chunk-ZPKMGNNM.js +0 -1
  160. package/public/styles-WJHG5ONB.css +0 -1
@@ -1,2 +1,2 @@
1
- import{$b as go,A as ve,Aa as ye,B as Kt,G as ge,H as no,J as ao,Jb as mo,Kb as ho,Q as so,R as j,Rc as Re,S as Mt,T as Zt,Wc as te,X as Q,Y as co,_ as lo,_b as vo,aa as g,bc as bo,c as oo,cc as wo,d as V,db as jt,dc as yo,ea as be,eb as Qt,g as Yt,i as Bt,ic as _e,jc as Jt,ka as nt,kb as fo,la as at,nb as xe,o as Ct,oa as we,ob as po,pa as Et,q as ro,v as H,w as io,xb as Gt,yb as uo,z as it}from"./chunk-F5MBSCH4.js";import{a as he,b as eo}from"./chunk-B4AJQJMI.js";var _o=(()=>{class t{constructor(){this.animation=!0}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var O="top",L="bottom",S="right",T="left",ee="auto",st=[O,L,S,T],tt="start",ht="end",Ro="clippingParents",oe="viewport",Ot="popper",Co="reference",Ce=st.reduce(function(t,o){return t.concat([o+"-"+tt,o+"-"+ht])},[]),re=[].concat(st,[ee]).reduce(function(t,o){return t.concat([o,o+"-"+tt,o+"-"+ht])},[]),Qo="beforeRead",Go="read",Jo="afterRead",tr="beforeMain",er="main",or="afterMain",rr="beforeWrite",ir="write",nr="afterWrite",Eo=[Qo,Go,Jo,tr,er,or,rr,ir,nr];function k(t){return t?(t.nodeName||"").toLowerCase():null}function _(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var o=t.ownerDocument;return o&&o.defaultView||window}return t}function z(t){var o=_(t).Element;return t instanceof o||t instanceof Element}function A(t){var o=_(t).HTMLElement;return t instanceof o||t instanceof HTMLElement}function Pt(t){if(typeof ShadowRoot>"u")return!1;var o=_(t).ShadowRoot;return t instanceof o||t instanceof ShadowRoot}function ar(t){var o=t.state;Object.keys(o.elements).forEach(function(e){var r=o.styles[e]||{},i=o.attributes[e]||{},n=o.elements[e];!A(n)||!k(n)||(Object.assign(n.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?n.removeAttribute(a):n.setAttribute(a,s===!0?"":s)}))})}function sr(t){var o=t.state,e={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,e.popper),o.styles=e,o.elements.arrow&&Object.assign(o.elements.arrow.style,e.arrow),function(){Object.keys(o.elements).forEach(function(r){var i=o.elements[r],n=o.attributes[r]||{},a=Object.keys(o.styles.hasOwnProperty(r)?o.styles[r]:e[r]),s=a.reduce(function(c,f){return c[f]="",c},{});!A(i)||!k(i)||(Object.assign(i.style,s),Object.keys(n).forEach(function(c){i.removeAttribute(c)}))})}}var Oo={name:"applyStyles",enabled:!0,phase:"write",fn:ar,effect:sr,requires:["computeStyles"]};function B(t){return t.split("-")[0]}var K=Math.max,vt=Math.min,et=Math.round;function Tt(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(o){return o.brand+"/"+o.version}).join(" "):navigator.userAgent}function Lt(){return!/^((?!chrome|android).)*safari/i.test(Tt())}function q(t,o,e){o===void 0&&(o=!1),e===void 0&&(e=!1);var r=t.getBoundingClientRect(),i=1,n=1;o&&A(t)&&(i=t.offsetWidth>0&&et(r.width)/t.offsetWidth||1,n=t.offsetHeight>0&&et(r.height)/t.offsetHeight||1);var a=z(t)?_(t):window,s=a.visualViewport,c=!Lt()&&e,f=(r.left+(c&&s?s.offsetLeft:0))/i,l=(r.top+(c&&s?s.offsetTop:0))/n,m=r.width/i,d=r.height/n;return{width:m,height:d,top:l,right:f+m,bottom:l+d,left:f,x:f,y:l}}function gt(t){var o=q(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(o.width-e)<=1&&(e=o.width),Math.abs(o.height-r)<=1&&(r=o.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function It(t,o){var e=o.getRootNode&&o.getRootNode();if(t.contains(o))return!0;if(e&&Pt(e)){var r=o;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function N(t){return _(t).getComputedStyle(t)}function Ee(t){return["table","td","th"].indexOf(k(t))>=0}function I(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function ot(t){return k(t)==="html"?t:t.assignedSlot||t.parentNode||(Pt(t)?t.host:null)||I(t)}function Po(t){return!A(t)||N(t).position==="fixed"?null:t.offsetParent}function cr(t){var o=/firefox/i.test(Tt()),e=/Trident/i.test(Tt());if(e&&A(t)){var r=N(t);if(r.position==="fixed")return null}var i=ot(t);for(Pt(i)&&(i=i.host);A(i)&&["html","body"].indexOf(k(i))<0;){var n=N(i);if(n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||o&&n.willChange==="filter"||o&&n.filter&&n.filter!=="none")return i;i=i.parentNode}return null}function Z(t){for(var o=_(t),e=Po(t);e&&Ee(e)&&N(e).position==="static";)e=Po(e);return e&&(k(e)==="html"||k(e)==="body"&&N(e).position==="static")?o:e||cr(t)||o}function bt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wt(t,o,e){return K(t,vt(o,e))}function To(t,o,e){var r=wt(t,o,e);return r>e?e:r}function Wt(){return{top:0,right:0,bottom:0,left:0}}function Ft(t){return Object.assign({},Wt(),t)}function Nt(t,o){return o.reduce(function(e,r){return e[r]=t,e},{})}var lr=function(o,e){return o=typeof o=="function"?o(Object.assign({},e.rects,{placement:e.placement})):o,Ft(typeof o!="number"?o:Nt(o,st))};function fr(t){var o,e=t.state,r=t.name,i=t.options,n=e.elements.arrow,a=e.modifiersData.popperOffsets,s=B(e.placement),c=bt(s),f=[T,S].indexOf(s)>=0,l=f?"height":"width";if(!(!n||!a)){var m=lr(i.padding,e),d=gt(n),p=c==="y"?O:T,b=c==="y"?L:S,u=e.rects.reference[l]+e.rects.reference[c]-a[c]-e.rects.popper[l],h=a[c]-e.rects.reference[c],x=Z(n),R=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,E=u/2-h/2,v=m[p],w=R-d[l]-m[b],y=R/2-d[l]/2+E,C=wt(v,y,w),M=c;e.modifiersData[r]=(o={},o[M]=C,o.centerOffset=C-y,o)}}function pr(t){var o=t.state,e=t.options,r=e.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=o.elements.popper.querySelector(i),!i)||It(o.elements.popper,i)&&(o.elements.arrow=i))}var Oe={name:"arrow",enabled:!0,phase:"main",fn:fr,effect:pr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function U(t){return t.split("-")[1]}var dr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ur(t,o){var e=t.x,r=t.y,i=o.devicePixelRatio||1;return{x:et(e*i)/i||0,y:et(r*i)/i||0}}function Ao(t){var o,e=t.popper,r=t.popperRect,i=t.placement,n=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,f=t.adaptive,l=t.roundOffsets,m=t.isFixed,d=a.x,p=d===void 0?0:d,b=a.y,u=b===void 0?0:b,h=typeof l=="function"?l({x:p,y:u}):{x:p,y:u};p=h.x,u=h.y;var x=a.hasOwnProperty("x"),R=a.hasOwnProperty("y"),E=T,v=O,w=window;if(f){var y=Z(e),C="clientHeight",M="clientWidth";if(y===_(e)&&(y=I(e),N(y).position!=="static"&&s==="absolute"&&(C="scrollHeight",M="scrollWidth")),y=y,i===O||(i===T||i===S)&&n===ht){v=L;var D=m&&y===w&&w.visualViewport?w.visualViewport.height:y[C];u-=D-r.height,u*=c?1:-1}if(i===T||(i===O||i===L)&&n===ht){E=S;var P=m&&y===w&&w.visualViewport?w.visualViewport.width:y[M];p-=P-r.width,p*=c?1:-1}}var W=Object.assign({position:s},f&&dr),X=l===!0?ur({x:p,y:u},_(e)):{x:p,y:u};if(p=X.x,u=X.y,c){var F;return Object.assign({},W,(F={},F[v]=R?"0":"",F[E]=x?"0":"",F.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+u+"px)":"translate3d("+p+"px, "+u+"px, 0)",F))}return Object.assign({},W,(o={},o[v]=R?u+"px":"",o[E]=x?p+"px":"",o.transform="",o))}function mr(t){var o=t.state,e=t.options,r=e.gpuAcceleration,i=r===void 0?!0:r,n=e.adaptive,a=n===void 0?!0:n,s=e.roundOffsets,c=s===void 0?!0:s,f={placement:B(o.placement),variation:U(o.placement),popper:o.elements.popper,popperRect:o.rects.popper,gpuAcceleration:i,isFixed:o.options.strategy==="fixed"};o.modifiersData.popperOffsets!=null&&(o.styles.popper=Object.assign({},o.styles.popper,Ao(Object.assign({},f,{offsets:o.modifiersData.popperOffsets,position:o.options.strategy,adaptive:a,roundOffsets:c})))),o.modifiersData.arrow!=null&&(o.styles.arrow=Object.assign({},o.styles.arrow,Ao(Object.assign({},f,{offsets:o.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-placement":o.placement})}var Do={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mr,data:{}};var ie={passive:!0};function hr(t){var o=t.state,e=t.instance,r=t.options,i=r.scroll,n=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,c=_(o.elements.popper),f=[].concat(o.scrollParents.reference,o.scrollParents.popper);return n&&f.forEach(function(l){l.addEventListener("scroll",e.update,ie)}),s&&c.addEventListener("resize",e.update,ie),function(){n&&f.forEach(function(l){l.removeEventListener("scroll",e.update,ie)}),s&&c.removeEventListener("resize",e.update,ie)}}var So={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hr,data:{}};var vr={left:"right",right:"left",bottom:"top",top:"bottom"};function At(t){return t.replace(/left|right|bottom|top/g,function(o){return vr[o]})}var gr={start:"end",end:"start"};function ne(t){return t.replace(/start|end/g,function(o){return gr[o]})}function yt(t){var o=_(t),e=o.pageXOffset,r=o.pageYOffset;return{scrollLeft:e,scrollTop:r}}function xt(t){return q(I(t)).left+yt(t).scrollLeft}function Pe(t,o){var e=_(t),r=I(t),i=e.visualViewport,n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;var f=Lt();(f||!f&&o==="fixed")&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s+xt(t),y:c}}function Te(t){var o,e=I(t),r=yt(t),i=(o=t.ownerDocument)==null?void 0:o.body,n=K(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=K(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+xt(t),c=-r.scrollTop;return N(i||e).direction==="rtl"&&(s+=K(e.clientWidth,i?i.clientWidth:0)-n),{width:n,height:a,x:s,y:c}}function _t(t){var o=N(t),e=o.overflow,r=o.overflowX,i=o.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+r)}function ae(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:A(t)&&_t(t)?t:ae(ot(t))}function ct(t,o){var e;o===void 0&&(o=[]);var r=ae(t),i=r===((e=t.ownerDocument)==null?void 0:e.body),n=_(r),a=i?[n].concat(n.visualViewport||[],_t(r)?r:[]):r,s=o.concat(a);return i?s:s.concat(ct(ot(a)))}function Dt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function br(t,o){var e=q(t,!1,o==="fixed");return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function ko(t,o,e){return o===oe?Dt(Pe(t,e)):z(o)?br(o,e):Dt(Te(I(t)))}function wr(t){var o=ct(ot(t)),e=["absolute","fixed"].indexOf(N(t).position)>=0,r=e&&A(t)?Z(t):t;return z(r)?o.filter(function(i){return z(i)&&It(i,r)&&k(i)!=="body"}):[]}function Ae(t,o,e,r){var i=o==="clippingParents"?wr(t):[].concat(o),n=[].concat(i,[e]),a=n[0],s=n.reduce(function(c,f){var l=ko(t,f,r);return c.top=K(l.top,c.top),c.right=vt(l.right,c.right),c.bottom=vt(l.bottom,c.bottom),c.left=K(l.left,c.left),c},ko(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function $t(t){var o=t.reference,e=t.element,r=t.placement,i=r?B(r):null,n=r?U(r):null,a=o.x+o.width/2-e.width/2,s=o.y+o.height/2-e.height/2,c;switch(i){case O:c={x:a,y:o.y-e.height};break;case L:c={x:a,y:o.y+o.height};break;case S:c={x:o.x+o.width,y:s};break;case T:c={x:o.x-e.width,y:s};break;default:c={x:o.x,y:o.y}}var f=i?bt(i):null;if(f!=null){var l=f==="y"?"height":"width";switch(n){case tt:c[f]=c[f]-(o[l]/2-e[l]/2);break;case ht:c[f]=c[f]+(o[l]/2-e[l]/2);break;default:}}return c}function lt(t,o){o===void 0&&(o={});var e=o,r=e.placement,i=r===void 0?t.placement:r,n=e.strategy,a=n===void 0?t.strategy:n,s=e.boundary,c=s===void 0?Ro:s,f=e.rootBoundary,l=f===void 0?oe:f,m=e.elementContext,d=m===void 0?Ot:m,p=e.altBoundary,b=p===void 0?!1:p,u=e.padding,h=u===void 0?0:u,x=Ft(typeof h!="number"?h:Nt(h,st)),R=d===Ot?Co:Ot,E=t.rects.popper,v=t.elements[b?R:d],w=Ae(z(v)?v:v.contextElement||I(t.elements.popper),c,l,a),y=q(t.elements.reference),C=$t({reference:y,element:E,strategy:"absolute",placement:i}),M=Dt(Object.assign({},E,C)),D=d===Ot?M:y,P={top:w.top-D.top+x.top,bottom:D.bottom-w.bottom+x.bottom,left:w.left-D.left+x.left,right:D.right-w.right+x.right},W=t.modifiersData.offset;if(d===Ot&&W){var X=W[i];Object.keys(P).forEach(function(F){var ft=[S,L].indexOf(F)>=0?1:-1,pt=[O,L].indexOf(F)>=0?"y":"x";P[F]+=X[pt]*ft})}return P}function De(t,o){o===void 0&&(o={});var e=o,r=e.placement,i=e.boundary,n=e.rootBoundary,a=e.padding,s=e.flipVariations,c=e.allowedAutoPlacements,f=c===void 0?re:c,l=U(r),m=l?s?Ce:Ce.filter(function(b){return U(b)===l}):st,d=m.filter(function(b){return f.indexOf(b)>=0});d.length===0&&(d=m);var p=d.reduce(function(b,u){return b[u]=lt(t,{placement:u,boundary:i,rootBoundary:n,padding:a})[B(u)],b},{});return Object.keys(p).sort(function(b,u){return p[b]-p[u]})}function yr(t){if(B(t)===ee)return[];var o=At(t);return[ne(t),o,ne(o)]}function xr(t){var o=t.state,e=t.options,r=t.name;if(!o.modifiersData[r]._skip){for(var i=e.mainAxis,n=i===void 0?!0:i,a=e.altAxis,s=a===void 0?!0:a,c=e.fallbackPlacements,f=e.padding,l=e.boundary,m=e.rootBoundary,d=e.altBoundary,p=e.flipVariations,b=p===void 0?!0:p,u=e.allowedAutoPlacements,h=o.options.placement,x=B(h),R=x===h,E=c||(R||!b?[At(h)]:yr(h)),v=[h].concat(E).reduce(function(Rt,rt){return Rt.concat(B(rt)===ee?De(o,{placement:rt,boundary:l,rootBoundary:m,padding:f,flipVariations:b,allowedAutoPlacements:u}):rt)},[]),w=o.rects.reference,y=o.rects.popper,C=new Map,M=!0,D=v[0],P=0;P<v.length;P++){var W=v[P],X=B(W),F=U(W)===tt,ft=[O,L].indexOf(X)>=0,pt=ft?"width":"height",$=lt(o,{placement:W,boundary:l,rootBoundary:m,altBoundary:d,padding:f}),Y=ft?F?S:T:F?L:O;w[pt]>y[pt]&&(Y=At(Y));var Vt=At(Y),dt=[];if(n&&dt.push($[X]<=0),s&&dt.push($[Y]<=0,$[Vt]<=0),dt.every(function(Rt){return Rt})){D=W,M=!1;break}C.set(W,dt)}if(M)for(var zt=b?3:1,pe=function(rt){var kt=v.find(function(Ut){var ut=C.get(Ut);if(ut)return ut.slice(0,rt).every(function(de){return de})});if(kt)return D=kt,"break"},St=zt;St>0;St--){var qt=pe(St);if(qt==="break")break}o.placement!==D&&(o.modifiersData[r]._skip=!0,o.placement=D,o.reset=!0)}}var Se={name:"flip",enabled:!0,phase:"main",fn:xr,requiresIfExists:["offset"],data:{_skip:!1}};function _r(t,o,e){var r=B(t),i=[T,O].indexOf(r)>=0?-1:1,n=typeof e=="function"?e(Object.assign({},o,{placement:t})):e,a=n[0],s=n[1];return a=a||0,s=(s||0)*i,[T,S].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Rr(t){var o=t.state,e=t.options,r=t.name,i=e.offset,n=i===void 0?[0,0]:i,a=re.reduce(function(l,m){return l[m]=_r(m,o.rects,n),l},{}),s=a[o.placement],c=s.x,f=s.y;o.modifiersData.popperOffsets!=null&&(o.modifiersData.popperOffsets.x+=c,o.modifiersData.popperOffsets.y+=f),o.modifiersData[r]=a}var ke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Rr};function Cr(t){var o=t.state,e=t.name;o.modifiersData[e]=$t({reference:o.rects.reference,element:o.rects.popper,strategy:"absolute",placement:o.placement})}var Bo={name:"popperOffsets",enabled:!0,phase:"read",fn:Cr,data:{}};function Be(t){return t==="x"?"y":"x"}function Er(t){var o=t.state,e=t.options,r=t.name,i=e.mainAxis,n=i===void 0?!0:i,a=e.altAxis,s=a===void 0?!1:a,c=e.boundary,f=e.rootBoundary,l=e.altBoundary,m=e.padding,d=e.tether,p=d===void 0?!0:d,b=e.tetherOffset,u=b===void 0?0:b,h=lt(o,{boundary:c,rootBoundary:f,padding:m,altBoundary:l}),x=B(o.placement),R=U(o.placement),E=!R,v=bt(x),w=Be(v),y=o.modifiersData.popperOffsets,C=o.rects.reference,M=o.rects.popper,D=typeof u=="function"?u(Object.assign({},o.rects,{placement:o.placement})):u,P=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),W=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,X={x:0,y:0};if(y){if(n){var F,ft=v==="y"?O:T,pt=v==="y"?L:S,$=v==="y"?"height":"width",Y=y[v],Vt=Y+h[ft],dt=Y-h[pt],zt=p?-M[$]/2:0,pe=R===tt?C[$]:M[$],St=R===tt?-M[$]:-C[$],qt=o.elements.arrow,Rt=p&&qt?gt(qt):{width:0,height:0},rt=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:Wt(),kt=rt[ft],Ut=rt[pt],ut=wt(0,C[$],Rt[$]),de=E?C[$]/2-zt-ut-kt-P.mainAxis:pe-ut-kt-P.mainAxis,qo=E?-C[$]/2+zt+ut+Ut+P.mainAxis:St+ut+Ut+P.mainAxis,ue=o.elements.arrow&&Z(o.elements.arrow),Uo=ue?v==="y"?ue.clientTop||0:ue.clientLeft||0:0,Ue=(F=W?.[v])!=null?F:0,Xo=Y+de-Ue-Uo,Yo=Y+qo-Ue,Xe=wt(p?vt(Vt,Xo):Vt,Y,p?K(dt,Yo):dt);y[v]=Xe,X[v]=Xe-Y}if(s){var Ye,Ko=v==="x"?O:T,Zo=v==="x"?L:S,mt=y[w],Xt=w==="y"?"height":"width",Ke=mt+h[Ko],Ze=mt-h[Zo],me=[O,T].indexOf(x)!==-1,Qe=(Ye=W?.[w])!=null?Ye:0,Ge=me?Ke:mt-C[Xt]-M[Xt]-Qe+P.altAxis,Je=me?mt+C[Xt]+M[Xt]-Qe-P.altAxis:Ze,to=p&&me?To(Ge,mt,Je):wt(p?Ge:Ke,mt,p?Je:Ze);y[w]=to,X[w]=to-mt}o.modifiersData[r]=X}}var Me={name:"preventOverflow",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"]};function je(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Le(t){return t===_(t)||!A(t)?yt(t):je(t)}function Or(t){var o=t.getBoundingClientRect(),e=et(o.width)/t.offsetWidth||1,r=et(o.height)/t.offsetHeight||1;return e!==1||r!==1}function Ie(t,o,e){e===void 0&&(e=!1);var r=A(o),i=A(o)&&Or(o),n=I(o),a=q(t,i,e),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!e)&&((k(o)!=="body"||_t(n))&&(s=Le(o)),A(o)?(c=q(o,!0),c.x+=o.clientLeft,c.y+=o.clientTop):n&&(c.x=xt(n))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Pr(t){var o=new Map,e=new Set,r=[];t.forEach(function(n){o.set(n.name,n)});function i(n){e.add(n.name);var a=[].concat(n.requires||[],n.requiresIfExists||[]);a.forEach(function(s){if(!e.has(s)){var c=o.get(s);c&&i(c)}}),r.push(n)}return t.forEach(function(n){e.has(n.name)||i(n)}),r}function We(t){var o=Pr(t);return Eo.reduce(function(e,r){return e.concat(o.filter(function(i){return i.phase===r}))},[])}function Fe(t){var o;return function(){return o||(o=new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(t())})})),o}}function Ne(t){var o=t.reduce(function(e,r){var i=e[r.name];return e[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,e},{});return Object.keys(o).map(function(e){return o[e]})}var Mo={placement:"bottom",modifiers:[],strategy:"absolute"};function jo(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return!o.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Lo(t){t===void 0&&(t={});var o=t,e=o.defaultModifiers,r=e===void 0?[]:e,i=o.defaultOptions,n=i===void 0?Mo:i;return function(s,c,f){f===void 0&&(f=n);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mo,n),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},m=[],d=!1,p={state:l,setOptions:function(x){var R=typeof x=="function"?x(l.options):x;u(),l.options=Object.assign({},n,l.options,R),l.scrollParents={reference:z(s)?ct(s):s.contextElement?ct(s.contextElement):[],popper:ct(c)};var E=We(Ne([].concat(r,l.options.modifiers)));return l.orderedModifiers=E.filter(function(v){return v.enabled}),b(),p.update()},forceUpdate:function(){if(!d){var x=l.elements,R=x.reference,E=x.popper;if(jo(R,E)){l.rects={reference:Ie(R,Z(E),l.options.strategy==="fixed"),popper:gt(E)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(P){return l.modifiersData[P.name]=Object.assign({},P.data)});for(var v=0;v<l.orderedModifiers.length;v++){if(l.reset===!0){l.reset=!1,v=-1;continue}var w=l.orderedModifiers[v],y=w.fn,C=w.options,M=C===void 0?{}:C,D=w.name;typeof y=="function"&&(l=y({state:l,options:M,name:D,instance:p})||l)}}}},update:Fe(function(){return new Promise(function(h){p.forceUpdate(),h(l)})}),destroy:function(){u(),d=!0}};if(!jo(s,c))return p;p.setOptions(f).then(function(h){!d&&f.onFirstUpdate&&f.onFirstUpdate(h)});function b(){l.orderedModifiers.forEach(function(h){var x=h.name,R=h.options,E=R===void 0?{}:R,v=h.effect;if(typeof v=="function"){var w=v({state:l,name:x,instance:p,options:E}),y=function(){};m.push(w||y)}})}function u(){m.forEach(function(h){return h()}),m=[]}return p}}var Tr=[So,Bo,Do,Oo],$e=Lo({defaultModifiers:Tr});var Ar=(()=>{class t{constructor(){this._element=g(at).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Dr=/\s+/,Sr=/ +/gi,kr={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function Br(t,o){let[e,r]=kr[t];return o&&r||e}var Mr=/^left/,jr=/^right/,Lr=/^start/,Ir=/^end/;function Wr(t,o){let[e,r]=o.split("-"),i=e.replace(Mr,"start").replace(jr,"end"),n=[i];if(r){let a=r;(e==="left"||e==="right")&&(a=a.replace(Lr,"top").replace(Ir,"bottom")),n.push(`${i}-${a}`)}return t&&(n=n.map(a=>`${t}-${a}`)),n.join(" ")}function Io({placement:t,baseClass:o},e){let r=Array.isArray(t)?t:t.split(Dr),i=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],n=r.findIndex(f=>f==="auto");n>=0&&i.forEach(function(f){r.find(l=>l.search("^"+f)!==-1)==null&&r.splice(n++,1,f)});let a=r.map(f=>Br(f,e.isRTL()));return{placement:a.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!o,phase:"write",fn({state:f}){let l=new RegExp(o+"(-[a-z]+)*","gi"),m=f.elements.popper,d=f.placement,p=m.className;p=p.replace(l,""),p+=` ${Wr(o,d)}`,p=p.trim().replace(Sr," "),m.className=p}},Se,Me,Oe,{enabled:!0,name:"flip",options:{fallbackPlacements:a}}]}}function Wo(t){return t}function rc(){let t=g(Ar),o=null;return{createPopper(e){if(!o){let i=(e.updatePopperOptions||Wo)(Io(e,t));o=$e(e.hostElement,e.targetElement,i)}},update(){o&&o.update()},setOptions(e){if(o){let i=(e.updatePopperOptions||Wo)(Io(e,t));o.setOptions(i)}},destroy(){o&&(o.destroy(),o=null)}}}function ic(t){return t!=null?`${t}`:""}function He(t){return typeof t=="string"}function ce(t){return t!=null}function Ho(t){return t&&t.then}function nc(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Fr(t,o){return!o||typeof t.closest>"u"?null:t.closest(o)}function le(t){return(t||document.body).getBoundingClientRect()}function Nr(t){return o=>new oo(e=>{let r=a=>t.run(()=>e.next(a)),i=a=>t.run(()=>e.error(a)),n=()=>t.run(()=>e.complete());return o.subscribe({next:r,error:i,complete:n})})}function ac(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function $r(t=document){let o=t?.activeElement;return o?o.shadowRoot?$r(o.shadowRoot):o:null}function Hr(t){let{transitionDelay:o,transitionDuration:e}=window.getComputedStyle(t),r=parseFloat(o),i=parseFloat(e);return(r+i)*1e3}var Vr=()=>{},zr={getTransitionTimerDelayMs:()=>5},Ht=new Map,J=(t,o,e,r)=>{let i=r.context||{},n=Ht.get(o);if(n)switch(r.runningTransition){case"continue":return Yt;case"stop":t.run(()=>n.transition$.complete()),i=Object.assign(n.context,i),Ht.delete(o)}let a=e(o,r.animation,i)||Vr;if(!r.animation||window.getComputedStyle(o).transitionProperty==="none")return t.run(()=>a()),Bt(void 0).pipe(Nr(t));let s=new V,c=new V,f=s.pipe(ao(!0));Ht.set(o,{transition$:s,complete:()=>{c.next(),c.complete()},context:i});let l=Hr(o);return t.runOutsideAngular(()=>{let m=H(o,"transitionend").pipe(j(f),it(({target:p})=>p===o)),d=io(l+zr.getTransitionTimerDelayMs()).pipe(j(f));ve(d,m,c).pipe(j(f)).subscribe(()=>{Ht.delete(o),t.run(()=>{a(),s.next(),s.complete()})})}),s.asObservable()},sc=t=>{Ht.get(t)?.complete()};function qr(t,o){if(typeof navigator>"u")return"0px";let{classList:e}=t,r=e.contains("show");r||e.add("show"),t.style[o]="";let i=t.getBoundingClientRect()[o]+"px";return r||e.remove("show"),i}var cc=(t,o,e)=>{let{direction:r,maxSize:i,dimension:n}=e,{classList:a}=t;function s(){a.add("collapse"),r==="show"?a.add("show"):a.remove("show")}if(!o){s();return}return i||(i=qr(t,n),e.maxSize=i,t.style[n]=r!=="show"?i:"0px",a.remove("collapse","collapsing","show"),le(t),a.add("collapsing")),t.style[n]=r==="show"?i:"0px",()=>{s(),a.remove("collapsing"),t.style[n]=""}},se=(t,o)=>o?o.some(e=>e.contains(t)):!1,Fo=(t,o)=>!o||Fr(t,o)!=null,Ur=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,o=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||o()):!1})(),Xr=t=>Ur?()=>setTimeout(()=>t(),100):t;function lc(t,o,e,r,i,n,a,s){e&&t.runOutsideAngular(Xr(()=>{let c=d=>{let p=d.target;return d.button===2||se(p,a)?!1:e==="inside"?se(p,n)&&Fo(p,s):e==="outside"?!se(p,n):Fo(p,s)||!se(p,n)},f=H(o,"keydown").pipe(j(i),it(d=>d.key==="Escape"),Mt(d=>d.preventDefault())),l=H(o,"mousedown").pipe(Ct(c),j(i)),m=H(o,"mouseup").pipe(Zt(l),it(([d,p])=>p),no(0),j(i));ve([f.pipe(Ct(d=>0)),m.pipe(Ct(d=>1))]).subscribe(d=>t.run(()=>r(d)))}))}var Yr=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ve(t){let o=Array.from(t.querySelectorAll(Yr)).filter(e=>e.tabIndex!==-1);return[o[0],o[o.length-1]]}var Vo=(t,o,e,r=!1)=>{t.runOutsideAngular(()=>{let i=H(o,"focusin").pipe(j(e),Ct(n=>n.target));H(o,"keydown").pipe(j(e),it(n=>n.key==="Tab"),Zt(i)).subscribe(([n,a])=>{let[s,c]=Ve(o);(a===s||a===o)&&n.shiftKey&&(c.focus(),n.preventDefault()),a===c&&!n.shiftKey&&(s.focus(),n.preventDefault())}),r&&H(o,"click").pipe(j(e),Zt(i),Ct(n=>n[1])).subscribe(n=>n.focus())})};function fc(t){return o=>(o.modifiers.push(ke,{name:"offset",options:{offset:()=>t}}),o)}var G=class{constructor(o,e,r){this.nodes=o,this.viewRef=e,this.componentRef=r}},No=class{constructor(o){this._componentType=o,this._windowRef=null,this._contentRef=null,this._document=g(at),this._applicationRef=g(Gt),this._injector=g(nt),this._viewContainerRef=g(fo),this._ngZone=g(Et)}open(o,e,r=!1){this._windowRef||(this._contentRef=this._getContentRef(o,e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:i}=this._windowRef.location,n=new V;jt({mixedReadWrite:()=>{n.next(),n.complete()}},{injector:this._injector});let a=n.pipe(ro(()=>J(this._ngZone,i,({classList:s})=>s.add("show"),{animation:r,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:a}}close(o=!1){return this._windowRef?J(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:o,runningTransition:"stop"}).pipe(Mt(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):Bt(void 0)}_getContentRef(o,e){if(o)if(o instanceof Qt){let r=o.createEmbeddedView(e);return this._applicationRef.attachView(r),new G([r.rootNodes],r)}else return new G([[this._document.createTextNode(`${o}`)]]);else return new G([])}},zo=(()=>{class t{constructor(){this._document=g(at)}hide(){let e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),r=this._document.body,i=r.style,{overflow:n,paddingRight:a}=i;if(e>0){let s=parseFloat(window.getComputedStyle(r).paddingRight);i.paddingRight=`${s+e}px`}return i.overflow="hidden",()=>{e>0&&(i.paddingRight=a),i.overflow=n}}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Kr={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function Zr(t){let o=(t||"").trim();if(o.length===0)return[];let e=o.split(/\s+/).map(i=>i.split(":")).map(i=>Kr[i[0]]||i),r=e.filter(i=>i.includes("manual"));if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(r.length===1&&e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r.length?[]:e}function pc(t,o,e,r,i,n=0,a=0,s=Yt,c=Yt){let f=Zr(o);if(f.length===0)return()=>{};let l=new Set,m=[],d;function p(u,h){t.addEventListener(u,h),m.push(()=>t.removeEventListener(u,h))}function b(u,h){clearTimeout(d),h>0?d=setTimeout(u,h):u()}for(let[u,h]of f)if(h?(p(u,()=>{l.add(u),b(()=>l.size>0&&r(),n)}),p(h,()=>{l.delete(u),b(()=>l.size===0&&i(),a)})):p(u,()=>e()?b(i,a):b(r,n)),u==="mouseenter"&&h==="mouseleave"&&a>0){let x=s.subscribe(()=>{l.delete(u),clearTimeout(d)}),R=c.subscribe(()=>{l.delete(u),b(()=>l.size===0&&i(),a)});m.push(()=>x.unsubscribe(),()=>R.unsubscribe())}return m.push(()=>clearTimeout(d)),()=>m.forEach(u=>u())}var Qr=new lo("live announcer delay",{providedIn:"root",factory:()=>100});function $o(t,o=!1){let e=t.body.querySelector("#ngb-live");return e==null&&o&&(e=t.createElement("div"),e.setAttribute("id","ngb-live"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.classList.add("visually-hidden"),t.body.appendChild(e)),e}var dc=(()=>{class t{constructor(){this._document=g(at),this._delay=g(Qr)}ngOnDestroy(){let e=$o(this._document);e&&e.parentElement.removeChild(e)}say(e){let r=$o(this._document,!0),i=this._delay;if(r!=null){r.textContent="";let n=()=>r.textContent=e;i===null?n():setTimeout(n,i)}}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Gr=["dialog"],Jr=["*"],ti=(()=>{class t{constructor(){this._ngbConfig=g(_o),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ei=["animation","backdropClass"],oi=(()=>{class t{constructor(){this._nativeElement=g(ye).nativeElement,this._zone=g(Et),this._injector=g(nt),this._cdRef=g(Re)}ngOnInit(){jt({mixedReadWrite:()=>J(this._zone,this._nativeElement,(e,r)=>{r&&le(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return J(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(e){ei.forEach(r=>{ce(e[r])&&(this[r]=e[r])}),this._cdRef.markForCheck()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=xe({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(r,i){r&2&&(Jt("modal-backdrop"+(i.backdropClass?" "+i.backdropClass:"")),_e("show",!i.animation)("fade",i.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(r,i){},encapsulation:2})}}return t})(),fe=class{update(o){}close(o){}dismiss(o){}},ze=class{update(o){this._windowCmptRef.instance.updateOptions(o),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(o)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(j(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(j(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(o,e,r,i){this._windowCmptRef=o,this._contentRef=e,this._backdropCmptRef=r,this._beforeDismiss=i,this._closed=new V,this._dismissed=new V,this._hidden=new V,o.instance.dismissEvent.subscribe(n=>{this.dismiss(n)}),this.result=new Promise((n,a)=>{this._resolve=n,this._reject=a}),this.result.then(null,()=>{})}close(o){this._windowCmptRef&&(this._closed.next(o),this._resolve(o),this._removeModalElements())}_dismiss(o){this._dismissed.next(o),this._reject(o),this._removeModalElements()}dismiss(o){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(o);else{let e=this._beforeDismiss();Ho(e)?e.then(r=>{r!==!1&&this._dismiss(o)},()=>{}):e!==!1&&this._dismiss(o)}}_removeModalElements(){let o=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Bt(void 0);o.subscribe(()=>{let{nativeElement:r}=this._windowCmptRef.location;r.parentNode.removeChild(r),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:r}=this._backdropCmptRef.location;r.parentNode.removeChild(r),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Kt(o,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},qe=(function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t})(qe||{}),ri=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],ii=(()=>{class t{constructor(){this._document=g(at),this._elRef=g(ye),this._zone=g(Et),this._injector=g(nt),this._cdRef=g(Re),this._closed$=new V,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new we,this.shown=new V,this.hidden=new V}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":He(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,jt({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:e}=this._elRef,r={animation:this.animation,runningTransition:"stop"},i=J(this._zone,e,()=>e.classList.remove("show"),r),n=J(this._zone,this._dialogEl.nativeElement,()=>{},r),a=Kt(i,n);return a.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),a}updateOptions(e){ri.forEach(r=>{ce(e[r])&&(this[r]=e[r])}),this._cdRef.markForCheck()}_show(){let e={animation:this.animation,runningTransition:"continue"},r=J(this._zone,this._elRef.nativeElement,(n,a)=>{a&&le(n),n.classList.add("show")},e),i=J(this._zone,this._dialogEl.nativeElement,()=>{},e);Kt(r,i).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{H(e,"keydown").pipe(j(this._closed$),it(i=>i.key==="Escape")).subscribe(i=>{this.keyboard?requestAnimationFrame(()=>{i.defaultPrevented||this._zone.run(()=>this.dismiss(qe.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let r=!1;H(this._dialogEl.nativeElement,"mousedown").pipe(j(this._closed$),Mt(()=>r=!1),so(()=>H(e,"mouseup").pipe(j(this._closed$),ge(1))),it(({target:i})=>e===i)).subscribe(()=>{r=!0}),H(e,"click").pipe(j(this._closed$)).subscribe(({target:i})=>{e===i&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!r&&this._zone.run(()=>this.dismiss(qe.BACKDROP_CLICK))),r=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){let r=e.querySelector("[ngbAutofocus]"),i=Ve(e)[0];(r||i||e).focus()}}_restoreFocus(){let e=this._document.body,r=this._elWithFocus,i;r&&r.focus&&e.contains(r)?i=r:i=e,this._zone.runOutsideAngular(()=>{setTimeout(()=>i.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&J(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=xe({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(r,i){if(r&1&&bo(Gr,7),r&2){let n;wo(n=yo())&&(i._dialogEl=n.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(r,i){r&2&&(uo("aria-modal",!0)("aria-labelledby",i.ariaLabelledBy)("aria-describedby",i.ariaDescribedBy)("role",i.role),Jt("modal d-block"+(i.windowClass?" "+i.windowClass:"")),_e("fade",i.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Jr,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(r,i){r&1&&(vo(),mo(0,"div",1,0)(2,"div",2),go(3),ho()()),r&2&&Jt("modal-dialog"+(i.size?" modal-"+i.size:"")+(i.centered?" modal-dialog-centered":"")+i.fullscreenClass+(i.scrollable?" modal-dialog-scrollable":"")+(i.modalDialogClass?" "+i.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
1
+ import{$b as go,A as ve,Aa as ye,B as Kt,G as ge,H as no,J as ao,Jb as mo,Kb as ho,Q as so,R as j,Rc as Re,S as Mt,T as Zt,Wc as te,X as Q,Y as co,_ as lo,_b as vo,aa as g,bc as bo,c as oo,cc as wo,d as V,db as jt,dc as yo,ea as be,eb as Qt,g as Yt,i as Bt,ic as _e,jc as Jt,ka as nt,kb as fo,la as at,nb as xe,o as Ct,oa as we,ob as po,pa as Et,q as ro,v as H,w as io,xb as Gt,yb as uo,z as it}from"./chunk-JJ5CEM72.js";import{a as he,b as eo}from"./chunk-VJN6YUS2.js";var _o=(()=>{class t{constructor(){this.animation=!0}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var O="top",L="bottom",S="right",T="left",ee="auto",st=[O,L,S,T],tt="start",ht="end",Ro="clippingParents",oe="viewport",Ot="popper",Co="reference",Ce=st.reduce(function(t,o){return t.concat([o+"-"+tt,o+"-"+ht])},[]),re=[].concat(st,[ee]).reduce(function(t,o){return t.concat([o,o+"-"+tt,o+"-"+ht])},[]),Qo="beforeRead",Go="read",Jo="afterRead",tr="beforeMain",er="main",or="afterMain",rr="beforeWrite",ir="write",nr="afterWrite",Eo=[Qo,Go,Jo,tr,er,or,rr,ir,nr];function k(t){return t?(t.nodeName||"").toLowerCase():null}function _(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var o=t.ownerDocument;return o&&o.defaultView||window}return t}function z(t){var o=_(t).Element;return t instanceof o||t instanceof Element}function A(t){var o=_(t).HTMLElement;return t instanceof o||t instanceof HTMLElement}function Pt(t){if(typeof ShadowRoot>"u")return!1;var o=_(t).ShadowRoot;return t instanceof o||t instanceof ShadowRoot}function ar(t){var o=t.state;Object.keys(o.elements).forEach(function(e){var r=o.styles[e]||{},i=o.attributes[e]||{},n=o.elements[e];!A(n)||!k(n)||(Object.assign(n.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?n.removeAttribute(a):n.setAttribute(a,s===!0?"":s)}))})}function sr(t){var o=t.state,e={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,e.popper),o.styles=e,o.elements.arrow&&Object.assign(o.elements.arrow.style,e.arrow),function(){Object.keys(o.elements).forEach(function(r){var i=o.elements[r],n=o.attributes[r]||{},a=Object.keys(o.styles.hasOwnProperty(r)?o.styles[r]:e[r]),s=a.reduce(function(c,f){return c[f]="",c},{});!A(i)||!k(i)||(Object.assign(i.style,s),Object.keys(n).forEach(function(c){i.removeAttribute(c)}))})}}var Oo={name:"applyStyles",enabled:!0,phase:"write",fn:ar,effect:sr,requires:["computeStyles"]};function B(t){return t.split("-")[0]}var K=Math.max,vt=Math.min,et=Math.round;function Tt(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(o){return o.brand+"/"+o.version}).join(" "):navigator.userAgent}function Lt(){return!/^((?!chrome|android).)*safari/i.test(Tt())}function q(t,o,e){o===void 0&&(o=!1),e===void 0&&(e=!1);var r=t.getBoundingClientRect(),i=1,n=1;o&&A(t)&&(i=t.offsetWidth>0&&et(r.width)/t.offsetWidth||1,n=t.offsetHeight>0&&et(r.height)/t.offsetHeight||1);var a=z(t)?_(t):window,s=a.visualViewport,c=!Lt()&&e,f=(r.left+(c&&s?s.offsetLeft:0))/i,l=(r.top+(c&&s?s.offsetTop:0))/n,m=r.width/i,d=r.height/n;return{width:m,height:d,top:l,right:f+m,bottom:l+d,left:f,x:f,y:l}}function gt(t){var o=q(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(o.width-e)<=1&&(e=o.width),Math.abs(o.height-r)<=1&&(r=o.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function It(t,o){var e=o.getRootNode&&o.getRootNode();if(t.contains(o))return!0;if(e&&Pt(e)){var r=o;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function N(t){return _(t).getComputedStyle(t)}function Ee(t){return["table","td","th"].indexOf(k(t))>=0}function I(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function ot(t){return k(t)==="html"?t:t.assignedSlot||t.parentNode||(Pt(t)?t.host:null)||I(t)}function Po(t){return!A(t)||N(t).position==="fixed"?null:t.offsetParent}function cr(t){var o=/firefox/i.test(Tt()),e=/Trident/i.test(Tt());if(e&&A(t)){var r=N(t);if(r.position==="fixed")return null}var i=ot(t);for(Pt(i)&&(i=i.host);A(i)&&["html","body"].indexOf(k(i))<0;){var n=N(i);if(n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||o&&n.willChange==="filter"||o&&n.filter&&n.filter!=="none")return i;i=i.parentNode}return null}function Z(t){for(var o=_(t),e=Po(t);e&&Ee(e)&&N(e).position==="static";)e=Po(e);return e&&(k(e)==="html"||k(e)==="body"&&N(e).position==="static")?o:e||cr(t)||o}function bt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wt(t,o,e){return K(t,vt(o,e))}function To(t,o,e){var r=wt(t,o,e);return r>e?e:r}function Wt(){return{top:0,right:0,bottom:0,left:0}}function Ft(t){return Object.assign({},Wt(),t)}function Nt(t,o){return o.reduce(function(e,r){return e[r]=t,e},{})}var lr=function(o,e){return o=typeof o=="function"?o(Object.assign({},e.rects,{placement:e.placement})):o,Ft(typeof o!="number"?o:Nt(o,st))};function fr(t){var o,e=t.state,r=t.name,i=t.options,n=e.elements.arrow,a=e.modifiersData.popperOffsets,s=B(e.placement),c=bt(s),f=[T,S].indexOf(s)>=0,l=f?"height":"width";if(!(!n||!a)){var m=lr(i.padding,e),d=gt(n),p=c==="y"?O:T,b=c==="y"?L:S,u=e.rects.reference[l]+e.rects.reference[c]-a[c]-e.rects.popper[l],h=a[c]-e.rects.reference[c],x=Z(n),R=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,E=u/2-h/2,v=m[p],w=R-d[l]-m[b],y=R/2-d[l]/2+E,C=wt(v,y,w),M=c;e.modifiersData[r]=(o={},o[M]=C,o.centerOffset=C-y,o)}}function pr(t){var o=t.state,e=t.options,r=e.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=o.elements.popper.querySelector(i),!i)||It(o.elements.popper,i)&&(o.elements.arrow=i))}var Oe={name:"arrow",enabled:!0,phase:"main",fn:fr,effect:pr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function U(t){return t.split("-")[1]}var dr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ur(t,o){var e=t.x,r=t.y,i=o.devicePixelRatio||1;return{x:et(e*i)/i||0,y:et(r*i)/i||0}}function Ao(t){var o,e=t.popper,r=t.popperRect,i=t.placement,n=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,f=t.adaptive,l=t.roundOffsets,m=t.isFixed,d=a.x,p=d===void 0?0:d,b=a.y,u=b===void 0?0:b,h=typeof l=="function"?l({x:p,y:u}):{x:p,y:u};p=h.x,u=h.y;var x=a.hasOwnProperty("x"),R=a.hasOwnProperty("y"),E=T,v=O,w=window;if(f){var y=Z(e),C="clientHeight",M="clientWidth";if(y===_(e)&&(y=I(e),N(y).position!=="static"&&s==="absolute"&&(C="scrollHeight",M="scrollWidth")),y=y,i===O||(i===T||i===S)&&n===ht){v=L;var D=m&&y===w&&w.visualViewport?w.visualViewport.height:y[C];u-=D-r.height,u*=c?1:-1}if(i===T||(i===O||i===L)&&n===ht){E=S;var P=m&&y===w&&w.visualViewport?w.visualViewport.width:y[M];p-=P-r.width,p*=c?1:-1}}var W=Object.assign({position:s},f&&dr),X=l===!0?ur({x:p,y:u},_(e)):{x:p,y:u};if(p=X.x,u=X.y,c){var F;return Object.assign({},W,(F={},F[v]=R?"0":"",F[E]=x?"0":"",F.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+u+"px)":"translate3d("+p+"px, "+u+"px, 0)",F))}return Object.assign({},W,(o={},o[v]=R?u+"px":"",o[E]=x?p+"px":"",o.transform="",o))}function mr(t){var o=t.state,e=t.options,r=e.gpuAcceleration,i=r===void 0?!0:r,n=e.adaptive,a=n===void 0?!0:n,s=e.roundOffsets,c=s===void 0?!0:s,f={placement:B(o.placement),variation:U(o.placement),popper:o.elements.popper,popperRect:o.rects.popper,gpuAcceleration:i,isFixed:o.options.strategy==="fixed"};o.modifiersData.popperOffsets!=null&&(o.styles.popper=Object.assign({},o.styles.popper,Ao(Object.assign({},f,{offsets:o.modifiersData.popperOffsets,position:o.options.strategy,adaptive:a,roundOffsets:c})))),o.modifiersData.arrow!=null&&(o.styles.arrow=Object.assign({},o.styles.arrow,Ao(Object.assign({},f,{offsets:o.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-placement":o.placement})}var Do={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mr,data:{}};var ie={passive:!0};function hr(t){var o=t.state,e=t.instance,r=t.options,i=r.scroll,n=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,c=_(o.elements.popper),f=[].concat(o.scrollParents.reference,o.scrollParents.popper);return n&&f.forEach(function(l){l.addEventListener("scroll",e.update,ie)}),s&&c.addEventListener("resize",e.update,ie),function(){n&&f.forEach(function(l){l.removeEventListener("scroll",e.update,ie)}),s&&c.removeEventListener("resize",e.update,ie)}}var So={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hr,data:{}};var vr={left:"right",right:"left",bottom:"top",top:"bottom"};function At(t){return t.replace(/left|right|bottom|top/g,function(o){return vr[o]})}var gr={start:"end",end:"start"};function ne(t){return t.replace(/start|end/g,function(o){return gr[o]})}function yt(t){var o=_(t),e=o.pageXOffset,r=o.pageYOffset;return{scrollLeft:e,scrollTop:r}}function xt(t){return q(I(t)).left+yt(t).scrollLeft}function Pe(t,o){var e=_(t),r=I(t),i=e.visualViewport,n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;var f=Lt();(f||!f&&o==="fixed")&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s+xt(t),y:c}}function Te(t){var o,e=I(t),r=yt(t),i=(o=t.ownerDocument)==null?void 0:o.body,n=K(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=K(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+xt(t),c=-r.scrollTop;return N(i||e).direction==="rtl"&&(s+=K(e.clientWidth,i?i.clientWidth:0)-n),{width:n,height:a,x:s,y:c}}function _t(t){var o=N(t),e=o.overflow,r=o.overflowX,i=o.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+r)}function ae(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:A(t)&&_t(t)?t:ae(ot(t))}function ct(t,o){var e;o===void 0&&(o=[]);var r=ae(t),i=r===((e=t.ownerDocument)==null?void 0:e.body),n=_(r),a=i?[n].concat(n.visualViewport||[],_t(r)?r:[]):r,s=o.concat(a);return i?s:s.concat(ct(ot(a)))}function Dt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function br(t,o){var e=q(t,!1,o==="fixed");return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function ko(t,o,e){return o===oe?Dt(Pe(t,e)):z(o)?br(o,e):Dt(Te(I(t)))}function wr(t){var o=ct(ot(t)),e=["absolute","fixed"].indexOf(N(t).position)>=0,r=e&&A(t)?Z(t):t;return z(r)?o.filter(function(i){return z(i)&&It(i,r)&&k(i)!=="body"}):[]}function Ae(t,o,e,r){var i=o==="clippingParents"?wr(t):[].concat(o),n=[].concat(i,[e]),a=n[0],s=n.reduce(function(c,f){var l=ko(t,f,r);return c.top=K(l.top,c.top),c.right=vt(l.right,c.right),c.bottom=vt(l.bottom,c.bottom),c.left=K(l.left,c.left),c},ko(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function $t(t){var o=t.reference,e=t.element,r=t.placement,i=r?B(r):null,n=r?U(r):null,a=o.x+o.width/2-e.width/2,s=o.y+o.height/2-e.height/2,c;switch(i){case O:c={x:a,y:o.y-e.height};break;case L:c={x:a,y:o.y+o.height};break;case S:c={x:o.x+o.width,y:s};break;case T:c={x:o.x-e.width,y:s};break;default:c={x:o.x,y:o.y}}var f=i?bt(i):null;if(f!=null){var l=f==="y"?"height":"width";switch(n){case tt:c[f]=c[f]-(o[l]/2-e[l]/2);break;case ht:c[f]=c[f]+(o[l]/2-e[l]/2);break;default:}}return c}function lt(t,o){o===void 0&&(o={});var e=o,r=e.placement,i=r===void 0?t.placement:r,n=e.strategy,a=n===void 0?t.strategy:n,s=e.boundary,c=s===void 0?Ro:s,f=e.rootBoundary,l=f===void 0?oe:f,m=e.elementContext,d=m===void 0?Ot:m,p=e.altBoundary,b=p===void 0?!1:p,u=e.padding,h=u===void 0?0:u,x=Ft(typeof h!="number"?h:Nt(h,st)),R=d===Ot?Co:Ot,E=t.rects.popper,v=t.elements[b?R:d],w=Ae(z(v)?v:v.contextElement||I(t.elements.popper),c,l,a),y=q(t.elements.reference),C=$t({reference:y,element:E,strategy:"absolute",placement:i}),M=Dt(Object.assign({},E,C)),D=d===Ot?M:y,P={top:w.top-D.top+x.top,bottom:D.bottom-w.bottom+x.bottom,left:w.left-D.left+x.left,right:D.right-w.right+x.right},W=t.modifiersData.offset;if(d===Ot&&W){var X=W[i];Object.keys(P).forEach(function(F){var ft=[S,L].indexOf(F)>=0?1:-1,pt=[O,L].indexOf(F)>=0?"y":"x";P[F]+=X[pt]*ft})}return P}function De(t,o){o===void 0&&(o={});var e=o,r=e.placement,i=e.boundary,n=e.rootBoundary,a=e.padding,s=e.flipVariations,c=e.allowedAutoPlacements,f=c===void 0?re:c,l=U(r),m=l?s?Ce:Ce.filter(function(b){return U(b)===l}):st,d=m.filter(function(b){return f.indexOf(b)>=0});d.length===0&&(d=m);var p=d.reduce(function(b,u){return b[u]=lt(t,{placement:u,boundary:i,rootBoundary:n,padding:a})[B(u)],b},{});return Object.keys(p).sort(function(b,u){return p[b]-p[u]})}function yr(t){if(B(t)===ee)return[];var o=At(t);return[ne(t),o,ne(o)]}function xr(t){var o=t.state,e=t.options,r=t.name;if(!o.modifiersData[r]._skip){for(var i=e.mainAxis,n=i===void 0?!0:i,a=e.altAxis,s=a===void 0?!0:a,c=e.fallbackPlacements,f=e.padding,l=e.boundary,m=e.rootBoundary,d=e.altBoundary,p=e.flipVariations,b=p===void 0?!0:p,u=e.allowedAutoPlacements,h=o.options.placement,x=B(h),R=x===h,E=c||(R||!b?[At(h)]:yr(h)),v=[h].concat(E).reduce(function(Rt,rt){return Rt.concat(B(rt)===ee?De(o,{placement:rt,boundary:l,rootBoundary:m,padding:f,flipVariations:b,allowedAutoPlacements:u}):rt)},[]),w=o.rects.reference,y=o.rects.popper,C=new Map,M=!0,D=v[0],P=0;P<v.length;P++){var W=v[P],X=B(W),F=U(W)===tt,ft=[O,L].indexOf(X)>=0,pt=ft?"width":"height",$=lt(o,{placement:W,boundary:l,rootBoundary:m,altBoundary:d,padding:f}),Y=ft?F?S:T:F?L:O;w[pt]>y[pt]&&(Y=At(Y));var Vt=At(Y),dt=[];if(n&&dt.push($[X]<=0),s&&dt.push($[Y]<=0,$[Vt]<=0),dt.every(function(Rt){return Rt})){D=W,M=!1;break}C.set(W,dt)}if(M)for(var zt=b?3:1,pe=function(rt){var kt=v.find(function(Ut){var ut=C.get(Ut);if(ut)return ut.slice(0,rt).every(function(de){return de})});if(kt)return D=kt,"break"},St=zt;St>0;St--){var qt=pe(St);if(qt==="break")break}o.placement!==D&&(o.modifiersData[r]._skip=!0,o.placement=D,o.reset=!0)}}var Se={name:"flip",enabled:!0,phase:"main",fn:xr,requiresIfExists:["offset"],data:{_skip:!1}};function _r(t,o,e){var r=B(t),i=[T,O].indexOf(r)>=0?-1:1,n=typeof e=="function"?e(Object.assign({},o,{placement:t})):e,a=n[0],s=n[1];return a=a||0,s=(s||0)*i,[T,S].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Rr(t){var o=t.state,e=t.options,r=t.name,i=e.offset,n=i===void 0?[0,0]:i,a=re.reduce(function(l,m){return l[m]=_r(m,o.rects,n),l},{}),s=a[o.placement],c=s.x,f=s.y;o.modifiersData.popperOffsets!=null&&(o.modifiersData.popperOffsets.x+=c,o.modifiersData.popperOffsets.y+=f),o.modifiersData[r]=a}var ke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Rr};function Cr(t){var o=t.state,e=t.name;o.modifiersData[e]=$t({reference:o.rects.reference,element:o.rects.popper,strategy:"absolute",placement:o.placement})}var Bo={name:"popperOffsets",enabled:!0,phase:"read",fn:Cr,data:{}};function Be(t){return t==="x"?"y":"x"}function Er(t){var o=t.state,e=t.options,r=t.name,i=e.mainAxis,n=i===void 0?!0:i,a=e.altAxis,s=a===void 0?!1:a,c=e.boundary,f=e.rootBoundary,l=e.altBoundary,m=e.padding,d=e.tether,p=d===void 0?!0:d,b=e.tetherOffset,u=b===void 0?0:b,h=lt(o,{boundary:c,rootBoundary:f,padding:m,altBoundary:l}),x=B(o.placement),R=U(o.placement),E=!R,v=bt(x),w=Be(v),y=o.modifiersData.popperOffsets,C=o.rects.reference,M=o.rects.popper,D=typeof u=="function"?u(Object.assign({},o.rects,{placement:o.placement})):u,P=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),W=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,X={x:0,y:0};if(y){if(n){var F,ft=v==="y"?O:T,pt=v==="y"?L:S,$=v==="y"?"height":"width",Y=y[v],Vt=Y+h[ft],dt=Y-h[pt],zt=p?-M[$]/2:0,pe=R===tt?C[$]:M[$],St=R===tt?-M[$]:-C[$],qt=o.elements.arrow,Rt=p&&qt?gt(qt):{width:0,height:0},rt=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:Wt(),kt=rt[ft],Ut=rt[pt],ut=wt(0,C[$],Rt[$]),de=E?C[$]/2-zt-ut-kt-P.mainAxis:pe-ut-kt-P.mainAxis,qo=E?-C[$]/2+zt+ut+Ut+P.mainAxis:St+ut+Ut+P.mainAxis,ue=o.elements.arrow&&Z(o.elements.arrow),Uo=ue?v==="y"?ue.clientTop||0:ue.clientLeft||0:0,Ue=(F=W?.[v])!=null?F:0,Xo=Y+de-Ue-Uo,Yo=Y+qo-Ue,Xe=wt(p?vt(Vt,Xo):Vt,Y,p?K(dt,Yo):dt);y[v]=Xe,X[v]=Xe-Y}if(s){var Ye,Ko=v==="x"?O:T,Zo=v==="x"?L:S,mt=y[w],Xt=w==="y"?"height":"width",Ke=mt+h[Ko],Ze=mt-h[Zo],me=[O,T].indexOf(x)!==-1,Qe=(Ye=W?.[w])!=null?Ye:0,Ge=me?Ke:mt-C[Xt]-M[Xt]-Qe+P.altAxis,Je=me?mt+C[Xt]+M[Xt]-Qe-P.altAxis:Ze,to=p&&me?To(Ge,mt,Je):wt(p?Ge:Ke,mt,p?Je:Ze);y[w]=to,X[w]=to-mt}o.modifiersData[r]=X}}var Me={name:"preventOverflow",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"]};function je(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Le(t){return t===_(t)||!A(t)?yt(t):je(t)}function Or(t){var o=t.getBoundingClientRect(),e=et(o.width)/t.offsetWidth||1,r=et(o.height)/t.offsetHeight||1;return e!==1||r!==1}function Ie(t,o,e){e===void 0&&(e=!1);var r=A(o),i=A(o)&&Or(o),n=I(o),a=q(t,i,e),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!e)&&((k(o)!=="body"||_t(n))&&(s=Le(o)),A(o)?(c=q(o,!0),c.x+=o.clientLeft,c.y+=o.clientTop):n&&(c.x=xt(n))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Pr(t){var o=new Map,e=new Set,r=[];t.forEach(function(n){o.set(n.name,n)});function i(n){e.add(n.name);var a=[].concat(n.requires||[],n.requiresIfExists||[]);a.forEach(function(s){if(!e.has(s)){var c=o.get(s);c&&i(c)}}),r.push(n)}return t.forEach(function(n){e.has(n.name)||i(n)}),r}function We(t){var o=Pr(t);return Eo.reduce(function(e,r){return e.concat(o.filter(function(i){return i.phase===r}))},[])}function Fe(t){var o;return function(){return o||(o=new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(t())})})),o}}function Ne(t){var o=t.reduce(function(e,r){var i=e[r.name];return e[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,e},{});return Object.keys(o).map(function(e){return o[e]})}var Mo={placement:"bottom",modifiers:[],strategy:"absolute"};function jo(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return!o.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Lo(t){t===void 0&&(t={});var o=t,e=o.defaultModifiers,r=e===void 0?[]:e,i=o.defaultOptions,n=i===void 0?Mo:i;return function(s,c,f){f===void 0&&(f=n);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mo,n),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},m=[],d=!1,p={state:l,setOptions:function(x){var R=typeof x=="function"?x(l.options):x;u(),l.options=Object.assign({},n,l.options,R),l.scrollParents={reference:z(s)?ct(s):s.contextElement?ct(s.contextElement):[],popper:ct(c)};var E=We(Ne([].concat(r,l.options.modifiers)));return l.orderedModifiers=E.filter(function(v){return v.enabled}),b(),p.update()},forceUpdate:function(){if(!d){var x=l.elements,R=x.reference,E=x.popper;if(jo(R,E)){l.rects={reference:Ie(R,Z(E),l.options.strategy==="fixed"),popper:gt(E)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(P){return l.modifiersData[P.name]=Object.assign({},P.data)});for(var v=0;v<l.orderedModifiers.length;v++){if(l.reset===!0){l.reset=!1,v=-1;continue}var w=l.orderedModifiers[v],y=w.fn,C=w.options,M=C===void 0?{}:C,D=w.name;typeof y=="function"&&(l=y({state:l,options:M,name:D,instance:p})||l)}}}},update:Fe(function(){return new Promise(function(h){p.forceUpdate(),h(l)})}),destroy:function(){u(),d=!0}};if(!jo(s,c))return p;p.setOptions(f).then(function(h){!d&&f.onFirstUpdate&&f.onFirstUpdate(h)});function b(){l.orderedModifiers.forEach(function(h){var x=h.name,R=h.options,E=R===void 0?{}:R,v=h.effect;if(typeof v=="function"){var w=v({state:l,name:x,instance:p,options:E}),y=function(){};m.push(w||y)}})}function u(){m.forEach(function(h){return h()}),m=[]}return p}}var Tr=[So,Bo,Do,Oo],$e=Lo({defaultModifiers:Tr});var Ar=(()=>{class t{constructor(){this._element=g(at).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Dr=/\s+/,Sr=/ +/gi,kr={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function Br(t,o){let[e,r]=kr[t];return o&&r||e}var Mr=/^left/,jr=/^right/,Lr=/^start/,Ir=/^end/;function Wr(t,o){let[e,r]=o.split("-"),i=e.replace(Mr,"start").replace(jr,"end"),n=[i];if(r){let a=r;(e==="left"||e==="right")&&(a=a.replace(Lr,"top").replace(Ir,"bottom")),n.push(`${i}-${a}`)}return t&&(n=n.map(a=>`${t}-${a}`)),n.join(" ")}function Io({placement:t,baseClass:o},e){let r=Array.isArray(t)?t:t.split(Dr),i=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],n=r.findIndex(f=>f==="auto");n>=0&&i.forEach(function(f){r.find(l=>l.search("^"+f)!==-1)==null&&r.splice(n++,1,f)});let a=r.map(f=>Br(f,e.isRTL()));return{placement:a.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!o,phase:"write",fn({state:f}){let l=new RegExp(o+"(-[a-z]+)*","gi"),m=f.elements.popper,d=f.placement,p=m.className;p=p.replace(l,""),p+=` ${Wr(o,d)}`,p=p.trim().replace(Sr," "),m.className=p}},Se,Me,Oe,{enabled:!0,name:"flip",options:{fallbackPlacements:a}}]}}function Wo(t){return t}function rc(){let t=g(Ar),o=null;return{createPopper(e){if(!o){let i=(e.updatePopperOptions||Wo)(Io(e,t));o=$e(e.hostElement,e.targetElement,i)}},update(){o&&o.update()},setOptions(e){if(o){let i=(e.updatePopperOptions||Wo)(Io(e,t));o.setOptions(i)}},destroy(){o&&(o.destroy(),o=null)}}}function ic(t){return t!=null?`${t}`:""}function He(t){return typeof t=="string"}function ce(t){return t!=null}function Ho(t){return t&&t.then}function nc(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Fr(t,o){return!o||typeof t.closest>"u"?null:t.closest(o)}function le(t){return(t||document.body).getBoundingClientRect()}function Nr(t){return o=>new oo(e=>{let r=a=>t.run(()=>e.next(a)),i=a=>t.run(()=>e.error(a)),n=()=>t.run(()=>e.complete());return o.subscribe({next:r,error:i,complete:n})})}function ac(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function $r(t=document){let o=t?.activeElement;return o?o.shadowRoot?$r(o.shadowRoot):o:null}function Hr(t){let{transitionDelay:o,transitionDuration:e}=window.getComputedStyle(t),r=parseFloat(o),i=parseFloat(e);return(r+i)*1e3}var Vr=()=>{},zr={getTransitionTimerDelayMs:()=>5},Ht=new Map,J=(t,o,e,r)=>{let i=r.context||{},n=Ht.get(o);if(n)switch(r.runningTransition){case"continue":return Yt;case"stop":t.run(()=>n.transition$.complete()),i=Object.assign(n.context,i),Ht.delete(o)}let a=e(o,r.animation,i)||Vr;if(!r.animation||window.getComputedStyle(o).transitionProperty==="none")return t.run(()=>a()),Bt(void 0).pipe(Nr(t));let s=new V,c=new V,f=s.pipe(ao(!0));Ht.set(o,{transition$:s,complete:()=>{c.next(),c.complete()},context:i});let l=Hr(o);return t.runOutsideAngular(()=>{let m=H(o,"transitionend").pipe(j(f),it(({target:p})=>p===o)),d=io(l+zr.getTransitionTimerDelayMs()).pipe(j(f));ve(d,m,c).pipe(j(f)).subscribe(()=>{Ht.delete(o),t.run(()=>{a(),s.next(),s.complete()})})}),s.asObservable()},sc=t=>{Ht.get(t)?.complete()};function qr(t,o){if(typeof navigator>"u")return"0px";let{classList:e}=t,r=e.contains("show");r||e.add("show"),t.style[o]="";let i=t.getBoundingClientRect()[o]+"px";return r||e.remove("show"),i}var cc=(t,o,e)=>{let{direction:r,maxSize:i,dimension:n}=e,{classList:a}=t;function s(){a.add("collapse"),r==="show"?a.add("show"):a.remove("show")}if(!o){s();return}return i||(i=qr(t,n),e.maxSize=i,t.style[n]=r!=="show"?i:"0px",a.remove("collapse","collapsing","show"),le(t),a.add("collapsing")),t.style[n]=r==="show"?i:"0px",()=>{s(),a.remove("collapsing"),t.style[n]=""}},se=(t,o)=>o?o.some(e=>e.contains(t)):!1,Fo=(t,o)=>!o||Fr(t,o)!=null,Ur=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,o=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||o()):!1})(),Xr=t=>Ur?()=>setTimeout(()=>t(),100):t;function lc(t,o,e,r,i,n,a,s){e&&t.runOutsideAngular(Xr(()=>{let c=d=>{let p=d.target;return d.button===2||se(p,a)?!1:e==="inside"?se(p,n)&&Fo(p,s):e==="outside"?!se(p,n):Fo(p,s)||!se(p,n)},f=H(o,"keydown").pipe(j(i),it(d=>d.key==="Escape"),Mt(d=>d.preventDefault())),l=H(o,"mousedown").pipe(Ct(c),j(i)),m=H(o,"mouseup").pipe(Zt(l),it(([d,p])=>p),no(0),j(i));ve([f.pipe(Ct(d=>0)),m.pipe(Ct(d=>1))]).subscribe(d=>t.run(()=>r(d)))}))}var Yr=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ve(t){let o=Array.from(t.querySelectorAll(Yr)).filter(e=>e.tabIndex!==-1);return[o[0],o[o.length-1]]}var Vo=(t,o,e,r=!1)=>{t.runOutsideAngular(()=>{let i=H(o,"focusin").pipe(j(e),Ct(n=>n.target));H(o,"keydown").pipe(j(e),it(n=>n.key==="Tab"),Zt(i)).subscribe(([n,a])=>{let[s,c]=Ve(o);(a===s||a===o)&&n.shiftKey&&(c.focus(),n.preventDefault()),a===c&&!n.shiftKey&&(s.focus(),n.preventDefault())}),r&&H(o,"click").pipe(j(e),Zt(i),Ct(n=>n[1])).subscribe(n=>n.focus())})};function fc(t){return o=>(o.modifiers.push(ke,{name:"offset",options:{offset:()=>t}}),o)}var G=class{constructor(o,e,r){this.nodes=o,this.viewRef=e,this.componentRef=r}},No=class{constructor(o){this._componentType=o,this._windowRef=null,this._contentRef=null,this._document=g(at),this._applicationRef=g(Gt),this._injector=g(nt),this._viewContainerRef=g(fo),this._ngZone=g(Et)}open(o,e,r=!1){this._windowRef||(this._contentRef=this._getContentRef(o,e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:i}=this._windowRef.location,n=new V;jt({mixedReadWrite:()=>{n.next(),n.complete()}},{injector:this._injector});let a=n.pipe(ro(()=>J(this._ngZone,i,({classList:s})=>s.add("show"),{animation:r,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:a}}close(o=!1){return this._windowRef?J(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:o,runningTransition:"stop"}).pipe(Mt(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):Bt(void 0)}_getContentRef(o,e){if(o)if(o instanceof Qt){let r=o.createEmbeddedView(e);return this._applicationRef.attachView(r),new G([r.rootNodes],r)}else return new G([[this._document.createTextNode(`${o}`)]]);else return new G([])}},zo=(()=>{class t{constructor(){this._document=g(at)}hide(){let e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),r=this._document.body,i=r.style,{overflow:n,paddingRight:a}=i;if(e>0){let s=parseFloat(window.getComputedStyle(r).paddingRight);i.paddingRight=`${s+e}px`}return i.overflow="hidden",()=>{e>0&&(i.paddingRight=a),i.overflow=n}}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Kr={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function Zr(t){let o=(t||"").trim();if(o.length===0)return[];let e=o.split(/\s+/).map(i=>i.split(":")).map(i=>Kr[i[0]]||i),r=e.filter(i=>i.includes("manual"));if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(r.length===1&&e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r.length?[]:e}function pc(t,o,e,r,i,n=0,a=0,s=Yt,c=Yt){let f=Zr(o);if(f.length===0)return()=>{};let l=new Set,m=[],d;function p(u,h){t.addEventListener(u,h),m.push(()=>t.removeEventListener(u,h))}function b(u,h){clearTimeout(d),h>0?d=setTimeout(u,h):u()}for(let[u,h]of f)if(h?(p(u,()=>{l.add(u),b(()=>l.size>0&&r(),n)}),p(h,()=>{l.delete(u),b(()=>l.size===0&&i(),a)})):p(u,()=>e()?b(i,a):b(r,n)),u==="mouseenter"&&h==="mouseleave"&&a>0){let x=s.subscribe(()=>{l.delete(u),clearTimeout(d)}),R=c.subscribe(()=>{l.delete(u),b(()=>l.size===0&&i(),a)});m.push(()=>x.unsubscribe(),()=>R.unsubscribe())}return m.push(()=>clearTimeout(d)),()=>m.forEach(u=>u())}var Qr=new lo("live announcer delay",{providedIn:"root",factory:()=>100});function $o(t,o=!1){let e=t.body.querySelector("#ngb-live");return e==null&&o&&(e=t.createElement("div"),e.setAttribute("id","ngb-live"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.classList.add("visually-hidden"),t.body.appendChild(e)),e}var dc=(()=>{class t{constructor(){this._document=g(at),this._delay=g(Qr)}ngOnDestroy(){let e=$o(this._document);e&&e.parentElement.removeChild(e)}say(e){let r=$o(this._document,!0),i=this._delay;if(r!=null){r.textContent="";let n=()=>r.textContent=e;i===null?n():setTimeout(n,i)}}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Gr=["dialog"],Jr=["*"],ti=(()=>{class t{constructor(){this._ngbConfig=g(_o),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ei=["animation","backdropClass"],oi=(()=>{class t{constructor(){this._nativeElement=g(ye).nativeElement,this._zone=g(Et),this._injector=g(nt),this._cdRef=g(Re)}ngOnInit(){jt({mixedReadWrite:()=>J(this._zone,this._nativeElement,(e,r)=>{r&&le(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return J(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(e){ei.forEach(r=>{ce(e[r])&&(this[r]=e[r])}),this._cdRef.markForCheck()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=xe({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(r,i){r&2&&(Jt("modal-backdrop"+(i.backdropClass?" "+i.backdropClass:"")),_e("show",!i.animation)("fade",i.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(r,i){},encapsulation:2})}}return t})(),fe=class{update(o){}close(o){}dismiss(o){}},ze=class{update(o){this._windowCmptRef.instance.updateOptions(o),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(o)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(j(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(j(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(o,e,r,i){this._windowCmptRef=o,this._contentRef=e,this._backdropCmptRef=r,this._beforeDismiss=i,this._closed=new V,this._dismissed=new V,this._hidden=new V,o.instance.dismissEvent.subscribe(n=>{this.dismiss(n)}),this.result=new Promise((n,a)=>{this._resolve=n,this._reject=a}),this.result.then(null,()=>{})}close(o){this._windowCmptRef&&(this._closed.next(o),this._resolve(o),this._removeModalElements())}_dismiss(o){this._dismissed.next(o),this._reject(o),this._removeModalElements()}dismiss(o){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(o);else{let e=this._beforeDismiss();Ho(e)?e.then(r=>{r!==!1&&this._dismiss(o)},()=>{}):e!==!1&&this._dismiss(o)}}_removeModalElements(){let o=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Bt(void 0);o.subscribe(()=>{let{nativeElement:r}=this._windowCmptRef.location;r.parentNode.removeChild(r),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:r}=this._backdropCmptRef.location;r.parentNode.removeChild(r),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Kt(o,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},qe=(function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t})(qe||{}),ri=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],ii=(()=>{class t{constructor(){this._document=g(at),this._elRef=g(ye),this._zone=g(Et),this._injector=g(nt),this._cdRef=g(Re),this._closed$=new V,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new we,this.shown=new V,this.hidden=new V}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":He(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,jt({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:e}=this._elRef,r={animation:this.animation,runningTransition:"stop"},i=J(this._zone,e,()=>e.classList.remove("show"),r),n=J(this._zone,this._dialogEl.nativeElement,()=>{},r),a=Kt(i,n);return a.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),a}updateOptions(e){ri.forEach(r=>{ce(e[r])&&(this[r]=e[r])}),this._cdRef.markForCheck()}_show(){let e={animation:this.animation,runningTransition:"continue"},r=J(this._zone,this._elRef.nativeElement,(n,a)=>{a&&le(n),n.classList.add("show")},e),i=J(this._zone,this._dialogEl.nativeElement,()=>{},e);Kt(r,i).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{H(e,"keydown").pipe(j(this._closed$),it(i=>i.key==="Escape")).subscribe(i=>{this.keyboard?requestAnimationFrame(()=>{i.defaultPrevented||this._zone.run(()=>this.dismiss(qe.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let r=!1;H(this._dialogEl.nativeElement,"mousedown").pipe(j(this._closed$),Mt(()=>r=!1),so(()=>H(e,"mouseup").pipe(j(this._closed$),ge(1))),it(({target:i})=>e===i)).subscribe(()=>{r=!0}),H(e,"click").pipe(j(this._closed$)).subscribe(({target:i})=>{e===i&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!r&&this._zone.run(()=>this.dismiss(qe.BACKDROP_CLICK))),r=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){let r=e.querySelector("[ngbAutofocus]"),i=Ve(e)[0];(r||i||e).focus()}}_restoreFocus(){let e=this._document.body,r=this._elWithFocus,i;r&&r.focus&&e.contains(r)?i=r:i=e,this._zone.runOutsideAngular(()=>{setTimeout(()=>i.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&J(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=xe({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(r,i){if(r&1&&bo(Gr,7),r&2){let n;wo(n=yo())&&(i._dialogEl=n.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(r,i){r&2&&(uo("aria-modal",!0)("aria-labelledby",i.ariaLabelledBy)("aria-describedby",i.ariaDescribedBy)("role",i.role),Jt("modal d-block"+(i.windowClass?" "+i.windowClass:"")),_e("fade",i.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Jr,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(r,i){r&1&&(vo(),mo(0,"div",1,0)(2,"div",2),go(3),ho()()),r&2&&Jt("modal-dialog"+(i.size?" modal-"+i.size:"")+(i.centered?" modal-dialog-centered":"")+i.fullscreenClass+(i.scrollable?" modal-dialog-scrollable":"")+(i.modalDialogClass?" "+i.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
2
2
  `],encapsulation:2})}}return t})(),ni=(()=>{class t{constructor(){this._applicationRef=g(Gt),this._injector=g(nt),this._environmentInjector=g(be),this._document=g(at),this._scrollBar=g(zo),this._activeWindowCmptHasChanged=new V,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new we;let e=g(Et);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let r=this._windowCmpts[this._windowCmpts.length-1];Vo(e,r.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(r.location.nativeElement)}})}_restoreScrollBar(){let e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,r,i){let n=i.container instanceof HTMLElement?i.container:ce(i.container)?this._document.querySelector(i.container):this._document.body;if(!n)throw new Error(`The specified modal container "${i.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let a=new fe;e=i.injector||e;let s=e.get(be,null)||this._environmentInjector,c=this._getContentRef(e,s,r,a,i),f=i.backdrop!==!1?this._attachBackdrop(n):void 0,l=this._attachWindowComponent(n,c.nodes),m=new ze(l,c,f,i.beforeDismiss);return this._registerModalRef(m),this._registerWindowCmpt(l),m.hidden.pipe(ge(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),a.close=d=>{m.close(d)},a.dismiss=d=>{m.dismiss(d)},a.update=d=>{m.update(d)},m.update(i),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),f&&f.instance&&f.changeDetectorRef.detectChanges(),l.changeDetectorRef.detectChanges(),m}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(r=>r.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let r=te(oi,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(r.hostView),e.appendChild(r.location.nativeElement),r}_attachWindowComponent(e,r){let i=te(ii,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:r});return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_getContentRef(e,r,i,n,a){return i?i instanceof Qt?this._createFromTemplateRef(i,n):He(i)?this._createFromString(i):this._createFromComponent(e,r,i,n,a):new G([])}_createFromTemplateRef(e,r){let i={$implicit:r,close(a){r.close(a)},dismiss(a){r.dismiss(a)}},n=e.createEmbeddedView(i);return this._applicationRef.attachView(n),new G([n.rootNodes],n)}_createFromString(e){let r=this._document.createTextNode(`${e}`);return new G([[r]])}_createFromComponent(e,r,i,n,a){let s=nt.create({providers:[{provide:fe,useValue:n}],parent:e}),c=te(i,{environmentInjector:r,elementInjector:s}),f=c.location.nativeElement;return a.scrollable&&f.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new G([[f]],c.hostView,c)}_setAriaHidden(e){let r=e.parentElement;r&&e!==this._document.body&&(Array.from(r.children).forEach(i=>{i!==e&&i.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}),this._setAriaHidden(r))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,r)=>{e?r.setAttribute("aria-hidden",e):r.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){let r=()=>{let i=this._modalRefs.indexOf(e);i>-1&&(this._modalRefs.splice(i,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(r,r)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{let r=this._windowCmpts.indexOf(e);r>-1&&(this._windowCmpts.splice(r,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ai=(()=>{class t{constructor(){this._injector=g(nt),this._modalStack=g(ni),this._config=g(ti)}open(e,r={}){let i=he(eo(he({},this._config),{animation:this._config.animation}),r);return this._modalStack.open(this._injector,e,i)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Oc=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=po({type:t})}static{this.\u0275inj=co({providers:[ai]})}}return t})();export{_o as a,rc as b,ic as c,He as d,ce as e,nc as f,le as g,ac as h,$r as i,J as j,sc as k,cc as l,lc as m,Yr as n,fc as o,No as p,pc as q,dc as r,fe as s,ai as t,Oc as u};