@inkeep/open-knowledge 0.36.0-beta.19 → 0.36.0-beta.20

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 (479) hide show
  1. package/dist/{abnfDiagram-VRR7QNED-MRuwtYUd.mjs → abnfDiagram-VRR7QNED-CyIW4oQ8.mjs} +2 -2
  2. package/dist/{acp-harness-probe-BB3MCnqT.mjs → acp-harness-probe-DAsiIrn7.mjs} +2 -2
  3. package/dist/alias-JE7RI5QX-BvhaFG9J.mjs +1 -0
  4. package/dist/{arc-bUagScrM.mjs → arc-CYbidMQb.mjs} +2 -2
  5. package/dist/architecture-TIHT7OUA-BVYsZR9r.mjs +1 -0
  6. package/dist/{architectureDiagram-ZJ3FMSHR-CxgAI6og.mjs → architectureDiagram-ZJ3FMSHR-CLPPzKEe.mjs} +2 -2
  7. package/dist/{array-DX8f3OIE.mjs → array-BqQze_vE.mjs} +1 -1
  8. package/dist/assets/skills/discovery/SKILL.md +1 -1
  9. package/dist/assets/skills/project/SKILL.md +1 -1
  10. package/dist/awk2-BBAGSFUB-C0jQbtG6.mjs +1 -0
  11. package/dist/{banner-5C76vSEs.mjs → banner-_FQsQkvC.mjs} +2 -2
  12. package/dist/base64-4YMZCVJ5-E_RwmVUf.mjs +1 -0
  13. package/dist/basename-AA2KJYZQ-Dq2O0Dr6.mjs +1 -0
  14. package/dist/bash-IJWYRKFO-BWspyNyq.mjs +1 -0
  15. package/dist/{blockDiagram-677ZJIJ3-DlSE_0dd.mjs → blockDiagram-677ZJIJ3-C-y19CxU.mjs} +2 -2
  16. package/dist/{build-fAc55Z_L.mjs → build-DYQrG4v7.mjs} +1 -1
  17. package/dist/build-DcqN8tua.mjs +1 -0
  18. package/dist/{c4Diagram-LMCZKHZV-DaqyG3s1.mjs → c4Diagram-LMCZKHZV-o2jsbHiN.mjs} +2 -2
  19. package/dist/cat-RDUMLXKC-C3vpYzfr.mjs +1 -0
  20. package/dist/channel-DhqoAJoQ.mjs +2 -0
  21. package/dist/chmod-SYMGL4JA-BzT6KWst.mjs +1 -0
  22. package/dist/{chokidar-OqiVg15e.mjs → chokidar-BCS--vwu.mjs} +1 -1
  23. package/dist/{chunk-24IMIIXA-DBezOUnl.mjs → chunk-24IMIIXA-BQtWA2ag.mjs} +2 -2
  24. package/dist/{chunk-2Q5K7J3B-B8UqHstN.mjs → chunk-2Q5K7J3B-BBA6_zq_.mjs} +2 -2
  25. package/dist/{chunk-2TRDZQLB-Dng6mmbO.mjs → chunk-2TRDZQLB-C_2g1dOd.mjs} +2 -2
  26. package/dist/{chunk-32BRIVSS-Bbzg5lXo.mjs → chunk-32BRIVSS-DYHXEarP.mjs} +2 -2
  27. package/dist/{chunk-3BS5SKQH-4DsN-4Xp.mjs → chunk-3BS5SKQH-nmqNxSIe.mjs} +3 -3
  28. package/dist/{chunk-3H6UQG3A-DiiyFHtZ.mjs → chunk-3H6UQG3A-DLwP7IGN.mjs} +2 -2
  29. package/dist/{chunk-3THT3N7L-DAZ4If0x.mjs → chunk-3THT3N7L-DcPtGCSm.mjs} +1 -1
  30. package/dist/{chunk-3ZUFRYJ4-CpL2LPMn.mjs → chunk-3ZUFRYJ4-DX32azSC.mjs} +1 -1
  31. package/dist/{chunk-44UOCSGV-BO2nBFF4.mjs → chunk-44UOCSGV-Dadyg26w.mjs} +1 -1
  32. package/dist/{chunk-4GTNDTRF-KZ4XTGAA.mjs → chunk-4GTNDTRF-BT6SNd8s.mjs} +2 -2
  33. package/dist/{chunk-4HHKTUW3-CwSRwJJP.mjs → chunk-4HHKTUW3-CL0rAYDo.mjs} +1 -1
  34. package/dist/{chunk-4Q4SM6WR-C93GB6-C.mjs → chunk-4Q4SM6WR-Cf1guB-L.mjs} +2 -2
  35. package/dist/{chunk-52WLFC77-CSTEN0ni.mjs → chunk-52WLFC77-DH1KQBRY.mjs} +2 -2
  36. package/dist/{chunk-55VFSPNA-B2_R6xXq.mjs → chunk-55VFSPNA-B2P94_nY.mjs} +2 -2
  37. package/dist/{chunk-5FCAYU7R-C1nG1tRO.mjs → chunk-5FCAYU7R-DamFELXo.mjs} +2 -2
  38. package/dist/{chunk-5HE753X5-VIkzv7xx.mjs → chunk-5HE753X5-CK-MLDEN.mjs} +2 -2
  39. package/dist/{chunk-5JV3BV7I-Cq3bUKo-.mjs → chunk-5JV3BV7I-XXAgMX9r.mjs} +2 -2
  40. package/dist/{chunk-5QMZ5MUS-DQpm1xRC.mjs → chunk-5QMZ5MUS-D8tv8KWc.mjs} +2 -2
  41. package/dist/{chunk-5QVNJEHU-pD4J4Xco.mjs → chunk-5QVNJEHU-0Om-Hby0.mjs} +2 -2
  42. package/dist/{chunk-5TONJI2A-BwxHXb6l.mjs → chunk-5TONJI2A-Du5dq0Ys.mjs} +2 -2
  43. package/dist/{chunk-5V6VZH6T-BslUs7qc.mjs → chunk-5V6VZH6T-D9prksm6.mjs} +2 -2
  44. package/dist/{chunk-5VM5RSS4-CHIwvYlB.mjs → chunk-5VM5RSS4-B9nF5Lzd.mjs} +2 -2
  45. package/dist/{chunk-62RKD26F-CQ3_xat_.mjs → chunk-62RKD26F-pjncC7By.mjs} +2 -2
  46. package/dist/{chunk-64BAICW3-BC9fynW-.mjs → chunk-64BAICW3-2hCf5wU5.mjs} +2 -2
  47. package/dist/{chunk-6Z5SFZXK-DXL8xXAg.mjs → chunk-6Z5SFZXK-eDS7YpbK.mjs} +2 -2
  48. package/dist/{chunk-74CEPOFO-BMp2K2yg.mjs → chunk-74CEPOFO-D5a5lNJR.mjs} +1 -1
  49. package/dist/{chunk-7BUUIJ7U-fAmGLgX5.mjs → chunk-7BUUIJ7U-CKtuqKC6.mjs} +2 -2
  50. package/dist/{chunk-7L36YK2X-3t0hnWY1.mjs → chunk-7L36YK2X-L3jD5RT-.mjs} +1 -1
  51. package/dist/{chunk-7TSDKFEO-B5SsJVbr.mjs → chunk-7TSDKFEO-Csacasvr.mjs} +1 -1
  52. package/dist/{chunk-A4HU7SVR-DfoZhmnP.mjs → chunk-A4HU7SVR-B6M8dLIA.mjs} +1 -1
  53. package/dist/{chunk-A4JSPFCI-Cux120UA.mjs → chunk-A4JSPFCI-CcbmCyG6.mjs} +2 -2
  54. package/dist/{chunk-A5O5YHGN-o5pxA52u.mjs → chunk-A5O5YHGN-C27iG4wY.mjs} +2 -2
  55. package/dist/{chunk-A65PWWJC-GAptCb-I.mjs → chunk-A65PWWJC-D_GAtJYb.mjs} +2 -2
  56. package/dist/{chunk-A7A2DBEE-BSr2clxw.mjs → chunk-A7A2DBEE-D1HWRTG-.mjs} +1 -1
  57. package/dist/{chunk-A7ICOL4V-CjiwzhhS.mjs → chunk-A7ICOL4V-C8N1DqNa.mjs} +2 -2
  58. package/dist/{chunk-ALLTKNUZ-DoK58avP.mjs → chunk-ALLTKNUZ-AOz3zDg8.mjs} +2 -2
  59. package/dist/{chunk-APT7OOP2-BQaqF8RQ.mjs → chunk-APT7OOP2-e8HVVYt4.mjs} +2 -2
  60. package/dist/{chunk-B74TABJS-BYzuvHKf.mjs → chunk-B74TABJS-BSazPoW8.mjs} +1 -1
  61. package/dist/{chunk-BGSUD5R5-B1XnW7TM.mjs → chunk-BGSUD5R5-BIZeqUja.mjs} +2 -2
  62. package/dist/{chunk-BIQX33UG-DRq8q_SM.mjs → chunk-BIQX33UG-CLYGAgEl.mjs} +2 -2
  63. package/dist/{chunk-C7G6YPKG-B1crnvB0.mjs → chunk-C7G6YPKG-Bd7km2QU.mjs} +2 -2
  64. package/dist/{chunk-CQNSW5MT-C6bTzUCm.mjs → chunk-CQNSW5MT-C4GcKMFe.mjs} +2 -2
  65. package/dist/{chunk-CWQS3NFK-BlLAUZpn.mjs → chunk-CWQS3NFK-HnFncXpd.mjs} +1 -1
  66. package/dist/{chunk-CYSBUYHQ-DLdQtj90.mjs → chunk-CYSBUYHQ-Bg8p94kN.mjs} +2 -2
  67. package/dist/{chunk-D4J545R4-hU2sCN2Z.mjs → chunk-D4J545R4-DstPCHY3.mjs} +2 -2
  68. package/dist/{chunk-D6CWQ5DW-BSok99Dd.mjs → chunk-D6CWQ5DW-B-mbMqx1.mjs} +2 -2
  69. package/dist/{chunk-D7MEQ3VN-30ZiNNs_.mjs → chunk-D7MEQ3VN-L5KTglFl.mjs} +2 -2
  70. package/dist/{chunk-DBKNVD4L-EJCI-Wpl.mjs → chunk-DBKNVD4L-TDavYUFP.mjs} +2 -2
  71. package/dist/{chunk-DCAAORBQ-DhdRNBI_.mjs → chunk-DCAAORBQ-CVYtUSXu.mjs} +2 -2
  72. package/dist/{chunk-DXB73IDG-Ox62dibI.mjs → chunk-DXB73IDG-q-dGnwlc.mjs} +1 -1
  73. package/dist/{chunk-EEXR5ZDP-BxPTZCTO.mjs → chunk-EEXR5ZDP-DKmcp163.mjs} +1 -1
  74. package/dist/{chunk-EIZGF4BS-CyaFisSR.mjs → chunk-EIZGF4BS-CF3xXFmY.mjs} +2 -2
  75. package/dist/{chunk-EMLP6XTP--uOozNBw.mjs → chunk-EMLP6XTP-DOWW1yTB.mjs} +2 -2
  76. package/dist/{chunk-EX3LRPZG-Dk9gva6E.mjs → chunk-EX3LRPZG-BMWHPlJp.mjs} +2 -2
  77. package/dist/{chunk-F23WWYKW-Bu4vWVb5.mjs → chunk-F23WWYKW-B1-WhWYU.mjs} +2 -2
  78. package/dist/{chunk-FWX5IMBZ-CLMJveA0.mjs → chunk-FWX5IMBZ-BAa0doOI.mjs} +2 -2
  79. package/dist/{chunk-GCTKCWKD-DeVIExUM.mjs → chunk-GCTKCWKD-C-I4uPLP.mjs} +1 -1
  80. package/dist/{chunk-GFQRA5P5-CqcXYmKy.mjs → chunk-GFQRA5P5-JJS41DJS.mjs} +1 -1
  81. package/dist/{chunk-GOV5EKKI-BMmLRdGz.mjs → chunk-GOV5EKKI-DMNNr1LX.mjs} +2 -2
  82. package/dist/{chunk-GXVXFKBA-CJJxmN2I.mjs → chunk-GXVXFKBA-CHoBbpeP.mjs} +2 -2
  83. package/dist/{chunk-HDQ56CKY-fy1jqg-_.mjs → chunk-HDQ56CKY-D4gBGBPX.mjs} +2 -2
  84. package/dist/{chunk-HJQJAYMS-Y0SFBjYL.mjs → chunk-HJQJAYMS-DfJokS61.mjs} +1 -1
  85. package/dist/{chunk-HJWBQKYG-D3Cd028p.mjs → chunk-HJWBQKYG-C34BatAz.mjs} +2 -2
  86. package/dist/{chunk-HKLCLINH-CTqL5EfM.mjs → chunk-HKLCLINH-C_zL5CHv.mjs} +3 -3
  87. package/dist/{chunk-HL6NGDO2-VT6a52k0.mjs → chunk-HL6NGDO2-CX48H9NQ.mjs} +2 -2
  88. package/dist/{chunk-HOUHSVGY-D822oa3I.mjs → chunk-HOUHSVGY-DEVfwHxJ.mjs} +2 -2
  89. package/dist/{chunk-HWKDQ44K-DJXGIPg5.mjs → chunk-HWKDQ44K-DvFquSuN.mjs} +2 -2
  90. package/dist/{chunk-I57KEIP3-ppa8L97a.mjs → chunk-I57KEIP3-C-GWJFeH.mjs} +2 -2
  91. package/dist/{chunk-ICXQ74PX-Cr0dJaYf.mjs → chunk-ICXQ74PX-BVMOo_rh.mjs} +2 -2
  92. package/dist/{chunk-IPJHKYVM-2ljR04mN.mjs → chunk-IPJHKYVM-h6H65Zzk.mjs} +1 -1
  93. package/dist/{chunk-JG7HCLWE-BA1IxsXx.mjs → chunk-JG7HCLWE-BL-hOXz_.mjs} +2 -2
  94. package/dist/{chunk-JVPRLUMK-16kFUNUi.mjs → chunk-JVPRLUMK-KIcPtJsL.mjs} +2 -2
  95. package/dist/{chunk-JWPE2WC7-DRCHpx1T.mjs → chunk-JWPE2WC7-B4cjhMJa.mjs} +2 -2
  96. package/dist/{chunk-K6LIBGJA-0YLvF23g.mjs → chunk-K6LIBGJA-DifITl-A.mjs} +2 -2
  97. package/dist/{chunk-KEIR6QF5-CbMVmbbA.mjs → chunk-KEIR6QF5-D5fHRjH_.mjs} +1 -1
  98. package/dist/{chunk-KMEYNNUA-CwyO53n5.mjs → chunk-KMEYNNUA-BulSmamX.mjs} +2 -2
  99. package/dist/{chunk-KRBPSX3W-kLM64L7F.mjs → chunk-KRBPSX3W-DrDWj6yq.mjs} +2 -2
  100. package/dist/{chunk-KX3P26DQ-DuuBB9Iu.mjs → chunk-KX3P26DQ-Di79jFtW.mjs} +1 -1
  101. package/dist/{chunk-LL3S3NLB-Cp81lwkJ.mjs → chunk-LL3S3NLB-rdnne998.mjs} +2 -2
  102. package/dist/{chunk-LTZRCH7N-VU8jqsvv.mjs → chunk-LTZRCH7N-CcW89saL.mjs} +2 -2
  103. package/dist/{chunk-LWEGUNWT-DSGl5TzB.mjs → chunk-LWEGUNWT-56p2g4nb.mjs} +2 -2
  104. package/dist/{chunk-MDDMCKUK-DZck49I0.mjs → chunk-MDDMCKUK-CL40B1CC.mjs} +2 -2
  105. package/dist/{chunk-MDLLFABN-V0yImvVO.mjs → chunk-MDLLFABN-CDjkVtAO.mjs} +2 -2
  106. package/dist/{chunk-MHTUABJP-HvBISxtE.mjs → chunk-MHTUABJP-D8V0hAkM.mjs} +1 -1
  107. package/dist/{chunk-MIZPJHVH-DGpooQ_3.mjs → chunk-MIZPJHVH-q38ahMm1.mjs} +2 -2
  108. package/dist/{chunk-MLXIYONF-lOlP54El.mjs → chunk-MLXIYONF-BwLP8wJ5.mjs} +2 -2
  109. package/dist/{chunk-MOJQB5TN-CZ6iucuh.mjs → chunk-MOJQB5TN-BlrHhlHB.mjs} +2 -2
  110. package/dist/{chunk-MOZMSUNE-CpteojMm.mjs → chunk-MOZMSUNE-CxsrZHOL.mjs} +2 -2
  111. package/dist/{chunk-MYE6AGBJ-C6WSmlNB.mjs → chunk-MYE6AGBJ-Dh-4DgDD.mjs} +2 -2
  112. package/dist/{chunk-NAERJDUW-CneISWcj.mjs → chunk-NAERJDUW-BKjqzg55.mjs} +2 -2
  113. package/dist/{chunk-NCNPKYJZ-Cu-qUSv2.mjs → chunk-NCNPKYJZ-D7DW6h8D.mjs} +2 -2
  114. package/dist/{chunk-NUYSJFDK-Do6l0AJc.mjs → chunk-NUYSJFDK-KW8uL1OU.mjs} +2 -2
  115. package/dist/{chunk-OCLXQMOG-ZaFJAtQp.mjs → chunk-OCLXQMOG-DyesF30h.mjs} +2 -2
  116. package/dist/{chunk-OCS6LSEM-TPIk3o36.mjs → chunk-OCS6LSEM-BuHq4vgI.mjs} +2 -2
  117. package/dist/{chunk-OGEWGWER-DcbEeYCc.mjs → chunk-OGEWGWER-Diyk7J65.mjs} +2 -2
  118. package/dist/{chunk-OJDRYQWQ-f3Z1QzT5.mjs → chunk-OJDRYQWQ-CmHyfN6x.mjs} +1 -1
  119. package/dist/{chunk-OSBZ3O6U-CgIaPbTu.mjs → chunk-OSBZ3O6U-xu2H_t-I.mjs} +2 -2
  120. package/dist/{chunk-PBXLG62G-BfXzkxtr.mjs → chunk-PBXLG62G-Dt3seCXC.mjs} +2 -2
  121. package/dist/{chunk-PP6PSHAB-CcaFFaq2.mjs → chunk-PP6PSHAB-BoToLAyG.mjs} +1 -1
  122. package/dist/{chunk-PUDLZKDR-9dANlbmh.mjs → chunk-PUDLZKDR-BIqiwjP2.mjs} +2 -2
  123. package/dist/{chunk-PXTK5WE2-61a3AYYa.mjs → chunk-PXTK5WE2-6yLfmmSs.mjs} +2 -2
  124. package/dist/{chunk-PYSFUGCK-B5DMIXaG.mjs → chunk-PYSFUGCK-DRdz7MOj.mjs} +2 -2
  125. package/dist/{chunk-Q4XR5HBZ-38YXyWmU.mjs → chunk-Q4XR5HBZ-CQiRMQNx.mjs} +2 -2
  126. package/dist/{chunk-QBLGF6JB-DVgcIx5c.mjs → chunk-QBLGF6JB-CZlF3VMT.mjs} +2 -2
  127. package/dist/{chunk-QCDB2VPH-l-szpN8N.mjs → chunk-QCDB2VPH-BnCQYX4A.mjs} +2 -2
  128. package/dist/{chunk-QJ7O6ZN3-DW6crNpo.mjs → chunk-QJ7O6ZN3-IyfDNhDN.mjs} +2 -2
  129. package/dist/{chunk-R6QSAL5T-DG_epkq4.mjs → chunk-R6QSAL5T-CK5T9nTq.mjs} +1 -1
  130. package/dist/{chunk-R6VWJ2ZL-maXiYFEy.mjs → chunk-R6VWJ2ZL-CQWpbRHp.mjs} +1 -1
  131. package/dist/{chunk-R7FJI6CG-CXpycGGu.mjs → chunk-R7FJI6CG-CxRbRaPW.mjs} +2 -2
  132. package/dist/{chunk-RPNGRAAP-DsTcWIWY.mjs → chunk-RPNGRAAP-Dm3Foy2a.mjs} +2 -2
  133. package/dist/{chunk-RYQCIY6F-D0mkTOXq.mjs → chunk-RYQCIY6F-DsJ8x3au.mjs} +2 -2
  134. package/dist/{chunk-SDNKECQQ-C6k9so9Y.mjs → chunk-SDNKECQQ-eDjS077u.mjs} +2 -2
  135. package/dist/{chunk-SNN4IESC-YDdCOrJS.mjs → chunk-SNN4IESC-dc9Emx2i.mjs} +2 -2
  136. package/dist/{chunk-T56QNPHK-CHeJdHn4.mjs → chunk-T56QNPHK-DcLcXLAt.mjs} +2 -2
  137. package/dist/{chunk-TLSUDHID-DuTMz3Tk.mjs → chunk-TLSUDHID-BOrmK-jg.mjs} +2 -2
  138. package/dist/{chunk-TOMNU26N-DNikuf0-.mjs → chunk-TOMNU26N-CfKJYNUm.mjs} +2 -2
  139. package/dist/{chunk-TP4BZANS-DmLwc2kG.mjs → chunk-TP4BZANS-EASixEFX.mjs} +2 -2
  140. package/dist/{chunk-TXBZCHCQ-Col-JdX_.mjs → chunk-TXBZCHCQ-CK2DQwjP.mjs} +2 -2
  141. package/dist/{chunk-U6XO7XAA-DSY38mpK.mjs → chunk-U6XO7XAA-ahVBPW6i.mjs} +2 -2
  142. package/dist/{chunk-V5MWI2OL-BN3EKpBR.mjs → chunk-V5MWI2OL-Cd1wUWKd.mjs} +2 -2
  143. package/dist/{chunk-V7JOEXUC-C5ib4xiC.mjs → chunk-V7JOEXUC-31UT4kI9.mjs} +2 -2
  144. package/dist/{chunk-V7TAPXDL-Dxh5e3zU.mjs → chunk-V7TAPXDL-B4X-oI_G.mjs} +2 -2
  145. package/dist/chunk-VAUOI2AC-Irj_jrJs.mjs +2 -0
  146. package/dist/{chunk-VJFXDYWH-BgdE4n6Z.mjs → chunk-VJFXDYWH-CYSruK3V.mjs} +2 -2
  147. package/dist/{chunk-VOBGTVA6-CBcxC-Sf.mjs → chunk-VOBGTVA6-D7PSswl5.mjs} +2 -2
  148. package/dist/{chunk-VR4S4FIN-jf24rhVx.mjs → chunk-VR4S4FIN-ClMSUBWQ.mjs} +2 -2
  149. package/dist/{chunk-VYOJP4TV-BDby1RAb.mjs → chunk-VYOJP4TV-Dv2fFnVt.mjs} +2 -2
  150. package/dist/{chunk-WKFATFPP--WTlAW5e.mjs → chunk-WKFATFPP-Dj6ID3dE.mjs} +2 -2
  151. package/dist/{chunk-WYO6CB5R-DqktMY2P.mjs → chunk-WYO6CB5R-Bu0g7bu2.mjs} +2 -2
  152. package/dist/{chunk-X2AJGDEF-CmgoYsnP.mjs → chunk-X2AJGDEF-BAGBpB2e.mjs} +1 -1
  153. package/dist/{chunk-XKQRETAK-CEVVGe_v.mjs → chunk-XKQRETAK-BFwrbyC7.mjs} +2 -2
  154. package/dist/{chunk-XKWWSDBF-DA5bR-kM.mjs → chunk-XKWWSDBF-CY0zm_d3.mjs} +2 -2
  155. package/dist/{chunk-XVDPCNWR-DM2iNkJU.mjs → chunk-XVDPCNWR-BeU4kyoN.mjs} +2 -2
  156. package/dist/chunk-XXDRQBXY-ClPfCVft.mjs +2 -0
  157. package/dist/{chunk-Y2CYZVJY-BBlcLUFu.mjs → chunk-Y2CYZVJY-D-AxePDr.mjs} +1 -1
  158. package/dist/{chunk-YMMW5UAP-uI8PBVuJ.mjs → chunk-YMMW5UAP-Dk_tcn_t.mjs} +2 -2
  159. package/dist/{chunk-YOTPTUD7-D8Hf5u1b.mjs → chunk-YOTPTUD7-BtJLrOsu.mjs} +2 -2
  160. package/dist/{chunk-YTNYSM6T-Dqq8ZsVN.mjs → chunk-YTNYSM6T-D70kTYmT.mjs} +2 -2
  161. package/dist/{chunk-YULBWSET-dtiOmSyC.mjs → chunk-YULBWSET-aTxOIZGk.mjs} +2 -2
  162. package/dist/{chunk-Z6LRHWXI-CK5HrtO9.mjs → chunk-Z6LRHWXI-BGPMNtJW.mjs} +2 -2
  163. package/dist/{chunk-Z7JVV2SM-BAYeFnjH.mjs → chunk-Z7JVV2SM-Y0p3CYM_.mjs} +2 -2
  164. package/dist/{chunk-ZGVPDNZ5-0A2bH77_.mjs → chunk-ZGVPDNZ5-DSVV_BiI.mjs} +2 -2
  165. package/dist/{chunk-ZIRB5QZD-DEXKfYqD.mjs → chunk-ZIRB5QZD-B2znOhor.mjs} +2 -2
  166. package/dist/{chunk-ZZO3UDB3-CHBCmcPq.mjs → chunk-ZZO3UDB3-R3zof8I8.mjs} +2 -2
  167. package/dist/classDiagram-OUVF2IWQ-CWObDbTU.mjs +2 -0
  168. package/dist/classDiagram-v2-EOCWNBFH-CUMl48K_.mjs +2 -0
  169. package/dist/clear-5CZ5X4YR-DiniSeCm.mjs +1 -0
  170. package/dist/cli.mjs +8 -8
  171. package/dist/colors-CUOU_72x.mjs +1 -0
  172. package/dist/{colors-BslXS0bZ.mjs → colors-_gzKDfrv.mjs} +1 -1
  173. package/dist/column-WLPMMSTS-B1OOeDAs.mjs +1 -0
  174. package/dist/comm-5SLSESQG-C4Rjg6X-.mjs +1 -0
  175. package/dist/constants-hkGRiNzn.mjs +2 -0
  176. package/dist/{cose-bilkent-JH36ORCC-CDMCL8Bi.mjs → cose-bilkent-JH36ORCC-DwAqPWSx.mjs} +2 -2
  177. package/dist/cp-XOYR4ABJ-sYSLIPgW.mjs +1 -0
  178. package/dist/{curl-47BFPSFW-mroj3eWi.mjs → curl-47BFPSFW-DtUGPJbr.mjs} +2 -2
  179. package/dist/cut-OPC3VAGB-Bh_filgx.mjs +1 -0
  180. package/dist/cynefin-VYW2F7L2-CEVi_iCC.mjs +1 -0
  181. package/dist/{cynefinDiagram-TSTJHNR4-Bl9N0jn2.mjs → cynefinDiagram-TSTJHNR4-Dp6ZCni9.mjs} +2 -2
  182. package/dist/{cytoscape.esm-oINUagAk.mjs → cytoscape.esm-B3Kjf-Bp.mjs} +1 -1
  183. package/dist/{dagre-BRDgQm9s.mjs → dagre-CTeiWCGh.mjs} +2 -2
  184. package/dist/{dagre-VKFMJZFB-DnGxEytM.mjs → dagre-VKFMJZFB-FTWgT7HO.mjs} +2 -2
  185. package/dist/date-DD7FVA2V-ByX6dFhf.mjs +1 -0
  186. package/dist/{defaultLocale-C2OwmdQz.mjs → defaultLocale-DPK87u2Z.mjs} +1 -1
  187. package/dist/{diagram-FQU43EPY-urwpbEO_.mjs → diagram-FQU43EPY-BgUehmaO.mjs} +2 -2
  188. package/dist/{diagram-G47NLZAW-ByO1P7uq.mjs → diagram-G47NLZAW-gH-Ih94q.mjs} +2 -2
  189. package/dist/{diagram-NH7WQ7WH-BHsZvybH.mjs → diagram-NH7WQ7WH-DYr1RvMm.mjs} +2 -2
  190. package/dist/{diagram-OA4YK3LP-DCfEUT17.mjs → diagram-OA4YK3LP-BRb4Y3EQ.mjs} +2 -2
  191. package/dist/{diagram-WEI45ONY-C9GDffrX.mjs → diagram-WEI45ONY-Bcifi75m.mjs} +2 -2
  192. package/dist/diff-HJF2MPDN-BvwqXcA5.mjs +1 -0
  193. package/dist/dirname-LEMTZZFS-DNEfkSJA.mjs +1 -0
  194. package/dist/{dist-szxx-3zj.mjs → dist-DODzJ7LG.mjs} +1 -1
  195. package/dist/dist-bundle-B-JhpGTG.mjs +1 -0
  196. package/dist/{dist-bundle-CXsoqjjc.mjs → dist-bundle-vlpIc23T.mjs} +1 -1
  197. package/dist/du-WO2ENHXQ-D_erNUzD.mjs +1 -0
  198. package/dist/{ebnfDiagram-CCIWWBDH-Wb318ghH.mjs → ebnfDiagram-CCIWWBDH-BlBla8lv.mjs} +2 -2
  199. package/dist/echo-O45JWWI2-B8YWvx1Q.mjs +1 -0
  200. package/dist/env-5EPCWSXR-Cor7cJ6o.mjs +1 -0
  201. package/dist/{erDiagram-Q63AITRT-Bi2wcQ67.mjs → erDiagram-Q63AITRT-BxKcPLGX.mjs} +2 -2
  202. package/dist/eventmodeling-45OFAUF4-BENS2g0X.mjs +1 -0
  203. package/dist/{execAsync-BqpCoDXT.mjs → execAsync-BUKncp0P.mjs} +1 -1
  204. package/dist/{execAsync-CnxS1O8r.mjs → execAsync-DEmazqCE.mjs} +1 -1
  205. package/dist/expand-DTNXU4LQ-CMN49iyc.mjs +1 -0
  206. package/dist/expansion-VBDYWVZR-e2HuIG0U.mjs +1 -0
  207. package/dist/expr-YYCVMXE3-VEQOsPiP.mjs +1 -0
  208. package/dist/file-IGDTDPLG-CsAmedJu.mjs +1 -0
  209. package/dist/find-DH2ALKQS-D4DqPp7j.mjs +1 -0
  210. package/dist/flag-coverage-6JEX67RU-D3X0I2ha.mjs +2 -0
  211. package/dist/flowDiagram-23GEKE2U-CD0oxQCp.mjs +1 -0
  212. package/dist/fold-LDSORVYE-CkAvzOUr.mjs +1 -0
  213. package/dist/{fs-traced-BISd_YTv.mjs → fs-traced-B-qtPUmb.mjs} +3 -3
  214. package/dist/fs-traced-BRzKbmYW.mjs +1 -0
  215. package/dist/{ganttDiagram-NO4QXBWP-CqiLLOBV.mjs → ganttDiagram-NO4QXBWP-DGpVzTxp.mjs} +2 -2
  216. package/dist/{getMachineId-bsd-CZgjlNQ2.mjs → getMachineId-bsd-BN-aHS3V.mjs} +2 -2
  217. package/dist/{getMachineId-bsd-D2ZupYV9.mjs → getMachineId-bsd-BZEr0yHg.mjs} +2 -2
  218. package/dist/{getMachineId-darwin-B_jPfTd1.mjs → getMachineId-darwin-BWLy_Kik.mjs} +2 -2
  219. package/dist/{getMachineId-darwin-ClB_QXja.mjs → getMachineId-darwin-CRdUTcMc.mjs} +2 -2
  220. package/dist/{getMachineId-linux-CQKxIpmc.mjs → getMachineId-linux-CVE8Y0Fo.mjs} +1 -1
  221. package/dist/{getMachineId-linux-JeSXZREP.mjs → getMachineId-linux-DX2JAnAv.mjs} +1 -1
  222. package/dist/{getMachineId-unsupported-B2n-ZUQv.mjs → getMachineId-unsupported-CA6ETHmi.mjs} +1 -1
  223. package/dist/{getMachineId-unsupported-C8BkbPxU.mjs → getMachineId-unsupported-DmJiNggJ.mjs} +1 -1
  224. package/dist/{getMachineId-win-BIEPGYfo.mjs → getMachineId-win-B_OXaWuM.mjs} +2 -2
  225. package/dist/{getMachineId-win-BwjtxqaR.mjs → getMachineId-win-nbjd9hhL.mjs} +2 -2
  226. package/dist/git-handle-DY72DIzL.mjs +1 -0
  227. package/dist/{git-handle-DJkXvQyT.mjs → git-handle-Kmafc544.mjs} +1 -1
  228. package/dist/gitGraph-TEB2WS4Q-C-obuzNL.mjs +1 -0
  229. package/dist/{gitGraphDiagram-IHSO6WYX-DZwzv-4F.mjs → gitGraphDiagram-IHSO6WYX-BHxhlO7y.mjs} +2 -2
  230. package/dist/{graphlib-yfSiy6Um.mjs → graphlib-BRVRb9Ce.mjs} +1 -1
  231. package/dist/grep-2HUTXO5U-BHpyAWOj.mjs +1 -0
  232. package/dist/gzip-AQXSGOVS-kgzROhmg.mjs +1 -0
  233. package/dist/head-HT2B6D2J-BkVS3Xmr.mjs +1 -0
  234. package/dist/help-VVWX7SA5-Cnq4Pk95.mjs +1 -0
  235. package/dist/history-J4QRNGRO-ChaCzoJD.mjs +1 -0
  236. package/dist/hostname-BK6HG2DE-TD2KmZjb.mjs +1 -0
  237. package/dist/html-to-markdown-TFCECAGV-DRmuleyA.mjs +1 -0
  238. package/dist/index-7O1fNicl.d.mts +6628 -0
  239. package/dist/index.d.mts +3 -6630
  240. package/dist/index.mjs +1 -1
  241. package/dist/info-DKCQHKI2-_AQUrTgC.mjs +1 -0
  242. package/dist/{infoDiagram-FWYZ7A6U-BM1Ls1Dh.mjs → infoDiagram-FWYZ7A6U-Be13xP1j.mjs} +2 -2
  243. package/dist/{init-6u-ABSZn.mjs → init-DDWCwe7k.mjs} +3 -3
  244. package/dist/{init-tbpbpLGt.mjs → init-DotcULIJ.mjs} +1 -1
  245. package/dist/init-jd5k1-cp.mjs +1 -0
  246. package/dist/{is-object-DKopTkoU.mjs → is-object-Bw0-z8qH.mjs} +1 -1
  247. package/dist/{ishikawaDiagram-FXEZZL3T-uTA-fAAk.mjs → ishikawaDiagram-FXEZZL3T-DTVMpa-_.mjs} +2 -2
  248. package/dist/join-GG2LDHE5-O6S65p4r.mjs +1 -0
  249. package/dist/{journeyDiagram-5HDEW3XC-Cw11aRYv.mjs → journeyDiagram-5HDEW3XC-BTWVlxLh.mjs} +2 -2
  250. package/dist/jq-LYZFFBZB-DTUwGGgl.mjs +1 -0
  251. package/dist/{js-exec-VXN6TZ7U-DsUBx8d6.mjs → js-exec-VXN6TZ7U-BJsjY3Aj.mjs} +2 -2
  252. package/dist/{kanban-definition-HUTT4EX6-Baff2PH6.mjs → kanban-definition-HUTT4EX6-g-tXrd8p.mjs} +2 -2
  253. package/dist/{launch-json-removal-D4WCZCs2.mjs → launch-json-removal-BEpF6f4C.mjs} +2 -2
  254. package/dist/{lib-C0NPuznE.mjs → lib-BpZC9d5Z.mjs} +1 -1
  255. package/dist/{lib-CQhjuFnl.mjs → lib-CE7ieLC-.mjs} +6 -6
  256. package/dist/{libesm-C_k4J_j_.mjs → libesm-CG75CrN9.mjs} +1 -1
  257. package/dist/{line-KDMlFQmk.mjs → line-Bq-Bigdz.mjs} +2 -2
  258. package/dist/{linear-Cknt1ah8.mjs → linear-DHgeTTi3.mjs} +2 -2
  259. package/dist/ln-4TRFBYAT-DErk_Yl0.mjs +1 -0
  260. package/dist/loader-B27f8C-M.mjs +1 -0
  261. package/dist/{loader-Co8_Z3Xs.mjs → loader-Ckek-jU0.mjs} +2 -2
  262. package/dist/{logger-CFNLuVy2.mjs → logger-CuGHGn_E.mjs} +2 -2
  263. package/dist/ls-KSXFZCWH-DQIF-HgH.mjs +1 -0
  264. package/dist/{lzma-BjHuRbmQ.mjs → lzma-66I-DF3D.mjs} +1 -1
  265. package/dist/{map-SPsRjb1g.mjs → map-DbF7r1vR.mjs} +2 -2
  266. package/dist/{mcp-migrate-event-9DFnNzHa.mjs → mcp-migrate-event-CWx0WLdE.mjs} +1 -1
  267. package/dist/md-manager-Burt5wQf.mjs +2 -0
  268. package/dist/md5sum-INMIK4DX-BElHH82h.mjs +1 -0
  269. package/dist/{mermaid-parser.core-OVAP8Q4-.mjs → mermaid-parser.core-Dq0Vyvhg.mjs} +2 -2
  270. package/dist/{mermaid.core-OAbCFO6G.mjs → mermaid.core-BeGj3DLy.mjs} +3 -3
  271. package/dist/{mindmap-definition-LN4V7U3C-BdjgcgYk.mjs → mindmap-definition-LN4V7U3C-BMIyW_lX.mjs} +2 -2
  272. package/dist/mkdir-TDEMSB6C-BnpJKc8r.mjs +1 -0
  273. package/dist/mv-Z6MORUFL-CFyBiApv.mjs +1 -0
  274. package/dist/nl-U5YJDM32-CgnuF_hC.mjs +1 -0
  275. package/dist/od-VJEF2UR5-BTJQNl6y.mjs +1 -0
  276. package/dist/{open-browser-D5VB75t8.mjs → open-browser-DwZulh9C.mjs} +2 -2
  277. package/dist/{ordinal-NM5hhhX_.mjs → ordinal-CUIZW000.mjs} +2 -2
  278. package/dist/packet-7NZHBO7P-CHMfNci8.mjs +1 -0
  279. package/dist/parse-worker.d.mts +1 -0
  280. package/dist/parse-worker.mjs +2 -0
  281. package/dist/paste-7N6AFSDS-CnLMuz8G.mjs +1 -0
  282. package/dist/{path-CuyLxhiv.mjs → path-BT3cGQxQ.mjs} +1 -1
  283. package/dist/{pegDiagram-2B236MQR-DJXjOpaI.mjs → pegDiagram-2B236MQR-j5NleAHq.mjs} +2 -2
  284. package/dist/pie-RZYD4A2V-02sGjUcO.mjs +1 -0
  285. package/dist/{pieDiagram-ENE6RG2P-B4q1JwNq.mjs → pieDiagram-ENE6RG2P-BGffNz0y.mjs} +2 -2
  286. package/dist/preview-CAmGJo6I.mjs +1 -0
  287. package/dist/{preview-CsOp4q2K.mjs → preview-Dg4Sbf4n.mjs} +2 -2
  288. package/dist/printf-CX64KX2P-DyVBy6Mg.mjs +1 -0
  289. package/dist/pwd-D4OZ7N27-Pga3crue.mjs +1 -0
  290. package/dist/{python3-DNGS4G3E-Chmc5h75.mjs → python3-DNGS4G3E-BPxhh_Jp.mjs} +2 -2
  291. package/dist/{quadrantDiagram-ABIIQ3AL-gmILsbML.mjs → quadrantDiagram-ABIIQ3AL-RE3ttQBG.mjs} +2 -2
  292. package/dist/radar-I7S5WNFK-gNSWd2rG.mjs +1 -0
  293. package/dist/railroad-3IZDKUUU-tTi02nbm.mjs +1 -0
  294. package/dist/railroad-abnf-AHOZXSZD-DD6KwCgt.mjs +1 -0
  295. package/dist/railroad-ebnf-EBAXGLYW-zJw8iMTp.mjs +1 -0
  296. package/dist/railroad-peg-LSFZ7HO6-8PbAUZs1.mjs +1 -0
  297. package/dist/{railroadDiagram-RFXS5EU6-CxpH1Rw0.mjs → railroadDiagram-RFXS5EU6-Co0UHOis.mjs} +2 -2
  298. package/dist/readlink-MI4GCHJF-D9QYkCU0.mjs +1 -0
  299. package/dist/{repair-launch-json-Dw-kyAe-.mjs → repair-launch-json-DVVkRMCr.mjs} +2 -2
  300. package/dist/{repair-mcp-configs-ETOH7oQP.mjs → repair-mcp-configs-DrNSiysY.mjs} +2 -2
  301. package/dist/{repair-skills-RJYUnfJN.mjs → repair-skills-Q9Gr8Nvl.mjs} +2 -2
  302. package/dist/repair-skills-pY9FxlXw.mjs +1 -0
  303. package/dist/{requirementDiagram-TGXJPOKE-8EY28vwz.mjs → requirementDiagram-TGXJPOKE-CkQZFeMs.mjs} +2 -2
  304. package/dist/rev-XOSYPP45-BGL4FR9H.mjs +1 -0
  305. package/dist/rg-XNF3R3II-BMfKONjk.mjs +1 -0
  306. package/dist/rm-RTZG23RL-vsz0Vtsc.mjs +1 -0
  307. package/dist/rmdir-XTQXT7RK-C9jARGFn.mjs +1 -0
  308. package/dist/{rough.cjs-qg3X_KxX.mjs → rough.cjs-s8-IvpYn.mjs} +1 -1
  309. package/dist/{sankeyDiagram-HTMAVEWB-Cw3uwIfR.mjs → sankeyDiagram-HTMAVEWB-CDausn8Y.mjs} +2 -2
  310. package/dist/sed-JAPPVBEU-YSD3Wwpz.mjs +1 -0
  311. package/dist/seq-RN5ZUASB-hcgHczjD.mjs +1 -0
  312. package/dist/{sequenceDiagram-DBY2YBRQ-CbJvsjVo.mjs → sequenceDiagram-DBY2YBRQ-B6TuF3qe.mjs} +2 -2
  313. package/dist/{server-lock-CZUtoKxB.mjs → server-lock-C2OcZirx.mjs} +2 -2
  314. package/dist/server-lock-DTx_Ih9P.mjs +1 -0
  315. package/dist/sha1sum-VJPNLNU6-KpqF3VUr.mjs +1 -0
  316. package/dist/sha256sum-PI32XWXY-BI7zTPJ3.mjs +1 -0
  317. package/dist/{sizeCapture-X5ZJPWSS-BYSWMkkU.mjs → sizeCapture-X5ZJPWSS-Btionz6c.mjs} +2 -2
  318. package/dist/sleep-VZFPZFWA-DNxq1g-4.mjs +1 -0
  319. package/dist/sort-DCNRDA7U-urKKiOkB.mjs +1 -0
  320. package/dist/split-SITCSYCZ-Dl-r5t6o.mjs +1 -0
  321. package/dist/sqlite3-TE5AIOTF-BKiscy5E.mjs +1 -0
  322. package/dist/src-BEaiZuXz.mjs +3264 -0
  323. package/dist/{src-VjJUBnUL.mjs → src-C4MRpQ6i.mjs} +1 -1
  324. package/dist/{src-CInsze10.mjs → src-CpXAv8Af.mjs} +3 -3
  325. package/dist/{src-82KBw76I.mjs → src-nvx4LAFk.mjs} +2 -2
  326. package/dist/start-B6LUCh2f.mjs +1 -0
  327. package/dist/{start-B3sAyodP.mjs → start-Ditv69eU.mjs} +2 -2
  328. package/dist/stat-BT5A227F-BzZhqUU7.mjs +1 -0
  329. package/dist/{stateDiagram-2N3HPSRC-CbMgPxbr.mjs → stateDiagram-2N3HPSRC-C_tdGYXg.mjs} +2 -2
  330. package/dist/stateDiagram-v2-6OUMAXLB-B9_dtBI0.mjs +2 -0
  331. package/dist/strings-7PLOGTPD-BYF-zQB5.mjs +1 -0
  332. package/dist/{swimlanes-5IMT3BWC-DENmmsj9.mjs → swimlanes-5IMT3BWC-DLXpBxPB.mjs} +2 -2
  333. package/dist/swimlanesDiagram-G3AALYLV-DnknHegw.mjs +9 -0
  334. package/dist/tac-SJGXQ4T2-ByjKkvjF.mjs +1 -0
  335. package/dist/tail-S5ULNTJU-Bu45hbfn.mjs +1 -0
  336. package/dist/tar-MZQD7NO4-COEqG_IX.mjs +1 -0
  337. package/dist/tee-O7VXZDCO-D5VPiyFZ.mjs +1 -0
  338. package/dist/time-DEUO3QV2-DTXF6o9u.mjs +1 -0
  339. package/dist/{timeline-definition-FHXFAJF6-CH0_gLZC.mjs → timeline-definition-FHXFAJF6-BtGgJVSL.mjs} +2 -2
  340. package/dist/timeout-VRKMCG72-BJzTDNVp.mjs +1 -0
  341. package/dist/touch-DX2IJOQ4-CJL2LWzm.mjs +1 -0
  342. package/dist/tr-2HXZRDSW-BMEHkLkI.mjs +1 -0
  343. package/dist/tree-LYXBS7DC-B9nDoMUt.mjs +1 -0
  344. package/dist/treeView-QDETBFTQ-b0kDTk8s.mjs +1 -0
  345. package/dist/treemap-6X3UGDF4-CbmqvOp3.mjs +1 -0
  346. package/dist/true-WHJNXCHG-BrTi18ZN.mjs +1 -0
  347. package/dist/unexpand-RGTMIGZM-Cz9o379Y.mjs +1 -0
  348. package/dist/uniq-SUNANL47-Jq_1JF4a.mjs +1 -0
  349. package/dist/{vennDiagram-L72KCM5P-C7mXTgc9.mjs → vennDiagram-L72KCM5P-DYDKnnjp.mjs} +2 -2
  350. package/dist/wardley-OPB4EBWU-58Nq0iPk.mjs +1 -0
  351. package/dist/{wardleyDiagram-EHGQE667-D3QVpMXy.mjs → wardleyDiagram-EHGQE667-M2W4S8Ng.mjs} +2 -2
  352. package/dist/wc-TQB3VNOX-8TWuJ_OV.mjs +1 -0
  353. package/dist/which-XZHEH76L-C0nS7069.mjs +1 -0
  354. package/dist/whoami-DGKU3D2X-BRFeF7SV.mjs +1 -0
  355. package/dist/{wrapper-DU1EzoHg.mjs → wrapper-BcpqREsI.mjs} +1 -1
  356. package/dist/{write-project-skill-TsM_THnF.mjs → write-project-skill-CMePkU0W.mjs} +2 -2
  357. package/dist/xan-UD7JYIL2-CsuyuKIz.mjs +1 -0
  358. package/dist/xan-view-OW2TB7Z3-BQPByClA.mjs +1 -0
  359. package/dist/xargs-I6EZUCYF-CfQ6WD0x.mjs +1 -0
  360. package/dist/{xychartDiagram-FW5EYKEG-BhayLxTO.mjs → xychartDiagram-FW5EYKEG-DX0dJSsD.mjs} +2 -2
  361. package/dist/{yazl-DZr4PyKA.mjs → yazl-BafwB467.mjs} +1 -1
  362. package/dist/yazl-vwTkB7U0.mjs +1 -0
  363. package/dist/yq-OAKYHSXH-q34fmnbQ.mjs +1 -0
  364. package/package.json +4 -4
  365. package/dist/alias-JE7RI5QX-DI0Bq_EB.mjs +0 -1
  366. package/dist/architecture-TIHT7OUA-DTmO1hz6.mjs +0 -1
  367. package/dist/awk2-BBAGSFUB-DBzckwgP.mjs +0 -1
  368. package/dist/base64-4YMZCVJ5-CfjbVa2B.mjs +0 -1
  369. package/dist/basename-AA2KJYZQ-BTeOcfgz.mjs +0 -1
  370. package/dist/bash-IJWYRKFO-DULWf0BJ.mjs +0 -1
  371. package/dist/build-BVrWJbF-.mjs +0 -1
  372. package/dist/cat-RDUMLXKC-COksFwfQ.mjs +0 -1
  373. package/dist/channel-8u5DyGCM.mjs +0 -2
  374. package/dist/chmod-SYMGL4JA-BrIA043A.mjs +0 -1
  375. package/dist/chunk-VAUOI2AC-LbYTm50o.mjs +0 -2
  376. package/dist/chunk-XXDRQBXY-DgBFT4Pj.mjs +0 -2
  377. package/dist/classDiagram-OUVF2IWQ-5ThYgAnz.mjs +0 -2
  378. package/dist/classDiagram-v2-EOCWNBFH-C4I6MeOb.mjs +0 -2
  379. package/dist/clear-5CZ5X4YR-oNv6FwpY.mjs +0 -1
  380. package/dist/colors-BR7qZmj-.mjs +0 -1
  381. package/dist/column-WLPMMSTS-BTF6gnMU.mjs +0 -1
  382. package/dist/comm-5SLSESQG-Bn8BHgnn.mjs +0 -1
  383. package/dist/constants-NqLesDwG.mjs +0 -2
  384. package/dist/cp-XOYR4ABJ-COPxQ0ww.mjs +0 -1
  385. package/dist/cut-OPC3VAGB-mpEAtb5h.mjs +0 -1
  386. package/dist/cynefin-VYW2F7L2-BHmUq7zo.mjs +0 -1
  387. package/dist/date-DD7FVA2V-BYADCIO4.mjs +0 -1
  388. package/dist/diff-HJF2MPDN-DEpIKOEz.mjs +0 -1
  389. package/dist/dirname-LEMTZZFS-DhQhIcuf.mjs +0 -1
  390. package/dist/dist-bundle-D643K2X4.mjs +0 -1
  391. package/dist/du-WO2ENHXQ-Bk1DJqzD.mjs +0 -1
  392. package/dist/echo-O45JWWI2-dtHsnzd1.mjs +0 -1
  393. package/dist/env-5EPCWSXR-DcK5OnxF.mjs +0 -1
  394. package/dist/eventmodeling-45OFAUF4-BHp050bu.mjs +0 -1
  395. package/dist/expand-DTNXU4LQ-Rv5C3VeN.mjs +0 -1
  396. package/dist/expansion-VBDYWVZR-CGdTmX54.mjs +0 -1
  397. package/dist/expr-YYCVMXE3-DGTsCso3.mjs +0 -1
  398. package/dist/file-IGDTDPLG-N-4JgRpn.mjs +0 -1
  399. package/dist/find-DH2ALKQS-cGy7rhto.mjs +0 -1
  400. package/dist/flag-coverage-6JEX67RU-B4jVEkvA.mjs +0 -2
  401. package/dist/flowDiagram-23GEKE2U-DxaJwFku.mjs +0 -1
  402. package/dist/fold-LDSORVYE-BhmvSO1f.mjs +0 -1
  403. package/dist/fs-traced-Bs45d5A7.mjs +0 -1
  404. package/dist/git-handle-CLfKANP-.mjs +0 -1
  405. package/dist/gitGraph-TEB2WS4Q-DcEeY7um.mjs +0 -1
  406. package/dist/grep-2HUTXO5U-XuMqfWUT.mjs +0 -1
  407. package/dist/gzip-AQXSGOVS-AhbZZj5P.mjs +0 -1
  408. package/dist/head-HT2B6D2J-Dvlo69Ju.mjs +0 -1
  409. package/dist/help-VVWX7SA5-BEEqpsbb.mjs +0 -1
  410. package/dist/history-J4QRNGRO-BEUhCPcV.mjs +0 -1
  411. package/dist/hostname-BK6HG2DE-Byw2ePll.mjs +0 -1
  412. package/dist/html-to-markdown-TFCECAGV-B9LGlxIh.mjs +0 -1
  413. package/dist/info-DKCQHKI2-NOfuI2Ar.mjs +0 -1
  414. package/dist/init-CSufcZa_.mjs +0 -1
  415. package/dist/join-GG2LDHE5-BOsiGEl2.mjs +0 -1
  416. package/dist/jq-LYZFFBZB-bhaBuxkL.mjs +0 -1
  417. package/dist/ln-4TRFBYAT-DMSz07tD.mjs +0 -1
  418. package/dist/loader-Brd9K-Oz.mjs +0 -1
  419. package/dist/ls-KSXFZCWH-mBI9rzUz.mjs +0 -1
  420. package/dist/md5sum-INMIK4DX-Bnbn05vV.mjs +0 -1
  421. package/dist/mkdir-TDEMSB6C-EsVKcoU8.mjs +0 -1
  422. package/dist/mv-Z6MORUFL-B5Kt-RKF.mjs +0 -1
  423. package/dist/nl-U5YJDM32-Ch2FJuA8.mjs +0 -1
  424. package/dist/od-VJEF2UR5-B8kZKZ_P.mjs +0 -1
  425. package/dist/packet-7NZHBO7P-Bgtj9iP7.mjs +0 -1
  426. package/dist/paste-7N6AFSDS-C0Ychn_t.mjs +0 -1
  427. package/dist/pie-RZYD4A2V-DXKnIv1t.mjs +0 -1
  428. package/dist/preview-CvyGNXPF.mjs +0 -1
  429. package/dist/printf-CX64KX2P-s2TjuvrH.mjs +0 -1
  430. package/dist/pwd-D4OZ7N27-CL5bDMuK.mjs +0 -1
  431. package/dist/radar-I7S5WNFK-pt6R8mrT.mjs +0 -1
  432. package/dist/railroad-3IZDKUUU-D9kj_Szm.mjs +0 -1
  433. package/dist/railroad-abnf-AHOZXSZD-D7kluR81.mjs +0 -1
  434. package/dist/railroad-ebnf-EBAXGLYW-BGSDI5QV.mjs +0 -1
  435. package/dist/railroad-peg-LSFZ7HO6-CGizyVjb.mjs +0 -1
  436. package/dist/readlink-MI4GCHJF-BJKcj2mQ.mjs +0 -1
  437. package/dist/repair-skills-CgvYA2Tj.mjs +0 -1
  438. package/dist/rev-XOSYPP45-ClOUu8f9.mjs +0 -1
  439. package/dist/rg-XNF3R3II-BwgLjVWV.mjs +0 -1
  440. package/dist/rm-RTZG23RL-k5Ug_B0L.mjs +0 -1
  441. package/dist/rmdir-XTQXT7RK-Br3rY6bZ.mjs +0 -1
  442. package/dist/sed-JAPPVBEU-3hr78ajc.mjs +0 -1
  443. package/dist/seq-RN5ZUASB-DrbB_0Ar.mjs +0 -1
  444. package/dist/server-lock-BECLNx_T.mjs +0 -1
  445. package/dist/sha1sum-VJPNLNU6-CcPdRzmt.mjs +0 -1
  446. package/dist/sha256sum-PI32XWXY-Da8LquSF.mjs +0 -1
  447. package/dist/sleep-VZFPZFWA-DIFVf6xy.mjs +0 -1
  448. package/dist/sort-DCNRDA7U-BJaoT7OD.mjs +0 -1
  449. package/dist/split-SITCSYCZ-D4eW7nbz.mjs +0 -1
  450. package/dist/sqlite3-TE5AIOTF-je83ck2F.mjs +0 -1
  451. package/dist/src-BG_IUe5R.mjs +0 -3262
  452. package/dist/start-BYPkRdeX.mjs +0 -1
  453. package/dist/stat-BT5A227F-Bk40Xkzu.mjs +0 -1
  454. package/dist/stateDiagram-v2-6OUMAXLB-DI_CQZy4.mjs +0 -2
  455. package/dist/strings-7PLOGTPD-XZTzyUaT.mjs +0 -1
  456. package/dist/swimlanesDiagram-G3AALYLV-BTo6dPTQ.mjs +0 -9
  457. package/dist/tac-SJGXQ4T2-Bm_Y5ugI.mjs +0 -1
  458. package/dist/tail-S5ULNTJU-Ds8iKUFI.mjs +0 -1
  459. package/dist/tar-MZQD7NO4-CajvOg1L.mjs +0 -1
  460. package/dist/tee-O7VXZDCO-THZ1zQTX.mjs +0 -1
  461. package/dist/time-DEUO3QV2-CTm_jWFh.mjs +0 -1
  462. package/dist/timeout-VRKMCG72-Dd-Yncgv.mjs +0 -1
  463. package/dist/touch-DX2IJOQ4-Bthkmgnh.mjs +0 -1
  464. package/dist/tr-2HXZRDSW-BjJz7Kfh.mjs +0 -1
  465. package/dist/tree-LYXBS7DC-EvPgF-2J.mjs +0 -1
  466. package/dist/treeView-QDETBFTQ-CclCFy2w.mjs +0 -1
  467. package/dist/treemap-6X3UGDF4-CrMJScQa.mjs +0 -1
  468. package/dist/true-WHJNXCHG-BCEPttpp.mjs +0 -1
  469. package/dist/unexpand-RGTMIGZM-WBKrg7z4.mjs +0 -1
  470. package/dist/uniq-SUNANL47-ChxGEuti.mjs +0 -1
  471. package/dist/wardley-OPB4EBWU-C4Yz6reu.mjs +0 -1
  472. package/dist/wc-TQB3VNOX-lYA9NggO.mjs +0 -1
  473. package/dist/which-XZHEH76L-DnhndoTX.mjs +0 -1
  474. package/dist/whoami-DGKU3D2X-BNC26TrG.mjs +0 -1
  475. package/dist/xan-UD7JYIL2-D-9V_kNe.mjs +0 -1
  476. package/dist/xan-view-OW2TB7Z3-D4gcWdMH.mjs +0 -1
  477. package/dist/xargs-I6EZUCYF-ldP_aGxo.mjs +0 -1
  478. package/dist/yazl-jVENrf5i.mjs +0 -1
  479. package/dist/yq-OAKYHSXH-DBiCi7k1.mjs +0 -1
@@ -1,4 +1,4 @@
1
- import{o as e,t}from"./chunk-DTipWd-i.mjs";import{n}from"./wrapper-DU1EzoHg.mjs";import{Blob as r,Buffer as i}from"buffer";import{TextDecoder as a,TextEncoder as o}from"util";import s,{webcrypto as c}from"crypto";import l from"zlib";import u from"stream";import d from"fs";import f from"path";import{URL as p,URLSearchParams as ee}from"url";import te from"child_process";import ne from"http";import re from"https";import{isIP as ie}from"net";import{PerformanceEntry as ae,PerformanceObserver as oe}from"node:perf_hooks";import{ReadableStream as se}from"stream/web";import ce,{Script as le}from"vm";const ue=Symbol(`abort`),de=Symbol(`activeElement`),fe=Symbol(`asyncTaskManager`),pe=Symbol(`bodyBuffer`),me=Symbol(`buffer`),he=Symbol(`cachedResponse`),ge=Symbol(`callbacks`),_e=Symbol(`checked`),ve=Symbol(`childNodes`),ye=Symbol(`children`),be=Symbol(`classList`),xe=Symbol(`connectedToNode`),Se=Symbol(`disconnectedFromNode`),Ce=Symbol(`connectedToDocument`),we=Symbol(`disconnectedFromDocument`),Te=Symbol(`contentLength`),Ee=Symbol(`contentType`),De=Symbol(`cssText`),Oe=Symbol(`currentScript`),ke=Symbol(`currentTarget`),Ae=Symbol(`data`),je=Symbol(`defaultView`),Me=Symbol(`destroy`),Ne=Symbol(`dirtyness`),m=Symbol(`end`),Pe=Symbol(`entries`),Fe=Symbol(`evaluateScript`),Ie=Symbol(`exceptionObserver`),Le=Symbol(`formNode`),Re=Symbol(`internalId`),h=Symbol(`height`),ze=Symbol(`immediatePropagationStopped`),Be=Symbol(`indeterminate`),Ve=Symbol(`isFirstWrite`),He=Symbol(`isFirstWriteAfterOpen`),Ue=Symbol(`isInPassiveEventListener`),We=Symbol(`isValue`),Ge=Symbol(`listenerOptions`),Ke=Symbol(`listeners`),qe=Symbol(`itemsByName`),Je=Symbol(`nextActiveElement`),Ye=Symbol(`observeMutations`),Xe=Symbol(`mutationListeners`),g=Symbol(`ownerDocument`),Ze=Symbol(`ownerElement`),Qe=Symbol(`propagationStopped`),$e=Symbol(`readyStateManager`),et=Symbol(`referrer`),tt=Symbol(`registry`),nt=Symbol(`relList`),rt=Symbol(`resetSelection`),it=Symbol(`rootNode`),at=Symbol(`selectNode`),ot=Symbol(`selectedness`),st=Symbol(`selection`),ct=Symbol(`setupVMContext`),lt=Symbol(`shadowRoot`),_=Symbol(`start`),ut=Symbol(`style`),dt=Symbol(`target`),ft=Symbol(`textAreaNode`),pt=Symbol(`unobserveMutations`),mt=Symbol(`reportMutation`),ht=Symbol(`updateSelectedness`),gt=Symbol(`url`),v=Symbol(`value`),y=Symbol(`width`),b=Symbol(`window`),_t=Symbol(`windowResizeListener`),vt=Symbol(`mutationObservers`),yt=Symbol(`openerFrame`),bt=Symbol(`openerWindow`),xt=Symbol(`pointerCaptures`),St=Symbol(`popup`),x=Symbol(`isConnected`),S=Symbol(`parentNode`),C=Symbol(`nodeType`),w=Symbol(`tagName`),Ct=Symbol(`prefix`),wt=Symbol(`scrollHeight`),Tt=Symbol(`scrollWidth`),Et=Symbol(`scrollTop`),Dt=Symbol(`scrollLeft`),Ot=Symbol(`attributes`),kt=Symbol(`attributesProxy`),T=Symbol(`namespaceURI`),At=Symbol(`accessKey`),jt=Symbol(`offsetHeight`),Mt=Symbol(`offsetWidth`),Nt=Symbol(`offsetLeft`),Pt=Symbol(`offsetTop`),Ft=Symbol(`clientHeight`),It=Symbol(`clientWidth`),Lt=Symbol(`clientLeft`),Rt=Symbol(`clientTop`),E=Symbol(`name`),zt=Symbol(`specified`),Bt=Symbol(`adoptedStyleSheets`),Vt=Symbol(`implementation`),Ht=Symbol(`readyState`),Ut=Symbol(`publicId`),Wt=Symbol(`systemId`),Gt=Symbol(`validationMessage`),Kt=Symbol(`validity`),qt=Symbol(`returnValue`),Jt=Symbol(`elements`),Yt=Symbol(`complete`),Xt=Symbol(`naturalHeight`),Zt=Symbol(`naturalWidth`),Qt=Symbol(`loading`),D=Symbol(`x`),O=Symbol(`y`),$t=Symbol(`files`),en=Symbol(`sheet`),tn=Symbol(`volume`),nn=Symbol(`paused`),rn=Symbol(`currentTime`),an=Symbol(`playbackRate`),on=Symbol(`defaultPlaybackRate`),sn=Symbol(`muted`),cn=Symbol(`defaultMuted`),ln=Symbol(`preservesPitch`),un=Symbol(`buffered`),dn=Symbol(`duration`),fn=Symbol(`error`),pn=Symbol(`ended`),mn=Symbol(`networkState`),hn=Symbol(`textTracks`),gn=Symbol(`seeking`),_n=Symbol(`seekable`),vn=Symbol(`played`),yn=Symbol(`options`),bn=Symbol(`content`),xn=Symbol(`mode`),Sn=Symbol(`host`),Cn=Symbol(`setURL`),k=Symbol(`localName`),wn=Symbol(`classRegistry`),Tn=Symbol(`nodeStream`),En=Symbol(`location`),Dn=Symbol(`history`),On=Symbol(`navigator`),kn=Symbol(`screen`),An=Symbol(`sessionStorage`),jn=Symbol(`localStorage`),Mn=Symbol(`sandbox`),Nn=Symbol(`cloneNode`),Pn=Symbol(`appendChild`),Fn=Symbol(`removeChild`),In=Symbol(`insertBefore`),Ln=Symbol(`replaceChild`),Rn=Symbol(`tracks`),zn=Symbol(`constraints`),Bn=Symbol(`capabilities`),Vn=Symbol(`settings`),Hn=Symbol(`removeNamedItem`),A=Symbol(`items`),Un=Symbol(`selectedOptions`),Wn=Symbol(`styleNode`),Gn=Symbol(`updateSheet`),Kn=Symbol(`clearCache`),qn=Symbol(`onSetAttribute`),Jn=Symbol(`onRemoveAttribute`),j=Symbol(`nodeArray`),Yn=Symbol(`elementArray`),M=Symbol(`cache`),Xn=Symbol(`affectsCache`),Zn=Symbol(`forms`),Qn=Symbol(`affectsComputedStyleCache`),$n=Symbol(`query`),er=Symbol(`computedStyle`),tr=Symbol(`getFormControlItems`),nr=Symbol(`getFormControlNamedItem`),rr=Symbol(`dataset`),ir=Symbol(`itemsByNamespaceURI`),ar=Symbol(`proxy`),or=Symbol(`setNamedItem`),sr=Symbol(`getTokenList`),cr=Symbol(`attributeName`),lr=Symbol(`selectedIndex`),ur=Symbol(`self`),dr=Symbol(`parent`),fr=Symbol(`top`),pr=Symbol(`areas`),mr=Symbol(`defaultValue`),hr=Symbol(`elementIdMap`),gr=Symbol(`clonable`),_r=Symbol(`delegatesFocus`),vr=Symbol(`serializable`),yr=Symbol(`slotAssignment`),br=Symbol(`assignedNodes`),xr=Symbol(`assignedToSlot`),Sr=Symbol(`cells`),Cr=Symbol(`rows`),wr=Symbol(`headers`),Tr=Symbol(`tBodies`),Er=Symbol(`track`),Dr=Symbol(`controlsList`),Or=Symbol(`mediaKeys`),kr=Symbol(`remote`),Ar=Symbol(`sinkId`),jr=Symbol(`srcObject`),Mr=Symbol(`cues`),Nr=Symbol(`activeCues`),Pr=Symbol(`kind`),Fr=Symbol(`label`),Ir=Symbol(`language`),Lr=Symbol(`id`),N=Symbol(`illegalConstructor`),Rr=Symbol(`state`),zr=Symbol(`canvas`),Br=Symbol(`popoverTargetElement`),Vr=Symbol(`composed`),Hr=Symbol(`bubbles`),Ur=Symbol(`cancelable`),Wr=Symbol(`defaultPrevented`),Gr=Symbol(`eventPhase`),Kr=Symbol(`timeStamp`),qr=Symbol(`type`),Jr=Symbol(`detail`),Yr=Symbol(`destroyed`),Xr=Symbol(`aborted`),Zr=Symbol(`browserFrames`),Qr=Symbol(`windowInternalId`),P=Symbol(`getItemList`),$r=Symbol(`requiredExtensions`),ei=Symbol(`systemLanguage`),ti=Symbol(`transform`),ni=Symbol(`baseVal`),ri=Symbol(`animVal`),ii=Symbol(`pathLength`),ai=Symbol(`viewBox`),oi=Symbol(`markerUnits`),si=Symbol(`markerWidth`),ci=Symbol(`markerHeight`),li=Symbol(`values`),ui=Symbol(`orientType`),di=Symbol(`orientAngle`),fi=Symbol(`refX`),pi=Symbol(`refY`),F=Symbol(`readOnly`),mi=Symbol(`preserveAspectRatio`),hi=Symbol(`animatedPoints`),gi=Symbol(`points`),_i=Symbol(`rx`),vi=Symbol(`ry`),yi=Symbol(`cx`),bi=Symbol(`cy`),xi=Symbol(`r`),Si=Symbol(`clipPathUnits`),Ci=Symbol(`maskUnits`),wi=Symbol(`maskContentUnits`),Ti=Symbol(`filterUnits`),Ei=Symbol(`primitiveUnits`),Di=Symbol(`href`),Oi=Symbol(`x1`),ki=Symbol(`y1`),Ai=Symbol(`x2`),ji=Symbol(`y2`),Mi=Symbol(`gradientUnits`),Ni=Symbol(`gradientTransform`),Pi=Symbol(`spreadMethod`),Fi=Symbol(`patternUnits`),Ii=Symbol(`patternContentUnits`),Li=Symbol(`patternTransform`),Ri=Symbol(`fx`),zi=Symbol(`fy`),Bi=Symbol(`offset`),Vi=Symbol(`disabled`),Hi=Symbol(`textLength`),Ui=Symbol(`lengthAdjust`),I=Symbol(`getAttribute`),L=Symbol(`setAttribute`),Wi=Symbol(`z`),Gi=Symbol(`w`),Ki=Symbol(`toArray`),qi=Symbol(`fromString`),Ji=Symbol(`fromArray`),Yi=Symbol(`m11`),Xi=Symbol(`m12`),Zi=Symbol(`m13`),Qi=Symbol(`m14`),$i=Symbol(`m21`),ea=Symbol(`m22`),ta=Symbol(`m23`),na=Symbol(`m24`),ra=Symbol(`m31`),ia=Symbol(`m32`),aa=Symbol(`m33`),oa=Symbol(`m34`),sa=Symbol(`m41`),ca=Symbol(`m42`),la=Symbol(`m43`),ua=Symbol(`m44`),da=Symbol(`setMatrixValue`),fa=Symbol(`translateSelf`),pa=Symbol(`rotateSelf`),ma=Symbol(`rotateAxisAngleSelf`),ha=Symbol(`scaleSelf`),ga=Symbol(`scale3dSelf`),_a=Symbol(`scaleNonUniformSelf`),va=Symbol(`skewXSelf`),ya=Symbol(`skewYSelf`),ba=Symbol(`multiplySelf`),xa=Symbol(`matrix`),Sa=Symbol(`getDOMMatrix`),Ca=Symbol(`setDOMMatrix`),R=Symbol(`attributeValue`),wa=Symbol(`startOffset`),Ta=Symbol(`method`),Ea=Symbol(`spacing`),z=Symbol(`in1`),Da=Symbol(`in2`),B=Symbol(`result`),Oa=Symbol(`bias`),ka=Symbol(`divisor`),Aa=Symbol(`edgeMode`),ja=Symbol(`kernelMatrix`),Ma=Symbol(`kernelUnitLengthX`),Na=Symbol(`kernelUnitLengthY`),Pa=Symbol(`orderX`),Fa=Symbol(`orderY`),Ia=Symbol(`preserveAlpha`),La=Symbol(`targetX`),Ra=Symbol(`targetY`),za=Symbol(`diffuseConstant`),Ba=Symbol(`surfaceScale`),Va=Symbol(`scale`),Ha=Symbol(`xChannelSelector`),Ua=Symbol(`yChannelSelector`),Wa=Symbol(`azimuth`),Ga=Symbol(`elevation`),Ka=Symbol(`dx`),qa=Symbol(`dy`),Ja=Symbol(`stdDeviationX`),Ya=Symbol(`stdDeviationY`),Xa=Symbol(`tableValues`),Za=Symbol(`slope`),Qa=Symbol(`intercept`),$a=Symbol(`amplitude`),eo=Symbol(`exponent`),to=Symbol(`crossOrigin`),no=Symbol(`operator`),ro=Symbol(`radiusX`),io=Symbol(`radiusY`),ao=Symbol(`specularConstant`),oo=Symbol(`specularExponent`),so=Symbol(`pointsAtX`),co=Symbol(`pointsAtY`),lo=Symbol(`pointsAtZ`),uo=Symbol(`limitingConeAngle`),fo=Symbol(`baseFrequencyX`),po=Symbol(`baseFrequencyY`),mo=Symbol(`numOctaves`),ho=Symbol(`seed`),go=Symbol(`stitchTiles`),_o=Symbol(`rotateFromVectorSelf`),vo=Symbol(`flipXSelf`),yo=Symbol(`flipYSelf`),bo=Symbol(`invertSelf`),xo=Symbol(`getLength`),So=Symbol(`currentScale`),Co=Symbol(`rotate`),wo=Symbol(`bindMethods`),To=Symbol(`xmlProcessingInstruction`),Eo=Symbol(`filterNode`),Do=Symbol(`customElementReactionStack`),Oo=Symbol(`dispatching`),ko=Symbol(`modules`),Ao=Symbol(`preloads`),jo=Symbol(`body`),Mo=Symbol(`redirect`),No=Symbol(`referrerPolicy`),Po=Symbol(`signal`),Fo=Symbol(`bodyUsed`),Io=Symbol(`credentials`),Lo=Symbol(`blocking`),Ro=Symbol(`moduleImportMap`),zo=Symbol(`dispatchError`),Bo=Symbol(`supports`),Vo=Symbol(`reason`),V=Symbol(`propertyEventListeners`),Ho=Symbol(`cssRules`),Uo=Symbol(`parentRule`),Wo=Symbol(`parentStyleSheet`),Go=Symbol(`conditionText`),Ko=Symbol(`keyText`),qo=Symbol(`media`),Jo=Symbol(`styleMap`),Yo=Symbol(`selectorText`),Xo=Symbol(`cssParser`),Zo=Symbol(`cssRule`),Qo=Symbol(`rulePrefix`),$o=Symbol(`virtualServerFile`),es=Symbol(`frames`),ts=Symbol(`disableEvaluation`),ns=Symbol(`validateJavaScriptExecutionEnvironment`),rs=Symbol(`openWebSockets`),is=Symbol(`webSocket`),as=Symbol(`moduleCache`),os=Symbol(`context`),ss=Symbol(`querySelectorCache`);var cs;(function(e){e.strict=`Strict`,e.lax=`Lax`,e.none=`None`})(cs||={});var ls=cs,us={key:null,originURL:null,value:null,domain:``,path:``,expires:null,httpOnly:!1,secure:!1,sameSite:ls.lax},ds=class{static hasExpired(e){return e.expires&&e.expires.getTime()<Date.now()}},fs=class{static cookieMatchesURL(e,t){let n=t.hostname===`localhost`||t.hostname?.endsWith(`.localhost`);return(!e.secure||t.protocol===`https:`||n)&&(!e.domain||t.hostname?.endsWith(e.domain))&&(!e.path||t.pathname?.startsWith(e.path))&&(e.sameSite===ls.none&&e.secure||e.originURL?.hostname===t.hostname)}},ps=class{#e=[];addCookies(e){let t=new Map,n=e=>`${e.key}-${e.originURL.hostname}-${e.path}-${typeof e.value}`;for(let e=0,r=this.#e.length;e<r;e++)t.set(n(this.#e[e]),e);for(let r of e){let e=Object.assign({},us,r);if(e&&e.key&&e.originURL){let r=t.get(n(e));r!==void 0&&this.#e.splice(r,1),ds.hasExpired(e)||(t.set(n(e),this.#e.length),this.#e.push(e))}}}getCookies(e=null,t=!1){let n=[];for(let r of this.#e)!ds.hasExpired(r)&&(!t||!r.httpOnly)&&(!e||fs.cookieMatchesURL(r,e))&&n.push(r);return n}clearCookies(){this.#e=[]}},ms;(function(e){e.fresh=`fresh`,e.stale=`stale`})(ms||={});var hs=ms,gs;(function(e){e.invalidStateError=`InvalidStateError`,e.indexSizeError=`IndexSizeError`,e.syntaxError=`SyntaxError`,e.hierarchyRequestError=`HierarchyRequestError`,e.notSupportedError=`NotSupportedError`,e.wrongDocumentError=`WrongDocumentError`,e.invalidNodeTypeError=`InvalidNodeTypeError`,e.invalidCharacterError=`InvalidCharacterError`,e.notFoundError=`NotFoundError`,e.securityError=`SecurityError`,e.networkError=`NetworkError`,e.domException=`DOMException`,e.invalidAccessError=`InvalidAccessError`,e.unknownError=`UnknownError`,e.abortError=`AbortError`,e.timeoutError=`TimeoutError`,e.encodingError=`EncodingError`,e.uriMismatchError=`URIMismatchError`,e.inUseAttributeError=`InUseAttributeError`,e.namespaceError=`NamespaceError`})(gs||={});var H=gs,_s=class extends Error{constructor(e,t=null){super(e),this.name=t||H.domException}},vs=class e{[Pe]={};constructor(t){if(t)if(t instanceof e)this[Pe]=JSON.parse(JSON.stringify(t[Pe]));else if(Array.isArray(t))for(let e of t){if(e.length!==2)throw new _s(`Failed to construct "Headers": The provided init is not a valid array.`,H.invalidStateError);this.append(e[0],e[1])}else for(let e of Object.keys(t))this.set(e,t[e])}append(e,t){let n=e.toLowerCase();this[Pe][n]?this[Pe][n].value.push(t):this[Pe][n]={name:e,value:[t]}}delete(e){delete this[Pe][e.toLowerCase()]}get(e){return this[Pe][e.toLowerCase()]?.value.join(`, `)??null}set(e,t){this[Pe][e.toLowerCase()]={name:e,value:[t]}}getSetCookie(){let e=this[Pe][`set-cookie`];return e?e.value:[]}has(e){return!!this[Pe][e.toLowerCase()]}forEach(e,t){let n=t??this[b];for(let t of Object.values(this[Pe]))e.call(n,t.value.join(`, `),t.name,this)}*keys(){for(let e of Object.values(this[Pe]))yield e.name}*values(){for(let e of Object.values(this[Pe]))yield e.value.join(`, `)}*entries(){for(let e of Object.values(this[Pe]))yield[e.name,e.value.join(`, `)]}*[Symbol.iterator](){for(let e of Object.values(this[Pe]))yield[e.name,e.value.join(`, `)]}},ys=class{#e=new Set;#t=new Set;#n;constructor(e){this.#n=e}async load(e){if(!e)throw Error(`Failed to execute 'load' on 'ResponseCacheFileSystem': Directory is not specified.`);let t=f.resolve(e),n=[];try{n=await d.promises.readdir(t)}catch{return}let r=[],i=this.#n;for(let e of n)e.endsWith(`.json`)&&r.push(d.promises.readFile(f.join(t,e),`utf8`).then(n=>{let r=JSON.parse(n);if(r.response&&r.request&&!r.virtual)return r.response.headers=new vs(r.response.headers),r.request.headers=new vs(r.request.headers),d.promises.readFile(f.join(t,e.split(`.`)[0]+`.data`)).then(e=>{r.response.body=e;let t=i.get(r.response.url);t||(t=[],i.set(r.response.url,t)),t.push(r)}).catch(()=>{let e=i.get(r.response.url);e||(e=[],i.set(r.response.url,e)),e.push(r)})}).catch(()=>{}));await Promise.all(r)}async save(e){if(!e)throw Error(`Failed to execute 'store' on 'ResponseCacheFileSystem': Directory is not specified.`);if(!this.#n.size)return;let t=f.resolve(e);if(!this.#e.has(t)){this.#e.add(t);try{await d.promises.mkdir(t,{recursive:!0})}catch{}}let n=this.#n,r=[];for(let e of n.values())for(let n of e)if(!n.virtual){let e={},i={};for(let[t,r]of n.response.headers.entries())e[t]=r;for(let[e,t]of n.request.headers.entries())i[e]=t;let a={...n,response:{...n.response,headers:e,body:null},request:{...n.request,headers:i}},o=JSON.stringify(a,null,3),c=s.createHash(`md5`).update(o).digest(`hex`);this.#t.has(c)||(this.#t.add(c),r.push(d.promises.writeFile(f.join(t,`${c}.json`),o)),n.response.body&&r.push(d.promises.writeFile(f.join(t,`${c}.data`),n.response.body)))}await Promise.all(r)}};const bs=[`Cache-Control`,`Last-Modified`,`Vary`,`ETag`];var xs=class{fileSystem;#e=new Map;constructor(){this.fileSystem=new ys(this.#e)}get(e){if(e.headers.get(`Cache-Control`)?.includes(`no-cache`))return null;let t=e.url,n=this.#e.get(t);if(n)for(let t=0,r=n.length;t<r;t++){let r=n[t],i=r.request.method===e.method;if(i)for(let t of Object.keys(r.vary)){let n=e.headers.get(t);if(n!==null&&r.vary[t]!==n){i=!1;break}}if(i){if(r.expires&&r.expires<Date.now()){if(r.lastModified)r.state=hs.stale;else if(!r.etag)return n.splice(t,1),null}return r}}return null}add(e,t){if(e.method!==`GET`&&e.method!==`HEAD`||e.headers.get(`Cache-Control`)?.includes(`no-cache`))return null;let n=e.url,r=this.get(e);if(t.status===304){if(!r)throw Error(`ResponseCache: Cached response not found.`);for(let e of bs)t.headers.has(e)&&r.response.headers.set(e,t.headers.get(e));r.cacheUpdateTime=Date.now(),r.state=hs.fresh}else{if(r){let e=this.#e.get(n);if(e){let t=e.indexOf(r);t!==-1&&e.splice(t,1)}}r={response:{status:t.status,statusText:t.statusText,url:t.url,headers:new vs(t.headers),waitingForBody:t.waitingForBody,body:t.body??null},request:{headers:e.headers,method:e.method},vary:{},expires:null,etag:null,cacheUpdateTime:Date.now(),lastModified:null,mustRevalidate:!1,staleWhileRevalidate:!1,state:hs.fresh,virtual:t.virtual??!1};let i=this.#e.get(n);i||(i=[],this.#e.set(n,i)),i.push(r)}if(t.headers.has(`Cache-Control`)){let e=t.headers.get(`Age`);for(let i of t.headers.get(`Cache-Control`).split(`,`)){let[t,a]=i.trim().split(`=`);switch(t){case`max-age`:r.expires=Date.now()+parseFloat(a)*1e3-(e?parseFloat(e)*1e3:0);break;case`no-cache`:case`no-store`:let t=this.#e.get(n);if(t){let e=t.indexOf(r);e!==-1&&t.splice(e,1)}return null;case`must-revalidate`:r.mustRevalidate=!0;break;case`stale-while-revalidate`:r.staleWhileRevalidate=!0;break}}}if(t.headers.has(`Last-Modified`)&&(r.lastModified=Date.parse(t.headers.get(`Last-Modified`))),t.headers.has(`Vary`))for(let n of t.headers.get(`Vary`).split(`,`)){let t=n.trim(),i=e.headers.get(t);i&&(r.vary[t]=i)}if(t.headers.has(`ETag`)&&(r.etag=t.headers.get(`ETag`)),!r.expires){let e=t.headers.get(`Expires`);e&&(r.expires=Date.parse(e))}if(!r.etag&&(!r.expires||r.expires<Date.now())){let e=this.#e.get(n);if(e){let t=e.indexOf(r);t!==-1&&e.splice(t,1)}return null}return r}clear(e){if(e)if(e.toTime)for(let t of e.url?[e.url]:this.#e.keys()){let n=this.#e.get(t);if(n)for(let t=0,r=n.length;t<r;t++)n[t].cacheUpdateTime<e.toTime&&(n.splice(t,1),t--,r--)}else e.url&&this.#e.delete(e.url);else this.#e.clear()}},Ss;(function(e){e[e.log=0]=`log`,e[e.info=1]=`info`,e[e.warn=2]=`warn`,e[e.error=3]=`error`})(Ss||={});var Cs=Ss,ws;(function(e){e[e.elementNode=1]=`elementNode`,e[e.attributeNode=2]=`attributeNode`,e[e.textNode=3]=`textNode`,e[e.cdataSectionNode=4]=`cdataSectionNode`,e[e.commentNode=8]=`commentNode`,e[e.documentNode=9]=`documentNode`,e[e.documentTypeNode=10]=`documentTypeNode`,e[e.documentFragmentNode=11]=`documentFragmentNode`,e[e.processingInstructionNode=7]=`processingInstructionNode`})(ws||={});var U=ws,Ts;(function(e){e[e.none=0]=`none`,e[e.capturing=1]=`capturing`,e[e.atTarget=2]=`atTarget`,e[e.bubbling=3]=`bubbling`})(Ts||={});var Es=Ts,W=class e{static NONE=Es.none;static CAPTURING_PHASE=Es.capturing;static AT_TARGET=Es.atTarget;static BUBBLING_PHASE=Es.bubbling;NONE=e.NONE;CAPTURING_PHASE=e.CAPTURING_PHASE;AT_TARGET=e.AT_TARGET;BUBBLING_PHASE=e.BUBBLING_PHASE;[Vr]=!1;[Hr]=!1;[Ur]=!1;[Wr]=!1;[Gr]=Es.none;[Kr]=performance.now();[qr];[Oo]=!1;[ze]=!1;[Qe]=!1;[dt]=null;[ke]=null;[Ue]=!1;constructor(e,t=null){this[qr]=e,this[Hr]=t?.bubbles??!1,this[Ur]=t?.cancelable??!1,this[Vr]=t?.composed??!1}get composed(){return this[Vr]}get bubbles(){return this[Hr]}get cancelable(){return this[Ur]}get defaultPrevented(){return this[Wr]}get eventPhase(){return this[Gr]}get timeStamp(){return this[Kr]}get type(){return this[qr]}get target(){return this[dt]}get currentTarget(){return this[ke]}get cancelBubble(){return this[Qe]}composedPath(){if(!this[dt])return[];let e=[],t=this[dt];for(;t;)if(e.push(t),t.parentNode)t=t.parentNode;else if(this[Vr]&&t[C]===U.documentFragmentNode&&t.host)t=t.host;else if(t[C]===U.documentNode&&this[qr]!==`load`)t=t[b];else break;return e}initEvent(e,t=!1,n=!1){this[qr]=e,this[Hr]=t,this[Ur]=n,this[Qe]=!1,this[ze]=!1,this[Wr]=!1}preventDefault(){!this[Ue]&&this.cancelable&&(this[Wr]=!0)}stopImmediatePropagation(){this[ze]=!0}stopPropagation(){this[Qe]=!0}},Ds;(function(e){e.log=`log`,e.table=`table`,e.trace=`trace`,e.dir=`dir`,e.dirxml=`dirxml`,e.group=`group`,e.groupCollapsed=`groupCollapsed`,e.debug=`debug`,e.timeLog=`timeLog`,e.info=`info`,e.count=`count`,e.timeEnd=`timeEnd`,e.warn=`warn`,e.countReset=`countReset`,e.error=`error`,e.assert=`assert`})(Ds||={});var Os=Ds,ks=class{static toString(e){if(this.isLogEntryCollapsed(e))return``;let t=this.getLogEntryGroupTabbing(e),n=t;for(let r of e.message)if(n+=n!==``&&n!==t?` `:``,typeof r==`object`&&(r===null||r.constructor.name===`Object`||Array.isArray(r)))try{n+=JSON.stringify(r)}catch{n+=Error(`Failed to JSON stringify object in log entry.`).stack.replace(/\n at/gm,`
1
+ import{o as e,t}from"./chunk-DTipWd-i.mjs";import{n}from"./wrapper-BcpqREsI.mjs";import{Blob as r,Buffer as i}from"buffer";import{TextDecoder as a,TextEncoder as o}from"util";import s,{webcrypto as c}from"crypto";import l from"zlib";import u from"stream";import d from"fs";import f from"path";import{URL as p,URLSearchParams as ee}from"url";import{PerformanceEntry as te,PerformanceObserver as ne}from"node:perf_hooks";import re from"child_process";import ie from"http";import ae from"https";import{isIP as oe}from"net";import{ReadableStream as se}from"stream/web";import ce,{Script as le}from"vm";const ue=Symbol(`abort`),de=Symbol(`activeElement`),fe=Symbol(`asyncTaskManager`),pe=Symbol(`bodyBuffer`),me=Symbol(`buffer`),he=Symbol(`cachedResponse`),ge=Symbol(`callbacks`),_e=Symbol(`checked`),ve=Symbol(`childNodes`),ye=Symbol(`children`),be=Symbol(`classList`),xe=Symbol(`connectedToNode`),Se=Symbol(`disconnectedFromNode`),Ce=Symbol(`connectedToDocument`),we=Symbol(`disconnectedFromDocument`),Te=Symbol(`contentLength`),Ee=Symbol(`contentType`),De=Symbol(`cssText`),Oe=Symbol(`currentScript`),ke=Symbol(`currentTarget`),Ae=Symbol(`data`),je=Symbol(`defaultView`),Me=Symbol(`destroy`),Ne=Symbol(`dirtyness`),m=Symbol(`end`),Pe=Symbol(`entries`),Fe=Symbol(`evaluateScript`),Ie=Symbol(`exceptionObserver`),Le=Symbol(`formNode`),Re=Symbol(`internalId`),h=Symbol(`height`),ze=Symbol(`immediatePropagationStopped`),Be=Symbol(`indeterminate`),Ve=Symbol(`isFirstWrite`),He=Symbol(`isFirstWriteAfterOpen`),Ue=Symbol(`isInPassiveEventListener`),We=Symbol(`isValue`),Ge=Symbol(`listenerOptions`),Ke=Symbol(`listeners`),qe=Symbol(`itemsByName`),Je=Symbol(`nextActiveElement`),Ye=Symbol(`observeMutations`),Xe=Symbol(`mutationListeners`),g=Symbol(`ownerDocument`),Ze=Symbol(`ownerElement`),Qe=Symbol(`propagationStopped`),$e=Symbol(`readyStateManager`),et=Symbol(`referrer`),tt=Symbol(`registry`),nt=Symbol(`relList`),rt=Symbol(`resetSelection`),it=Symbol(`rootNode`),at=Symbol(`selectNode`),ot=Symbol(`selectedness`),st=Symbol(`selection`),ct=Symbol(`setupVMContext`),lt=Symbol(`shadowRoot`),_=Symbol(`start`),ut=Symbol(`style`),dt=Symbol(`target`),ft=Symbol(`textAreaNode`),pt=Symbol(`unobserveMutations`),mt=Symbol(`reportMutation`),ht=Symbol(`updateSelectedness`),gt=Symbol(`url`),v=Symbol(`value`),y=Symbol(`width`),b=Symbol(`window`),_t=Symbol(`windowResizeListener`),vt=Symbol(`mutationObservers`),yt=Symbol(`openerFrame`),bt=Symbol(`openerWindow`),xt=Symbol(`pointerCaptures`),St=Symbol(`popup`),x=Symbol(`isConnected`),S=Symbol(`parentNode`),C=Symbol(`nodeType`),w=Symbol(`tagName`),Ct=Symbol(`prefix`),wt=Symbol(`scrollHeight`),Tt=Symbol(`scrollWidth`),Et=Symbol(`scrollTop`),Dt=Symbol(`scrollLeft`),Ot=Symbol(`attributes`),kt=Symbol(`attributesProxy`),T=Symbol(`namespaceURI`),At=Symbol(`accessKey`),jt=Symbol(`offsetHeight`),Mt=Symbol(`offsetWidth`),Nt=Symbol(`offsetLeft`),Pt=Symbol(`offsetTop`),Ft=Symbol(`clientHeight`),It=Symbol(`clientWidth`),Lt=Symbol(`clientLeft`),Rt=Symbol(`clientTop`),E=Symbol(`name`),zt=Symbol(`specified`),Bt=Symbol(`adoptedStyleSheets`),Vt=Symbol(`implementation`),Ht=Symbol(`readyState`),Ut=Symbol(`publicId`),Wt=Symbol(`systemId`),Gt=Symbol(`validationMessage`),Kt=Symbol(`validity`),qt=Symbol(`returnValue`),Jt=Symbol(`elements`),Yt=Symbol(`complete`),Xt=Symbol(`naturalHeight`),Zt=Symbol(`naturalWidth`),Qt=Symbol(`loading`),D=Symbol(`x`),O=Symbol(`y`),$t=Symbol(`files`),en=Symbol(`sheet`),tn=Symbol(`volume`),nn=Symbol(`paused`),rn=Symbol(`currentTime`),an=Symbol(`playbackRate`),on=Symbol(`defaultPlaybackRate`),sn=Symbol(`muted`),cn=Symbol(`defaultMuted`),ln=Symbol(`preservesPitch`),un=Symbol(`buffered`),dn=Symbol(`duration`),fn=Symbol(`error`),pn=Symbol(`ended`),mn=Symbol(`networkState`),hn=Symbol(`textTracks`),gn=Symbol(`seeking`),_n=Symbol(`seekable`),vn=Symbol(`played`),yn=Symbol(`options`),bn=Symbol(`content`),xn=Symbol(`mode`),Sn=Symbol(`host`),Cn=Symbol(`setURL`),k=Symbol(`localName`),wn=Symbol(`classRegistry`),Tn=Symbol(`nodeStream`),En=Symbol(`location`),Dn=Symbol(`history`),On=Symbol(`navigator`),kn=Symbol(`screen`),An=Symbol(`sessionStorage`),jn=Symbol(`localStorage`),Mn=Symbol(`sandbox`),Nn=Symbol(`cloneNode`),Pn=Symbol(`appendChild`),Fn=Symbol(`removeChild`),In=Symbol(`insertBefore`),Ln=Symbol(`replaceChild`),Rn=Symbol(`tracks`),zn=Symbol(`constraints`),Bn=Symbol(`capabilities`),Vn=Symbol(`settings`),Hn=Symbol(`removeNamedItem`),A=Symbol(`items`),Un=Symbol(`selectedOptions`),Wn=Symbol(`styleNode`),Gn=Symbol(`updateSheet`),Kn=Symbol(`clearCache`),qn=Symbol(`onSetAttribute`),Jn=Symbol(`onRemoveAttribute`),j=Symbol(`nodeArray`),Yn=Symbol(`elementArray`),M=Symbol(`cache`),Xn=Symbol(`affectsCache`),Zn=Symbol(`forms`),Qn=Symbol(`affectsComputedStyleCache`),$n=Symbol(`query`),er=Symbol(`computedStyle`),tr=Symbol(`getFormControlItems`),nr=Symbol(`getFormControlNamedItem`),rr=Symbol(`dataset`),ir=Symbol(`itemsByNamespaceURI`),ar=Symbol(`proxy`),or=Symbol(`setNamedItem`),sr=Symbol(`getTokenList`),cr=Symbol(`attributeName`),lr=Symbol(`selectedIndex`),ur=Symbol(`self`),dr=Symbol(`parent`),fr=Symbol(`top`),pr=Symbol(`areas`),mr=Symbol(`defaultValue`),hr=Symbol(`elementIdMap`),gr=Symbol(`clonable`),_r=Symbol(`delegatesFocus`),vr=Symbol(`serializable`),yr=Symbol(`slotAssignment`),br=Symbol(`assignedNodes`),xr=Symbol(`assignedToSlot`),Sr=Symbol(`cells`),Cr=Symbol(`rows`),wr=Symbol(`headers`),Tr=Symbol(`tBodies`),Er=Symbol(`track`),Dr=Symbol(`controlsList`),Or=Symbol(`mediaKeys`),kr=Symbol(`remote`),Ar=Symbol(`sinkId`),jr=Symbol(`srcObject`),Mr=Symbol(`cues`),Nr=Symbol(`activeCues`),Pr=Symbol(`kind`),Fr=Symbol(`label`),Ir=Symbol(`language`),Lr=Symbol(`id`),N=Symbol(`illegalConstructor`),Rr=Symbol(`state`),zr=Symbol(`canvas`),Br=Symbol(`popoverTargetElement`),Vr=Symbol(`composed`),Hr=Symbol(`bubbles`),Ur=Symbol(`cancelable`),Wr=Symbol(`defaultPrevented`),Gr=Symbol(`eventPhase`),Kr=Symbol(`timeStamp`),qr=Symbol(`type`),Jr=Symbol(`detail`),Yr=Symbol(`destroyed`),Xr=Symbol(`aborted`),Zr=Symbol(`browserFrames`),Qr=Symbol(`windowInternalId`),P=Symbol(`getItemList`),$r=Symbol(`requiredExtensions`),ei=Symbol(`systemLanguage`),ti=Symbol(`transform`),ni=Symbol(`baseVal`),ri=Symbol(`animVal`),ii=Symbol(`pathLength`),ai=Symbol(`viewBox`),oi=Symbol(`markerUnits`),si=Symbol(`markerWidth`),ci=Symbol(`markerHeight`),li=Symbol(`values`),ui=Symbol(`orientType`),di=Symbol(`orientAngle`),fi=Symbol(`refX`),pi=Symbol(`refY`),F=Symbol(`readOnly`),mi=Symbol(`preserveAspectRatio`),hi=Symbol(`animatedPoints`),gi=Symbol(`points`),_i=Symbol(`rx`),vi=Symbol(`ry`),yi=Symbol(`cx`),bi=Symbol(`cy`),xi=Symbol(`r`),Si=Symbol(`clipPathUnits`),Ci=Symbol(`maskUnits`),wi=Symbol(`maskContentUnits`),Ti=Symbol(`filterUnits`),Ei=Symbol(`primitiveUnits`),Di=Symbol(`href`),Oi=Symbol(`x1`),ki=Symbol(`y1`),Ai=Symbol(`x2`),ji=Symbol(`y2`),Mi=Symbol(`gradientUnits`),Ni=Symbol(`gradientTransform`),Pi=Symbol(`spreadMethod`),Fi=Symbol(`patternUnits`),Ii=Symbol(`patternContentUnits`),Li=Symbol(`patternTransform`),Ri=Symbol(`fx`),zi=Symbol(`fy`),Bi=Symbol(`offset`),Vi=Symbol(`disabled`),Hi=Symbol(`textLength`),Ui=Symbol(`lengthAdjust`),I=Symbol(`getAttribute`),L=Symbol(`setAttribute`),Wi=Symbol(`z`),Gi=Symbol(`w`),Ki=Symbol(`toArray`),qi=Symbol(`fromString`),Ji=Symbol(`fromArray`),Yi=Symbol(`m11`),Xi=Symbol(`m12`),Zi=Symbol(`m13`),Qi=Symbol(`m14`),$i=Symbol(`m21`),ea=Symbol(`m22`),ta=Symbol(`m23`),na=Symbol(`m24`),ra=Symbol(`m31`),ia=Symbol(`m32`),aa=Symbol(`m33`),oa=Symbol(`m34`),sa=Symbol(`m41`),ca=Symbol(`m42`),la=Symbol(`m43`),ua=Symbol(`m44`),da=Symbol(`setMatrixValue`),fa=Symbol(`translateSelf`),pa=Symbol(`rotateSelf`),ma=Symbol(`rotateAxisAngleSelf`),ha=Symbol(`scaleSelf`),ga=Symbol(`scale3dSelf`),_a=Symbol(`scaleNonUniformSelf`),va=Symbol(`skewXSelf`),ya=Symbol(`skewYSelf`),ba=Symbol(`multiplySelf`),xa=Symbol(`matrix`),Sa=Symbol(`getDOMMatrix`),Ca=Symbol(`setDOMMatrix`),R=Symbol(`attributeValue`),wa=Symbol(`startOffset`),Ta=Symbol(`method`),Ea=Symbol(`spacing`),z=Symbol(`in1`),Da=Symbol(`in2`),B=Symbol(`result`),Oa=Symbol(`bias`),ka=Symbol(`divisor`),Aa=Symbol(`edgeMode`),ja=Symbol(`kernelMatrix`),Ma=Symbol(`kernelUnitLengthX`),Na=Symbol(`kernelUnitLengthY`),Pa=Symbol(`orderX`),Fa=Symbol(`orderY`),Ia=Symbol(`preserveAlpha`),La=Symbol(`targetX`),Ra=Symbol(`targetY`),za=Symbol(`diffuseConstant`),Ba=Symbol(`surfaceScale`),Va=Symbol(`scale`),Ha=Symbol(`xChannelSelector`),Ua=Symbol(`yChannelSelector`),Wa=Symbol(`azimuth`),Ga=Symbol(`elevation`),Ka=Symbol(`dx`),qa=Symbol(`dy`),Ja=Symbol(`stdDeviationX`),Ya=Symbol(`stdDeviationY`),Xa=Symbol(`tableValues`),Za=Symbol(`slope`),Qa=Symbol(`intercept`),$a=Symbol(`amplitude`),eo=Symbol(`exponent`),to=Symbol(`crossOrigin`),no=Symbol(`operator`),ro=Symbol(`radiusX`),io=Symbol(`radiusY`),ao=Symbol(`specularConstant`),oo=Symbol(`specularExponent`),so=Symbol(`pointsAtX`),co=Symbol(`pointsAtY`),lo=Symbol(`pointsAtZ`),uo=Symbol(`limitingConeAngle`),fo=Symbol(`baseFrequencyX`),po=Symbol(`baseFrequencyY`),mo=Symbol(`numOctaves`),ho=Symbol(`seed`),go=Symbol(`stitchTiles`),_o=Symbol(`rotateFromVectorSelf`),vo=Symbol(`flipXSelf`),yo=Symbol(`flipYSelf`),bo=Symbol(`invertSelf`),xo=Symbol(`getLength`),So=Symbol(`currentScale`),Co=Symbol(`rotate`),wo=Symbol(`bindMethods`),To=Symbol(`xmlProcessingInstruction`),Eo=Symbol(`filterNode`),Do=Symbol(`customElementReactionStack`),Oo=Symbol(`dispatching`),ko=Symbol(`modules`),Ao=Symbol(`preloads`),jo=Symbol(`body`),Mo=Symbol(`redirect`),No=Symbol(`referrerPolicy`),Po=Symbol(`signal`),Fo=Symbol(`bodyUsed`),Io=Symbol(`credentials`),Lo=Symbol(`blocking`),Ro=Symbol(`moduleImportMap`),zo=Symbol(`dispatchError`),Bo=Symbol(`supports`),Vo=Symbol(`reason`),V=Symbol(`propertyEventListeners`),Ho=Symbol(`cssRules`),Uo=Symbol(`parentRule`),Wo=Symbol(`parentStyleSheet`),Go=Symbol(`conditionText`),Ko=Symbol(`keyText`),qo=Symbol(`media`),Jo=Symbol(`styleMap`),Yo=Symbol(`selectorText`),Xo=Symbol(`cssParser`),Zo=Symbol(`cssRule`),Qo=Symbol(`rulePrefix`),$o=Symbol(`virtualServerFile`),es=Symbol(`frames`),ts=Symbol(`disableEvaluation`),ns=Symbol(`validateJavaScriptExecutionEnvironment`),rs=Symbol(`openWebSockets`),is=Symbol(`webSocket`),as=Symbol(`moduleCache`),os=Symbol(`context`),ss=Symbol(`querySelectorCache`);var cs;(function(e){e.strict=`Strict`,e.lax=`Lax`,e.none=`None`})(cs||={});var ls=cs,us={key:null,originURL:null,value:null,domain:``,path:``,expires:null,httpOnly:!1,secure:!1,sameSite:ls.lax},ds=class{static hasExpired(e){return e.expires&&e.expires.getTime()<Date.now()}},fs=class{static cookieMatchesURL(e,t){let n=t.hostname===`localhost`||t.hostname?.endsWith(`.localhost`);return(!e.secure||t.protocol===`https:`||n)&&(!e.domain||t.hostname?.endsWith(e.domain))&&(!e.path||t.pathname?.startsWith(e.path))&&(e.sameSite===ls.none&&e.secure||e.originURL?.hostname===t.hostname)}},ps=class{#e=[];addCookies(e){let t=new Map,n=e=>`${e.key}-${e.originURL.hostname}-${e.path}-${typeof e.value}`;for(let e=0,r=this.#e.length;e<r;e++)t.set(n(this.#e[e]),e);for(let r of e){let e=Object.assign({},us,r);if(e&&e.key&&e.originURL){let r=t.get(n(e));r!==void 0&&this.#e.splice(r,1),ds.hasExpired(e)||(t.set(n(e),this.#e.length),this.#e.push(e))}}}getCookies(e=null,t=!1){let n=[];for(let r of this.#e)!ds.hasExpired(r)&&(!t||!r.httpOnly)&&(!e||fs.cookieMatchesURL(r,e))&&n.push(r);return n}clearCookies(){this.#e=[]}},ms;(function(e){e.fresh=`fresh`,e.stale=`stale`})(ms||={});var hs=ms,gs;(function(e){e.invalidStateError=`InvalidStateError`,e.indexSizeError=`IndexSizeError`,e.syntaxError=`SyntaxError`,e.hierarchyRequestError=`HierarchyRequestError`,e.notSupportedError=`NotSupportedError`,e.wrongDocumentError=`WrongDocumentError`,e.invalidNodeTypeError=`InvalidNodeTypeError`,e.invalidCharacterError=`InvalidCharacterError`,e.notFoundError=`NotFoundError`,e.securityError=`SecurityError`,e.networkError=`NetworkError`,e.domException=`DOMException`,e.invalidAccessError=`InvalidAccessError`,e.unknownError=`UnknownError`,e.abortError=`AbortError`,e.timeoutError=`TimeoutError`,e.encodingError=`EncodingError`,e.uriMismatchError=`URIMismatchError`,e.inUseAttributeError=`InUseAttributeError`,e.namespaceError=`NamespaceError`})(gs||={});var H=gs,_s=class extends Error{constructor(e,t=null){super(e),this.name=t||H.domException}},vs=class e{[Pe]={};constructor(t){if(t)if(t instanceof e)this[Pe]=JSON.parse(JSON.stringify(t[Pe]));else if(Array.isArray(t))for(let e of t){if(e.length!==2)throw new _s(`Failed to construct "Headers": The provided init is not a valid array.`,H.invalidStateError);this.append(e[0],e[1])}else for(let e of Object.keys(t))this.set(e,t[e])}append(e,t){let n=e.toLowerCase();this[Pe][n]?this[Pe][n].value.push(t):this[Pe][n]={name:e,value:[t]}}delete(e){delete this[Pe][e.toLowerCase()]}get(e){return this[Pe][e.toLowerCase()]?.value.join(`, `)??null}set(e,t){this[Pe][e.toLowerCase()]={name:e,value:[t]}}getSetCookie(){let e=this[Pe][`set-cookie`];return e?e.value:[]}has(e){return!!this[Pe][e.toLowerCase()]}forEach(e,t){let n=t??this[b];for(let t of Object.values(this[Pe]))e.call(n,t.value.join(`, `),t.name,this)}*keys(){for(let e of Object.values(this[Pe]))yield e.name}*values(){for(let e of Object.values(this[Pe]))yield e.value.join(`, `)}*entries(){for(let e of Object.values(this[Pe]))yield[e.name,e.value.join(`, `)]}*[Symbol.iterator](){for(let e of Object.values(this[Pe]))yield[e.name,e.value.join(`, `)]}},ys=class{#e=new Set;#t=new Set;#n;constructor(e){this.#n=e}async load(e){if(!e)throw Error(`Failed to execute 'load' on 'ResponseCacheFileSystem': Directory is not specified.`);let t=f.resolve(e),n=[];try{n=await d.promises.readdir(t)}catch{return}let r=[],i=this.#n;for(let e of n)e.endsWith(`.json`)&&r.push(d.promises.readFile(f.join(t,e),`utf8`).then(n=>{let r=JSON.parse(n);if(r.response&&r.request&&!r.virtual)return r.response.headers=new vs(r.response.headers),r.request.headers=new vs(r.request.headers),d.promises.readFile(f.join(t,e.split(`.`)[0]+`.data`)).then(e=>{r.response.body=e;let t=i.get(r.response.url);t||(t=[],i.set(r.response.url,t)),t.push(r)}).catch(()=>{let e=i.get(r.response.url);e||(e=[],i.set(r.response.url,e)),e.push(r)})}).catch(()=>{}));await Promise.all(r)}async save(e){if(!e)throw Error(`Failed to execute 'store' on 'ResponseCacheFileSystem': Directory is not specified.`);if(!this.#n.size)return;let t=f.resolve(e);if(!this.#e.has(t)){this.#e.add(t);try{await d.promises.mkdir(t,{recursive:!0})}catch{}}let n=this.#n,r=[];for(let e of n.values())for(let n of e)if(!n.virtual){let e={},i={};for(let[t,r]of n.response.headers.entries())e[t]=r;for(let[e,t]of n.request.headers.entries())i[e]=t;let a={...n,response:{...n.response,headers:e,body:null},request:{...n.request,headers:i}},o=JSON.stringify(a,null,3),c=s.createHash(`md5`).update(o).digest(`hex`);this.#t.has(c)||(this.#t.add(c),r.push(d.promises.writeFile(f.join(t,`${c}.json`),o)),n.response.body&&r.push(d.promises.writeFile(f.join(t,`${c}.data`),n.response.body)))}await Promise.all(r)}};const bs=[`Cache-Control`,`Last-Modified`,`Vary`,`ETag`];var xs=class{fileSystem;#e=new Map;constructor(){this.fileSystem=new ys(this.#e)}get(e){if(e.headers.get(`Cache-Control`)?.includes(`no-cache`))return null;let t=e.url,n=this.#e.get(t);if(n)for(let t=0,r=n.length;t<r;t++){let r=n[t],i=r.request.method===e.method;if(i)for(let t of Object.keys(r.vary)){let n=e.headers.get(t);if(n!==null&&r.vary[t]!==n){i=!1;break}}if(i){if(r.expires&&r.expires<Date.now()){if(r.lastModified)r.state=hs.stale;else if(!r.etag)return n.splice(t,1),null}return r}}return null}add(e,t){if(e.method!==`GET`&&e.method!==`HEAD`||e.headers.get(`Cache-Control`)?.includes(`no-cache`))return null;let n=e.url,r=this.get(e);if(t.status===304){if(!r)throw Error(`ResponseCache: Cached response not found.`);for(let e of bs)t.headers.has(e)&&r.response.headers.set(e,t.headers.get(e));r.cacheUpdateTime=Date.now(),r.state=hs.fresh}else{if(r){let e=this.#e.get(n);if(e){let t=e.indexOf(r);t!==-1&&e.splice(t,1)}}r={response:{status:t.status,statusText:t.statusText,url:t.url,headers:new vs(t.headers),waitingForBody:t.waitingForBody,body:t.body??null},request:{headers:e.headers,method:e.method},vary:{},expires:null,etag:null,cacheUpdateTime:Date.now(),lastModified:null,mustRevalidate:!1,staleWhileRevalidate:!1,state:hs.fresh,virtual:t.virtual??!1};let i=this.#e.get(n);i||(i=[],this.#e.set(n,i)),i.push(r)}if(t.headers.has(`Cache-Control`)){let e=t.headers.get(`Age`);for(let i of t.headers.get(`Cache-Control`).split(`,`)){let[t,a]=i.trim().split(`=`);switch(t){case`max-age`:r.expires=Date.now()+parseFloat(a)*1e3-(e?parseFloat(e)*1e3:0);break;case`no-cache`:case`no-store`:let t=this.#e.get(n);if(t){let e=t.indexOf(r);e!==-1&&t.splice(e,1)}return null;case`must-revalidate`:r.mustRevalidate=!0;break;case`stale-while-revalidate`:r.staleWhileRevalidate=!0;break}}}if(t.headers.has(`Last-Modified`)&&(r.lastModified=Date.parse(t.headers.get(`Last-Modified`))),t.headers.has(`Vary`))for(let n of t.headers.get(`Vary`).split(`,`)){let t=n.trim(),i=e.headers.get(t);i&&(r.vary[t]=i)}if(t.headers.has(`ETag`)&&(r.etag=t.headers.get(`ETag`)),!r.expires){let e=t.headers.get(`Expires`);e&&(r.expires=Date.parse(e))}if(!r.etag&&(!r.expires||r.expires<Date.now())){let e=this.#e.get(n);if(e){let t=e.indexOf(r);t!==-1&&e.splice(t,1)}return null}return r}clear(e){if(e)if(e.toTime)for(let t of e.url?[e.url]:this.#e.keys()){let n=this.#e.get(t);if(n)for(let t=0,r=n.length;t<r;t++)n[t].cacheUpdateTime<e.toTime&&(n.splice(t,1),t--,r--)}else e.url&&this.#e.delete(e.url);else this.#e.clear()}},Ss;(function(e){e[e.log=0]=`log`,e[e.info=1]=`info`,e[e.warn=2]=`warn`,e[e.error=3]=`error`})(Ss||={});var Cs=Ss,ws;(function(e){e[e.elementNode=1]=`elementNode`,e[e.attributeNode=2]=`attributeNode`,e[e.textNode=3]=`textNode`,e[e.cdataSectionNode=4]=`cdataSectionNode`,e[e.commentNode=8]=`commentNode`,e[e.documentNode=9]=`documentNode`,e[e.documentTypeNode=10]=`documentTypeNode`,e[e.documentFragmentNode=11]=`documentFragmentNode`,e[e.processingInstructionNode=7]=`processingInstructionNode`})(ws||={});var U=ws,Ts;(function(e){e[e.none=0]=`none`,e[e.capturing=1]=`capturing`,e[e.atTarget=2]=`atTarget`,e[e.bubbling=3]=`bubbling`})(Ts||={});var Es=Ts,W=class e{static NONE=Es.none;static CAPTURING_PHASE=Es.capturing;static AT_TARGET=Es.atTarget;static BUBBLING_PHASE=Es.bubbling;NONE=e.NONE;CAPTURING_PHASE=e.CAPTURING_PHASE;AT_TARGET=e.AT_TARGET;BUBBLING_PHASE=e.BUBBLING_PHASE;[Vr]=!1;[Hr]=!1;[Ur]=!1;[Wr]=!1;[Gr]=Es.none;[Kr]=performance.now();[qr];[Oo]=!1;[ze]=!1;[Qe]=!1;[dt]=null;[ke]=null;[Ue]=!1;constructor(e,t=null){this[qr]=e,this[Hr]=t?.bubbles??!1,this[Ur]=t?.cancelable??!1,this[Vr]=t?.composed??!1}get composed(){return this[Vr]}get bubbles(){return this[Hr]}get cancelable(){return this[Ur]}get defaultPrevented(){return this[Wr]}get eventPhase(){return this[Gr]}get timeStamp(){return this[Kr]}get type(){return this[qr]}get target(){return this[dt]}get currentTarget(){return this[ke]}get cancelBubble(){return this[Qe]}composedPath(){if(!this[dt])return[];let e=[],t=this[dt];for(;t;)if(e.push(t),t.parentNode)t=t.parentNode;else if(this[Vr]&&t[C]===U.documentFragmentNode&&t.host)t=t.host;else if(t[C]===U.documentNode&&this[qr]!==`load`)t=t[b];else break;return e}initEvent(e,t=!1,n=!1){this[qr]=e,this[Hr]=t,this[Ur]=n,this[Qe]=!1,this[ze]=!1,this[Wr]=!1}preventDefault(){!this[Ue]&&this.cancelable&&(this[Wr]=!0)}stopImmediatePropagation(){this[ze]=!0}stopPropagation(){this[Qe]=!0}},Ds;(function(e){e.log=`log`,e.table=`table`,e.trace=`trace`,e.dir=`dir`,e.dirxml=`dirxml`,e.group=`group`,e.groupCollapsed=`groupCollapsed`,e.debug=`debug`,e.timeLog=`timeLog`,e.info=`info`,e.count=`count`,e.timeEnd=`timeEnd`,e.warn=`warn`,e.countReset=`countReset`,e.error=`error`,e.assert=`assert`})(Ds||={});var Os=Ds,ks=class{static toString(e){if(this.isLogEntryCollapsed(e))return``;let t=this.getLogEntryGroupTabbing(e),n=t;for(let r of e.message)if(n+=n!==``&&n!==t?` `:``,typeof r==`object`&&(r===null||r.constructor.name===`Object`||Array.isArray(r)))try{n+=JSON.stringify(r)}catch{n+=Error(`Failed to JSON stringify object in log entry.`).stack.replace(/\n at/gm,`
2
2
  `+t+`at`)}else typeof r==`object`&&r.message&&r.stack?n+=r.stack.replace(/\n at/gm,`
3
3
  `+t+`at`):n+=this.getLogEntryIcon(e)+String(r);return n+`
4
4
  `}static getLogEntryIcon(e){switch(e.type){case Os.group:return`▼ `;case Os.groupCollapsed:return`▶ `}return``}static getLogEntryGroupTabbing(e){let t=``,n=e.type===Os.group||e.type===Os.groupCollapsed?e.group?.parent:e.group;for(;n;)t+=` `,n=n.parent;return t}static isLogEntryCollapsed(e){let t=e.type===Os.group||e.type===Os.groupCollapsed?e.group?.parent:e.group;for(;t;){if(t.collapsed)return!0;t=t.parent}return!1}},As=class{#e=[];#t={print:[],clear:[]};#n=!1;get closed(){return this.#n}print(e){this.#n||(this.#e.push(e),this.dispatchEvent(new W(`print`)))}clear(){this.#n||(this.#e=[],this.dispatchEvent(new W(`clear`)))}close(){this.#n||=(this.#e=[],this.#t={print:[],clear:[]},!0)}addEventListener(e,t){if(!this.#n){if(!this.#t[e])throw Error(`Event type "${e}" is not supported.`);this.#t[e].push(t)}}removeEventListener(e,t){if(this.#n)return;if(!this.#t[e])throw Error(`Event type "${e}" is not supported.`);let n=this.#t[e].indexOf(t);n!==-1&&this.#t[e].splice(n,1)}dispatchEvent(e){if(!this.#n)switch(e.type){case`print`:case`clear`:for(let t of this.#t[e.type])t(e);break;default:throw Error(`Event type "${e.type}" is not supported.`)}}read(){let e=this.#e;return this.#e=[],e}readAsString(e=Cs.log){let t=this.read(),n=``;for(let r of t)r.level>=e&&(n+=ks.toString(r));return n}},js=class extends Error{constructor(e){super(e),this.name=`AsyncTaskManagerDebugError`}};const Ms={setTimeout:globalThis.setTimeout.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),clearImmediate:globalThis.clearImmediate.bind(globalThis)};var Ns=class{static taskID=0;runningTasks={};runningTaskCount=0;runningTimers=[];runningImmediates=[];debugTrace=new Map;waitUntilCompleteTimer=null;waitUntilCompleteResolvers=[];destroyed=!1;#e=null;#t;constructor(e){this.#t=e}waitUntilComplete(){return new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()})}abort(){return this.destroyed?new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()}):this.abortAll(!1)}destroy(){return this.destroyed?new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()}):this.abortAll(!0)}startTimer(e){if(this.destroyed){Ms.clearTimeout(e);return}this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null),this.runningTimers.push(e),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.set(e,new js().stack)}endTimer(e){if(this.destroyed){Ms.clearTimeout(e);return}let t=this.runningTimers.indexOf(e);t!==-1&&(this.runningTimers.splice(t,1),this.resolveWhenComplete()),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e)}startImmediate(e){if(this.destroyed){Ms.clearImmediate(e);return}this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null),this.runningImmediates.push(e),this.#t.page?.context?.browser?.settings?.debug?.traceWaitUntilComplete>0&&this.debugTrace.set(e,new js().stack)}endImmediate(e){if(this.destroyed){Ms.clearImmediate(e);return}let t=this.runningImmediates.indexOf(e);t!==-1&&(this.runningImmediates.splice(t,1),this.resolveWhenComplete()),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e)}startTask(e){if(this.destroyed)throw e&&e(this.destroyed),new this.#t.window.Error(`Failed to execute 'startTask()' on 'AsyncTaskManager': The asynchronous task manager has been destroyed. This error can be thrown if scripts continue to run while a browser frame is closed.`);this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null);let t=this.newTaskID();return this.runningTasks[t]=e||(()=>{}),this.runningTaskCount++,this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.set(t,new js().stack),t}endTask(e){this.destroyed||(this.runningTasks[e]&&(delete this.runningTasks[e],this.runningTaskCount--,this.resolveWhenComplete()),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e))}getTaskCount(){return this.runningTaskCount}newTaskID(){return this.constructor.taskID++,this.constructor.taskID}resolveWhenComplete(){this.applyDebugging(),!(this.runningTaskCount||this.runningTimers.length||this.runningImmediates.length)&&(this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null),this.waitUntilCompleteTimer=Ms.setTimeout(()=>{if(this.waitUntilCompleteTimer=null,!this.runningTaskCount&&!this.runningTimers.length&&!this.runningImmediates.length){this.#e&&Ms.clearTimeout(this.#e);let e=this.waitUntilCompleteResolvers;this.waitUntilCompleteResolvers=[];for(let t of e)t.resolve();this.destroyed=!1}else this.applyDebugging()},1))}applyDebugging(){let e=this.#t.page.context.browser.settings.debug;!e?.traceWaitUntilComplete||e.traceWaitUntilComplete<1||(this.#e||=Ms.setTimeout(()=>{this.#e=null;let e=`The maximum time was reached for "waitUntilComplete()".\n\n${this.debugTrace.size} task${this.debugTrace.size===1?``:`s`} did not end in time.\n\nThe following traces were recorded:\n\n`,t=1;for(let[n,r]of this.debugTrace.entries())e+=`${typeof n==`number`?`Task`:`Timer`} #${t}\n‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾${r.replace(/AsyncTaskManagerDebugError:{0,1}/,``).replace(/\s+at /gm,`
@@ -13,7 +13,7 @@ import{o as e,t}from"./chunk-DTipWd-i.mjs";import{n}from"./wrapper-DU1EzoHg.mjs"
13
13
  `+t.cssText;return e+=e?`
14
14
  `:` `,`@media ${this.conditionText} {${e}}`}get media(){return this[qo]}get conditionText(){return this.media.mediaText}},kl=class{#e;constructor(e){this.#e=e}get value(){return this.#e}set value(e){this.#e=e}},Al=class{#e;#t;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this.#e=t,this.#t=n}toString(){return this.#e.getPropertyValue(this.#t)}},jl=class{[ut];constructor(e,t){if(e!==N)throw TypeError(`Illegal constructor`);this[ut]=t}get size(){return this[ut].length}[Symbol.iterator](){return this.entries()}entries(){let e=this[ut].length,t=Array(e);for(let n=0;n<e;n++){let e=this[ut][n];t[n]=[e,[new kl(this[ut].getPropertyValue(e))]]}return t.values()}values(){let e=this[ut].length,t=Array(e);for(let n=0;n<e;n++){let e=this[ut][n];t[n]=[new kl(this[ut].getPropertyValue(e))]}return t.values()}keys(){let e=this[ut].length,t=Array(e);for(let n=0;n<e;n++)t[n]=this[ut][n];return t.values()}get(e){return new Al(N,this[ut],e)}getAll(e){return[new Al(N,this[ut],e)]}has(e){return!!this[ut].getPropertyValue(e)}},Ml=class extends jl{append(e,t){this[ut].setProperty(e,t)}clear(){this[ut].cssText=``}delete(e){this[ut].removeProperty(e)}set(e,t){this[ut].setProperty(e,t)}},Nl=class extends fl{[Jo]=null;[Yo]=``;[De]=``;#e=null;get type(){return G.styleRule}get cssText(){return`${this[Yo]} { ${this.style.cssText} }`}get styleMap(){return this[Jo]||(this[Jo]=new Ml(N,this.style)),this[Jo]}get selectorText(){return this[Yo]}get style(){return this.#e||(this.#e=new yl(N,this[b]),this.#e.parentRule=this,this.#e.cssText=this[De]),this.#e}},Pl=class extends bl{[qr]=G.supportsRule;[Qo]=``;get type(){return G.supportsRule}get cssText(){let e=``;for(let t of this[Ho])e+=`
15
15
  `+t.cssText;return e+=`
16
- `,`@${this[Qo]}supports ${this.conditionText} {${e}}`}},Fl={html:`http://www.w3.org/1999/xhtml`,svg:`http://www.w3.org/2000/svg`,mathML:`http://www.w3.org/1998/Math/MathML`,xml:`http://www.w3.org/XML/1998/namespace`,xlink:`http://www.w3.org/1999/xlink`,xmlns:`http://www.w3.org/2000/xmlns/`};const Il=new Map,Ll=new Map,Rl=/[A-Z]/g,zl=/[a-z]/g;var Bl=class{static asciiLowerCase(e){let t=Il.get(e);if(t)return t;let n=e.replace(Rl,e=>String.fromCharCode(e.charCodeAt(0)+32));return Il.set(e,n),n}static asciiUpperCase(e){let t=Ll.get(e);if(t)return t;let n=e.replace(zl,e=>String.fromCharCode(e.charCodeAt(0)-32));return Ll.set(e,n),n}};const Vl=`[-_.]|[0-9]|[a-z]|·|[À-Ö]|[Ø-ö]|[ø-ͽ]|[Ϳ-῿]|[‌-‍]|[‿-⁀]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|[𐀀-󯿿]`,Hl=RegExp(`^[a-z](${Vl})*-(${Vl})*$`,`u`),Ul=[`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`];var Wl=class{static isValidCustomElementName(e){return Hl.test(e)&&!Ul.includes(e)}},Gl=class{[tt]=new Map;[wn]=new Map;[ge]=new Map;[Yr]=!1;#e;constructor(e){if(!e)throw TypeError(`Illegal constructor`);this.#e=e}define(e,t,n){if(this[Yr])return;if(!Wl.isValidCustomElementName(e))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': "${e}" is not a valid custom element name`);if(this[tt].has(e))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(this[wn].has(t))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry`);let r=Bl.asciiUpperCase(e);t.prototype[b]=this.#e,t.prototype[g]=this.#e.document,t.prototype[w]=r,t.prototype[k]=e,t.prototype[T]=Fl.html;let i=new Set,a=t.observedAttributes;if(Array.isArray(a))for(let e of a)i.add(String(e).toLowerCase());this[tt].set(e,{elementClass:t,extends:n&&n.extends?n.extends.toLowerCase():null,observedAttributes:i,lifecycleCallbacks:{connectedCallback:t.prototype.connectedCallback,disconnectedCallback:t.prototype.disconnectedCallback,attributeChangedCallback:t.prototype.attributeChangedCallback}}),this[wn].set(t,e);let o=this[ge].get(e);if(o){this[ge].delete(e);for(let e of o)e()}}get(e){return this[tt].get(e)?.elementClass}upgrade(e){}whenDefined(e){return this[Yr]?Promise.reject(new this.#e.DOMException(`Failed to execute 'whenDefined' on 'CustomElementRegistry': The custom element registry has been destroyed.`)):Wl.isValidCustomElementName(e)?this.get(e)?Promise.resolve():new Promise(t=>{let n=this[ge].get(e);n?n.push(t):this[ge].set(e,[t])}):Promise.reject(new this.#e.DOMException(`Failed to execute 'whenDefined' on 'CustomElementRegistry': Invalid custom element name: "${e}"`))}getName(e){return this[wn].get(e)||null}[Me](){this[Yr]=!0;for(let e of this[tt].values())e.elementClass.prototype[b]=null,e.elementClass.prototype[g]=null,e.elementClass.prototype[w]=null,e.elementClass.prototype[k]=null,e.elementClass.prototype[T]=null;this[tt]=new Map,this[wn]=new Map,this[ge]=new Map}},Kl=class{kind;type;#e=null;constructor(e,t=``){this.kind=typeof e==`string`?`string`:`file`,this.type=this.kind===`string`?t:e.type,this.#e=e}getAsFile(){return this.kind===`string`?null:this.#e}getAsString(e){this.kind===`file`&&e(``),e(this.#e)}},ql=class extends Rs{lastModified;name;constructor(e,t,n){if(arguments.length<2)throw TypeError(`Failed to construct 'File': 2 arguments required, but only `+arguments.length+` present.`);super(e,n),this.name=t,this.lastModified=n&&n.lastModified?n.lastModified:Date.now()}},Jl=class extends Array{add(e,t){if(e instanceof ql){this.push(new Kl(e));return}if(!t)throw TypeError(`Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'.`);this.push(new Kl(e,t))}remove(e){this.splice(e,1)}clear(){for(;this.length;)this.pop()}},Yl=class{dropEffect=`none`;effectAllowed=`none`;items=new Jl;get files(){let e=[];for(let t of this.items)if(t.kind===`file`){let n=t.getAsFile();n&&e.push(n)}return e}get types(){return this.items.map(e=>e.type)}clearData(){this.items.clear()}setData(e,t){for(let n=0,r=this.items.length;n<r;n++)if(this.items[n].type===e){this.items[n]=new Kl(t,e);return}this.items.add(t,e)}getData(e){let t=this.#e(e);for(let e=0,n=this.items.length;e<n;e++)if(this.#e(this.items[e].type)===t){let t=``;return this.items[e].getAsString(e=>t=e),t}return``}#e(e){let t=e.toLowerCase();return t===`text`?`text/plain`:t===`url`?`text/uri-list`:t}setDragImage(){throw Error(`Not implemented.`)}},Xl=class{identifier;target;clientX;clientY;screenX;screenY;pageX;pageY;radiusX;radiusY;rotationAngle;force;constructor(e){this.identifier=e.identifier,this.target=e.target,this.clientX=e.clientX??0,this.clientY=e.clientY??0,this.screenX=e.screenX??0,this.screenY=e.screenY??0,this.pageX=e.pageX??0,this.pageY=e.pageY??0,this.radiusX=e.radiusX??0,this.radiusY=e.radiusY??0,this.rotationAngle=e.rotationAngle??0,this.force=e.force??0}},Zl=class extends W{static NONE=0;static CAPTURING_PHASE=1;static AT_TARGET=2;static BUBBLING_PHASE=3;detail;layerX=0;layerY=0;pageX=0;pageY=0;view;constructor(e,t=null){super(e,t),this.detail=t?.detail??0,this.view=t?.view??null}},Ql=class extends W{animationName;elapsedTime;pseudoElement;constructor(e,t=null){super(e,t),this.animationName=t?.animationName??``,this.elapsedTime=t?.elapsedTime??0,this.pseudoElement=t?.pseudoElement??``}},$l=class extends W{clipboardData;constructor(e,t=null){super(e,t),this.clipboardData=t?.clipboardData??null}},eu=class extends W{[Jr];constructor(e,t=null){super(e,t),this[Jr]=t?.detail??null}get detail(){return this[Jr]}initCustomEvent(e,t=!1,n=!1,r=null){this[qr]=e,this[Hr]=t,this[Ur]=n,this[Jr]=r}},tu=class extends Zl{message;filename;lineno;colno;error;constructor(e,t=null){super(e,t),this.message=t?.message??``,this.filename=t?.filename??``,this.lineno=t?.lineno??0,this.colno=t?.colno??0,this.error=t?.error??null}},nu=class extends Zl{relatedTarget;constructor(e,t=null){super(e,t),this.relatedTarget=t?.relatedTarget??null}},ru=class extends W{newURL;oldURL;constructor(e,t=null){super(e,t),this.newURL=t?.newURL??``,this.oldURL=t?.oldURL??``}},iu=class extends Zl{data;dataTransfer;inputType;isComposing;constructor(e,t=null){super(e,t),this.data=t?.data??``,this.dataTransfer=t?.dataTransfer??null,this.inputType=t?.inputType??``,this.isComposing=t?.isComposing??!1}},au=class extends Zl{static DOM_KEY_LOCATION_STANDARD=0;static DOM_KEY_LOCATION_LEFT=1;static DOM_KEY_LOCATION_RIGHT=2;static DOM_KEY_LOCATION_NUMPAD=3;altKey;code;ctrlKey;isComposing;key;location;metaKey;repeat;shiftKey;keyCode;which;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.code=t?.code??``,this.ctrlKey=t?.ctrlKey??!1,this.isComposing=t?.isComposing??!1,this.key=t?.key??``,this.location=t?.location??0,this.metaKey=t?.metaKey??!1,this.repeat=t?.repeat??!1,this.shiftKey=t?.shiftKey??!1,this.keyCode=t?.keyCode??0,this.which=t?.which??t?.keyCode??0}getModifierState(e){if(arguments.length<1)throw TypeError(`Failed to execute 'getModifierState' on 'KeyboardEvent': 1 argument required, but only 0 present.`);switch(String(e).toLowerCase()){case`alt`:case`altgraph`:return this.altKey;case`control`:return this.ctrlKey;case`meta`:return this.metaKey;case`shift`:return this.shiftKey;default:return!1}}},ou=class extends W{data;origin;lastEventId;source;ports;constructor(e,t=null){super(e,t),this.data=t?.data??null,this.origin=t?.origin??``,this.lastEventId=t?.lastEventId??``,this.source=t?.source??null,this.ports=t?.ports??[]}},su=class extends Zl{altKey;button;buttons;clientX;clientY;ctrlKey;metaKey;movementX;movementY;offsetX;offsetY;region;relatedTarget;screenX;screenY;shiftKey;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.button=t?.button??0,this.buttons=t?.buttons??0,this.clientX=t?.clientX??0,this.clientY=t?.clientY??0,this.ctrlKey=t?.ctrlKey??!1,this.metaKey=t?.metaKey??!1,this.movementX=t?.movementX??0,this.movementY=t?.movementY??0,this.offsetX=t?.offsetX??0,this.offsetY=t?.offsetY??0,this.region=t?.region??``,this.relatedTarget=t?.relatedTarget??null,this.screenX=t?.screenX??0,this.screenY=t?.screenY??0,this.shiftKey=t?.shiftKey??!1}},cu=class extends su{pointerId;width;height;pressure;tangentialPressure;tiltX;tiltY;twist;altitudeAngle;azimuthAngle;pointerType;isPrimary;coalescedEvents;predictedEvents;constructor(e,t=null){super(e,t),this.pointerId=t?.pointerId??0,this.width=t?.width??1,this.height=t?.height??1,this.pressure=t?.pressure??0,this.tangentialPressure=t?.tangentialPressure??0,this.tiltX=t?.tiltX??0,this.tiltY=t?.tiltY??0,this.twist=t?.twist??0,this.altitudeAngle=t?.altitudeAngle??0,this.azimuthAngle=t?.azimuthAngle??0,this.pointerType=t?.pointerType??``,this.isPrimary=t?.isPrimary??!1,this.coalescedEvents=t?.coalescedEvents??[],this.predictedEvents=t?.predictedEvents??[]}getCoalescedEvents=()=>this.coalescedEvents;getPredictedEvents=()=>this.predictedEvents},lu=class extends W{lengthComputable;loaded;total;constructor(e,t=null){super(e),this.lengthComputable=t?.lengthComputable??!1,this.loaded=t?.loaded??0,this.total=t?.total??0}},uu=class extends W{key;oldValue;newValue;url;storageArea;constructor(e,t=null){super(e),this.key=t?.key??null,this.oldValue=t?.oldValue??null,this.newValue=t?.newValue??null,this.url=t?.url??``,this.storageArea=t?.storageArea??null}},du=class extends W{submitter;constructor(e,t=null){super(e,t),this.submitter=t?.submitter??null}},fu=class extends Zl{altKey;changedTouches;ctrlKey;metaKey;shiftKey;targetTouches;touches;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.changedTouches=t?.changedTouches??[],this.ctrlKey=t?.ctrlKey??!1,this.metaKey=t?.metaKey??!1,this.shiftKey=t?.shiftKey??!1,this.targetTouches=t?.targetTouches??[],this.touches=t?.touches??[]}},pu=class extends Zl{static DOM_DELTA_PIXEL=0;static DOM_DELTA_LINE=1;static DOM_DELTA_PAGE=2;deltaX;deltaY;deltaZ;deltaMode;constructor(e,t=null){super(e,t),this.deltaX=t?.deltaX??0,this.deltaY=t?.deltaY??0,this.deltaZ=t?.deltaZ??0,this.deltaMode=t?.deltaMode??0}},mu=class extends p{constructor(e,t){try{super(e,t)}catch(e){throw super(`about:blank`),this[b]?new this[b].TypeError(`Invalid URL`):e}}static createObjectURL(e){if(e instanceof Rs){let t=new r([e[me]],{type:e.type});return super.createObjectURL(t)}return super.createObjectURL(e)}};const hu=/^(about|blob|data):$/,gu=[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`];var _u=class{static prepareRequest(e,t){t.referrerPolicy||(t[No]=`strict-origin-when-cross-origin`),t.referrer&&t.referrer!==`no-referrer`?t[et]=this.getSentReferrer(e,t):t[et]=`no-referrer`}static getInitialReferrer(e,t){if(t===``||t===`no-referrer`||t===`client`)return t;if(t){let n=t instanceof mu?t:new mu(t,e.location.href);return n.origin===e.location.origin?n:`client`}return`client`}static getReferrerPolicyFromHeader(e){let t=e.get(`Referrer-Policy`);if(!t)return``;let n=t.split(/[,\s]+/),r=``;for(let e of n)e&&gu.includes(e)&&(r=e);return r}static getSentReferrer(e,t){if(t.referrer===`about:client`&&e.origin===`null`)return`no-referrer`;let n=new mu(t.url),r=t.referrer===`about:client`?new mu(e.href):new mu(t.referrer);if(hu.test(r.protocol))return`no-referrer`;switch(r.username=``,r.password=``,r.hash=``,t.referrerPolicy){case`no-referrer`:return`no-referrer`;case`origin`:return new mu(r.origin);case`unsafe-url`:return r;case`strict-origin`:return this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:new mu(r.origin);case`strict-origin-when-cross-origin`:return r.origin===n.origin?r:this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:new mu(r.origin);case`same-origin`:return r.origin===n.origin?r:`no-referrer`;case`origin-when-cross-origin`:return r.origin===n.origin?r:new mu(r.origin);case`no-referrer-when-downgrade`:return this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:r}return`no-referrer`}static isURLPotentiallyTrustWorthy(e){return/^about:(blank|srcdoc)$/.test(e.href)||e.protocol===`data:`||/^(blob|filesystem):$/.test(e.protocol)?!0:this.isOriginPotentiallyTrustWorthy(e)}static isOriginPotentiallyTrustWorthy(e){if(/^(http|ws)s:$/.test(e.protocol))return!0;let t=e.host.replace(/(^\[)|(]$)/g,``),n=ie(t);return n===4&&/^127\./.test(t)||n===6&&/^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(t)?!0:e.host===`localhost`||e.host.endsWith(`.localhost`)?!1:e.protocol===`file:`}},vu=class{static parse(e){if(!/^data:/i.test(e))throw TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');e=e.replace(/\r?\n/g,``);let t=e.indexOf(`,`);if(t===-1||t<=4)throw TypeError(`malformed data: URI`);let n=e.substring(5,t).split(`;`),r=``,i=!1,a=n[0]||`text/plain`;for(let e=1;e<n.length;e++)n[e]===`base64`?i=!0:n[e]&&(a+=`;${n[e]}`,n[e].indexOf(`charset=`)===0&&(r=n[e].substring(8)));!n[0]&&!r.length&&(a+=`;charset=US-ASCII`,r=`US-ASCII`);let o=i?`base64`:`ascii`,s=unescape(e.substring(t+1)),c=Buffer.from(s,o);return{type:a,charset:r,buffer:c}}},yu=class{static isCORS(e,t){return e=typeof e==`string`?new p(e):e,t=typeof t==`string`?new p(t):t,t.protocol===`about:`||t.protocol===`javascript:`?!1:e.hostname!==t.hostname&&!e.hostname.endsWith(t.hostname)||e.protocol!==t.protocol}},bu;(function(e){e[e.boundary=0]=`boundary`,e[e.headerStart=2]=`headerStart`,e[e.header=3]=`header`,e[e.data=5]=`data`})(bu||={});const xu={lf:10,cr:13};var Su=class{formData;boundary;boundaryIndex=0;state=bu.boundary;data={contentDisposition:null,value:[],contentType:null,header:``};constructor(e,t){let n=`--${t}`;this.boundary=new Uint8Array(n.length),this.formData=new e.FormData;for(let e=0,t=n.length;e<t;e++)this.boundary[e]=n.charCodeAt(e)}write(e){let t,n;for(let r=0,i=e.length;r<i;r++)switch(t=e[r],n=e[r+1],this.state){case bu.boundary:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length&&(this.state=bu.headerStart,this.boundaryIndex=0);break;case bu.headerStart:n!==xu.cr&&n!==xu.lf&&(this.data.header=``,this.state=e[r-2]===xu.lf?bu.data:bu.header);break;case bu.header:if(t===xu.cr){if(this.data.header){let e=this.data.header.split(`:`);if(e.length>1){let t=e[0].toLowerCase(),n=e[1].trim();switch(t){case`content-disposition`:this.data.contentDisposition=this.getContentDisposition(n);break;case`content-type`:this.data.contentType=n;break}}}this.state=bu.headerStart}else this.data.header+=String.fromCharCode(t);break;case bu.data:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length?(this.state=bu.headerStart,this.data.value.length&&(this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-(this.boundary.length+1))),this.data.contentDisposition.filename,this.data.contentType),this.data.value=[],this.data.contentDisposition=null,this.data.contentType=null),this.boundaryIndex=0):this.data.value.push(t);break}}end(){return this.data.contentDisposition&&this.data.value.length&&this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-2)),this.data.contentDisposition.filename,this.data.contentType),this.formData}appendFormData(e,t,n,r){t.length&&(n?this.formData.append(e,new ql([t],n,{type:r})):this.formData.append(e,t.toString()))}getContentDisposition(e){let t=/([a-z]+) *= *"([^"]+)"/g,n={},r;for(;r=t.exec(e);)n[r[1]]=r[2];return n}},Cu=class{#e;#t=null;constructor(e){this.#e=e}get readableStream(){return this.#t||=this.#e(),this.#t}},wu=class{static async streamToFormData(e,t,n){if(!/multipart/i.test(n))throw new e.DOMException(`Failed to build FormData object: The "content-type" header isn't of type "multipart/form-data".`,H.invalidStateError);let r=t.body;if(!r)throw new e.DOMException(`Failed to build FormData object: The response body is null.`,H.invalidStateError);let a=n.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!a)throw new e.DOMException(`Failed to build FormData object: The "content-type" header doesn't contain any multipart boundary.`,H.invalidStateError);let o=r.getReader(),s=new Su(e,a[1]||a[2]),c=[],l,u=await o.read();for(;!u.done;){if(t[fn])throw t[fn];if(t[Xr])throw new e.DOMException(`Failed to read response body: The stream was aborted.`,H.abortError);s.write(u.value),u=await o.read()}try{l=typeof c[0]==`string`?i.from(c.join(``)):i.concat(c,0)}catch(t){throw new e.DOMException(`Could not create Buffer from response body. Error: ${t.message}.`,H.invalidStateError)}return{formData:s.end(),buffer:l}}static formDataToStream(e){let t=`----HappyDOMFormDataBoundary`+Math.random().toString(36),n=[],r=`--${t}\r\nContent-Disposition: form-data; name="`;for(let[t,a]of e)typeof a==`string`?n.push(i.from(`${r}${this.escapeName(t)}"\r\n\r\n${a.replace(/\r(?!\n)|(?<!\r)\n/g,`\r
16
+ `,`@${this[Qo]}supports ${this.conditionText} {${e}}`}},Fl={html:`http://www.w3.org/1999/xhtml`,svg:`http://www.w3.org/2000/svg`,mathML:`http://www.w3.org/1998/Math/MathML`,xml:`http://www.w3.org/XML/1998/namespace`,xlink:`http://www.w3.org/1999/xlink`,xmlns:`http://www.w3.org/2000/xmlns/`};const Il=new Map,Ll=new Map,Rl=/[A-Z]/g,zl=/[a-z]/g;var Bl=class{static asciiLowerCase(e){let t=Il.get(e);if(t)return t;let n=e.replace(Rl,e=>String.fromCharCode(e.charCodeAt(0)+32));return Il.set(e,n),n}static asciiUpperCase(e){let t=Ll.get(e);if(t)return t;let n=e.replace(zl,e=>String.fromCharCode(e.charCodeAt(0)-32));return Ll.set(e,n),n}};const Vl=`[-_.]|[0-9]|[a-z]|·|[À-Ö]|[Ø-ö]|[ø-ͽ]|[Ϳ-῿]|[‌-‍]|[‿-⁀]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|[𐀀-󯿿]`,Hl=RegExp(`^[a-z](${Vl})*-(${Vl})*$`,`u`),Ul=[`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`];var Wl=class{static isValidCustomElementName(e){return Hl.test(e)&&!Ul.includes(e)}},Gl=class{[tt]=new Map;[wn]=new Map;[ge]=new Map;[Yr]=!1;#e;constructor(e){if(!e)throw TypeError(`Illegal constructor`);this.#e=e}define(e,t,n){if(this[Yr])return;if(!Wl.isValidCustomElementName(e))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': "${e}" is not a valid custom element name`);if(this[tt].has(e))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(this[wn].has(t))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry`);let r=Bl.asciiUpperCase(e);t.prototype[b]=this.#e,t.prototype[g]=this.#e.document,t.prototype[w]=r,t.prototype[k]=e,t.prototype[T]=Fl.html;let i=new Set,a=t.observedAttributes;if(Array.isArray(a))for(let e of a)i.add(String(e).toLowerCase());this[tt].set(e,{elementClass:t,extends:n&&n.extends?n.extends.toLowerCase():null,observedAttributes:i,lifecycleCallbacks:{connectedCallback:t.prototype.connectedCallback,disconnectedCallback:t.prototype.disconnectedCallback,attributeChangedCallback:t.prototype.attributeChangedCallback}}),this[wn].set(t,e);let o=this[ge].get(e);if(o){this[ge].delete(e);for(let e of o)e()}}get(e){return this[tt].get(e)?.elementClass}upgrade(e){}whenDefined(e){return this[Yr]?Promise.reject(new this.#e.DOMException(`Failed to execute 'whenDefined' on 'CustomElementRegistry': The custom element registry has been destroyed.`)):Wl.isValidCustomElementName(e)?this.get(e)?Promise.resolve():new Promise(t=>{let n=this[ge].get(e);n?n.push(t):this[ge].set(e,[t])}):Promise.reject(new this.#e.DOMException(`Failed to execute 'whenDefined' on 'CustomElementRegistry': Invalid custom element name: "${e}"`))}getName(e){return this[wn].get(e)||null}[Me](){this[Yr]=!0;for(let e of this[tt].values())e.elementClass.prototype[b]=null,e.elementClass.prototype[g]=null,e.elementClass.prototype[w]=null,e.elementClass.prototype[k]=null,e.elementClass.prototype[T]=null;this[tt]=new Map,this[wn]=new Map,this[ge]=new Map}},Kl=class{kind;type;#e=null;constructor(e,t=``){this.kind=typeof e==`string`?`string`:`file`,this.type=this.kind===`string`?t:e.type,this.#e=e}getAsFile(){return this.kind===`string`?null:this.#e}getAsString(e){this.kind===`file`&&e(``),e(this.#e)}},ql=class extends Rs{lastModified;name;constructor(e,t,n){if(arguments.length<2)throw TypeError(`Failed to construct 'File': 2 arguments required, but only `+arguments.length+` present.`);super(e,n),this.name=t,this.lastModified=n&&n.lastModified?n.lastModified:Date.now()}},Jl=class extends Array{add(e,t){if(e instanceof ql){this.push(new Kl(e));return}if(!t)throw TypeError(`Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'.`);this.push(new Kl(e,t))}remove(e){this.splice(e,1)}clear(){for(;this.length;)this.pop()}},Yl=class{dropEffect=`none`;effectAllowed=`none`;items=new Jl;get files(){let e=[];for(let t of this.items)if(t.kind===`file`){let n=t.getAsFile();n&&e.push(n)}return e}get types(){return this.items.map(e=>e.type)}clearData(){this.items.clear()}setData(e,t){for(let n=0,r=this.items.length;n<r;n++)if(this.items[n].type===e){this.items[n]=new Kl(t,e);return}this.items.add(t,e)}getData(e){let t=this.#e(e);for(let e=0,n=this.items.length;e<n;e++)if(this.#e(this.items[e].type)===t){let t=``;return this.items[e].getAsString(e=>t=e),t}return``}#e(e){let t=e.toLowerCase();return t===`text`?`text/plain`:t===`url`?`text/uri-list`:t}setDragImage(){throw Error(`Not implemented.`)}},Xl=class{identifier;target;clientX;clientY;screenX;screenY;pageX;pageY;radiusX;radiusY;rotationAngle;force;constructor(e){this.identifier=e.identifier,this.target=e.target,this.clientX=e.clientX??0,this.clientY=e.clientY??0,this.screenX=e.screenX??0,this.screenY=e.screenY??0,this.pageX=e.pageX??0,this.pageY=e.pageY??0,this.radiusX=e.radiusX??0,this.radiusY=e.radiusY??0,this.rotationAngle=e.rotationAngle??0,this.force=e.force??0}},Zl=class extends W{static NONE=0;static CAPTURING_PHASE=1;static AT_TARGET=2;static BUBBLING_PHASE=3;detail;layerX=0;layerY=0;pageX=0;pageY=0;view;constructor(e,t=null){super(e,t),this.detail=t?.detail??0,this.view=t?.view??null}},Ql=class extends W{animationName;elapsedTime;pseudoElement;constructor(e,t=null){super(e,t),this.animationName=t?.animationName??``,this.elapsedTime=t?.elapsedTime??0,this.pseudoElement=t?.pseudoElement??``}},$l=class extends W{clipboardData;constructor(e,t=null){super(e,t),this.clipboardData=t?.clipboardData??null}},eu=class extends W{[Jr];constructor(e,t=null){super(e,t),this[Jr]=t?.detail??null}get detail(){return this[Jr]}initCustomEvent(e,t=!1,n=!1,r=null){this[qr]=e,this[Hr]=t,this[Ur]=n,this[Jr]=r}},tu=class extends Zl{message;filename;lineno;colno;error;constructor(e,t=null){super(e,t),this.message=t?.message??``,this.filename=t?.filename??``,this.lineno=t?.lineno??0,this.colno=t?.colno??0,this.error=t?.error??null}},nu=class extends Zl{relatedTarget;constructor(e,t=null){super(e,t),this.relatedTarget=t?.relatedTarget??null}},ru=class extends W{newURL;oldURL;constructor(e,t=null){super(e,t),this.newURL=t?.newURL??``,this.oldURL=t?.oldURL??``}},iu=class extends Zl{data;dataTransfer;inputType;isComposing;constructor(e,t=null){super(e,t),this.data=t?.data??``,this.dataTransfer=t?.dataTransfer??null,this.inputType=t?.inputType??``,this.isComposing=t?.isComposing??!1}},au=class extends Zl{static DOM_KEY_LOCATION_STANDARD=0;static DOM_KEY_LOCATION_LEFT=1;static DOM_KEY_LOCATION_RIGHT=2;static DOM_KEY_LOCATION_NUMPAD=3;altKey;code;ctrlKey;isComposing;key;location;metaKey;repeat;shiftKey;keyCode;which;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.code=t?.code??``,this.ctrlKey=t?.ctrlKey??!1,this.isComposing=t?.isComposing??!1,this.key=t?.key??``,this.location=t?.location??0,this.metaKey=t?.metaKey??!1,this.repeat=t?.repeat??!1,this.shiftKey=t?.shiftKey??!1,this.keyCode=t?.keyCode??0,this.which=t?.which??t?.keyCode??0}getModifierState(e){if(arguments.length<1)throw TypeError(`Failed to execute 'getModifierState' on 'KeyboardEvent': 1 argument required, but only 0 present.`);switch(String(e).toLowerCase()){case`alt`:case`altgraph`:return this.altKey;case`control`:return this.ctrlKey;case`meta`:return this.metaKey;case`shift`:return this.shiftKey;default:return!1}}},ou=class extends W{data;origin;lastEventId;source;ports;constructor(e,t=null){super(e,t),this.data=t?.data??null,this.origin=t?.origin??``,this.lastEventId=t?.lastEventId??``,this.source=t?.source??null,this.ports=t?.ports??[]}},su=class extends Zl{altKey;button;buttons;clientX;clientY;ctrlKey;metaKey;movementX;movementY;offsetX;offsetY;region;relatedTarget;screenX;screenY;shiftKey;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.button=t?.button??0,this.buttons=t?.buttons??0,this.clientX=t?.clientX??0,this.clientY=t?.clientY??0,this.ctrlKey=t?.ctrlKey??!1,this.metaKey=t?.metaKey??!1,this.movementX=t?.movementX??0,this.movementY=t?.movementY??0,this.offsetX=t?.offsetX??0,this.offsetY=t?.offsetY??0,this.region=t?.region??``,this.relatedTarget=t?.relatedTarget??null,this.screenX=t?.screenX??0,this.screenY=t?.screenY??0,this.shiftKey=t?.shiftKey??!1}},cu=class extends su{pointerId;width;height;pressure;tangentialPressure;tiltX;tiltY;twist;altitudeAngle;azimuthAngle;pointerType;isPrimary;coalescedEvents;predictedEvents;constructor(e,t=null){super(e,t),this.pointerId=t?.pointerId??0,this.width=t?.width??1,this.height=t?.height??1,this.pressure=t?.pressure??0,this.tangentialPressure=t?.tangentialPressure??0,this.tiltX=t?.tiltX??0,this.tiltY=t?.tiltY??0,this.twist=t?.twist??0,this.altitudeAngle=t?.altitudeAngle??0,this.azimuthAngle=t?.azimuthAngle??0,this.pointerType=t?.pointerType??``,this.isPrimary=t?.isPrimary??!1,this.coalescedEvents=t?.coalescedEvents??[],this.predictedEvents=t?.predictedEvents??[]}getCoalescedEvents=()=>this.coalescedEvents;getPredictedEvents=()=>this.predictedEvents},lu=class extends W{lengthComputable;loaded;total;constructor(e,t=null){super(e),this.lengthComputable=t?.lengthComputable??!1,this.loaded=t?.loaded??0,this.total=t?.total??0}},uu=class extends W{key;oldValue;newValue;url;storageArea;constructor(e,t=null){super(e),this.key=t?.key??null,this.oldValue=t?.oldValue??null,this.newValue=t?.newValue??null,this.url=t?.url??``,this.storageArea=t?.storageArea??null}},du=class extends W{submitter;constructor(e,t=null){super(e,t),this.submitter=t?.submitter??null}},fu=class extends Zl{altKey;changedTouches;ctrlKey;metaKey;shiftKey;targetTouches;touches;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.changedTouches=t?.changedTouches??[],this.ctrlKey=t?.ctrlKey??!1,this.metaKey=t?.metaKey??!1,this.shiftKey=t?.shiftKey??!1,this.targetTouches=t?.targetTouches??[],this.touches=t?.touches??[]}},pu=class extends Zl{static DOM_DELTA_PIXEL=0;static DOM_DELTA_LINE=1;static DOM_DELTA_PAGE=2;deltaX;deltaY;deltaZ;deltaMode;constructor(e,t=null){super(e,t),this.deltaX=t?.deltaX??0,this.deltaY=t?.deltaY??0,this.deltaZ=t?.deltaZ??0,this.deltaMode=t?.deltaMode??0}},mu=class extends p{constructor(e,t){try{super(e,t)}catch(e){throw super(`about:blank`),this[b]?new this[b].TypeError(`Invalid URL`):e}}static createObjectURL(e){if(e instanceof Rs){let t=new r([e[me]],{type:e.type});return super.createObjectURL(t)}return super.createObjectURL(e)}};const hu=/^(about|blob|data):$/,gu=[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`];var _u=class{static prepareRequest(e,t){t.referrerPolicy||(t[No]=`strict-origin-when-cross-origin`),t.referrer&&t.referrer!==`no-referrer`?t[et]=this.getSentReferrer(e,t):t[et]=`no-referrer`}static getInitialReferrer(e,t){if(t===``||t===`no-referrer`||t===`client`)return t;if(t){let n=t instanceof mu?t:new mu(t,e.location.href);return n.origin===e.location.origin?n:`client`}return`client`}static getReferrerPolicyFromHeader(e){let t=e.get(`Referrer-Policy`);if(!t)return``;let n=t.split(/[,\s]+/),r=``;for(let e of n)e&&gu.includes(e)&&(r=e);return r}static getSentReferrer(e,t){if(t.referrer===`about:client`&&e.origin===`null`)return`no-referrer`;let n=new mu(t.url),r=t.referrer===`about:client`?new mu(e.href):new mu(t.referrer);if(hu.test(r.protocol))return`no-referrer`;switch(r.username=``,r.password=``,r.hash=``,t.referrerPolicy){case`no-referrer`:return`no-referrer`;case`origin`:return new mu(r.origin);case`unsafe-url`:return r;case`strict-origin`:return this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:new mu(r.origin);case`strict-origin-when-cross-origin`:return r.origin===n.origin?r:this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:new mu(r.origin);case`same-origin`:return r.origin===n.origin?r:`no-referrer`;case`origin-when-cross-origin`:return r.origin===n.origin?r:new mu(r.origin);case`no-referrer-when-downgrade`:return this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:r}return`no-referrer`}static isURLPotentiallyTrustWorthy(e){return/^about:(blank|srcdoc)$/.test(e.href)||e.protocol===`data:`||/^(blob|filesystem):$/.test(e.protocol)?!0:this.isOriginPotentiallyTrustWorthy(e)}static isOriginPotentiallyTrustWorthy(e){if(/^(http|ws)s:$/.test(e.protocol))return!0;let t=e.host.replace(/(^\[)|(]$)/g,``),n=oe(t);return n===4&&/^127\./.test(t)||n===6&&/^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(t)?!0:e.host===`localhost`||e.host.endsWith(`.localhost`)?!1:e.protocol===`file:`}},vu=class{static parse(e){if(!/^data:/i.test(e))throw TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');e=e.replace(/\r?\n/g,``);let t=e.indexOf(`,`);if(t===-1||t<=4)throw TypeError(`malformed data: URI`);let n=e.substring(5,t).split(`;`),r=``,i=!1,a=n[0]||`text/plain`;for(let e=1;e<n.length;e++)n[e]===`base64`?i=!0:n[e]&&(a+=`;${n[e]}`,n[e].indexOf(`charset=`)===0&&(r=n[e].substring(8)));!n[0]&&!r.length&&(a+=`;charset=US-ASCII`,r=`US-ASCII`);let o=i?`base64`:`ascii`,s=unescape(e.substring(t+1)),c=Buffer.from(s,o);return{type:a,charset:r,buffer:c}}},yu=class{static isCORS(e,t){return e=typeof e==`string`?new p(e):e,t=typeof t==`string`?new p(t):t,t.protocol===`about:`||t.protocol===`javascript:`?!1:e.hostname!==t.hostname&&!e.hostname.endsWith(t.hostname)||e.protocol!==t.protocol}},bu;(function(e){e[e.boundary=0]=`boundary`,e[e.headerStart=2]=`headerStart`,e[e.header=3]=`header`,e[e.data=5]=`data`})(bu||={});const xu={lf:10,cr:13};var Su=class{formData;boundary;boundaryIndex=0;state=bu.boundary;data={contentDisposition:null,value:[],contentType:null,header:``};constructor(e,t){let n=`--${t}`;this.boundary=new Uint8Array(n.length),this.formData=new e.FormData;for(let e=0,t=n.length;e<t;e++)this.boundary[e]=n.charCodeAt(e)}write(e){let t,n;for(let r=0,i=e.length;r<i;r++)switch(t=e[r],n=e[r+1],this.state){case bu.boundary:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length&&(this.state=bu.headerStart,this.boundaryIndex=0);break;case bu.headerStart:n!==xu.cr&&n!==xu.lf&&(this.data.header=``,this.state=e[r-2]===xu.lf?bu.data:bu.header);break;case bu.header:if(t===xu.cr){if(this.data.header){let e=this.data.header.split(`:`);if(e.length>1){let t=e[0].toLowerCase(),n=e[1].trim();switch(t){case`content-disposition`:this.data.contentDisposition=this.getContentDisposition(n);break;case`content-type`:this.data.contentType=n;break}}}this.state=bu.headerStart}else this.data.header+=String.fromCharCode(t);break;case bu.data:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length?(this.state=bu.headerStart,this.data.value.length&&(this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-(this.boundary.length+1))),this.data.contentDisposition.filename,this.data.contentType),this.data.value=[],this.data.contentDisposition=null,this.data.contentType=null),this.boundaryIndex=0):this.data.value.push(t);break}}end(){return this.data.contentDisposition&&this.data.value.length&&this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-2)),this.data.contentDisposition.filename,this.data.contentType),this.formData}appendFormData(e,t,n,r){t.length&&(n?this.formData.append(e,new ql([t],n,{type:r})):this.formData.append(e,t.toString()))}getContentDisposition(e){let t=/([a-z]+) *= *"([^"]+)"/g,n={},r;for(;r=t.exec(e);)n[r[1]]=r[2];return n}},Cu=class{#e;#t=null;constructor(e){this.#e=e}get readableStream(){return this.#t||=this.#e(),this.#t}},wu=class{static async streamToFormData(e,t,n){if(!/multipart/i.test(n))throw new e.DOMException(`Failed to build FormData object: The "content-type" header isn't of type "multipart/form-data".`,H.invalidStateError);let r=t.body;if(!r)throw new e.DOMException(`Failed to build FormData object: The response body is null.`,H.invalidStateError);let a=n.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!a)throw new e.DOMException(`Failed to build FormData object: The "content-type" header doesn't contain any multipart boundary.`,H.invalidStateError);let o=r.getReader(),s=new Su(e,a[1]||a[2]),c=[],l,u=await o.read();for(;!u.done;){if(t[fn])throw t[fn];if(t[Xr])throw new e.DOMException(`Failed to read response body: The stream was aborted.`,H.abortError);s.write(u.value),u=await o.read()}try{l=typeof c[0]==`string`?i.from(c.join(``)):i.concat(c,0)}catch(t){throw new e.DOMException(`Could not create Buffer from response body. Error: ${t.message}.`,H.invalidStateError)}return{formData:s.end(),buffer:l}}static formDataToStream(e){let t=`----HappyDOMFormDataBoundary`+Math.random().toString(36),n=[],r=`--${t}\r\nContent-Disposition: form-data; name="`;for(let[t,a]of e)typeof a==`string`?n.push(i.from(`${r}${this.escapeName(t)}"\r\n\r\n${a.replace(/\r(?!\n)|(?<!\r)\n/g,`\r
17
17
  `)}\r\n`)):(n.push(i.from(`${r}${this.escapeName(t)}"; filename="${this.escapeName(a.name,!0)}"\r\nContent-Type: ${a.type||`application/octet-stream`}\r\n\r\n`)),n.push(a[me]),n.push(i.from(`\r
18
18
  `)));n.push(i.from(`--${t}--\r\n`));let a=i.concat(n);return{contentType:`multipart/form-data; boundary=${t}`,contentLength:a.length,buffer:a,stream:new Cu(()=>new se({start(e){e.enqueue(a),e.close()}}))}}static escapeName(e,t=!1){return(t?e:e.replace(/\r?\n|\r/g,`\r
19
19
  `)).replace(/\n/g,`%0A`).replace(/\r/g,`%0D`).replace(/"/g,`%22`)}},Tu=class{#e=[];constructor(e,t){if(!e)return;if(t){let n=e[ar]?e[ar]:e;if(t.form!==n)throw new this[b].DOMException(`The specified element is not owned by this form element`,H.notFoundError);if(!(t[w]===`INPUT`&&(t.type===`submit`||t.type===`image`)||t[w]===`BUTTON`&&t.type===`submit`))throw new this[b].TypeError(`The specified element is not a submit button`)}let n=e[tr]();for(let e of n){let n=e.name;if(n)switch(e[w]){case`INPUT`:if(e.disabled)break;switch(e.type){case`file`:if(e[$t].length===0)this.append(n,new ql([],``,{type:`application/octet-stream`}));else for(let t of e[$t])this.append(n,t);break;case`checkbox`:case`radio`:e.checked&&this.append(n,e.value);break;case`submit`:case`reset`:case`button`:e===t&&e.value&&this.append(n,e.value);break;default:this.append(n,e.value);break}break;case`BUTTON`:e===t&&e.value&&this.append(n,e.value);break;case`TEXTAREA`:case`SELECT`:this.append(n,e.value);break}}}forEach(e,t){for(let n of this.#e)e.call(t,n.value,n.name,this)}append(e,t,n){if(n&&!(t instanceof Rs))throw new this[b].TypeError(`Failed to execute "append" on "FormData": parameter 2 is not of type "Blob".`);this.#e.push({name:e,value:this.#t(t,n)})}delete(e){let t=[];for(let n of this.#e)n.name!==e&&t.push(n);this.#e=t}get(e){for(let t of this.#e)if(t.name===e)return t.value;return null}getAll(e){let t=[];for(let n of this.#e)n.name===e&&t.push(n.value);return t}has(e){for(let t of this.#e)if(t.name===e)return!0;return!1}set(e,t,n){for(let r of this.#e)if(r.name===e){r.value=this.#t(t,n);return}this.append(e,t)}*keys(){for(let e of this.#e)yield e.name}*values(){for(let e of this.#e)yield e.value}*entries(){for(let e of this.#e)yield[e.name,e.value]}*[Symbol.iterator](){for(let e of this.#e)yield[e.name,e.value]}#t(e,t){if(e instanceof ql){if(t){let n=new ql([],t,{type:e.type,lastModified:e.lastModified});return n[me]=e[me],n}return e}if(e instanceof Rs){let t=new ql([],`blob`,{type:e.type});return t[me]=e[me],t}return String(e)}},Eu=class{static getBodyStream(e){if(e==null)return{stream:null,buffer:null,contentType:null,contentLength:null};if(e instanceof ee){let t=i.from(e.toString());return{buffer:t,stream:this.getReadableStream(t),contentType:`application/x-www-form-urlencoded;charset=UTF-8`,contentLength:t.length}}else if(e instanceof Rs){let t=e[me];return{buffer:t,stream:this.getReadableStream(t),contentType:e.type,contentLength:e.size}}else if(i.isBuffer(e))return{buffer:e,stream:this.getReadableStream(e),contentType:null,contentLength:e.length};else if(e instanceof ArrayBuffer){let t=i.from(e);return{buffer:t,stream:this.getReadableStream(t),contentType:null,contentLength:e.byteLength}}else if(ArrayBuffer.isView(e)){let t=i.from(e.buffer,e.byteOffset,e.byteLength);return{buffer:t,stream:this.getReadableStream(t),contentType:null,contentLength:e.byteLength}}else if(e instanceof se)return{buffer:null,stream:new Cu(()=>e),contentType:null,contentLength:null};else if(e instanceof Tu)return wu.formDataToStream(e);let t=i.from(String(e));return{buffer:t,stream:this.getReadableStream(t),contentType:`text/plain;charset=UTF-8`,contentLength:t.length}}static cloneBodyStream(e,t){if(t.bodyUsed)throw new e.DOMException(`Failed to clone body stream of request: Request body is already used.`,H.invalidStateError);if(t.body===null||t.body===void 0)return null;if(t[me])return this.getReadableStream(t[me]).readableStream;if(t.body[Tn]){let e=new u.PassThrough,n=new u.PassThrough;return t.body[Tn].pipe(e),t.body[Tn].pipe(n),t[jo]=new Cu(()=>this.nodeToWebStream(e)),this.nodeToWebStream(n)}let[n,r]=t.body.tee();return t[jo]=new Cu(()=>n),r}static async consumeBodyStream(e,t){let n=t.body;if(n===null||!(n instanceof se))return i.alloc(0);if(t[fn])throw t[fn];let r=n.getReader(),a=[],o=0;try{let n=await r.read();for(;!n.done;){if(t[fn])throw t[fn];if(t[Xr])throw new e.DOMException(`Failed to read response body: The stream was aborted.`,H.abortError);let i=n.value;o+=i.length,a.push(i),n=await r.read()}}catch(t){throw t instanceof _s?t:new e.DOMException(`Failed to read response body. Error: ${t.message}.`,H.encodingError)}try{return typeof a[0]==`string`?i.from(a.join(``)):i.concat(a,o)}catch(t){throw new e.DOMException(`Could not create Buffer from response body. Error: ${t.message}.`,H.invalidStateError)}}static nodeToWebStream(e){let t=new se({start(t){e.on(`data`,e=>{t.enqueue(e)}),e.on(`end`,()=>{t.close()}),e.on(`error`,e=>{t.error(e)})}});return t[Tn]=e,t}static getReadableStream(e){return new Cu(()=>new se({start(t){t.enqueue(e),t.close()}}))}};const Du=[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`],Ou=[`error`,`manual`,`follow`],ku=[`data:`,`http:`,`https:`],Au=[`TRACE`,`TRACK`,`CONNECT`],ju=/^[A-Z]+$/;var Mu=class{static validateMethod(e){if(!e.method||Au.includes(e.method))throw new _s(`'${e.method||``}' is not a valid HTTP method.`,H.invalidStateError);if(!ju.test(e.method))throw new _s(`'${e.method}' HTTP method is unsupported.`,H.invalidStateError)}static validateBody(e){if(e.body&&(e.method===`GET`||e.method===`HEAD`))throw new _s(`Request with GET/HEAD method cannot have body.`,H.invalidStateError)}static validateURL(e){if(e.username!==``||e.password!==``)throw new _s(`${e} is an url with embedded credentials.`,H.notSupportedError)}static validateReferrerPolicy(e){if(!Du.includes(e))throw new _s(`Invalid referrer policy "${e}".`,H.syntaxError)}static validateRedirect(e){if(!Ou.includes(e))throw new _s(`Invalid redirect "${e}".`,H.syntaxError)}static validateSchema(e){if(!ku.includes(e[gt].protocol))throw new _s(`Failed to fetch from "${e.url}": URL scheme "${e[gt].protocol.replace(/:$/,``)}" is not supported.`,H.notSupportedError)}},Nu=class{static stringToCookie(e,t){let n=t.split(`;`),r=n.shift();if(!r)return null;let i=r.indexOf(`=`),a=i===-1?r.trim():r.slice(0,i).trim(),o=i===-1?null:r.slice(i+1).trim(),s=Object.assign({},us,{key:a,value:o,originURL:e});if(!s.key)return null;for(let e of n){let t=e.indexOf(`=`),n=t===-1?e.trim().toLowerCase():e.slice(0,t).trim().toLowerCase(),r=t===-1?``:e.slice(t+1).trim();switch(n){case`expires`:s.expires=new Date(r);break;case`max-age`:s.expires=new Date(parseInt(r,10)*1e3+Date.now());break;case`domain`:s.domain=r;break;case`path`:s.path=r[0]===`/`?r:`/${r}`;break;case`httponly`:s.httpOnly=!0;break;case`secure`:s.secure=!0;break;case`samesite`:switch(r.toLowerCase()){case`strict`:s.sameSite=ls.strict;break;case`lax`:s.sameSite=ls.lax;break;case`none`:s.sameSite=ls.none}break}}let c=s.key.toLowerCase();return c.startsWith(`__secure-`)&&!s.secure||c.startsWith(`__host-`)&&(!s.secure||s.path!==`/`||s.domain)?null:s}static cookiesToString(e){let t=[];for(let n of e)n.value===null?t.push(n.key):t.push(`${n.key}=${n.value}`);return t.join(`; `)}};const Pu=[`accept-charset`,`accept-encoding`,`access-control-request-headers`,`access-control-request-method`,`connection`,`content-length`,`content-transfer-encoding`,`cookie`,`cookie2`,`date`,`dnt`,`expect`,`host`,`keep-alive`,`origin`,`referer`,`te`,`trailer`,`transfer-encoding`,`upgrade`,`via`];var Fu=class{static removeForbiddenHeaders(e){for(let t of Object.keys(e[Pe]))(Pu.includes(t)||t.startsWith(`proxy-`)||t.startsWith(`sec-`))&&delete e[Pe][t]}static isHeaderForbidden(e){return Pu.includes(e.toLowerCase())}static getRequestHeaders(e){let t=new e.window.Headers(e.baseHeaders);e.request.headers.forEach((e,n)=>{t.set(n,e)});let n=new p(e.window.location.href),r=yu.isCORS(n,e.request[gt]);if(t.set(`Accept-Encoding`,`gzip, deflate, br`),t.set(`Connection`,`close`),t.has(`User-Agent`)||t.set(`User-Agent`,e.window.navigator.userAgent),e.request[et]instanceof p&&t.set(`Referer`,e.request[et].href),e.request.credentials===`include`||e.request.credentials===`same-origin`&&!r){let n=e.browserFrame.page.context.cookieContainer.getCookies(e.request[gt],!1);n.length>0&&t.set(`Cookie`,Nu.cookiesToString(n))}else t.delete(`Cookie`),t.delete(`Cookie2`);t.has(`Accept`)||t.set(`Accept`,`*/*`),!t.has(`Content-Length`)&&e.request[Te]!==null&&t.set(`Content-Length`,String(e.request[Te])),!t.has(`Content-Type`)&&e.request[Ee]&&t.set(`Content-Type`,e.request[Ee]),r&&t.set(`Origin`,n.origin);let i={};for(let e of Object.values(t[Pe]))i[e.name]=e.value.join(`, `);return i}},Iu=class e{[Ta];[jo];[xn]=`cors`;[wr];[Mo];[No];[Po];[Fo]=!1;[Io];[Xr]=!1;[fn]=null;[Te]=null;[Ee]=null;[et]=`client`;[gt];[pe];constructor(t,n){let r=this[b];if(!r)throw TypeError(`Failed to construct 'Request': 'Request' was constructed outside a Window context.`);if(typeof t!=`string`&&!t)throw new r.TypeError(`Failed to construct 'Request': 1 argument required, only 0 present.`);if(this[Ta]=(n?.method||t.method||`GET`).toUpperCase(),n?.mode)switch(n.mode){case`navigate`:case`websocket`:throw new r.DOMException(`Failed to construct 'Request': Cannot construct a Request with a RequestInit whose mode member is set as '${n.mode}'.`,H.securityError);case`same-origin`:case`no-cors`:case`cors`:this[xn]=n.mode;break;default:throw new r.DOMException(`Failed to construct 'Request': The provided value '${n.mode}' is not a valid enum value of type RequestMode.`,H.syntaxError)}else t instanceof e&&(this[xn]=t.mode);let{stream:i,buffer:a,contentType:o,contentLength:s}=Eu.getBodyStream(t instanceof e&&(t[pe]||t.body)?t[pe]||Eu.cloneBodyStream(r,t):n?.body??null);if(this[pe]=a,this[jo]=i,this[Io]=n?.credentials||t.credentials||`same-origin`,this[wr]=new this[b].Headers(n?.headers||t.headers||{}),Fu.removeForbiddenHeaders(this.headers),s?this[Te]=s:!this.body&&(this.method===`POST`||this.method===`PUT`)&&(this[Te]=0),o?(this.headers.has(`Content-Type`)||this.headers.set(`Content-Type`,o),this[Ee]=o):t instanceof e&&t[Ee]&&(this[Ee]=t[Ee]),this[Mo]=n?.redirect||t.redirect||`follow`,this[No]=(n?.referrerPolicy||t.referrerPolicy||``).toLowerCase(),this[Po]=n?.signal||t.signal||new r.AbortSignal,this[et]=_u.getInitialReferrer(r,n?.referrer!==null&&n?.referrer!==void 0?n?.referrer:t.referrer),t instanceof p)this[gt]=t;else try{t instanceof e&&t.url?this[gt]=new p(t.url,r.location.href):this[gt]=new p(t,r.location.href)}catch{throw new r.DOMException(`Failed to construct 'Request': Invalid URL "${t}" on document location '${r.location}'.${r.location.origin===`null`?` Relative URLs are not permitted on current document location.`:``}`,H.notSupportedError)}Mu.validateMethod(this),Mu.validateBody(this),Mu.validateURL(this[gt]),Mu.validateReferrerPolicy(this.referrerPolicy),Mu.validateRedirect(this.redirect)}get method(){return this[Ta]}get body(){return this[jo]?.readableStream||null}get mode(){return this[xn]}get headers(){return this[wr]}get redirect(){return this[Mo]}get referrerPolicy(){return this[No]}get signal(){return this[Po]}get bodyUsed(){return this[Fo]}get credentials(){return this[Io]}get referrer(){return!this[et]||this[et]===`no-referrer`?``:this[et]===`client`?`about:client`:this[et].toString()}get url(){return this[gt].href}get[Symbol.toStringTag](){return`Request`}async arrayBuffer(){let e=this[b];if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getAsyncTaskManager();this[Fo]=!0;let n=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),r;try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw t.endTask(n),e}return t.endTask(n),r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}async blob(){let e=this.headers.get(`Content-Type`)||``;return new Rs([await this.arrayBuffer()],{type:e})}async buffer(){let e=this[b];if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getAsyncTaskManager();this[Fo]=!0;let n=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),r;try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw t.endTask(n),e}return t.endTask(n),r}async text(){let e=this[b];if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getAsyncTaskManager();this[Fo]=!0;let n=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),r;try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw t.endTask(n),e}return t.endTask(n),new TextDecoder().decode(r)}async json(){let e=await this.text();return JSON.parse(e)}async formData(){let e=this[b],t=new Y(e).getAsyncTaskManager(),n=this.headers.get(`Content-Type`)??this[Ee];if(this.body&&n&&/multipart/i.test(n)){if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);this[Fo]=!0;let r=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),i;try{i=(await wu.streamToFormData(e,this,n)).formData}catch(e){throw t.endTask(r),e}return t.endTask(r),i}if(n?.startsWith(`application/x-www-form-urlencoded`)){let t=new URLSearchParams(await this.text()),n=new e.FormData;for(let[e,r]of t)n.append(e,r);return n}throw new e.DOMException(`Failed to construct FormData object: The "content-type" header is neither "application/x-www-form-urlencoded" nor "multipart/form-data".`,H.invalidStateError)}clone(){return new this[b].Request(this)}};const Lu=[301,302,303,307,308];var Ru=class{bodyUsed=!1;redirected=!1;type=`basic`;url=``;status;statusText;ok;headers;[he]=null;[me]=null;[$o]=null;[Xr]=!1;[fn]=null;[jo]=null;constructor(e,t){if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);if(this.status=t?.status===void 0?200:t.status,this.statusText=t?.statusText||``,this.ok=this.status>=200&&this.status<300,this.headers=new this[b].Headers(t?.headers),this.headers.delete(`Set-Cookie`),this.headers.delete(`Set-Cookie2`),e){let{stream:t,buffer:n,contentType:r}=Eu.getBodyStream(e);this[jo]=t,n&&(this[me]=n),r&&!this.headers.has(`Content-Type`)&&this.headers.set(`Content-Type`,r)}}get[Symbol.toStringTag](){return`Response`}get body(){return this[jo]?.readableStream||null}async arrayBuffer(){let e=this[b];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getBrowserFrame();if(!t)return new ArrayBuffer(0);let n=t[fe];this.bodyUsed=!0;let r=this[me];if(!r){let t=n.startTask(()=>{this[Xr]=!0});try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw n.endTask(t),e}n.endTask(t)}return this.#e(r),r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}async blob(){let e=this.headers.get(`Content-Type`)||``;return new Rs([await this.arrayBuffer()],{type:e})}async buffer(){let e=this[b];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getBrowserFrame();if(!t)return i.alloc(0);let n=t[fe];this.bodyUsed=!0;let r=this[me];if(!r){let t=n.startTask(()=>{this[Xr]=!0});try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw n.endTask(t),e}n.endTask(t)}return this.#e(r),r}async text(){let e=this[b];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getBrowserFrame();if(!t)return``;let n=t[fe];this.bodyUsed=!0;let r=this[me];if(!r){let t=n.startTask(()=>{this[Xr]=!0});try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw n.endTask(t),e}n.endTask(t)}return this.#e(r),new TextDecoder().decode(r)}async json(){let e=await this.text();return JSON.parse(e)}async formData(){let e=this[b],t=new Y(e).getBrowserFrame();if(!t)return new e.FormData;let n=t[fe],r=this.headers.get(`Content-Type`);if(r&&this.body&&/multipart/i.test(r)){if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);this.bodyUsed=!0;let i=t[fe].startTask(()=>{this[Xr]=!0}),a,o;try{let t=await wu.streamToFormData(e,this,r);a=t.formData,o=t.buffer}catch(e){throw n.endTask(i),e}return this.#e(o),n.endTask(i),a}if(r?.startsWith(`application/x-www-form-urlencoded`)){let t=new ee(await this.text()),n=new e.FormData;for(let[e,r]of t)n.append(e,r);return n}throw new e.DOMException(`Failed to build FormData object: The "content-type" header is neither "application/x-www-form-urlencoded" nor "multipart/form-data".`,H.invalidStateError)}clone(){let e=this[b],t=Eu.cloneBodyStream(e,this),n=new e.Response(t,{status:this.status,statusText:this.statusText,headers:this.headers});return n[he]=this[he],n[me]=this[me],n.ok=this.ok,n.redirected=this.redirected,n.type=this.type,n.url=this.url,n}#e(e){this[me]=e,this[he]?.response?.waitingForBody&&(this[he].response.body=e,this[he].response.waitingForBody=!1)}static redirect(e,t=302){let n=this[b];if(!Lu.includes(t))throw new n.DOMException(`Failed to create redirect response: Invalid redirect status code.`,H.invalidStateError);return new n.Response(null,{headers:{location:new mu(e).toString()},status:t})}static error(){let e=new this[b].Response(null,{status:0,statusText:``});return e.type=`error`,e}static json(e,t){let n=this[b],r=JSON.stringify(e);if(r===void 0)throw new n.TypeError(`data is not JSON serializable`);let i=new n.Headers(t&&t.headers);return i.has(`Content-Type`)||i.set(`Content-Type`,`application/json`),new n.Response(r,{status:200,...t,headers:i})}};const zu=[301,302,303,307,308];var Bu=class{static isRedirect(e){return zu.includes(e)}static isMaxRedirectsReached(e){return e>=20}},Vu=class{static parseResponseHeaders(e){let t=new e.browserFrame.window.Headers,n=null;for(let r of e.rawHeaders)if(!n)n=r;else{let i=n.toLowerCase();if(i===`set-cookie`||i===`set-cookie2`){let t=Nu.stringToCookie(e.requestURL,r);t&&e.browserFrame.page.context.cookieContainer.addCookies([t])}else t.append(n,r);n=null}return t}},Hu={cert:`-----BEGIN CERTIFICATE-----
@@ -65,7 +65,7 @@ M0qoTfdjpSg5Jwgd75taWt4bxGJWeflSSv8z5R0BAoGAWL8c527AbeBvx2tOYKkD
65
65
  gl5OpEjeliU7Mus0BVS858g=
66
66
  -----END PRIVATE KEY-----`};const Uu=`<html><head><title>Happy DOM Virtual Server - 404 Not Found</title></head><body><h1>Happy DOM Virtual Server - 404 Not Found</h1></body></html>`;var Wu=class{static getFilepath(e,t){let n=new Y(e).getSettings();if(!n||!n.fetch.virtualServers&&!n.module.resolveNodeModules)return null;if(n.fetch.virtualServers)for(let r of n.fetch.virtualServers){let n=null;if(typeof r.url==`string`){let i=new URL(r.url[r.url.length-1]===`/`?r.url.slice(0,-1):r.url,e.location.origin===`null`?void 0:e.location.origin);t.startsWith(i.href)&&(n=i)}else if(r.url instanceof RegExp){let i=t.match(r.url);i&&(n=new URL(i[0][i[0].length-1]===`/`?i[0].slice(0,-1):i[0],e.location.origin))}if(n){let e=t.slice(n.href.length).split(`?`)[0].split(`#`)[0];return f.join(f.resolve(r.directory),e.replaceAll(`/`,f.sep))}}if(n.module.resolveNodeModules){let r=n.module.resolveNodeModules.url,i=new URL(r[r.length-1]===`/`?r.slice(0,-1):r,e.location.origin);if(t.startsWith(i.href)){let e=t.slice(i.href.length).split(`?`)[0].split(`#`)[0];return f.join(f.resolve(n.module.resolveNodeModules.directory),e.replaceAll(`/`,f.sep))}}return null}static getNotFoundResponse(e){return new e.Response(Uu,{status:404,statusText:`Not Found`,headers:{"Content-Type":`text/html`}})}static getNotFoundSyncResponse(e,t){return{status:404,statusText:`Not Found`,ok:!1,url:t,redirected:!1,headers:new e.Headers({"Content-Type":`text/html`}),body:Buffer.from(Uu),[$o]:null}}},Gu=class{static getKey(e){return JSON.stringify({url:e.url,destination:e.destination,mode:e.mode,credentialsMode:e.credentialsMode})}};const Ku=i.from(`0\r
67
67
  \r
68
- `);var qu=class e{reject=null;resolve=null;listeners={onSignalAbort:this.onSignalAbort.bind(this)};isChunkedTransfer=!1;isProperLastChunkReceived=!1;previousChunk=null;nodeRequest=null;nodeResponse=null;response=null;responseHeaders=null;interceptor;requestHeaders;request;redirectCount=0;disableCache;disableSameOriginPolicy;disablePreload;#e;#t;#n=null;constructor(e){this.#e=e.browserFrame,this.#t=e.window,this.#n=e.unfilteredHeaders??null,this.request=typeof e.url==`string`||e.url instanceof p?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Ee]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??this.#e.page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=this.#e.page.context.browser.settings.fetch.interceptor,this.requestHeaders=this.#e.page.context.browser.settings.fetch.requestHeaders,this.disablePreload=e.disablePreload??!1}async send(){if(!(this.request instanceof Iu)||!(this.request[gt]instanceof p))throw new this.#t.DOMException(`Unknown request object. Request object must be an instance of Request.`,H.invalidStateError);if(_u.prepareRequest(new p(this.#t.location.href),this.request),this.requestHeaders){for(let e of this.requestHeaders)if(!e.url||(typeof e.url==`string`?e.url.startsWith(this.request.url):this.request.url.match(e.url)))for(let[t,n]of Object.entries(e.headers))this.request.headers.set(t,n)}if(this.interceptor?.beforeAsyncRequest){let e=this.#e[fe].startTask(),t=await this.interceptor.beforeAsyncRequest({request:this.request,window:this.#t});if(this.#e[fe].endTask(e),t instanceof Ru)return t}if(Mu.validateSchema(this.request),this.request.signal[Xr])throw this.request.signal[Vo]===void 0?new this.#t.DOMException(`signal is aborted without reason`,H.abortError):this.request.signal[Vo];if(this.request[gt].protocol===`data:`){let e=vu.parse(this.request.url);this.response=new this.#t.Response(e.buffer,{headers:{"Content-Type":e.type}});let t=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:this.response,request:this.request}):void 0;return t instanceof Ru?t:this.response}if(this.request[gt].protocol===`http:`&&this.#t.location.protocol===`https:`)throw new this.#t.DOMException(`Mixed Content: The page at '${this.#t.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,H.securityError);if(!this.disableCache){let e=await this.getCachedResponse();if(e)return e}if(!this.disablePreload){let e=Gu.getKey({url:this.request.url,destination:`fetch`,mode:this.request.mode,credentialsMode:this.request.credentials}),t=this.#t.document[Ao].get(e);if(t){if(this.#t.document[Ao].delete(e),t.response)return t.response;let n=this.#e[fe].startTask(),r=await t.onResponseAvailable();return this.#e[fe].endTask(n),r}}let e=await this.getVirtualServerResponse();if(e)return e;if(!this.disableSameOriginPolicy&&!await this.compliesWithCrossOriginPolicy())throw this.#e.page.console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new this.#t.DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,H.networkError);return await this.sendRequest()}async getCachedResponse(){if(this.disableCache)return null;let t=this.#e.page.context.responseCache.get(this.request);if(!t||t.response.waitingForBody)return null;if(t.state===hs.stale){let n=new this.#t.Headers(t.request.headers);if(t.etag)n.set(`If-None-Match`,t.etag);else{if(!t.lastModified)return null;n.set(`If-Modified-Since`,new Date(t.lastModified).toUTCString())}let r=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0});if(t.etag||!t.staleWhileRevalidate){let e=await r.send(),n=e.status===304?null:await e.buffer();if(t=this.#e.page.context.responseCache.add(this.request,{...e,body:n,waitingForBody:!1}),e.status!==304){let r=new this.#t.Response(n,{status:e.status,statusText:e.statusText,headers:e.headers});return r.url=e.url,r[he]=t,r}}else r.send().then(e=>{e.buffer().then(t=>{this.#e.page.context.responseCache.add(this.request,{...e,body:t,waitingForBody:!1})})})}if(!t||t.response.waitingForBody)return null;let n=new this.#t.Response(t.response.body,{status:t.response.status,statusText:t.response.statusText,headers:t.response.headers});return n.url=t.response.url,n[he]=t,n}async getVirtualServerResponse(){let e=Wu.getFilepath(this.#t,this.request.url);if(!e)return null;let t=this.#e[fe].startTask();if(this.request.method!==`GET`){this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundResponse(this.#t),n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await e,request:this.request}):void 0;return this.#e[fe].endTask(t),n instanceof Ru?n:e}let n;try{e=(await d.promises.stat(e)).isDirectory()?f.join(e,`index.html`):e,n=await d.promises.readFile(e)}catch{this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundResponse(this.#t),n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await e,request:this.request}):void 0;return this.#e[fe].endTask(t),n instanceof Ru?n:e}let r=new this.#t.ReadableStream({start:e=>{this.#t.queueMicrotask(()=>{e.enqueue(n),e.close()})}}),i=new this.#t.Response(r);i[me]=n,i[$o]=e,i.url=this.request.url;let a=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await i,request:this.request}):void 0;this.#e[fe].endTask(t);let o=a instanceof Ru?a:i,s={...o,body:n,waitingForBody:!1,virtual:!0};return i[he]=this.#e.page.context.responseCache.add(this.request,s),o}async compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!yu.isCORS(this.#t.location.href,this.request[gt]))return!0;let t=this.#e.page.context.preflightResponseCache.get(this.request);if(t)return!(t.allowOrigin!==`*`&&t.allowOrigin!==this.#t.location.origin||t.allowMethods.length!==0&&!t.allowMethods.includes(this.request.method));let n=[];for(let[e]of this.request.headers)n.push(e.toLowerCase());let r=new this.#t.Headers({"Access-Control-Request-Method":this.request.method,Origin:this.#t.location.origin});n.length>0&&r.set(`Access-Control-Request-Headers`,n.slice().sort().join(`,`));let i=await new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{method:`OPTIONS`},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let a=i.headers.get(`Access-Control-Allow-Origin`);if(!a||a!==`*`&&a!==this.#t.location.origin)return!1;let o=[];if(i.headers.has(`Access-Control-Allow-Methods`)){let e=i.headers.get(`Access-Control-Allow-Methods`);if(e!==`*`)for(let t of e.split(`,`))o.push(t.trim().toUpperCase())}return!(o.length!==0&&!o.includes(this.request.method))}sendRequest(){return new Promise((e,t)=>{let n=this.#e[fe].startTask(()=>this.onAsyncTaskManagerAbort());if(this.resolve)throw new this.#t.Error(`Fetch already sent.`);this.resolve=async t=>{!this.disableCache&&t instanceof Ru&&this.#e.page&&this.#e.page.context&&(t[he]=this.#e.page.context.responseCache.add(this.request,{...t,headers:this.responseHeaders,body:t[me],waitingForBody:!t[me]&&!!t.body}));let r=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await t,request:this.request}):void 0;this.#e[fe].endTask(n);let i=r instanceof Ru?r:t;i instanceof Ru&&!i.ok&&this.#e.page.console.error(`${this.request.method} ${this.request.url} ${i.status} (${i.statusText})`),e(i)},this.reject=e=>{this.#e[fe].endTask(n),t(e)},this.request.signal.addEventListener(`abort`,this.listeners.onSignalAbort);let r=(this.request[gt].protocol===`https:`?re:ne).request;this.nodeRequest=r(this.request[gt].href,{method:this.request.method,headers:Fu.getRequestHeaders({browserFrame:this.#e,window:this.#t,request:this.request,baseHeaders:this.#n}),agent:!1,rejectUnauthorized:!this.#e.page.context.browser.settings.fetch.disableStrictSSL,key:this.request[gt].protocol===`https:`?Hu.key:void 0,cert:this.request[gt].protocol===`https:`?Hu.cert:void 0}),this.nodeRequest.on(`error`,this.onError.bind(this)),this.nodeRequest.on(`socket`,this.onSocket.bind(this)),this.nodeRequest.on(`response`,this.onResponse.bind(this)),this.request.body===null?this.nodeRequest.end():u.pipeline(this.request.body,this.nodeRequest,e=>{e&&this.onError(e)})})}onSocket(e){let t=()=>{if(this.isChunkedTransfer&&!this.isProperLastChunkReceived){let e=new this.#t.DOMException(`Premature close.`,H.networkError);this.request[fn]=e,this.response&&(this.response[fn]=e,this.response.body&&!this.response.body.locked&&this.response.body.cancel(e))}},n=e=>{this.isProperLastChunkReceived=i.compare(e.slice(-5),Ku)===0,!this.isProperLastChunkReceived&&this.previousChunk&&(this.isProperLastChunkReceived=i.compare(this.previousChunk.slice(-3),Ku.slice(0,3))===0&&i.compare(e.slice(-2),Ku.slice(3))===0),this.previousChunk=e};e.prependListener(`close`,t),e.on(`data`,n),this.nodeRequest.on(`close`,()=>{e.removeListener(`close`,t),e.removeListener(`data`,n)})}onSignalAbort(e){this.finalizeRequest(),this.abort(e.target?.reason)}onError(e){this.finalizeRequest(),this.#e.page.console.error(e),this.reject(new this.#t.DOMException(`Failed to execute "fetch()" on "Window" with URL "${this.request.url}": ${e.message}`,H.networkError))}onAsyncTaskManagerAbort(){let e=new this.#t.DOMException(`The operation was aborted.`,H.abortError);this.request[Xr]=!0,this.request[fn]=e,this.response&&(this.response[Xr]=!0,this.response[fn]=e),this.listeners.onSignalAbort&&this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(e),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(e),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(e))}onResponse(e){if(this.isChunkedTransfer=e.headers[`transfer-encoding`]===`chunked`&&!e.headers[`content-length`],this.nodeRequest.setTimeout(0),this.responseHeaders=Vu.parseResponseHeaders({browserFrame:this.#e,requestURL:this.request[gt],rawHeaders:e.rawHeaders}),this.handleRedirectResponse(e,this.responseHeaders))return;e.once(`end`,()=>this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort));let t=u.pipeline(e,new u.PassThrough,e=>{}),n={status:e.statusCode,statusText:e.statusMessage,headers:this.responseHeaders},r=this.responseHeaders.get(`Content-Encoding`);if(this.request.method===`HEAD`||r===null||e.statusCode===204||e.statusCode===304){this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(r===`gzip`||r===`x-gzip`){let e={flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH};t=u.pipeline(t,l.createGunzip(e),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(r===`deflate`||r===`x-deflate`){let r=u.pipeline(e,new u.PassThrough,e=>{});r.on(`data`,e=>{t=(e[0]&15)==8?u.pipeline(t,l.createInflate(),e=>{}):u.pipeline(t,l.createInflateRaw(),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}),r.on(`end`,()=>{this.response||(this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response))});return}if(r===`br`){t=u.pipeline(t,l.createBrotliDecompress(),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}handleRedirectResponse(t,n){if(!Bu.isRedirect(t.statusCode))return!1;switch(this.request.redirect){case`error`:return this.finalizeRequest(),this.reject(new this.#t.DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,H.abortError)),!0;case`manual`:return!1;case`follow`:let r=n.get(`Location`),i=t.statusCode===303||(t.statusCode===301||t.statusCode===302)&&this.request.method===`POST`,a=null;if(r!==null)try{a=new p(r,this.request.url)}catch{return this.finalizeRequest(),this.reject(new this.#t.DOMException(`URI requested responds with an invalid redirect URL: ${r}`,H.uriMismatchError)),!0}if(a===null)return!1;if(Bu.isMaxRedirectsReached(this.redirectCount))return this.finalizeRequest(),this.reject(new this.#t.DOMException(`Maximum redirects reached at: ${this.request.url}`,H.networkError)),!0;let o=new this.#t.Headers(this.request.headers),s={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:o,body:this.request[pe]};if((this.request.credentials===`omit`||this.request.credentials===`same-origin`&&yu.isCORS(this.#t.location.href,a))&&(o.delete(`cookie`),o.delete(`cookie2`)),this.request.signal[Xr])return this.abort(this.request.signal[Vo]),!0;i&&(s.method=`GET`,s.body=void 0,o.delete(`Content-Length`),o.delete(`Content-Type`));let c=_u.getReferrerPolicyFromHeader(o);c&&(s.referrerPolicy=c);let l=new e({browserFrame:this.#e,window:this.#t,url:a,init:s,redirectCount:this.redirectCount+1,disableSameOriginPolicy:this.disableSameOriginPolicy,contentType:i?null:this.request[Ee]});return this.finalizeRequest(),l.send().then(e=>this.resolve(e)).catch(e=>this.reject(e)),!0;default:return this.finalizeRequest(),this.reject(new this.#t.DOMException(`Redirect option '${this.request.redirect}' is not a valid value of TRequestRedirect`)),!0}}finalizeRequest(){this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort),this.nodeRequest?.destroy()}abort(e){let t=new this.#t.DOMException(`The operation was aborted.`+(e?` `+e.toString():``),H.abortError);this.request[Xr]=!0,this.request[fn]=t,this.response&&(this.response[Xr]=!0,this.response[fn]=t),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(t),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(t),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(t)),this.reject&&this.reject(e===void 0?t:e)}},Ju;(function(e){e.auto=`auto`,e.manual=`manual`})(Ju||={});var Yu=Ju,Xu=class{static getRelativeURL(e,t){if(t=t?String(t):`about:blank`,t.startsWith(`about:`)||t.startsWith(`javascript:`))return new p(t);try{return new p(t,e.window[En].href)}catch{return new p(`about:blank`)}}},Zu=class{#e;#t;constructor(e,t){if(!e)throw TypeError(`Illegal constructor`);this.#e=e,this.#t=t}get length(){return this.#e?.[Dn].items.length||0}get state(){return this.#e?.[Dn].currentItem.state||null}get scrollRestoration(){return this.#e?.[Dn].currentItem.scrollRestoration||Yu.auto}set scrollRestoration(e){switch(e){case Yu.auto:case Yu.manual:let t=this.#e?.[Dn].currentItem;t&&(t.scrollRestoration=e);break}}back(){this.#t.closed||this.#e?.goBack()}forward(){this.#t.closed||this.#e?.goForward()}go(e){this.#t.closed||this.#e?.goSteps(e)}pushState(e,t,n){if(!this.#e||this.#t.closed)return;let r=this.#e?.[Dn];if(!r)return;if(arguments.length<2)throw new this.#t.TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=this.#t[En],a=n?Xu.getRelativeURL(this.#e,n):i;if(n&&a.origin!==i.origin)throw new this.#t.DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${n.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,H.securityError);r.currentItem.popState=!0,r.push({title:this.#t.document.title,href:a.href,state:e,popState:!0,scrollRestoration:r.currentItem.scrollRestoration,method:r.currentItem.method||`GET`,formData:r.currentItem.formData||null}),i[Cn](this.#e,r.currentItem.href)}replaceState(e,t,n){if(!this.#e||this.#t.closed)return;let r=this.#e?.[Dn];if(!r)return;if(arguments.length<2)throw new this.#t.TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=this.#t[En],a=n?Xu.getRelativeURL(this.#e,n):i;if(n&&a.origin!==i.origin)throw new this.#t.DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${n.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,H.securityError);r.replace({title:this.#t.document.title,href:a.href,state:e,popState:r.currentItem.popState,scrollRestoration:r.currentItem.scrollRestoration,method:r.currentItem.method,formData:r.currentItem.formData}),n&&i[Cn](this.#e,r.currentItem.href)}[Me](){this.#e=null}},Qu=class{#e;#t;constructor(e,t){this.#e=e,this.#t=t||{}}observe(e){}disconnect(){}unobserve(e){}takeRecords(){return[]}},$u=class{boundingClientRect=null;intersectionRatio=0;intersectionRect=null;isIntersecting=!1;rootBounds=null;target=null;time=0;constructor(e){Object.assign(this,e)}},ed=class{[Symbol.toStringTag]=`Location`;#e;#t;#n=null;#r=[];constructor(e,t){if(!e)throw TypeError(`Illegal constructor`);this.#e=e,this.#t=new URL(t)}get hash(){return this.#t.hash}set hash(e){let t=this.#e?.[Dn];if(!t||!this.#e)return;let n=new URL(this.#t.href),r=this.#t.hash;n.hash=e,n.hash!==r&&(t.currentItem.popState=!0,t.push({title:``,href:n.href,state:t.currentItem.state,popState:!0,scrollRestoration:Yu.manual,method:t.currentItem.method,formData:t.currentItem.formData||null}),this[Cn](this.#e,n.href))}get host(){return this.#t.host}set host(e){let t=new URL(this.#t.href);t.host=e,this.href=t.href}get hostname(){return this.#t.hostname}set hostname(e){let t=new URL(this.#t.href);t.hostname=e,this.href=t.href}get href(){return this.#t.href}set href(e){this.#e&&this.#e.goto(e).catch(e=>{if(this.#e?.page?.console)this.#e.page.console.error(e);else throw e})}get origin(){return this.#t.origin}get pathname(){return this.#t.pathname}set pathname(e){let t=new URL(this.#t.href);t.pathname=e,this.href=t.href}get port(){return this.#t.port}set port(e){let t=new URL(this.#t.href);t.port=e,this.href=t.href}get protocol(){return this.#t.protocol}set protocol(e){let t=new URL(this.#t.href);t.protocol=e,this.href=t.href}get search(){return this.#t.search}set search(e){let t=new URL(this.#t.href);t.search=e,this.href=t.href}replace(e){this.href=String(e)}assign(e){this.href=String(e)}reload(){this.#e&&this.#e.goto(this.href).catch(e=>{if(this.#e?.page.console)this.#e.page.console.error(e);else throw e})}[Cn](e,t){if(!this.#e)return;if(this.#e!==e)throw Error(`Failed to set URL. Browser frame mismatch.`);let n=this.#t.href,r=this.#t.hash;if(this.#t.href=t,this.#t.hash!==r){let e=this.#t.href;this.#r.push(new ru(`hashchange`,{oldURL:n,newURL:e})),this.#e?.window?.document?.[Kn](),this.#n&&this.#e.window?.clearTimeout(this.#n),this.#n=this.#e.window?.setTimeout(()=>{let e=this.#r;this.#r=[];for(let t of e)this.#e?.window?.dispatchEvent(t)})}}[Me](){this.#n&&this.#e?.window?.clearTimeout(this.#n),this.#e=null}toString(){return this.#t.toString()}},td=class{type;target;addedNodes;removedNodes;previousSibling;nextSibling;attributeName;attributeNamespace;oldValue;constructor(e){this.type=e.type,this.target=e.target,this.addedNodes=e.addedNodes||[],this.removedNodes=e.removedNodes||[],this.previousSibling=e.previousSibling||null,this.nextSibling=e.nextSibling||null,this.attributeName=e.attributeName||null,this.attributeNamespace=e.attributeNamespace||null,this.oldValue=e.oldValue||null}},nd=class{description;enabledPlugin;suffixes;type;constructor(e,t,n,r){this.description=e,this.enabledPlugin=t,this.suffixes=n,this.type=r}toString(){return`[object MimeType]`}},rd=class{length;constructor(e){for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].type]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return`[object MimeTypeArray]`}},id=class{length;constructor(e){for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].name]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}refresh(){}toString(){return`[object PluginArray]`}},ad;(function(e){e.geolocation=`geolocation`,e.notifications=`notifications`,e.push=`push`,e.midi=`midi`,e.camera=`camera`,e.microphone=`microphone`,e.backgroundFetch=`background-fetch`,e.backgroundSync=`background-sync`,e.persistentStorage=`persistent-storage`,e.ambientLightSensor=`ambient-light-sensor`,e.accelerometer=`accelerometer`,e.gyroscope=`gyroscope`,e.magnetometer=`magnetometer`,e.screenWakeLock=`screen-wake-lock`,e.nfc=`nfc`,e.displayCapture=`display-capture`,e.accessibilityEvents=`accessibility-events`,e.clipboardRead=`clipboard-read`,e.clipboardWrite=`clipboard-write`,e.paymentHandler=`payment-handler`,e.idleDetection=`idle-detection`,e.periodicBackgroundSync=`periodic-background-sync`,e.systemWakeLock=`system-wake-lock`,e.storageAccess=`storage-access`,e.windowManagement=`window-management`,e.windowPlacement=`window-placement`,e.localFonts=`local-fonts`,e.topLevelStorageAccess=`top-level-storage-access`})(ad||={});var od=ad,sd=class{#e={};#t;constructor(e){e?.document,this.#t=e}async query(e){let t=e?.name;if(t&&this.#e[t])return this.#e[t];if(!Object.values(od).includes(t))throw Error(`Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value '${t}' is not a valid enum value of type PermissionName.`);return this.#e[t]=new this.#t.PermissionStatus(`granted`),this.#e[t]}},cd=class{#e;#t;#n;constructor(e){if(!e)throw TypeError(`Invalid constructor`);this.#e=e,this.#t=new zs(e),this.#n=new sd(e)}get cookieEnabled(){return!0}get credentials(){return null}get geolocation(){return null}get language(){return`en-US`}get languages(){return[`en-US`,`en`]}get locks(){return null}get maxTouchPoints(){return new Y(this.#e).getSettings()?.navigator.maxTouchPoints||0}get hardwareConcurrency(){return 8}get appCodeName(){return`Mozilla`}get appName(){return`Netscape`}get appVersion(){let e=this.userAgent,t=e.indexOf(`/`);return t>-1?e.substring(t+1):``}get platform(){let e=this.userAgent,t=e.indexOf(`(`),n=e.indexOf(`)`);return t>-1&&n>-1?e.substring(t+1,n):``}get product(){return`Gecko`}get productSub(){return`20100101`}get vendor(){return``}get vendorSub(){return``}get userAgent(){return new Y(this.#e).getSettings()?.navigator.userAgent||``}get onLine(){return!0}get permissions(){return this.#n}get clipboard(){return this.#t}get webdriver(){return!0}get doNotTrack(){return`unspecified`}get mimeTypes(){return new rd([])}get plugins(){return new id([])}sendBeacon(e,t){return this.#e.fetch(e,{method:`POST`,body:t}),!0}toString(){return`[object Navigator]`}},ld=class{length=0;description;filename;name;constructor(e,t,n,r){this.description=t,this.filename=n,this.name=r;for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].type]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return`[object Plugin]`}},ud;(function(e){e[e.disconnect=1]=`disconnect`,e[e.preceding=2]=`preceding`,e[e.following=4]=`following`,e[e.contains=8]=`contains`,e[e.containedBy=16]=`containedBy`,e[e.implementationSpecific=32]=`implementationSpecific`})(ud||={});var dd=ud,fd=class e{static isTextNode(e){return e?.[C]===U.textNode}static isInclusiveAncestor(e,t,n=!1){if(e===null||t===null)return!1;if(e===t)return!0;if(!e[j].length||n&&t[x]!==e[x])return!1;if(n&&e===t[g]&&t[x])return!0;let r=t[S];for(;r;){if(e===r)return!0;if(e[S]===r[S])return!1;r=r[S]?r[S]:n&&r.host?r.host:null}return!1}static isFollowing(e,t){if(e===t)return!1;let n=t;for(;n;)if(n=this.following(n),n===e)return!0;return!1}static getNodeLength(e){switch(e[C]){case U.documentTypeNode:return 0;case U.textNode:case U.processingInstructionNode:case U.commentNode:return e.data.length;default:return e[j].length}}static following(e,t){let n=e.firstChild;if(n)return n;let r=e;for(;r;){if(r===t)return null;let e=r.nextSibling;if(e)return e;r=r[S]}return null}static nextDescendantNode(e){for(;e&&!e.nextSibling;)e=e[S];return e?e.nextSibling:null}static attributeListsEqual(e,t){let n=Array.from(e[Ot][A].values()),r=Array.from(t[Ot][A].values());for(let e of n){let t=!1;for(let n of r)if(e[T]===n[T]&&e.localName===n.localName&&e[v]===n[v]){t=!0;break}if(!t)return!1}return!0}static isEqualNode(t,n){if(t[C]!==n[C])return!1;switch(t[C]){case U.documentTypeNode:let e=t,r=n;if(e.name!==r.name||e.publicId!==r.publicId||e.systemId!==r.systemId)return!1;break;case U.elementNode:let i=t,a=n;if(i[T]!==a[T]||i[Ct]!==a[Ct]||i[k]!==a[k]||i[Ot][A].size!==a[Ot][A].size)return!1;break;case U.attributeNode:let o=t,s=n;if(o[T]!==s[T]||o.localName!==s.localName||o[v]!==s[v])return!1;break;case U.processingInstructionNode:let c=t,l=n;if(c.target!==l.target||c.data!==l.data)return!1;break;case U.textNode:case U.commentNode:let u=t,d=n;if(u.data!==d.data)return!1;break}if(t[C]===U.elementNode&&!e.attributeListsEqual(t,n)||t[j].length!==n[j].length)return!1;for(let r=0;r<t[j].length;r++){let i=t[j][r],a=n[j][r];if(!e.isEqualNode(i,a))return!1}return!0}},pd;(function(e){e.attributes=`attributes`,e.characterData=`characterData`,e.childList=`childList`})(pd||={});var md=pd,hd=class{static ownerDocuments=[];static createNode(e,t,...n){return t.prototype[b]||this.ownerDocuments.push(e),new t(...n)}static pullOwnerDocument(){return this.ownerDocuments.pop()||null}},gd=class e extends nl{static ELEMENT_NODE=U.elementNode;static ATTRIBUTE_NODE=U.attributeNode;static TEXT_NODE=U.textNode;static CDATA_SECTION_NODE=U.cdataSectionNode;static COMMENT_NODE=U.commentNode;static DOCUMENT_NODE=U.documentNode;static DOCUMENT_TYPE_NODE=U.documentTypeNode;static DOCUMENT_FRAGMENT_NODE=U.documentFragmentNode;static PROCESSING_INSTRUCTION_NODE=U.processingInstructionNode;static DOCUMENT_POSITION_CONTAINED_BY=dd.containedBy;static DOCUMENT_POSITION_CONTAINS=dd.contains;static DOCUMENT_POSITION_DISCONNECTED=dd.disconnect;static DOCUMENT_POSITION_FOLLOWING=dd.following;static DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=dd.implementationSpecific;static DOCUMENT_POSITION_PRECEDING=dd.preceding;[x]=!1;[S]=null;[it]=null;[Wn]=null;[ft]=null;[Le]=null;[at]=null;[Xe]=[];[j]=[];[Yn]=[];[ve]=null;[xr]=null;[M]={querySelector:new Map,querySelectorAll:new Map,matches:new Map,elementsByTagName:new Map,elementsByTagNameNS:new Map,elementByTagName:new Map,elementById:new Map,computedStyle:null};[Xn]=[];constructor(){if(super(),this[b])this[g]=this[b].document;else{let e=hd.pullOwnerDocument();if(!e)throw TypeError(`Illegal constructor`);this[g]=e,this[b]=e[b]}}get[Symbol.toStringTag](){return this.constructor.name}get isConnected(){return this[x]}get ownerDocument(){return this[g]}get parentNode(){return this[S]}get nodeType(){return this[C]}get childNodes(){return this[ve]||(this[ve]=new Vc(N,this[j])),this[ve]}get textContent(){return``}set textContent(e){}get nodeValue(){return null}set nodeValue(e){}get nodeName(){return``}get previousSibling(){if(this[S]){let e=this[S][j],t=e.indexOf(this[ar]||this);if(t>0)return e[t-1]}return null}get nextSibling(){if(this[S]){let e=this[S][j],t=e.indexOf(this[ar]||this);if(t>-1&&t+1<e.length)return e[t+1]}return null}get firstChild(){let e=this[j];return e.length>0?e[0]:null}get lastChild(){let e=this[j];return e.length>0?e[e.length-1]:null}get parentElement(){let e=this[S];for(;e&&e[C]!==U.elementNode;)e=e[S];return e}get baseURI(){let e=this[g].querySelector(`base`);return e?e.href:this[b].location.href}hasChildNodes(){return this[j].length>0}contains(e){if(e===void 0)return!1;let t=this[ar]||this;return fd.isInclusiveAncestor(t,e)}getRootNode(e){if(this[x])return this[it]&&!e?.composed?this[it]:this[g];let t=this;for(;t[S];)t=t[S];return t}cloneNode(e=!1){return this[Nn](e)}appendChild(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendChild' on 'Node': 1 argument required, but only 0 present`);return this[Pn](e)}removeChild(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeChild' on 'Node': 1 argument required, but only 0 present`);return this[Fn](e)}insertBefore(e,t){if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[In](e,t)}replaceChild(e,t){if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceChild' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[Ln](e,t)}[Nn](e=!1){let t=hd.createNode(this[g],this.constructor);if(t[j].length){let e=t[j];for(;e.length;)t.removeChild(e[0])}if(e)for(let e of this[j]){let n=e.cloneNode(!0);n[S]=t,t[j].push(n),n[C]===U.elementNode&&t[Yn].push(n)}return t}[Pn](e,t=!1){e[ar]&&(e=e[ar]);let n=this[ar]||this;if(!t){if(e===n)throw new this[b].DOMException(`Failed to execute 'appendChild' on 'Node': Not possible to append a node as a child of itself.`);if(fd.isInclusiveAncestor(e,n,!0))throw new this[b].DOMException(`Failed to execute 'appendChild' on 'Node': The new node is a parent of the node to insert to.`,H.domException)}if(e[C]===U.documentFragmentNode){let t=e[j];for(;t.length;)this.appendChild(t[0]);return e}e[S]&&e[S][Fn](e),e[S]=n,e[Kn](),this[j].push(e),e[C]===U.elementNode&&this[Yn].push(e),e[xe]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[Ye](t);return this[mt](new td({target:n,type:md.childList,addedNodes:[e]})),e}[Fn](e){e[ar]&&(e=e[ar]);let t=this[j].indexOf(e);if(t===-1)throw new this[b].DOMException(`Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.`);let n=e.previousSibling,r=e.nextSibling;if(e[S]=null,e[Kn](),this[j].splice(t,1),e[C]===U.elementNode){let t=this[Yn].indexOf(e);t!==-1&&this[Yn].splice(t,1)}if(e[xr]){let t=e[xr][br].indexOf(e);t!==-1&&e[xr][br].splice(t,1),e[xr]=null}e[Se]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[pt](t);return this[mt](new td({target:this[ar]||this,type:md.childList,removedNodes:[e],previousSibling:n,nextSibling:r})),e}[In](e,t,n=!1){if(e[ar]&&(e=e[ar]),t&&t[ar]&&(t=t[ar]),e===t)return e;let r=this[ar]||this;if(!n){if(e===r)throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': Not possible to insert a node as a child of itself.`);if(fd.isInclusiveAncestor(e,r,!0))throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': The new node is a parent of the node to insert to.`,H.domException)}if(e[C]===U.documentFragmentNode){let n=e[j];for(;n.length>0;)this[In](n[0],t,!0);return e}if(!t)return this[Pn](e,!0),e;let i=this[j];if(!i.includes(t))throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.`);e[S]&&e[S][Fn](e),e[S]=r,e[Kn]();let a=i.indexOf(t);if(e[C]===U.elementNode){let n=this[Yn];if(t[C]===U.elementNode)n.splice(n.indexOf(t),0,e);else{let t=!1;for(let r=a,o=i.length;r<o;r++)if(i[r][C]===U.elementNode){n.splice(n.indexOf(i[r]),0,e),t=!0;break}t||n.push(e)}}i.splice(a,0,e),e[xe]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[Ye](t);return this[mt](new td({target:r,type:md.childList,addedNodes:[e]})),e}[Ln](e,t){return this.insertBefore(e,t),this.removeChild(t),t}isEqualNode(e){return fd.isEqualNode(this,e)}toString(){return`[object ${this.constructor.name}]`}[Ye](e){if(this[Xe].push(e),e.options.subtree)for(let t of this[j])t[Ye](e)}[pt](e){let t=this[Xe].indexOf(e);if(t!==-1&&this[Xe].splice(t,1),e.options.subtree)for(let t of this[j])t[pt](e)}[mt](e){this[Kn]();let t=this[Xe];if(t.length)for(let n=0,r=t.length;n<r;n++){let i=t[n],a=i.callback.deref();if(a)switch(e.type){case md.childList:i.options.childList&&a(e);break;case md.attributes:i.options.attributes&&(!i.options.attributeFilter||i.options.attributeFilter.includes(e.attributeName))&&a(e);break;case md.characterData:i.options?.characterData&&a(e);break}else t.splice(n,1),n--,r--}}[Kn](){let e=this[M];if(e.querySelector.size){for(let t of e.querySelector.values())t.result&&=null;e.querySelector=new Map}if(e.querySelectorAll.size){for(let t of e.querySelectorAll.values())t.result&&=null;e.querySelectorAll=new Map}if(e.matches.size){for(let t of e.matches.values())t.result&&=null;e.matches=new Map}if(e.elementsByTagName.size){for(let t of e.elementsByTagName.values())t.result&&=null;e.elementsByTagName=new Map}if(e.elementsByTagNameNS.size){for(let t of e.elementsByTagNameNS.values())t.result&&=null;e.elementsByTagNameNS=new Map}if(e.elementByTagName.size){for(let t of e.elementByTagName.values())t.result&&=null;e.elementByTagName=new Map}if(e.elementById.size){for(let t of e.elementById.values())t.result&&=null;e.elementById=new Map}let t=this[Xn];if(t.length){for(let e of t)e.result=null;this[Xn]=[]}let n=this[g];if(n&&n[Qn].length){for(let e of n[Qn])e.result=null;n[Qn]=[]}}[xe](){let e=this[S],t=e||this[Sn],n=!1,r=!1;if(!this[x]&&t[x]?(this[x]=!0,n=!0):this[x]&&!t[x]&&(this[x]=!1,r=!0),this[g]=t[g]||t,this[b]=t[b]||t[je],e){this[C]!==U.documentFragmentNode&&(this[it]=e[it]);let t=this[w];e[Wn]&&t!==`STYLE`&&(this[Wn]=e[Wn]),e[ft]&&t!==`TEXTAREA`&&(this[ft]=e[ft]),e[Le]&&t!==`FORM`&&(this[Le]=e[Le]),e[at]&&t!==`SELECT`&&(this[at]=e[at])}let i=this[j].slice();for(let e=0,t=i.length;e<t;e++)i[e][S]=this,i[e][xe]();this[lt]&&this[lt][xe](),n?this[Ce]():r&&this[we]()}[Se](){this[C]!==U.documentFragmentNode&&(this[it]=null);let e=this[w];e!==`STYLE`&&(this[Wn]=null),e!==`TEXTAREA`&&(this[ft]=null),e!==`FORM`&&(this[Le]=null),e!==`SELECT`&&(this[at]=null),this[x]&&(this[x]=!1,this[we]());let t=this[j].slice();for(let e=0,n=t.length;e<n;e++)t[e][xe]();this[lt]&&this[lt][Se]()}[Ce](){this[lt]&&this[lt][Ce]()}[we](){this[g][de]===this&&(this[g][Kn](),this[g][de]=null),this[lt]&&this[lt][we]()}[Me](){super[Me](),this[x]=!1;for(let e=0,t=this[j].length;e<t;e++)this[j][e][Me]();this[Xe]=[],this[S]=null,this[it]=null,this[Wn]=null,this[ft]=null,this[Le]=null,this[at]=null,this[Xe]=[],this[j]=[],this[Yn]=[],this[ve]=null,this[xr]=null,this[Kn]()}compareDocumentPosition(t){if(this===t)return 0;let n=t,r=this[ar]||this,i=null,a=null;if(n[C]===U.attributeNode&&(i=n,n=i[Ze]),r[C]===U.attributeNode&&(a=r,r=a[Ze],i!==null&&n!==null&&r===n))for(let t of r[Ot][A].values()){if(fd.isEqualNode(t,i))return e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;if(fd.isEqualNode(t,a))return e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_FOLLOWING}let o=[],s=r;for(;s;){if(s===n)return e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;o.push(s),s=s[S]}let c=[],l=n;for(;l;){if(l===r)return e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING;c.push(l),l=l[S]}let u=(e,t)=>e[e.length-1-t],d=u(o,0);if(!d||d!==u(c,0))return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_FOLLOWING;let f=0,p=Math.min(o.length,c.length);for(let e=0;e<p&&u(o,e)===u(c,e);++e)f=e;let ee=u(o,f),te=0,ne=-1,re=-1,ie=u(o,f+1),ae=u(c,f+1),oe=e=>{for(let t of e){if(oe(t[j]),t===ie?ne=te:t===ae&&(re=te),ne!==-1&&re!==-1)break;te++}};return oe(ee[j]),re<ne?e.DOCUMENT_POSITION_PRECEDING:e.DOCUMENT_POSITION_FOLLOWING}normalize(){let e=this.firstChild;for(;e;){if(fd.isTextNode(e)){for(;fd.isTextNode(e.nextSibling);)e.data+=e.nextSibling.data,e.nextSibling.remove();if(!e.data.length){let t=e;e=e.nextSibling,t.remove();continue}}else e.normalize();e=e.nextSibling}}isSameNode(e){return this===e}};gd.prototype.ELEMENT_NODE=U.elementNode,gd.prototype.ATTRIBUTE_NODE=U.attributeNode,gd.prototype.TEXT_NODE=U.textNode,gd.prototype.CDATA_SECTION_NODE=U.cdataSectionNode,gd.prototype.COMMENT_NODE=U.commentNode,gd.prototype.DOCUMENT_NODE=U.documentNode,gd.prototype.DOCUMENT_TYPE_NODE=U.documentTypeNode,gd.prototype.DOCUMENT_FRAGMENT_NODE=U.documentFragmentNode,gd.prototype.PROCESSING_INSTRUCTION_NODE=U.processingInstructionNode,gd.prototype.DOCUMENT_POSITION_CONTAINED_BY=dd.containedBy,gd.prototype.DOCUMENT_POSITION_CONTAINS=dd.contains,gd.prototype.DOCUMENT_POSITION_DISCONNECTED=dd.disconnect,gd.prototype.DOCUMENT_POSITION_FOLLOWING=dd.following,gd.prototype.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=dd.implementationSpecific,gd.prototype.DOCUMENT_POSITION_PRECEDING=dd.preceding;var _d=class extends gd{[C]=U.attributeNode;[T]=null;[E]=null;[k]=null;[Ct]=null;[v]=null;[zt]=!0;[Ze]=null;get specified(){return this[zt]}get ownerElement(){return this[Ze]}get value(){return this[v]}set value(e){this[v]=e}get name(){return this[E]||``}get localName(){return this[k]||``}get prefix(){return this[Ct]}get textContent(){return this[v]||``}get namespaceURI(){return this[T]}[Nn](e=!1){let t=super[Nn](e);return t[T]=this[T],t[E]=this[E],t[k]=this[k],t[Ct]=this[Ct],t[v]=this[v],t[zt]=this[zt],t}},vd=class{static appendData(e,t){e.data+=t}static deleteData(e,t,n){e.data=e.data.substring(0,t)+e.data.substring(t+n)}static insertData(e,t,n){e.data=e.data.substring(0,t)+n+e.data.substring(t)}static replaceData(e,t,n,r){e.data=e.data.substring(0,t)+r+e.data.substring(t+n)}static substringData(e,t,n){return e.data.substring(t,t+n)}},yd=class{static previousElementSibling(e){let t=e.previousSibling;for(;t&&t[C]!==U.elementNode;)t=t.previousSibling;return t}static nextElementSibling(e){let t=e.nextSibling;for(;t&&t[C]!==U.elementNode;)t=t.nextSibling;return t}},bd=class{static remove(e){e[S]&&e[S].removeChild(e)}static replaceWith(e,...t){let n=e[S];if(n){for(let r of t)r instanceof gd?n.insertBefore(r,e):n.insertBefore(n[g].createTextNode(String(r)),e);n.removeChild(e)}}static before(e,...t){let n=e[S];if(n)for(let r of t)r instanceof gd?n.insertBefore(r,e):n.insertBefore(n[g].createTextNode(String(r)),e)}static after(e,...t){let n=e[S];if(!n)return;let r=e.nextSibling;for(let e of t){let t=e instanceof gd?e:n[g].createTextNode(String(e));r?n.insertBefore(t,r):n.appendChild(t)}}},xd=class extends gd{[Ae]=``;constructor(e){super(),this[Ae]=e===void 0?``:String(e)}get length(){return this[Ae].length}get data(){return this[Ae]}set data(e){let t=this[Ae];this[Ae]=String(e),this[mt](new td({target:this,type:md.characterData,oldValue:t}))}get textContent(){return this[Ae]}set textContent(e){this.data=e}get nodeValue(){return this[Ae]}set nodeValue(e){this.textContent=e}get previousElementSibling(){return yd.previousElementSibling(this)}get nextElementSibling(){return yd.nextElementSibling(this)}appendData(e){vd.appendData(this,e)}deleteData(e,t){vd.deleteData(this,e,t)}insertData(e,t){vd.insertData(this,e,t)}replaceData(e,t,n){vd.replaceData(this,e,t,n)}substringData(e,t){return vd.substringData(this,e,t)}remove(){bd.remove(this)}replaceWith(...e){bd.replaceWith(this,...e)}before(...e){bd.before(this,...e)}after(...e){bd.after(this,...e)}[Nn](e=!1){let t=super[Nn](e);return t[Ae]=this[Ae],t}},Sd=class extends gd{[C]=U.documentTypeNode;[E]=``;[Ut]=``;[Wt]=``;get name(){return this[E]}get publicId(){return this[Ut]}get systemId(){return this[Wt]}get nodeName(){return this.name}toString(){return`[object DocumentType]`}[Nn](e=!1){let t=super[Nn](e);return t[E]=this[E],t[Ut]=this[Ut],t[Wt]=this[Wt],t}},Cd;(function(e){e.loading=`loading`,e.interactive=`interactive`,e.complete=`complete`})(Cd||={});var wd=Cd,Td=class{#e;constructor(e){this.#e=new Ns(e)}waitUntilComplete(){return this.#e.waitUntilComplete()}startTask(){return this.#e.startTask()}endTask(e){this.#e.endTask(e)}destroy(){return this.#e.destroy()}},Ed=class e{[D]=0;[O]=0;[y]=0;[h]=0;constructor(e,t,n,r){this[D]=e==null?0:Number(e),this[O]=t==null?0:Number(t),this[y]=n==null?0:Number(n),this[h]=r==null?0:Number(r)}get x(){return this[D]}get y(){return this[O]}get width(){return this[y]}get height(){return this[h]}get top(){return Math.min(this[O],this[O]+this[h])}get right(){return Math.max(this[D],this[D]+this[y])}get bottom(){return Math.max(this[O],this[O]+this[h])}get left(){return Math.min(this[D],this[D]+this[y])}toJSON(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}}static fromRect(t){return new e(t.x,t.y,t.width,t.height)}},Dd=class e extends Ed{set x(e){this[D]=e}get x(){return this[D]}set y(e){this[O]=e}get y(){return this[O]}set width(e){this[y]=e}get width(){return this[y]}set height(e){this[h]=e}get height(){return this[h]}static fromRect(t){return new e(t.x,t.y,t.width,t.height)}};const Od=/[\t\f\n\r ]+/;var kd=class e{[Ze];[cr];[M]={items:[],attributeValue:``};[Bo];[ar];constructor(t,n,r,i){if(t!==N)throw TypeError(`Illegal constructor`);this[Ze]=n,this[cr]=r,this[Bo]=i||[];let a=new Bc(this,[e]),o=new Proxy(this,{get:(e,t)=>{if(t===`length`)return e[sr]().length;if(t in e||typeof t==`symbol`)return a.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[sr]()[n]},set(e,t,n){if(a.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[sr]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[sr]().length},defineProperty(e,t,n){return a.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[sr]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}});return this[ar]=o,o}get length(){return this[sr]().length}set value(e){this[Ze].setAttribute(this[cr],e)}get value(){return this[Ze].getAttribute(this[cr])||``}[Symbol.iterator](){return this[sr]().values()}item(e){let t=this[sr]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}replace(e,t){let n=this[sr]().slice(),r=n.indexOf(e);return r===-1?!1:(n[r]=t,this[Ze].setAttribute(this[cr],n.join(` `)),!0)}supports(e){return this[Bo].includes(e)}values(){return this[sr]().values()}entries(){return this[sr]().entries()}forEach(e,t){let n=t??this[Ze][b],r=this[sr](),i=this[ar]??this;for(let t=0,a=r.length;t<a;t++)e.call(n,r[t],t,i)}keys(){return this[sr]().keys()}add(...e){let t=this[sr]().slice(),n=new Set(t);for(let r of e)n.has(r)||(n.add(r),t.push(r));this[Ze].setAttribute(this[cr],t.join(` `))}remove(...e){let t=this[sr](),n=new Set(e),r=t.filter(e=>!n.has(e));this[Ze].setAttribute(this[cr],r.join(` `))}contains(e){return this[sr]().includes(e)}toggle(e,t){let n;return n=t===void 0?!this.contains(e):t,n?(this.add(e),!0):(this.remove(e),!1)}[sr](){let e=this[Ze].getAttribute(this[cr])??``,t=this[M];if(t.attributeValue===e)return t.items;let n=[],r=e.trim();if(r)for(let e of r.split(Od))n.includes(e)||n.push(e);return t.attributeValue=e,t.items=n,n}toString(){return this.value||``}},Ad=class e{[$n];constructor(t,n){if(t!==N)throw TypeError(`Illegal constructor`);this[$n]=n;let r=new Bc(this,this.constructor===e?[e]:[this.constructor,e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`)return n().length;if(t in e||typeof t==`symbol`)return r.bind(t),e[t];let i=Number(t);return isNaN(i)?e.namedItem(t)||void 0:n()[i]},set(e,t,n){if(r.bind(t),typeof t==`symbol`)return e[t]=n,!0;let i=Number(t);return isNaN(i)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){let e=[],t=n();for(let n=0;n<t.length;n++){let r=t[n],i=r.getAttribute(`id`)||r.getAttribute(`name`);e.push(String(n)),i&&e.push(i)}return e},has(e,t){if(t in e)return!0;let r=n(),i=Number(t);if(!isNaN(i)&&i>=0&&i<r.length)return!0;t=String(t);for(let e=0;e<r.length;e++){let n=r[e],i=n.getAttribute(`id`)||n.getAttribute(`name`);if(i&&i===t)return!0}return!1},defineProperty(e,t,n){return r.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let r=n(),i=Number(t);if(!isNaN(i)&&i>=0&&i<r.length)return{value:r[i],writable:!1,enumerable:!0,configurable:!0};for(let e=0;e<r.length;e++){let n=r[e],i=n.getAttribute(`id`)||n.getAttribute(`name`);if(i&&i===t)return{value:n,writable:!1,enumerable:!0,configurable:!0}}}})}get length(){return this[$n]().length}get[Symbol.toStringTag](){return this.constructor.name}toLocaleString(){return`[object ${this.constructor.name}]`}toString(){return`[object ${this.constructor.name}]`}item(e){let t=this[$n]();return e>=0&&t[e]?t[e]:null}[Symbol.iterator](){return this[$n]()[Symbol.iterator]()}namedItem(e){let t=this[$n]();e=String(e);for(let n of t)if(n.getAttribute(`id`)===e||n.getAttribute(`name`)===e)return n;return null}},jd=class{static append(e,...t){for(let n of t)n instanceof gd?e.appendChild(n):e.appendChild(e[g].createTextNode(String(n)))}static prepend(e,...t){let n=e.firstChild;for(let r of t)r instanceof gd?e.insertBefore(r,n):e.insertBefore(e[g].createTextNode(String(r)),n)}static replaceChildren(e,...t){let n=e[j];for(;n.length;)e.removeChild(n[0]);this.append(e,...t)}static getElementsByClassName(e,t){return new Ad(N,()=>J.querySelectorAll(e,`.${t.replace(/\s+/gm,`.`)}`)[A])}static getElementsByTagName(e,t){let n=t.toUpperCase(),r=t===`*`,i=(e,t)=>{let a=[];for(let o of e[Yn]){(r||o[w].toUpperCase()===n)&&a.push(o),o[Xn].push(t);for(let e of i(o,t))a.push(e)}return a};return new Ad(N,()=>{let n=e[M].elementsByTagName,r=n.get(t);if(r?.result){let e=r.result.deref();if(e)return e}let a={result:null},o=i(e,a);return a.result=new WeakRef(o),n.set(t,a),o})}static getElementsByTagNameNS(e,t,n){let r=t===Fl.html&&e[g][Ee]===`text/html`?n.toUpperCase():n,i=n===`*`,a=(e,n)=>{let o=[];for(let s of e[Yn]){(i||s[w]===r)&&s[T]===t&&o.push(s),s[Xn].push(n);for(let e of a(s,n))o.push(e)}return o};return new Ad(N,()=>{let t=e[M].elementsByTagNameNS,r=t.get(n);if(r?.result){let e=r.result.deref();if(e)return e}let i={result:null},o=a(e,i);return i.result=new WeakRef(o),t.set(n,i),o})}static getElementByTagName(e,t){let n=t.toUpperCase(),r=(e,t)=>{for(let i of e[Yn]){if(i[Xn].push(t),i[w]===n)return i;let e=r(i,t);if(e)return e}return null},i=e[M].elementByTagName,a=i.get(t);if(a?.result){let e=a.result.deref();if(e)return e}let o={result:null},s=r(e,o);return o.result=s?new WeakRef(s):{deref:()=>null},i.set(t,o),s}static getElementById(e,t){if(t=String(t),e[C]===gd.DOCUMENT_NODE){let n=e[hr].get(t);return n&&n.elements.length>0?n.elements[0]:null}let n=(e,r)=>{for(let i of e[Yn]){if(i[Xn].push(r),i.getAttribute(`id`)===t)return i;let e=n(i,r);if(e)return e}return null},r=e[M].elementById,i=r.get(t);if(i?.result){let e=i.result.deref();if(e)return e}let a={result:null},o=n(e,a);return a.result=o?new WeakRef(o):{deref:()=>null},r.set(t,a),o}},Md=class extends Array{constructor(e){if(super(),e!==1&&e!==N)throw TypeError(`Illegal constructor`)}item(e){return this[e]??null}},Nd=class{[ir]=new Map;[qe]=new Map;[A]=new Map;constructor(e){this[Ze]=e}get length(){return this[A].size}get[Symbol.toStringTag](){return`NamedNodeMap`}toString(){return`[object NamedNodeMap]`}[Symbol.iterator](){return this[A].values()}item(e){let t=Array.from(this[A].values());return e>=0&&t[e]?t[e]:null}getNamedItem(e){return e=String(e),this[Ze][T]===Fl.html&&this[Ze][g][Ee]===`text/html`?this[qe].get(Bl.asciiLowerCase(e))?.[0]||null:this[qe].get(e)?.[0]||null}getNamedItemNS(e,t){let n=this[ir].get(`${e||``}:${t}`);return n&&(!n[Ct]||n[T])?n:null}setNamedItem(e){return this[or](e)}setNamedItemNS(e){return this[or](e)}removeNamedItem(e){let t=this.getNamedItem(e);if(!t)throw new this[Ze][b].DOMException(`Failed to execute 'removeNamedItem' on 'NamedNodeMap': No item with name '${e}' was found.`,H.notFoundError);return this[Hn](t),t}removeNamedItemNS(e,t){let n=this.getNamedItemNS(e,t);if(!n)throw new this[Ze][b].DOMException(`Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': No item with name '${t}' in namespace '${e}' was found.`,H.notFoundError);return this[Hn](n),n}[or](e,t=!1){if(e[Ze]!==null&&e[Ze]!==this[Ze])throw new this[Ze][b].DOMException(`The attribute is in use.`,H.inUseAttributeError);e[Ze]=this[Ze];let n=this.getNamedItemNS(e[T],e[k])||null,r=this[qe].get(e[E]);if(n===e)return e;if(this[ir].set(`${e[T]||``}:${e[k]}`,e),this[A].set(`${e[T]||``}:${e[E]}`,e),!r?.length)this[qe].set(e[E],[e]);else{let t=r.indexOf(n);t!==-1&&r.splice(t,1),r.push(e)}return t||this[Ze][qn](e,n),n}[Hn](e,t=!1){e[Ze]=null,this[ir].delete(`${e[T]||``}:${e[k]}`),this[A].delete(`${e[T]||``}:${e[E]}`);let n=this[qe].get(e[E]);if(n?.length){let t=n.indexOf(e);t!==-1&&n.splice(t,1),n.length||this[qe].delete(e[E])}t||this[Ze][Jn](e)}},Pd=class{static createProxy(e){let t=new Bc(this,[Nd]);return new Proxy(e,{get:(n,r)=>{if(r===`length`)return e[A].size;if(r in n||typeof r==`symbol`)return t.bind(r),n[r];let i=Number(r);return isNaN(i)?n.getNamedItem(r)||void 0:n.item(i)},set(e,n,r){if(t.bind(n),typeof n==`symbol`)return e[n]=r,!0;let i=Number(n);return isNaN(i)&&(e[n]=r),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){let t=Array.from(e[A].keys());for(let n=0,r=e[A].size;n<r;n++)t.push(String(n));return t},has(t,n){if(typeof n==`symbol`)return!1;if(n in t||e[A].has(n))return!0;let r=Number(n);return!isNaN(r)&&r>=0&&r<e[A].size},defineProperty(e,n,r){return t.preventBinding(n),n in e?(Object.defineProperty(e,n,r),!0):!1},getOwnPropertyDescriptor(t,n){if(n in t||typeof n==`symbol`)return;let r=Number(n);if(!isNaN(r)){if(r>=0){let e=t.item(r);if(e)return{value:e,writable:!1,enumerable:!0,configurable:!0}}return}let i=e[A].get(n);if(i)return{value:i,writable:!1,enumerable:!0,configurable:!0}}})}},Fd;(function(e){e.rawText=`rawText`,e.noSelfDescendants=`noSelfDescendants`,e.noFirstLevelSelfDescendants=`noFirstLevelSelfDescendants`,e.noForbiddenFirstLevelDescendants=`noForbiddenFirstLevelDescendants`,e.noDescendants=`noDescendants`,e.permittedDescendants=`permittedDescendants`,e.textOrComments=`textOrComments`,e.anyDescendants=`anyDescendants`})(Fd||={});var X=Fd,Id={a:{className:`HTMLAnchorElement`,contentModel:X.noSelfDescendants},abbr:{className:`HTMLElement`,contentModel:X.anyDescendants},address:{className:`HTMLElement`,contentModel:X.anyDescendants},area:{className:`HTMLAreaElement`,contentModel:X.noDescendants},article:{className:`HTMLElement`,contentModel:X.anyDescendants},aside:{className:`HTMLElement`,contentModel:X.anyDescendants},audio:{className:`HTMLAudioElement`,contentModel:X.anyDescendants},b:{className:`HTMLElement`,contentModel:X.anyDescendants},base:{className:`HTMLBaseElement`,contentModel:X.noDescendants},bdi:{className:`HTMLElement`,contentModel:X.anyDescendants},bdo:{className:`HTMLElement`,contentModel:X.anyDescendants},body:{className:`HTMLBodyElement`,contentModel:X.anyDescendants},template:{className:`HTMLTemplateElement`,contentModel:X.anyDescendants},form:{className:`HTMLFormElement`,contentModel:X.anyDescendants},input:{className:`HTMLInputElement`,contentModel:X.noDescendants},textarea:{className:`HTMLTextAreaElement`,contentModel:X.anyDescendants},script:{className:`HTMLScriptElement`,contentModel:X.rawText},img:{className:`HTMLImageElement`,contentModel:X.noDescendants},link:{className:`HTMLLinkElement`,contentModel:X.noDescendants},style:{className:`HTMLStyleElement`,contentModel:X.rawText},label:{className:`HTMLLabelElement`,contentModel:X.anyDescendants},slot:{className:`HTMLSlotElement`,contentModel:X.anyDescendants},meta:{className:`HTMLMetaElement`,contentModel:X.noDescendants},blockquote:{className:`HTMLQuoteElement`,contentModel:X.anyDescendants},br:{className:`HTMLBRElement`,contentModel:X.noDescendants},button:{className:`HTMLButtonElement`,contentModel:X.anyDescendants},canvas:{className:`HTMLCanvasElement`,contentModel:X.anyDescendants},caption:{className:`HTMLTableCaptionElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`table`,`tbody`,`thead`,`tfoot`,`tr`,`td`,`th`,`col`,`colgroup`],permittedParents:[`table`]},cite:{className:`HTMLElement`,contentModel:X.anyDescendants},code:{className:`HTMLElement`,contentModel:X.anyDescendants},col:{className:`HTMLTableColElement`,contentModel:X.noDescendants,permittedParents:[`colgroup`]},colgroup:{className:`HTMLTableColElement`,contentModel:X.permittedDescendants,permittedDescendants:[`col`]},data:{className:`HTMLDataElement`,contentModel:X.anyDescendants},datalist:{className:`HTMLDataListElement`,contentModel:X.anyDescendants},dd:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`dt`,`dd`]},del:{className:`HTMLModElement`,contentModel:X.anyDescendants},details:{className:`HTMLDetailsElement`,contentModel:X.anyDescendants},dfn:{className:`HTMLElement`,contentModel:X.anyDescendants},dialog:{className:`HTMLDialogElement`,contentModel:X.anyDescendants},div:{className:`HTMLDivElement`,contentModel:X.anyDescendants},dl:{className:`HTMLDListElement`,contentModel:X.anyDescendants},dt:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`dt`,`dd`]},em:{className:`HTMLElement`,contentModel:X.anyDescendants},embed:{className:`HTMLEmbedElement`,contentModel:X.noDescendants},fieldset:{className:`HTMLFieldSetElement`,contentModel:X.anyDescendants},figcaption:{className:`HTMLElement`,contentModel:X.anyDescendants},figure:{className:`HTMLElement`,contentModel:X.anyDescendants},footer:{className:`HTMLElement`,contentModel:X.anyDescendants},h1:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h2:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h3:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h4:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h5:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h6:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},head:{className:`HTMLHeadElement`,contentModel:X.anyDescendants},header:{className:`HTMLElement`,contentModel:X.anyDescendants},hgroup:{className:`HTMLElement`,contentModel:X.anyDescendants},hr:{className:`HTMLHRElement`,contentModel:X.noDescendants},html:{className:`HTMLHtmlElement`,contentModel:X.anyDescendants},i:{className:`HTMLElement`,contentModel:X.anyDescendants},iframe:{className:`HTMLIFrameElement`,contentModel:X.anyDescendants},ins:{className:`HTMLModElement`,contentModel:X.anyDescendants},kbd:{className:`HTMLElement`,contentModel:X.anyDescendants},legend:{className:`HTMLLegendElement`,contentModel:X.anyDescendants},li:{className:`HTMLLIElement`,contentModel:X.noFirstLevelSelfDescendants},main:{className:`HTMLElement`,contentModel:X.anyDescendants},map:{className:`HTMLMapElement`,contentModel:X.anyDescendants},mark:{className:`HTMLElement`,contentModel:X.anyDescendants},menu:{className:`HTMLMenuElement`,contentModel:X.anyDescendants},meter:{className:`HTMLMeterElement`,contentModel:X.anyDescendants},nav:{className:`HTMLElement`,contentModel:X.anyDescendants},noscript:{className:`HTMLElement`,contentModel:X.anyDescendants},object:{className:`HTMLObjectElement`,contentModel:X.anyDescendants},ol:{className:`HTMLOListElement`,contentModel:X.anyDescendants},optgroup:{className:`HTMLOptGroupElement`,contentModel:X.noFirstLevelSelfDescendants},option:{className:`HTMLOptionElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`option`,`optgroup`]},output:{className:`HTMLOutputElement`,contentModel:X.anyDescendants},p:{className:`HTMLParagraphElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:`address.article.aside.blockquote.details.dialog.div.dl.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.main.menu.nav.ol.p.pre.section.table.ul`.split(`.`)},param:{className:`HTMLParamElement`,contentModel:X.noDescendants},picture:{className:`HTMLPictureElement`,contentModel:X.anyDescendants},pre:{className:`HTMLPreElement`,contentModel:X.anyDescendants},progress:{className:`HTMLProgressElement`,contentModel:X.anyDescendants},q:{className:`HTMLQuoteElement`,contentModel:X.anyDescendants},rb:{className:`HTMLElement`,contentModel:X.anyDescendants},rp:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`rp`,`rt`]},rt:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`rp`,`rt`]},rtc:{className:`HTMLElement`,contentModel:X.anyDescendants},ruby:{className:`HTMLElement`,contentModel:X.anyDescendants},s:{className:`HTMLElement`,contentModel:X.anyDescendants},samp:{className:`HTMLElement`,contentModel:X.anyDescendants},section:{className:`HTMLElement`,contentModel:X.anyDescendants},select:{className:`HTMLSelectElement`,contentModel:X.anyDescendants},small:{className:`HTMLElement`,contentModel:X.anyDescendants},source:{className:`HTMLSourceElement`,contentModel:X.noDescendants},span:{className:`HTMLSpanElement`,contentModel:X.anyDescendants},strong:{className:`HTMLElement`,contentModel:X.anyDescendants},sub:{className:`HTMLElement`,contentModel:X.anyDescendants},summary:{className:`HTMLElement`,contentModel:X.anyDescendants},sup:{className:`HTMLElement`,contentModel:X.anyDescendants},table:{className:`HTMLTableElement`,contentModel:X.permittedDescendants,permittedDescendants:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`],moveForbiddenDescendant:{exclude:[]}},tbody:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},td:{className:`HTMLTableCellElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`td`,`th`,`tr`,`tbody`,`tfoot`,`thead`],permittedParents:[`tr`]},tfoot:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},th:{className:`HTMLTableCellElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`td`,`th`,`tr`,`tbody`,`tfoot`,`thead`],permittedParents:[`tr`]},thead:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},time:{className:`HTMLTimeElement`,contentModel:X.anyDescendants},title:{className:`HTMLTitleElement`,contentModel:X.anyDescendants},tr:{className:`HTMLTableRowElement`,contentModel:X.permittedDescendants,permittedDescendants:[`td`,`th`],permittedParents:[`tbody`,`tfoot`,`thead`],addPermittedParent:`tbody`,moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`,`tr`]}},track:{className:`HTMLTrackElement`,contentModel:X.noDescendants},u:{className:`HTMLElement`,contentModel:X.anyDescendants},ul:{className:`HTMLUListElement`,contentModel:X.anyDescendants},var:{className:`HTMLElement`,contentModel:X.anyDescendants},video:{className:`HTMLVideoElement`,contentModel:X.anyDescendants},wbr:{className:`HTMLElement`,contentModel:X.noDescendants}};const Ld=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Rd=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function zd(e){return e>=55296&&e<=57343||e>1114111?65533:Ld.get(e)??e}function Bd(e){let t=typeof atob==`function`?atob(e):typeof Buffer.from==`function`?Buffer.from(e,`base64`).toString(`binary`):new Buffer(e,`base64`).toString(`binary`),n=t.length&-2,r=new Uint16Array(n/2);for(let e=0,i=0;e<n;e+=2){let n=t.charCodeAt(e),a=t.charCodeAt(e+1);r[i++]=n|a<<8}return r}const Vd=Bd(`QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbG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G13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Ud||={});var Wd;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(Wd||={});function Gd(e){return e>=Wd.ZERO&&e<=Wd.NINE}function Kd(e){return e>=Wd.UPPER_A&&e<=Wd.UPPER_F||e>=Wd.LOWER_A&&e<=Wd.LOWER_F}function qd(e){return e>=Wd.UPPER_A&&e<=Wd.UPPER_Z||e>=Wd.LOWER_A&&e<=Wd.LOWER_Z||Gd(e)}function Jd(e){return e===Wd.EQUALS||qd(e)}var Yd;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Yd||={});var Xd;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Xd||={});var Zd=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Yd.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Xd.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=Yd.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Yd.EntityStart:return e.charCodeAt(t)===Wd.NUM?(this.state=Yd.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Yd.NamedEntity,this.stateNamedEntity(e,t));case Yd.NumericStart:return this.stateNumericStart(e,t);case Yd.NumericDecimal:return this.stateNumericDecimal(e,t);case Yd.NumericHex:return this.stateNumericHex(e,t);case Yd.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===Wd.LOWER_X?(this.state=Yd.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Yd.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(Gd(n)||Kd(n)){let e=n<=Wd.NINE?n-Wd.ZERO:(n|32)-Wd.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(Gd(n))this.result=this.result*10+(n-Wd.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Wd.SEMI)this.consumed+=1;else if(this.decodeMode===Xd.Strict)return 0;return this.emitCodePoint(zd(this.result),this.consumed),this.errors&&(e!==Wd.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&Ud.FLAG13)!==0){let a=(r&Ud.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&Ud.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===Wd.SEMI&&i!==0&&(r&Ud.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=$d(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Xd.Attribute&&(i===0||Jd(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14,i!==0){if(a===Wd.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Xd.Strict&&(r&Ud.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Ud.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(Ud.VALUE_LENGTH|Ud.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Yd.NamedEntity:return this.result!==0&&(this.decodeMode!==Xd.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Yd.NumericDecimal:return this.emitNumericEntity(0,2);case Yd.NumericHex:return this.emitNumericEntity(0,3);case Yd.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Yd.EntityStart:return 0}}};function Qd(e){let t=``,n=new Zd(e,e=>t+=Rd(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function $d(e,t,n,r){let i=(t&Ud.BRANCH_LENGTH)>>7,a=t&Ud.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}const ef=Qd(Vd),tf=Qd(Hd);function nf(e,t=Xd.Legacy){return ef(e,t)}function rf(e){return ef(e,Xd.Attribute)}function af(e){return tf(e,Xd.Strict)}String.prototype.codePointAt;function of(e,t){return function(n){let r,i=0,a=``;for(;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}const sf=of(/[&<>\u00A0]/g,new Map([[38,`&amp;`],[60,`&lt;`],[62,`&gt;`],[160,`&nbsp;`]])),cf=/[&"<>\t\n\r]/g,lf=/[&"]/g,uf=/&(?:nbsp|lt|gt|amp);/g,df={"&":`&amp;`,'"':`&quot;`,"<":`&lt;`,">":`&gt;`," ":`&#x9;`,"\n":`&#xA;`,"\r":`&#xD;`},ff={"&":`&amp;`,'"':`&quot;`},pf={"&nbsp;":`\xA0`,"&lt;":`<`,"&gt;":`>`,"&amp;":`&`};var mf=class{static encodeXMLAttributeValue(e){return e===null?``:e.replace(cf,e=>df[e])}static decodeXMLAttributeValue(e){return e===null?``:af(e)}static encodeHTMLAttributeValue(e){return e===null?``:e.replace(lf,e=>ff[e])}static decodeHTMLAttributeValue(e){return e===null?``:rf(e)}static encodeTextContent(e){return e===null?``:sf(e)}static decodeTextContent(e){return e===null?``:e.replace(uf,e=>pf[e])}static decodeHTMLEntities(e){return e===null?``:nf(e)}static decodeXMLEntities(e){return e===null?``:af(e)}},hf=class{options={serializableShadowRoots:!1,shadowRoots:null,allShadowRoots:!1,excludeShadowRootTags:null};constructor(e){e&&(e.serializableShadowRoots&&(this.options.serializableShadowRoots=e.serializableShadowRoots),e.shadowRoots&&(this.options.shadowRoots=e.shadowRoots),e.allShadowRoots&&(this.options.allShadowRoots=e.allShadowRoots),e.excludeShadowRootTags&&(this.options.excludeShadowRootTags=e.excludeShadowRootTags))}serializeToString(e){switch(e[C]){case U.elementNode:let t=e,n=t[Ct],r=t[k],i=Id[t[k]],a=n?`${n}:${r}`:r;if(i?.contentModel===X.noDescendants)return`<${a}${this.getAttributes(t)}>`;let o=``;if(t.shadowRoot&&(this.options.allShadowRoots||this.options.serializableShadowRoots&&t.shadowRoot[vr]||this.options.shadowRoots?.includes(t.shadowRoot))&&(!this.options.excludeShadowRootTags||!this.options.excludeShadowRootTags.includes(a))){o+=`<template shadowrootmode="${t.shadowRoot[xn]}"${t.shadowRoot[vr]?` shadowrootserializable=""`:``}>`;for(let e of t.shadowRoot[j])o+=this.serializeToString(e);o+=`</template>`}let s=a===`template`?e.content[j]:e[j];for(let e of s)o+=this.serializeToString(e);return`<${a}${this.getAttributes(t)}>${o}</${a}>`;case gd.DOCUMENT_FRAGMENT_NODE:case gd.DOCUMENT_NODE:let c=``;for(let t of e[j])c+=this.serializeToString(t);return c;case U.commentNode:return`<!--${e.textContent}-->`;case U.processingInstructionNode:return`<!--?${e.target} ${e.textContent}?-->`;case U.textNode:let l=e.parentElement;return l&&Id[l[k]]?.contentModel===X.rawText?e.textContent:mf.encodeTextContent(e.textContent);case U.documentTypeNode:let u=e,d=u.publicId?` PUBLIC`:u.systemId?` SYSTEM`:``,f=u.publicId?` "${u.publicId}"`:``,p=u.systemId?` "${u.systemId}"`:``;return`<!DOCTYPE ${u.name}${d}${f}${p}>`}return``}getAttributes(e){let t=``,n=e[Ot][A];!n.has(`:is`)&&e[We]&&(t+=` is="`+mf.encodeHTMLAttributeValue(e[We])+`"`);for(let e of n.values()){let n=mf.encodeHTMLAttributeValue(e[v]);t+=` `+e[E]+`="`+n+`"`}return t}},gf={svg:{localName:`svg`,className:`SVGSVGElement`},animate:{localName:`animate`,className:`SVGAnimateElement`},animatemotion:{localName:`animateMotion`,className:`SVGAnimateMotionElement`},animatetransform:{localName:`animateTransform`,className:`SVGAnimateTransformElement`},circle:{localName:`circle`,className:`SVGCircleElement`},clippath:{localName:`clipPath`,className:`SVGClipPathElement`},defs:{localName:`defs`,className:`SVGDefsElement`},desc:{localName:`desc`,className:`SVGDescElement`},ellipse:{localName:`ellipse`,className:`SVGEllipseElement`},feblend:{localName:`feBlend`,className:`SVGFEBlendElement`},fecolormatrix:{localName:`feColorMatrix`,className:`SVGFEColorMatrixElement`},fecomponenttransfer:{localName:`feComponentTransfer`,className:`SVGFEComponentTransferElement`},fecomposite:{localName:`feComposite`,className:`SVGFECompositeElement`},feconvolvematrix:{localName:`feConvolveMatrix`,className:`SVGFEConvolveMatrixElement`},fediffuselighting:{localName:`feDiffuseLighting`,className:`SVGFEDiffuseLightingElement`},fedisplacementmap:{localName:`feDisplacementMap`,className:`SVGFEDisplacementMapElement`},fedistantlight:{localName:`feDistantLight`,className:`SVGFEDistantLightElement`},fedropshadow:{localName:`feDropShadow`,className:`SVGFEDropShadowElement`},feflood:{localName:`feFlood`,className:`SVGFEFloodElement`},fefunca:{localName:`feFuncA`,className:`SVGFEFuncAElement`},fefuncb:{localName:`feFuncB`,className:`SVGFEFuncBElement`},fefuncg:{localName:`feFuncG`,className:`SVGFEFuncGElement`},fefuncr:{localName:`feFuncR`,className:`SVGFEFuncRElement`},fegaussianblur:{localName:`feGaussianBlur`,className:`SVGFEGaussianBlurElement`},feimage:{localName:`feImage`,className:`SVGFEImageElement`},femerge:{localName:`feMerge`,className:`SVGFEMergeElement`},femergenode:{localName:`feMergeNode`,className:`SVGFEMergeNodeElement`},femorphology:{localName:`feMorphology`,className:`SVGFEMorphologyElement`},feoffset:{localName:`feOffset`,className:`SVGFEOffsetElement`},fepointlight:{localName:`fePointLight`,className:`SVGFEPointLightElement`},fespecularlighting:{localName:`feSpecularLighting`,className:`SVGFESpecularLightingElement`},fespotlight:{localName:`feSpotLight`,className:`SVGFESpotLightElement`},fetile:{localName:`feTile`,className:`SVGFETileElement`},feturbulence:{localName:`feTurbulence`,className:`SVGFETurbulenceElement`},filter:{localName:`filter`,className:`SVGFilterElement`},foreignobject:{localName:`foreignObject`,className:`SVGForeignObjectElement`},g:{localName:`g`,className:`SVGGElement`},image:{localName:`image`,className:`SVGImageElement`},line:{localName:`line`,className:`SVGLineElement`},lineargradient:{localName:`linearGradient`,className:`SVGLinearGradientElement`},marker:{localName:`marker`,className:`SVGMarkerElement`},mask:{localName:`mask`,className:`SVGMaskElement`},metadata:{localName:`metadata`,className:`SVGMetadataElement`},mpath:{localName:`mpath`,className:`SVGMPathElement`},path:{localName:`path`,className:`SVGPathElement`},pattern:{localName:`pattern`,className:`SVGPatternElement`},polygon:{localName:`polygon`,className:`SVGPolygonElement`},polyline:{localName:`polyline`,className:`SVGPolylineElement`},radialgradient:{localName:`radialGradient`,className:`SVGRadialGradientElement`},rect:{localName:`rect`,className:`SVGRectElement`},script:{localName:`script`,className:`SVGScriptElement`},set:{localName:`set`,className:`SVGSetElement`},stop:{localName:`stop`,className:`SVGStopElement`},style:{localName:`style`,className:`SVGStyleElement`},switch:{localName:`switch`,className:`SVGSwitchElement`},symbol:{localName:`symbol`,className:`SVGSymbolElement`},text:{localName:`text`,className:`SVGTextElement`},textpath:{localName:`textPath`,className:`SVGTextPathElement`},title:{localName:`title`,className:`SVGTitleElement`},tspan:{localName:`tspan`,className:`SVGTSpanElement`},use:{localName:`use`,className:`SVGUseElement`},view:{localName:`view`,className:`SVGViewElement`}};const _f=/<([^\s/!>?]+)|<\/([^\s/!>?]+)\s*>|(<!--)|(-->|--!>)|(<!)|(<\?)|(\/>)|(>)/gm,vf=/\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*([^"'=<>\\`\s]+)|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*"([^"]*)("{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*'([^']*)('{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)/gm,yf=/"([^"]+)"/gm,bf=/\s+/,xf=/^\s+/;var Sf;(function(e){e.any=`any`,e.startTag=`startTag`,e.comment=`comment`,e.documentType=`documentType`,e.processingInstruction=`processingInstruction`,e.rawTextElement=`rawTextElement`})(Sf||={});var Cf;(function(e){e[e.root=0]=`root`,e[e.doctype=1]=`doctype`,e[e.documentElement=2]=`documentElement`,e[e.head=3]=`head`,e[e.additionalHeadWithoutBody=4]=`additionalHeadWithoutBody`,e[e.body=5]=`body`,e[e.afterBody=6]=`afterBody`})(Cf||={});var wf=class{window;evaluateScripts=!1;isTemplateDocumentFragment=!1;rootNode=null;rootDocument=null;nodeStack=[];tagNameStack=[];documentStructure=null;startTagIndex=0;markupRegExp=null;nextElement=null;currentNode=null;readState=Sf.any;constructor(e,t){this.window=e,t?.evaluateScripts&&(this.evaluateScripts=!0),t?.isTemplateDocumentFragment&&(this.isTemplateDocumentFragment=!0)}parse(e,t){if(this.rootNode=t||this.window.document.createDocumentFragment(),this.rootDocument=this.rootNode[C]===U.documentNode?this.rootNode:this.window.document,this.nodeStack=[this.rootNode],this.tagNameStack=[null],this.currentNode=this.rootNode,this.readState=Sf.any,this.documentStructure=null,this.startTagIndex=0,this.markupRegExp=new RegExp(_f),this.rootNode[C]===U.documentNode){let{doctype:e,documentElement:t,head:n,body:r}=this.rootNode;if(!t||!n||!r)throw Error(`Failed to parse HTML: The root node must have "documentElement", "head" and "body".
68
+ `);var qu=class e{reject=null;resolve=null;listeners={onSignalAbort:this.onSignalAbort.bind(this)};isChunkedTransfer=!1;isProperLastChunkReceived=!1;previousChunk=null;nodeRequest=null;nodeResponse=null;response=null;responseHeaders=null;interceptor;requestHeaders;request;redirectCount=0;disableCache;disableSameOriginPolicy;disablePreload;#e;#t;#n=null;constructor(e){this.#e=e.browserFrame,this.#t=e.window,this.#n=e.unfilteredHeaders??null,this.request=typeof e.url==`string`||e.url instanceof p?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Ee]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??this.#e.page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=this.#e.page.context.browser.settings.fetch.interceptor,this.requestHeaders=this.#e.page.context.browser.settings.fetch.requestHeaders,this.disablePreload=e.disablePreload??!1}async send(){if(!(this.request instanceof Iu)||!(this.request[gt]instanceof p))throw new this.#t.DOMException(`Unknown request object. Request object must be an instance of Request.`,H.invalidStateError);if(_u.prepareRequest(new p(this.#t.location.href),this.request),this.requestHeaders){for(let e of this.requestHeaders)if(!e.url||(typeof e.url==`string`?e.url.startsWith(this.request.url):this.request.url.match(e.url)))for(let[t,n]of Object.entries(e.headers))this.request.headers.set(t,n)}if(this.interceptor?.beforeAsyncRequest){let e=this.#e[fe].startTask(),t=await this.interceptor.beforeAsyncRequest({request:this.request,window:this.#t});if(this.#e[fe].endTask(e),t instanceof Ru)return t}if(Mu.validateSchema(this.request),this.request.signal[Xr])throw this.request.signal[Vo]===void 0?new this.#t.DOMException(`signal is aborted without reason`,H.abortError):this.request.signal[Vo];if(this.request[gt].protocol===`data:`){let e=vu.parse(this.request.url);this.response=new this.#t.Response(e.buffer,{headers:{"Content-Type":e.type}});let t=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:this.response,request:this.request}):void 0;return t instanceof Ru?t:this.response}if(this.request[gt].protocol===`http:`&&this.#t.location.protocol===`https:`)throw new this.#t.DOMException(`Mixed Content: The page at '${this.#t.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,H.securityError);if(!this.disableCache){let e=await this.getCachedResponse();if(e)return e}if(!this.disablePreload){let e=Gu.getKey({url:this.request.url,destination:`fetch`,mode:this.request.mode,credentialsMode:this.request.credentials}),t=this.#t.document[Ao].get(e);if(t){if(this.#t.document[Ao].delete(e),t.response)return t.response;let n=this.#e[fe].startTask(),r=await t.onResponseAvailable();return this.#e[fe].endTask(n),r}}let e=await this.getVirtualServerResponse();if(e)return e;if(!this.disableSameOriginPolicy&&!await this.compliesWithCrossOriginPolicy())throw this.#e.page.console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new this.#t.DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,H.networkError);return await this.sendRequest()}async getCachedResponse(){if(this.disableCache)return null;let t=this.#e.page.context.responseCache.get(this.request);if(!t||t.response.waitingForBody)return null;if(t.state===hs.stale){let n=new this.#t.Headers(t.request.headers);if(t.etag)n.set(`If-None-Match`,t.etag);else{if(!t.lastModified)return null;n.set(`If-Modified-Since`,new Date(t.lastModified).toUTCString())}let r=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0});if(t.etag||!t.staleWhileRevalidate){let e=await r.send(),n=e.status===304?null:await e.buffer();if(t=this.#e.page.context.responseCache.add(this.request,{...e,body:n,waitingForBody:!1}),e.status!==304){let r=new this.#t.Response(n,{status:e.status,statusText:e.statusText,headers:e.headers});return r.url=e.url,r[he]=t,r}}else r.send().then(e=>{e.buffer().then(t=>{this.#e.page.context.responseCache.add(this.request,{...e,body:t,waitingForBody:!1})})})}if(!t||t.response.waitingForBody)return null;let n=new this.#t.Response(t.response.body,{status:t.response.status,statusText:t.response.statusText,headers:t.response.headers});return n.url=t.response.url,n[he]=t,n}async getVirtualServerResponse(){let e=Wu.getFilepath(this.#t,this.request.url);if(!e)return null;let t=this.#e[fe].startTask();if(this.request.method!==`GET`){this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundResponse(this.#t),n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await e,request:this.request}):void 0;return this.#e[fe].endTask(t),n instanceof Ru?n:e}let n;try{e=(await d.promises.stat(e)).isDirectory()?f.join(e,`index.html`):e,n=await d.promises.readFile(e)}catch{this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundResponse(this.#t),n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await e,request:this.request}):void 0;return this.#e[fe].endTask(t),n instanceof Ru?n:e}let r=new this.#t.ReadableStream({start:e=>{this.#t.queueMicrotask(()=>{e.enqueue(n),e.close()})}}),i=new this.#t.Response(r);i[me]=n,i[$o]=e,i.url=this.request.url;let a=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await i,request:this.request}):void 0;this.#e[fe].endTask(t);let o=a instanceof Ru?a:i,s={...o,body:n,waitingForBody:!1,virtual:!0};return i[he]=this.#e.page.context.responseCache.add(this.request,s),o}async compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!yu.isCORS(this.#t.location.href,this.request[gt]))return!0;let t=this.#e.page.context.preflightResponseCache.get(this.request);if(t)return!(t.allowOrigin!==`*`&&t.allowOrigin!==this.#t.location.origin||t.allowMethods.length!==0&&!t.allowMethods.includes(this.request.method));let n=[];for(let[e]of this.request.headers)n.push(e.toLowerCase());let r=new this.#t.Headers({"Access-Control-Request-Method":this.request.method,Origin:this.#t.location.origin});n.length>0&&r.set(`Access-Control-Request-Headers`,n.slice().sort().join(`,`));let i=await new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{method:`OPTIONS`},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let a=i.headers.get(`Access-Control-Allow-Origin`);if(!a||a!==`*`&&a!==this.#t.location.origin)return!1;let o=[];if(i.headers.has(`Access-Control-Allow-Methods`)){let e=i.headers.get(`Access-Control-Allow-Methods`);if(e!==`*`)for(let t of e.split(`,`))o.push(t.trim().toUpperCase())}return!(o.length!==0&&!o.includes(this.request.method))}sendRequest(){return new Promise((e,t)=>{let n=this.#e[fe].startTask(()=>this.onAsyncTaskManagerAbort());if(this.resolve)throw new this.#t.Error(`Fetch already sent.`);this.resolve=async t=>{!this.disableCache&&t instanceof Ru&&this.#e.page&&this.#e.page.context&&(t[he]=this.#e.page.context.responseCache.add(this.request,{...t,headers:this.responseHeaders,body:t[me],waitingForBody:!t[me]&&!!t.body}));let r=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await t,request:this.request}):void 0;this.#e[fe].endTask(n);let i=r instanceof Ru?r:t;i instanceof Ru&&!i.ok&&this.#e.page.console.error(`${this.request.method} ${this.request.url} ${i.status} (${i.statusText})`),e(i)},this.reject=e=>{this.#e[fe].endTask(n),t(e)},this.request.signal.addEventListener(`abort`,this.listeners.onSignalAbort);let r=(this.request[gt].protocol===`https:`?ae:ie).request;this.nodeRequest=r(this.request[gt].href,{method:this.request.method,headers:Fu.getRequestHeaders({browserFrame:this.#e,window:this.#t,request:this.request,baseHeaders:this.#n}),agent:!1,rejectUnauthorized:!this.#e.page.context.browser.settings.fetch.disableStrictSSL,key:this.request[gt].protocol===`https:`?Hu.key:void 0,cert:this.request[gt].protocol===`https:`?Hu.cert:void 0}),this.nodeRequest.on(`error`,this.onError.bind(this)),this.nodeRequest.on(`socket`,this.onSocket.bind(this)),this.nodeRequest.on(`response`,this.onResponse.bind(this)),this.request.body===null?this.nodeRequest.end():u.pipeline(this.request.body,this.nodeRequest,e=>{e&&this.onError(e)})})}onSocket(e){let t=()=>{if(this.isChunkedTransfer&&!this.isProperLastChunkReceived){let e=new this.#t.DOMException(`Premature close.`,H.networkError);this.request[fn]=e,this.response&&(this.response[fn]=e,this.response.body&&!this.response.body.locked&&this.response.body.cancel(e))}},n=e=>{this.isProperLastChunkReceived=i.compare(e.slice(-5),Ku)===0,!this.isProperLastChunkReceived&&this.previousChunk&&(this.isProperLastChunkReceived=i.compare(this.previousChunk.slice(-3),Ku.slice(0,3))===0&&i.compare(e.slice(-2),Ku.slice(3))===0),this.previousChunk=e};e.prependListener(`close`,t),e.on(`data`,n),this.nodeRequest.on(`close`,()=>{e.removeListener(`close`,t),e.removeListener(`data`,n)})}onSignalAbort(e){this.finalizeRequest(),this.abort(e.target?.reason)}onError(e){this.finalizeRequest(),this.#e.page.console.error(e),this.reject(new this.#t.DOMException(`Failed to execute "fetch()" on "Window" with URL "${this.request.url}": ${e.message}`,H.networkError))}onAsyncTaskManagerAbort(){let e=new this.#t.DOMException(`The operation was aborted.`,H.abortError);this.request[Xr]=!0,this.request[fn]=e,this.response&&(this.response[Xr]=!0,this.response[fn]=e),this.listeners.onSignalAbort&&this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(e),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(e),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(e))}onResponse(e){if(this.isChunkedTransfer=e.headers[`transfer-encoding`]===`chunked`&&!e.headers[`content-length`],this.nodeRequest.setTimeout(0),this.responseHeaders=Vu.parseResponseHeaders({browserFrame:this.#e,requestURL:this.request[gt],rawHeaders:e.rawHeaders}),this.handleRedirectResponse(e,this.responseHeaders))return;e.once(`end`,()=>this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort));let t=u.pipeline(e,new u.PassThrough,e=>{}),n={status:e.statusCode,statusText:e.statusMessage,headers:this.responseHeaders},r=this.responseHeaders.get(`Content-Encoding`);if(this.request.method===`HEAD`||r===null||e.statusCode===204||e.statusCode===304){this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(r===`gzip`||r===`x-gzip`){let e={flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH};t=u.pipeline(t,l.createGunzip(e),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(r===`deflate`||r===`x-deflate`){let r=u.pipeline(e,new u.PassThrough,e=>{});r.on(`data`,e=>{t=(e[0]&15)==8?u.pipeline(t,l.createInflate(),e=>{}):u.pipeline(t,l.createInflateRaw(),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}),r.on(`end`,()=>{this.response||(this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response))});return}if(r===`br`){t=u.pipeline(t,l.createBrotliDecompress(),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}handleRedirectResponse(t,n){if(!Bu.isRedirect(t.statusCode))return!1;switch(this.request.redirect){case`error`:return this.finalizeRequest(),this.reject(new this.#t.DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,H.abortError)),!0;case`manual`:return!1;case`follow`:let r=n.get(`Location`),i=t.statusCode===303||(t.statusCode===301||t.statusCode===302)&&this.request.method===`POST`,a=null;if(r!==null)try{a=new p(r,this.request.url)}catch{return this.finalizeRequest(),this.reject(new this.#t.DOMException(`URI requested responds with an invalid redirect URL: ${r}`,H.uriMismatchError)),!0}if(a===null)return!1;if(Bu.isMaxRedirectsReached(this.redirectCount))return this.finalizeRequest(),this.reject(new this.#t.DOMException(`Maximum redirects reached at: ${this.request.url}`,H.networkError)),!0;let o=new this.#t.Headers(this.request.headers),s={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:o,body:this.request[pe]};if((this.request.credentials===`omit`||this.request.credentials===`same-origin`&&yu.isCORS(this.#t.location.href,a))&&(o.delete(`cookie`),o.delete(`cookie2`)),this.request.signal[Xr])return this.abort(this.request.signal[Vo]),!0;i&&(s.method=`GET`,s.body=void 0,o.delete(`Content-Length`),o.delete(`Content-Type`));let c=_u.getReferrerPolicyFromHeader(o);c&&(s.referrerPolicy=c);let l=new e({browserFrame:this.#e,window:this.#t,url:a,init:s,redirectCount:this.redirectCount+1,disableSameOriginPolicy:this.disableSameOriginPolicy,contentType:i?null:this.request[Ee]});return this.finalizeRequest(),l.send().then(e=>this.resolve(e)).catch(e=>this.reject(e)),!0;default:return this.finalizeRequest(),this.reject(new this.#t.DOMException(`Redirect option '${this.request.redirect}' is not a valid value of TRequestRedirect`)),!0}}finalizeRequest(){this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort),this.nodeRequest?.destroy()}abort(e){let t=new this.#t.DOMException(`The operation was aborted.`+(e?` `+e.toString():``),H.abortError);this.request[Xr]=!0,this.request[fn]=t,this.response&&(this.response[Xr]=!0,this.response[fn]=t),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(t),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(t),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(t)),this.reject&&this.reject(e===void 0?t:e)}},Ju;(function(e){e.auto=`auto`,e.manual=`manual`})(Ju||={});var Yu=Ju,Xu=class{static getRelativeURL(e,t){if(t=t?String(t):`about:blank`,t.startsWith(`about:`)||t.startsWith(`javascript:`))return new p(t);try{return new p(t,e.window[En].href)}catch{return new p(`about:blank`)}}},Zu=class{#e;#t;constructor(e,t){if(!e)throw TypeError(`Illegal constructor`);this.#e=e,this.#t=t}get length(){return this.#e?.[Dn].items.length||0}get state(){return this.#e?.[Dn].currentItem.state||null}get scrollRestoration(){return this.#e?.[Dn].currentItem.scrollRestoration||Yu.auto}set scrollRestoration(e){switch(e){case Yu.auto:case Yu.manual:let t=this.#e?.[Dn].currentItem;t&&(t.scrollRestoration=e);break}}back(){this.#t.closed||this.#e?.goBack()}forward(){this.#t.closed||this.#e?.goForward()}go(e){this.#t.closed||this.#e?.goSteps(e)}pushState(e,t,n){if(!this.#e||this.#t.closed)return;let r=this.#e?.[Dn];if(!r)return;if(arguments.length<2)throw new this.#t.TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=this.#t[En],a=n?Xu.getRelativeURL(this.#e,n):i;if(n&&a.origin!==i.origin)throw new this.#t.DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${n.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,H.securityError);r.currentItem.popState=!0,r.push({title:this.#t.document.title,href:a.href,state:e,popState:!0,scrollRestoration:r.currentItem.scrollRestoration,method:r.currentItem.method||`GET`,formData:r.currentItem.formData||null}),i[Cn](this.#e,r.currentItem.href)}replaceState(e,t,n){if(!this.#e||this.#t.closed)return;let r=this.#e?.[Dn];if(!r)return;if(arguments.length<2)throw new this.#t.TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=this.#t[En],a=n?Xu.getRelativeURL(this.#e,n):i;if(n&&a.origin!==i.origin)throw new this.#t.DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${n.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,H.securityError);r.replace({title:this.#t.document.title,href:a.href,state:e,popState:r.currentItem.popState,scrollRestoration:r.currentItem.scrollRestoration,method:r.currentItem.method,formData:r.currentItem.formData}),n&&i[Cn](this.#e,r.currentItem.href)}[Me](){this.#e=null}},Qu=class{#e;#t;constructor(e,t){this.#e=e,this.#t=t||{}}observe(e){}disconnect(){}unobserve(e){}takeRecords(){return[]}},$u=class{boundingClientRect=null;intersectionRatio=0;intersectionRect=null;isIntersecting=!1;rootBounds=null;target=null;time=0;constructor(e){Object.assign(this,e)}},ed=class{[Symbol.toStringTag]=`Location`;#e;#t;#n=null;#r=[];constructor(e,t){if(!e)throw TypeError(`Illegal constructor`);this.#e=e,this.#t=new URL(t)}get hash(){return this.#t.hash}set hash(e){let t=this.#e?.[Dn];if(!t||!this.#e)return;let n=new URL(this.#t.href),r=this.#t.hash;n.hash=e,n.hash!==r&&(t.currentItem.popState=!0,t.push({title:``,href:n.href,state:t.currentItem.state,popState:!0,scrollRestoration:Yu.manual,method:t.currentItem.method,formData:t.currentItem.formData||null}),this[Cn](this.#e,n.href))}get host(){return this.#t.host}set host(e){let t=new URL(this.#t.href);t.host=e,this.href=t.href}get hostname(){return this.#t.hostname}set hostname(e){let t=new URL(this.#t.href);t.hostname=e,this.href=t.href}get href(){return this.#t.href}set href(e){this.#e&&this.#e.goto(e).catch(e=>{if(this.#e?.page?.console)this.#e.page.console.error(e);else throw e})}get origin(){return this.#t.origin}get pathname(){return this.#t.pathname}set pathname(e){let t=new URL(this.#t.href);t.pathname=e,this.href=t.href}get port(){return this.#t.port}set port(e){let t=new URL(this.#t.href);t.port=e,this.href=t.href}get protocol(){return this.#t.protocol}set protocol(e){let t=new URL(this.#t.href);t.protocol=e,this.href=t.href}get search(){return this.#t.search}set search(e){let t=new URL(this.#t.href);t.search=e,this.href=t.href}replace(e){this.href=String(e)}assign(e){this.href=String(e)}reload(){this.#e&&this.#e.goto(this.href).catch(e=>{if(this.#e?.page.console)this.#e.page.console.error(e);else throw e})}[Cn](e,t){if(!this.#e)return;if(this.#e!==e)throw Error(`Failed to set URL. Browser frame mismatch.`);let n=this.#t.href,r=this.#t.hash;if(this.#t.href=t,this.#t.hash!==r){let e=this.#t.href;this.#r.push(new ru(`hashchange`,{oldURL:n,newURL:e})),this.#e?.window?.document?.[Kn](),this.#n&&this.#e.window?.clearTimeout(this.#n),this.#n=this.#e.window?.setTimeout(()=>{let e=this.#r;this.#r=[];for(let t of e)this.#e?.window?.dispatchEvent(t)})}}[Me](){this.#n&&this.#e?.window?.clearTimeout(this.#n),this.#e=null}toString(){return this.#t.toString()}},td=class{type;target;addedNodes;removedNodes;previousSibling;nextSibling;attributeName;attributeNamespace;oldValue;constructor(e){this.type=e.type,this.target=e.target,this.addedNodes=e.addedNodes||[],this.removedNodes=e.removedNodes||[],this.previousSibling=e.previousSibling||null,this.nextSibling=e.nextSibling||null,this.attributeName=e.attributeName||null,this.attributeNamespace=e.attributeNamespace||null,this.oldValue=e.oldValue||null}},nd=class{description;enabledPlugin;suffixes;type;constructor(e,t,n,r){this.description=e,this.enabledPlugin=t,this.suffixes=n,this.type=r}toString(){return`[object MimeType]`}},rd=class{length;constructor(e){for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].type]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return`[object MimeTypeArray]`}},id=class{length;constructor(e){for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].name]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}refresh(){}toString(){return`[object PluginArray]`}},ad;(function(e){e.geolocation=`geolocation`,e.notifications=`notifications`,e.push=`push`,e.midi=`midi`,e.camera=`camera`,e.microphone=`microphone`,e.backgroundFetch=`background-fetch`,e.backgroundSync=`background-sync`,e.persistentStorage=`persistent-storage`,e.ambientLightSensor=`ambient-light-sensor`,e.accelerometer=`accelerometer`,e.gyroscope=`gyroscope`,e.magnetometer=`magnetometer`,e.screenWakeLock=`screen-wake-lock`,e.nfc=`nfc`,e.displayCapture=`display-capture`,e.accessibilityEvents=`accessibility-events`,e.clipboardRead=`clipboard-read`,e.clipboardWrite=`clipboard-write`,e.paymentHandler=`payment-handler`,e.idleDetection=`idle-detection`,e.periodicBackgroundSync=`periodic-background-sync`,e.systemWakeLock=`system-wake-lock`,e.storageAccess=`storage-access`,e.windowManagement=`window-management`,e.windowPlacement=`window-placement`,e.localFonts=`local-fonts`,e.topLevelStorageAccess=`top-level-storage-access`})(ad||={});var od=ad,sd=class{#e={};#t;constructor(e){e?.document,this.#t=e}async query(e){let t=e?.name;if(t&&this.#e[t])return this.#e[t];if(!Object.values(od).includes(t))throw Error(`Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value '${t}' is not a valid enum value of type PermissionName.`);return this.#e[t]=new this.#t.PermissionStatus(`granted`),this.#e[t]}},cd=class{#e;#t;#n;constructor(e){if(!e)throw TypeError(`Invalid constructor`);this.#e=e,this.#t=new zs(e),this.#n=new sd(e)}get cookieEnabled(){return!0}get credentials(){return null}get geolocation(){return null}get language(){return`en-US`}get languages(){return[`en-US`,`en`]}get locks(){return null}get maxTouchPoints(){return new Y(this.#e).getSettings()?.navigator.maxTouchPoints||0}get hardwareConcurrency(){return 8}get appCodeName(){return`Mozilla`}get appName(){return`Netscape`}get appVersion(){let e=this.userAgent,t=e.indexOf(`/`);return t>-1?e.substring(t+1):``}get platform(){let e=this.userAgent,t=e.indexOf(`(`),n=e.indexOf(`)`);return t>-1&&n>-1?e.substring(t+1,n):``}get product(){return`Gecko`}get productSub(){return`20100101`}get vendor(){return``}get vendorSub(){return``}get userAgent(){return new Y(this.#e).getSettings()?.navigator.userAgent||``}get onLine(){return!0}get permissions(){return this.#n}get clipboard(){return this.#t}get webdriver(){return!0}get doNotTrack(){return`unspecified`}get mimeTypes(){return new rd([])}get plugins(){return new id([])}sendBeacon(e,t){return this.#e.fetch(e,{method:`POST`,body:t}),!0}toString(){return`[object Navigator]`}},ld=class{length=0;description;filename;name;constructor(e,t,n,r){this.description=t,this.filename=n,this.name=r;for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].type]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return`[object Plugin]`}},ud;(function(e){e[e.disconnect=1]=`disconnect`,e[e.preceding=2]=`preceding`,e[e.following=4]=`following`,e[e.contains=8]=`contains`,e[e.containedBy=16]=`containedBy`,e[e.implementationSpecific=32]=`implementationSpecific`})(ud||={});var dd=ud,fd=class e{static isTextNode(e){return e?.[C]===U.textNode}static isInclusiveAncestor(e,t,n=!1){if(e===null||t===null)return!1;if(e===t)return!0;if(!e[j].length||n&&t[x]!==e[x])return!1;if(n&&e===t[g]&&t[x])return!0;let r=t[S];for(;r;){if(e===r)return!0;if(e[S]===r[S])return!1;r=r[S]?r[S]:n&&r.host?r.host:null}return!1}static isFollowing(e,t){if(e===t)return!1;let n=t;for(;n;)if(n=this.following(n),n===e)return!0;return!1}static getNodeLength(e){switch(e[C]){case U.documentTypeNode:return 0;case U.textNode:case U.processingInstructionNode:case U.commentNode:return e.data.length;default:return e[j].length}}static following(e,t){let n=e.firstChild;if(n)return n;let r=e;for(;r;){if(r===t)return null;let e=r.nextSibling;if(e)return e;r=r[S]}return null}static nextDescendantNode(e){for(;e&&!e.nextSibling;)e=e[S];return e?e.nextSibling:null}static attributeListsEqual(e,t){let n=Array.from(e[Ot][A].values()),r=Array.from(t[Ot][A].values());for(let e of n){let t=!1;for(let n of r)if(e[T]===n[T]&&e.localName===n.localName&&e[v]===n[v]){t=!0;break}if(!t)return!1}return!0}static isEqualNode(t,n){if(t[C]!==n[C])return!1;switch(t[C]){case U.documentTypeNode:let e=t,r=n;if(e.name!==r.name||e.publicId!==r.publicId||e.systemId!==r.systemId)return!1;break;case U.elementNode:let i=t,a=n;if(i[T]!==a[T]||i[Ct]!==a[Ct]||i[k]!==a[k]||i[Ot][A].size!==a[Ot][A].size)return!1;break;case U.attributeNode:let o=t,s=n;if(o[T]!==s[T]||o.localName!==s.localName||o[v]!==s[v])return!1;break;case U.processingInstructionNode:let c=t,l=n;if(c.target!==l.target||c.data!==l.data)return!1;break;case U.textNode:case U.commentNode:let u=t,d=n;if(u.data!==d.data)return!1;break}if(t[C]===U.elementNode&&!e.attributeListsEqual(t,n)||t[j].length!==n[j].length)return!1;for(let r=0;r<t[j].length;r++){let i=t[j][r],a=n[j][r];if(!e.isEqualNode(i,a))return!1}return!0}},pd;(function(e){e.attributes=`attributes`,e.characterData=`characterData`,e.childList=`childList`})(pd||={});var md=pd,hd=class{static ownerDocuments=[];static createNode(e,t,...n){return t.prototype[b]||this.ownerDocuments.push(e),new t(...n)}static pullOwnerDocument(){return this.ownerDocuments.pop()||null}},gd=class e extends nl{static ELEMENT_NODE=U.elementNode;static ATTRIBUTE_NODE=U.attributeNode;static TEXT_NODE=U.textNode;static CDATA_SECTION_NODE=U.cdataSectionNode;static COMMENT_NODE=U.commentNode;static DOCUMENT_NODE=U.documentNode;static DOCUMENT_TYPE_NODE=U.documentTypeNode;static DOCUMENT_FRAGMENT_NODE=U.documentFragmentNode;static PROCESSING_INSTRUCTION_NODE=U.processingInstructionNode;static DOCUMENT_POSITION_CONTAINED_BY=dd.containedBy;static DOCUMENT_POSITION_CONTAINS=dd.contains;static DOCUMENT_POSITION_DISCONNECTED=dd.disconnect;static DOCUMENT_POSITION_FOLLOWING=dd.following;static DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=dd.implementationSpecific;static DOCUMENT_POSITION_PRECEDING=dd.preceding;[x]=!1;[S]=null;[it]=null;[Wn]=null;[ft]=null;[Le]=null;[at]=null;[Xe]=[];[j]=[];[Yn]=[];[ve]=null;[xr]=null;[M]={querySelector:new Map,querySelectorAll:new Map,matches:new Map,elementsByTagName:new Map,elementsByTagNameNS:new Map,elementByTagName:new Map,elementById:new Map,computedStyle:null};[Xn]=[];constructor(){if(super(),this[b])this[g]=this[b].document;else{let e=hd.pullOwnerDocument();if(!e)throw TypeError(`Illegal constructor`);this[g]=e,this[b]=e[b]}}get[Symbol.toStringTag](){return this.constructor.name}get isConnected(){return this[x]}get ownerDocument(){return this[g]}get parentNode(){return this[S]}get nodeType(){return this[C]}get childNodes(){return this[ve]||(this[ve]=new Vc(N,this[j])),this[ve]}get textContent(){return``}set textContent(e){}get nodeValue(){return null}set nodeValue(e){}get nodeName(){return``}get previousSibling(){if(this[S]){let e=this[S][j],t=e.indexOf(this[ar]||this);if(t>0)return e[t-1]}return null}get nextSibling(){if(this[S]){let e=this[S][j],t=e.indexOf(this[ar]||this);if(t>-1&&t+1<e.length)return e[t+1]}return null}get firstChild(){let e=this[j];return e.length>0?e[0]:null}get lastChild(){let e=this[j];return e.length>0?e[e.length-1]:null}get parentElement(){let e=this[S];for(;e&&e[C]!==U.elementNode;)e=e[S];return e}get baseURI(){let e=this[g].querySelector(`base`);return e?e.href:this[b].location.href}hasChildNodes(){return this[j].length>0}contains(e){if(e===void 0)return!1;let t=this[ar]||this;return fd.isInclusiveAncestor(t,e)}getRootNode(e){if(this[x])return this[it]&&!e?.composed?this[it]:this[g];let t=this;for(;t[S];)t=t[S];return t}cloneNode(e=!1){return this[Nn](e)}appendChild(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendChild' on 'Node': 1 argument required, but only 0 present`);return this[Pn](e)}removeChild(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeChild' on 'Node': 1 argument required, but only 0 present`);return this[Fn](e)}insertBefore(e,t){if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[In](e,t)}replaceChild(e,t){if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceChild' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[Ln](e,t)}[Nn](e=!1){let t=hd.createNode(this[g],this.constructor);if(t[j].length){let e=t[j];for(;e.length;)t.removeChild(e[0])}if(e)for(let e of this[j]){let n=e.cloneNode(!0);n[S]=t,t[j].push(n),n[C]===U.elementNode&&t[Yn].push(n)}return t}[Pn](e,t=!1){e[ar]&&(e=e[ar]);let n=this[ar]||this;if(!t){if(e===n)throw new this[b].DOMException(`Failed to execute 'appendChild' on 'Node': Not possible to append a node as a child of itself.`);if(fd.isInclusiveAncestor(e,n,!0))throw new this[b].DOMException(`Failed to execute 'appendChild' on 'Node': The new node is a parent of the node to insert to.`,H.domException)}if(e[C]===U.documentFragmentNode){let t=e[j];for(;t.length;)this.appendChild(t[0]);return e}e[S]&&e[S][Fn](e),e[S]=n,e[Kn](),this[j].push(e),e[C]===U.elementNode&&this[Yn].push(e),e[xe]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[Ye](t);return this[mt](new td({target:n,type:md.childList,addedNodes:[e]})),e}[Fn](e){e[ar]&&(e=e[ar]);let t=this[j].indexOf(e);if(t===-1)throw new this[b].DOMException(`Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.`);let n=e.previousSibling,r=e.nextSibling;if(e[S]=null,e[Kn](),this[j].splice(t,1),e[C]===U.elementNode){let t=this[Yn].indexOf(e);t!==-1&&this[Yn].splice(t,1)}if(e[xr]){let t=e[xr][br].indexOf(e);t!==-1&&e[xr][br].splice(t,1),e[xr]=null}e[Se]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[pt](t);return this[mt](new td({target:this[ar]||this,type:md.childList,removedNodes:[e],previousSibling:n,nextSibling:r})),e}[In](e,t,n=!1){if(e[ar]&&(e=e[ar]),t&&t[ar]&&(t=t[ar]),e===t)return e;let r=this[ar]||this;if(!n){if(e===r)throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': Not possible to insert a node as a child of itself.`);if(fd.isInclusiveAncestor(e,r,!0))throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': The new node is a parent of the node to insert to.`,H.domException)}if(e[C]===U.documentFragmentNode){let n=e[j];for(;n.length>0;)this[In](n[0],t,!0);return e}if(!t)return this[Pn](e,!0),e;let i=this[j];if(!i.includes(t))throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.`);e[S]&&e[S][Fn](e),e[S]=r,e[Kn]();let a=i.indexOf(t);if(e[C]===U.elementNode){let n=this[Yn];if(t[C]===U.elementNode)n.splice(n.indexOf(t),0,e);else{let t=!1;for(let r=a,o=i.length;r<o;r++)if(i[r][C]===U.elementNode){n.splice(n.indexOf(i[r]),0,e),t=!0;break}t||n.push(e)}}i.splice(a,0,e),e[xe]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[Ye](t);return this[mt](new td({target:r,type:md.childList,addedNodes:[e]})),e}[Ln](e,t){return this.insertBefore(e,t),this.removeChild(t),t}isEqualNode(e){return fd.isEqualNode(this,e)}toString(){return`[object ${this.constructor.name}]`}[Ye](e){if(this[Xe].push(e),e.options.subtree)for(let t of this[j])t[Ye](e)}[pt](e){let t=this[Xe].indexOf(e);if(t!==-1&&this[Xe].splice(t,1),e.options.subtree)for(let t of this[j])t[pt](e)}[mt](e){this[Kn]();let t=this[Xe];if(t.length)for(let n=0,r=t.length;n<r;n++){let i=t[n],a=i.callback.deref();if(a)switch(e.type){case md.childList:i.options.childList&&a(e);break;case md.attributes:i.options.attributes&&(!i.options.attributeFilter||i.options.attributeFilter.includes(e.attributeName))&&a(e);break;case md.characterData:i.options?.characterData&&a(e);break}else t.splice(n,1),n--,r--}}[Kn](){let e=this[M];if(e.querySelector.size){for(let t of e.querySelector.values())t.result&&=null;e.querySelector=new Map}if(e.querySelectorAll.size){for(let t of e.querySelectorAll.values())t.result&&=null;e.querySelectorAll=new Map}if(e.matches.size){for(let t of e.matches.values())t.result&&=null;e.matches=new Map}if(e.elementsByTagName.size){for(let t of e.elementsByTagName.values())t.result&&=null;e.elementsByTagName=new Map}if(e.elementsByTagNameNS.size){for(let t of e.elementsByTagNameNS.values())t.result&&=null;e.elementsByTagNameNS=new Map}if(e.elementByTagName.size){for(let t of e.elementByTagName.values())t.result&&=null;e.elementByTagName=new Map}if(e.elementById.size){for(let t of e.elementById.values())t.result&&=null;e.elementById=new Map}let t=this[Xn];if(t.length){for(let e of t)e.result=null;this[Xn]=[]}let n=this[g];if(n&&n[Qn].length){for(let e of n[Qn])e.result=null;n[Qn]=[]}}[xe](){let e=this[S],t=e||this[Sn],n=!1,r=!1;if(!this[x]&&t[x]?(this[x]=!0,n=!0):this[x]&&!t[x]&&(this[x]=!1,r=!0),this[g]=t[g]||t,this[b]=t[b]||t[je],e){this[C]!==U.documentFragmentNode&&(this[it]=e[it]);let t=this[w];e[Wn]&&t!==`STYLE`&&(this[Wn]=e[Wn]),e[ft]&&t!==`TEXTAREA`&&(this[ft]=e[ft]),e[Le]&&t!==`FORM`&&(this[Le]=e[Le]),e[at]&&t!==`SELECT`&&(this[at]=e[at])}let i=this[j].slice();for(let e=0,t=i.length;e<t;e++)i[e][S]=this,i[e][xe]();this[lt]&&this[lt][xe](),n?this[Ce]():r&&this[we]()}[Se](){this[C]!==U.documentFragmentNode&&(this[it]=null);let e=this[w];e!==`STYLE`&&(this[Wn]=null),e!==`TEXTAREA`&&(this[ft]=null),e!==`FORM`&&(this[Le]=null),e!==`SELECT`&&(this[at]=null),this[x]&&(this[x]=!1,this[we]());let t=this[j].slice();for(let e=0,n=t.length;e<n;e++)t[e][xe]();this[lt]&&this[lt][Se]()}[Ce](){this[lt]&&this[lt][Ce]()}[we](){this[g][de]===this&&(this[g][Kn](),this[g][de]=null),this[lt]&&this[lt][we]()}[Me](){super[Me](),this[x]=!1;for(let e=0,t=this[j].length;e<t;e++)this[j][e][Me]();this[Xe]=[],this[S]=null,this[it]=null,this[Wn]=null,this[ft]=null,this[Le]=null,this[at]=null,this[Xe]=[],this[j]=[],this[Yn]=[],this[ve]=null,this[xr]=null,this[Kn]()}compareDocumentPosition(t){if(this===t)return 0;let n=t,r=this[ar]||this,i=null,a=null;if(n[C]===U.attributeNode&&(i=n,n=i[Ze]),r[C]===U.attributeNode&&(a=r,r=a[Ze],i!==null&&n!==null&&r===n))for(let t of r[Ot][A].values()){if(fd.isEqualNode(t,i))return e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;if(fd.isEqualNode(t,a))return e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_FOLLOWING}let o=[],s=r;for(;s;){if(s===n)return e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;o.push(s),s=s[S]}let c=[],l=n;for(;l;){if(l===r)return e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING;c.push(l),l=l[S]}let u=(e,t)=>e[e.length-1-t],d=u(o,0);if(!d||d!==u(c,0))return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_FOLLOWING;let f=0,p=Math.min(o.length,c.length);for(let e=0;e<p&&u(o,e)===u(c,e);++e)f=e;let ee=u(o,f),te=0,ne=-1,re=-1,ie=u(o,f+1),ae=u(c,f+1),oe=e=>{for(let t of e){if(oe(t[j]),t===ie?ne=te:t===ae&&(re=te),ne!==-1&&re!==-1)break;te++}};return oe(ee[j]),re<ne?e.DOCUMENT_POSITION_PRECEDING:e.DOCUMENT_POSITION_FOLLOWING}normalize(){let e=this.firstChild;for(;e;){if(fd.isTextNode(e)){for(;fd.isTextNode(e.nextSibling);)e.data+=e.nextSibling.data,e.nextSibling.remove();if(!e.data.length){let t=e;e=e.nextSibling,t.remove();continue}}else e.normalize();e=e.nextSibling}}isSameNode(e){return this===e}};gd.prototype.ELEMENT_NODE=U.elementNode,gd.prototype.ATTRIBUTE_NODE=U.attributeNode,gd.prototype.TEXT_NODE=U.textNode,gd.prototype.CDATA_SECTION_NODE=U.cdataSectionNode,gd.prototype.COMMENT_NODE=U.commentNode,gd.prototype.DOCUMENT_NODE=U.documentNode,gd.prototype.DOCUMENT_TYPE_NODE=U.documentTypeNode,gd.prototype.DOCUMENT_FRAGMENT_NODE=U.documentFragmentNode,gd.prototype.PROCESSING_INSTRUCTION_NODE=U.processingInstructionNode,gd.prototype.DOCUMENT_POSITION_CONTAINED_BY=dd.containedBy,gd.prototype.DOCUMENT_POSITION_CONTAINS=dd.contains,gd.prototype.DOCUMENT_POSITION_DISCONNECTED=dd.disconnect,gd.prototype.DOCUMENT_POSITION_FOLLOWING=dd.following,gd.prototype.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=dd.implementationSpecific,gd.prototype.DOCUMENT_POSITION_PRECEDING=dd.preceding;var _d=class extends gd{[C]=U.attributeNode;[T]=null;[E]=null;[k]=null;[Ct]=null;[v]=null;[zt]=!0;[Ze]=null;get specified(){return this[zt]}get ownerElement(){return this[Ze]}get value(){return this[v]}set value(e){this[v]=e}get name(){return this[E]||``}get localName(){return this[k]||``}get prefix(){return this[Ct]}get textContent(){return this[v]||``}get namespaceURI(){return this[T]}[Nn](e=!1){let t=super[Nn](e);return t[T]=this[T],t[E]=this[E],t[k]=this[k],t[Ct]=this[Ct],t[v]=this[v],t[zt]=this[zt],t}},vd=class{static appendData(e,t){e.data+=t}static deleteData(e,t,n){e.data=e.data.substring(0,t)+e.data.substring(t+n)}static insertData(e,t,n){e.data=e.data.substring(0,t)+n+e.data.substring(t)}static replaceData(e,t,n,r){e.data=e.data.substring(0,t)+r+e.data.substring(t+n)}static substringData(e,t,n){return e.data.substring(t,t+n)}},yd=class{static previousElementSibling(e){let t=e.previousSibling;for(;t&&t[C]!==U.elementNode;)t=t.previousSibling;return t}static nextElementSibling(e){let t=e.nextSibling;for(;t&&t[C]!==U.elementNode;)t=t.nextSibling;return t}},bd=class{static remove(e){e[S]&&e[S].removeChild(e)}static replaceWith(e,...t){let n=e[S];if(n){for(let r of t)r instanceof gd?n.insertBefore(r,e):n.insertBefore(n[g].createTextNode(String(r)),e);n.removeChild(e)}}static before(e,...t){let n=e[S];if(n)for(let r of t)r instanceof gd?n.insertBefore(r,e):n.insertBefore(n[g].createTextNode(String(r)),e)}static after(e,...t){let n=e[S];if(!n)return;let r=e.nextSibling;for(let e of t){let t=e instanceof gd?e:n[g].createTextNode(String(e));r?n.insertBefore(t,r):n.appendChild(t)}}},xd=class extends gd{[Ae]=``;constructor(e){super(),this[Ae]=e===void 0?``:String(e)}get length(){return this[Ae].length}get data(){return this[Ae]}set data(e){let t=this[Ae];this[Ae]=String(e),this[mt](new td({target:this,type:md.characterData,oldValue:t}))}get textContent(){return this[Ae]}set textContent(e){this.data=e}get nodeValue(){return this[Ae]}set nodeValue(e){this.textContent=e}get previousElementSibling(){return yd.previousElementSibling(this)}get nextElementSibling(){return yd.nextElementSibling(this)}appendData(e){vd.appendData(this,e)}deleteData(e,t){vd.deleteData(this,e,t)}insertData(e,t){vd.insertData(this,e,t)}replaceData(e,t,n){vd.replaceData(this,e,t,n)}substringData(e,t){return vd.substringData(this,e,t)}remove(){bd.remove(this)}replaceWith(...e){bd.replaceWith(this,...e)}before(...e){bd.before(this,...e)}after(...e){bd.after(this,...e)}[Nn](e=!1){let t=super[Nn](e);return t[Ae]=this[Ae],t}},Sd=class extends gd{[C]=U.documentTypeNode;[E]=``;[Ut]=``;[Wt]=``;get name(){return this[E]}get publicId(){return this[Ut]}get systemId(){return this[Wt]}get nodeName(){return this.name}toString(){return`[object DocumentType]`}[Nn](e=!1){let t=super[Nn](e);return t[E]=this[E],t[Ut]=this[Ut],t[Wt]=this[Wt],t}},Cd;(function(e){e.loading=`loading`,e.interactive=`interactive`,e.complete=`complete`})(Cd||={});var wd=Cd,Td=class{#e;constructor(e){this.#e=new Ns(e)}waitUntilComplete(){return this.#e.waitUntilComplete()}startTask(){return this.#e.startTask()}endTask(e){this.#e.endTask(e)}destroy(){return this.#e.destroy()}},Ed=class e{[D]=0;[O]=0;[y]=0;[h]=0;constructor(e,t,n,r){this[D]=e==null?0:Number(e),this[O]=t==null?0:Number(t),this[y]=n==null?0:Number(n),this[h]=r==null?0:Number(r)}get x(){return this[D]}get y(){return this[O]}get width(){return this[y]}get height(){return this[h]}get top(){return Math.min(this[O],this[O]+this[h])}get right(){return Math.max(this[D],this[D]+this[y])}get bottom(){return Math.max(this[O],this[O]+this[h])}get left(){return Math.min(this[D],this[D]+this[y])}toJSON(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}}static fromRect(t){return new e(t.x,t.y,t.width,t.height)}},Dd=class e extends Ed{set x(e){this[D]=e}get x(){return this[D]}set y(e){this[O]=e}get y(){return this[O]}set width(e){this[y]=e}get width(){return this[y]}set height(e){this[h]=e}get height(){return this[h]}static fromRect(t){return new e(t.x,t.y,t.width,t.height)}};const Od=/[\t\f\n\r ]+/;var kd=class e{[Ze];[cr];[M]={items:[],attributeValue:``};[Bo];[ar];constructor(t,n,r,i){if(t!==N)throw TypeError(`Illegal constructor`);this[Ze]=n,this[cr]=r,this[Bo]=i||[];let a=new Bc(this,[e]),o=new Proxy(this,{get:(e,t)=>{if(t===`length`)return e[sr]().length;if(t in e||typeof t==`symbol`)return a.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[sr]()[n]},set(e,t,n){if(a.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[sr]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[sr]().length},defineProperty(e,t,n){return a.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[sr]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}});return this[ar]=o,o}get length(){return this[sr]().length}set value(e){this[Ze].setAttribute(this[cr],e)}get value(){return this[Ze].getAttribute(this[cr])||``}[Symbol.iterator](){return this[sr]().values()}item(e){let t=this[sr]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}replace(e,t){let n=this[sr]().slice(),r=n.indexOf(e);return r===-1?!1:(n[r]=t,this[Ze].setAttribute(this[cr],n.join(` `)),!0)}supports(e){return this[Bo].includes(e)}values(){return this[sr]().values()}entries(){return this[sr]().entries()}forEach(e,t){let n=t??this[Ze][b],r=this[sr](),i=this[ar]??this;for(let t=0,a=r.length;t<a;t++)e.call(n,r[t],t,i)}keys(){return this[sr]().keys()}add(...e){let t=this[sr]().slice(),n=new Set(t);for(let r of e)n.has(r)||(n.add(r),t.push(r));this[Ze].setAttribute(this[cr],t.join(` `))}remove(...e){let t=this[sr](),n=new Set(e),r=t.filter(e=>!n.has(e));this[Ze].setAttribute(this[cr],r.join(` `))}contains(e){return this[sr]().includes(e)}toggle(e,t){let n;return n=t===void 0?!this.contains(e):t,n?(this.add(e),!0):(this.remove(e),!1)}[sr](){let e=this[Ze].getAttribute(this[cr])??``,t=this[M];if(t.attributeValue===e)return t.items;let n=[],r=e.trim();if(r)for(let e of r.split(Od))n.includes(e)||n.push(e);return t.attributeValue=e,t.items=n,n}toString(){return this.value||``}},Ad=class e{[$n];constructor(t,n){if(t!==N)throw TypeError(`Illegal constructor`);this[$n]=n;let r=new Bc(this,this.constructor===e?[e]:[this.constructor,e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`)return n().length;if(t in e||typeof t==`symbol`)return r.bind(t),e[t];let i=Number(t);return isNaN(i)?e.namedItem(t)||void 0:n()[i]},set(e,t,n){if(r.bind(t),typeof t==`symbol`)return e[t]=n,!0;let i=Number(t);return isNaN(i)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){let e=[],t=n();for(let n=0;n<t.length;n++){let r=t[n],i=r.getAttribute(`id`)||r.getAttribute(`name`);e.push(String(n)),i&&e.push(i)}return e},has(e,t){if(t in e)return!0;let r=n(),i=Number(t);if(!isNaN(i)&&i>=0&&i<r.length)return!0;t=String(t);for(let e=0;e<r.length;e++){let n=r[e],i=n.getAttribute(`id`)||n.getAttribute(`name`);if(i&&i===t)return!0}return!1},defineProperty(e,t,n){return r.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let r=n(),i=Number(t);if(!isNaN(i)&&i>=0&&i<r.length)return{value:r[i],writable:!1,enumerable:!0,configurable:!0};for(let e=0;e<r.length;e++){let n=r[e],i=n.getAttribute(`id`)||n.getAttribute(`name`);if(i&&i===t)return{value:n,writable:!1,enumerable:!0,configurable:!0}}}})}get length(){return this[$n]().length}get[Symbol.toStringTag](){return this.constructor.name}toLocaleString(){return`[object ${this.constructor.name}]`}toString(){return`[object ${this.constructor.name}]`}item(e){let t=this[$n]();return e>=0&&t[e]?t[e]:null}[Symbol.iterator](){return this[$n]()[Symbol.iterator]()}namedItem(e){let t=this[$n]();e=String(e);for(let n of t)if(n.getAttribute(`id`)===e||n.getAttribute(`name`)===e)return n;return null}},jd=class{static append(e,...t){for(let n of t)n instanceof gd?e.appendChild(n):e.appendChild(e[g].createTextNode(String(n)))}static prepend(e,...t){let n=e.firstChild;for(let r of t)r instanceof gd?e.insertBefore(r,n):e.insertBefore(e[g].createTextNode(String(r)),n)}static replaceChildren(e,...t){let n=e[j];for(;n.length;)e.removeChild(n[0]);this.append(e,...t)}static getElementsByClassName(e,t){return new Ad(N,()=>J.querySelectorAll(e,`.${t.replace(/\s+/gm,`.`)}`)[A])}static getElementsByTagName(e,t){let n=t.toUpperCase(),r=t===`*`,i=(e,t)=>{let a=[];for(let o of e[Yn]){(r||o[w].toUpperCase()===n)&&a.push(o),o[Xn].push(t);for(let e of i(o,t))a.push(e)}return a};return new Ad(N,()=>{let n=e[M].elementsByTagName,r=n.get(t);if(r?.result){let e=r.result.deref();if(e)return e}let a={result:null},o=i(e,a);return a.result=new WeakRef(o),n.set(t,a),o})}static getElementsByTagNameNS(e,t,n){let r=t===Fl.html&&e[g][Ee]===`text/html`?n.toUpperCase():n,i=n===`*`,a=(e,n)=>{let o=[];for(let s of e[Yn]){(i||s[w]===r)&&s[T]===t&&o.push(s),s[Xn].push(n);for(let e of a(s,n))o.push(e)}return o};return new Ad(N,()=>{let t=e[M].elementsByTagNameNS,r=t.get(n);if(r?.result){let e=r.result.deref();if(e)return e}let i={result:null},o=a(e,i);return i.result=new WeakRef(o),t.set(n,i),o})}static getElementByTagName(e,t){let n=t.toUpperCase(),r=(e,t)=>{for(let i of e[Yn]){if(i[Xn].push(t),i[w]===n)return i;let e=r(i,t);if(e)return e}return null},i=e[M].elementByTagName,a=i.get(t);if(a?.result){let e=a.result.deref();if(e)return e}let o={result:null},s=r(e,o);return o.result=s?new WeakRef(s):{deref:()=>null},i.set(t,o),s}static getElementById(e,t){if(t=String(t),e[C]===gd.DOCUMENT_NODE){let n=e[hr].get(t);return n&&n.elements.length>0?n.elements[0]:null}let n=(e,r)=>{for(let i of e[Yn]){if(i[Xn].push(r),i.getAttribute(`id`)===t)return i;let e=n(i,r);if(e)return e}return null},r=e[M].elementById,i=r.get(t);if(i?.result){let e=i.result.deref();if(e)return e}let a={result:null},o=n(e,a);return a.result=o?new WeakRef(o):{deref:()=>null},r.set(t,a),o}},Md=class extends Array{constructor(e){if(super(),e!==1&&e!==N)throw TypeError(`Illegal constructor`)}item(e){return this[e]??null}},Nd=class{[ir]=new Map;[qe]=new Map;[A]=new Map;constructor(e){this[Ze]=e}get length(){return this[A].size}get[Symbol.toStringTag](){return`NamedNodeMap`}toString(){return`[object NamedNodeMap]`}[Symbol.iterator](){return this[A].values()}item(e){let t=Array.from(this[A].values());return e>=0&&t[e]?t[e]:null}getNamedItem(e){return e=String(e),this[Ze][T]===Fl.html&&this[Ze][g][Ee]===`text/html`?this[qe].get(Bl.asciiLowerCase(e))?.[0]||null:this[qe].get(e)?.[0]||null}getNamedItemNS(e,t){let n=this[ir].get(`${e||``}:${t}`);return n&&(!n[Ct]||n[T])?n:null}setNamedItem(e){return this[or](e)}setNamedItemNS(e){return this[or](e)}removeNamedItem(e){let t=this.getNamedItem(e);if(!t)throw new this[Ze][b].DOMException(`Failed to execute 'removeNamedItem' on 'NamedNodeMap': No item with name '${e}' was found.`,H.notFoundError);return this[Hn](t),t}removeNamedItemNS(e,t){let n=this.getNamedItemNS(e,t);if(!n)throw new this[Ze][b].DOMException(`Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': No item with name '${t}' in namespace '${e}' was found.`,H.notFoundError);return this[Hn](n),n}[or](e,t=!1){if(e[Ze]!==null&&e[Ze]!==this[Ze])throw new this[Ze][b].DOMException(`The attribute is in use.`,H.inUseAttributeError);e[Ze]=this[Ze];let n=this.getNamedItemNS(e[T],e[k])||null,r=this[qe].get(e[E]);if(n===e)return e;if(this[ir].set(`${e[T]||``}:${e[k]}`,e),this[A].set(`${e[T]||``}:${e[E]}`,e),!r?.length)this[qe].set(e[E],[e]);else{let t=r.indexOf(n);t!==-1&&r.splice(t,1),r.push(e)}return t||this[Ze][qn](e,n),n}[Hn](e,t=!1){e[Ze]=null,this[ir].delete(`${e[T]||``}:${e[k]}`),this[A].delete(`${e[T]||``}:${e[E]}`);let n=this[qe].get(e[E]);if(n?.length){let t=n.indexOf(e);t!==-1&&n.splice(t,1),n.length||this[qe].delete(e[E])}t||this[Ze][Jn](e)}},Pd=class{static createProxy(e){let t=new Bc(this,[Nd]);return new Proxy(e,{get:(n,r)=>{if(r===`length`)return e[A].size;if(r in n||typeof r==`symbol`)return t.bind(r),n[r];let i=Number(r);return isNaN(i)?n.getNamedItem(r)||void 0:n.item(i)},set(e,n,r){if(t.bind(n),typeof n==`symbol`)return e[n]=r,!0;let i=Number(n);return isNaN(i)&&(e[n]=r),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){let t=Array.from(e[A].keys());for(let n=0,r=e[A].size;n<r;n++)t.push(String(n));return t},has(t,n){if(typeof n==`symbol`)return!1;if(n in t||e[A].has(n))return!0;let r=Number(n);return!isNaN(r)&&r>=0&&r<e[A].size},defineProperty(e,n,r){return t.preventBinding(n),n in e?(Object.defineProperty(e,n,r),!0):!1},getOwnPropertyDescriptor(t,n){if(n in t||typeof n==`symbol`)return;let r=Number(n);if(!isNaN(r)){if(r>=0){let e=t.item(r);if(e)return{value:e,writable:!1,enumerable:!0,configurable:!0}}return}let i=e[A].get(n);if(i)return{value:i,writable:!1,enumerable:!0,configurable:!0}}})}},Fd;(function(e){e.rawText=`rawText`,e.noSelfDescendants=`noSelfDescendants`,e.noFirstLevelSelfDescendants=`noFirstLevelSelfDescendants`,e.noForbiddenFirstLevelDescendants=`noForbiddenFirstLevelDescendants`,e.noDescendants=`noDescendants`,e.permittedDescendants=`permittedDescendants`,e.textOrComments=`textOrComments`,e.anyDescendants=`anyDescendants`})(Fd||={});var X=Fd,Id={a:{className:`HTMLAnchorElement`,contentModel:X.noSelfDescendants},abbr:{className:`HTMLElement`,contentModel:X.anyDescendants},address:{className:`HTMLElement`,contentModel:X.anyDescendants},area:{className:`HTMLAreaElement`,contentModel:X.noDescendants},article:{className:`HTMLElement`,contentModel:X.anyDescendants},aside:{className:`HTMLElement`,contentModel:X.anyDescendants},audio:{className:`HTMLAudioElement`,contentModel:X.anyDescendants},b:{className:`HTMLElement`,contentModel:X.anyDescendants},base:{className:`HTMLBaseElement`,contentModel:X.noDescendants},bdi:{className:`HTMLElement`,contentModel:X.anyDescendants},bdo:{className:`HTMLElement`,contentModel:X.anyDescendants},body:{className:`HTMLBodyElement`,contentModel:X.anyDescendants},template:{className:`HTMLTemplateElement`,contentModel:X.anyDescendants},form:{className:`HTMLFormElement`,contentModel:X.anyDescendants},input:{className:`HTMLInputElement`,contentModel:X.noDescendants},textarea:{className:`HTMLTextAreaElement`,contentModel:X.anyDescendants},script:{className:`HTMLScriptElement`,contentModel:X.rawText},img:{className:`HTMLImageElement`,contentModel:X.noDescendants},link:{className:`HTMLLinkElement`,contentModel:X.noDescendants},style:{className:`HTMLStyleElement`,contentModel:X.rawText},label:{className:`HTMLLabelElement`,contentModel:X.anyDescendants},slot:{className:`HTMLSlotElement`,contentModel:X.anyDescendants},meta:{className:`HTMLMetaElement`,contentModel:X.noDescendants},blockquote:{className:`HTMLQuoteElement`,contentModel:X.anyDescendants},br:{className:`HTMLBRElement`,contentModel:X.noDescendants},button:{className:`HTMLButtonElement`,contentModel:X.anyDescendants},canvas:{className:`HTMLCanvasElement`,contentModel:X.anyDescendants},caption:{className:`HTMLTableCaptionElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`table`,`tbody`,`thead`,`tfoot`,`tr`,`td`,`th`,`col`,`colgroup`],permittedParents:[`table`]},cite:{className:`HTMLElement`,contentModel:X.anyDescendants},code:{className:`HTMLElement`,contentModel:X.anyDescendants},col:{className:`HTMLTableColElement`,contentModel:X.noDescendants,permittedParents:[`colgroup`]},colgroup:{className:`HTMLTableColElement`,contentModel:X.permittedDescendants,permittedDescendants:[`col`]},data:{className:`HTMLDataElement`,contentModel:X.anyDescendants},datalist:{className:`HTMLDataListElement`,contentModel:X.anyDescendants},dd:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`dt`,`dd`]},del:{className:`HTMLModElement`,contentModel:X.anyDescendants},details:{className:`HTMLDetailsElement`,contentModel:X.anyDescendants},dfn:{className:`HTMLElement`,contentModel:X.anyDescendants},dialog:{className:`HTMLDialogElement`,contentModel:X.anyDescendants},div:{className:`HTMLDivElement`,contentModel:X.anyDescendants},dl:{className:`HTMLDListElement`,contentModel:X.anyDescendants},dt:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`dt`,`dd`]},em:{className:`HTMLElement`,contentModel:X.anyDescendants},embed:{className:`HTMLEmbedElement`,contentModel:X.noDescendants},fieldset:{className:`HTMLFieldSetElement`,contentModel:X.anyDescendants},figcaption:{className:`HTMLElement`,contentModel:X.anyDescendants},figure:{className:`HTMLElement`,contentModel:X.anyDescendants},footer:{className:`HTMLElement`,contentModel:X.anyDescendants},h1:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h2:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h3:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h4:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h5:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h6:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},head:{className:`HTMLHeadElement`,contentModel:X.anyDescendants},header:{className:`HTMLElement`,contentModel:X.anyDescendants},hgroup:{className:`HTMLElement`,contentModel:X.anyDescendants},hr:{className:`HTMLHRElement`,contentModel:X.noDescendants},html:{className:`HTMLHtmlElement`,contentModel:X.anyDescendants},i:{className:`HTMLElement`,contentModel:X.anyDescendants},iframe:{className:`HTMLIFrameElement`,contentModel:X.anyDescendants},ins:{className:`HTMLModElement`,contentModel:X.anyDescendants},kbd:{className:`HTMLElement`,contentModel:X.anyDescendants},legend:{className:`HTMLLegendElement`,contentModel:X.anyDescendants},li:{className:`HTMLLIElement`,contentModel:X.noFirstLevelSelfDescendants},main:{className:`HTMLElement`,contentModel:X.anyDescendants},map:{className:`HTMLMapElement`,contentModel:X.anyDescendants},mark:{className:`HTMLElement`,contentModel:X.anyDescendants},menu:{className:`HTMLMenuElement`,contentModel:X.anyDescendants},meter:{className:`HTMLMeterElement`,contentModel:X.anyDescendants},nav:{className:`HTMLElement`,contentModel:X.anyDescendants},noscript:{className:`HTMLElement`,contentModel:X.anyDescendants},object:{className:`HTMLObjectElement`,contentModel:X.anyDescendants},ol:{className:`HTMLOListElement`,contentModel:X.anyDescendants},optgroup:{className:`HTMLOptGroupElement`,contentModel:X.noFirstLevelSelfDescendants},option:{className:`HTMLOptionElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`option`,`optgroup`]},output:{className:`HTMLOutputElement`,contentModel:X.anyDescendants},p:{className:`HTMLParagraphElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:`address.article.aside.blockquote.details.dialog.div.dl.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.main.menu.nav.ol.p.pre.section.table.ul`.split(`.`)},param:{className:`HTMLParamElement`,contentModel:X.noDescendants},picture:{className:`HTMLPictureElement`,contentModel:X.anyDescendants},pre:{className:`HTMLPreElement`,contentModel:X.anyDescendants},progress:{className:`HTMLProgressElement`,contentModel:X.anyDescendants},q:{className:`HTMLQuoteElement`,contentModel:X.anyDescendants},rb:{className:`HTMLElement`,contentModel:X.anyDescendants},rp:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`rp`,`rt`]},rt:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`rp`,`rt`]},rtc:{className:`HTMLElement`,contentModel:X.anyDescendants},ruby:{className:`HTMLElement`,contentModel:X.anyDescendants},s:{className:`HTMLElement`,contentModel:X.anyDescendants},samp:{className:`HTMLElement`,contentModel:X.anyDescendants},section:{className:`HTMLElement`,contentModel:X.anyDescendants},select:{className:`HTMLSelectElement`,contentModel:X.anyDescendants},small:{className:`HTMLElement`,contentModel:X.anyDescendants},source:{className:`HTMLSourceElement`,contentModel:X.noDescendants},span:{className:`HTMLSpanElement`,contentModel:X.anyDescendants},strong:{className:`HTMLElement`,contentModel:X.anyDescendants},sub:{className:`HTMLElement`,contentModel:X.anyDescendants},summary:{className:`HTMLElement`,contentModel:X.anyDescendants},sup:{className:`HTMLElement`,contentModel:X.anyDescendants},table:{className:`HTMLTableElement`,contentModel:X.permittedDescendants,permittedDescendants:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`],moveForbiddenDescendant:{exclude:[]}},tbody:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},td:{className:`HTMLTableCellElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`td`,`th`,`tr`,`tbody`,`tfoot`,`thead`],permittedParents:[`tr`]},tfoot:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},th:{className:`HTMLTableCellElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`td`,`th`,`tr`,`tbody`,`tfoot`,`thead`],permittedParents:[`tr`]},thead:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},time:{className:`HTMLTimeElement`,contentModel:X.anyDescendants},title:{className:`HTMLTitleElement`,contentModel:X.anyDescendants},tr:{className:`HTMLTableRowElement`,contentModel:X.permittedDescendants,permittedDescendants:[`td`,`th`],permittedParents:[`tbody`,`tfoot`,`thead`],addPermittedParent:`tbody`,moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`,`tr`]}},track:{className:`HTMLTrackElement`,contentModel:X.noDescendants},u:{className:`HTMLElement`,contentModel:X.anyDescendants},ul:{className:`HTMLUListElement`,contentModel:X.anyDescendants},var:{className:`HTMLElement`,contentModel:X.anyDescendants},video:{className:`HTMLVideoElement`,contentModel:X.anyDescendants},wbr:{className:`HTMLElement`,contentModel:X.noDescendants}};const Ld=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Rd=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function zd(e){return e>=55296&&e<=57343||e>1114111?65533:Ld.get(e)??e}function Bd(e){let t=typeof atob==`function`?atob(e):typeof Buffer.from==`function`?Buffer.from(e,`base64`).toString(`bin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G13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Ud||={});var Wd;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(Wd||={});function Gd(e){return e>=Wd.ZERO&&e<=Wd.NINE}function Kd(e){return e>=Wd.UPPER_A&&e<=Wd.UPPER_F||e>=Wd.LOWER_A&&e<=Wd.LOWER_F}function qd(e){return e>=Wd.UPPER_A&&e<=Wd.UPPER_Z||e>=Wd.LOWER_A&&e<=Wd.LOWER_Z||Gd(e)}function Jd(e){return e===Wd.EQUALS||qd(e)}var Yd;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Yd||={});var Xd;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Xd||={});var Zd=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Yd.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Xd.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=Yd.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Yd.EntityStart:return e.charCodeAt(t)===Wd.NUM?(this.state=Yd.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Yd.NamedEntity,this.stateNamedEntity(e,t));case Yd.NumericStart:return this.stateNumericStart(e,t);case Yd.NumericDecimal:return this.stateNumericDecimal(e,t);case Yd.NumericHex:return this.stateNumericHex(e,t);case Yd.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===Wd.LOWER_X?(this.state=Yd.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Yd.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(Gd(n)||Kd(n)){let e=n<=Wd.NINE?n-Wd.ZERO:(n|32)-Wd.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(Gd(n))this.result=this.result*10+(n-Wd.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Wd.SEMI)this.consumed+=1;else if(this.decodeMode===Xd.Strict)return 0;return this.emitCodePoint(zd(this.result),this.consumed),this.errors&&(e!==Wd.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&Ud.FLAG13)!==0){let a=(r&Ud.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&Ud.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===Wd.SEMI&&i!==0&&(r&Ud.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=$d(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Xd.Attribute&&(i===0||Jd(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14,i!==0){if(a===Wd.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Xd.Strict&&(r&Ud.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Ud.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(Ud.VALUE_LENGTH|Ud.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Yd.NamedEntity:return this.result!==0&&(this.decodeMode!==Xd.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Yd.NumericDecimal:return this.emitNumericEntity(0,2);case Yd.NumericHex:return this.emitNumericEntity(0,3);case Yd.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Yd.EntityStart:return 0}}};function Qd(e){let t=``,n=new Zd(e,e=>t+=Rd(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function $d(e,t,n,r){let i=(t&Ud.BRANCH_LENGTH)>>7,a=t&Ud.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}const ef=Qd(Vd),tf=Qd(Hd);function nf(e,t=Xd.Legacy){return ef(e,t)}function rf(e){return ef(e,Xd.Attribute)}function af(e){return tf(e,Xd.Strict)}String.prototype.codePointAt;function of(e,t){return function(n){let r,i=0,a=``;for(;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}const sf=of(/[&<>\u00A0]/g,new Map([[38,`&amp;`],[60,`&lt;`],[62,`&gt;`],[160,`&nbsp;`]])),cf=/[&"<>\t\n\r]/g,lf=/[&"]/g,uf=/&(?:nbsp|lt|gt|amp);/g,df={"&":`&amp;`,'"':`&quot;`,"<":`&lt;`,">":`&gt;`," ":`&#x9;`,"\n":`&#xA;`,"\r":`&#xD;`},ff={"&":`&amp;`,'"':`&quot;`},pf={"&nbsp;":`\xA0`,"&lt;":`<`,"&gt;":`>`,"&amp;":`&`};var mf=class{static encodeXMLAttributeValue(e){return e===null?``:e.replace(cf,e=>df[e])}static decodeXMLAttributeValue(e){return e===null?``:af(e)}static encodeHTMLAttributeValue(e){return e===null?``:e.replace(lf,e=>ff[e])}static decodeHTMLAttributeValue(e){return e===null?``:rf(e)}static encodeTextContent(e){return e===null?``:sf(e)}static decodeTextContent(e){return e===null?``:e.replace(uf,e=>pf[e])}static decodeHTMLEntities(e){return e===null?``:nf(e)}static decodeXMLEntities(e){return e===null?``:af(e)}},hf=class{options={serializableShadowRoots:!1,shadowRoots:null,allShadowRoots:!1,excludeShadowRootTags:null};constructor(e){e&&(e.serializableShadowRoots&&(this.options.serializableShadowRoots=e.serializableShadowRoots),e.shadowRoots&&(this.options.shadowRoots=e.shadowRoots),e.allShadowRoots&&(this.options.allShadowRoots=e.allShadowRoots),e.excludeShadowRootTags&&(this.options.excludeShadowRootTags=e.excludeShadowRootTags))}serializeToString(e){switch(e[C]){case U.elementNode:let t=e,n=t[Ct],r=t[k],i=Id[t[k]],a=n?`${n}:${r}`:r;if(i?.contentModel===X.noDescendants)return`<${a}${this.getAttributes(t)}>`;let o=``;if(t.shadowRoot&&(this.options.allShadowRoots||this.options.serializableShadowRoots&&t.shadowRoot[vr]||this.options.shadowRoots?.includes(t.shadowRoot))&&(!this.options.excludeShadowRootTags||!this.options.excludeShadowRootTags.includes(a))){o+=`<template shadowrootmode="${t.shadowRoot[xn]}"${t.shadowRoot[vr]?` shadowrootserializable=""`:``}>`;for(let e of t.shadowRoot[j])o+=this.serializeToString(e);o+=`</template>`}let s=a===`template`?e.content[j]:e[j];for(let e of s)o+=this.serializeToString(e);return`<${a}${this.getAttributes(t)}>${o}</${a}>`;case gd.DOCUMENT_FRAGMENT_NODE:case gd.DOCUMENT_NODE:let c=``;for(let t of e[j])c+=this.serializeToString(t);return c;case U.commentNode:return`<!--${e.textContent}-->`;case U.processingInstructionNode:return`<!--?${e.target} ${e.textContent}?-->`;case U.textNode:let l=e.parentElement;return l&&Id[l[k]]?.contentModel===X.rawText?e.textContent:mf.encodeTextContent(e.textContent);case U.documentTypeNode:let u=e,d=u.publicId?` PUBLIC`:u.systemId?` SYSTEM`:``,f=u.publicId?` "${u.publicId}"`:``,p=u.systemId?` "${u.systemId}"`:``;return`<!DOCTYPE ${u.name}${d}${f}${p}>`}return``}getAttributes(e){let t=``,n=e[Ot][A];!n.has(`:is`)&&e[We]&&(t+=` is="`+mf.encodeHTMLAttributeValue(e[We])+`"`);for(let e of n.values()){let n=mf.encodeHTMLAttributeValue(e[v]);t+=` `+e[E]+`="`+n+`"`}return t}},gf={svg:{localName:`svg`,className:`SVGSVGElement`},animate:{localName:`animate`,className:`SVGAnimateElement`},animatemotion:{localName:`animateMotion`,className:`SVGAnimateMotionElement`},animatetransform:{localName:`animateTransform`,className:`SVGAnimateTransformElement`},circle:{localName:`circle`,className:`SVGCircleElement`},clippath:{localName:`clipPath`,className:`SVGClipPathElement`},defs:{localName:`defs`,className:`SVGDefsElement`},desc:{localName:`desc`,className:`SVGDescElement`},ellipse:{localName:`ellipse`,className:`SVGEllipseElement`},feblend:{localName:`feBlend`,className:`SVGFEBlendElement`},fecolormatrix:{localName:`feColorMatrix`,className:`SVGFEColorMatrixElement`},fecomponenttransfer:{localName:`feComponentTransfer`,className:`SVGFEComponentTransferElement`},fecomposite:{localName:`feComposite`,className:`SVGFECompositeElement`},feconvolvematrix:{localName:`feConvolveMatrix`,className:`SVGFEConvolveMatrixElement`},fediffuselighting:{localName:`feDiffuseLighting`,className:`SVGFEDiffuseLightingElement`},fedisplacementmap:{localName:`feDisplacementMap`,className:`SVGFEDisplacementMapElement`},fedistantlight:{localName:`feDistantLight`,className:`SVGFEDistantLightElement`},fedropshadow:{localName:`feDropShadow`,className:`SVGFEDropShadowElement`},feflood:{localName:`feFlood`,className:`SVGFEFloodElement`},fefunca:{localName:`feFuncA`,className:`SVGFEFuncAElement`},fefuncb:{localName:`feFuncB`,className:`SVGFEFuncBElement`},fefuncg:{localName:`feFuncG`,className:`SVGFEFuncGElement`},fefuncr:{localName:`feFuncR`,className:`SVGFEFuncRElement`},fegaussianblur:{localName:`feGaussianBlur`,className:`SVGFEGaussianBlurElement`},feimage:{localName:`feImage`,className:`SVGFEImageElement`},femerge:{localName:`feMerge`,className:`SVGFEMergeElement`},femergenode:{localName:`feMergeNode`,className:`SVGFEMergeNodeElement`},femorphology:{localName:`feMorphology`,className:`SVGFEMorphologyElement`},feoffset:{localName:`feOffset`,className:`SVGFEOffsetElement`},fepointlight:{localName:`fePointLight`,className:`SVGFEPointLightElement`},fespecularlighting:{localName:`feSpecularLighting`,className:`SVGFESpecularLightingElement`},fespotlight:{localName:`feSpotLight`,className:`SVGFESpotLightElement`},fetile:{localName:`feTile`,className:`SVGFETileElement`},feturbulence:{localName:`feTurbulence`,className:`SVGFETurbulenceElement`},filter:{localName:`filter`,className:`SVGFilterElement`},foreignobject:{localName:`foreignObject`,className:`SVGForeignObjectElement`},g:{localName:`g`,className:`SVGGElement`},image:{localName:`image`,className:`SVGImageElement`},line:{localName:`line`,className:`SVGLineElement`},lineargradient:{localName:`linearGradient`,className:`SVGLinearGradientElement`},marker:{localName:`marker`,className:`SVGMarkerElement`},mask:{localName:`mask`,className:`SVGMaskElement`},metadata:{localName:`metadata`,className:`SVGMetadataElement`},mpath:{localName:`mpath`,className:`SVGMPathElement`},path:{localName:`path`,className:`SVGPathElement`},pattern:{localName:`pattern`,className:`SVGPatternElement`},polygon:{localName:`polygon`,className:`SVGPolygonElement`},polyline:{localName:`polyline`,className:`SVGPolylineElement`},radialgradient:{localName:`radialGradient`,className:`SVGRadialGradientElement`},rect:{localName:`rect`,className:`SVGRectElement`},script:{localName:`script`,className:`SVGScriptElement`},set:{localName:`set`,className:`SVGSetElement`},stop:{localName:`stop`,className:`SVGStopElement`},style:{localName:`style`,className:`SVGStyleElement`},switch:{localName:`switch`,className:`SVGSwitchElement`},symbol:{localName:`symbol`,className:`SVGSymbolElement`},text:{localName:`text`,className:`SVGTextElement`},textpath:{localName:`textPath`,className:`SVGTextPathElement`},title:{localName:`title`,className:`SVGTitleElement`},tspan:{localName:`tspan`,className:`SVGTSpanElement`},use:{localName:`use`,className:`SVGUseElement`},view:{localName:`view`,className:`SVGViewElement`}};const _f=/<([^\s/!>?]+)|<\/([^\s/!>?]+)\s*>|(<!--)|(-->|--!>)|(<!)|(<\?)|(\/>)|(>)/gm,vf=/\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*([^"'=<>\\`\s]+)|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*"([^"]*)("{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*'([^']*)('{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)/gm,yf=/"([^"]+)"/gm,bf=/\s+/,xf=/^\s+/;var Sf;(function(e){e.any=`any`,e.startTag=`startTag`,e.comment=`comment`,e.documentType=`documentType`,e.processingInstruction=`processingInstruction`,e.rawTextElement=`rawTextElement`})(Sf||={});var Cf;(function(e){e[e.root=0]=`root`,e[e.doctype=1]=`doctype`,e[e.documentElement=2]=`documentElement`,e[e.head=3]=`head`,e[e.additionalHeadWithoutBody=4]=`additionalHeadWithoutBody`,e[e.body=5]=`body`,e[e.afterBody=6]=`afterBody`})(Cf||={});var wf=class{window;evaluateScripts=!1;isTemplateDocumentFragment=!1;rootNode=null;rootDocument=null;nodeStack=[];tagNameStack=[];documentStructure=null;startTagIndex=0;markupRegExp=null;nextElement=null;currentNode=null;readState=Sf.any;constructor(e,t){this.window=e,t?.evaluateScripts&&(this.evaluateScripts=!0),t?.isTemplateDocumentFragment&&(this.isTemplateDocumentFragment=!0)}parse(e,t){if(this.rootNode=t||this.window.document.createDocumentFragment(),this.rootDocument=this.rootNode[C]===U.documentNode?this.rootNode:this.window.document,this.nodeStack=[this.rootNode],this.tagNameStack=[null],this.currentNode=this.rootNode,this.readState=Sf.any,this.documentStructure=null,this.startTagIndex=0,this.markupRegExp=new RegExp(_f),this.rootNode[C]===U.documentNode){let{doctype:e,documentElement:t,head:n,body:r}=this.rootNode;if(!t||!n||!r)throw Error(`Failed to parse HTML: The root node must have "documentElement", "head" and "body".
69
69
 
70
70
  We should not end up here and it is therefore a bug in Happy DOM. Please report this issue.`);this.documentStructure={nodes:{doctype:e||null,documentElement:t,head:n,body:r},level:Cf.root}}if(this.rootNode instanceof this.window.HTMLHtmlElement){let e=this.rootDocument.createElement(`head`),t=this.rootDocument.createElement(`body`);for(;this.rootNode[j].length>0;)this.rootNode[Fn](this.rootNode[j][this.rootNode[j].length-1]);this.rootNode[Pn](e),this.rootNode[Pn](t),this.documentStructure={nodes:{doctype:null,documentElement:this.rootNode,head:e,body:t},level:Cf.documentElement}}let n,r=0;for(e=String(e);n=this.markupRegExp.exec(e);){switch(this.readState){case Sf.any:n.index!==r&&(n[1]||n[2]||n[3]||n[4]||n[5]!==void 0||n[6])&&this.parsePlainText(e.substring(r,n.index)),n[1]?(this.nextElement=this.getStartTagElement(n[1]),this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.startTag):n[2]?this.parseEndTag(n[2]):n[3]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.comment):n[5]===void 0?n[6]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.processingInstruction):this.parsePlainText(e.substring(r,this.markupRegExp.lastIndex)):(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.documentType);break;case Sf.startTag:if(n[7]||n[8]||n[2])if(this.nextElement){let t=e.substring(this.startTagIndex,n[2]?this.markupRegExp.lastIndex-1:n.index),r=!!n[7];this.parseEndOfStartTag(t,r)}else this.readState=Sf.any;break;case Sf.comment:n[4]&&this.parseComment(e.substring(this.startTagIndex,n.index));break;case Sf.documentType:(n[7]||n[8])&&this.parseDocumentType(e.substring(this.startTagIndex,n.index));break;case Sf.processingInstruction:(n[7]||n[8])&&this.parseComment(`?`+e.substring(this.startTagIndex,n.index));break;case Sf.rawTextElement:n[2]&&this.parseRawTextElementContent(n[2],e.substring(this.startTagIndex,n.index));break}r=this.markupRegExp.lastIndex}return r!==e.length&&this.currentNode&&this.parsePlainText(e.substring(r)),this.rootNode}parsePlainText(e){if(this.documentStructure){let t=this.documentStructure.level,{documentElement:n,head:r,body:i}=this.documentStructure.nodes,a=(this.currentNode===this.rootNode||this.currentNode===n)&&t<Cf.head&&i[Yn].length===0?e.replace(xf,``):e;if(a){let o=this.rootDocument.createTextNode(mf.decodeHTMLEntities(a));this.currentNode===r&&t===Cf.additionalHeadWithoutBody?n[In](o,i,!0):this.currentNode===this.rootNode||this.currentNode===n||this.currentNode===r&&t>=Cf.body?t===Cf.head?n[In](o,i,!0):i.lastChild?.[C]===U.textNode?i.lastChild[Ae]+=e:i[Pn](o,!0):this.currentNode[Pn](o,!0)}}else{let t=this.rootDocument.createTextNode(mf.decodeHTMLEntities(e));this.currentNode[Pn](t,!0)}}parseEndOfStartTag(e,t){if(e&&(!this.documentStructure||this.nextElement!==this.documentStructure.nodes.head||this.documentStructure.level<Cf.body)){let t=new RegExp(vf),n;for(;n=t.exec(e);)if(n[1]&&n[2]||n[3]&&n[5]===`"`||n[6]&&n[8]===`'`||n[9]){let e=n[1]||n[3]||n[6]||n[9]||``,t=n[2]||n[4]||n[7]||``,r=t?mf.decodeHTMLAttributeValue(t):``,i=this.nextElement[Ot];if(this.nextElement[T]===Fl.svg){let t=e.split(`:`),n=null;switch(t[0]){case`xmlns`:n=!t[1]||t[1]===`xlink`?Fl.xmlns:null;break;case`xlink`:n=Fl.xlink;break}if(!i.getNamedItemNS(n,t[1]??e)){let a=hd.createNode(this.rootDocument,this.window.Attr);a[T]=n,a[E]=e,a[k]=n&&t[1]?t[1]:e,a[Ct]=n&&t[1]?t[0]:null,a[v]=r,i[or](a)}}else if(!i.getNamedItem(e)){let t=this.rootDocument.createAttribute(e);t[v]=r,i[or](t)}this.startTagIndex+=n[0].length}else if(!n[1]&&(n[3]&&!n[5]||n[6]&&!n[8]))return}let n=this.nextElement[w],r=n.toLowerCase(),i=Id[r],a=null;for(;a!==this.rootNode;){let e=this.currentNode[w]?.toLowerCase(),t=e?Id[e]:null;if(a===this.currentNode)throw Error(`Failed to parse HTML: The parser is stuck in an infinite loop. Please report this issue.`);if(a=this.currentNode,i?.contentModel===X.noFirstLevelSelfDescendants&&this.tagNameStack[this.tagNameStack.length-1]===n||t?.contentModel===X.textOrComments||t?.contentModel===X.noForbiddenFirstLevelDescendants&&t?.forbiddenDescendants?.includes(r)||t?.contentModel===X.permittedDescendants&&!t?.permittedDescendants?.includes(r)&&(!i||!i.addPermittedParent||Id[i.addPermittedParent].permittedParents&&!Id[i.addPermittedParent].permittedParents.includes(e)||Id[i.addPermittedParent].permittedDescendants&&!Id[i.addPermittedParent].permittedDescendants.includes(r))){if(t?.contentModel===X.permittedDescendants&&t.moveForbiddenDescendant&&!t.moveForbiddenDescendant.exclude.includes(r)){let e=this.currentNode;for(;e&&!(!e.parentNode||!Id[e.parentNode[k]]?.permittedDescendants||Id[e.parentNode[k]]?.permittedDescendants?.includes(r));)e=e.parentNode;e&&e.parentNode?e.parentNode.insertBefore(this.nextElement,e):e.appendChild(this.nextElement),this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.any;return}this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode}else if(i?.contentModel===X.noSelfDescendants&&this.tagNameStack.includes(n))for(;this.currentNode!==this.rootNode;){if(this.currentNode[w]===n){this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode;break}this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode}else if(!this.isTemplateDocumentFragment&&i?.permittedParents&&!i.permittedParents.includes(e)){if(!i.addPermittedParent||Id[i.addPermittedParent].permittedParents&&!Id[i.addPermittedParent].permittedParents.includes(e)||Id[i.addPermittedParent].permittedDescendants&&!Id[i.addPermittedParent].permittedDescendants.includes(r)){this.readState=Sf.any,this.startTagIndex=this.markupRegExp.lastIndex;return}let t=this.rootDocument.createElement(i.addPermittedParent);this.currentNode[Pn](t,!0),this.nodeStack.push(t),this.tagNameStack.push(t[w]),this.currentNode=t}else break}if(this.documentStructure){let{documentElement:e,head:t,body:n}=this.documentStructure.nodes,r=this.documentStructure.level;(!i||i.contentModel!==X.rawText)&&this.nextElement!==e&&this.nextElement!==t&&this.nextElement!==n&&(e&&(this.currentNode===this.rootNode||this.currentNode===e||this.currentNode===t&&r>=Cf.body)?(r<Cf.body&&(this.documentStructure.level=Cf.afterBody),n[Pn](this.nextElement,!0)):this.currentNode[Pn](this.nextElement,!0))}else this.currentNode[Pn](this.nextElement,!0);!this.documentStructure||this.nextElement!==this.documentStructure.nodes.body||this.documentStructure.level<=Cf.body?(this.currentNode=this.nextElement,this.nodeStack.push(this.currentNode),this.tagNameStack.push(n),this.documentStructure&&this.nextElement===this.documentStructure.nodes.body&&(this.documentStructure.level=Cf.afterBody),i?.contentModel===X.noDescendants||t&&this.currentNode[T]===Fl.svg?(this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,this.readState=Sf.any):this.readState=i?.contentModel===X.rawText?Sf.rawTextElement:Sf.any):this.readState=Sf.any,this.startTagIndex=this.markupRegExp.lastIndex}parseEndTag(e){let t=this.currentNode[T]===Fl.html?Bl.asciiUpperCase(e):gf[Bl.asciiLowerCase(e)]?.localName||e,n=this.tagNameStack.lastIndexOf(t);n!==-1&&(this.nodeStack.splice(n,this.nodeStack.length-n),this.tagNameStack.splice(n,this.tagNameStack.length-n),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode)}parseComment(e){let t=this.rootDocument.createComment(mf.decodeHTMLEntities(e));if(this.documentStructure){let e=this.documentStructure.level,{documentElement:n,head:r,body:i}=this.documentStructure.nodes,a=null;this.currentNode===this.rootNode&&e===Cf.root?a=n:this.currentNode===n&&e===Cf.documentElement?a=r:this.currentNode===n&&e===Cf.head&&(a=i),this.currentNode[In](t,a,!0)}else this.currentNode[Pn](t,!0);this.readState=Sf.any}parseDocumentType(e){let t=mf.decodeHTMLEntities(e);if(this.documentStructure){let{doctype:e}=this.documentStructure.nodes,n=this.getDocumentType(t);n?this.currentNode===this.rootNode&&this.documentStructure.level===Cf.root&&(e?(e[E]=n.name,e[Ut]=n.publicId,e[Wt]=n.systemId):(e=this.rootNode.implementation.createDocumentType(n.name,n.publicId,n.systemId),this.rootNode.insertBefore(e,this.rootNode.documentElement)),this.documentStructure.level=Cf.doctype):this.parseComment(t)}else this.getDocumentType(t)||this.parseComment(t);this.readState=Sf.any}parseRawTextElementContent(e,t){let n=Bl.asciiUpperCase(e);if(n!==this.currentNode[w])return;(n===`SCRIPT`||n===`LINK`)&&(this.currentNode[ts]=!this.evaluateScripts),this.currentNode[Pn](this.rootDocument.createTextNode(t),!0);let r=this.currentNode;if(this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,this.readState=Sf.any,this.documentStructure){let{documentElement:e,body:t}=this.documentStructure.nodes;e&&(this.currentNode===this.rootNode||this.currentNode===e)?t[Pn](r,!0):this.currentNode[Pn](r,!0)}else this.currentNode[Pn](r,!0)}getStartTagElement(e){let t=Bl.asciiLowerCase(e),n=this.currentNode[T];if(t===`svg`)return this.rootDocument.createElementNS(Fl.svg,`svg`);if(n===Fl.svg)return this.rootDocument.createElementNS(Fl.svg,gf[t]?.localName||e);switch(t){case`html`:return this.documentStructure?(this.documentStructure.level<Cf.documentElement&&(this.documentStructure.level=Cf.documentElement),this.documentStructure.nodes.documentElement??null):null;case`head`:return this.documentStructure?(this.documentStructure.level<Cf.head?this.documentStructure.level=Cf.head:this.documentStructure.level===Cf.head&&(this.documentStructure.level=Cf.additionalHeadWithoutBody),this.documentStructure.nodes.head??null):null;case`body`:return this.documentStructure?(this.documentStructure.level<Cf.body&&(this.documentStructure.level=Cf.body),this.documentStructure.nodes.body??null):null;default:return this.rootDocument.createElementNS(Fl.html,t)}}getDocumentType(e){if(!e.toUpperCase().startsWith(`DOCTYPE`))return null;let t=e.split(bf);if(t.length<=1)return null;let n=t.slice(1).join(` `),r=[],i=new RegExp(yf,`gm`),a=n.toUpperCase().includes(`PUBLIC`),o;for(;o=i.exec(n);)r.push(o[1]);let s=a&&r[0]||``,c=a?r[1]||``:r[0]||``;return{name:t[1].toLowerCase(),publicId:s,systemId:c}}};const Tf=/[\x00-\x1F\x7F\x80-\x9F "\'><=\/\uFDD0-\uFDEF\uFFFE\uFFFF\u1FFFE\u1FFFF\u2FFFE\u2FFFF\u3FFFE\u3FFFF\u4FFFE\u4FFFF\u5FFFE\u5FFFF\u6FFFE\u6FFFF\u7FFFE\u7FFFF\u8FFFE\u8FFFF\u9FFFE\u9FFFF\uAFFFE\uAFFFF\uBFFFE\uBFFFF\uCFFFE\uCFFFF\uDFFFE\uDFFFF\uEFFFE\uEFFFF\uFFFFE\uFFFFF\u10FFFE\u10FFFF]/;var Ef=class{static validateAttributeName(e,t,n){let{method:r,instance:i}=n;if(t===`text/html`){let t=String(e).toLowerCase();if(Tf.test(t)||t.length===0||t[0]===`-`)throw new _s(`Uncaught InvalidCharacterError: Failed to execute '${r}' on '${i}': '${e}' is not a valid attribute name.`,H.invalidCharacterError)}}},Z=class{static getEventListener(e,t){let n=e[V].get(t);if(n)return n;let r=e[g][je];if(!r)return null;let i=new Y(r).getSettings();if(!i||!i.enableJavaScriptEvaluation)return null;let a=e.getAttribute(t);if(!a)return null;let o=`(function anonymous($happy_dom, event) {`;i&&!i.disableErrorCapturing&&i.errorCapture===Ls.tryAndCatch&&(o+=`try {
71
71
  `),o+=a,i&&!i.disableErrorCapturing&&i.errorCapture===Ls.tryAndCatch&&(o+=`} catch(e) { $happy_dom.dispatchError(e); }`),o+=`})`;let s=null;try{s=r[Fe](o,{filename:r.location.href}).bind(e,{dispatchError:r[zo].bind(r)})}catch(n){let a=new r.SyntaxError(`Failed to read the '${t}' property from '${e.constructor.name}': ${n.message}`);if(i.disableErrorCapturing||i.errorCapture!==Ls.tryAndCatch)throw a;return r[zo](a),null}return s&&e[V].set(t,s),s}},Df=class extends gd{static[w]=null;static[k]=null;static[T]=null;[be]=null;[We]=null;[C]=U.elementNode;[Ct]=null;[lt]=null;[wt]=0;[Tt]=0;[Et]=0;[Dt]=0;[Ot]=new Nd(this);[kt]=null;[ye]=null;[er]=null;[xt]=new Set;[V]=new Map;constructor(){super(),this[w]||(this[w]=null),this[k]||(this[k]=null),this[T]||(this[T]=null)}get onfullscreenerror(){return Z.getEventListener(this,`onfullscreenerror`)}set onfullscreenerror(e){this[V].set(`onfullscreenerror`,e)}get onfullscreenchange(){return Z.getEventListener(this,`onfullscreenchange`)}set onfullscreenchange(e){this[V].set(`onfullscreenchange`,e)}get onbeforecopy(){return Z.getEventListener(this,`onbeforecopy`)}set onbeforecopy(e){this[V].set(`onbeforecopy`,e)}get onbeforecut(){return Z.getEventListener(this,`onbeforecut`)}set onbeforecut(e){this[V].set(`onbeforecut`,e)}get onbeforepaste(){return Z.getEventListener(this,`onbeforepaste`)}set onbeforepaste(e){this[V].set(`onbeforepaste`,e)}get onsearch(){return Z.getEventListener(this,`onsearch`)}set onsearch(e){this[V].set(`onsearch`,e)}get tagName(){return this[w]}get prefix(){return this[Ct]}get shadowRoot(){let e=this[lt];return e&&e[xn]===`open`?e:null}get scrollHeight(){return this[wt]}get scrollWidth(){return this[Tt]}get scrollTop(){return this[Et]}set scrollTop(e){this[Et]=e}get scrollLeft(){return this[Dt]}set scrollLeft(e){this[Dt]=e}get attributes(){return this[kt]||(this[kt]=Pd.createProxy(this[Ot])),this[kt]}get namespaceURI(){return this[T]}get children(){if(!this[ye]){let e=this[Yn];this[ye]=new Ad(N,()=>e)}return this[ye]}get classList(){return this[be]||(this[be]=new kd(N,this,`class`)),this[be]}set classList(e){this.setAttribute(`class`,e)}get id(){return this.getAttribute(`id`)||``}set id(e){this.setAttribute(`id`,e)}get className(){return this.getAttribute(`class`)||``}set className(e){this.setAttribute(`class`,e)}get nodeName(){return this[w]}get localName(){return this[k]}get role(){return this.getAttribute(`role`)||``}set role(e){this.setAttribute(`role`,e)}get previousElementSibling(){return yd.previousElementSibling(this)}get nextElementSibling(){return yd.nextElementSibling(this)}get textContent(){let e=``;for(let t of this[j])(t[C]===U.elementNode||t[C]===U.textNode)&&(e+=t.textContent);return e}set textContent(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);e&&this.appendChild(this[g].createTextNode(e))}get innerHTML(){return this.getHTML()}set innerHTML(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);new wf(this[b]).parse(e,this)}get outerHTML(){return new hf().serializeToString(this)}set outerHTML(e){let t=new wf(this[b]).parse(e)[j];this.replaceWith(...t)}get childElementCount(){return this[Yn].length}get firstElementChild(){return this[Yn][0]??null}get lastElementChild(){let e=this[Yn];return e[e.length-1]??null}get slot(){return this.getAttributeNS(null,`slot`)||``}set slot(e){this.setAttribute(`slot`,e)}getInnerHTML(e){let t=new hf({allShadowRoots:!!e?.includeShadowRoots}),n=``;for(let e of this[j])n+=t.serializeToString(e);return n}getHTML(e){let t=new hf({serializableShadowRoots:!!e?.serializableShadowRoots,shadowRoots:e?.shadowRoots??null}),n=``;for(let e of this[j])n+=t.serializeToString(e);return n}[Nn](e=!1){let t=super[Nn](e);t[w]=this[w],t[k]=this[k],t[T]=this[T],this[lt]?.[gr]&&(t[lt]=this[lt].cloneNode(e),t[lt][Sn]=t),t[Ot]=new Nd(t);for(let n of this[Ot][A].values())t[Ot].setNamedItem(n.cloneNode(e));return t}remove(){bd.remove(this)}replaceWith(...e){bd.replaceWith(this,...e)}before(...e){bd.before(this,...e)}after(...e){bd.after(this,...e)}append(...e){jd.append(this,...e)}prepend(...e){jd.prepend(this,...e)}replaceChildren(...e){jd.replaceChildren(this,...e)}insertAdjacentElement(e,t){if(e===`beforebegin`){if(!this.parentElement)return null;this.parentElement.insertBefore(t,this)}else if(e===`afterbegin`)this.insertBefore(t,this.firstChild);else if(e===`beforeend`)this.appendChild(t);else if(e===`afterend`){if(!this.parentElement)return null;this.parentElement.insertBefore(t,this.nextSibling)}return t}insertAdjacentHTML(e,t){let n=new wf(this[b]).parse(t)[j];for(;n.length;)this.insertAdjacentElement(e,n[0])}insertAdjacentText(e,t){if(!t)return;let n=this[g].createTextNode(t);this.insertAdjacentElement(e,n)}setAttribute(e,t){if(Ef.validateAttributeName(e,this[g][Ee],{method:`setAttribute`,instance:`Element`}),e=String(e),this[T]===Fl.html){let n=this[g].createAttribute(e);n[v]=String(t),this[Ot][or](n)}else{let n=e.split(`:`),r=null;switch(n[0]){case`xmlns`:r=!n[1]||n[1]===`xlink`?Fl.xmlns:null;break;case`xlink`:r=Fl.xlink;break}let i=hd.createNode(this[g],this[b].Attr);i[T]=r,i[E]=e,i[k]=r&&n[1]?n[1]:e,i[Ct]=r&&n[1]?n[0]:null,i[v]=String(t),this[Ot][or](i)}}setAttributeNS(e,t,n){let r=this[g].createAttributeNS(e,t);if(!e&&r[Ct])throw new this[b].DOMException(`Failed to execute 'setAttributeNS' on 'Element': '' is an invalid namespace for attributes.`,H.namespaceError);r[v]=String(n),this[Ot].setNamedItemNS(r)}getAttributeNames(){let e=[];for(let t of this[Ot][A].values())e.push(t[E]);return e}getAttribute(e){let t=this[Ot].getNamedItem(e);return t?t[v]:null}toggleAttribute(e,t){e=e.toLowerCase();let n=this[Ot].getNamedItem(e);return n?t===!0?!0:(this[Ot][Hn](n),!1):t===!1?!1:(this.setAttribute(e,``),!0)}getAttributeNS(e,t){let n=this.getAttributeNodeNS(e,t);return n?n[v]:null}hasAttribute(e){return!!this.getAttributeNode(e)}hasAttributeNS(e,t){return this[Ot].getNamedItemNS(e,t)!==null}hasAttributes(){return this[Ot][A].size>0}removeAttribute(e){let t=this[Ot].getNamedItem(e);t&&this[Ot][Hn](t)}removeAttributeNS(e,t){let n=this[Ot].getNamedItemNS(e,t);n&&this[Ot][Hn](n)}attachShadow(e){let t=this[b];if(!e)throw new t.TypeError(`Failed to execute 'attachShadow' on 'Element': 1 argument required, but only 0 present.`);if(!e.mode)throw new t.TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': Required member is undefined.`);if(e.mode!==`open`&&e.mode!==`closed`)throw new t.TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': The provided value '${e.mode}' is not a valid enum value of type ShadowRootMode.`);if(this[lt])throw new t.DOMException(`Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.`);let n=hd.createNode(this[g],this[b].ShadowRoot);return this[lt]=n,n[Sn]=this,n[xn]=e.mode,n[gr]=!!e.clonable,n[_r]=!!e.delegateFocus,n[vr]=!!e.serializable,n[yr]=e.slotAssignment===`manual`?`manual`:`named`,n[xe](),this[lt]}toString(){return this.outerHTML}getBoundingClientRect(){return new Dd}getClientRects(){let e=new Md(N);return e.push(this.getBoundingClientRect()),e}setPointerCapture(e){this[xt].add(e)}hasPointerCapture(e){return this[xt].has(e)}releasePointerCapture(e){this[xt].delete(e)}matches(e){return!!J.matches(this,e)}closest(e){let t=this;for(;t;){if(J.matches(t,e))return t;t=t.parentElement}return null}querySelectorAll(e){return J.querySelectorAll(this,e)}querySelector(e){return J.querySelector(this,e)}getElementsByClassName(e){return jd.getElementsByClassName(this,e)}getElementsByTagName(e){return jd.getElementsByTagName(this,e)}getElementsByTagNameNS(e,t){return jd.getElementsByTagNameNS(this,e,t)}setAttributeNode(e){return this[Ot].setNamedItem(e)}setAttributeNodeNS(e){return this[Ot].setNamedItemNS(e)}getAttributeNode(e){return this[Ot].getNamedItem(e)}getAttributeNodeNS(e,t){return this[Ot].getNamedItemNS(e,t)}removeAttributeNode(e){if(e[Ze]!==this)throw new this[b].DOMException(`Failed to execute 'removeAttributeNode' on 'Element': The node provided is owned by another element.`);return this[Ot][Hn](e),e}scroll(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this[b].TypeError(`Failed to execute 'scroll' on 'Element': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};if(n.behavior===`smooth`)this[b].setTimeout(()=>{if(n.top!==void 0){let e=Number(n.top);this.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.scrollLeft=isNaN(e)?0:e}});else{if(n.top!==void 0){let e=Number(n.top);this.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.scrollLeft=isNaN(e)?0:e}}}scrollTo(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this[b].TypeError(`Failed to execute 'scrollTo' on 'Element': The provided value is not of type 'ScrollToOptions'.`);this.scroll(e,t)}scrollBy(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this[b].TypeError(`Failed to execute 'scrollBy' on 'Element': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};this.scroll({left:this.scrollLeft+(n.left??0),top:this.scrollTop+(n.top??0),behavior:n.behavior})}scrollIntoView(e){}[Pn](e,t=!1){let n=super[Pn](e,t);return this.#n(e),n}[Fn](e){let t=super[Fn](e);return this.#n(e),t}[In](e,t,n=!1){let r=super[In](e,t,n);return this.#n(e),r}[qn](e,t){if(!e[E])return;let n=t?t[v]:null;if(e[E]===`slot`&&this[S]&&this[S][lt]){let r=this[S][lt];if(r&&e[v]!==n){if(n!==null&&t){let e=r.querySelector(`slot[name="${t[v]}"]`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}else{let e=r.querySelector(`slot:not([name])`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}let i=r.querySelector(`slot[name="${e[v]}"]`);i&&i.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}}this[e[E]]!==void 0&&e[E][0]===`o`&&e[E][1]===`n`&&this[V].delete(e[E]),e[E]===`id`&&this[x]&&(t?.[v]&&this.#t(t[v]),this.#e(e[v])),this[mt](new td({type:md.attributes,target:this,attributeName:e[E],oldValue:n}))}[Jn](e){if(e[E]===`slot`&&this[S]&&this[S][lt]){let t=this[S][lt],n=t.querySelector(`slot[name="${e[v]}"]`),r=t.querySelector(`slot:not([name])`);n&&n.dispatchEvent(new W(`slotchange`,{bubbles:!0})),r&&r.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}e[E]===`id`&&this[x]&&this.#t(e[v]),this[mt](new td({type:md.attributes,target:this,attributeName:e[E],oldValue:e[v]}))}[Ce](){let e=this.getAttribute(`id`);if(e&&this.#e(e),super[Ce](),this[b][Do].enqueueReaction(this,`connectedCallback`),this[lt])for(let e of this[j])this.#n(e)}[we](){super[we]();let e=this.getAttribute(`id`);e&&this.#t(e),this[b][Do].enqueueReaction(this,`disconnectedCallback`)}[Me](){let e=this.getAttribute(`id`);e&&this.#t(e),this[b][Do].enqueueReaction(this,`disconnectedCallback`),super[Me](),this[lt]&&this[lt][Me](),this[be]=null,this[lt]=null,this[kt]=null,this[ye]=null,this[er]=null,this[V].clear(),this[Ot][ir].clear(),this[Ot][qe].clear(),this[Ot][A].clear()}#e(e){if(!e)return;let t=this[g],n=this[b];if(this[it]&&this[it]!==t)return;t[hr].has(e)||t[hr].set(e,{elements:[],htmlCollection:null});let r=t[hr].get(e);if(!r)return;let i=this[ar]||this;r.elements.push(i),r.elements.length>1?(r.htmlCollection||=new Ad(N,()=>r.elements),(!(e in n)||n[e]===r.elements[0])&&(n[e]=r.htmlCollection)):(!(e in n)||r.htmlCollection!==null&&n[e]===r.htmlCollection)&&(n[e]=i)}#t(e){if(!e)return;let t=this[g],n=this[b];if(this[it]&&this[it]!==t)return;let r=t[hr].get(e);if(!r)return;let i=this[ar]||this,a=r.elements.indexOf(i);a!==-1&&r.elements.splice(a,1),r.elements.length===1?(n[e]===r.htmlCollection&&(n[e]=r.elements[0]),r.htmlCollection=null):r.elements.length||(t[hr].delete(e),(n[e]===i||n[e]===r.htmlCollection)&&delete n[e])}#n(e){let t=this[lt];if(!t||!this[x])return;let n=e.getAttribute?e.getAttribute(`slot`):null;if(n){let e=t.querySelector(`slot[name="${n}"]`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}else if(e[C]!==U.commentNode){let e=t.querySelector(`slot:not([name])`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}}},Of=class{static blur(e){let t=e[ar]||e,n=t[g];if(n[de]!==t||!t[x]||t.disabled)return;let r=n[Je]??null;n[de]=null,n[Kn](),t.dispatchEvent(new nu(`blur`,{relatedTarget:r,bubbles:!1,composed:!0,cancelable:!0})),t.dispatchEvent(new nu(`focusout`,{relatedTarget:r,bubbles:!0,composed:!0,cancelable:!0}))}static focus(e){let t=e[ar]||e,n=t[g];if(n[de]===t||!t[x]||t.disabled||this.isInert(t))return;n[Je]=t;let r=n[de];n[de]!==null&&n[de].blur(),n[Je]=null,n[de]=t,n[Kn](),t.dispatchEvent(new nu(`focus`,{relatedTarget:r,bubbles:!1,composed:!0})),t.dispatchEvent(new nu(`focusin`,{relatedTarget:r,bubbles:!0,composed:!0}))}static isInert(e){let t=e[ar]||e;for(;t&&typeof t.getAttribute==`function`;){if(t.getAttribute(`inert`)!==null)return!0;t=t[S]}return!1}},kf=class{static kebabToCamelCase(e){let t=e.split(`-`);for(let e=0,n=t.length;e<n;e++)t[e]=e>0?t[e].charAt(0).toUpperCase()+t[e].slice(1):t[e];return t.join(``)}static camelCaseToKebab(e){return e.toString().replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?`-`:``)+e.toLowerCase())}},Af=class{constructor(e,t){if(e!==N)throw TypeError(`Illegal constructor`);return new Proxy(this,{get(e,n){let r=t.getAttribute(`data-`+kf.camelCaseToKebab(n));if(r!==null)return r},set(e,n,r){return t.setAttribute(`data-`+kf.camelCaseToKebab(n),r),!0},deleteProperty(e,n){return t.removeAttribute(`data-`+kf.camelCaseToKebab(n)),!0},ownKeys(e){let n=[];for(let e of t[Ot][qe].values())e[0][E].startsWith(`data-`)&&n.push(kf.kebabToCamelCase(e[0][E].replace(`data-`,``)));return n},has(e,n){return t.hasAttribute(`data-`+kf.camelCaseToKebab(n))},defineProperty(e,n,r){return r.value===void 0?!1:(t.setAttribute(`data-`+kf.camelCaseToKebab(n),r.value),!0)},getOwnPropertyDescriptor(e,n){let r=t.getAttribute(`data-`+kf.camelCaseToKebab(n));if(r)return{value:r,writable:!0,enumerable:!0,configurable:!0}}})}},Q=class extends Df{static observedAttributes;[At]=``;[jt]=0;[Mt]=0;[Nt]=0;[Pt]=0;[Ft]=0;[It]=0;[Lt]=0;[Rt]=0;[ut]=null;[rr]=null;#e=null;get oncancel(){return Z.getEventListener(this,`oncancel`)}set oncancel(e){this[V].set(`oncancel`,e)}get onerror(){return Z.getEventListener(this,`onerror`)}set onerror(e){this[V].set(`onerror`,e)}get onscroll(){return Z.getEventListener(this,`onscroll`)}set onscroll(e){this[V].set(`onscroll`,e)}get onselect(){return Z.getEventListener(this,`onselect`)}set onselect(e){this[V].set(`onselect`,e)}get onwheel(){return Z.getEventListener(this,`onwheel`)}set onwheel(e){this[V].set(`onwheel`,e)}get oncopy(){return Z.getEventListener(this,`oncopy`)}set oncopy(e){this[V].set(`oncopy`,e)}get oncut(){return Z.getEventListener(this,`oncut`)}set oncut(e){this[V].set(`oncut`,e)}get onpaste(){return Z.getEventListener(this,`onpaste`)}set onpaste(e){this[V].set(`onpaste`,e)}get oncompositionend(){return Z.getEventListener(this,`oncompositionend`)}set oncompositionend(e){this[V].set(`oncompositionend`,e)}get oncompositionstart(){return Z.getEventListener(this,`oncompositionstart`)}set oncompositionstart(e){this[V].set(`oncompositionstart`,e)}get oncompositionupdate(){return Z.getEventListener(this,`oncompositionupdate`)}set oncompositionupdate(e){this[V].set(`oncompositionupdate`,e)}get onblur(){return Z.getEventListener(this,`onblur`)}set onblur(e){this[V].set(`onblur`,e)}get onfocus(){return Z.getEventListener(this,`onfocus`)}set onfocus(e){this[V].set(`onfocus`,e)}get onfocusin(){return Z.getEventListener(this,`onfocusin`)}set onfocusin(e){this[V].set(`onfocusin`,e)}get onfocusout(){return Z.getEventListener(this,`onfocusout`)}set onfocusout(e){this[V].set(`onfocusout`,e)}get onkeydown(){return Z.getEventListener(this,`onkeydown`)}set onkeydown(e){this[V].set(`onkeydown`,e)}get onkeyup(){return Z.getEventListener(this,`onkeyup`)}set onkeyup(e){this[V].set(`onkeyup`,e)}get onauxclick(){return Z.getEventListener(this,`onauxclick`)}set onauxclick(e){this[V].set(`onauxclick`,e)}get onclick(){return Z.getEventListener(this,`onclick`)}set onclick(e){this[V].set(`onclick`,e)}get oncontextmenu(){return Z.getEventListener(this,`oncontextmenu`)}set oncontextmenu(e){this[V].set(`oncontextmenu`,e)}get ondblclick(){return Z.getEventListener(this,`ondblclick`)}set ondblclick(e){this[V].set(`ondblclick`,e)}get onmousedown(){return Z.getEventListener(this,`onmousedown`)}set onmousedown(e){this[V].set(`onmousedown`,e)}get onmouseenter(){return Z.getEventListener(this,`onmouseenter`)}set onmouseenter(e){this[V].set(`onmouseenter`,e)}get onmouseleave(){return Z.getEventListener(this,`onmouseleave`)}set onmouseleave(e){this[V].set(`onmouseleave`,e)}get onmousemove(){return Z.getEventListener(this,`onmousemove`)}set onmousemove(e){this[V].set(`onmousemove`,e)}get onmouseout(){return Z.getEventListener(this,`onmouseout`)}set onmouseout(e){this[V].set(`onmouseout`,e)}get onmouseover(){return Z.getEventListener(this,`onmouseover`)}set onmouseover(e){this[V].set(`onmouseover`,e)}get onmouseup(){return Z.getEventListener(this,`onmouseup`)}set onmouseup(e){this[V].set(`onmouseup`,e)}get ontouchcancel(){return Z.getEventListener(this,`ontouchcancel`)}set ontouchcancel(e){this[V].set(`ontouchcancel`,e)}get ontouchend(){return Z.getEventListener(this,`ontouchend`)}set ontouchend(e){this[V].set(`ontouchend`,e)}get ontouchmove(){return Z.getEventListener(this,`ontouchmove`)}set ontouchmove(e){this[V].set(`ontouchmove`,e)}get ontouchstart(){return Z.getEventListener(this,`ontouchstart`)}set ontouchstart(e){this[V].set(`ontouchstart`,e)}get oninvalid(){return Z.getEventListener(this,`oninvalid`)}set oninvalid(e){this[V].set(`oninvalid`,e)}get onanimationcancel(){return Z.getEventListener(this,`onanimationcancel`)}set onanimationcancel(e){this[V].set(`onanimationcancel`,e)}get onanimationend(){return Z.getEventListener(this,`onanimationend`)}set onanimationend(e){this[V].set(`onanimationend`,e)}get onanimationiteration(){return Z.getEventListener(this,`onanimationiteration`)}set onanimationiteration(e){this[V].set(`onanimationiteration`,e)}get onanimationstart(){return Z.getEventListener(this,`onanimationstart`)}set onanimationstart(e){this[V].set(`onanimationstart`,e)}get onbeforeinput(){return Z.getEventListener(this,`onbeforeinput`)}set onbeforeinput(e){this[V].set(`onbeforeinput`,e)}get oninput(){return Z.getEventListener(this,`oninput`)}set oninput(e){this[V].set(`oninput`,e)}get onchange(){return Z.getEventListener(this,`onchange`)}set onchange(e){this[V].set(`onchange`,e)}get ongotpointercapture(){return Z.getEventListener(this,`ongotpointercapture`)}set ongotpointercapture(e){this[V].set(`ongotpointercapture`,e)}get onlostpointercapture(){return Z.getEventListener(this,`onlostpointercapture`)}set onlostpointercapture(e){this[V].set(`onlostpointercapture`,e)}get onpointercancel(){return Z.getEventListener(this,`onpointercancel`)}set onpointercancel(e){this[V].set(`onpointercancel`,e)}get onpointerdown(){return Z.getEventListener(this,`onpointerdown`)}set onpointerdown(e){this[V].set(`onpointerdown`,e)}get onpointerenter(){return Z.getEventListener(this,`onpointerenter`)}set onpointerenter(e){this[V].set(`onpointerenter`,e)}get onpointerleave(){return Z.getEventListener(this,`onpointerleave`)}set onpointerleave(e){this[V].set(`onpointerleave`,e)}get onpointermove(){return Z.getEventListener(this,`onpointermove`)}set onpointermove(e){this[V].set(`onpointermove`,e)}get onpointerout(){return Z.getEventListener(this,`onpointerout`)}set onpointerout(e){this[V].set(`onpointerout`,e)}get onpointerover(){return Z.getEventListener(this,`onpointerover`)}set onpointerover(e){this[V].set(`onpointerover`,e)}get onpointerup(){return Z.getEventListener(this,`onpointerup`)}set onpointerup(e){this[V].set(`onpointerup`,e)}get ontransitioncancel(){return Z.getEventListener(this,`ontransitioncancel`)}set ontransitioncancel(e){this[V].set(`ontransitioncancel`,e)}get ontransitionend(){return Z.getEventListener(this,`ontransitionend`)}set ontransitionend(e){this[V].set(`ontransitionend`,e)}get ontransitionrun(){return Z.getEventListener(this,`ontransitionrun`)}set ontransitionrun(e){this[V].set(`ontransitionrun`,e)}get ontransitionstart(){return Z.getEventListener(this,`ontransitionstart`)}set ontransitionstart(e){this[V].set(`ontransitionstart`,e)}get accessKey(){return this[At]}set accessKey(e){this[At]=e}get contentEditable(){let e=String(this.getAttribute(`contentEditable`)).toLowerCase();switch(e){case`false`:case`true`:case`plaintext-only`:return e;default:return`inherit`}}set contentEditable(e){switch(e=String(e).toLowerCase(),e){case`false`:case`true`:case`plaintext-only`:case`inherit`:this.setAttribute(`contentEditable`,e);break;default:throw new this[b].SyntaxError(`Failed to set the 'contentEditable' property on 'HTMLElement': The value provided ('${e}') is not one of 'true', 'false', 'plaintext-only', or 'inherit'.`)}}get isContentEditable(){let e=this.contentEditable;return e===`true`||e===`plaintext-only`?!0:e===`inherit`?this[S]?.isContentEditable??!1:!1}get offsetHeight(){return this[jt]}get offsetWidth(){return this[Mt]}get offsetLeft(){return this[Nt]}get offsetTop(){return this[Pt]}get clientHeight(){return this[Ft]}get clientWidth(){return this[It]}get clientLeft(){return this[Lt]}get clientTop(){return this[Rt]}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?-1:t}return-1}set tabIndex(e){let t=Number(e);isNaN(t)?this.setAttribute(`tabindex`,`0`):this.setAttribute(`tabindex`,String(t))}get innerText(){if(!this[x])return this.textContent;let e=``;for(let t of this[j])if(t[C]===U.elementNode){let n=t,r=this[b].getComputedStyle(n);if(n[w]!==`SCRIPT`&&n[w]!==`STYLE`&&n[w]!==`svg`){let t=r.display;if(t!==`none`){let i=r.textTransform,a=n.innerText;(t===`block`||t===`flex`)&&e&&a&&(e+=`
@@ -96,7 +96,7 @@ We should not end up here and it is therefore a bug in Happy DOM. Please report
96
96
  });
97
97
  request.write(Buffer.from('${e.body?e.body.toString(`base64`):``}', 'base64'));
98
98
  request.end();
99
- `}},em=class e{request;redirectCount=0;disableCache;disableSameOriginPolicy;interceptor;requestHeaders;#e;#t;#n=null;constructor(e){this.#e=e.browserFrame,this.#t=e.window,this.#n=e.unfilteredHeaders??null,this.request=typeof e.url==`string`||e.url instanceof mu?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Ee]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??this.#e.page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=this.#e.page.context.browser.settings.fetch.interceptor,this.requestHeaders=this.#e.page.context.browser.settings.fetch.requestHeaders}send(){if(_u.prepareRequest(new mu(this.#t.location.href),this.request),this.requestHeaders){for(let e of this.requestHeaders)if(!e.url||(typeof e.url==`string`?e.url.startsWith(this.request.url):this.request.url.match(e.url)))for(let[t,n]of Object.entries(e.headers))this.request.headers.set(t,n)}if(this.interceptor?.beforeSyncRequest){let e=this.interceptor.beforeSyncRequest({request:this.request,window:this.#t});if(typeof e==`object`)return e}if(Mu.validateSchema(this.request),this.request.signal[Xr])throw this.request.signal[Vo]===void 0?new this.#t.DOMException(`signal is aborted without reason`,H.abortError):this.request.signal[Vo];if(this.request[gt].protocol===`data:`){let e=vu.parse(this.request.url),t={status:200,statusText:`OK`,ok:!0,url:this.request.url,redirected:!1,headers:new this.#t.Headers({"Content-Type":e.type}),body:e.buffer,[$o]:null},n=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:t,request:this.request}):void 0;return typeof n==`object`?n:t}if(this.request[gt].protocol===`http:`&&this.#t.location.protocol===`https:`)throw new this.#t.DOMException(`Mixed Content: The page at '${this.#t.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,H.securityError);let e=this.getCachedResponse();if(e)return e;let t=this.getVirtualServerResponse();if(t)return t;if(!this.compliesWithCrossOriginPolicy())throw this.#t.console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new this.#t.DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,H.networkError);return this.sendRequest()}getCachedResponse(){if(this.disableCache)return null;let t=this.#e.page.context.responseCache.get(this.request);if(!t||t.response.waitingForBody)return null;if(t.state===hs.stale){let n=new this.#t.Headers(t.request.headers);if(t.etag)n.set(`If-None-Match`,t.etag);else{if(!t.lastModified)return null;n.set(`If-Modified-Since`,new Date(t.lastModified).toUTCString())}if(t.etag||!t.staleWhileRevalidate){let r=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send(),i=r.status===304?null:r.body;if(t=this.#e.page.context.responseCache.add(this.request,{...r,body:i,waitingForBody:!1}),r.status!==304)return r}else new qu({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send().then(e=>{e.buffer().then(t=>{this.#e.page.context.responseCache.add(this.request,{...e,body:t,waitingForBody:!1})})})}return!t||t.response.waitingForBody?null:{status:t.response.status,statusText:t.response.statusText,ok:!0,url:t.response.url,redirected:!1,headers:t.response.headers,body:t.response.body,[$o]:t.response[$o]||null}}getVirtualServerResponse(){let e=Wu.getFilepath(this.#t,this.request.url);if(!e)return null;if(this.request.method!==`GET`){this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundSyncResponse(this.#t,this.request.url),t=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:e,request:this.request}):void 0;return typeof t==`object`?t:e}let t;try{e=d.statSync(e).isDirectory()?f.join(e,`index.html`):e,t=d.readFileSync(e)}catch{this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundSyncResponse(this.#t,this.request.url),t=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:e,request:this.request}):void 0;return typeof t==`object`?t:e}let n={status:200,statusText:``,ok:!0,url:this.request.url,redirected:!1,headers:new this.#t.Headers,body:t,[$o]:e},r=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:n,request:this.request}):void 0,i=typeof r==`object`?r:n;return this.#e.page.context.responseCache.add(this.request,{...i,waitingForBody:!1,virtual:!0}),i}compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!yu.isCORS(this.#t.location.href,this.request[gt]))return!0;let t=this.#e.page.context.preflightResponseCache.get(this.request);if(t)return!(t.allowOrigin!==`*`&&t.allowOrigin!==this.#t.location.origin||t.allowMethods.length!==0&&!t.allowMethods.includes(this.request.method));let n=[];for(let[e]of this.request.headers)n.push(e.toLowerCase());let r=new this.#t.Headers({"Access-Control-Request-Method":this.request.method,Origin:this.#t.location.origin});n.length>0&&r.set(`Access-Control-Request-Headers`,n.slice().sort().join(`,`));let i=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{method:`OPTIONS`},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let a=i.headers.get(`Access-Control-Allow-Origin`);if(!a||a!==`*`&&a!==this.#t.location.origin)return!1;let o=[];if(i.headers.has(`Access-Control-Allow-Methods`)){let e=i.headers.get(`Access-Control-Allow-Methods`);if(e!==`*`)for(let t of e.split(`,`))o.push(t.trim().toUpperCase())}return!(o.length!==0&&!o.includes(this.request.method))}sendRequest(){if(!this.request[pe]&&this.request.body)throw new this.#t.DOMException(`Streams are not supported as request body for synchronous requests.`,H.notSupportedError);let e=$p.getScript({url:this.request[gt],method:this.request.method,headers:Fu.getRequestHeaders({browserFrame:this.#e,window:this.#t,request:this.request,baseHeaders:this.#n}),disableStrictSSL:this.#e.page.context.browser.settings.fetch.disableStrictSSL,body:this.request[pe]}),t=te.execFileSync(process.argv[0],[`-e`,e],{encoding:`buffer`,maxBuffer:1024*1024*1024});if(!t.length)throw new this.#t.DOMException(`Synchronous fetch to "${this.request.url}" failed.`,H.networkError);let{error:n,incomingMessage:r}=JSON.parse(t.toString());if(n)throw new this.#t.DOMException(`Synchronous fetch to "${this.request.url}" failed. Error: ${n}`,H.networkError);let i=Vu.parseResponseHeaders({browserFrame:this.#e,requestURL:this.request[gt],rawHeaders:r.rawHeaders}),a={status:r.statusCode,statusText:r.statusMessage,ok:r.statusCode>=200&&r.statusCode<300,url:this.request.url,redirected:this.redirectCount>0,headers:i,body:this.parseIResponseBody({headers:i,status:r.statusCode,body:Buffer.from(r.data,`base64`)})},o=this.handleRedirectResponse(a)||a;!this.disableCache&&!o.redirected&&this.#e.page.context.responseCache.add(this.request,{status:o.status,statusText:o.statusText,url:o.url,headers:o.headers,body:o.body,waitingForBody:!1});let s=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:o,request:this.request}):void 0,c=typeof s==`object`?s:o;return c.ok||this.#e.page.console.error(`${this.request.method} ${this.request.url} ${c.status} (${c.statusText})`),c}parseIResponseBody(e){let t=e.headers.get(`Content-Encoding`);if(this.request.method===`HEAD`||t===null||e.status===204||e.status===304)return e.body;try{if(t===`gzip`||t===`x-gzip`)return l.gunzipSync(e.body,{flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH});if(t===`deflate`||t===`x-deflate`)return l.inflateSync(e.body);if(t===`br`)return l.brotliDecompressSync(e.body)}catch(e){throw new this.#t.DOMException(`Failed to read response body. Error: ${e.message}.`,H.encodingError)}return e.body}handleRedirectResponse(t){if(!Bu.isRedirect(t.status))return null;switch(this.request.redirect){case`error`:throw new this.#t.DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,H.abortError);case`manual`:return null;case`follow`:let n=t.headers.get(`Location`),r=t.status===303||(t.status===301||t.status===302)&&this.request.method===`POST`,i=null;if(n!==null)try{i=new mu(n,this.request.url)}catch{throw new this.#t.DOMException(`URI requested responds with an invalid redirect URL: ${n}`,H.uriMismatchError)}if(i===null)return null;if(Bu.isMaxRedirectsReached(this.redirectCount))throw new this.#t.DOMException(`Maximum redirects reached at: ${this.request.url}`,H.networkError);let a=new this.#t.Headers(this.request.headers),o={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:a,body:this.request[pe]};(this.request.credentials===`omit`||this.request.credentials===`same-origin`&&yu.isCORS(this.#t.location.href,i))&&(a.delete(`cookie`),a.delete(`cookie2`)),r&&(o.method=`GET`,o.body=void 0,a.delete(`Content-Length`),a.delete(`Content-Type`));let s=_u.getReferrerPolicyFromHeader(a);return s&&(o.referrerPolicy=s),new e({browserFrame:this.#e,window:this.#t,url:i,init:o,redirectCount:this.redirectCount+1,contentType:r?null:this.request[Ee]}).send();default:throw new this.#t.DOMException(`Redirect option '${this.request.redirect}' is not a valid value of TRequestRedirect`)}}},tm=class{window;constructor(e){this.window=e}async fetch(e,t,n){let r=new Y(this.window).getBrowserFrame();if(!r)return{content:``,virtualServerFile:null};if(t===`script`||t===`style`){let r=Gu.getKey({url:String(e),destination:t,mode:`cors`,credentialsMode:n?.credentials||`same-origin`}),i=this.window.document[Ao].get(r);if(i){this.window.document[Ao].delete(r);let t=i.response||await i.onResponseAvailable();if(t&&!t.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.response?.status||`0`} ${i.response?.statusText||`Unknown`}.`);return{content:i.response?.[me]?.toString()||``,virtualServerFile:i.response?.[$o]||null}}}let i=await new qu({browserFrame:r,window:this.window,url:e,disableSameOriginPolicy:t===`script`||t===`style`,disablePreload:!0,init:{credentials:n?.credentials,referrerPolicy:n?.referrerPolicy}}).send();if(!i.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.status} ${i.statusText}.`);return{content:await i.text(),virtualServerFile:i[$o]||null}}fetchSync(e,t,n){let r=new Y(this.window).getBrowserFrame();if(!r)return{content:``,virtualServerFile:null};if(t===`script`||t===`style`){let r=Gu.getKey({url:String(e),destination:t,mode:`cors`,credentialsMode:n?.credentials||`same-origin`}),i=this.window.document[Ao].get(r);if(i&&i.response){if(this.window.document[Ao].delete(r),!i.response.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.response.status} ${i.response.statusText}.`);return{content:i.response?.[me]?.toString()||``,virtualServerFile:i.response?.[$o]||null}}}let i=new em({browserFrame:r,window:this.window,url:e,disableSameOriginPolicy:!0,init:{credentials:n?.credentials,referrerPolicy:n?.referrerPolicy}}).send();if(!i.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.status} ${i.statusText}.`);return{content:i.body?.toString()||``,virtualServerFile:i[$o]||null}}},nm=class{url;#e;#t;#n=null;constructor(e){this.#e=e.window,this.url=e.url,this.#t=e.source}async evaluate(){if(this.#n)return this.#n;let e=new this.#e.CSSStyleSheet;return e.replaceSync(this.#t),this.#n={default:e},this.#n}async preload(){await this.evaluate()}},rm=class{url;#e;#t;#n=null;constructor(e){this.#e=e.window,this.url=e.url,this.#t=e.source}async evaluate(){if(this.#n)return this.#n;let e;try{e=JSON.parse(this.#t)}catch(e){throw new this.#e.TypeError(`Failed to parse module "${this.url.href}": ${e.message}`)}return this.#n={default:e},this.#n}async preload(){await this.evaluate()}},im=class{url;#e;#t=[];#n=null;constructor(e){this.#e=e.window,this.url=e.url}async evaluate(){throw new this.#e.TypeError(`Unresolved module. We should never end up here.`)}async preload(){throw new this.#e.TypeError(`Unresolved module. We should never end up here.`)}addResolveListener(e,t){if(this.#n){t(this.#n);return}this.#t.push({resolve:e,reject:t})}resolve(e){e&&(this.#n=e);for(let t of this.#t)e?t.reject(e):t.resolve(null)}};const am=[`module`,`main`],om=[`.js`,`.mjs`];var sm=class{static nodeModuleResolveCache=new Map;static packageJsonCache=new Map;static getURL(e,t,n){let r=typeof t==`string`?t:t.href,i=e[Ro],a=this.resolveURL(e,r,n);if(!i)return new p(a,r);if(i.scopes.length){for(let e of i.scopes)if(r.includes(e.scope)){for(let t of e.rules)if(a.startsWith(t.from))return new p(t.to+a.replace(t.from,``),r)}}if(i.imports.length){for(let e of i.imports)if(a.startsWith(e.from))return new p(e.to+a.replace(e.from,``),r)}return new p(a,r)}static clearCache(){this.nodeModuleResolveCache.clear(),this.packageJsonCache.clear()}static resolveURL(e,t,n){let r=new Y(e).getSettings();if(!r)return n;let i=n;return r.module.resolveNodeModules&&(i=this.resolveNodeModuleURL(r.module.resolveNodeModules,n)),r.module.urlResolver&&(i=r.module.urlResolver({url:i,parentURL:t,window:e})),i}static resolveNodeModuleURL(e,t){if(t[0]===`.`||t[0]===`/`||t.startsWith(`http://`)||t.startsWith(`https://`))return t;let n=e.url[e.url.length-1]===`/`?``:`/`,r=`${e.url}${n}`,i=f.resolve(e.directory),a=t.split(`/`),o=this.nodeModuleResolveCache.get(t);if(o)return o;let s=t[0]===`@`?`${a[0]}/${a[1]}`:a[0],c=this.packageJsonCache.get(s);if(!c)try{c=JSON.parse(d.readFileSync(f.join(i,s,`package.json`),`utf-8`)),this.packageJsonCache.set(s,c)}catch{return t}if(t[0]===`@`&&a.length===2||a.length===1){if(c.exports?.[`.`]?.import){let e=`${r}${s}/${c.exports[`.`].import.replace(`./`,``)}`;return this.nodeModuleResolveCache.set(t,e),e}let n=e.mainFields||am;for(let e of n)if(c[e]&&d.existsSync(f.join(i,s,c[e]))){let n=`${r}${t}/${c[e]}`;return this.nodeModuleResolveCache.set(t,n),n}return t}let l=a.slice(t[0]===`@`?2:1).join(`/`);if(c.exports)for(let e of Object.keys(c.exports)){let n=Array.isArray(c.exports[e].import)?c.exports[e].import[0]:c.exports[e].import;if(n){let i=RegExp(`^${e.replace(`./`,``).replace(/\./g,`\\.`).replace(/\*/g,`(.*)`)}$`),a=l.match(i);if(a){let e=`${r}${s}/${n.replace(`./`,``).replace(`*`,a[1])}`;return this.nodeModuleResolveCache.set(t,e),e}}}if(!t.endsWith(`.js`)&&!t.endsWith(`.mjs`)){for(let e of om)if(d.existsSync(f.join(i,`${t}${e}`))){let n=`${r}${t}${e}`;return this.nodeModuleResolveCache.set(t,n),n}}else if(d.existsSync(f.join(i,t))){let e=`${r}${t}`;return this.nodeModuleResolveCache.set(t,e),e}return t}};const cm=/import\.meta\.([a-zA-Z]+)|import\s*["']([^"']+)["'];{0,1}|import\s*\(([^)]+)\)|(import[\s{])|[\s}]from\s*["']([^"']+)["'](\s+with\s*{\s*type\s*:\s*["']([^"']+)["']\s*}){0,1}([;\s]*)|export(\s+[a-zA-Z0-9-_$]+\s+|\s+\*\s+|\s+\*\s+as\s+["'a-zA-Z0-9-_$]+\s+|\s*{[^}]+}\s*)from\s*["']([^"']+)["']|export\s*(default\s+){0,1}(async\s+){0,1}(function\*{0,1}|class)\s*([^({\s]+)|(export\s*default\s*)|export\s*{([^}]+)}|export\s+(var|let|const)\s+([^=;]+)(=|;)/gm,lm=/(\/)|(\(|\))|({|})|(\[|\])|(\${)|(`)|(')|(")|(\n)/gm,um=/{([^}]+)}|\*\s+as\s+([a-zA-Z0-9-_$]+)|([a-zA-Z0-9-_$]+)/gm,dm=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/,fm=/['"`(){}\s;=><\[\]+-,:&]/,pm=/['"`({};=><\[+-,:&]/,mm=/\/\*|\*\//gm,hm=/export\s*/,gm=/export\s*default\s*/,_m=/;\s*$/;var vm=class{window;debug=!1;count={comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0};debugCount={comment:[],singleLineComment:[],parentheses:[],curlyBraces:[],squareBrackets:[],regExp:[],regExpSquareBrackets:[],escapeTemplateString:[],simpleString:[],doubleString:[]};templateString=[];constructor(e){this.window=e}compile(e,t,n=null){let r=new Y(this.window).getBrowserContext();if(!r)return{imports:[],execute:async()=>{}};let i=r.browser.settings;if(!i.module.disableCache&&n){let t=r[as].get(e);if(t)return{imports:t.imports,execute:this.window[Fe](t.code,{filename:n})}}this.reset();let a=new RegExp(cm),o=[],s=[],c=this.count,l=``,u=``,d=``,f=null,p,ee,te=!0,ne=0,re=-1;for(;f=a.exec(t);){if(p=t[f.index-1]||` `,ee=t.substring(ne,f.index),this.parseSyntax(ee,ne),re===-1&&(l+=ee),te=c.comment===0&&c.singleLineComment===0&&c.parentheses===0&&c.curlyBraces===0&&c.squareBrackets===0&&c.regExp===0&&c.simpleString===0&&c.doubleString===0&&this.templateString.length===0,f[1]&&c.simpleString===0&&c.doubleString===0&&c.comment===0&&c.singleLineComment===0&&c.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&fm.test(this.getNonSpacePrecedingToken(t,f.index)))l+=`$happy_dom.importMeta.${f[1]}`;else if(f[2]&&te&&fm.test(p))o.push({url:sm.getURL(this.window,e,f[2]).href,type:`esm`});else if(f[3]&&c.simpleString===0&&c.doubleString===0&&c.comment===0&&c.singleLineComment===0&&c.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&fm.test(p))l+=`$happy_dom.dynamicImport(${f[3]})`;else if(f[4]&&te&&fm.test(p)){if(re!==-1)throw new this.window.TypeError(`Failed to parse module: Unexpected import statement in "${e}"`);re=f.index+f[0].length-1}else if(f[5]&&te&&re!==-1){let n=sm.getURL(this.window,e,f[5]).href,r=t.substring(re,f.index+1),i=new RegExp(um),a=null;for(;a=i.exec(r);)if(a[1]){let e=this.removeMultilineComments(a[1]).split(/\s*,\s*/),t=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),r=(e[1]||e[0]).replace(/["']/g,``),i=e[0].replace(/["']/g,``);r&&i&&(i===r?t.push({name:i}):t.push({name:i,alias:r}))}(!f[7]||f[7]===`esm`)&&s.push({url:n,properties:t}),u+=`let {${t.map(e=>e.alias?`"${e.name}": ${e.alias}`:e.name).join(`, `)}} = $happy_dom.imports.get('${n}')${f[8]}`}else a[2]?u+=`const ${a[2]} = $happy_dom.imports.get('${n}')${f[8]}`:a[3]&&((!f[7]||f[7]===`esm`)&&s.push({url:n,properties:[{name:`default`,alias:a[3]}]}),u+=`let ${a[3]} = $happy_dom.imports.get('${n}').default${f[8]}`);re=-1,o.push({url:n,type:f[7]||`esm`})}else if(f[9]&&f[10]&&te&&fm.test(p)){let t=sm.getURL(this.window,e,f[10]).href,n=f[9].trim();if(n===`*`)l+=`Object.assign($happy_dom.exports, $happy_dom.imports.get('${t}'))`,o.push({url:t,type:`esm`});else if(n[0]===`*`){let e=n.split(/\s+as\s+/);if(e.length===2){let n=e[1].replace(/["']/g,``);l+=`$happy_dom.exports['${n}'] = $happy_dom.imports.get('${t}')`,o.push({url:t,type:`esm`})}}else if(n[0]===`{`){let e=this.removeMultilineComments(n).slice(1,-1).split(/\s*,\s*/),r=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),i=(e[1]||e[0]).replace(/["']/g,``),a=e[0].replace(/["']/g,``);i&&a&&r.push(`$happy_dom.exports['${i}'] = $happy_dom.imports.get('${t}')['${a}']`)}l+=r.join(`;
99
+ `}},em=class e{request;redirectCount=0;disableCache;disableSameOriginPolicy;interceptor;requestHeaders;#e;#t;#n=null;constructor(e){this.#e=e.browserFrame,this.#t=e.window,this.#n=e.unfilteredHeaders??null,this.request=typeof e.url==`string`||e.url instanceof mu?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Ee]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??this.#e.page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=this.#e.page.context.browser.settings.fetch.interceptor,this.requestHeaders=this.#e.page.context.browser.settings.fetch.requestHeaders}send(){if(_u.prepareRequest(new mu(this.#t.location.href),this.request),this.requestHeaders){for(let e of this.requestHeaders)if(!e.url||(typeof e.url==`string`?e.url.startsWith(this.request.url):this.request.url.match(e.url)))for(let[t,n]of Object.entries(e.headers))this.request.headers.set(t,n)}if(this.interceptor?.beforeSyncRequest){let e=this.interceptor.beforeSyncRequest({request:this.request,window:this.#t});if(typeof e==`object`)return e}if(Mu.validateSchema(this.request),this.request.signal[Xr])throw this.request.signal[Vo]===void 0?new this.#t.DOMException(`signal is aborted without reason`,H.abortError):this.request.signal[Vo];if(this.request[gt].protocol===`data:`){let e=vu.parse(this.request.url),t={status:200,statusText:`OK`,ok:!0,url:this.request.url,redirected:!1,headers:new this.#t.Headers({"Content-Type":e.type}),body:e.buffer,[$o]:null},n=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:t,request:this.request}):void 0;return typeof n==`object`?n:t}if(this.request[gt].protocol===`http:`&&this.#t.location.protocol===`https:`)throw new this.#t.DOMException(`Mixed Content: The page at '${this.#t.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,H.securityError);let e=this.getCachedResponse();if(e)return e;let t=this.getVirtualServerResponse();if(t)return t;if(!this.compliesWithCrossOriginPolicy())throw this.#t.console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new this.#t.DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,H.networkError);return this.sendRequest()}getCachedResponse(){if(this.disableCache)return null;let t=this.#e.page.context.responseCache.get(this.request);if(!t||t.response.waitingForBody)return null;if(t.state===hs.stale){let n=new this.#t.Headers(t.request.headers);if(t.etag)n.set(`If-None-Match`,t.etag);else{if(!t.lastModified)return null;n.set(`If-Modified-Since`,new Date(t.lastModified).toUTCString())}if(t.etag||!t.staleWhileRevalidate){let r=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send(),i=r.status===304?null:r.body;if(t=this.#e.page.context.responseCache.add(this.request,{...r,body:i,waitingForBody:!1}),r.status!==304)return r}else new qu({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send().then(e=>{e.buffer().then(t=>{this.#e.page.context.responseCache.add(this.request,{...e,body:t,waitingForBody:!1})})})}return!t||t.response.waitingForBody?null:{status:t.response.status,statusText:t.response.statusText,ok:!0,url:t.response.url,redirected:!1,headers:t.response.headers,body:t.response.body,[$o]:t.response[$o]||null}}getVirtualServerResponse(){let e=Wu.getFilepath(this.#t,this.request.url);if(!e)return null;if(this.request.method!==`GET`){this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundSyncResponse(this.#t,this.request.url),t=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:e,request:this.request}):void 0;return typeof t==`object`?t:e}let t;try{e=d.statSync(e).isDirectory()?f.join(e,`index.html`):e,t=d.readFileSync(e)}catch{this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundSyncResponse(this.#t,this.request.url),t=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:e,request:this.request}):void 0;return typeof t==`object`?t:e}let n={status:200,statusText:``,ok:!0,url:this.request.url,redirected:!1,headers:new this.#t.Headers,body:t,[$o]:e},r=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:n,request:this.request}):void 0,i=typeof r==`object`?r:n;return this.#e.page.context.responseCache.add(this.request,{...i,waitingForBody:!1,virtual:!0}),i}compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!yu.isCORS(this.#t.location.href,this.request[gt]))return!0;let t=this.#e.page.context.preflightResponseCache.get(this.request);if(t)return!(t.allowOrigin!==`*`&&t.allowOrigin!==this.#t.location.origin||t.allowMethods.length!==0&&!t.allowMethods.includes(this.request.method));let n=[];for(let[e]of this.request.headers)n.push(e.toLowerCase());let r=new this.#t.Headers({"Access-Control-Request-Method":this.request.method,Origin:this.#t.location.origin});n.length>0&&r.set(`Access-Control-Request-Headers`,n.slice().sort().join(`,`));let i=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{method:`OPTIONS`},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let a=i.headers.get(`Access-Control-Allow-Origin`);if(!a||a!==`*`&&a!==this.#t.location.origin)return!1;let o=[];if(i.headers.has(`Access-Control-Allow-Methods`)){let e=i.headers.get(`Access-Control-Allow-Methods`);if(e!==`*`)for(let t of e.split(`,`))o.push(t.trim().toUpperCase())}return!(o.length!==0&&!o.includes(this.request.method))}sendRequest(){if(!this.request[pe]&&this.request.body)throw new this.#t.DOMException(`Streams are not supported as request body for synchronous requests.`,H.notSupportedError);let e=$p.getScript({url:this.request[gt],method:this.request.method,headers:Fu.getRequestHeaders({browserFrame:this.#e,window:this.#t,request:this.request,baseHeaders:this.#n}),disableStrictSSL:this.#e.page.context.browser.settings.fetch.disableStrictSSL,body:this.request[pe]}),t=re.execFileSync(process.argv[0],[`-e`,e],{encoding:`buffer`,maxBuffer:1024*1024*1024});if(!t.length)throw new this.#t.DOMException(`Synchronous fetch to "${this.request.url}" failed.`,H.networkError);let{error:n,incomingMessage:r}=JSON.parse(t.toString());if(n)throw new this.#t.DOMException(`Synchronous fetch to "${this.request.url}" failed. Error: ${n}`,H.networkError);let i=Vu.parseResponseHeaders({browserFrame:this.#e,requestURL:this.request[gt],rawHeaders:r.rawHeaders}),a={status:r.statusCode,statusText:r.statusMessage,ok:r.statusCode>=200&&r.statusCode<300,url:this.request.url,redirected:this.redirectCount>0,headers:i,body:this.parseIResponseBody({headers:i,status:r.statusCode,body:Buffer.from(r.data,`base64`)})},o=this.handleRedirectResponse(a)||a;!this.disableCache&&!o.redirected&&this.#e.page.context.responseCache.add(this.request,{status:o.status,statusText:o.statusText,url:o.url,headers:o.headers,body:o.body,waitingForBody:!1});let s=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:o,request:this.request}):void 0,c=typeof s==`object`?s:o;return c.ok||this.#e.page.console.error(`${this.request.method} ${this.request.url} ${c.status} (${c.statusText})`),c}parseIResponseBody(e){let t=e.headers.get(`Content-Encoding`);if(this.request.method===`HEAD`||t===null||e.status===204||e.status===304)return e.body;try{if(t===`gzip`||t===`x-gzip`)return l.gunzipSync(e.body,{flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH});if(t===`deflate`||t===`x-deflate`)return l.inflateSync(e.body);if(t===`br`)return l.brotliDecompressSync(e.body)}catch(e){throw new this.#t.DOMException(`Failed to read response body. Error: ${e.message}.`,H.encodingError)}return e.body}handleRedirectResponse(t){if(!Bu.isRedirect(t.status))return null;switch(this.request.redirect){case`error`:throw new this.#t.DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,H.abortError);case`manual`:return null;case`follow`:let n=t.headers.get(`Location`),r=t.status===303||(t.status===301||t.status===302)&&this.request.method===`POST`,i=null;if(n!==null)try{i=new mu(n,this.request.url)}catch{throw new this.#t.DOMException(`URI requested responds with an invalid redirect URL: ${n}`,H.uriMismatchError)}if(i===null)return null;if(Bu.isMaxRedirectsReached(this.redirectCount))throw new this.#t.DOMException(`Maximum redirects reached at: ${this.request.url}`,H.networkError);let a=new this.#t.Headers(this.request.headers),o={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:a,body:this.request[pe]};(this.request.credentials===`omit`||this.request.credentials===`same-origin`&&yu.isCORS(this.#t.location.href,i))&&(a.delete(`cookie`),a.delete(`cookie2`)),r&&(o.method=`GET`,o.body=void 0,a.delete(`Content-Length`),a.delete(`Content-Type`));let s=_u.getReferrerPolicyFromHeader(a);return s&&(o.referrerPolicy=s),new e({browserFrame:this.#e,window:this.#t,url:i,init:o,redirectCount:this.redirectCount+1,contentType:r?null:this.request[Ee]}).send();default:throw new this.#t.DOMException(`Redirect option '${this.request.redirect}' is not a valid value of TRequestRedirect`)}}},tm=class{window;constructor(e){this.window=e}async fetch(e,t,n){let r=new Y(this.window).getBrowserFrame();if(!r)return{content:``,virtualServerFile:null};if(t===`script`||t===`style`){let r=Gu.getKey({url:String(e),destination:t,mode:`cors`,credentialsMode:n?.credentials||`same-origin`}),i=this.window.document[Ao].get(r);if(i){this.window.document[Ao].delete(r);let t=i.response||await i.onResponseAvailable();if(t&&!t.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.response?.status||`0`} ${i.response?.statusText||`Unknown`}.`);return{content:i.response?.[me]?.toString()||``,virtualServerFile:i.response?.[$o]||null}}}let i=await new qu({browserFrame:r,window:this.window,url:e,disableSameOriginPolicy:t===`script`||t===`style`,disablePreload:!0,init:{credentials:n?.credentials,referrerPolicy:n?.referrerPolicy}}).send();if(!i.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.status} ${i.statusText}.`);return{content:await i.text(),virtualServerFile:i[$o]||null}}fetchSync(e,t,n){let r=new Y(this.window).getBrowserFrame();if(!r)return{content:``,virtualServerFile:null};if(t===`script`||t===`style`){let r=Gu.getKey({url:String(e),destination:t,mode:`cors`,credentialsMode:n?.credentials||`same-origin`}),i=this.window.document[Ao].get(r);if(i&&i.response){if(this.window.document[Ao].delete(r),!i.response.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.response.status} ${i.response.statusText}.`);return{content:i.response?.[me]?.toString()||``,virtualServerFile:i.response?.[$o]||null}}}let i=new em({browserFrame:r,window:this.window,url:e,disableSameOriginPolicy:!0,init:{credentials:n?.credentials,referrerPolicy:n?.referrerPolicy}}).send();if(!i.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.status} ${i.statusText}.`);return{content:i.body?.toString()||``,virtualServerFile:i[$o]||null}}},nm=class{url;#e;#t;#n=null;constructor(e){this.#e=e.window,this.url=e.url,this.#t=e.source}async evaluate(){if(this.#n)return this.#n;let e=new this.#e.CSSStyleSheet;return e.replaceSync(this.#t),this.#n={default:e},this.#n}async preload(){await this.evaluate()}},rm=class{url;#e;#t;#n=null;constructor(e){this.#e=e.window,this.url=e.url,this.#t=e.source}async evaluate(){if(this.#n)return this.#n;let e;try{e=JSON.parse(this.#t)}catch(e){throw new this.#e.TypeError(`Failed to parse module "${this.url.href}": ${e.message}`)}return this.#n={default:e},this.#n}async preload(){await this.evaluate()}},im=class{url;#e;#t=[];#n=null;constructor(e){this.#e=e.window,this.url=e.url}async evaluate(){throw new this.#e.TypeError(`Unresolved module. We should never end up here.`)}async preload(){throw new this.#e.TypeError(`Unresolved module. We should never end up here.`)}addResolveListener(e,t){if(this.#n){t(this.#n);return}this.#t.push({resolve:e,reject:t})}resolve(e){e&&(this.#n=e);for(let t of this.#t)e?t.reject(e):t.resolve(null)}};const am=[`module`,`main`],om=[`.js`,`.mjs`];var sm=class{static nodeModuleResolveCache=new Map;static packageJsonCache=new Map;static getURL(e,t,n){let r=typeof t==`string`?t:t.href,i=e[Ro],a=this.resolveURL(e,r,n);if(!i)return new p(a,r);if(i.scopes.length){for(let e of i.scopes)if(r.includes(e.scope)){for(let t of e.rules)if(a.startsWith(t.from))return new p(t.to+a.replace(t.from,``),r)}}if(i.imports.length){for(let e of i.imports)if(a.startsWith(e.from))return new p(e.to+a.replace(e.from,``),r)}return new p(a,r)}static clearCache(){this.nodeModuleResolveCache.clear(),this.packageJsonCache.clear()}static resolveURL(e,t,n){let r=new Y(e).getSettings();if(!r)return n;let i=n;return r.module.resolveNodeModules&&(i=this.resolveNodeModuleURL(r.module.resolveNodeModules,n)),r.module.urlResolver&&(i=r.module.urlResolver({url:i,parentURL:t,window:e})),i}static resolveNodeModuleURL(e,t){if(t[0]===`.`||t[0]===`/`||t.startsWith(`http://`)||t.startsWith(`https://`))return t;let n=e.url[e.url.length-1]===`/`?``:`/`,r=`${e.url}${n}`,i=f.resolve(e.directory),a=t.split(`/`),o=this.nodeModuleResolveCache.get(t);if(o)return o;let s=t[0]===`@`?`${a[0]}/${a[1]}`:a[0],c=this.packageJsonCache.get(s);if(!c)try{c=JSON.parse(d.readFileSync(f.join(i,s,`package.json`),`utf-8`)),this.packageJsonCache.set(s,c)}catch{return t}if(t[0]===`@`&&a.length===2||a.length===1){if(c.exports?.[`.`]?.import){let e=`${r}${s}/${c.exports[`.`].import.replace(`./`,``)}`;return this.nodeModuleResolveCache.set(t,e),e}let n=e.mainFields||am;for(let e of n)if(c[e]&&d.existsSync(f.join(i,s,c[e]))){let n=`${r}${t}/${c[e]}`;return this.nodeModuleResolveCache.set(t,n),n}return t}let l=a.slice(t[0]===`@`?2:1).join(`/`);if(c.exports)for(let e of Object.keys(c.exports)){let n=Array.isArray(c.exports[e].import)?c.exports[e].import[0]:c.exports[e].import;if(n){let i=RegExp(`^${e.replace(`./`,``).replace(/\./g,`\\.`).replace(/\*/g,`(.*)`)}$`),a=l.match(i);if(a){let e=`${r}${s}/${n.replace(`./`,``).replace(`*`,a[1])}`;return this.nodeModuleResolveCache.set(t,e),e}}}if(!t.endsWith(`.js`)&&!t.endsWith(`.mjs`)){for(let e of om)if(d.existsSync(f.join(i,`${t}${e}`))){let n=`${r}${t}${e}`;return this.nodeModuleResolveCache.set(t,n),n}}else if(d.existsSync(f.join(i,t))){let e=`${r}${t}`;return this.nodeModuleResolveCache.set(t,e),e}return t}};const cm=/import\.meta\.([a-zA-Z]+)|import\s*["']([^"']+)["'];{0,1}|import\s*\(([^)]+)\)|(import[\s{])|[\s}]from\s*["']([^"']+)["'](\s+with\s*{\s*type\s*:\s*["']([^"']+)["']\s*}){0,1}([;\s]*)|export(\s+[a-zA-Z0-9-_$]+\s+|\s+\*\s+|\s+\*\s+as\s+["'a-zA-Z0-9-_$]+\s+|\s*{[^}]+}\s*)from\s*["']([^"']+)["']|export\s*(default\s+){0,1}(async\s+){0,1}(function\*{0,1}|class)\s*([^({\s]+)|(export\s*default\s*)|export\s*{([^}]+)}|export\s+(var|let|const)\s+([^=;]+)(=|;)/gm,lm=/(\/)|(\(|\))|({|})|(\[|\])|(\${)|(`)|(')|(")|(\n)/gm,um=/{([^}]+)}|\*\s+as\s+([a-zA-Z0-9-_$]+)|([a-zA-Z0-9-_$]+)/gm,dm=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/,fm=/['"`(){}\s;=><\[\]+-,:&]/,pm=/['"`({};=><\[+-,:&]/,mm=/\/\*|\*\//gm,hm=/export\s*/,gm=/export\s*default\s*/,_m=/;\s*$/;var vm=class{window;debug=!1;count={comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0};debugCount={comment:[],singleLineComment:[],parentheses:[],curlyBraces:[],squareBrackets:[],regExp:[],regExpSquareBrackets:[],escapeTemplateString:[],simpleString:[],doubleString:[]};templateString=[];constructor(e){this.window=e}compile(e,t,n=null){let r=new Y(this.window).getBrowserContext();if(!r)return{imports:[],execute:async()=>{}};let i=r.browser.settings;if(!i.module.disableCache&&n){let t=r[as].get(e);if(t)return{imports:t.imports,execute:this.window[Fe](t.code,{filename:n})}}this.reset();let a=new RegExp(cm),o=[],s=[],c=this.count,l=``,u=``,d=``,f=null,p,ee,te=!0,ne=0,re=-1;for(;f=a.exec(t);){if(p=t[f.index-1]||` `,ee=t.substring(ne,f.index),this.parseSyntax(ee,ne),re===-1&&(l+=ee),te=c.comment===0&&c.singleLineComment===0&&c.parentheses===0&&c.curlyBraces===0&&c.squareBrackets===0&&c.regExp===0&&c.simpleString===0&&c.doubleString===0&&this.templateString.length===0,f[1]&&c.simpleString===0&&c.doubleString===0&&c.comment===0&&c.singleLineComment===0&&c.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&fm.test(this.getNonSpacePrecedingToken(t,f.index)))l+=`$happy_dom.importMeta.${f[1]}`;else if(f[2]&&te&&fm.test(p))o.push({url:sm.getURL(this.window,e,f[2]).href,type:`esm`});else if(f[3]&&c.simpleString===0&&c.doubleString===0&&c.comment===0&&c.singleLineComment===0&&c.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&fm.test(p))l+=`$happy_dom.dynamicImport(${f[3]})`;else if(f[4]&&te&&fm.test(p)){if(re!==-1)throw new this.window.TypeError(`Failed to parse module: Unexpected import statement in "${e}"`);re=f.index+f[0].length-1}else if(f[5]&&te&&re!==-1){let n=sm.getURL(this.window,e,f[5]).href,r=t.substring(re,f.index+1),i=new RegExp(um),a=null;for(;a=i.exec(r);)if(a[1]){let e=this.removeMultilineComments(a[1]).split(/\s*,\s*/),t=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),r=(e[1]||e[0]).replace(/["']/g,``),i=e[0].replace(/["']/g,``);r&&i&&(i===r?t.push({name:i}):t.push({name:i,alias:r}))}(!f[7]||f[7]===`esm`)&&s.push({url:n,properties:t}),u+=`let {${t.map(e=>e.alias?`"${e.name}": ${e.alias}`:e.name).join(`, `)}} = $happy_dom.imports.get('${n}')${f[8]}`}else a[2]?u+=`const ${a[2]} = $happy_dom.imports.get('${n}')${f[8]}`:a[3]&&((!f[7]||f[7]===`esm`)&&s.push({url:n,properties:[{name:`default`,alias:a[3]}]}),u+=`let ${a[3]} = $happy_dom.imports.get('${n}').default${f[8]}`);re=-1,o.push({url:n,type:f[7]||`esm`})}else if(f[9]&&f[10]&&te&&fm.test(p)){let t=sm.getURL(this.window,e,f[10]).href,n=f[9].trim();if(n===`*`)l+=`Object.assign($happy_dom.exports, $happy_dom.imports.get('${t}'))`,o.push({url:t,type:`esm`});else if(n[0]===`*`){let e=n.split(/\s+as\s+/);if(e.length===2){let n=e[1].replace(/["']/g,``);l+=`$happy_dom.exports['${n}'] = $happy_dom.imports.get('${t}')`,o.push({url:t,type:`esm`})}}else if(n[0]===`{`){let e=this.removeMultilineComments(n).slice(1,-1).split(/\s*,\s*/),r=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),i=(e[1]||e[0]).replace(/["']/g,``),a=e[0].replace(/["']/g,``);i&&a&&r.push(`$happy_dom.exports['${i}'] = $happy_dom.imports.get('${t}')['${a}']`)}l+=r.join(`;
100
100
  `),o.push({url:t,type:`esm`})}}else if(f[13]&&f[14]&&te&&fm.test(p)){let t=f[14].replace(`*`,``);if(t)f[11]?(l+=f[0].replace(gm,``),d+=`$happy_dom.exports.default = ${t};\n`):(l+=f[0].replace(hm,``),d+=`$happy_dom.exports['${t}'] = ${t};\n`);else if(f[11])l+=`$happy_dom.exports.default = ${f[12]||``}${f[13]}${t?` `:``}${f[14]}`;else throw new this.window.SyntaxError(`Failed to parse module: Missing function or class name in export statement in "${e}"`)}else if(f[15]&&te&&fm.test(p))l+=`$happy_dom.exports.default = `;else if(f[16]&&te&&fm.test(p)){let e=this.removeMultilineComments(f[16]).split(/\s*,\s*/),t=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),r=(e[1]||e[0]).replace(/["']/g,``),i=e[0].replace(/["']/g,``);r&&i&&dm.test(i)&&t.push(`$happy_dom.exports['${r}'] = ${i}`)}l+=t.join(`;
101
101
  `)}else if(f[17]&&te&&fm.test(p))if(f[19]===`=`){let e=this.removeMultilineComments(f[18]).trim();if(e[0]===`{`&&e[e.length-1]===`}`||e[0]===`[`&&e[e.length-1]===`]`){let t=e.slice(1,-1).split(/\s*,\s*/);for(let e of t){let t=e.trim().split(/\s*:\s*/),n=(t[1]||t[0]).replace(/["']/g,``);n&&(d+=`$happy_dom.exports['${n}'] = ${n};\n`)}l+=f[0].replace(hm,``)}else l+=f[0].replace(hm,``),d+=`$happy_dom.exports['${e}'] = ${e};\n`}else{l+=f[0].replace(hm,``);let e=this.removeMultilineComments(f[18]).split(`,`);for(let t of e){let e=t.trim();d+=`$happy_dom.exports['${e}'] = ${e};\n`}}else if(re!==-1){let e=t.substring(re,f.index+1);l+=e,this.parseSyntax(e,re)}else l+=f[0],this.parseSyntax(f[0],f.index);ne=a.lastIndex}if(this.debug)return{imports:o,execute:async()=>{}};if(u&&!_m.test(u)&&(u=`\n${u};`),u=!i.disableErrorCapturing&&i.errorCapture===Ls.tryAndCatch?`(async function anonymous($happy_dom) { try {`+u:`(async function anonymous($happy_dom) {`+u,l=u+l,ne===0?l+=t:l+=t.substring(ne),l+=`
102
102
  `+d,s.length>0){l+=`$happy_dom.addCircularImportResolver(() => {
@@ -182,7 +182,7 @@ this.Function = globalThis.Function;
182
182
  `,this.errorIndex=this.startTagIndex),this.readState=_g.error,this.removeOverflowingTextNodes();return}}if(this.nextElement[Ct]&&!this.nextElement[T]){this.errorMessage=`Namespace prefix ${this.nextElement[Ct]} on name is not defined\n`,this.errorIndex=this.lastIndex,this.readState=_g.error;return}if(this.currentNode===this.rootNode&&this.rootNode[Yn].length!==0){this.errorMessage=`Extra content at the end of the document
183
183
  `,this.errorIndex=this.lastIndex-this.nextElement[w].length-1,this.readState=_g.error;return}this.currentNode[Pn](this.nextElement,!0),t||(this.currentNode=this.nextElement,this.nodeStack.push(this.currentNode),this.tagNameStack.push(this.nextTagName),this.currentNode[T]&&!this.currentNode[Ct]?this.defaultNamespaceStack.push(this.currentNode[T]):this.defaultNamespaceStack.push(this.defaultNamespaceStack[this.defaultNamespaceStack.length-1])),this.nextElement=null,this.nextTagName=null,this.readState=_g.any,this.startTagIndex=this.markupRegExp.lastIndex}parseEndTag(e){return this.tagNameStack[this.tagNameStack.length-1]===e?(this.nodeStack.pop(),this.tagNameStack.pop(),this.namespacePrefixStack.pop(),this.defaultNamespaceStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,!0):!1}parseError(e,t){let n=this.rootNode.documentElement;if(!n){let e=this.rootNode.createElementNS(Fl.html,`html`),t=this.rootNode.createElementNS(Fl.html,`body`);e.appendChild(t),n=t,this.rootNode[Pn](e,!0)}let r=e.split(`
184
184
  `),i=r[r.length-1].length+1,a=`error on line ${r.length} at column ${i}: ${t||`Unknown error`}`,o=this.rootNode.createElementNS(Fl.html,`parsererror`);o.setAttribute(`style`,`display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black`),o.innerHTML=`<h3>This page contains the following errors:</h3><div style="font-family:monospace;font-size:12px">${a}</div><h3>Below is a rendering of the page up to the first error.</h3>`,n.insertBefore(o,n.firstChild)}removeOverflowingTextNodes(){if(this.currentNode&&this.currentNode!==this.rootNode)for(;this.currentNode.lastChild?.[C]===gd.TEXT_NODE;)this.currentNode.removeChild(this.currentNode.lastChild)}getDocumentType(e){if(!e.toUpperCase().startsWith(`DOCTYPE`))return null;let t=e.split(hg);if(t.length<=1)return null;let n=t.slice(1).join(` `),r=[],i=new RegExp(mg,`gm`),a=n.toUpperCase().includes(`PUBLIC`),o;for(;o=i.exec(n);)r.push(o[1]);let s=a&&r[0]||``,c=a?r[1]||``:r[0]||``;return{name:t[1].toLowerCase(),publicId:s,systemId:c}}},bg=class{parseFromString(e,t){if(!t)throw new this[b].DOMException(`Second parameter "mimeType" is mandatory.`);let n=this[b];switch(t){case`text/html`:let r=new n.HTMLDocument;return r[je]=n,new wf(this[b]).parse(e,r);case`image/svg+xml`:case`text/xml`:case`application/xml`:case`application/xhtml+xml`:return new yg(this[b]).parse(e);default:throw new n.DOMException(`Unknown mime type "${t}".`)}}},xg;(function(e){e[e.endToEnd=2]=`endToEnd`,e[e.endToStart=3]=`endToStart`,e[e.startToEnd=1]=`startToEnd`,e[e.startToStart=0]=`startToStart`})(xg||={});var Sg=xg,Cg=class{static END_TO_END=Sg.endToEnd;static END_TO_START=Sg.endToStart;static START_TO_END=Sg.startToEnd;static START_TO_START=Sg.startToStart;END_TO_END=Sg.endToEnd;END_TO_START=Sg.endToStart;START_TO_END=Sg.startToEnd;START_TO_START=Sg.startToStart;[_];[m];[g];constructor(){let e=this[b];if(!e)throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);this[g]=e.document,this[_]={node:e.document,offset:0},this[m]={node:e.document,offset:0}}get startContainer(){return this[_].node}get endContainer(){return this[m].node}get startOffset(){if(this[_].offset>0){let e=fd.getNodeLength(this[_].node);this[_].offset>e&&(this[_].offset=e)}return this[_].offset}get endOffset(){if(this[m].offset>0){let e=fd.getNodeLength(this[m].node);this[m].offset>e&&(this[m].offset=e)}return this[m].offset}get collapsed(){return this[_].node===this[m].node&&this.startOffset===this.endOffset}get commonAncestorContainer(){let e=this[_].node;for(;e;){if(fd.isInclusiveAncestor(e,this[m].node))return e;e=e[S]}return null}collapse(e=!1){e?this[m]=Object.assign({},this[_]):this[_]=Object.assign({},this[m])}compareBoundaryPoints(e,t){if(e!==Sg.startToStart&&e!==Sg.startToEnd&&e!==Sg.endToEnd&&e!==Sg.endToStart)throw new this[b].DOMException(`The comparison method provided must be one of '${Sg.startToStart}', '${Sg.startToEnd}', '${Sg.endToEnd}' or '${Sg.endToStart}'.`,H.notSupportedError);if(this[g]!==t[g])throw new this[b].DOMException(`The two Ranges are not in the same tree.`,H.wrongDocumentError);let n={node:null,offset:0},r={node:null,offset:0};switch(e){case Sg.startToStart:n.node=this[_].node,n.offset=this.startOffset,r.node=t[_].node,r.offset=t.startOffset;break;case Sg.startToEnd:n.node=this[m].node,n.offset=this.endOffset,r.node=t[_].node,r.offset=t.startOffset;break;case Sg.endToEnd:n.node=this[m].node,n.offset=this.endOffset,r.node=t[m].node,r.offset=t.endOffset;break;case Sg.endToStart:n.node=this[_].node,n.offset=this.startOffset,r.node=t[m].node,r.offset=t.endOffset;break}return Sh.compareBoundaryPointsPosition(n,r)}comparePoint(e,t){if(e[g]!==this[g])throw new this[b].DOMException(`The two Ranges are not in the same tree.`,H.wrongDocumentError);Sh.validateBoundaryPoint({node:e,offset:t});let n={node:e,offset:t};return Sh.compareBoundaryPointsPosition(n,{node:this[_].node,offset:this.startOffset})===-1?-1:+(Sh.compareBoundaryPointsPosition(n,{node:this[m].node,offset:this.endOffset})===1)}cloneContents(){let e=this[b],t=this[g].createDocumentFragment(),n=this.startOffset,r=this.endOffset;if(this.collapsed)return t;if(this[_].node===this[m].node&&(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);return e[Ae]=e.substringData(n,r-n),t.appendChild(e),t}let i=this[_].node;for(;!fd.isInclusiveAncestor(i,this[m].node);)i=i[S];let a=null;if(!fd.isInclusiveAncestor(this[_].node,this[m].node)){let e=i.firstChild;for(;!a;)Sh.isPartiallyContained(e,this)&&(a=e),e=e.nextSibling}let o=null;if(!fd.isInclusiveAncestor(this[m].node,this[_].node)){let e=i.lastChild;for(;!o;)Sh.isPartiallyContained(e,this)&&(o=e),e=e.previousSibling}let s=[];for(let t of i[j])if(Sh.isContained(t,this)){if(t[C]===U.documentTypeNode)throw new e.DOMException(`Invalid document type element.`,H.hierarchyRequestError);s.push(t)}if(a!==null&&(a[C]===U.textNode||a[C]===U.processingInstructionNode||a[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);e[Ae]=e.substringData(n,fd.getNodeLength(this[_].node)-n),t.appendChild(e)}else if(a!==null){let r=a.cloneNode();t.appendChild(r);let i=new e.Range;i[_].node=this[_].node,i[_].offset=n,i[m].node=a,i[m].offset=fd.getNodeLength(a);let o=i.cloneContents();r.appendChild(o)}for(let e of s){let n=e.cloneNode(!0);t.appendChild(n)}if(o!==null&&(o[C]===U.textNode||o[C]===U.processingInstructionNode||o[C]===U.commentNode)){let e=this[m].node.cloneNode(!1);e[Ae]=e.substringData(0,r),t.appendChild(e)}else if(o!==null){let n=o.cloneNode(!1);t.appendChild(n);let i=new e.Range;i[_].node=o,i[_].offset=0,i[m].node=this[m].node,i[m].offset=r;let a=i.cloneContents();n.appendChild(a)}return t}cloneRange(){let e=new this[b].Range;return e[_].node=this[_].node,e[_].offset=this[_].offset,e[m].node=this[m].node,e[m].offset=this[m].offset,e}createContextualFragment(e){return new wf(this[b]).parse(e)}deleteContents(){let e=this.startOffset,t=this.endOffset;if(this.collapsed)return;if(this[_].node===this[m].node&&(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)){this[_].node.replaceData(e,t-e,``);return}let n=[],r=this[_].node,i=fd.nextDescendantNode(this[m].node);for(;r&&r!==i;)Sh.isContained(r,this)&&!Sh.isContained(r[S],this)&&n.push(r),r=fd.following(r);let a,o;if(fd.isInclusiveAncestor(this[_].node,this[m].node))a=this[_].node,o=e;else{let e=this[_].node;for(;e&&!fd.isInclusiveAncestor(e[S],this[m].node);)e=e[S];a=e[S],o=e[S][j].indexOf(e)+1}(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)&&this[_].node.replaceData(this.startOffset,fd.getNodeLength(this[_].node)-this.startOffset,``);for(let e of n)e[S].removeChild(e);(this[m].node[C]===U.textNode||this[m].node[C]===U.processingInstructionNode||this[m].node[C]===U.commentNode)&&this[m].node.replaceData(0,t,``),this[_].node=a,this[_].offset=o,this[m].node=a,this[m].offset=o}detach(){}extractContents(){let e=this[b],t=this[g].createDocumentFragment(),n=this.startOffset,r=this.endOffset;if(this.collapsed)return t;if(this[_].node===this[m].node&&(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);return e[Ae]=e.substringData(n,r-n),t.appendChild(e),this[_].node.replaceData(n,r-n,``),t}let i=this[_].node;for(;!fd.isInclusiveAncestor(i,this[m].node);)i=i[S];let a=null;if(!fd.isInclusiveAncestor(this[_].node,this[m].node)){let e=i.firstChild;for(;!a;)Sh.isPartiallyContained(e,this)&&(a=e),e=e.nextSibling}let o=null;if(!fd.isInclusiveAncestor(this[m].node,this[_].node)){let e=i.lastChild;for(;!o;)Sh.isPartiallyContained(e,this)&&(o=e),e=e.previousSibling}let s=[];for(let e of i[j])if(Sh.isContained(e,this)){if(e[C]===U.documentTypeNode)throw new this[b].DOMException(`Invalid document type element.`,H.hierarchyRequestError);s.push(e)}let c,l;if(fd.isInclusiveAncestor(this[_].node,this[m].node))c=this[_].node,l=n;else{let e=this[_].node;for(;e&&!fd.isInclusiveAncestor(e[S],this[m].node);)e=e[S];c=e[S],l=e[S][j].indexOf(e)+1}if(a!==null&&(a[C]===U.textNode||a[C]===U.processingInstructionNode||a[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);e[Ae]=e.substringData(n,fd.getNodeLength(this[_].node)-n),t.appendChild(e),this[_].node.replaceData(n,fd.getNodeLength(this[_].node)-n,``)}else if(a!==null){let r=a.cloneNode(!1);t.appendChild(r);let i=new e.Range;i[_].node=this[_].node,i[_].offset=n,i[m].node=a,i[m].offset=fd.getNodeLength(a);let o=i.extractContents();r.appendChild(o)}for(let e of s)t.appendChild(e);if(o!==null&&(o[C]===U.textNode||o[C]===U.processingInstructionNode||o[C]===U.commentNode)){let e=this[m].node.cloneNode(!1);e[Ae]=e.substringData(0,r),t.appendChild(e),this[m].node.replaceData(0,r,``)}else if(o!==null){let n=o.cloneNode(!1);t.appendChild(n);let i=new e.Range;i[_].node=o,i[_].offset=0,i[m].node=this[m].node,i[m].offset=r;let a=i.extractContents();n.appendChild(a)}return this[_].node=c,this[_].offset=l,this[m].node=c,this[m].offset=l,t}getBoundingClientRect(){return new Dd}getClientRects(){return new Md(N)}isPointInRange(e,t=0){if(e[g]!==this[g])return!1;let n={node:e,offset:t};return Sh.validateBoundaryPoint(n),!(Sh.compareBoundaryPointsPosition(n,{node:this[_].node,offset:this.startOffset})===-1||Sh.compareBoundaryPointsPosition(n,{node:this[m].node,offset:this.endOffset})===1)}insertNode(e){if(this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode||this[_].node[C]===U.textNode&&!this[_].node[S]||e===this[_].node)throw new this[b].DOMException(`Invalid start node.`,H.hierarchyRequestError);let t=this[_].node[C]===U.textNode?this[_].node:this[_].node[j][this.startOffset]||null,n=t?t[S]:this[_].node;this[_].node[C]===U.textNode&&(t=this[_].node.splitText(this.startOffset)),e===t&&(t=t.nextSibling);let r=e[S];r&&r.removeChild(e);let i=t?t[S][j].indexOf(t):fd.getNodeLength(n);i+=e[C]===U.documentFragmentNode?fd.getNodeLength(e):1,n.insertBefore(e,t),this.collapsed&&(this[m].node=n,this[m].offset=i)}intersectsNode(e){if(e[g]!==this[g])return!1;let t=e[S];if(!t)return!0;let n=t[j].indexOf(e);return Sh.compareBoundaryPointsPosition({node:t,offset:n},{node:this[m].node,offset:this.endOffset})===-1&&Sh.compareBoundaryPointsPosition({node:t,offset:n+1},{node:this[_].node,offset:this.startOffset})===1}selectNode(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);let t=e[S][j].indexOf(e);this[_].node=e[S],this[_].offset=t,this[m].node=e[S],this[m].offset=t+1}selectNodeContents(e){if(e[C]===U.documentTypeNode)throw new this[b].DOMException(`DocumentType Node can't be used as boundary point.`,H.invalidNodeTypeError);this[_].node=e,this[_].offset=0,this[m].node=e,this[m].offset=fd.getNodeLength(e)}setEnd(e,t=0){Sh.validateBoundaryPoint({node:e,offset:t});let n={node:e,offset:t};(e[g]!==this[g]||Sh.compareBoundaryPointsPosition(n,{node:this[_].node,offset:this.startOffset})===-1)&&(this[_].node=e,this[_].offset=t),this[m].node=e,this[m].offset=t}setStart(e,t=0){Sh.validateBoundaryPoint({node:e,offset:t});let n={node:e,offset:t};(e[g]!==this[g]||Sh.compareBoundaryPointsPosition(n,{node:this[m].node,offset:this.endOffset})===1)&&(this[m].node=e,this[m].offset=t),this[_].node=e,this[_].offset=t}setEndAfter(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setEnd(e[S],e[S][j].indexOf(e)+1)}setEndBefore(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setEnd(e[S],e[S][j].indexOf(e))}setStartAfter(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setStart(e[S],e[S][j].indexOf(e)+1)}setStartBefore(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setStart(e[S],e[S][j].indexOf(e))}surroundContents(e){let t=this.commonAncestorContainer;if(!t)return;let n=fd.nextDescendantNode(t);for(;t&&t!==n;){if(t[C]!==U.textNode&&Sh.isPartiallyContained(t,this))throw new this[b].DOMException(`The Range has partially contains a non-Text node.`,H.invalidStateError);t=fd.following(t)}if(e[C]===U.documentNode||e[C]===U.documentTypeNode||e[C]===U.documentFragmentNode)throw new this[b].DOMException(`Invalid element type.`,H.invalidNodeTypeError);let r=this.extractContents();for(;e.firstChild;)e.removeChild(e.firstChild);this.insertNode(e),e.appendChild(r),this.selectNode(e)}toString(){let e=this.startOffset,t=this.endOffset,n=``;if(this[_].node===this[m].node&&this[_].node[C]===U.textNode)return this[_].node.data.slice(e,t);this[_].node[C]===U.textNode&&(n+=this[_].node.data.slice(e));let r=fd.nextDescendantNode(this[m].node),i=this[_].node;for(;i&&i!==r;)i[C]===U.textNode&&Sh.isContained(i,this)&&(n+=i.data),i=fd.following(i);return this[m].node[C]===U.textNode&&(n+=this[m].node.data.slice(0,t)),n}},wg=class extends nl{id=``;startTime=0;endTime=0;pauseOnExit=!1;[Er]=null;onenter=null;onexit=null;constructor(e){if(super(),e!==N)throw TypeError(`Illegal constructor`);if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get track(){return this[Er]}},Tg=class extends wg{region=null;vertical=``;snapToLines=!0;line=0;lineAlign=``;position=`auto`;positionAlign=`auto`;size=100;align=``;text=``;constructor(e,t,n){super(N);let r=this[b],i=0;if(e!==void 0&&i++,t!==void 0&&i++,n!==void 0&&i++,i<3)throw new r.TypeError(`Failed to construct 'VTTCue': 3 arguments required, but only ${i} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw new r.TypeError(`Failed to construct 'VTTCue': The provided double value is non-finite.`);this.startTime=e,this.endTime=t,this.text=String(n)}getCueAsHTML(){let e=this[b],t=e.document.createDocumentFragment();return t.appendChild(e.document.createTextNode(this.text)),t}},Eg=class extends nl{[Pr]=Rf.subtitles;[Fr]=``;[Ir]=``;[Lr]=``;[xn]=`disabled`;[Mr]=new Tm(N);[Nr]=new Tm(N);oncuechange=null;constructor(e){if(super(),e!==N)throw TypeError(`Illegal constructor`);if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get kind(){return this[Pr]}get label(){return this[Fr]}get language(){return this[Ir]}get id(){return this[Lr]}get mode(){return this[xn]}set mode(e){e!==`disabled`&&e!==`showing`||(this[xn]=e)}get cues(){return this[xn]===`disabled`?null:this[Mr]}get activeCues(){return this[xn]===`disabled`?null:this[Nr]}addCue(e){this[Mr].includes(e)||(e[Er]=this,this[Mr].push(e))}removeCue(e){let t=this[Mr].indexOf(e);t!==-1&&(e[Er]=null,this[Mr].splice(t,1))}},Dg=class e extends nl{[A]=[];onaddtrack=null;onchange=null;onremovetrack=null;constructor(t,n){if(super(),t!==N)throw TypeError(`Illegal constructor`);this[A]=n;let r=new Bc(this,[e,nl]);return new Proxy(this,{get:(e,t)=>{if(t===`length`)return n.length;if(t in e||typeof t==`symbol`)return r.bind(t),e[t];let i=Number(t);if(!isNaN(i))return n[i]},set(e,t,n){if(r.bind(t),typeof t==`symbol`)return e[t]=n,!0;let i=Number(t);return isNaN(i)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){return Object.keys(n)},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let r=Number(t);return!isNaN(r)&&r>=0&&r<n.length},defineProperty(e,t,n){return r.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let r=Number(t);if(!isNaN(r)&&n[r])return{value:n[r],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[A].length}get[Symbol.toStringTag](){return`TextTrackList`}toLocaleString(){return`[object TextTrackList]`}toString(){return`[object TextTrackList]`}[Symbol.iterator](){return this[A][Symbol.iterator]()}getTrackById(e){for(let t of this[A])if(t.id===e)return t;return null}},Og=class extends nl{[Rr]=`disconnected`;onconnecting=null;onconnect=null;ondisconnect=null;get state(){return this[Rr]}async watchAvailability(){}cancelWatchAvailability(){}prompt(){}},kg=t((e=>{e.removeLeadingAndTrailingHTTPWhitespace=e=>e.replace(/^[ \t\n\r]+/u,``).replace(/[ \t\n\r]+$/u,``),e.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/u,``),e.isHTTPWhitespaceChar=e=>e===` `||e===` `||e===`
185
- `||e===`\r`,e.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),e.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),e.asciiLowercase=e=>e.replace(/[A-Z]/gu,e=>e.toLowerCase()),e.collectAnHTTPQuotedString=(e,t)=>{let n=``;for(t++;;){for(;t<e.length&&e[t]!==`"`&&e[t]!==`\\`;)n+=e[t],++t;if(t>=e.length)break;let r=e[t];if(++t,r===`\\`){if(t>=e.length){n+=`\\`;break}n+=e[t],++t}else break}return[n,t]}})),Ag=t(((e,t)=>{let{asciiLowercase:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:i}=kg();t.exports=class{constructor(e){this._map=e}get size(){return this._map.size}get(e){return e=n(String(e)),this._map.get(e)}has(e){return e=n(String(e)),this._map.has(e)}set(e,t){if(e=n(String(e)),t=String(t),!r(e))throw Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`);if(!i(t))throw Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`);return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=n(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}})),jg=t(((e,t)=>{let{removeLeadingAndTrailingHTTPWhitespace:n,removeTrailingHTTPWhitespace:r,isHTTPWhitespaceChar:i,solelyContainsHTTPTokenCodePoints:a,soleyContainsHTTPQuotedStringTokenCodePoints:o,asciiLowercase:s,collectAnHTTPQuotedString:c}=kg();t.exports=e=>{e=n(e);let t=0,l=``;for(;t<e.length&&e[t]!==`/`;)l+=e[t],++t;if(l.length===0||!a(l)||t>=e.length)return null;++t;let u=``;for(;t<e.length&&e[t]!==`;`;)u+=e[t],++t;if(u=r(u),u.length===0||!a(u))return null;let d={type:s(l),subtype:s(u),parameters:new Map};for(;t<e.length;){for(++t;i(e[t]);)++t;let n=``;for(;t<e.length&&e[t]!==`;`&&e[t]!==`=`;)n+=e[t],++t;if(n=s(n),t<e.length){if(e[t]===`;`)continue;++t}let l=null;if(e[t]===`"`)for([l,t]=c(e,t);t<e.length&&e[t]!==`;`;)++t;else{for(l=``;t<e.length&&e[t]!==`;`;)l+=e[t],++t;if(l=r(l),l===``)continue}n.length>0&&a(n)&&o(l)&&!d.parameters.has(n)&&d.parameters.set(n,l)}return d}})),Mg=t(((e,t)=>{let{solelyContainsHTTPTokenCodePoints:n}=kg();t.exports=e=>{let t=`${e.type}/${e.subtype}`;if(e.parameters.size===0)return t;for(let[r,i]of e.parameters)t+=`;`,t+=r,t+=`=`,(!n(i)||i.length===0)&&(i=i.replace(/(["\\])/gu,`\\$1`),i=`"${i}"`),t+=i;return t}})),Ng=e(t(((e,t)=>{let n=Ag(),r=jg(),i=Mg(),{asciiLowercase:a,solelyContainsHTTPTokenCodePoints:o}=kg();t.exports=class{constructor(e){e=String(e);let t=r(e);if(t===null)throw Error(`Could not parse MIME type string "${e}"`);this._type=t.type,this._subtype=t.subtype,this._parameters=new n(t.parameters)}static parse(e){try{return new this(e)}catch{return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid type: must be a non-empty string`);if(!o(e))throw Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid subtype: must be a non-empty string`);if(!o(e))throw Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return i(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){case`text`:switch(this._subtype){case`ecmascript`:case`javascript`:case`javascript1.0`:case`javascript1.1`:case`javascript1.2`:case`javascript1.3`:case`javascript1.4`:case`javascript1.5`:case`jscript`:case`livescript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}case`application`:switch(this._subtype){case`ecmascript`:case`javascript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}default:return!1}}isXML(){return this._subtype===`xml`&&(this._type===`text`||this._type===`application`)||this._subtype.endsWith(`+xml`)}isHTML(){return this._subtype===`html`&&this._type===`text`}}}))(),1),Pg;(function(e){e[e.empty=0]=`empty`,e[e.loading=1]=`loading`,e[e.done=2]=`done`})(Pg||={});var Fg=Pg,Ig;(function(e){e.buffer=`buffer`,e.binaryString=`binaryString`,e.dataURL=`dataURL`,e.text=`text`})(Ig||={});var Lg=Ig,Rg;(function(e){e.abort=`abort`,e.error=`error`,e.load=`load`,e.loadstart=`loadstart`,e.loadend=`loadend`,e.progress=`progress`})(Rg||={});var zg=Rg,Bg=class extends nl{error=null;result=null;readyState=Fg.empty;onabort=null;onerror=null;onload=null;onloadstart=null;onloadend=null;onprogress=null;#e=!1;#t=null;#n=null;constructor(){if(super(),!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}readAsArrayBuffer(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.buffer)}readAsBinaryString(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.binaryString)}readAsDataURL(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.dataURL)}readAsText(e,t=null){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.text,t||`UTF-8`)}abort(){let e=this[b];if(this.#t&&e.clearTimeout(this.#t),this.#n&&e.clearTimeout(this.#n),this.readyState===Fg.empty||this.readyState===Fg.done){this.result=null;return}this.readyState===Fg.loading&&(this.readyState=Fg.done,this.result=null),this.#e=!0,this.dispatchEvent(new lu(zg.abort)),this.dispatchEvent(new lu(zg.loadend))}#r(e,t,n=null){let r=this[b];if(this.readyState===Fg.loading)throw new r.DOMException(`The object is in an invalid state.`,H.invalidStateError);this.readyState=Fg.loading,this.#t=r.setTimeout(()=>{if(this.#e){this.#e=!1;return}this.dispatchEvent(new lu(zg.loadstart));let a=e[me];a||=i.alloc(0),this.dispatchEvent(new lu(zg.loadstart,{lengthComputable:!isNaN(e.size),total:e.size,loaded:a.length})),this.#n=r.setTimeout(()=>{if(this.#e){this.#e=!1;return}switch(t){default:case Lg.buffer:this.result=new Uint8Array(a).buffer;break;case Lg.binaryString:this.result=a.toString(`binary`);break;case Lg.dataURL:{let t=Ng.default.parse(e.type)||`application/octet-stream`;this.result=`data:${t};base64,${a.toString(`base64`)}`;break}case Lg.text:this.result=new TextDecoder(n||`UTF-8`).decode(a);break}this.readyState=Fg.done,this.dispatchEvent(new lu(zg.load)),this.dispatchEvent(new lu(zg.loadend))})})}};const Vg={aspectRatio:{max:300,min:.006666666666666667},deviceId:``,facingMode:[],frameRate:{max:60,min:0},height:{max:150,min:1},resizeMode:[`none`,`crop-and-scale`],width:{max:300,min:1}},Hg={deviceId:``,frameRate:60,resizeMode:`none`};var Ug=class extends nl{contentHint=``;enabled=!0;id=s.randomUUID();muted=!1;readyState=`live`;label=``;[Fr]=``;[Pr]=`video`;[zn]={};[Bn]=JSON.parse(JSON.stringify(Vg));[Vn]=JSON.parse(JSON.stringify(Hg));onended=null;onmute=null;onunmute=null;constructor(e){if(super(),e!==N)throw TypeError(`Illegal constructor`);if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get kind(){return this[Pr]}async applyConstraints(e){this.#e(this[zn],e)}getConstraints(){return this[zn]}getCapabilities(){return this[Bn]}getSettings(){return this[Vn]}clone(){let e=new this.constructor(N);return e[Pr]=this[Pr],e[zn]=this[zn],e[Bn]=this[Bn],e[Vn]=this[Vn],e.contentHint=this.contentHint,e.enabled=this.enabled,e.label=this.label,e.muted=this.muted,e.readyState=this.readyState,e}stop(){this.readyState=`ended`}#e(e,t){for(let n in t)t[n]!==null&&typeof t[n]==`object`&&!Array.isArray(t[n])?(typeof e[n]!=`object`&&(e[n]={}),this.#e(e[n],t[n])):e[n]=t[n]}},Wg=class extends Ug{[zr];constructor(e,t){super(e),this[zr]=t}get canvas(){return this[zr]}requestFrame(){}clone(){let e=super.clone();return e[zr]=this.canvas,e}},Gg;(function(e){e[e.connecting=0]=`connecting`,e[e.open=1]=`open`,e[e.closing=2]=`closing`,e[e.closed=3]=`closed`})(Gg||={});var Kg=Gg;const qg=/^[!#$%&'*+\-.^_`|~\dA-Za-z]+$/;var Jg=class extends nl{static CONNECTING=Kg.connecting;static OPEN=Kg.open;static CLOSING=Kg.closing;static CLOSED=Kg.closed;#e=Kg.closed;#t=``;#n=`blob`;#r=null;#i;[is]=null;constructor(e,t){super();let n=this[b],r;try{r=new URL(e)}catch{throw new n.DOMException(`The URL '${e}' is invalid.`,H.syntaxError)}if(r.protocol!==`ws:`&&r.protocol!==`wss:`)throw new n.DOMException(`The URL's protocol must be either 'ws' or 'wss'. '${r.protocol}' is not allowed.`,H.syntaxError);r.hash&&=``;let i=new Set,a=t===void 0?[]:Array.isArray(t)?t:[t];for(let e of a){if(!this.#d(e))throw new n.DOMException(`The subprotocol '${e}' is invalid.`,H.syntaxError);if(i.has(e))throw new n.DOMException(`The subprotocol '${e}' is duplicated.`,H.syntaxError);i.add(e)}this.#i=r,this.#a(r,a)}get readyState(){return this.#e}get extensions(){return this.#t}get binaryType(){return this.#n}set binaryType(e){e!==`blob`&&e!==`arraybuffer`||(this.#n=e)}get protocol(){return this[is]?.protocol||``}get url(){return this.#i.href}close(e,t){let n=this[b];if(e!==void 0&&e!==1e3&&!(e>=3e3&&e<=4999))throw new n.DOMException(`The code must be either 1000, or between 3000 and 4999. ${e} is neither.`,H.invalidAccessError);if(t!==void 0&&Buffer.byteLength(t,`utf8`)>123)throw new n.DOMException(`The message must not be greater than 123 bytes.`,H.syntaxError);this.#o(e,t?Buffer.from(t):void 0)}send(e){let t=this[b];if(this.#e===Kg.connecting)throw new t.DOMException(`Still in CONNECTING state.`,H.invalidStateError);if(this.#e!==Kg.open)return;if(typeof e==`string`){this[is]?.send(e,{binary:!1});return}let n;n=e instanceof ArrayBuffer?Buffer.from(new Uint8Array(e)):e instanceof Rs?e[me]:e instanceof Buffer?e:ArrayBuffer.isView(e)?Buffer.from(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)):Buffer.from(String(e)),this[is]?.send(n,{binary:!0})}[Me](){super[Me](),this.#o(1001)}#a(e,t){let r=this[b],i=new Y(r).getBrowserContext();if(!i)return;let a=new URL(r.location.href),o=i.cookieContainer.getCookies(a,!1);this.#e=Kg.connecting,this[is]=new n(e,t,{headers:{"user-agent":r.navigator.userAgent,cookie:Nu.cookiesToString(o),origin:a.origin},rejectUnauthorized:!i.browser.settings.fetch.disableStrictSSL}),this[is].once(`open`,()=>{this.#s()}),this[is].on(`message`,this.#l.bind(this)),this[is].once(`close`,(e,t)=>{this.#c(e,t)}),this[is].once(`upgrade`,({headers:e})=>{if(e[`set-cookie`]!==void 0){let t=Array.isArray(e[`set-cookie`])?e[`set-cookie`]:[e[`set-cookie`]];for(let e of t){let t=Nu.stringToCookie(a,e);t&&i.cookieContainer.addCookies([t])}}}),this[is].once(`error`,e=>{this.#r=e}),r[rs].push(this)}#o(e,t){this.readyState===Kg.connecting?this[is]?this[is].terminate():this.#e=Kg.closing:this[is]&&this.readyState===Kg.open&&this[is].close(e,t),this[is]=null}#s(){this[is]?.extensions&&(this.#t=Object.keys(this[is].extensions).join(`, `)),this.#e=Kg.open,this.dispatchEvent(new this[b].Event(`open`))}#c(e,t){let n=this[b],r=n[rs].indexOf(this);r!==-1&&n[rs].splice(r,1),this.#e=Kg.closed,this.dispatchEvent(new this[b].CloseEvent(`close`,{wasClean:this.#r===null,code:e,reason:t.toString()}))}#l(e,t){if(this.#e!==Kg.open)return;let n=this[b],r;if(t)switch(this.binaryType){case`arraybuffer`:r=e instanceof n.ArrayBuffer?e:Array.isArray(e)?this.#u(Buffer.concat(e)):this.#u(e);break;default:Array.isArray(e)||(e=[e]),r=new n.Blob(e);break}else r=String(e);this.dispatchEvent(new n.MessageEvent(`message`,{data:r,origin:this.#i.origin}))}#u(e){let t=new this[b].ArrayBuffer(e.byteLength);return new Uint8Array(t).set(e),t}#d(e){return qg.test(e)}},Yg=class{[Ae];[y];[h];constructor(e,t,n){if(arguments.length<2)throw new this[b].TypeError(`Failed to construct 'ImageData': 2 arguments required, but only ${arguments.length} present.`);if(e instanceof Uint8ClampedArray){if(typeof t!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The width argument must be a number.`);if(n!==void 0&&typeof n!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The height argument must be a number.`);this[Ae]=e,this[y]=t,this[h]=n===void 0?e.length/(t*4):n}else{if(typeof t!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The height argument must be a number.`);this[Ae]=new Uint8ClampedArray(Array(e*t*4).fill(0)),this[y]=e,this[h]=t}}get data(){return this[Ae]}get width(){return this[y]}get height(){return this[h]}};const Xg={a:1,b:0,c:0,d:1,e:0,f:0,m11:1,m12:0,m13:0,m14:0,m21:0,m22:1,m23:0,m24:0,m31:0,m32:0,m33:1,m34:0,m41:0,m42:0,m43:0,m44:1,is2D:!0,isIdentity:!0},Zg=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,Qg=/[\s,]+/;var $g=class e{[Yi]=1;[Xi]=0;[Zi]=0;[Qi]=0;[$i]=0;[ea]=1;[ta]=0;[na]=0;[ra]=0;[ia]=0;[aa]=1;[oa]=0;[sa]=0;[ca]=0;[la]=0;[ua]=1;constructor(e){e&&this[da](e)}get a(){return this[Yi]}get b(){return this[Xi]}get c(){return this[$i]}get d(){return this[ea]}get e(){return this[sa]}get f(){return this[ca]}get m11(){return this[Yi]}get m12(){return this[Xi]}get m13(){return this[Zi]}get m14(){return this[Qi]}get m21(){return this[$i]}get m22(){return this[ea]}get m23(){return this[ta]}get m24(){return this[na]}get m31(){return this[ra]}get m32(){return this[ia]}get m33(){return this[aa]}get m34(){return this[oa]}get m41(){return this[sa]}get m42(){return this[ca]}get m43(){return this[la]}get m44(){return this[ua]}get isIdentity(){return this[Yi]===1&&this[Xi]===0&&this[Zi]===0&&this[Qi]===0&&this[$i]===0&&this[ea]===1&&this[ta]===0&&this[na]===0&&this[ra]===0&&this[ia]===0&&this[aa]===1&&this[oa]===0&&this[sa]===0&&this[ca]===0&&this[la]===0&&this[ua]===1}get is2D(){return this[ra]===0&&this[ia]===0&&this[aa]===1&&this[oa]===0&&this[la]===0&&this[ua]===1}toFloat32Array(e){return Float32Array.from(this[Ki](e))}toFloat64Array(e){return Float64Array.from(this[Ki](e))}toString(){let e=this.is2D,t=this[Ki](e).join(`, `);return`${e?`matrix`:`matrix3d`}(${t})`}toJSON(){let{is2D:e,isIdentity:t}=this;return{m11:this[Yi],m12:this[Xi],m13:this[Zi],m14:this[Qi],m21:this[$i],m22:this[ea],m23:this[ta],m24:this[na],m31:this[ra],m32:this[ia],m33:this[aa],m34:this[oa],m41:this[sa],m42:this[ca],m43:this[la],m44:this[ua],a:this[Yi],b:this[Xi],c:this[$i],d:this[ea],e:this[sa],f:this[ca],is2D:e,isIdentity:t}}multiply(e){let t=new this.constructor(this);return e&&t[ba](e),t}translate(e=0,t=0,n=0){let r=new this.constructor(this);return r[fa](e,t,n),r}scale(e,t,n=1,r=0,i=0,a=0){let o=new this.constructor(this);return o[ha](e,t,n,r,i,a),o}scale3d(e=1,t=0,n=0,r=0){let i=new this.constructor(this);return i[ga](e,t,n,r),i}scaleNonUniform(e=1,t=1){let n=new this.constructor(this);return n[_a](e,t),n}rotateAxisAngle(e=0,t=0,n=0,r=0){let i=new this.constructor(this);return i[ma](e,t,n,r),i}rotate(e=0,t,n){let r=new this.constructor(this);return r[pa](e,t,n),r}rotateFromVector(e=0,t=0){let n=new this.constructor(this);return n[_o](e,t),n}skewX(e){let t=new this.constructor(this);return t[va](e),t}skewY(e){let t=new this.constructor(this);return t[ya](e),t}flipX(){let e=new this.constructor(this);return e[vo](),e}flipY(){let e=new this.constructor(this);return e[yo](),e}inverse(){let e=new this.constructor(this);return e[bo](),e}transformPoint(e){let t=e?.x??0,n=e?.y??0,r=e?.z??0,i=e?.w??1,a=this[Yi]*t+this[$i]*n+this[ra]*r+this[sa]*i,o=this[Xi]*t+this[ea]*n+this[ia]*r+this[ca]*i,s=this[Zi]*t+this[ta]*n+this[aa]*r+this[la]*i,c=this[Qi]*t+this[na]*n+this[oa]*r+this[ua]*i;return new this[b].DOMPoint(a,o,s,c)}[da](e){let t=null;if(typeof e==`string`&&e.length&&e!==`none`)t=this.constructor[qi](e);else if(Array.isArray(e)||e instanceof Float64Array||e instanceof Float32Array)t=this.constructor[Ji](e);else if(typeof e==`object`)t=this.constructor.fromMatrix(e);else return;this[Yi]=t[Yi],this[Xi]=t[Xi],this[Zi]=t[Zi],this[Qi]=t[Qi],this[$i]=t[$i],this[ea]=t[ea],this[ta]=t[ta],this[na]=t[na],this[ra]=t[ra],this[ia]=t[ia],this[aa]=t[aa],this[oa]=t[oa],this[sa]=t[sa],this[ca]=t[ca],this[la]=t[la],this[ua]=t[ua]}[ba](t){if(!t)return;let n=t;n instanceof e||(n?.m11===void 0&&n?.a!==void 0?(n=Object.assign({},Xg,n),n.m11=n.a,n.m12=n.b,n.m21=n.c,n.m22=n.d,n.m41=n.e,n.m42=n.f):n=Object.assign({},Xg,n));let r=this[Yi]*n.m11+this[$i]*n.m12+this[ra]*n.m13+this[sa]*n.m14,i=this[Yi]*n.m21+this[$i]*n.m22+this[ra]*n.m23+this[sa]*n.m24,a=this[Yi]*n.m31+this[$i]*n.m32+this[ra]*n.m33+this[sa]*n.m34,o=this[Yi]*n.m41+this[$i]*n.m42+this[ra]*n.m43+this[sa]*n.m44,s=this[Xi]*n.m11+this[ea]*n.m12+this[ia]*n.m13+this[ca]*n.m14,c=this[Xi]*n.m21+this[ea]*n.m22+this[ia]*n.m23+this[ca]*n.m24,l=this[Xi]*n.m31+this[ea]*n.m32+this[ia]*n.m33+this[ca]*n.m34,u=this[Xi]*n.m41+this[ea]*n.m42+this[ia]*n.m43+this[ca]*n.m44,d=this[Zi]*n.m11+this[ta]*n.m12+this[aa]*n.m13+this[la]*n.m14,f=this[Zi]*n.m21+this[ta]*n.m22+this[aa]*n.m23+this[la]*n.m24,p=this[Zi]*n.m31+this[ta]*n.m32+this[aa]*n.m33+this[la]*n.m34,ee=this[Zi]*n.m41+this[ta]*n.m42+this[aa]*n.m43+this[la]*n.m44,te=this[Qi]*n.m11+this[na]*n.m12+this[oa]*n.m13+this[ua]*n.m14,ne=this[Qi]*n.m21+this[na]*n.m22+this[oa]*n.m23+this[ua]*n.m24,re=this[Qi]*n.m31+this[na]*n.m32+this[oa]*n.m33+this[ua]*n.m34,ie=this[Qi]*n.m41+this[na]*n.m42+this[oa]*n.m43+this[ua]*n.m44;this[Yi]=r,this[Xi]=s,this[Zi]=d,this[Qi]=te,this[$i]=i,this[ea]=c,this[ta]=f,this[na]=ne,this[ra]=a,this[ia]=l,this[aa]=p,this[oa]=re,this[sa]=o,this[ca]=u,this[la]=ee,this[ua]=ie}[fa](e=0,t=0,n=0){let r=this.constructor[Ji]([1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1]);this[ba](r)}[ha](e,t,n=1,r=0,i=0,a=0){e=e===void 0?1:Number(e),t=t===void 0?e:Number(t),(r!==0||i!==0||a!==0)&&this[fa](r,i,a),(e!==1||t!==1||n!==1)&&this[ba](this.constructor[Ji]([e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1])),(r!==0||i!==0||a!==0)&&this[fa](-r,-i,-a)}[ga](e=1,t=0,n=0,r=0){(t!==0||n!==0||r!==0)&&this[fa](t,n,r),e!==1&&this[ba](this.constructor[Ji]([e,0,0,0,0,e,0,0,0,0,e,0,0,0,0,1])),(t!==0||n!==0||r!==0)&&this[fa](-t,-n,-r)}[_a](e=1,t=1){e===1&&t===1||this[ba](this.constructor[Ji]([e,0,0,0,0,t,0,0,0,0,1,0,0,0,0,1]))}[ma](e=0,t=0,n=0,r=0){if(e=Number(e),t=Number(t),n=Number(n),r=Number(r),isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new this[b].TypeError(`Failed to execute 'rotateAxisAngleSelf' on 'DOMMatrix': The arguments must be numbers.`);let i=Math.hypot(e,t,n);if(i===0)return;i!==1&&(e/=i,t/=i,n/=i);let a=-(r*Math.PI/360),o=this.#e,s=Math.sin(a)*Math.cos(a),c=Math.sin(a)*Math.sin(a),l=o(1-2*(t*t+n*n)*c),u=o(2*(e*t*c+n*s)),d=o(2*(e*n*c-t*s)),f=o(2*(e*t*c-n*s)),p=o(1-2*(e*e+n*n)*c),ee=o(2*(t*n*c+e*s)),te=o(2*(e*n*c+t*s)),ne=o(2*(t*n*c-e*s)),re=o(1-2*(e*e+t*t)*c),ie=this.constructor[Ji]([l,f,te,0,u,p,ne,0,d,ee,re,0,0,0,0,1]);this[ba](ie)}[pa](e=0,t,n){if(t===void 0&&n===void 0&&(n=e,e=0,t=0),t===void 0&&(t=0),n===void 0&&(n=0),e=Number(e),t=Number(t),n=Number(n),isNaN(e)||isNaN(t)||isNaN(n))throw new this[b].TypeError(`Failed to execute 'rotateSelf' on 'DOMMatrix': The arguments must be numbers.`);n!==0&&this[ma](0,0,1,n),t!==0&&this[ma](0,1,0,t),e!==0&&this[ma](1,0,0,e)}[_o](e=0,t=0){e===0&&t===0||this[pa](Math.atan2(t,e)*180/Math.PI)}[va](e){let t=Object.assign({},Xg),n=Math.tan(e*Math.PI/180);t.m21=n,t.c=n,this[ba](t)}[ya](e){let t=Object.assign({},Xg),n=Math.tan(e*Math.PI/180);t.m12=n,t.b=n,this[ba](t)}[vo](){let e=this.constructor[Ji]([-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);this[ba](e)}[yo](){let e=this.constructor[Ji]([1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1]);this[ba](e)}[bo](){let e=this[ea]*this[aa]*this[ua]-this[ea]*this[oa]*this[la]-this[ia]*this[ta]*this[ua]+this[ia]*this[na]*this[la]+this[ca]*this[ta]*this[oa]-this[ca]*this[na]*this[aa],t=-this[Xi]*this[aa]*this[ua]+this[Xi]*this[oa]*this[la]+this[ia]*this[Zi]*this[ua]-this[ia]*this[Qi]*this[la]-this[ca]*this[Zi]*this[oa]+this[ca]*this[Qi]*this[aa],n=this[Xi]*this[ta]*this[ua]-this[Xi]*this[na]*this[la]-this[ea]*this[Zi]*this[ua]+this[ea]*this[Qi]*this[la]+this[ca]*this[Zi]*this[na]-this[ca]*this[Qi]*this[ta],r=-this[Xi]*this[ta]*this[oa]+this[Xi]*this[na]*this[aa]+this[ea]*this[Zi]*this[oa]-this[ea]*this[Qi]*this[aa]-this[ia]*this[Zi]*this[na]+this[ia]*this[Qi]*this[ta],i=this[Yi]*e+this[$i]*t+this[ra]*n+this[sa]*r;if(i===0){this[Yi]=NaN,this[Xi]=NaN,this[Zi]=NaN,this[Qi]=NaN,this[$i]=NaN,this[ea]=NaN,this[ta]=NaN,this[na]=NaN,this[ra]=NaN,this[ia]=NaN,this[aa]=NaN,this[oa]=NaN,this[sa]=NaN,this[ca]=NaN,this[la]=NaN,this[ua]=NaN;return}let a=-this[$i]*this[aa]*this[ua]+this[$i]*this[oa]*this[la]+this[ra]*this[ta]*this[ua]-this[ra]*this[na]*this[la]-this[sa]*this[ta]*this[oa]+this[sa]*this[na]*this[aa],o=this[Yi]*this[aa]*this[ua]-this[Yi]*this[oa]*this[la]-this[ra]*this[Zi]*this[ua]+this[ra]*this[Qi]*this[la]+this[sa]*this[Zi]*this[oa]-this[sa]*this[Qi]*this[aa],s=-this[Yi]*this[ta]*this[ua]+this[Yi]*this[na]*this[la]+this[$i]*this[Zi]*this[ua]-this[$i]*this[Qi]*this[la]-this[sa]*this[Zi]*this[na]+this[sa]*this[Qi]*this[ta],c=this[Yi]*this[ta]*this[oa]-this[Yi]*this[na]*this[aa]-this[$i]*this[Zi]*this[oa]+this[$i]*this[Qi]*this[aa]+this[ra]*this[Zi]*this[na]-this[ra]*this[Qi]*this[ta],l=this[$i]*this[ia]*this[ua]-this[$i]*this[oa]*this[ca]-this[ra]*this[ea]*this[ua]+this[ra]*this[na]*this[ca]+this[sa]*this[ea]*this[oa]-this[sa]*this[na]*this[ia],u=-this[Yi]*this[ia]*this[ua]+this[Yi]*this[oa]*this[ca]+this[ra]*this[Xi]*this[ua]-this[ra]*this[Qi]*this[ca]-this[sa]*this[Xi]*this[oa]+this[sa]*this[Qi]*this[ia],d=this[Yi]*this[ea]*this[ua]-this[Yi]*this[na]*this[ca]-this[$i]*this[Xi]*this[ua]+this[$i]*this[Qi]*this[ca]+this[sa]*this[Xi]*this[na]-this[sa]*this[Qi]*this[ea],f=-this[Yi]*this[ea]*this[oa]+this[Yi]*this[na]*this[ia]+this[$i]*this[Xi]*this[oa]-this[$i]*this[Qi]*this[ia]-this[ra]*this[Xi]*this[na]+this[ra]*this[Qi]*this[ea],p=-this[$i]*this[ia]*this[la]+this[$i]*this[aa]*this[ca]+this[ra]*this[ea]*this[la]-this[ra]*this[ta]*this[ca]-this[sa]*this[ea]*this[aa]+this[sa]*this[ta]*this[ia],ee=this[Yi]*this[ia]*this[la]-this[Yi]*this[aa]*this[ca]-this[ra]*this[Xi]*this[la]+this[ra]*this[Zi]*this[ca]+this[sa]*this[Xi]*this[aa]-this[sa]*this[Zi]*this[ia],te=-this[Yi]*this[ea]*this[la]+this[Yi]*this[ta]*this[ca]+this[$i]*this[Xi]*this[la]-this[$i]*this[Zi]*this[ca]-this[sa]*this[Xi]*this[ta]+this[sa]*this[Zi]*this[ea],ne=this[Yi]*this[ea]*this[aa]-this[Yi]*this[ta]*this[ia]-this[$i]*this[Xi]*this[aa]+this[$i]*this[Zi]*this[ia]+this[ra]*this[Xi]*this[ta]-this[ra]*this[Zi]*this[ea];this[Yi]=e/i||0,this[Xi]=t/i||0,this[Zi]=n/i||0,this[Qi]=r/i||0,this[$i]=a/i||0,this[ea]=o/i||0,this[ta]=s/i||0,this[na]=c/i||0,this[ra]=l/i||0,this[ia]=u/i||0,this[aa]=d/i||0,this[oa]=f/i||0,this[sa]=p/i||0,this[ca]=ee/i||0,this[la]=te/i||0,this[ua]=ne/i||0}[Ki](e=!1){return e?[this[Yi],this[Xi],this[$i],this[ea],this[sa],this[ca]]:[this[Yi],this[Xi],this[Zi],this[Qi],this[$i],this[ea],this[ta],this[na],this[ra],this[ia],this[aa],this[oa],this[sa],this[ca],this[la],this[ua]]}#e(e,t=0x38d7ea4c68000){return Math.round(e*t)/t}static fromMatrix(t){return t instanceof e||(t?.m11===void 0&&t?.a!==void 0?(t=Object.assign({},Xg,t),t.m11=t.a,t.m12=t.b,t.m21=t.c,t.m22=t.d,t.m41=t.e,t.m42=t.f):t=Object.assign({},Xg,t)),this[Ji]([t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44])}static fromFloat32Array(e){return this[Ji](e)}static fromFloat64Array(e){return this[Ji](e)}static[Ji](e){if(!(e instanceof Float64Array||e instanceof Float32Array||Array.isArray(e))||e.length!==6&&e.length!==16)throw TypeError(`Failed to execute 'fromArray' on '${this.name}': '${String(e)}' is not a compatible array.`);let t=new this;if(e.length===16){let[n,r,i,a,o,s,c,l,u,d,f,p,ee,te,ne,re]=e;t[Yi]=n,t[Xi]=r,t[Zi]=i,t[Qi]=a,t[$i]=o,t[ea]=s,t[ta]=c,t[na]=l,t[ra]=u,t[ia]=d,t[aa]=f,t[oa]=p,t[sa]=ee,t[ca]=te,t[la]=ne,t[ua]=re}else if(e.length===6){let[n,r,i,a,o,s]=e;t[Yi]=n,t[Xi]=r,t[$i]=i,t[ea]=a,t[sa]=o,t[ca]=s}return t}static[qi](e){if(typeof e!=`string`)throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Expected '${String(e)}' to be a string.`);let t=new this,n=new RegExp(Zg),r;for(;r=n.exec(e);){let e=r[1],n=r[2].split(Qg);for(let e=0,t=n.length;e<t;e++)n[e]=this[xo](n[e]);let[i,a,o,s]=n;switch(e){case`perspective`:!isNaN(i)&&i!==0&&a===void 0&&o===void 0&&(t[oa]=-1/i);break;case`translate`:!isNaN(i)&&o===void 0&&t[fa](i,a||0,0);break;case`translate3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&t[fa](i,a,o);break;case`translateX`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](i);break;case`translateY`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](0,i);break;case`translateZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](0,0,i);break;case`matrix`:case`matrix3d`:(n.length===6||n.length===16)&&t[da](this[Ji](n));break;case`rotate`:case`rotateZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](0,0,i);break;case`rotateX`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](i,0,0);break;case`rotateY`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](0,i,0);case`rotate3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&!isNaN(s)&&t[ma](i,a,o,s);break;case`scale`:!isNaN(i)&&i!==1&&o===void 0&&t[ha](i,isNaN(a)?i:a);break;case`scale3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&t[ha](i,a,o);break;case`scaleX`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](i,1,1);break;case`scaleY`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](1,i,1);break;case`scaleZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](1,1,i);break;case`skew`:isNaN(i)||t[va](i),isNaN(a)||t[ya](a);break;case`skewX`:!isNaN(i)&&a===void 0&&t[va](i);break;case`skewY`:!isNaN(i)&&a===void 0&&t[ya](i);break;default:throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Unknown transform function '${r[1]}'.`)}}return t}static[xo](e){let t=parseFloat(e);switch(e.replace(t.toString(),``)){case`rem`:case`em`:case`vw`:case`vh`:case`%`:case`vmin`:case`vmax`:throw SyntaxError(`Failed to construct '${this.name}': Lengths must be absolute, not relative`);case`rad`:return 180/Math.PI*t;case`turn`:return t*360;case`px`:return t;case`cm`:return t*37.7812;case`mm`:return t*3.7781;case`in`:return t*96;case`pt`:return t*1.3281;case`pc`:return t*16;case`Q`:return t*.945;default:return t}}},e_=class extends $g{get a(){return this[Yi]}set a(e){this[Yi]=e}get b(){return this[Xi]}set b(e){this[Xi]=e}get c(){return this[$i]}set c(e){this[$i]=e}get d(){return this[ea]}set d(e){this[ea]=e}get e(){return this[sa]}set e(e){this[sa]=e}get f(){return this[ca]}set f(e){this[ca]=e}get m11(){return this[Yi]}set m11(e){this[Yi]=e}get m12(){return this[Xi]}set m12(e){this[Xi]=e}get m13(){return this[Zi]}set m13(e){this[Zi]=e}get m14(){return this[Qi]}set m14(e){this[Qi]=e}get m21(){return this[$i]}set m21(e){this[$i]=e}get m22(){return this[ea]}set m22(e){this[ea]=e}get m23(){return this[ta]}set m23(e){this[ta]=e}get m24(){return this[na]}set m24(e){this[na]=e}get m31(){return this[ra]}set m31(e){this[ra]=e}get m32(){return this[ia]}set m32(e){this[ia]=e}get m33(){return this[aa]}set m33(e){this[aa]=e}get m34(){return this[oa]}set m34(e){this[oa]=e}get m41(){return this[sa]}set m41(e){this[sa]=e}get m42(){return this[ca]}set m42(e){this[ca]=e}get m43(){return this[la]}set m43(e){this[la]=e}get m44(){return this[ua]}set m44(e){this[ua]=e}setMatrixValue(e){return this[da](e),this}multiplySelf(e){return this[ba](e),this}translateSelf(e=0,t=0,n=0){return this[fa](e,t,n),this}scaleSelf(e,t,n=1,r=0,i=0,a=0){return this[ha](e,t,n,r,i,a),this}scale3dSelf(e=1,t=0,n=0,r=0){return this[ga](e,t,n,r),this}scaleNonUniformSelf(e=1,t=1){return this[_a](e,t),this}rotateAxisAngleSelf(e=0,t=0,n=0,r=0){return this[ma](e,t,n,r),this}rotateSelf(e=0,t,n){return this[pa](e,t,n),this}rotateFromVectorSelf(e=0,t=0){return this[_o](e,t),this}skewXSelf(e){return this[va](e),this}skewYSelf(e){return this[ya](e),this}flipXSelf(){return this[vo](),this}flipYSelf(){return this[yo](),this}invertSelf(){return this[bo](),this}preMultiplySelf(e){return this[ba](e),this}},t_=class{[D]=0;[O]=0;[Wi]=0;[Gi]=1;constructor(e,t,n,r){this[D]=e==null?0:Number(e),this[O]=t==null?0:Number(t),this[Wi]=n==null?0:Number(n),this[Gi]=r==null?1:Number(r)}get x(){return this[D]}get y(){return this[O]}get z(){return this[Wi]}get w(){return this[Gi]}toJSON(){return{x:this.x,y:this.y,z:this.z,w:this.w}}static fromPoint(e){return e?new this(e.x??null,e.y??null,e.z??null,e.w??null):new this}matrixTransform(e){let t=new this[b].DOMMatrixReadOnly(e),n=this.x*t.m11+this.y*t.m21+this.z*t.m31+this.w*t.m41,r=this.x*t.m12+this.y*t.m22+this.z*t.m32+this.w*t.m42,i=this.x*t.m13+this.y*t.m23+this.z*t.m33+this.w*t.m43,a=this.x*t.m14+this.y*t.m24+this.z*t.m34+this.w*t.m44;return new this.constructor(n,r,i,a)}},n_=class extends t_{set x(e){this[D]=e}get x(){return this[D]}set y(e){this[O]=e}get y(){return this[O]}set z(e){this[Wi]=e}get z(){return this[Wi]}set w(e){this[Gi]=e}get w(){return this[Gi]}},r_=class{static extendClasses(e){class t extends Bh{}t.prototype[b]=e,e.Document=t;class n extends Vh{}n.prototype[b]=e,e.HTMLDocument=n;class r extends Hh{}r.prototype[b]=e,e.XMLDocument=r;class i extends hh{}i.prototype[b]=e,e.DocumentFragment=i;class a extends Uh{}a.prototype[b]=e,e.Text=a;class o extends Wh{}o.prototype[b]=e,e.Comment=o;class s extends Gh{}s.prototype[b]=e,e.Image=s;class c extends Kh{}c.prototype[b]=e,e.Audio=c;class l extends Jh{}l.prototype[b]=e,e.MutationObserver=l;class u extends Yh{}u.prototype[b]=e,e.MessagePort=u;class d extends Qh{}d.prototype[b]=e,e.CSSStyleSheet=d;class f extends _s{}e.DOMException=f;class p extends vs{}p.prototype[b]=e,e.Headers=p;class ee extends Iu{}ee.prototype[b]=e,e.Request=ee;class te extends Ru{}te.prototype[b]=e,te[b]=e,e.Response=te;class ne extends nl{}ne.prototype[b]=e,e.EventTarget=ne;class re extends eg{}re.prototype[b]=e,e.XMLHttpRequestUpload=re;class ie extends $h{}ie.prototype[b]=e,e.XMLHttpRequestEventTarget=ie;class ae extends tg{}ae.prototype[b]=e,e.AbortController=ae;class oe extends ng{}oe.prototype[b]=e,oe[b]=e,e.AbortSignal=oe;class se extends Tu{}se.prototype[b]=e,e.FormData=se;class ce extends rg{}ce.prototype[b]=e,e.PermissionStatus=ce;class le extends lg{}le.prototype[b]=e,e.XMLHttpRequest=le;class ue extends bg{}ue.prototype[b]=e,e.DOMParser=ue;class de extends Cg{}de.prototype[b]=e,e.Range=de;class fe extends Tg{}fe.prototype[b]=e,e.VTTCue=fe;class pe extends Eg{}pe.prototype[b]=e,e.TextTrack=pe;class me extends Dg{}me.prototype[b]=e,e.TextTrackList=me;class he extends wg{}he.prototype[b]=e,e.TextTrackCue=he;class ge extends Og{}ge.prototype[b]=e,e.RemotePlayback=ge;class _e extends Bg{}_e.prototype[b]=e,e.FileReader=_e;class ve extends If{}ve.prototype[b]=e,e.MediaStream=ve;class ye extends Ug{}ye.prototype[b]=e,e.MediaStreamTrack=ye;class be extends Wg{}be.prototype[b]=e,e.CanvasCaptureMediaStreamTrack=be;class xe extends mu{}xe.prototype[b]=e,e.URL=xe;class Se extends Jg{}Se.prototype[b]=e,e.WebSocket=Se;class Ce extends Yg{}Ce.prototype[b]=e,e.ImageData=Ce;class we extends Xf{}we.prototype[b]=e,e.OffscreenCanvas=we;class Te extends $g{}Te.prototype[b]=e,e.DOMMatrixReadOnly=Te;class Ee extends e_{}Ee.prototype[b]=e,e.DOMMatrix=Ee;class De extends t_{}De.prototype[b]=e,e.DOMPointReadOnly=De;class Oe extends n_{}Oe.prototype[b]=e,e.DOMPoint=Oe}};const i_=/[\t\f\n\r ,]+/;var a_=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N||(this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute,t!==N))throw TypeError(`Illegal constructor`);let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){this[M].attributeValue=``,this[M].items=[],this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGStringList': 1 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e){this.clear();return}return this[L](e),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),this[L](n.join(` `)),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return this.removeItem(t);let n=this[P]();t<0?t=0:t>=n.length&&(t=n.length-1);let r=n[t];return n[t]=e,this[L](n.join(` `)),r}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return t.splice(e,1),this[L](t.join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),this[L](t.join(` `)),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;let n=[],r=e.trim();if(r)for(let e of r.split(i_))n.includes(e)||n.push(e);return t.attributeValue=e,t.items=n,n}};const o_=/([a-zA-Z0-9]+)\(([^)]+)\)/,s_=/[\s,]+/;var c_=class e{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get a(){return this[Sa]().a}set a(e){if(this[F])return;let t=this[Sa]();t.a=e,this[Ca](t)}get b(){return this[Sa]().b}set b(e){if(this[F])return;let t=this[Sa]();t.b=e,this[Ca](t)}get c(){return this[Sa]().c}set c(e){if(this[F])return;let t=this[Sa]();t.c=e,this[Ca](t)}get d(){return this[Sa]().d}set d(e){if(this[F])return;let t=this[Sa]();t.d=e,this[Ca](t)}get e(){return this[Sa]().e}set e(e){if(this[F])return;let t=this[Sa]();t.e=e,this[Ca](t)}get f(){return this[Sa]().f}set f(e){if(this[F])return;let t=this[Sa]();t.f=e,this[Ca](t)}multiply(t){if(!(t instanceof e))throw new this[b].TypeError(`Failed to execute 'multiply' on 'SVGMatrix': parameter 1 is not of type 'SVGMatrix'.`);let n=this[Sa](),r=new e(N,this[b]);return n.multiplySelf(t[Sa]()),r[Ca](n),r}translate(t=0,n=0){let r=this[Sa](),i=new e(N,this[b]);return r.translateSelf(t,n),i[Ca](r),i}scale(t){let n=this[Sa](),r=new e(N,this[b]);return n.scaleSelf(t),r[Ca](n),r}scaleNonUniform(t=1,n=1){let r=this[Sa](),i=new e(N,this[b]);return r.scaleNonUniformSelf(t,n),i[Ca](r),i}rotate(t){let n=this[Sa](),r=new e(N,this[b]);return n.rotateSelf(t),r[Ca](n),r}rotateFromVector(t=0,n=0){let r=this[Sa](),i=new e(N,this[b]);return r.rotateFromVectorSelf(t,n),i[Ca](r),i}skewX(t){let n=this[Sa](),r=new e(N,this[b]);return n.skewXSelf(t),r[Ca](n),r}skewY(t){let n=this[Sa](),r=new e(N,this[b]);return n.skewYSelf(t),r[Ca](n),r}flipX(){let t=this[Sa](),n=new e(N,this[b]);return t.flipXSelf(),n[Ca](t),n}flipY(){let t=this[Sa](),n=new e(N,this[b]);return t.flipYSelf(),n[Ca](t),n}inverse(){let t=this[Sa](),n=new e(N,this[b]);return t.invertSelf(),n[Ca](t),n}[Sa](){let e=this[I]?this[I]():this[R],t=this[b];if(!e)return new t.DOMMatrix;let n=e.match(o_);if(!n)return new t.DOMMatrix;let r=[];for(let i of n[2].trim().split(s_)){let n=Number(i);if(isNaN(n))throw new t.TypeError(`Failed to parse transform attribute: Expected number, but got "${i}" in "${e}".`);r.push(n)}switch(n[1]){case`matrix`:if(r.length!==6)throw new t.TypeError(`Failed to parse transform attribute: Expected 6 parameters in "${e}".`);return e_[qi](e);case`scale`:case`translate`:if(r.length!==1&&r.length!==2)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 or 2 parameters in "${e}".`);return e_[qi](e);case`skewY`:case`skewX`:if(r.length!==1)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 parameter in "${e}".`);return e_[qi](e);case`rotate`:let n=new t.DOMMatrix;if(r.length!==1&&r.length!==3)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 or 3 parameters in "${e}".`);let[i,a,o]=r;(a||o)&&n.translateSelf(a,o);let s=i*Math.PI/180;return n.multiplySelf(new t.DOMMatrix([Math.cos(s),Math.sin(s),-Math.sin(s),Math.cos(s),0,0])),(a||o)&&n.translateSelf(-a,-o),n;default:throw new this[b].TypeError(`Failed to parse transform attribute: Unknown transformation "${e}".`)}}[Ca](e){this[R]=e.toString().replace(/, /g,` `),this[L]&&this[L](this[R])}},l_;(function(e){e[e.unknown=0]=`unknown`,e[e.matrix=1]=`matrix`,e[e.translate=2]=`translate`,e[e.scale=3]=`scale`,e[e.rotate=4]=`rotate`,e[e.skewX=5]=`skewX`,e[e.skewY=6]=`skewY`})(l_||={});var u_=l_;const d_=/([a-zA-Z0-9]+)\(([^)]+)\)/,f_=/[\s,]+/;var p_=class{static SVG_TRANSFORM_UNKNOWN=u_.unknown;static SVG_TRANSFORM_MATRIX=u_.matrix;static SVG_TRANSFORM_TRANSLATE=u_.translate;static SVG_TRANSFORM_SCALE=u_.scale;static SVG_TRANSFORM_ROTATE=u_.rotate;static SVG_TRANSFORM_SKEWX=u_.skewX;static SVG_TRANSFORM_SKEWY=u_.skewY;[b];[I]=null;[L]=null;[R]=null;[F]=!1;[xa]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get type(){let e=(this[I]?this[I]():this[R])?.match(d_);if(!e)return u_.unknown;switch(e[1]){case`matrix`:return u_.matrix;case`translate`:return u_.translate;case`rotate`:return u_.rotate;case`scale`:return u_.scale;case`skewX`:return u_.skewX;case`skewY`:return u_.skewY}return 0}get angle(){let e=(this[I]?this[I]():this[R])?.match(d_);if(!e)return 0;let t=parseFloat(e[2].trim().split(f_)[0]);if(isNaN(t))return 0;switch(e[1]){case`rotate`:case`skewX`:case`skewY`:return t}return 0}get matrix(){return this[xa]||(this[xa]=new c_(N,this[b],{readOnly:this[F],getAttribute:()=>this[I]?this[I]():this[R],setAttribute:e=>{if(this[R]=e,this[L]){this[L](e);return}}})),this[xa]}setMatrix(e){if(!(e instanceof c_))throw TypeError(`Failed to set the "matrix" property on "SVGTransform": The provided value is not of type "SVGMatrix".`);this[F]||(this[xa]&&(this[xa][I]=null,this[xa][L]=null),e[I]=()=>this[I]?this[I]():this[R],e[L]=e=>{if(this[R]=e,this[L]){this[L](e);return}},this[xa]=e,e[R]!==this[R]&&(this[R]=e[R],this[L]&&this[L](this[R]||``)))}setTranslate(e,t){if(arguments.length<2)throw TypeError(`Failed to execute 'setTranslate' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw TypeError(`Failed to execute 'setTranslate' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`translate(${e} ${t})`,this[L]&&this[L](this[R]))}setScale(e,t){if(arguments.length<2)throw TypeError(`Failed to execute 'setScale' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw TypeError(`Failed to execute 'setScale' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`scale(${e} ${t})`,this[L]&&this[L](this[R]))}setRotate(e,t,n){if(arguments.length<3)throw TypeError(`Failed to execute 'setRotate' on 'SVGTransform': 3 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),n=Number(n),isNaN(e)||isNaN(t)||isNaN(n))throw TypeError(`Failed to execute 'setRotate' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`rotate(${e} ${t} ${n})`,this[L]&&this[L](this[R]))}setSkewX(e){if(arguments.length<1)throw TypeError(`Failed to execute 'setSkewX' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw TypeError(`Failed to execute 'setSkewX' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`skewX(${e})`,this[L]&&this[L](this[R]))}setSkewY(e){if(arguments.length<1)throw TypeError(`Failed to execute 'setSkewY' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw TypeError(`Failed to execute 'setSkewY' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`skewY(${e})`,this[L]&&this[L](this[R]))}};const m_=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,h_=`matrix(1 0 0 1 0 0)`;var g_=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGTransformList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGTransformList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[M].attributeValue=t.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=new RegExp(m_),t;for(;t=e.exec(r);){let e=new p_(N,this[b],{readOnly:this[F],getAttribute:()=>e[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)}});e[R]=`${t[1]}(${t[2]})`,n.push(e)}}return t.attributeValue=e,t.items=n,n}},__=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new g_(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:()=>{}})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new g_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},v_=class extends _h{[$r]=null;[ei]=null;[ti]=null;get oncopy(){return Z.getEventListener(this,`oncopy`)}set oncopy(e){this[V].set(`oncopy`,e)}get oncut(){return Z.getEventListener(this,`oncut`)}set oncut(e){this[V].set(`oncut`,e)}get onpaste(){return Z.getEventListener(this,`onpaste`)}set onpaste(e){this[V].set(`onpaste`,e)}get requiredExtensions(){return this[$r]||(this[$r]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`requiredExtensions`),setAttribute:e=>this.setAttribute(`requiredExtensions`,e)})),this[$r]}get systemLanguage(){return this[ei]||(this[ei]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`systemLanguage`),setAttribute:e=>this.setAttribute(`systemLanguage`,e)})),this[ei]}get transform(){return this[ti]||(this[ti]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`transform`),setAttribute:e=>this.setAttribute(`transform`,e)})),this[ti]}getBBox(){return new Dd}getCTM(){return new this[b].DOMMatrix}getScreenCTM(){return new this[b].DOMMatrix}},y_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get x(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[0]);return isNaN(n)?0:n}set x(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'x' property on 'SVGRect': The object is read-only.`);this[R]=`${String(typeof e==`number`?e:parseFloat(e))} ${this.y} ${this.width} ${this.height}`,this[L]&&this[L](this[R])}get y(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[1]);return isNaN(n)?0:n}set y(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'y' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${String(typeof e==`number`?e:parseFloat(e))} ${this.width} ${this.height}`,this[L]&&this[L](this[R])}get width(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[2]);return isNaN(n)?0:n}set width(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'width' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${this.y} ${String(typeof e==`number`?e:parseFloat(e))} ${this.height}`,this[L]&&this[L](this[R])}get height(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[3]);return isNaN(n)?0:n}set height(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'height' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${this.y} ${this.width} ${String(typeof e==`number`?e:parseFloat(e))}`,this[L]&&this[L](this[R])}};const b_=/[\t\f\n\r, ]+/;var x_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get x(){let e=((this[I]?this[I]():this[R])||``).split(b_);return e[0]?parseFloat(e[0]):0}set x(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'x' property on 'SVGPoint': The object is read-only.`);this[R]=`${e} ${this.y}`,this[L]&&this[L](this[R])}get y(){let e=((this[I]?this[I]():this[R])||``).split(b_);return e[1]?parseFloat(e[1]):0}set y(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'y' property on 'SVGPoint': The object is read-only.`);this[R]=`${this.x} ${e}`,this[L]&&this[L](this[R])}},S_;(function(e){e[e.unknown=0]=`unknown`,e[e.number=1]=`number`,e[e.percentage=2]=`percentage`,e[e.ems=3]=`ems`,e[e.exs=4]=`exs`,e[e.px=5]=`px`,e[e.cm=6]=`cm`,e[e.mm=7]=`mm`,e[e.in=8]=`in`,e[e.pt=9]=`pt`,e[e.pc=10]=`pc`})(S_||={});var C_=S_;const w_=/^(\d+|\d+\.\d+)(px|em|ex|cm|mm|in|pt|pc|%|)$/;var T_=class{static SVG_LENGTHTYPE_UNKNOWN=C_.unknown;static SVG_LENGTHTYPE_NUMBER=C_.number;static SVG_LENGTHTYPE_PERCENTAGE=C_.percentage;static SVG_LENGTHTYPE_EMS=C_.ems;static SVG_LENGTHTYPE_EXS=C_.exs;static SVG_LENGTHTYPE_PX=C_.px;static SVG_LENGTHTYPE_CM=C_.cm;static SVG_LENGTHTYPE_MM=C_.mm;static SVG_LENGTHTYPE_IN=C_.in;static SVG_LENGTHTYPE_PT=C_.pt;static SVG_LENGTHTYPE_PC=C_.pc;[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get unitType(){let e=(this[I]?this[I]()||``:this[R]||``).match(w_);if(!e||isNaN(parseFloat(e[1])))return C_.unknown;switch(e[2]){case``:return C_.number;case`px`:return C_.px;case`cm`:return C_.cm;case`mm`:return C_.mm;case`in`:return C_.in;case`pt`:return C_.pt;case`pc`:return C_.pc;case`em`:case`ex`:case`%`:throw new this[b].TypeError(`Failed to execute 'value' on 'SVGLength': Could not resolve relative length.`);default:return C_.unknown}}get value(){let e=(this[I]?this[I]()||``:this[R]||``).match(w_);if(!e)return 0;let t=parseFloat(e[1]);if(isNaN(t))return 0;switch(e[2]){case``:return t;case`px`:return t;case`cm`:return t/2.54*96;case`mm`:return t/25.4*96;case`in`:return t*96;case`pt`:return t*72;case`pc`:return t*6;case`em`:case`ex`:case`%`:throw new this[b].TypeError(`Failed to execute 'value' on 'SVGLength': Could not resolve relative length.`);default:return 0}}set value(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': The object is read-only.`);if(e=typeof e==`number`?e:parseFloat(String(e)),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': The provided float value is non-finite.`);let t=``,n=e;switch(this.unitType){case C_.number:n=e,t=``;break;case C_.px:n=e,t=`px`;break;case C_.cm:n=e/96*2.54,t=`cm`;break;case C_.mm:n=e/96*25.4,t=`mm`;break;case C_.in:n=e/96,t=`in`;break;case C_.pt:n=e/72,t=`pt`;break;case C_.pc:n=e/6,t=`pc`;break;case C_.percentage:case C_.ems:case C_.exs:throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(n)+t,this[L]&&this[L](this[R])}get valueAsString(){return this[I]?this[I]()||`0`:this[R]||`0`}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.`);if(t=typeof t==`number`?t:parseFloat(String(t)),isNaN(t))throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The provided float value is non-finite.`);let n=``;switch(e){case C_.number:n=``;break;case C_.px:n=`px`;break;case C_.cm:n=`cm`;break;case C_.mm:n=`mm`;break;case C_.in:n=`in`;break;case C_.pt:n=`pt`;break;case C_.pc:n=`pc`;break;case C_.ems:case C_.exs:case C_.percentage:throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}convertToSpecifiedUnits(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.`);let t=this.value,n=``;switch(e){case C_.number:n=``;break;case C_.px:n=`px`;break;case C_.cm:t=t/96*2.54,n=`cm`;break;case C_.mm:t=t/96*25.4,n=`mm`;break;case C_.in:t/=96,n=`in`;break;case C_.pt:t/=72,n=`pt`;break;case C_.pc:t/=6,n=`pc`;break;case C_.percentage:case C_.ems:case C_.exs:throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}},E_;(function(e){e[e.unknown=0]=`unknown`,e[e.unspecified=1]=`unspecified`,e[e.deg=2]=`deg`,e[e.rad=3]=`rad`,e[e.grad=4]=`grad`})(E_||={});var D_=E_;const O_=/^(\d+|\d+\.\d+)(deg|rad|grad|turn|)$/;var k_=class{static SVG_ANGLETYPE_UNKNOWN=D_.unknown;static SVG_ANGLETYPE_UNSPECIFIED=D_.unspecified;static SVG_ANGLETYPE_DEG=D_.deg;static SVG_ANGLETYPE_RAD=D_.rad;static SVG_ANGLETYPE_GRAD=D_.grad;[b];[I]=null;[L]=null;[R]=``;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get unitType(){let e=(this[I]?this[I]():this[R])?.match(O_);if(!e||isNaN(parseFloat(e[1])))return D_.unknown;switch(e[2]){case``:return D_.unspecified;case`deg`:return D_.deg;case`rad`:return D_.rad;case`grad`:return D_.grad;case`turn`:return D_.unknown;default:return D_.unspecified}}get value(){let e=(this[I]?this[I]():this[R])?.match(O_);if(!e)return 0;let t=parseFloat(e[1]);if(isNaN(t))return 0;switch(e[2]){case``:return t;case`deg`:return t;case`rad`:return 180/Math.PI*t;case`grad`:return 180/200*t;case`turn`:return t*360;default:return t}}set value(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGAngle': The object is read-only.`);if(e=typeof e==`number`?e:parseFloat(String(e)),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.`);let t=``,n=e;switch(this.unitType){case D_.unspecified:n=e,t=``;break;case D_.deg:n=e,t=`deg`;break;case D_.rad:n=e/(180/Math.PI),t=`rad`;break;case D_.grad:n=e/(180/200),t=`grad`;break;case D_.unknown:n=e/360,t=`turn`;default:break}this[R]=String(n)+t,this[L]&&this[L](this[R])}get valueAsString(){return this[I]?this[I]()||`0`:this[R]||`0`}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.`);if(t=typeof t==`number`?t:parseFloat(t),isNaN(t))throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.`);let n=``;switch(e){case D_.unspecified:n=``;break;case D_.deg:n=`deg`;break;case D_.rad:n=`rad`;break;case D_.grad:n=`grad`;break;case D_.unknown:n=`turn`;break;default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}convertToSpecifiedUnits(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.`);let t=this.value,n=``;switch(e){case D_.unspecified:n=``;break;case D_.deg:n=`deg`;break;case D_.rad:n=`rad`,t/=180/Math.PI;break;case D_.grad:n=`grad`,t/=180/200;break;case D_.unknown:n=`turn`,t/=360;break;default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}},A_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get value(){let e=this[I]?this[I]():this[R];return parseFloat(e||`0`)}set value(e){if(this[F])throw TypeError(`Failed to set the 'value' property on 'SVGNumber': The object is read-only.`);if(isNaN(typeof e==`number`?e:parseFloat(String(e))))throw TypeError(`Failed to set the 'value' property on 'SVGNumber': The provided value is not a number.`);this[R]=String(e),this[L]&&this[L](this[R]||``)}},j_=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new y_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new y_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},M_;(function(e){e[e.unknown=0]=`unknown`,e[e.meet=1]=`meet`,e[e.slice=2]=`slice`})(M_||={});var N_=M_,P_;(function(e){e[e.unknown=0]=`unknown`,e[e.none=1]=`none`,e[e.xMinYMin=2]=`xMinYMin`,e[e.xMidYMin=3]=`xMidYMin`,e[e.xMaxYMin=4]=`xMaxYMin`,e[e.xMinYMid=5]=`xMinYMid`,e[e.xMidYMid=6]=`xMidYMid`,e[e.xMaxYMid=7]=`xMaxYMid`,e[e.xMinYMax=8]=`xMinYMax`,e[e.xMidYMax=9]=`xMidYMax`,e[e.xMaxYMax=10]=`xMaxYMax`})(P_||={});var F_=P_;const I_=Object.values(F_);I_.length=I_.indexOf(0);const L_=Object.values(N_);L_.length=L_.indexOf(0);var R_=class{static SVG_MEETORSLICE_UNKNOWN=N_.unknown;static SVG_MEETORSLICE_MEET=N_.meet;static SVG_MEETORSLICE_SLICE=N_.slice;static SVG_PRESERVEASPECTRATIO_UNKNOWN=F_.unknown;static SVG_PRESERVEASPECTRATIO_NONE=F_.none;static SVG_PRESERVEASPECTRATIO_XMINYMIN=F_.xMinYMin;static SVG_PRESERVEASPECTRATIO_XMIDYMIN=F_.xMidYMin;static SVG_PRESERVEASPECTRATIO_XMAXYMIN=F_.xMaxYMin;static SVG_PRESERVEASPECTRATIO_XMINYMID=F_.xMinYMid;static SVG_PRESERVEASPECTRATIO_XMIDYMID=F_.xMidYMid;static SVG_PRESERVEASPECTRATIO_XMAXYMID=F_.xMaxYMid;static SVG_PRESERVEASPECTRATIO_XMINYMAX=F_.xMinYMax;static SVG_PRESERVEASPECTRATIO_XMIDYMAX=F_.xMidYMax;static SVG_PRESERVEASPECTRATIO_XMAXYMAX=F_.xMaxYMax;[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get align(){let e=this[I]?this[I]():this[R];if(!e)return F_.xMidYMid;let t=e.split(/\s+/)[0];return F_[t]===void 0?F_.xMidYMid:F_[t]}set align(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'align' property on 'SVGPreserveAspectRatio': The object is read-only.`);let t=Number(e);if(isNaN(t)||t<1||t>I_.length)throw new this[b].TypeError(`Failed to set the 'align' property on 'SVGPreserveAspectRatio': The alignment provided is invalid.`);this[R]=`${I_[t]} ${L_[this.meetOrSlice]}`,this[L]&&this[L](this[R])}get meetOrSlice(){let e=this[I]?this[I]():this[R];if(!e)return N_.meet;let t=e.split(/\s+/)[1];return!t||N_[t]===void 0?N_.meet:N_[t]}set meetOrSlice(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The object is read-only.`);let t=Number(e);if(isNaN(t)||t<1||t>2)throw new this[b].TypeError(`Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The meetOrSlice provided is invalid.`);this[R]=`${I_[this.align]} ${L_[t]}`,this[L]&&this[L](this[R])}},z_=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new R_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new R_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},$=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new T_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new T_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},B_=class extends v_{[mi]=null;[D]=null;[O]=null;[y]=null;[h]=null;[So]=1;[ai]=null;get onafterprint(){return Z.getEventListener(this,`onafterprint`)}set onafterprint(e){this[V].set(`onafterprint`,e)}get onbeforeprint(){return Z.getEventListener(this,`onbeforeprint`)}set onbeforeprint(e){this[V].set(`onbeforeprint`,e)}get onbeforeunload(){return Z.getEventListener(this,`onbeforeunload`)}set onbeforeunload(e){this[V].set(`onbeforeunload`,e)}get ongamepadconnected(){return Z.getEventListener(this,`ongamepadconnected`)}set ongamepadconnected(e){this[V].set(`ongamepadconnected`,e)}get ongamepaddisconnected(){return Z.getEventListener(this,`ongamepaddisconnected`)}set ongamepaddisconnected(e){this[V].set(`ongamepaddisconnected`,e)}get onhashchange(){return Z.getEventListener(this,`onhashchange`)}set onhashchange(e){this[V].set(`onhashchange`,e)}get onlanguagechange(){return Z.getEventListener(this,`onlanguagechange`)}set onlanguagechange(e){this[V].set(`onlanguagechange`,e)}get onmessage(){return Z.getEventListener(this,`onmessage`)}set onmessage(e){this[V].set(`onmessage`,e)}get onmessageerror(){return Z.getEventListener(this,`onmessageerror`)}set onmessageerror(e){this[V].set(`onmessageerror`,e)}get onoffline(){return Z.getEventListener(this,`onoffline`)}set onoffline(e){this[V].set(`onoffline`,e)}get ononline(){return Z.getEventListener(this,`ononline`)}set ononline(e){this[V].set(`ononline`,e)}get onpagehide(){return Z.getEventListener(this,`onpagehide`)}set onpagehide(e){this[V].set(`onpagehide`,e)}get onpageshow(){return Z.getEventListener(this,`onpageshow`)}set onpageshow(e){this[V].set(`onpageshow`,e)}get onpopstate(){return Z.getEventListener(this,`onpopstate`)}set onpopstate(e){this[V].set(`onpopstate`,e)}get onrejectionhandled(){return Z.getEventListener(this,`onrejectionhandled`)}set onrejectionhandled(e){this[V].set(`onrejectionhandled`,e)}get onstorage(){return Z.getEventListener(this,`onstorage`)}set onstorage(e){this[V].set(`onstorage`,e)}get onunhandledrejection(){return Z.getEventListener(this,`onunhandledrejection`)}set onunhandledrejection(e){this[V].set(`onunhandledrejection`,e)}get onunload(){return Z.getEventListener(this,`onunload`)}set onunload(e){this[V].set(`onunload`,e)}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get currentScale(){return this[So]}set currentScale(e){let t=typeof e==`number`?e:parseFloat(String(e));if(isNaN(t))throw this[b].TypeError(`Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non-finite.`);t<1||(this[So]=t)}get currentTranslate(){return new x_(N,this[b])}get viewBox(){return this[ai]||(this[ai]=new j_(N,this[b],{getAttribute:()=>this.getAttribute(`viewBox`),setAttribute:e=>this.setAttribute(`viewBox`,e)})),this[ai]}pauseAnimations(){}unpauseAnimations(){}animationsPaused(){return!1}getCurrentTime(){return 0}setCurrentTime(e){}getIntersectionList(e,t){return new Vc(N,[])}getEnclosureList(e,t){return new Vc(N,[])}checkIntersection(e,t){return!1}checkEnclosure(e,t){return!1}deselectAll(){}createSVGNumber(){return new A_(N,this[b])}createSVGLength(){return new T_(N,this[b])}createSVGAngle(){return new k_(N,this[b])}createSVGPoint(){return new x_(N,this[b])}createSVGMatrix(){return new c_(N,this[b])}createSVGRect(){return new y_(N,this[b])}createSVGTransform(){return new p_(N,this[b])}createSVGTransformFromMatrix(e){let t=new p_(N,this[b]);return t.setMatrix(e),t}getElementsByClassName(e){return jd.getElementsByClassName(this,e)}getElementsByTagName(e){return jd.getElementsByTagName(this,e)}getElementsByTagNameNS(e,t){return jd.getElementsByTagNameNS(this,e,t)}getElementById(e){return jd.getElementById(this,e)}[Nn](e=!1){return super[Nn](e)}},V_=class extends _h{[$r]=null;[ei]=null;get onbegin(){return Z.getEventListener(this,`onbegin`)}set onbegin(e){this[V].set(`onbegin`,e)}get onend(){return Z.getEventListener(this,`onend`)}set onend(e){this[V].set(`onend`,e)}get onrepeat(){return Z.getEventListener(this,`onrepeat`)}set onrepeat(e){this[V].set(`onrepeat`,e)}get requiredExtensions(){return this[$r]||(this[$r]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`requiredExtensions`),setAttribute:e=>this.setAttribute(`requiredExtensions`,e)})),this[$r]}get systemLanguage(){return this[ei]||(this[ei]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`systemLanguage`),setAttribute:e=>this.setAttribute(`systemLanguage`,e)})),this[ei]}get targetElement(){return null}},H_=class extends V_{},U_=class extends V_{},W_=class extends V_{},G_=class{[b];[I];[L];[mr]=0;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute,this[mr]=n.defaultValue||0}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return this[mr];let t=parseFloat(e);return isNaN(t)?this[mr]:t}set baseVal(e){let t=typeof e==`number`?e:parseFloat(e);if(isNaN(t))throw new this[b].TypeError(`TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provided float value is non-finite.`);this[L](String(t))}},K_=class extends v_{[ii]=null;get pathLength(){return this[ii]||(this[ii]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pathLength`),setAttribute:e=>this.setAttribute(`pathLength`,e)})),this[ii]}isPointInFill(e){if(!(e instanceof x_))throw TypeError(`Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.`);return!1}isPointInStroke(e){if(!(e instanceof x_))throw TypeError(`Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.`);return!1}getTotalLength(){return 0}getPointAtLength(e){return new x_(N,this[b])}},q_=class extends K_{[yi]=null;[bi]=null;[xi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get r(){return this[xi]||(this[xi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`r`),setAttribute:e=>this.setAttribute(`r`,e)})),this[xi]}},J_=class{[b];[I];[L];[li];[mr];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute,this[li]=n.values,this[mr]=n.defaultValue}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return this[li].indexOf(this[mr])+1;let t=this[li].indexOf(e);if(t===-1){let e=this[li].indexOf(null);return e===-1?0:e+1}return t+1}set baseVal(e){let t=Number(e);if(isNaN(t)&&(t=0),t<1)throw TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is ${t}, which is not settable.`);if(t>this[li].length)throw TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (${t}) is larger than the largest allowed value (${this[li].length}).`);let n=this[I](),r=this[li][t-1]===null,i=r?`0`:this[li][t-1];(!n||r&&this[li].includes(n)||!r&&n!==i)&&this[L](i||``)}},Y_=class extends _h{[Si]=null;get clipPathUnits(){return this[Si]||(this[Si]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`clipPathUnits`),setAttribute:e=>this.setAttribute(`clipPathUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Si]}},X_=class extends v_{},Z_=class extends _h{},Q_=class extends K_{[yi]=null;[bi]=null;[_i]=null;[vi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get rx(){return this[_i]||(this[_i]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`rx`),setAttribute:e=>this.setAttribute(`rx`,e)})),this[_i]}get ry(){return this[vi]||(this[vi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`ry`),setAttribute:e=>this.setAttribute(`ry`,e)})),this[vi]}},$_=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){return this[I]()||``}set baseVal(e){this[L](String(e))}},ev=class extends _h{static SVG_FEBLEND_MODE_UNKNOWN=0;static SVG_FEBLEND_MODE_NORMAL=1;static SVG_FEBLEND_MODE_MULTIPLY=2;static SVG_FEBLEND_MODE_SCREEN=3;static SVG_FEBLEND_MODE_DARKEN=4;static SVG_FEBLEND_MODE_LIGHTEN=5;static SVG_FEBLEND_MODE_OVERLAY=6;static SVG_FEBLEND_MODE_COLOR_DODGE=7;static SVG_FEBLEND_MODE_COLOR_BURN=8;static SVG_FEBLEND_MODE_HARD_LIGHT=9;static SVG_FEBLEND_MODE_SOFT_LIGHT=10;static SVG_FEBLEND_MODE_DIFFERENCE=11;static SVG_FEBLEND_MODE_EXCLUSION=12;static SVG_FEBLEND_MODE_HUE=13;static SVG_FEBLEND_MODE_SATURATION=14;static SVG_FEBLEND_MODE_COLOR=15;static SVG_FEBLEND_MODE_LUMINOSITY=16;[h]=null;[z]=null;[Da]=null;[xn]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get mode(){return this[xn]||(this[xn]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`mode`),setAttribute:e=>this.setAttribute(`mode`,e),values:[`normal`,`multiply`,`screen`,`darken`,`lighten`,`overlay`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],defaultValue:`normal`})),this[xn]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}};const tv=/[\t\f\n\r, ]+/;var nv=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N||(this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute,t!==N))throw TypeError(`Illegal constructor`);let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGNumberList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGNumberList': 1 arguments required, but only ${arguments.length} present.`);if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGNumberList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]||`0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(tv);for(let t=0,r=e.length;t<r;t++){let r=new A_(N,this[b],{readOnly:this[F],getAttribute:()=>r[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)}});r[R]=String(parseFloat(e[t])),n.push(r)}}return t.attributeValue=e,t.items=n,n}},rv=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new nv(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:()=>{}})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new nv(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},iv=class extends _h{static SVG_FEBLEND_TYPE_UNKNOWN=0;static SVG_FEBLEND_TYPE_MATRIX=1;static SVG_FEBLEND_TYPE_SATURATE=2;static SVG_FEBLEND_TYPE_HUEROTATE=3;static SVG_FEBLEND_TYPE_LUMINANCETOALPHA=4;[h]=null;[z]=null;[Da]=null;[B]=null;[qr]=null;[li]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`matrix`,`saturate`,`huerotate`,`luminancetoalpha`],defaultValue:`matrix`})),this[qr]}get values(){return this[li]||(this[li]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`values`),setAttribute:e=>this.setAttribute(`values`,e)})),this[li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},av=class extends _h{[h]=null;[z]=null;[B]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},ov=class extends _h{static SVG_FECOMPOSITE_OPERATOR_UNKNOWN=0;static SVG_FECOMPOSITE_OPERATOR_OVER=1;static SVG_FECOMPOSITE_OPERATOR_IN=2;static SVG_FECOMPOSITE_OPERATOR_OUT=3;static SVG_FECOMPOSITE_OPERATOR_ATOP=4;static SVG_FECOMPOSITE_OPERATOR_XOR=5;static SVG_FECOMPOSITE_OPERATOR_ARITHMETIC=6;[h]=null;[z]=null;[B]=null;[qr]=null;[li]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`over`,`in`,`out`,`atop`,`xor`,`arithmetic`],defaultValue:`over`})),this[qr]}get values(){return this[li]||(this[li]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`values`),setAttribute:e=>this.setAttribute(`values`,e)})),this[li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},sv=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){return this[I]()===`true`}set baseVal(e){this[L](String(typeof e==`boolean`?e:!!e))}},cv=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return 0;let t=parseInt(e);return isNaN(t)?0:t}set baseVal(e){let t=parseInt(String(e));if(isNaN(t))throw new this[b].TypeError(`TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedInteger': The provided float value is non-finite.`);this[L](String(t))}},lv=class extends _h{static SVG_EDGEMODE_UNKNOWN=0;static SVG_EDGEMODE_DUPLICATE=1;static SVG_EDGEMODE_WRAP=2;static SVG_EDGEMODE_NONE=3;[Oa]=null;[ka]=null;[Aa]=null;[h]=null;[z]=null;[ja]=null;[Ma]=null;[Na]=null;[Pa]=null;[Fa]=null;[Ia]=null;[B]=null;[La]=null;[Ra]=null;[y]=null;[D]=null;[O]=null;get bias(){return this[Oa]||(this[Oa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`bias`),setAttribute:e=>this.setAttribute(`bias`,e)})),this[Oa]}get divisor(){return this[ka]||(this[ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`divisor`),setAttribute:e=>this.setAttribute(`divisor`,e)})),this[ka]}get edgeMode(){return this[Aa]||(this[Aa]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`edgeMode`),setAttribute:e=>this.setAttribute(`edgeMode`,e),values:[`duplicate`,`wrap`,`none`],defaultValue:`duplicate`})),this[Aa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelMatrix(){return this[ja]||(this[ja]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`kernelMatrix`),setAttribute:e=>this.setAttribute(`kernelMatrix`,e)})),this[ja]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get orderX(){return this[Pa]||(this[Pa]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`orderX`),setAttribute:e=>this.setAttribute(`orderX`,e)})),this[Pa]}get orderY(){return this[Fa]||(this[Fa]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`orderY`),setAttribute:e=>this.setAttribute(`orderY`,e)})),this[Fa]}get preserveAlpha(){return this[Ia]||(this[Ia]=new sv(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAlpha`),setAttribute:e=>this.setAttribute(`preserveAlpha`,e)})),this[Ia]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get targetX(){return this[La]||(this[La]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`targetX`),setAttribute:e=>this.setAttribute(`targetX`,e)})),this[La]}get targetY(){return this[Ra]||(this[Ra]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`targetY`),setAttribute:e=>this.setAttribute(`targetY`,e)})),this[Ra]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},uv=class extends _h{[za]=null;[h]=null;[z]=null;[Ma]=null;[Na]=null;[B]=null;[Ba]=null;[y]=null;[D]=null;[O]=null;get diffuseConstant(){return this[za]||(this[za]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`diffuseConstant`),setAttribute:e=>this.setAttribute(`diffuseConstant`,e)})),this[za]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get surfaceScale(){return this[Ba]||(this[Ba]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`surfaceScale`),setAttribute:e=>this.setAttribute(`surfaceScale`,e)})),this[Ba]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},dv=class extends _h{static SVG_CHANNEL_UNKNOWN=0;static SVG_CHANNEL_R=1;static SVG_CHANNEL_G=2;static SVG_CHANNEL_B=3;static SVG_CHANNEL_A=4;[h]=null;[z]=null;[Da]=null;[B]=null;[Va]=null;[y]=null;[D]=null;[Ha]=null;[O]=null;[Ua]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get scale(){return this[Va]||(this[Va]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`scale`),setAttribute:e=>this.setAttribute(`scale`,e)})),this[Va]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get xChannelSelector(){return this[Ha]||(this[Ha]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`xChannelSelector`),setAttribute:e=>this.setAttribute(`xChannelSelector`,e),values:[`r`,`g`,`b`,`a`],defaultValue:`r`})),this[Ha]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get yChannelSelector(){return this[Ua]||(this[Ua]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`yChannelSelector`),setAttribute:e=>this.setAttribute(`yChannelSelector`,e),values:[`r`,`g`,`b`,`a`],defaultValue:`r`})),this[Ua]}},fv=class extends _h{[Wa]=null;[Ga]=null;get azimuth(){return this[Wa]||(this[Wa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`azimuth`),setAttribute:e=>this.setAttribute(`azimuth`,e)})),this[Wa]}get elevation(){return this[Ga]||(this[Ga]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`elevation`),setAttribute:e=>this.setAttribute(`elevation`,e)})),this[Ga]}},pv=class extends _h{[Ka]=null;[qa]=null;[h]=null;[z]=null;[B]=null;[Ja]=null;[Ya]=null;[y]=null;[D]=null;[O]=null;get dx(){return this[Ka]||(this[Ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get stdDeviationX(){return this[Ja]||(this[Ja]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationX`),setAttribute:e=>this.setAttribute(`stdDeviationX`,e),defaultValue:2})),this[Ja]}get stdDeviationY(){return this[Ya]||(this[Ya]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationY`),setAttribute:e=>this.setAttribute(`stdDeviationY`,e),defaultValue:2})),this[Ya]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}setStdDeviation(e,t){this.stdDeviationX.baseVal=e,this.stdDeviationY.baseVal=t}},mv=class extends _h{[h]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},hv=class extends _h{static SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN=0;static SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY=1;static SVG_FECOMPONENTTRANSFER_TYPE_TABLE=2;static SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE=3;static SVG_FECOMPONENTTRANSFER_TYPE_LINEAR=4;static SVG_FECOMPONENTTRANSFER_TYPE_GAMMA=5;[qr]=null;[Xa]=null;[Za]=null;[Qa]=null;[$a]=null;[eo]=null;[Bi]=null;get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`identity`,`table`,`discrete`,`linear`,`gamma`],defaultValue:`identity`})),this[qr]}get tableValues(){return this[Xa]||(this[Xa]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`tableValues`),setAttribute:e=>this.setAttribute(`tableValues`,e)})),this[Xa]}get slope(){return this[Za]||(this[Za]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`slope`),setAttribute:e=>this.setAttribute(`slope`,e),defaultValue:1})),this[Za]}get intercept(){return this[Qa]||(this[Qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`intercept`),setAttribute:e=>this.setAttribute(`intercept`,e)})),this[Qa]}get amplitude(){return this[$a]||(this[$a]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`amplitude`),setAttribute:e=>this.setAttribute(`amplitude`,e),defaultValue:1})),this[$a]}get exponent(){return this[eo]||(this[eo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`exponent`),setAttribute:e=>this.setAttribute(`exponent`,e),defaultValue:1})),this[eo]}get offset(){return this[Bi]||(this[Bi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`offset`),setAttribute:e=>this.setAttribute(`offset`,e)})),this[Bi]}},gv=class extends hv{},_v=class extends hv{},vv=class extends hv{},yv=class extends hv{},bv=class extends _h{static SVG_EDGEMODE_UNKNOWN=0;static SVG_EDGEMODE_DUPLICATE=1;static SVG_EDGEMODE_WRAP=2;static SVG_EDGEMODE_NONE=3;[Aa]=null;[h]=null;[z]=null;[B]=null;[Ja]=null;[Ya]=null;[y]=null;[D]=null;[O]=null;get edgeMode(){return this[Aa]||(this[Aa]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`edgeMode`),setAttribute:e=>this.setAttribute(`edgeMode`,e),values:[`duplicate`,`wrap`,`none`],defaultValue:`duplicate`})),this[Aa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get stdDeviationX(){return this[Ja]||(this[Ja]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationX`)||`2`,setAttribute:e=>this.setAttribute(`stdDeviationX`,e)})),this[Ja]}get stdDeviationY(){return this[Ya]||(this[Ya]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationY`)||`2`,setAttribute:e=>this.setAttribute(`stdDeviationY`,e)})),this[Ya]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}setStdDeviation(e,t){this.stdDeviationX.baseVal=e,this.stdDeviationY.baseVal=t}},xv=class extends _h{[to]=null;[h]=null;[Di]=null;[mi]=null;[B]=null;[y]=null;[D]=null;[O]=null;get crossOrigin(){return this.getAttribute(`crossorigin`)}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Sv=class extends _h{[h]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Cv=class extends _h{[z]=null;get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}},wv=class extends _h{static SVG_MORPHOLOGY_OPERATOR_UNKNOWN=0;static SVG_MORPHOLOGY_OPERATOR_ERODE=1;static SVG_MORPHOLOGY_OPERATOR_DILATE=2;[h]=null;[z]=null;[no]=null;[ro]=null;[io]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get operator(){return this[no]||(this[no]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`operator`),setAttribute:e=>this.setAttribute(`operator`,e),values:[`erode`,`dilate`],defaultValue:`erode`})),this[no]}get radiusX(){return this[ro]||(this[ro]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`radiusX`),setAttribute:e=>this.setAttribute(`radiusX`,e)})),this[ro]}get radiusY(){return this[io]||(this[io]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`radiusY`),setAttribute:e=>this.setAttribute(`radiusY`,e)})),this[io]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Tv=class extends _h{[h]=null;[z]=null;[Ka]=null;[qa]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get dx(){return this[Ka]||(this[Ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Ev=class extends _h{[D]=null;[O]=null;[Wi]=null;get x(){return this[D]||(this[D]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get z(){return this[Wi]||(this[Wi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`z`),setAttribute:e=>this.setAttribute(`z`,e)})),this[Wi]}},Dv=class extends _h{[h]=null;[z]=null;[Ma]=null;[Na]=null;[B]=null;[ao]=null;[oo]=null;[Ba]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get specularConstant(){return this[ao]||(this[ao]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularConstant`),setAttribute:e=>this.setAttribute(`specularConstant`,e),defaultValue:1})),this[ao]}get specularExponent(){return this[oo]||(this[oo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularExponent`),setAttribute:e=>this.setAttribute(`specularExponent`,e),defaultValue:1})),this[oo]}get surfaceScale(){return this[Ba]||(this[Ba]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`surfaceScale`),setAttribute:e=>this.setAttribute(`surfaceScale`,e),defaultValue:1})),this[Ba]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Ov=class extends _h{[D]=null;[O]=null;[Wi]=null;[so]=null;[co]=null;[lo]=null;[oo]=null;[uo]=null;get x(){return this[D]||(this[D]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get z(){return this[Wi]||(this[Wi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`z`),setAttribute:e=>this.setAttribute(`z`,e)})),this[Wi]}get pointsAtX(){return this[so]||(this[so]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtX`),setAttribute:e=>this.setAttribute(`pointsAtX`,e)})),this[so]}get pointsAtY(){return this[co]||(this[co]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtY`),setAttribute:e=>this.setAttribute(`pointsAtY`,e)})),this[co]}get pointsAtZ(){return this[lo]||(this[lo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtZ`),setAttribute:e=>this.setAttribute(`pointsAtZ`,e)})),this[lo]}get specularExponent(){return this[oo]||(this[oo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularExponent`),setAttribute:e=>this.setAttribute(`specularExponent`,e),defaultValue:1})),this[oo]}get limitingConeAngle(){return this[uo]||(this[uo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`limitingConeAngle`),setAttribute:e=>this.setAttribute(`limitingConeAngle`,e)})),this[uo]}},kv=class extends _h{[h]=null;[z]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Av=class extends _h{static SVG_TURBULENCE_TYPE_UNKNOWN=0;static SVG_TURBULENCE_TYPE_FRACTALNOISE=1;static SVG_TURBULENCE_TYPE_TURBULENCE=2;static SVG_STITCHTYPE_UNKNOWN=0;static SVG_STITCHTYPE_STITCH=1;static SVG_STITCHTYPE_NOSTITCH=2;[fo]=null;[po]=null;[h]=null;[mo]=null;[B]=null;[ho]=null;[go]=null;[qr]=null;[y]=null;[D]=null;[O]=null;get baseFrequencyX(){return this[fo]||(this[fo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`baseFrequencyX`),setAttribute:e=>this.setAttribute(`baseFrequencyX`,e)})),this[fo]}get baseFrequencyY(){return this[po]||(this[po]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`baseFrequencyY`),setAttribute:e=>this.setAttribute(`baseFrequencyY`,e)})),this[po]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get numOctaves(){return this[mo]||(this[mo]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`numOctaves`),setAttribute:e=>this.setAttribute(`numOctaves`,e)})),this[mo]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get seed(){return this[ho]||(this[ho]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`seed`),setAttribute:e=>this.setAttribute(`seed`,e)})),this[ho]}get stitchTiles(){return this[go]||(this[go]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`stitchTiles`),setAttribute:e=>this.setAttribute(`stitchTiles`,e),values:[`stitch`,`noStitch`],defaultValue:`stitch`})),this[go]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`fractalNoise`,`turbulence`],defaultValue:`turbulence`})),this[qr]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},jv=class extends _h{[Di]=null;[Ti]=null;[Ei]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get filterUnits(){return this[Ti]||(this[Ti]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`filterUnits`),setAttribute:e=>this.setAttribute(`filterUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ti]}get primitiveUnits(){return this[Ei]||(this[Ei]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`primitiveUnits`),setAttribute:e=>this.setAttribute(`primitiveUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ei]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Mv=class extends v_{[D]=null;[O]=null;[y]=null;[h]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Nv=class extends v_{},Pv=class extends v_{[Di]=null;[mi]=null;[D]=null;[O]=null;[y]=null;[h]=null;get crossOrigin(){return this.getAttribute(`crossorigin`)}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get decoding(){let e=this.getAttribute(`decoding`);switch(e){case`sync`:case`async`:case`auto`:return e;default:return`auto`}}set decoding(e){this.setAttribute(`decoding`,e)}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}decode(){return Promise.resolve()}},Fv=class extends K_{[Oi]=null;[ki]=null;[Ai]=null;[ji]=null;get x1(){return this[Oi]||(this[Oi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x1`),setAttribute:e=>this.setAttribute(`x1`,e)})),this[Oi]}get y1(){return this[ki]||(this[ki]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y1`),setAttribute:e=>this.setAttribute(`y1`,e)})),this[ki]}get x2(){return this[Ai]||(this[Ai]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x2`),setAttribute:e=>this.setAttribute(`x2`,e)})),this[Ai]}get y2(){return this[ji]||(this[ji]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y2`),setAttribute:e=>this.setAttribute(`y2`,e)})),this[ji]}},Iv=class extends v_{static SVG_SPREADMETHOD_UNKNOWN=0;static SVG_SPREADMETHOD_PAD=1;static SVG_SPREADMETHOD_REFLECT=2;static SVG_SPREADMETHOD_REPEAT=3;[Di]=null;[Mi]=null;[Ni]=null;[Pi]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get gradientUnits(){return this[Mi]||(this[Mi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`gradientUnits`),setAttribute:e=>this.setAttribute(`gradientUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`objectBoundingBox`})),this[Mi]}get gradientTransform(){return this[Ni]||(this[Ni]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`gradientTransform`),setAttribute:e=>this.setAttribute(`gradientTransform`,e)})),this[Ni]}get spreadMethod(){return this[Pi]||(this[Pi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`spreadMethod`),setAttribute:e=>this.setAttribute(`spreadMethod`,e),values:[`pad`,`reflect`,`repeat`],defaultValue:`pad`})),this[Pi]}},Lv=class extends Iv{[Oi]=null;[ki]=null;[Ai]=null;[ji]=null;get x1(){return this[Oi]||(this[Oi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x1`),setAttribute:e=>this.setAttribute(`x1`,e)})),this[Oi]}get y1(){return this[ki]||(this[ki]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y1`),setAttribute:e=>this.setAttribute(`y1`,e)})),this[ki]}get x2(){return this[Ai]||(this[Ai]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x2`),setAttribute:e=>this.setAttribute(`x2`,e)})),this[Ai]}get y2(){return this[ji]||(this[ji]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y2`),setAttribute:e=>this.setAttribute(`y2`,e)})),this[ji]}},Rv=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new k_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new k_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},zv=class extends _h{static SVG_MARKER_ORIENT_UNKNOWN=0;static SVG_MARKER_ORIENT_AUTO=1;static SVG_MARKER_ORIENT_ANGLE=2;static SVG_MARKERUNITS_UNKNOWN=0;static SVG_MARKERUNITS_USERSPACEONUSE=1;static SVG_MARKERUNITS_STROKEWIDTH=2;SVG_MARKER_ORIENT_UNKNOWN=0;SVG_MARKER_ORIENT_AUTO=1;SVG_MARKER_ORIENT_ANGLE=2;[oi]=null;[si]=null;[ci]=null;[ui]=null;[di]=null;[fi]=null;[pi]=null;[ai]=null;[mi]=null;get markerUnits(){return this[oi]||(this[oi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`markerUnits`),setAttribute:e=>this.setAttribute(`markerUnits`,e),values:[`userSpaceOnUse`,`strokeWidth`],defaultValue:`strokeWidth`})),this[oi]}get markerWidth(){return this[si]||(this[si]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`markerWidth`),setAttribute:e=>this.setAttribute(`markerWidth`,e)})),this[si]}get markerHeight(){return this[ci]||(this[ci]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`markerHeight`),setAttribute:e=>this.setAttribute(`markerHeight`,e)})),this[ci]}get orientType(){return this[ui]||(this[ui]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`orient`),setAttribute:e=>this.setAttribute(`orient`,e),values:[`auto`,null],defaultValue:`auto`})),this[ui]}get orientAngle(){return this[di]||(this[di]=new Rv(N,this[b],{getAttribute:()=>this.getAttribute(`orient`),setAttribute:e=>this.setAttribute(`orient`,e)})),this[di]}get refX(){return this[fi]||(this[fi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`refX`),setAttribute:e=>this.setAttribute(`refX`,e)})),this[fi]}get refY(){return this[pi]||(this[pi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`refY`),setAttribute:e=>this.setAttribute(`refY`,e)})),this[pi]}get viewBox(){return this[ai]||(this[ai]=new j_(N,this[b],{getAttribute:()=>this.getAttribute(`viewBox`),setAttribute:e=>this.setAttribute(`viewBox`,e)})),this[ai]}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}setOrientToAuto(){this.setAttribute(`orient`,`auto`)}setOrientToAngle(e){this.setAttribute(`orient`,e.valueAsString)}},Bv=class extends _h{[Ci]=null;[wi]=null;[D]=null;[O]=null;[y]=null;[h]=null;get maskUnits(){return this[Ci]||(this[Ci]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`maskUnits`),setAttribute:e=>this.setAttribute(`maskUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ci]}get maskContentUnits(){return this[wi]||(this[wi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`maskContentUnits`),setAttribute:e=>this.setAttribute(`maskContentUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[wi]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Vv=class extends _h{},Hv=class extends _h{[Di]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}},Uv=class extends K_{},Wv=class extends _h{[Di]=null;[Fi]=null;[Ii]=null;[Li]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get patternUnits(){return this[Fi]||(this[Fi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`patternUnits`),setAttribute:e=>this.setAttribute(`patternUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`objectBoundingBox`})),this[Fi]}get patternContentUnits(){return this[Ii]||(this[Ii]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`patternContentUnits`),setAttribute:e=>this.setAttribute(`patternContentUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ii]}get patternTransform(){return this[Li]||(this[Li]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`patternTransform`),setAttribute:e=>this.setAttribute(`patternTransform`,e)})),this[Li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}};const Gv=/[\t\f\n\r, ]+/;var Kv=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGPointList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGPointList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]||`0 0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(Gv);for(let t=0,r=e.length;t<r;t+=2){let r=parseFloat(e[t]),i=e[t+1]===void 0?``:` `+parseFloat(e[t+1]),a=new x_(N,this[b],{readOnly:this[F],getAttribute:()=>a[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)}});a[R]=`${r}${i}`,n.push(a)}}return t.attributeValue=e,t.items=n,n}},qv=class extends K_{[hi]=null;[gi]=null;get animatedPoints(){return this[hi]||(this[hi]=new Kv(N,this[b],{readOnly:!0,getAttribute:()=>this.getAttribute(`points`),setAttribute:()=>{}})),this[hi]}get points(){return this[gi]||(this[gi]=new Kv(N,this[b],{getAttribute:()=>this.getAttribute(`points`),setAttribute:e=>this.setAttribute(`points`,e)})),this[gi]}},Jv=class extends K_{[hi]=null;[gi]=null;get animatedPoints(){return this[hi]||(this[hi]=new Kv(N,this[b],{readOnly:!0,getAttribute:()=>this.getAttribute(`points`),setAttribute:()=>{}})),this[hi]}get points(){return this[gi]||(this[gi]=new Kv(N,this[b],{getAttribute:()=>this.getAttribute(`points`),setAttribute:e=>this.setAttribute(`points`,e)})),this[gi]}},Yv=class extends Iv{[yi]=null;[bi]=null;[xi]=null;[Ri]=null;[zi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get r(){return this[xi]||(this[xi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`r`),setAttribute:e=>this.setAttribute(`r`,e)})),this[xi]}get fx(){return this[Ri]||(this[Ri]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`fx`),setAttribute:e=>this.setAttribute(`fx`,e)})),this[Ri]}get fy(){return this[zi]||(this[zi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`fy`),setAttribute:e=>this.setAttribute(`fy`,e)})),this[zi]}},Xv=class extends K_{[D]=null;[O]=null;[y]=null;[h]=null;[_i]=null;[vi]=null;get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get rx(){return this[_i]||(this[_i]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`rx`),setAttribute:e=>this.setAttribute(`rx`,e)})),this[_i]}get ry(){return this[vi]||(this[vi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`ry`),setAttribute:e=>this.setAttribute(`ry`,e)})),this[vi]}},Zv=class extends v_{[Di]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}},Qv=class extends V_{},$v=class extends _h{[Bi]=null;get offset(){return this[Bi]||(this[Bi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`offset`),setAttribute:e=>this.setAttribute(`offset`,e)})),this[Bi]}},ey=class extends _h{[en]=null;[Wn]=this;[Vi]=!1;get media(){return this.getAttribute(`media`)||`all`}set media(e){this.setAttribute(`media`,e)}get type(){return this.getAttribute(`type`)||`text/css`}set type(e){this.setAttribute(`type`,e)}get title(){return this.getAttribute(`title`)||``}set title(e){this.setAttribute(`title`,e)}get disabled(){return this[Vi]}set disabled(e){this[Vi]=!!e}get sheet(){return this[x]?(this[en]||(this[en]=new this[g][b].CSSStyleSheet,this[en].replaceSync(this.textContent)),this[en]):null}[we](){super[we](),this[en]=null}[Me](){super[Me](),this[en]=null}[Gn](){this[en]&&this[en].replaceSync(this.textContent)}},ty=class extends v_{},ny=class extends v_{},ry=class extends v_{static LENGTHADJUST_UNKNOWN=0;static LENGTHADJUST_SPACING=1;static LENGTHADJUST_SPACINGANDGLYPHS=2;[Hi]=null;[Ui]=null;get textLength(){return this[Hi]||(this[Hi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`textLength`),setAttribute:e=>this.setAttribute(`textLength`,e)})),this[Hi]}get lengthAdjust(){return this[Ui]||(this[Ui]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`lengthAdjust`),setAttribute:e=>this.setAttribute(`lengthAdjust`,e),values:[`spacing`,`spacingAndGlyphs`],defaultValue:`spacing`})),this[Ui]}getNumberOfChars(){return 0}getComputedTextLength(){return 0}getSubStringLength(e,t){return 0}getStartPositionOfChar(e){return new x_(N,this[b])}getEndPositionOfChar(e){return new x_(N,this[b])}getExtentOfChar(e){return new y_(N,this[b])}getRotationOfChar(e){return 0}getCharNumAtPosition(e){return 0}};const iy=/[\t\f\n\r, ]+/;var ay=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGLengthList': 1 arguments required, but only ${arguments.length} present.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGLengthList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]??`0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(iy);for(let r=0,i=e.length;r<i;r++){let i=new T_(N,this[b],{readOnly:this[F],getAttribute:()=>i[R],setAttribute:e=>{i[R]=e;let r=n.map(e=>e[R]??`0`).join(` `);t.attributeValue=r,this[L](r)}});i[R]=e[r],n.push(i)}}return t.attributeValue=e,t.items=n,n}},oy=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new ay(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:this[L]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new ay(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},sy=class extends ry{[D]=null;[O]=null;[Ka]=null;[qa]=null;[Co]=null;get x(){return this[D]||(this[D]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get dx(){return this[Ka]||(this[Ka]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get rotate(){return this[Co]||(this[Co]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`rotate`),setAttribute:e=>this.setAttribute(`rotate`,e)})),this[Co]}},cy=class extends sy{},ly=class extends ry{static TEXTPATH_METHODTYPE_UNKNOWN=0;static TEXTPATH_METHODTYPE_ALIGN=1;static TEXTPATH_METHODTYPE_STRETCH=2;static TEXTPATH_SPACINGTYPE_UNKNOWN=0;static TEXTPATH_SPACINGTYPE_AUTO=1;static TEXTPATH_SPACINGTYPE_EXACT=2;[Di]=null;[wa]=null;[Ta]=null;[Ea]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get startOffset(){return this[wa]||(this[wa]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`startOffset`),setAttribute:e=>this.setAttribute(`startOffset`,e)})),this[wa]}get method(){return this[Ta]||(this[Ta]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`method`),setAttribute:e=>this.setAttribute(`method`,e),values:[`align`,`stretch`],defaultValue:`align`})),this[Ta]}get spacing(){return this[Ea]||(this[Ea]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`spacing`),setAttribute:e=>this.setAttribute(`spacing`,e),values:[`auto`,`exact`],defaultValue:`exact`})),this[Ea]}},uy=class extends _h{},dy=class extends sy{},fy=class extends v_{[Di]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}},py=class extends _h{},my=class{static SVG_UNIT_TYPE_UNKNOWN=0;static SVG_UNIT_TYPE_USERSPACEONUSE=1;static SVG_UNIT_TYPE_OBJECTBOUNDINGBOX=2;SVG_UNIT_TYPE_UNKNOWN=0;SVG_UNIT_TYPE_USERSPACEONUSE=1;SVG_UNIT_TYPE_OBJECTBOUNDINGBOX=2;constructor(e){if(e!==N)throw TypeError(`Illegal constructor`)}},hy=class{window;constructor(e){this.window=e}enqueueReaction(e,t,n){let r=this.window.customElements[tt]?.get(e.localName);if(r&&e[g]===this.window.document)switch(t){case`connectedCallback`:if(r.lifecycleCallbacks.connectedCallback){let t=r.lifecycleCallbacks.connectedCallback?.call(e);if(t instanceof Promise){let e=new Y(this.window).getAsyncTaskManager();if(e){let n=e.startTask();t.then(()=>e.endTask(n)).catch(()=>e.endTask(n))}}}break;case`disconnectedCallback`:r.lifecycleCallbacks.disconnectedCallback&&r.lifecycleCallbacks.disconnectedCallback.call(e);break;case`attributeChangedCallback`:r.lifecycleCallbacks.attributeChangedCallback&&n?.length&&r.observedAttributes.has(n[0])&&r.lifecycleCallbacks.attributeChangedCallback.apply(e,n);break}}},gy=class extends W{state;hasUAVisualTransition;constructor(e,t=null){super(e),this.state=t?.state??null,this.hasUAVisualTransition=t?.hasUAVisualTransition??!1}},_y=class extends W{code;reason;wasClean;constructor(e,t=null){super(e,t),this.code=t?.code??0,this.reason=t?.reason??``,this.wasClean=t?.wasClean??!1}},vy=class e{[zr]=null;[y]=0;[h]=0;[yn]=null;constructor(t,n,r,i,a,o,s,c){if(t!==N)throw TypeError(`Illegal constructor`);let l=null;if(r instanceof e){if(r[zr]===null)throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': The image source is not usable.`,H.invalidStateError);l=r}if(r instanceof Lp){if(!r[me])throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': The image source is not usable.`,H.invalidStateError);l=r}else if(r instanceof ph)throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': HTMLVideoElement is not supported as an image source yet in Happy DOM.`,H.invalidStateError);else (r instanceof $f||r instanceof Xf)&&(l=r);if(l===null)throw new n.TypeError(`Failed to execute 'createImageBitmap' on 'Window': The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.`);this[y]=l.width,this[h]=l.height;let u=0,d=0;if(typeof i==`number`&&typeof a==`number`&&typeof o==`number`&&typeof s==`number`){if(u=i,d=a,this[y]=o,this[h]=s,c!==void 0&&typeof c!=`object`)throw new n.TypeError(`The provided value is not of type 'ImageBitmapOptions'.`);this[yn]=c||null}else if(typeof i==`number`&&typeof a==`number`){if(this[y]=i,this[h]=a,o!==void 0&&typeof o!=`object`)throw new n.TypeError(`The provided value is not of type 'ImageBitmapOptions'.`);this[yn]=o||null}else if(typeof i==`object`)this[yn]=i;else if(i!==void 0)throw new n.TypeError(`Failed to execute 'createImageBitmap' on 'Window': Overload resolution failed.`);let f=new Y(n).getSettings(),p=new n.OffscreenCanvas(this[y],this[h]);f?.canvasAdapter&&(p.getContext(`2d`).drawImage(l,-u,-d,l.width,l.height),this[zr]=p)}get width(){return this[y]}get height(){return this[h]}close(){this[zr]=null,this[yn]=null,this[y]=0,this[h]=0}};const yy={setTimeout:globalThis.setTimeout.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),setInterval:globalThis.setInterval.bind(globalThis),clearInterval:globalThis.clearInterval.bind(globalThis),queueMicrotask:globalThis.queueMicrotask.bind(globalThis),setImmediate:globalThis.setImmediate.bind(globalThis),clearImmediate:globalThis.clearImmediate.bind(globalThis)},by=setTimeout.toString().includes(`new Timeout`),xy=(()=>{try{return Function(`return true;`)(),!0}catch{return!1}})(),Sy=(()=>{try{return globalThis.Function.$UNFROZEN$=!0,delete globalThis.Function.$UNFROZEN$,!0}catch{return!1}})();var Cy=class{constructor(){throw TypeError(`Illegal constructor`)}},wy=class{callback;constructor(e){this.callback=e}},Ty=class e extends nl{Node=gd;Attr=_d;ShadowRoot=gh;ProcessingInstruction=mh;Element=Df;CharacterData=xd;DocumentType=Sd;HTMLAnchorElement=Mf;HTMLButtonElement=Yf;HTMLOptGroupElement=Mm;HTMLOptionElement=Nm;HTMLElement=Q;HTMLUnknownElement=fh;HTMLTemplateElement=oh;HTMLInputElement=Yp;HTMLSelectElement=Jm;HTMLTextAreaElement=sh;HTMLImageElement=Lp;HTMLStyleElement=$m;HTMLLabelElement=Xp;HTMLSlotElement=Xm;HTMLMetaElement=Dm;HTMLMediaElement=zf;HTMLAudioElement=Bf;HTMLVideoElement=ph;HTMLBaseElement=Vf;HTMLDialogElement=ip;HTMLScriptElement=Km;HTMLLinkElement=Cm;HTMLIFrameElement=Sp;HTMLFormElement=hp;HTMLUListElement=dh;HTMLTrackElement=uh;HTMLTableRowElement=ah;HTMLTitleElement=lh;HTMLTimeElement=ch;HTMLTableSectionElement=rh;HTMLTableCellElement=th;HTMLTableElement=ih;HTMLSpanElement=Qm;HTMLSourceElement=Zm;HTMLQuoteElement=Bm;HTMLProgressElement=zm;HTMLPreElement=Rm;HTMLPictureElement=Lm;HTMLParamElement=Im;HTMLParagraphElement=Fm;HTMLOutputElement=Pm;HTMLOListElement=Am;HTMLObjectElement=jm;HTMLMeterElement=Om;HTMLMenuElement=Em;HTMLMapElement=wm;HTMLLIElement=Qp;HTMLLegendElement=Zp;HTMLModElement=km;HTMLHtmlElement=yp;HTMLHRElement=vp;HTMLHeadElement=gp;HTMLHeadingElement=_p;HTMLFieldSetElement=sp;HTMLEmbedElement=op;HTMLDListElement=ep;HTMLDivElement=ap;HTMLDetailsElement=rp;HTMLDataListElement=np;HTMLDataElement=tp;HTMLTableColElement=nh;HTMLTableCaptionElement=eh;HTMLCanvasElement=$f;HTMLBRElement=Uf;HTMLBodyElement=Hf;HTMLAreaElement=Nf;SVGSVGElement=B_;SVGAnimateElement=H_;SVGAnimateMotionElement=U_;SVGAnimateTransformElement=W_;SVGCircleElement=q_;SVGClipPathElement=Y_;SVGDefsElement=X_;SVGDescElement=Z_;SVGEllipseElement=Q_;SVGFEBlendElement=ev;SVGFEColorMatrixElement=iv;SVGFEComponentTransferElement=av;SVGFECompositeElement=ov;SVGFEConvolveMatrixElement=lv;SVGFEDiffuseLightingElement=uv;SVGFEDisplacementMapElement=dv;SVGFEDistantLightElement=fv;SVGFEDropShadowElement=pv;SVGFEFloodElement=mv;SVGFEFuncAElement=gv;SVGFEFuncBElement=_v;SVGFEFuncGElement=vv;SVGFEFuncRElement=yv;SVGFEGaussianBlurElement=bv;SVGFEImageElement=xv;SVGFEMergeElement=Sv;SVGFEMergeNodeElement=Cv;SVGFEMorphologyElement=wv;SVGFEOffsetElement=Tv;SVGFEPointLightElement=Ev;SVGFESpecularLightingElement=Dv;SVGFESpotLightElement=Ov;SVGFETileElement=kv;SVGFETurbulenceElement=Av;SVGFilterElement=jv;SVGForeignObjectElement=Mv;SVGGElement=Nv;SVGImageElement=Pv;SVGLineElement=Fv;SVGLinearGradientElement=Lv;SVGMarkerElement=zv;SVGMaskElement=Bv;SVGMetadataElement=Vv;SVGMPathElement=Hv;SVGPathElement=Uv;SVGPatternElement=Wv;SVGPolygonElement=qv;SVGPolylineElement=Jv;SVGRadialGradientElement=Yv;SVGRectElement=Xv;SVGScriptElement=Zv;SVGSetElement=Qv;SVGStopElement=$v;SVGStyleElement=ey;SVGSwitchElement=ty;SVGSymbolElement=ny;SVGTextElement=cy;SVGTextPathElement=ly;SVGTitleElement=uy;SVGTSpanElement=dy;SVGUseElement=fy;SVGViewElement=py;SVGElement=_h;SVGAnimationElement=V_;SVGComponentTransferFunctionElement=hv;SVGGeometryElement=K_;SVGGradientElement=Iv;SVGTextPositioningElement=sy;SVGGraphicsElement=v_;Event=W;UIEvent=Zl;CustomEvent=eu;CloseEvent=_y;AnimationEvent=Ql;KeyboardEvent=au;MessageEvent=ou;MouseEvent=su;PointerEvent=cu;FocusEvent=nu;WheelEvent=pu;InputEvent=iu;ErrorEvent=tu;StorageEvent=uu;SubmitEvent=du;ProgressEvent=lu;MediaQueryListEvent=rl;HashChangeEvent=ru;ClipboardEvent=$l;TouchEvent=fu;PopStateEvent=gy;Touch=Xl;AudioProcessingEvent=W;BeforeInputEvent=W;BeforeUnloadEvent=W;BlobEvent=W;CompositionEvent=W;CSSFontFaceLoadEvent=W;DeviceLightEvent=W;DeviceMotionEvent=W;DeviceOrientationEvent=W;DeviceProximityEvent=W;DOMTransactionEvent=W;DragEvent=W;EditingBeforeInputEvent=W;FetchEvent=W;GamepadEvent=W;IDBVersionChangeEvent=W;MediaStreamEvent=W;MutationEvent=W;OfflineAudioCompletionEvent=W;OverconstrainedError=W;PageTransitionEvent=W;PaymentRequestUpdateEvent=W;RelatedEvent=W;RTCDataChannelEvent=W;RTCIdentityErrorEvent=W;RTCIdentityEvent=W;RTCPeerConnectionIceEvent=W;SensorEvent=W;SVGEvent=W;SVGZoomEvent=W;TimeEvent=W;TrackEvent=W;TransitionEvent=W;UserProximityEvent=W;WebGLContextEvent=W;TextEvent=W;Permissions=sd;History=Zu;Navigator=cd;Clipboard=zs;TimeRanges=Pf;TextTrackCueList=Tm;ValidityState=Kf;MutationRecord=td;IntersectionObserver=Qu;IntersectionObserverEntry=$u;CSSStyleDeclaration=yl;CSSRule=Ks;CSSContainerRule=xl;CSSFontFaceRule=Sl;CSSKeyframeRule=Cl;CSSKeyframesRule=Tl;CSSMediaRule=Ol;CSSStyleRule=Nl;CSSSupportsRule=Pl;CSSConditionRule=bl;CSSGroupingRule=fl;CSSScopeRule=pl;DOMRect=Dd;DOMRectReadOnly=Ed;Plugin=ld;PluginArray=id;Location=ed;CustomElementRegistry=Gl;ResizeObserver=vh;Blob=Rs;File=ql;Storage=Eh;MimeType=nd;MimeTypeArray=rd;NodeFilter=Dh;ImageBitmap=vy;HTMLCollection=Ad;HTMLFormControlCollection=cp;HTMLOptionsCollection=qm;NodeList=Vc;RadioNodeList=mp;FileList=Rp;Screen=yh;ScreenDetails=xh;ScreenDetailed=bh;NamedNodeMap=Nd;TreeWalker=jh;NodeIterator=Mh;DataTransfer=Yl;DataTransferItem=Kl;DataTransferItemList=Jl;XMLSerializer=Nh;ClipboardItem=Bs;Selection=Th;CSSUnitValue=Us;SVGAngle=k_;SVGAnimatedAngle=Rv;SVGAnimatedBoolean=sv;SVGAnimatedEnumeration=J_;SVGAnimatedInteger=cv;SVGAnimatedLength=$;SVGAnimatedNumber=G_;SVGAnimatedNumberList=rv;SVGAnimatedPreserveAspectRatio=z_;SVGAnimatedRect=j_;SVGAnimatedString=$_;SVGAnimatedTransformList=__;SVGLength=T_;SVGLengthList=ay;SVGMatrix=c_;SVGNumber=A_;SVGNumberList=nv;SVGPoint=x_;SVGPointList=Kv;SVGPreserveAspectRatio=R_;SVGRect=y_;SVGStringList=a_;SVGTransform=p_;SVGTransformList=g_;SVGAnimatedLengthList=oy;SVGUnitTypes=my;StylePropertyMap=Ml;StylePropertyMapReadOnly=jl;MediaList=Dl;CSSKeywordValue=kl;CSSStyleValue=Al;Window=this.constructor;URLSearchParams=ee;WritableStream=u.Writable;ReadableStream=se;TransformStream=u.Transform;PerformanceObserver=oe;PerformanceEntry=ae;PerformanceObserverEntryList=Cy;document;customElements=new Gl(this);window=this;globalThis=this;performance=performance;screenLeft=0;screenTop=0;screenX=0;screenY=0;crypto=c;TextEncoder=o;TextDecoder=a;closed=!1;console;name=``;Buffer=i;[vt]=[];[$e];[En];[Dn];[On];[kn];[An];[jn];[ur]=this;[fr]=this;[dr]=this;[b]=this;[es]=this;[Re]=-1;[Do]=new hy(this);[ko]={json:new Map,css:new Map,esm:new Map};[Ro]=null;[rs]=[];[V]=new Map;[ss]=new Map;#e;#t=null;#n=null;#r=null;#i=null;#a=null;#o={timeouts:null};#s=[];#c=[];constructor(e,t){super(),this.#e=e,this[ns](),this.console=e.page.console,this[$e]=new Td(e),this[On]=new cd(this),this[kn]=new yh,this[An]=new Eh,this[jn]=new Eh,this[En]=new ed(this.#e,t?.url??`about:blank`),this[Dn]=new Zu(this.#e,this),e[Dn].currentItem.href=t?.url??`about:blank`,Y.setWindowBrowserFrameRelation(this,this.#e),this[ct](),r_.extendClasses(this),this.document=new this.HTMLDocument,this.document[je]=this;let n=e[fe].startTask(()=>this[$e].destroy());this[$e].waitUntilComplete().then(()=>{e[fe].endTask(n),this.document[Ht]=wd.complete,this.document.dispatchEvent(new W(`readystatechange`));let t=new W(`load`);t[ke]=this,t[dt]=this.document,t[Gr]=Es.atTarget,this.dispatchEvent(t),t[ke]=null,t[Gr]=Es.none,t[Oo]=!1}),this[wo]()}get onsearch(){return this[V].get(`onsearch`)??null}set onsearch(e){this[V].set(`onsearch`,e)}get onappinstalled(){return this[V].get(`onappinstalled`)??null}set onappinstalled(e){this[V].set(`onappinstalled`,e)}get onbeforeinstallprompt(){return this[V].get(`onbeforeinstallprompt`)??null}set onbeforeinstallprompt(e){this[V].set(`onbeforeinstallprompt`,e)}get onabort(){return this[V].get(`onabort`)??null}set onabort(e){this[V].set(`onabort`,e)}get onbeforeinput(){return this[V].get(`onbeforeinput`)??null}set onbeforeinput(e){this[V].set(`onbeforeinput`,e)}get onbeforematch(){return this[V].get(`onbeforematch`)??null}set onbeforematch(e){this[V].set(`onbeforematch`,e)}get onbeforetoggle(){return this[V].get(`onbeforetoggle`)??null}set onbeforetoggle(e){this[V].set(`onbeforetoggle`,e)}get onblur(){return this[V].get(`onblur`)??null}set onblur(e){this[V].set(`onblur`,e)}get oncancel(){return this[V].get(`oncancel`)??null}set oncancel(e){this[V].set(`oncancel`,e)}get oncanplay(){return this[V].get(`oncanplay`)??null}set oncanplay(e){this[V].set(`oncanplay`,e)}get oncanplaythrough(){return this[V].get(`oncanplaythrough`)??null}set oncanplaythrough(e){this[V].set(`oncanplaythrough`,e)}get onchange(){return this[V].get(`onchange`)??null}set onchange(e){this[V].set(`onchange`,e)}get onclick(){return this[V].get(`onclick`)??null}set onclick(e){this[V].set(`onclick`,e)}get onclose(){return this[V].get(`onclose`)??null}set onclose(e){this[V].set(`onclose`,e)}get oncommand(){return this[V].get(`oncommand`)??null}set oncommand(e){this[V].set(`oncommand`,e)}get oncontentvisibilityautostatechange(){return this[V].get(`oncontentvisibilityautostatechange`)??null}set oncontentvisibilityautostatechange(e){this[V].set(`oncontentvisibilityautostatechange`,e)}get oncontextlost(){return this[V].get(`oncontextlost`)??null}set oncontextlost(e){this[V].set(`oncontextlost`,e)}get oncontextmenu(){return this[V].get(`oncontextmenu`)??null}set oncontextmenu(e){this[V].set(`oncontextmenu`,e)}get oncontextrestored(){return this[V].get(`oncontextrestored`)??null}set oncontextrestored(e){this[V].set(`oncontextrestored`,e)}get oncuechange(){return this[V].get(`oncuechange`)??null}set oncuechange(e){this[V].set(`oncuechange`,e)}get ondblclick(){return this[V].get(`ondblclick`)??null}set ondblclick(e){this[V].set(`ondblclick`,e)}get ondrag(){return this[V].get(`ondrag`)??null}set ondrag(e){this[V].set(`ondrag`,e)}get ondragend(){return this[V].get(`ondragend`)??null}set ondragend(e){this[V].set(`ondragend`,e)}get ondragenter(){return this[V].get(`ondragenter`)??null}set ondragenter(e){this[V].set(`ondragenter`,e)}get ondragleave(){return this[V].get(`ondragleave`)??null}set ondragleave(e){this[V].set(`ondragleave`,e)}get ondragover(){return this[V].get(`ondragover`)??null}set ondragover(e){this[V].set(`ondragover`,e)}get ondragstart(){return this[V].get(`ondragstart`)??null}set ondragstart(e){this[V].set(`ondragstart`,e)}get ondrop(){return this[V].get(`ondrop`)??null}set ondrop(e){this[V].set(`ondrop`,e)}get ondurationchange(){return this[V].get(`ondurationchange`)??null}set ondurationchange(e){this[V].set(`ondurationchange`,e)}get onemptied(){return this[V].get(`onemptied`)??null}set onemptied(e){this[V].set(`onemptied`,e)}get onended(){return this[V].get(`onended`)??null}set onended(e){this[V].set(`onended`,e)}get onerror(){return this[V].get(`onerror`)??null}set onerror(e){this[V].set(`onerror`,e)}get onfocus(){return this[V].get(`onfocus`)??null}set onfocus(e){this[V].set(`onfocus`,e)}get onformdata(){return this[V].get(`onformdata`)??null}set onformdata(e){this[V].set(`onformdata`,e)}get oninput(){return this[V].get(`oninput`)??null}set oninput(e){this[V].set(`oninput`,e)}get oninvalid(){return this[V].get(`oninvalid`)??null}set oninvalid(e){this[V].set(`oninvalid`,e)}get onkeydown(){return this[V].get(`onkeydown`)??null}set onkeydown(e){this[V].set(`onkeydown`,e)}get onkeypress(){return this[V].get(`onkeypress`)??null}set onkeypress(e){this[V].set(`onkeypress`,e)}get onkeyup(){return this[V].get(`onkeyup`)??null}set onkeyup(e){this[V].set(`onkeyup`,e)}get onload(){return this[V].get(`onload`)??null}set onload(e){this[V].set(`onload`,e)}get onloadeddata(){return this[V].get(`onloadeddata`)??null}set onloadeddata(e){this[V].set(`onloadeddata`,e)}get onloadedmetadata(){return this[V].get(`onloadedmetadata`)??null}set onloadedmetadata(e){this[V].set(`onloadedmetadata`,e)}get onloadstart(){return this[V].get(`onloadstart`)??null}set onloadstart(e){this[V].set(`onloadstart`,e)}get onmousedown(){return this[V].get(`onmousedown`)??null}set onmousedown(e){this[V].set(`onmousedown`,e)}get onmouseenter(){return this[V].get(`onmouseenter`)??null}set onmouseenter(e){this[V].set(`onmouseenter`,e)}get onmouseleave(){return this[V].get(`onmouseleave`)??null}set onmouseleave(e){this[V].set(`onmouseleave`,e)}get onmousemove(){return this[V].get(`onmousemove`)??null}set onmousemove(e){this[V].set(`onmousemove`,e)}get onmouseout(){return this[V].get(`onmouseout`)??null}set onmouseout(e){this[V].set(`onmouseout`,e)}get onmouseover(){return this[V].get(`onmouseover`)??null}set onmouseover(e){this[V].set(`onmouseover`,e)}get onmouseup(){return this[V].get(`onmouseup`)??null}set onmouseup(e){this[V].set(`onmouseup`,e)}get onmousewheel(){return this[V].get(`onmousewheel`)??null}set onmousewheel(e){this[V].set(`onmousewheel`,e)}get onpause(){return this[V].get(`onpause`)??null}set onpause(e){this[V].set(`onpause`,e)}get onplay(){return this[V].get(`onplay`)??null}set onplay(e){this[V].set(`onplay`,e)}get onplaying(){return this[V].get(`onplaying`)??null}set onplaying(e){this[V].set(`onplaying`,e)}get onprogress(){return this[V].get(`onprogress`)??null}set onprogress(e){this[V].set(`onprogress`,e)}get onratechange(){return this[V].get(`onratechange`)??null}set onratechange(e){this[V].set(`onratechange`,e)}get onreset(){return this[V].get(`onreset`)??null}set onreset(e){this[V].set(`onreset`,e)}get onresize(){return this[V].get(`onresize`)??null}set onresize(e){this[V].set(`onresize`,e)}get onscroll(){return this[V].get(`onscroll`)??null}set onscroll(e){this[V].set(`onscroll`,e)}get onscrollend(){return this[V].get(`onscrollend`)??null}set onscrollend(e){this[V].set(`onscrollend`,e)}get onsecuritypolicyviolation(){return this[V].get(`onsecuritypolicyviolation`)??null}set onsecuritypolicyviolation(e){this[V].set(`onsecuritypolicyviolation`,e)}get onseeked(){return this[V].get(`onseeked`)??null}set onseeked(e){this[V].set(`onseeked`,e)}get onseeking(){return this[V].get(`onseeking`)??null}set onseeking(e){this[V].set(`onseeking`,e)}get onselect(){return this[V].get(`onselect`)??null}set onselect(e){this[V].set(`onselect`,e)}get onslotchange(){return this[V].get(`onslotchange`)??null}set onslotchange(e){this[V].set(`onslotchange`,e)}get onstalled(){return this[V].get(`onstalled`)??null}set onstalled(e){this[V].set(`onstalled`,e)}get onsubmit(){return this[V].get(`onsubmit`)??null}set onsubmit(e){this[V].set(`onsubmit`,e)}get onsuspend(){return this[V].get(`onsuspend`)??null}set onsuspend(e){this[V].set(`onsuspend`,e)}get ontimeupdate(){return this[V].get(`ontimeupdate`)??null}set ontimeupdate(e){this[V].set(`ontimeupdate`,e)}get ontoggle(){return this[V].get(`ontoggle`)??null}set ontoggle(e){this[V].set(`ontoggle`,e)}get onvolumechange(){return this[V].get(`onvolumechange`)??null}set onvolumechange(e){this[V].set(`onvolumechange`,e)}get onwaiting(){return this[V].get(`onwaiting`)??null}set onwaiting(e){this[V].set(`onwaiting`,e)}get onwebkitanimationend(){return this[V].get(`onwebkitanimationend`)??null}set onwebkitanimationend(e){this[V].set(`onwebkitanimationend`,e)}get onwebkitanimationiteration(){return this[V].get(`onwebkitanimationiteration`)??null}set onwebkitanimationiteration(e){this[V].set(`onwebkitanimationiteration`,e)}get onwebkitanimationstart(){return this[V].get(`onwebkitanimationstart`)??null}set onwebkitanimationstart(e){this[V].set(`onwebkitanimationstart`,e)}get onwebkittransitionend(){return this[V].get(`onwebkittransitionend`)??null}set onwebkittransitionend(e){this[V].set(`onwebkittransitionend`,e)}get onwheel(){return this[V].get(`onwheel`)??null}set onwheel(e){this[V].set(`onwheel`,e)}get onauxclick(){return this[V].get(`onauxclick`)??null}set onauxclick(e){this[V].set(`onauxclick`,e)}get ongotpointercapture(){return this[V].get(`ongotpointercapture`)??null}set ongotpointercapture(e){this[V].set(`ongotpointercapture`,e)}get onlostpointercapture(){return this[V].get(`onlostpointercapture`)??null}set onlostpointercapture(e){this[V].set(`onlostpointercapture`,e)}get onpointerdown(){return this[V].get(`onpointerdown`)??null}set onpointerdown(e){this[V].set(`onpointerdown`,e)}get onpointermove(){return this[V].get(`onpointermove`)??null}set onpointermove(e){this[V].set(`onpointermove`,e)}get onpointerup(){return this[V].get(`onpointerup`)??null}set onpointerup(e){this[V].set(`onpointerup`,e)}get onpointercancel(){return this[V].get(`onpointercancel`)??null}set onpointercancel(e){this[V].set(`onpointercancel`,e)}get onpointerover(){return this[V].get(`onpointerover`)??null}set onpointerover(e){this[V].set(`onpointerover`,e)}get onpointerout(){return this[V].get(`onpointerout`)??null}set onpointerout(e){this[V].set(`onpointerout`,e)}get onpointerenter(){return this[V].get(`onpointerenter`)??null}set onpointerenter(e){this[V].set(`onpointerenter`,e)}get onpointerleave(){return this[V].get(`onpointerleave`)??null}set onpointerleave(e){this[V].set(`onpointerleave`,e)}get onselectstart(){return this[V].get(`onselectstart`)??null}set onselectstart(e){this[V].set(`onselectstart`,e)}get onselectionchange(){return this[V].get(`onselectionchange`)??null}set onselectionchange(e){this[V].set(`onselectionchange`,e)}get onanimationcancel(){return this[V].get(`onanimationcancel`)??null}set onanimationcancel(e){this[V].set(`onanimationcancel`,e)}get onanimationend(){return this[V].get(`onanimationend`)??null}set onanimationend(e){this[V].set(`onanimationend`,e)}get onanimationiteration(){return this[V].get(`onanimationiteration`)??null}set onanimationiteration(e){this[V].set(`onanimationiteration`,e)}get onanimationstart(){return this[V].get(`onanimationstart`)??null}set onanimationstart(e){this[V].set(`onanimationstart`,e)}get ontransitionrun(){return this[V].get(`ontransitionrun`)??null}set ontransitionrun(e){this[V].set(`ontransitionrun`,e)}get ontransitionstart(){return this[V].get(`ontransitionstart`)??null}set ontransitionstart(e){this[V].set(`ontransitionstart`,e)}get ontransitionend(){return this[V].get(`ontransitionend`)??null}set ontransitionend(e){this[V].set(`ontransitionend`,e)}get ontransitioncancel(){return this[V].get(`ontransitioncancel`)??null}set ontransitioncancel(e){this[V].set(`ontransitioncancel`,e)}get onbeforexrselect(){return this[V].get(`onbeforexrselect`)??null}set onbeforexrselect(e){this[V].set(`onbeforexrselect`,e)}get onafterprint(){return this[V].get(`onafterprint`)??null}set onafterprint(e){this[V].set(`onafterprint`,e)}get onbeforeprint(){return this[V].get(`onbeforeprint`)??null}set onbeforeprint(e){this[V].set(`onbeforeprint`,e)}get onbeforeunload(){return this[V].get(`onbeforeunload`)??null}set onbeforeunload(e){this[V].set(`onbeforeunload`,e)}get onhashchange(){return this[V].get(`onhashchange`)??null}set onhashchange(e){this[V].set(`onhashchange`,e)}get onlanguagechange(){return this[V].get(`onlanguagechange`)??null}set onlanguagechange(e){this[V].set(`onlanguagechange`,e)}get onmessage(){return this[V].get(`onmessage`)??null}set onmessage(e){this[V].set(`onmessage`,e)}get onmessageerror(){return this[V].get(`onmessageerror`)??null}set onmessageerror(e){this[V].set(`onmessageerror`,e)}get onoffline(){return this[V].get(`onoffline`)??null}set onoffline(e){this[V].set(`onoffline`,e)}get ononline(){return this[V].get(`ononline`)??null}set ononline(e){this[V].set(`ononline`,e)}get onpagehide(){return this[V].get(`onpagehide`)??null}set onpagehide(e){this[V].set(`onpagehide`,e)}get onpageshow(){return this[V].get(`onpageshow`)??null}set onpageshow(e){this[V].set(`onpageshow`,e)}get onpopstate(){return this[V].get(`onpopstate`)??null}set onpopstate(e){this[V].set(`onpopstate`,e)}get onrejectionhandled(){return this[V].get(`onrejectionhandled`)??null}set onrejectionhandled(e){this[V].set(`onrejectionhandled`,e)}get onstorage(){return this[V].get(`onstorage`)??null}set onstorage(e){this[V].set(`onstorage`,e)}get onunhandledrejection(){return this[V].get(`onunhandledrejection`)??null}set onunhandledrejection(e){this[V].set(`onunhandledrejection`,e)}get onunload(){return this[V].get(`onunload`)??null}set onunload(e){this[V].set(`onunload`,e)}get ondevicemotion(){return this[V].get(`ondevicemotion`)??null}set ondevicemotion(e){this[V].set(`ondevicemotion`,e)}get ondeviceorientation(){return this[V].get(`ondeviceorientation`)??null}set ondeviceorientation(e){this[V].set(`ondeviceorientation`,e)}get ondeviceorientationabsolute(){return this[V].get(`ondeviceorientationabsolute`)??null}set ondeviceorientationabsolute(e){this[V].set(`ondeviceorientationabsolute`,e)}get onpointerrawupdate(){return this[V].get(`onpointerrawupdate`)??null}set onpointerrawupdate(e){this[V].set(`onpointerrawupdate`,e)}get onpageswap(){return this[V].get(`onpageswap`)??null}set onpageswap(e){this[V].set(`onpageswap`,e)}get onpagereveal(){return this[V].get(`onpagereveal`)??null}set onpagereveal(e){this[V].set(`onpagereveal`,e)}get onscrollsnapchange(){return this[V].get(`onscrollsnapchange`)??null}set onscrollsnapchange(e){this[V].set(`onscrollsnapchange`,e)}get onscrollsnapchanging(){return this[V].get(`onscrollsnapchanging`)??null}set onscrollsnapchanging(e){this[V].set(`onscrollsnapchanging`,e)}get ongamepadconnected(){return this[V].get(`ongamepadconnected`)??null}set ongamepadconnected(e){this[V].set(`ongamepadconnected`,e)}get ongamepaddisconnected(){return this[V].get(`ongamepaddisconnected`)??null}set ongamepaddisconnected(e){this[V].set(`ongamepaddisconnected`,e)}get self(){return this[ur]}set self(e){this[ur]=e}get top(){return this[fr]}get parent(){return this[dr]}set parent(e){this[dr]=e}get frames(){return this[es]}set frames(e){this[dr]=e}get location(){return this[En]}set location(e){this[En].href=e}get history(){return this[Dn]}get navigator(){return this[On]}get screen(){return this[kn]}get sessionStorage(){return this[An]}get localStorage(){return this[jn]}get opener(){return this.#e[bt]}get scrollX(){return this.document?.documentElement?.scrollLeft??0}get pageXOffset(){return this.scrollX}get scrollY(){return this.document?.documentElement?.scrollTop??0}get pageYOffset(){return this.scrollY}get CSS(){return new Ws}get innerWidth(){return this.#t===null?this.#e.page.viewport.width:this.#t}set innerWidth(e){this.#t=e}get innerHeight(){return this.#n===null?this.#e.page.viewport.height:this.#n}set innerHeight(e){this.#n=e}get outerWidth(){return this.#r===null?this.#e.page.viewport.width:this.#r}set outerWidth(e){this.#r=e}get outerHeight(){return this.#i===null?this.#e.page.viewport.height:this.#i}set outerHeight(e){this.#i=e}get devicePixelRatio(){return this.#a===null?this.#e.page.viewport.devicePixelRatio:this.#a}set devicePixelRatio(e){this.#a=e}getComputedStyle(e){return e[er]=e[er]||new yl(N,this,{element:e,computed:!0}),e[er]}getSelection(){return this.document.getSelection()}scroll(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scroll' on 'Window': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};if(n.behavior===`smooth`)this.setTimeout(()=>{if(n.top!==void 0){let e=Number(n.top);this.document.documentElement.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.document.documentElement.scrollLeft=isNaN(e)?0:e}});else{if(n.top!==void 0){let e=Number(n.top);this.document.documentElement.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.document.documentElement.scrollLeft=isNaN(e)?0:e}}}scrollTo(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions'.`);this.scroll(e,t)}scrollBy(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scrollBy' on 'Window': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};this.scroll({left:this.document.documentElement.scrollLeft+(n.left??0),top:this.document.documentElement.scrollTop+(n.top??0),behavior:n.behavior})}blur(){}focus(){}open(e,t,n){return Fh.openPage(this.#e,{url:e,target:t,features:n})}close(){this.#e.page.mainFrame===this.#e&&this.#e[bt]&&(this[Me](),this.#e.page.close())}matchMedia(e){return new dl({window:this,media:e})}getScreenDetails(){return Promise.resolve(new xh)}setTimeout(e,t=0,...n){if(this.closed)return{};let r=this.#e.page.context.browser.settings;if(r.timer.preventTimerLoops){let e=Error().stack,t=this.#s,n=this.#c,i=t.indexOf(e);if(i!==-1){if(n[i].timeout++,n[i].timeout>=(r.timer.preventTimerLoops===!0?1:r.timer.preventTimerLoops.timeout??1))return{}}else t.push(e),n.push({timeout:0,requestAnimationFrame:0})}if(!t){let t=this.#o;if(!t.timeouts){let e=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,n=yy.setTimeout(()=>{this.#e[fe].endTimer(n);let r=t.timeouts;t.timeouts=null;for(let t of r)if(e){let e;try{e=t.callback()}catch(e){this[zo](e)}e instanceof Promise&&e.catch(e=>this[zo](e))}else t.callback()},0);t.timeouts=[],this.#e[fe].startTimer(n)}let i=new wy(()=>e(...n));return t.timeouts.push(i),i}let i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,a=yy.setTimeout(()=>{if(this.#e[fe].endTimer(a),i){let t;try{t=e(...n)}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e(...n)},r?.timer.maxTimeout!==-1&&t&&t>r?.timer.maxTimeout?r?.timer.maxTimeout:t);return this.#e[fe].startTimer(a),a}clearTimeout(e){if(e&&e instanceof wy){let t=this.#o;if(!t.timeouts)return;let n=t.timeouts.indexOf(e);n!==-1&&t.timeouts.splice(n,1);return}by&&(!e||e.constructor.name!==`Timeout`)||(yy.clearTimeout(e),this.#e[fe].endTimer(e))}setInterval(e,t=0,...n){if(this.closed)return{};let r=this.#e.page.context.browser.settings,i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,a=0,o=yy.setInterval(()=>{if(i){let t;try{t=e(...n)}catch(e){this.clearInterval(o),this[zo](e)}t instanceof Promise&&t.catch(e=>{this.clearInterval(o),this[zo](e)})}else e(...n);r?.timer.maxIntervalIterations!==-1&&(a>=r?.timer.maxIntervalIterations&&this.clearInterval(o),a++)},r?.timer.maxIntervalTime!==-1&&t&&t>r?.timer.maxIntervalTime?r?.timer.maxIntervalTime:t);return this.#e[fe].startTimer(o),o}clearInterval(e){by&&(!e||e.constructor.name!==`Timeout`)||(yy.clearInterval(e),this.#e[fe].endTimer(e))}requestAnimationFrame(e){if(this.closed)return{};let t=this.#e.page.context.browser.settings;if(t.timer.preventTimerLoops){let e=Error().stack,n=this.#s,r=this.#c,i=n.indexOf(e);if(i!==-1){if(r[i].requestAnimationFrame++,r[i].requestAnimationFrame>=(t.timer.preventTimerLoops===!0?1:t.timer.preventTimerLoops.requestAnimationFrame??1))return{}}else n.push(e),r.push({timeout:0,requestAnimationFrame:0})}let n=!t||!t.disableErrorCapturing&&t.errorCapture===Ls.tryAndCatch,r=yy.setImmediate(()=>{if(this.#e[fe].endImmediate(r),n){let t;try{t=e(this.performance.now())}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e(this.performance.now())});return this.#e[fe].startImmediate(r),r}cancelAnimationFrame(e){by&&(!e||e.constructor.name!==`Immediate`)||(yy.clearImmediate(e),this.#e[fe].endImmediate(e))}queueMicrotask(e){if(this.closed)return;let t=!1,n=this.#e[fe].startTask(()=>t=!0),r=this.#e.page.context.browser.settings,i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch;yy.queueMicrotask(()=>{if(!t)if(this.#e[fe].endTask(n),i){let t;try{t=e()}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e()})}async fetch(e,t){return this.closed?Promise.reject(new this.DOMException(`Failed to execute 'fetch' on 'Window': The window is closed.`,H.invalidStateError)):await new qu({browserFrame:this.#e,window:this,url:e,init:t}).send()}btoa(e){return Fs.btoa(e)}atob(e){return Fs.atob(e)}postMessage(e,t=`*`,n){if(!this.closed){if(t&&t!==`*`&&this.location.origin!==t)throw new this.DOMException(`Failed to execute 'postMessage' on 'Window': The target origin provided ('${t}') does not match the recipient window\'s origin ('${this.location.origin}').`,H.securityError);try{JSON.stringify(e)}catch{throw new this.DOMException(`Failed to execute 'postMessage' on 'Window': The provided message cannot be serialized.`,H.invalidStateError)}this.setTimeout(()=>this.dispatchEvent(new ou(`message`,{data:e,origin:this.#e.parentFrame?this.#e.parentFrame.window.location.origin:this.#e.window.location.origin,source:this.#e.parentFrame?this.#e.parentFrame.window:this.#e.window,lastEventId:``})))}}resizeTo(e,t){if(!this.closed){if(!e||!t)throw new this.DOMException(`Failed to execute 'resizeTo' on 'Window': 2 arguments required, but only ${arguments.length} present.`);this.#e[St]&&this.#e.page.setViewport({width:e,height:t})}}resizeBy(e,t){if(!this.closed){if(!e||!t)throw new this.DOMException(`Failed to execute 'resizeBy' on 'Window': 2 arguments required, but only ${arguments.length} present.`);if(this.#e[St]){let n=this.#e.page.viewport;this.#e.page.setViewport({width:n.width+e,height:n.height+t})}}}async createImageBitmap(e,t,n,r,i,a){return new vy(N,this,e,t,n,r,i,a)}[zo](e){this.#e.page.console.error(e),this.dispatchEvent(new tu(`error`,{message:e.message,error:e}))}[Fe](e,t){return new ce.Script(e,t).runInContext(this)}[ct](){ce.isContext(this)||(ce.createContext(this),Ph.runInContext(this))}[ns](){let e=this.#e;(xy||Sy)&&e.page.context.browser.settings.enableJavaScriptEvaluation&&!e.page.context.browser.settings.suppressInsecureJavaScriptEnvironmentWarning&&!e.page.context.browser.settings.suppressCodeGenerationFromStringsWarning&&console.warn(`
185
+ `||e===`\r`,e.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),e.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),e.asciiLowercase=e=>e.replace(/[A-Z]/gu,e=>e.toLowerCase()),e.collectAnHTTPQuotedString=(e,t)=>{let n=``;for(t++;;){for(;t<e.length&&e[t]!==`"`&&e[t]!==`\\`;)n+=e[t],++t;if(t>=e.length)break;let r=e[t];if(++t,r===`\\`){if(t>=e.length){n+=`\\`;break}n+=e[t],++t}else break}return[n,t]}})),Ag=t(((e,t)=>{let{asciiLowercase:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:i}=kg();t.exports=class{constructor(e){this._map=e}get size(){return this._map.size}get(e){return e=n(String(e)),this._map.get(e)}has(e){return e=n(String(e)),this._map.has(e)}set(e,t){if(e=n(String(e)),t=String(t),!r(e))throw Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`);if(!i(t))throw Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`);return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=n(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}})),jg=t(((e,t)=>{let{removeLeadingAndTrailingHTTPWhitespace:n,removeTrailingHTTPWhitespace:r,isHTTPWhitespaceChar:i,solelyContainsHTTPTokenCodePoints:a,soleyContainsHTTPQuotedStringTokenCodePoints:o,asciiLowercase:s,collectAnHTTPQuotedString:c}=kg();t.exports=e=>{e=n(e);let t=0,l=``;for(;t<e.length&&e[t]!==`/`;)l+=e[t],++t;if(l.length===0||!a(l)||t>=e.length)return null;++t;let u=``;for(;t<e.length&&e[t]!==`;`;)u+=e[t],++t;if(u=r(u),u.length===0||!a(u))return null;let d={type:s(l),subtype:s(u),parameters:new Map};for(;t<e.length;){for(++t;i(e[t]);)++t;let n=``;for(;t<e.length&&e[t]!==`;`&&e[t]!==`=`;)n+=e[t],++t;if(n=s(n),t<e.length){if(e[t]===`;`)continue;++t}let l=null;if(e[t]===`"`)for([l,t]=c(e,t);t<e.length&&e[t]!==`;`;)++t;else{for(l=``;t<e.length&&e[t]!==`;`;)l+=e[t],++t;if(l=r(l),l===``)continue}n.length>0&&a(n)&&o(l)&&!d.parameters.has(n)&&d.parameters.set(n,l)}return d}})),Mg=t(((e,t)=>{let{solelyContainsHTTPTokenCodePoints:n}=kg();t.exports=e=>{let t=`${e.type}/${e.subtype}`;if(e.parameters.size===0)return t;for(let[r,i]of e.parameters)t+=`;`,t+=r,t+=`=`,(!n(i)||i.length===0)&&(i=i.replace(/(["\\])/gu,`\\$1`),i=`"${i}"`),t+=i;return t}})),Ng=e(t(((e,t)=>{let n=Ag(),r=jg(),i=Mg(),{asciiLowercase:a,solelyContainsHTTPTokenCodePoints:o}=kg();t.exports=class{constructor(e){e=String(e);let t=r(e);if(t===null)throw Error(`Could not parse MIME type string "${e}"`);this._type=t.type,this._subtype=t.subtype,this._parameters=new n(t.parameters)}static parse(e){try{return new this(e)}catch{return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid type: must be a non-empty string`);if(!o(e))throw Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid subtype: must be a non-empty string`);if(!o(e))throw Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return i(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){case`text`:switch(this._subtype){case`ecmascript`:case`javascript`:case`javascript1.0`:case`javascript1.1`:case`javascript1.2`:case`javascript1.3`:case`javascript1.4`:case`javascript1.5`:case`jscript`:case`livescript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}case`application`:switch(this._subtype){case`ecmascript`:case`javascript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}default:return!1}}isXML(){return this._subtype===`xml`&&(this._type===`text`||this._type===`application`)||this._subtype.endsWith(`+xml`)}isHTML(){return this._subtype===`html`&&this._type===`text`}}}))(),1),Pg;(function(e){e[e.empty=0]=`empty`,e[e.loading=1]=`loading`,e[e.done=2]=`done`})(Pg||={});var Fg=Pg,Ig;(function(e){e.buffer=`buffer`,e.binaryString=`binaryString`,e.dataURL=`dataURL`,e.text=`text`})(Ig||={});var Lg=Ig,Rg;(function(e){e.abort=`abort`,e.error=`error`,e.load=`load`,e.loadstart=`loadstart`,e.loadend=`loadend`,e.progress=`progress`})(Rg||={});var zg=Rg,Bg=class extends nl{error=null;result=null;readyState=Fg.empty;onabort=null;onerror=null;onload=null;onloadstart=null;onloadend=null;onprogress=null;#e=!1;#t=null;#n=null;constructor(){if(super(),!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}readAsArrayBuffer(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.buffer)}readAsBinaryString(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.binaryString)}readAsDataURL(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.dataURL)}readAsText(e,t=null){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.text,t||`UTF-8`)}abort(){let e=this[b];if(this.#t&&e.clearTimeout(this.#t),this.#n&&e.clearTimeout(this.#n),this.readyState===Fg.empty||this.readyState===Fg.done){this.result=null;return}this.readyState===Fg.loading&&(this.readyState=Fg.done,this.result=null),this.#e=!0,this.dispatchEvent(new lu(zg.abort)),this.dispatchEvent(new lu(zg.loadend))}#r(e,t,n=null){let r=this[b];if(this.readyState===Fg.loading)throw new r.DOMException(`The object is in an invalid state.`,H.invalidStateError);this.readyState=Fg.loading,this.#t=r.setTimeout(()=>{if(this.#e){this.#e=!1;return}this.dispatchEvent(new lu(zg.loadstart));let a=e[me];a||=i.alloc(0),this.dispatchEvent(new lu(zg.loadstart,{lengthComputable:!isNaN(e.size),total:e.size,loaded:a.length})),this.#n=r.setTimeout(()=>{if(this.#e){this.#e=!1;return}switch(t){default:case Lg.buffer:this.result=new Uint8Array(a).buffer;break;case Lg.binaryString:this.result=a.toString(`binary`);break;case Lg.dataURL:{let t=Ng.default.parse(e.type)||`application/octet-stream`;this.result=`data:${t};base64,${a.toString(`base64`)}`;break}case Lg.text:this.result=new TextDecoder(n||`UTF-8`).decode(a);break}this.readyState=Fg.done,this.dispatchEvent(new lu(zg.load)),this.dispatchEvent(new lu(zg.loadend))})})}};const Vg={aspectRatio:{max:300,min:.006666666666666667},deviceId:``,facingMode:[],frameRate:{max:60,min:0},height:{max:150,min:1},resizeMode:[`none`,`crop-and-scale`],width:{max:300,min:1}},Hg={deviceId:``,frameRate:60,resizeMode:`none`};var Ug=class extends nl{contentHint=``;enabled=!0;id=s.randomUUID();muted=!1;readyState=`live`;label=``;[Fr]=``;[Pr]=`video`;[zn]={};[Bn]=JSON.parse(JSON.stringify(Vg));[Vn]=JSON.parse(JSON.stringify(Hg));onended=null;onmute=null;onunmute=null;constructor(e){if(super(),e!==N)throw TypeError(`Illegal constructor`);if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get kind(){return this[Pr]}async applyConstraints(e){this.#e(this[zn],e)}getConstraints(){return this[zn]}getCapabilities(){return this[Bn]}getSettings(){return this[Vn]}clone(){let e=new this.constructor(N);return e[Pr]=this[Pr],e[zn]=this[zn],e[Bn]=this[Bn],e[Vn]=this[Vn],e.contentHint=this.contentHint,e.enabled=this.enabled,e.label=this.label,e.muted=this.muted,e.readyState=this.readyState,e}stop(){this.readyState=`ended`}#e(e,t){for(let n in t)t[n]!==null&&typeof t[n]==`object`&&!Array.isArray(t[n])?(typeof e[n]!=`object`&&(e[n]={}),this.#e(e[n],t[n])):e[n]=t[n]}},Wg=class extends Ug{[zr];constructor(e,t){super(e),this[zr]=t}get canvas(){return this[zr]}requestFrame(){}clone(){let e=super.clone();return e[zr]=this.canvas,e}},Gg;(function(e){e[e.connecting=0]=`connecting`,e[e.open=1]=`open`,e[e.closing=2]=`closing`,e[e.closed=3]=`closed`})(Gg||={});var Kg=Gg;const qg=/^[!#$%&'*+\-.^_`|~\dA-Za-z]+$/;var Jg=class extends nl{static CONNECTING=Kg.connecting;static OPEN=Kg.open;static CLOSING=Kg.closing;static CLOSED=Kg.closed;#e=Kg.closed;#t=``;#n=`blob`;#r=null;#i;[is]=null;constructor(e,t){super();let n=this[b],r;try{r=new URL(e)}catch{throw new n.DOMException(`The URL '${e}' is invalid.`,H.syntaxError)}if(r.protocol!==`ws:`&&r.protocol!==`wss:`)throw new n.DOMException(`The URL's protocol must be either 'ws' or 'wss'. '${r.protocol}' is not allowed.`,H.syntaxError);r.hash&&=``;let i=new Set,a=t===void 0?[]:Array.isArray(t)?t:[t];for(let e of a){if(!this.#d(e))throw new n.DOMException(`The subprotocol '${e}' is invalid.`,H.syntaxError);if(i.has(e))throw new n.DOMException(`The subprotocol '${e}' is duplicated.`,H.syntaxError);i.add(e)}this.#i=r,this.#a(r,a)}get readyState(){return this.#e}get extensions(){return this.#t}get binaryType(){return this.#n}set binaryType(e){e!==`blob`&&e!==`arraybuffer`||(this.#n=e)}get protocol(){return this[is]?.protocol||``}get url(){return this.#i.href}close(e,t){let n=this[b];if(e!==void 0&&e!==1e3&&!(e>=3e3&&e<=4999))throw new n.DOMException(`The code must be either 1000, or between 3000 and 4999. ${e} is neither.`,H.invalidAccessError);if(t!==void 0&&Buffer.byteLength(t,`utf8`)>123)throw new n.DOMException(`The message must not be greater than 123 bytes.`,H.syntaxError);this.#o(e,t?Buffer.from(t):void 0)}send(e){let t=this[b];if(this.#e===Kg.connecting)throw new t.DOMException(`Still in CONNECTING state.`,H.invalidStateError);if(this.#e!==Kg.open)return;if(typeof e==`string`){this[is]?.send(e,{binary:!1});return}let n;n=e instanceof ArrayBuffer?Buffer.from(new Uint8Array(e)):e instanceof Rs?e[me]:e instanceof Buffer?e:ArrayBuffer.isView(e)?Buffer.from(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)):Buffer.from(String(e)),this[is]?.send(n,{binary:!0})}[Me](){super[Me](),this.#o(1001)}#a(e,t){let r=this[b],i=new Y(r).getBrowserContext();if(!i)return;let a=new URL(r.location.href),o=i.cookieContainer.getCookies(a,!1);this.#e=Kg.connecting,this[is]=new n(e,t,{headers:{"user-agent":r.navigator.userAgent,cookie:Nu.cookiesToString(o),origin:a.origin},rejectUnauthorized:!i.browser.settings.fetch.disableStrictSSL}),this[is].once(`open`,()=>{this.#s()}),this[is].on(`message`,this.#l.bind(this)),this[is].once(`close`,(e,t)=>{this.#c(e,t)}),this[is].once(`upgrade`,({headers:e})=>{if(e[`set-cookie`]!==void 0){let t=Array.isArray(e[`set-cookie`])?e[`set-cookie`]:[e[`set-cookie`]];for(let e of t){let t=Nu.stringToCookie(a,e);t&&i.cookieContainer.addCookies([t])}}}),this[is].once(`error`,e=>{this.#r=e}),r[rs].push(this)}#o(e,t){this.readyState===Kg.connecting?this[is]?this[is].terminate():this.#e=Kg.closing:this[is]&&this.readyState===Kg.open&&this[is].close(e,t),this[is]=null}#s(){this[is]?.extensions&&(this.#t=Object.keys(this[is].extensions).join(`, `)),this.#e=Kg.open,this.dispatchEvent(new this[b].Event(`open`))}#c(e,t){let n=this[b],r=n[rs].indexOf(this);r!==-1&&n[rs].splice(r,1),this.#e=Kg.closed,this.dispatchEvent(new this[b].CloseEvent(`close`,{wasClean:this.#r===null,code:e,reason:t.toString()}))}#l(e,t){if(this.#e!==Kg.open)return;let n=this[b],r;if(t)switch(this.binaryType){case`arraybuffer`:r=e instanceof n.ArrayBuffer?e:Array.isArray(e)?this.#u(Buffer.concat(e)):this.#u(e);break;default:Array.isArray(e)||(e=[e]),r=new n.Blob(e);break}else r=String(e);this.dispatchEvent(new n.MessageEvent(`message`,{data:r,origin:this.#i.origin}))}#u(e){let t=new this[b].ArrayBuffer(e.byteLength);return new Uint8Array(t).set(e),t}#d(e){return qg.test(e)}},Yg=class{[Ae];[y];[h];constructor(e,t,n){if(arguments.length<2)throw new this[b].TypeError(`Failed to construct 'ImageData': 2 arguments required, but only ${arguments.length} present.`);if(e instanceof Uint8ClampedArray){if(typeof t!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The width argument must be a number.`);if(n!==void 0&&typeof n!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The height argument must be a number.`);this[Ae]=e,this[y]=t,this[h]=n===void 0?e.length/(t*4):n}else{if(typeof t!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The height argument must be a number.`);this[Ae]=new Uint8ClampedArray(Array(e*t*4).fill(0)),this[y]=e,this[h]=t}}get data(){return this[Ae]}get width(){return this[y]}get height(){return this[h]}};const Xg={a:1,b:0,c:0,d:1,e:0,f:0,m11:1,m12:0,m13:0,m14:0,m21:0,m22:1,m23:0,m24:0,m31:0,m32:0,m33:1,m34:0,m41:0,m42:0,m43:0,m44:1,is2D:!0,isIdentity:!0},Zg=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,Qg=/[\s,]+/;var $g=class e{[Yi]=1;[Xi]=0;[Zi]=0;[Qi]=0;[$i]=0;[ea]=1;[ta]=0;[na]=0;[ra]=0;[ia]=0;[aa]=1;[oa]=0;[sa]=0;[ca]=0;[la]=0;[ua]=1;constructor(e){e&&this[da](e)}get a(){return this[Yi]}get b(){return this[Xi]}get c(){return this[$i]}get d(){return this[ea]}get e(){return this[sa]}get f(){return this[ca]}get m11(){return this[Yi]}get m12(){return this[Xi]}get m13(){return this[Zi]}get m14(){return this[Qi]}get m21(){return this[$i]}get m22(){return this[ea]}get m23(){return this[ta]}get m24(){return this[na]}get m31(){return this[ra]}get m32(){return this[ia]}get m33(){return this[aa]}get m34(){return this[oa]}get m41(){return this[sa]}get m42(){return this[ca]}get m43(){return this[la]}get m44(){return this[ua]}get isIdentity(){return this[Yi]===1&&this[Xi]===0&&this[Zi]===0&&this[Qi]===0&&this[$i]===0&&this[ea]===1&&this[ta]===0&&this[na]===0&&this[ra]===0&&this[ia]===0&&this[aa]===1&&this[oa]===0&&this[sa]===0&&this[ca]===0&&this[la]===0&&this[ua]===1}get is2D(){return this[ra]===0&&this[ia]===0&&this[aa]===1&&this[oa]===0&&this[la]===0&&this[ua]===1}toFloat32Array(e){return Float32Array.from(this[Ki](e))}toFloat64Array(e){return Float64Array.from(this[Ki](e))}toString(){let e=this.is2D,t=this[Ki](e).join(`, `);return`${e?`matrix`:`matrix3d`}(${t})`}toJSON(){let{is2D:e,isIdentity:t}=this;return{m11:this[Yi],m12:this[Xi],m13:this[Zi],m14:this[Qi],m21:this[$i],m22:this[ea],m23:this[ta],m24:this[na],m31:this[ra],m32:this[ia],m33:this[aa],m34:this[oa],m41:this[sa],m42:this[ca],m43:this[la],m44:this[ua],a:this[Yi],b:this[Xi],c:this[$i],d:this[ea],e:this[sa],f:this[ca],is2D:e,isIdentity:t}}multiply(e){let t=new this.constructor(this);return e&&t[ba](e),t}translate(e=0,t=0,n=0){let r=new this.constructor(this);return r[fa](e,t,n),r}scale(e,t,n=1,r=0,i=0,a=0){let o=new this.constructor(this);return o[ha](e,t,n,r,i,a),o}scale3d(e=1,t=0,n=0,r=0){let i=new this.constructor(this);return i[ga](e,t,n,r),i}scaleNonUniform(e=1,t=1){let n=new this.constructor(this);return n[_a](e,t),n}rotateAxisAngle(e=0,t=0,n=0,r=0){let i=new this.constructor(this);return i[ma](e,t,n,r),i}rotate(e=0,t,n){let r=new this.constructor(this);return r[pa](e,t,n),r}rotateFromVector(e=0,t=0){let n=new this.constructor(this);return n[_o](e,t),n}skewX(e){let t=new this.constructor(this);return t[va](e),t}skewY(e){let t=new this.constructor(this);return t[ya](e),t}flipX(){let e=new this.constructor(this);return e[vo](),e}flipY(){let e=new this.constructor(this);return e[yo](),e}inverse(){let e=new this.constructor(this);return e[bo](),e}transformPoint(e){let t=e?.x??0,n=e?.y??0,r=e?.z??0,i=e?.w??1,a=this[Yi]*t+this[$i]*n+this[ra]*r+this[sa]*i,o=this[Xi]*t+this[ea]*n+this[ia]*r+this[ca]*i,s=this[Zi]*t+this[ta]*n+this[aa]*r+this[la]*i,c=this[Qi]*t+this[na]*n+this[oa]*r+this[ua]*i;return new this[b].DOMPoint(a,o,s,c)}[da](e){let t=null;if(typeof e==`string`&&e.length&&e!==`none`)t=this.constructor[qi](e);else if(Array.isArray(e)||e instanceof Float64Array||e instanceof Float32Array)t=this.constructor[Ji](e);else if(typeof e==`object`)t=this.constructor.fromMatrix(e);else return;this[Yi]=t[Yi],this[Xi]=t[Xi],this[Zi]=t[Zi],this[Qi]=t[Qi],this[$i]=t[$i],this[ea]=t[ea],this[ta]=t[ta],this[na]=t[na],this[ra]=t[ra],this[ia]=t[ia],this[aa]=t[aa],this[oa]=t[oa],this[sa]=t[sa],this[ca]=t[ca],this[la]=t[la],this[ua]=t[ua]}[ba](t){if(!t)return;let n=t;n instanceof e||(n?.m11===void 0&&n?.a!==void 0?(n=Object.assign({},Xg,n),n.m11=n.a,n.m12=n.b,n.m21=n.c,n.m22=n.d,n.m41=n.e,n.m42=n.f):n=Object.assign({},Xg,n));let r=this[Yi]*n.m11+this[$i]*n.m12+this[ra]*n.m13+this[sa]*n.m14,i=this[Yi]*n.m21+this[$i]*n.m22+this[ra]*n.m23+this[sa]*n.m24,a=this[Yi]*n.m31+this[$i]*n.m32+this[ra]*n.m33+this[sa]*n.m34,o=this[Yi]*n.m41+this[$i]*n.m42+this[ra]*n.m43+this[sa]*n.m44,s=this[Xi]*n.m11+this[ea]*n.m12+this[ia]*n.m13+this[ca]*n.m14,c=this[Xi]*n.m21+this[ea]*n.m22+this[ia]*n.m23+this[ca]*n.m24,l=this[Xi]*n.m31+this[ea]*n.m32+this[ia]*n.m33+this[ca]*n.m34,u=this[Xi]*n.m41+this[ea]*n.m42+this[ia]*n.m43+this[ca]*n.m44,d=this[Zi]*n.m11+this[ta]*n.m12+this[aa]*n.m13+this[la]*n.m14,f=this[Zi]*n.m21+this[ta]*n.m22+this[aa]*n.m23+this[la]*n.m24,p=this[Zi]*n.m31+this[ta]*n.m32+this[aa]*n.m33+this[la]*n.m34,ee=this[Zi]*n.m41+this[ta]*n.m42+this[aa]*n.m43+this[la]*n.m44,te=this[Qi]*n.m11+this[na]*n.m12+this[oa]*n.m13+this[ua]*n.m14,ne=this[Qi]*n.m21+this[na]*n.m22+this[oa]*n.m23+this[ua]*n.m24,re=this[Qi]*n.m31+this[na]*n.m32+this[oa]*n.m33+this[ua]*n.m34,ie=this[Qi]*n.m41+this[na]*n.m42+this[oa]*n.m43+this[ua]*n.m44;this[Yi]=r,this[Xi]=s,this[Zi]=d,this[Qi]=te,this[$i]=i,this[ea]=c,this[ta]=f,this[na]=ne,this[ra]=a,this[ia]=l,this[aa]=p,this[oa]=re,this[sa]=o,this[ca]=u,this[la]=ee,this[ua]=ie}[fa](e=0,t=0,n=0){let r=this.constructor[Ji]([1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1]);this[ba](r)}[ha](e,t,n=1,r=0,i=0,a=0){e=e===void 0?1:Number(e),t=t===void 0?e:Number(t),(r!==0||i!==0||a!==0)&&this[fa](r,i,a),(e!==1||t!==1||n!==1)&&this[ba](this.constructor[Ji]([e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1])),(r!==0||i!==0||a!==0)&&this[fa](-r,-i,-a)}[ga](e=1,t=0,n=0,r=0){(t!==0||n!==0||r!==0)&&this[fa](t,n,r),e!==1&&this[ba](this.constructor[Ji]([e,0,0,0,0,e,0,0,0,0,e,0,0,0,0,1])),(t!==0||n!==0||r!==0)&&this[fa](-t,-n,-r)}[_a](e=1,t=1){e===1&&t===1||this[ba](this.constructor[Ji]([e,0,0,0,0,t,0,0,0,0,1,0,0,0,0,1]))}[ma](e=0,t=0,n=0,r=0){if(e=Number(e),t=Number(t),n=Number(n),r=Number(r),isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new this[b].TypeError(`Failed to execute 'rotateAxisAngleSelf' on 'DOMMatrix': The arguments must be numbers.`);let i=Math.hypot(e,t,n);if(i===0)return;i!==1&&(e/=i,t/=i,n/=i);let a=-(r*Math.PI/360),o=this.#e,s=Math.sin(a)*Math.cos(a),c=Math.sin(a)*Math.sin(a),l=o(1-2*(t*t+n*n)*c),u=o(2*(e*t*c+n*s)),d=o(2*(e*n*c-t*s)),f=o(2*(e*t*c-n*s)),p=o(1-2*(e*e+n*n)*c),ee=o(2*(t*n*c+e*s)),te=o(2*(e*n*c+t*s)),ne=o(2*(t*n*c-e*s)),re=o(1-2*(e*e+t*t)*c),ie=this.constructor[Ji]([l,f,te,0,u,p,ne,0,d,ee,re,0,0,0,0,1]);this[ba](ie)}[pa](e=0,t,n){if(t===void 0&&n===void 0&&(n=e,e=0,t=0),t===void 0&&(t=0),n===void 0&&(n=0),e=Number(e),t=Number(t),n=Number(n),isNaN(e)||isNaN(t)||isNaN(n))throw new this[b].TypeError(`Failed to execute 'rotateSelf' on 'DOMMatrix': The arguments must be numbers.`);n!==0&&this[ma](0,0,1,n),t!==0&&this[ma](0,1,0,t),e!==0&&this[ma](1,0,0,e)}[_o](e=0,t=0){e===0&&t===0||this[pa](Math.atan2(t,e)*180/Math.PI)}[va](e){let t=Object.assign({},Xg),n=Math.tan(e*Math.PI/180);t.m21=n,t.c=n,this[ba](t)}[ya](e){let t=Object.assign({},Xg),n=Math.tan(e*Math.PI/180);t.m12=n,t.b=n,this[ba](t)}[vo](){let e=this.constructor[Ji]([-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);this[ba](e)}[yo](){let e=this.constructor[Ji]([1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1]);this[ba](e)}[bo](){let e=this[ea]*this[aa]*this[ua]-this[ea]*this[oa]*this[la]-this[ia]*this[ta]*this[ua]+this[ia]*this[na]*this[la]+this[ca]*this[ta]*this[oa]-this[ca]*this[na]*this[aa],t=-this[Xi]*this[aa]*this[ua]+this[Xi]*this[oa]*this[la]+this[ia]*this[Zi]*this[ua]-this[ia]*this[Qi]*this[la]-this[ca]*this[Zi]*this[oa]+this[ca]*this[Qi]*this[aa],n=this[Xi]*this[ta]*this[ua]-this[Xi]*this[na]*this[la]-this[ea]*this[Zi]*this[ua]+this[ea]*this[Qi]*this[la]+this[ca]*this[Zi]*this[na]-this[ca]*this[Qi]*this[ta],r=-this[Xi]*this[ta]*this[oa]+this[Xi]*this[na]*this[aa]+this[ea]*this[Zi]*this[oa]-this[ea]*this[Qi]*this[aa]-this[ia]*this[Zi]*this[na]+this[ia]*this[Qi]*this[ta],i=this[Yi]*e+this[$i]*t+this[ra]*n+this[sa]*r;if(i===0){this[Yi]=NaN,this[Xi]=NaN,this[Zi]=NaN,this[Qi]=NaN,this[$i]=NaN,this[ea]=NaN,this[ta]=NaN,this[na]=NaN,this[ra]=NaN,this[ia]=NaN,this[aa]=NaN,this[oa]=NaN,this[sa]=NaN,this[ca]=NaN,this[la]=NaN,this[ua]=NaN;return}let a=-this[$i]*this[aa]*this[ua]+this[$i]*this[oa]*this[la]+this[ra]*this[ta]*this[ua]-this[ra]*this[na]*this[la]-this[sa]*this[ta]*this[oa]+this[sa]*this[na]*this[aa],o=this[Yi]*this[aa]*this[ua]-this[Yi]*this[oa]*this[la]-this[ra]*this[Zi]*this[ua]+this[ra]*this[Qi]*this[la]+this[sa]*this[Zi]*this[oa]-this[sa]*this[Qi]*this[aa],s=-this[Yi]*this[ta]*this[ua]+this[Yi]*this[na]*this[la]+this[$i]*this[Zi]*this[ua]-this[$i]*this[Qi]*this[la]-this[sa]*this[Zi]*this[na]+this[sa]*this[Qi]*this[ta],c=this[Yi]*this[ta]*this[oa]-this[Yi]*this[na]*this[aa]-this[$i]*this[Zi]*this[oa]+this[$i]*this[Qi]*this[aa]+this[ra]*this[Zi]*this[na]-this[ra]*this[Qi]*this[ta],l=this[$i]*this[ia]*this[ua]-this[$i]*this[oa]*this[ca]-this[ra]*this[ea]*this[ua]+this[ra]*this[na]*this[ca]+this[sa]*this[ea]*this[oa]-this[sa]*this[na]*this[ia],u=-this[Yi]*this[ia]*this[ua]+this[Yi]*this[oa]*this[ca]+this[ra]*this[Xi]*this[ua]-this[ra]*this[Qi]*this[ca]-this[sa]*this[Xi]*this[oa]+this[sa]*this[Qi]*this[ia],d=this[Yi]*this[ea]*this[ua]-this[Yi]*this[na]*this[ca]-this[$i]*this[Xi]*this[ua]+this[$i]*this[Qi]*this[ca]+this[sa]*this[Xi]*this[na]-this[sa]*this[Qi]*this[ea],f=-this[Yi]*this[ea]*this[oa]+this[Yi]*this[na]*this[ia]+this[$i]*this[Xi]*this[oa]-this[$i]*this[Qi]*this[ia]-this[ra]*this[Xi]*this[na]+this[ra]*this[Qi]*this[ea],p=-this[$i]*this[ia]*this[la]+this[$i]*this[aa]*this[ca]+this[ra]*this[ea]*this[la]-this[ra]*this[ta]*this[ca]-this[sa]*this[ea]*this[aa]+this[sa]*this[ta]*this[ia],ee=this[Yi]*this[ia]*this[la]-this[Yi]*this[aa]*this[ca]-this[ra]*this[Xi]*this[la]+this[ra]*this[Zi]*this[ca]+this[sa]*this[Xi]*this[aa]-this[sa]*this[Zi]*this[ia],te=-this[Yi]*this[ea]*this[la]+this[Yi]*this[ta]*this[ca]+this[$i]*this[Xi]*this[la]-this[$i]*this[Zi]*this[ca]-this[sa]*this[Xi]*this[ta]+this[sa]*this[Zi]*this[ea],ne=this[Yi]*this[ea]*this[aa]-this[Yi]*this[ta]*this[ia]-this[$i]*this[Xi]*this[aa]+this[$i]*this[Zi]*this[ia]+this[ra]*this[Xi]*this[ta]-this[ra]*this[Zi]*this[ea];this[Yi]=e/i||0,this[Xi]=t/i||0,this[Zi]=n/i||0,this[Qi]=r/i||0,this[$i]=a/i||0,this[ea]=o/i||0,this[ta]=s/i||0,this[na]=c/i||0,this[ra]=l/i||0,this[ia]=u/i||0,this[aa]=d/i||0,this[oa]=f/i||0,this[sa]=p/i||0,this[ca]=ee/i||0,this[la]=te/i||0,this[ua]=ne/i||0}[Ki](e=!1){return e?[this[Yi],this[Xi],this[$i],this[ea],this[sa],this[ca]]:[this[Yi],this[Xi],this[Zi],this[Qi],this[$i],this[ea],this[ta],this[na],this[ra],this[ia],this[aa],this[oa],this[sa],this[ca],this[la],this[ua]]}#e(e,t=0x38d7ea4c68000){return Math.round(e*t)/t}static fromMatrix(t){return t instanceof e||(t?.m11===void 0&&t?.a!==void 0?(t=Object.assign({},Xg,t),t.m11=t.a,t.m12=t.b,t.m21=t.c,t.m22=t.d,t.m41=t.e,t.m42=t.f):t=Object.assign({},Xg,t)),this[Ji]([t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44])}static fromFloat32Array(e){return this[Ji](e)}static fromFloat64Array(e){return this[Ji](e)}static[Ji](e){if(!(e instanceof Float64Array||e instanceof Float32Array||Array.isArray(e))||e.length!==6&&e.length!==16)throw TypeError(`Failed to execute 'fromArray' on '${this.name}': '${String(e)}' is not a compatible array.`);let t=new this;if(e.length===16){let[n,r,i,a,o,s,c,l,u,d,f,p,ee,te,ne,re]=e;t[Yi]=n,t[Xi]=r,t[Zi]=i,t[Qi]=a,t[$i]=o,t[ea]=s,t[ta]=c,t[na]=l,t[ra]=u,t[ia]=d,t[aa]=f,t[oa]=p,t[sa]=ee,t[ca]=te,t[la]=ne,t[ua]=re}else if(e.length===6){let[n,r,i,a,o,s]=e;t[Yi]=n,t[Xi]=r,t[$i]=i,t[ea]=a,t[sa]=o,t[ca]=s}return t}static[qi](e){if(typeof e!=`string`)throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Expected '${String(e)}' to be a string.`);let t=new this,n=new RegExp(Zg),r;for(;r=n.exec(e);){let e=r[1],n=r[2].split(Qg);for(let e=0,t=n.length;e<t;e++)n[e]=this[xo](n[e]);let[i,a,o,s]=n;switch(e){case`perspective`:!isNaN(i)&&i!==0&&a===void 0&&o===void 0&&(t[oa]=-1/i);break;case`translate`:!isNaN(i)&&o===void 0&&t[fa](i,a||0,0);break;case`translate3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&t[fa](i,a,o);break;case`translateX`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](i);break;case`translateY`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](0,i);break;case`translateZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](0,0,i);break;case`matrix`:case`matrix3d`:(n.length===6||n.length===16)&&t[da](this[Ji](n));break;case`rotate`:case`rotateZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](0,0,i);break;case`rotateX`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](i,0,0);break;case`rotateY`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](0,i,0);case`rotate3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&!isNaN(s)&&t[ma](i,a,o,s);break;case`scale`:!isNaN(i)&&i!==1&&o===void 0&&t[ha](i,isNaN(a)?i:a);break;case`scale3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&t[ha](i,a,o);break;case`scaleX`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](i,1,1);break;case`scaleY`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](1,i,1);break;case`scaleZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](1,1,i);break;case`skew`:isNaN(i)||t[va](i),isNaN(a)||t[ya](a);break;case`skewX`:!isNaN(i)&&a===void 0&&t[va](i);break;case`skewY`:!isNaN(i)&&a===void 0&&t[ya](i);break;default:throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Unknown transform function '${r[1]}'.`)}}return t}static[xo](e){let t=parseFloat(e);switch(e.replace(t.toString(),``)){case`rem`:case`em`:case`vw`:case`vh`:case`%`:case`vmin`:case`vmax`:throw SyntaxError(`Failed to construct '${this.name}': Lengths must be absolute, not relative`);case`rad`:return 180/Math.PI*t;case`turn`:return t*360;case`px`:return t;case`cm`:return t*37.7812;case`mm`:return t*3.7781;case`in`:return t*96;case`pt`:return t*1.3281;case`pc`:return t*16;case`Q`:return t*.945;default:return t}}},e_=class extends $g{get a(){return this[Yi]}set a(e){this[Yi]=e}get b(){return this[Xi]}set b(e){this[Xi]=e}get c(){return this[$i]}set c(e){this[$i]=e}get d(){return this[ea]}set d(e){this[ea]=e}get e(){return this[sa]}set e(e){this[sa]=e}get f(){return this[ca]}set f(e){this[ca]=e}get m11(){return this[Yi]}set m11(e){this[Yi]=e}get m12(){return this[Xi]}set m12(e){this[Xi]=e}get m13(){return this[Zi]}set m13(e){this[Zi]=e}get m14(){return this[Qi]}set m14(e){this[Qi]=e}get m21(){return this[$i]}set m21(e){this[$i]=e}get m22(){return this[ea]}set m22(e){this[ea]=e}get m23(){return this[ta]}set m23(e){this[ta]=e}get m24(){return this[na]}set m24(e){this[na]=e}get m31(){return this[ra]}set m31(e){this[ra]=e}get m32(){return this[ia]}set m32(e){this[ia]=e}get m33(){return this[aa]}set m33(e){this[aa]=e}get m34(){return this[oa]}set m34(e){this[oa]=e}get m41(){return this[sa]}set m41(e){this[sa]=e}get m42(){return this[ca]}set m42(e){this[ca]=e}get m43(){return this[la]}set m43(e){this[la]=e}get m44(){return this[ua]}set m44(e){this[ua]=e}setMatrixValue(e){return this[da](e),this}multiplySelf(e){return this[ba](e),this}translateSelf(e=0,t=0,n=0){return this[fa](e,t,n),this}scaleSelf(e,t,n=1,r=0,i=0,a=0){return this[ha](e,t,n,r,i,a),this}scale3dSelf(e=1,t=0,n=0,r=0){return this[ga](e,t,n,r),this}scaleNonUniformSelf(e=1,t=1){return this[_a](e,t),this}rotateAxisAngleSelf(e=0,t=0,n=0,r=0){return this[ma](e,t,n,r),this}rotateSelf(e=0,t,n){return this[pa](e,t,n),this}rotateFromVectorSelf(e=0,t=0){return this[_o](e,t),this}skewXSelf(e){return this[va](e),this}skewYSelf(e){return this[ya](e),this}flipXSelf(){return this[vo](),this}flipYSelf(){return this[yo](),this}invertSelf(){return this[bo](),this}preMultiplySelf(e){return this[ba](e),this}},t_=class{[D]=0;[O]=0;[Wi]=0;[Gi]=1;constructor(e,t,n,r){this[D]=e==null?0:Number(e),this[O]=t==null?0:Number(t),this[Wi]=n==null?0:Number(n),this[Gi]=r==null?1:Number(r)}get x(){return this[D]}get y(){return this[O]}get z(){return this[Wi]}get w(){return this[Gi]}toJSON(){return{x:this.x,y:this.y,z:this.z,w:this.w}}static fromPoint(e){return e?new this(e.x??null,e.y??null,e.z??null,e.w??null):new this}matrixTransform(e){let t=new this[b].DOMMatrixReadOnly(e),n=this.x*t.m11+this.y*t.m21+this.z*t.m31+this.w*t.m41,r=this.x*t.m12+this.y*t.m22+this.z*t.m32+this.w*t.m42,i=this.x*t.m13+this.y*t.m23+this.z*t.m33+this.w*t.m43,a=this.x*t.m14+this.y*t.m24+this.z*t.m34+this.w*t.m44;return new this.constructor(n,r,i,a)}},n_=class extends t_{set x(e){this[D]=e}get x(){return this[D]}set y(e){this[O]=e}get y(){return this[O]}set z(e){this[Wi]=e}get z(){return this[Wi]}set w(e){this[Gi]=e}get w(){return this[Gi]}},r_=class{static extendClasses(e){class t extends Bh{}t.prototype[b]=e,e.Document=t;class n extends Vh{}n.prototype[b]=e,e.HTMLDocument=n;class r extends Hh{}r.prototype[b]=e,e.XMLDocument=r;class i extends hh{}i.prototype[b]=e,e.DocumentFragment=i;class a extends Uh{}a.prototype[b]=e,e.Text=a;class o extends Wh{}o.prototype[b]=e,e.Comment=o;class s extends Gh{}s.prototype[b]=e,e.Image=s;class c extends Kh{}c.prototype[b]=e,e.Audio=c;class l extends Jh{}l.prototype[b]=e,e.MutationObserver=l;class u extends Yh{}u.prototype[b]=e,e.MessagePort=u;class d extends Qh{}d.prototype[b]=e,e.CSSStyleSheet=d;class f extends _s{}e.DOMException=f;class p extends vs{}p.prototype[b]=e,e.Headers=p;class ee extends Iu{}ee.prototype[b]=e,e.Request=ee;class te extends Ru{}te.prototype[b]=e,te[b]=e,e.Response=te;class ne extends nl{}ne.prototype[b]=e,e.EventTarget=ne;class re extends eg{}re.prototype[b]=e,e.XMLHttpRequestUpload=re;class ie extends $h{}ie.prototype[b]=e,e.XMLHttpRequestEventTarget=ie;class ae extends tg{}ae.prototype[b]=e,e.AbortController=ae;class oe extends ng{}oe.prototype[b]=e,oe[b]=e,e.AbortSignal=oe;class se extends Tu{}se.prototype[b]=e,e.FormData=se;class ce extends rg{}ce.prototype[b]=e,e.PermissionStatus=ce;class le extends lg{}le.prototype[b]=e,e.XMLHttpRequest=le;class ue extends bg{}ue.prototype[b]=e,e.DOMParser=ue;class de extends Cg{}de.prototype[b]=e,e.Range=de;class fe extends Tg{}fe.prototype[b]=e,e.VTTCue=fe;class pe extends Eg{}pe.prototype[b]=e,e.TextTrack=pe;class me extends Dg{}me.prototype[b]=e,e.TextTrackList=me;class he extends wg{}he.prototype[b]=e,e.TextTrackCue=he;class ge extends Og{}ge.prototype[b]=e,e.RemotePlayback=ge;class _e extends Bg{}_e.prototype[b]=e,e.FileReader=_e;class ve extends If{}ve.prototype[b]=e,e.MediaStream=ve;class ye extends Ug{}ye.prototype[b]=e,e.MediaStreamTrack=ye;class be extends Wg{}be.prototype[b]=e,e.CanvasCaptureMediaStreamTrack=be;class xe extends mu{}xe.prototype[b]=e,e.URL=xe;class Se extends Jg{}Se.prototype[b]=e,e.WebSocket=Se;class Ce extends Yg{}Ce.prototype[b]=e,e.ImageData=Ce;class we extends Xf{}we.prototype[b]=e,e.OffscreenCanvas=we;class Te extends $g{}Te.prototype[b]=e,e.DOMMatrixReadOnly=Te;class Ee extends e_{}Ee.prototype[b]=e,e.DOMMatrix=Ee;class De extends t_{}De.prototype[b]=e,e.DOMPointReadOnly=De;class Oe extends n_{}Oe.prototype[b]=e,e.DOMPoint=Oe}};const i_=/[\t\f\n\r ,]+/;var a_=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N||(this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute,t!==N))throw TypeError(`Illegal constructor`);let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){this[M].attributeValue=``,this[M].items=[],this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGStringList': 1 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e){this.clear();return}return this[L](e),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),this[L](n.join(` `)),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return this.removeItem(t);let n=this[P]();t<0?t=0:t>=n.length&&(t=n.length-1);let r=n[t];return n[t]=e,this[L](n.join(` `)),r}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return t.splice(e,1),this[L](t.join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),this[L](t.join(` `)),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;let n=[],r=e.trim();if(r)for(let e of r.split(i_))n.includes(e)||n.push(e);return t.attributeValue=e,t.items=n,n}};const o_=/([a-zA-Z0-9]+)\(([^)]+)\)/,s_=/[\s,]+/;var c_=class e{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get a(){return this[Sa]().a}set a(e){if(this[F])return;let t=this[Sa]();t.a=e,this[Ca](t)}get b(){return this[Sa]().b}set b(e){if(this[F])return;let t=this[Sa]();t.b=e,this[Ca](t)}get c(){return this[Sa]().c}set c(e){if(this[F])return;let t=this[Sa]();t.c=e,this[Ca](t)}get d(){return this[Sa]().d}set d(e){if(this[F])return;let t=this[Sa]();t.d=e,this[Ca](t)}get e(){return this[Sa]().e}set e(e){if(this[F])return;let t=this[Sa]();t.e=e,this[Ca](t)}get f(){return this[Sa]().f}set f(e){if(this[F])return;let t=this[Sa]();t.f=e,this[Ca](t)}multiply(t){if(!(t instanceof e))throw new this[b].TypeError(`Failed to execute 'multiply' on 'SVGMatrix': parameter 1 is not of type 'SVGMatrix'.`);let n=this[Sa](),r=new e(N,this[b]);return n.multiplySelf(t[Sa]()),r[Ca](n),r}translate(t=0,n=0){let r=this[Sa](),i=new e(N,this[b]);return r.translateSelf(t,n),i[Ca](r),i}scale(t){let n=this[Sa](),r=new e(N,this[b]);return n.scaleSelf(t),r[Ca](n),r}scaleNonUniform(t=1,n=1){let r=this[Sa](),i=new e(N,this[b]);return r.scaleNonUniformSelf(t,n),i[Ca](r),i}rotate(t){let n=this[Sa](),r=new e(N,this[b]);return n.rotateSelf(t),r[Ca](n),r}rotateFromVector(t=0,n=0){let r=this[Sa](),i=new e(N,this[b]);return r.rotateFromVectorSelf(t,n),i[Ca](r),i}skewX(t){let n=this[Sa](),r=new e(N,this[b]);return n.skewXSelf(t),r[Ca](n),r}skewY(t){let n=this[Sa](),r=new e(N,this[b]);return n.skewYSelf(t),r[Ca](n),r}flipX(){let t=this[Sa](),n=new e(N,this[b]);return t.flipXSelf(),n[Ca](t),n}flipY(){let t=this[Sa](),n=new e(N,this[b]);return t.flipYSelf(),n[Ca](t),n}inverse(){let t=this[Sa](),n=new e(N,this[b]);return t.invertSelf(),n[Ca](t),n}[Sa](){let e=this[I]?this[I]():this[R],t=this[b];if(!e)return new t.DOMMatrix;let n=e.match(o_);if(!n)return new t.DOMMatrix;let r=[];for(let i of n[2].trim().split(s_)){let n=Number(i);if(isNaN(n))throw new t.TypeError(`Failed to parse transform attribute: Expected number, but got "${i}" in "${e}".`);r.push(n)}switch(n[1]){case`matrix`:if(r.length!==6)throw new t.TypeError(`Failed to parse transform attribute: Expected 6 parameters in "${e}".`);return e_[qi](e);case`scale`:case`translate`:if(r.length!==1&&r.length!==2)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 or 2 parameters in "${e}".`);return e_[qi](e);case`skewY`:case`skewX`:if(r.length!==1)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 parameter in "${e}".`);return e_[qi](e);case`rotate`:let n=new t.DOMMatrix;if(r.length!==1&&r.length!==3)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 or 3 parameters in "${e}".`);let[i,a,o]=r;(a||o)&&n.translateSelf(a,o);let s=i*Math.PI/180;return n.multiplySelf(new t.DOMMatrix([Math.cos(s),Math.sin(s),-Math.sin(s),Math.cos(s),0,0])),(a||o)&&n.translateSelf(-a,-o),n;default:throw new this[b].TypeError(`Failed to parse transform attribute: Unknown transformation "${e}".`)}}[Ca](e){this[R]=e.toString().replace(/, /g,` `),this[L]&&this[L](this[R])}},l_;(function(e){e[e.unknown=0]=`unknown`,e[e.matrix=1]=`matrix`,e[e.translate=2]=`translate`,e[e.scale=3]=`scale`,e[e.rotate=4]=`rotate`,e[e.skewX=5]=`skewX`,e[e.skewY=6]=`skewY`})(l_||={});var u_=l_;const d_=/([a-zA-Z0-9]+)\(([^)]+)\)/,f_=/[\s,]+/;var p_=class{static SVG_TRANSFORM_UNKNOWN=u_.unknown;static SVG_TRANSFORM_MATRIX=u_.matrix;static SVG_TRANSFORM_TRANSLATE=u_.translate;static SVG_TRANSFORM_SCALE=u_.scale;static SVG_TRANSFORM_ROTATE=u_.rotate;static SVG_TRANSFORM_SKEWX=u_.skewX;static SVG_TRANSFORM_SKEWY=u_.skewY;[b];[I]=null;[L]=null;[R]=null;[F]=!1;[xa]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get type(){let e=(this[I]?this[I]():this[R])?.match(d_);if(!e)return u_.unknown;switch(e[1]){case`matrix`:return u_.matrix;case`translate`:return u_.translate;case`rotate`:return u_.rotate;case`scale`:return u_.scale;case`skewX`:return u_.skewX;case`skewY`:return u_.skewY}return 0}get angle(){let e=(this[I]?this[I]():this[R])?.match(d_);if(!e)return 0;let t=parseFloat(e[2].trim().split(f_)[0]);if(isNaN(t))return 0;switch(e[1]){case`rotate`:case`skewX`:case`skewY`:return t}return 0}get matrix(){return this[xa]||(this[xa]=new c_(N,this[b],{readOnly:this[F],getAttribute:()=>this[I]?this[I]():this[R],setAttribute:e=>{if(this[R]=e,this[L]){this[L](e);return}}})),this[xa]}setMatrix(e){if(!(e instanceof c_))throw TypeError(`Failed to set the "matrix" property on "SVGTransform": The provided value is not of type "SVGMatrix".`);this[F]||(this[xa]&&(this[xa][I]=null,this[xa][L]=null),e[I]=()=>this[I]?this[I]():this[R],e[L]=e=>{if(this[R]=e,this[L]){this[L](e);return}},this[xa]=e,e[R]!==this[R]&&(this[R]=e[R],this[L]&&this[L](this[R]||``)))}setTranslate(e,t){if(arguments.length<2)throw TypeError(`Failed to execute 'setTranslate' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw TypeError(`Failed to execute 'setTranslate' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`translate(${e} ${t})`,this[L]&&this[L](this[R]))}setScale(e,t){if(arguments.length<2)throw TypeError(`Failed to execute 'setScale' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw TypeError(`Failed to execute 'setScale' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`scale(${e} ${t})`,this[L]&&this[L](this[R]))}setRotate(e,t,n){if(arguments.length<3)throw TypeError(`Failed to execute 'setRotate' on 'SVGTransform': 3 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),n=Number(n),isNaN(e)||isNaN(t)||isNaN(n))throw TypeError(`Failed to execute 'setRotate' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`rotate(${e} ${t} ${n})`,this[L]&&this[L](this[R]))}setSkewX(e){if(arguments.length<1)throw TypeError(`Failed to execute 'setSkewX' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw TypeError(`Failed to execute 'setSkewX' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`skewX(${e})`,this[L]&&this[L](this[R]))}setSkewY(e){if(arguments.length<1)throw TypeError(`Failed to execute 'setSkewY' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw TypeError(`Failed to execute 'setSkewY' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`skewY(${e})`,this[L]&&this[L](this[R]))}};const m_=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,h_=`matrix(1 0 0 1 0 0)`;var g_=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGTransformList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGTransformList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[M].attributeValue=t.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=new RegExp(m_),t;for(;t=e.exec(r);){let e=new p_(N,this[b],{readOnly:this[F],getAttribute:()=>e[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)}});e[R]=`${t[1]}(${t[2]})`,n.push(e)}}return t.attributeValue=e,t.items=n,n}},__=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new g_(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:()=>{}})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new g_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},v_=class extends _h{[$r]=null;[ei]=null;[ti]=null;get oncopy(){return Z.getEventListener(this,`oncopy`)}set oncopy(e){this[V].set(`oncopy`,e)}get oncut(){return Z.getEventListener(this,`oncut`)}set oncut(e){this[V].set(`oncut`,e)}get onpaste(){return Z.getEventListener(this,`onpaste`)}set onpaste(e){this[V].set(`onpaste`,e)}get requiredExtensions(){return this[$r]||(this[$r]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`requiredExtensions`),setAttribute:e=>this.setAttribute(`requiredExtensions`,e)})),this[$r]}get systemLanguage(){return this[ei]||(this[ei]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`systemLanguage`),setAttribute:e=>this.setAttribute(`systemLanguage`,e)})),this[ei]}get transform(){return this[ti]||(this[ti]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`transform`),setAttribute:e=>this.setAttribute(`transform`,e)})),this[ti]}getBBox(){return new Dd}getCTM(){return new this[b].DOMMatrix}getScreenCTM(){return new this[b].DOMMatrix}},y_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get x(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[0]);return isNaN(n)?0:n}set x(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'x' property on 'SVGRect': The object is read-only.`);this[R]=`${String(typeof e==`number`?e:parseFloat(e))} ${this.y} ${this.width} ${this.height}`,this[L]&&this[L](this[R])}get y(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[1]);return isNaN(n)?0:n}set y(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'y' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${String(typeof e==`number`?e:parseFloat(e))} ${this.width} ${this.height}`,this[L]&&this[L](this[R])}get width(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[2]);return isNaN(n)?0:n}set width(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'width' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${this.y} ${String(typeof e==`number`?e:parseFloat(e))} ${this.height}`,this[L]&&this[L](this[R])}get height(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[3]);return isNaN(n)?0:n}set height(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'height' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${this.y} ${this.width} ${String(typeof e==`number`?e:parseFloat(e))}`,this[L]&&this[L](this[R])}};const b_=/[\t\f\n\r, ]+/;var x_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get x(){let e=((this[I]?this[I]():this[R])||``).split(b_);return e[0]?parseFloat(e[0]):0}set x(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'x' property on 'SVGPoint': The object is read-only.`);this[R]=`${e} ${this.y}`,this[L]&&this[L](this[R])}get y(){let e=((this[I]?this[I]():this[R])||``).split(b_);return e[1]?parseFloat(e[1]):0}set y(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'y' property on 'SVGPoint': The object is read-only.`);this[R]=`${this.x} ${e}`,this[L]&&this[L](this[R])}},S_;(function(e){e[e.unknown=0]=`unknown`,e[e.number=1]=`number`,e[e.percentage=2]=`percentage`,e[e.ems=3]=`ems`,e[e.exs=4]=`exs`,e[e.px=5]=`px`,e[e.cm=6]=`cm`,e[e.mm=7]=`mm`,e[e.in=8]=`in`,e[e.pt=9]=`pt`,e[e.pc=10]=`pc`})(S_||={});var C_=S_;const w_=/^(\d+|\d+\.\d+)(px|em|ex|cm|mm|in|pt|pc|%|)$/;var T_=class{static SVG_LENGTHTYPE_UNKNOWN=C_.unknown;static SVG_LENGTHTYPE_NUMBER=C_.number;static SVG_LENGTHTYPE_PERCENTAGE=C_.percentage;static SVG_LENGTHTYPE_EMS=C_.ems;static SVG_LENGTHTYPE_EXS=C_.exs;static SVG_LENGTHTYPE_PX=C_.px;static SVG_LENGTHTYPE_CM=C_.cm;static SVG_LENGTHTYPE_MM=C_.mm;static SVG_LENGTHTYPE_IN=C_.in;static SVG_LENGTHTYPE_PT=C_.pt;static SVG_LENGTHTYPE_PC=C_.pc;[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get unitType(){let e=(this[I]?this[I]()||``:this[R]||``).match(w_);if(!e||isNaN(parseFloat(e[1])))return C_.unknown;switch(e[2]){case``:return C_.number;case`px`:return C_.px;case`cm`:return C_.cm;case`mm`:return C_.mm;case`in`:return C_.in;case`pt`:return C_.pt;case`pc`:return C_.pc;case`em`:case`ex`:case`%`:throw new this[b].TypeError(`Failed to execute 'value' on 'SVGLength': Could not resolve relative length.`);default:return C_.unknown}}get value(){let e=(this[I]?this[I]()||``:this[R]||``).match(w_);if(!e)return 0;let t=parseFloat(e[1]);if(isNaN(t))return 0;switch(e[2]){case``:return t;case`px`:return t;case`cm`:return t/2.54*96;case`mm`:return t/25.4*96;case`in`:return t*96;case`pt`:return t*72;case`pc`:return t*6;case`em`:case`ex`:case`%`:throw new this[b].TypeError(`Failed to execute 'value' on 'SVGLength': Could not resolve relative length.`);default:return 0}}set value(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': The object is read-only.`);if(e=typeof e==`number`?e:parseFloat(String(e)),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': The provided float value is non-finite.`);let t=``,n=e;switch(this.unitType){case C_.number:n=e,t=``;break;case C_.px:n=e,t=`px`;break;case C_.cm:n=e/96*2.54,t=`cm`;break;case C_.mm:n=e/96*25.4,t=`mm`;break;case C_.in:n=e/96,t=`in`;break;case C_.pt:n=e/72,t=`pt`;break;case C_.pc:n=e/6,t=`pc`;break;case C_.percentage:case C_.ems:case C_.exs:throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(n)+t,this[L]&&this[L](this[R])}get valueAsString(){return this[I]?this[I]()||`0`:this[R]||`0`}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.`);if(t=typeof t==`number`?t:parseFloat(String(t)),isNaN(t))throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The provided float value is non-finite.`);let n=``;switch(e){case C_.number:n=``;break;case C_.px:n=`px`;break;case C_.cm:n=`cm`;break;case C_.mm:n=`mm`;break;case C_.in:n=`in`;break;case C_.pt:n=`pt`;break;case C_.pc:n=`pc`;break;case C_.ems:case C_.exs:case C_.percentage:throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}convertToSpecifiedUnits(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.`);let t=this.value,n=``;switch(e){case C_.number:n=``;break;case C_.px:n=`px`;break;case C_.cm:t=t/96*2.54,n=`cm`;break;case C_.mm:t=t/96*25.4,n=`mm`;break;case C_.in:t/=96,n=`in`;break;case C_.pt:t/=72,n=`pt`;break;case C_.pc:t/=6,n=`pc`;break;case C_.percentage:case C_.ems:case C_.exs:throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}},E_;(function(e){e[e.unknown=0]=`unknown`,e[e.unspecified=1]=`unspecified`,e[e.deg=2]=`deg`,e[e.rad=3]=`rad`,e[e.grad=4]=`grad`})(E_||={});var D_=E_;const O_=/^(\d+|\d+\.\d+)(deg|rad|grad|turn|)$/;var k_=class{static SVG_ANGLETYPE_UNKNOWN=D_.unknown;static SVG_ANGLETYPE_UNSPECIFIED=D_.unspecified;static SVG_ANGLETYPE_DEG=D_.deg;static SVG_ANGLETYPE_RAD=D_.rad;static SVG_ANGLETYPE_GRAD=D_.grad;[b];[I]=null;[L]=null;[R]=``;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get unitType(){let e=(this[I]?this[I]():this[R])?.match(O_);if(!e||isNaN(parseFloat(e[1])))return D_.unknown;switch(e[2]){case``:return D_.unspecified;case`deg`:return D_.deg;case`rad`:return D_.rad;case`grad`:return D_.grad;case`turn`:return D_.unknown;default:return D_.unspecified}}get value(){let e=(this[I]?this[I]():this[R])?.match(O_);if(!e)return 0;let t=parseFloat(e[1]);if(isNaN(t))return 0;switch(e[2]){case``:return t;case`deg`:return t;case`rad`:return 180/Math.PI*t;case`grad`:return 180/200*t;case`turn`:return t*360;default:return t}}set value(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGAngle': The object is read-only.`);if(e=typeof e==`number`?e:parseFloat(String(e)),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.`);let t=``,n=e;switch(this.unitType){case D_.unspecified:n=e,t=``;break;case D_.deg:n=e,t=`deg`;break;case D_.rad:n=e/(180/Math.PI),t=`rad`;break;case D_.grad:n=e/(180/200),t=`grad`;break;case D_.unknown:n=e/360,t=`turn`;default:break}this[R]=String(n)+t,this[L]&&this[L](this[R])}get valueAsString(){return this[I]?this[I]()||`0`:this[R]||`0`}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.`);if(t=typeof t==`number`?t:parseFloat(t),isNaN(t))throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.`);let n=``;switch(e){case D_.unspecified:n=``;break;case D_.deg:n=`deg`;break;case D_.rad:n=`rad`;break;case D_.grad:n=`grad`;break;case D_.unknown:n=`turn`;break;default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}convertToSpecifiedUnits(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.`);let t=this.value,n=``;switch(e){case D_.unspecified:n=``;break;case D_.deg:n=`deg`;break;case D_.rad:n=`rad`,t/=180/Math.PI;break;case D_.grad:n=`grad`,t/=180/200;break;case D_.unknown:n=`turn`,t/=360;break;default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}},A_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get value(){let e=this[I]?this[I]():this[R];return parseFloat(e||`0`)}set value(e){if(this[F])throw TypeError(`Failed to set the 'value' property on 'SVGNumber': The object is read-only.`);if(isNaN(typeof e==`number`?e:parseFloat(String(e))))throw TypeError(`Failed to set the 'value' property on 'SVGNumber': The provided value is not a number.`);this[R]=String(e),this[L]&&this[L](this[R]||``)}},j_=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new y_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new y_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},M_;(function(e){e[e.unknown=0]=`unknown`,e[e.meet=1]=`meet`,e[e.slice=2]=`slice`})(M_||={});var N_=M_,P_;(function(e){e[e.unknown=0]=`unknown`,e[e.none=1]=`none`,e[e.xMinYMin=2]=`xMinYMin`,e[e.xMidYMin=3]=`xMidYMin`,e[e.xMaxYMin=4]=`xMaxYMin`,e[e.xMinYMid=5]=`xMinYMid`,e[e.xMidYMid=6]=`xMidYMid`,e[e.xMaxYMid=7]=`xMaxYMid`,e[e.xMinYMax=8]=`xMinYMax`,e[e.xMidYMax=9]=`xMidYMax`,e[e.xMaxYMax=10]=`xMaxYMax`})(P_||={});var F_=P_;const I_=Object.values(F_);I_.length=I_.indexOf(0);const L_=Object.values(N_);L_.length=L_.indexOf(0);var R_=class{static SVG_MEETORSLICE_UNKNOWN=N_.unknown;static SVG_MEETORSLICE_MEET=N_.meet;static SVG_MEETORSLICE_SLICE=N_.slice;static SVG_PRESERVEASPECTRATIO_UNKNOWN=F_.unknown;static SVG_PRESERVEASPECTRATIO_NONE=F_.none;static SVG_PRESERVEASPECTRATIO_XMINYMIN=F_.xMinYMin;static SVG_PRESERVEASPECTRATIO_XMIDYMIN=F_.xMidYMin;static SVG_PRESERVEASPECTRATIO_XMAXYMIN=F_.xMaxYMin;static SVG_PRESERVEASPECTRATIO_XMINYMID=F_.xMinYMid;static SVG_PRESERVEASPECTRATIO_XMIDYMID=F_.xMidYMid;static SVG_PRESERVEASPECTRATIO_XMAXYMID=F_.xMaxYMid;static SVG_PRESERVEASPECTRATIO_XMINYMAX=F_.xMinYMax;static SVG_PRESERVEASPECTRATIO_XMIDYMAX=F_.xMidYMax;static SVG_PRESERVEASPECTRATIO_XMAXYMAX=F_.xMaxYMax;[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get align(){let e=this[I]?this[I]():this[R];if(!e)return F_.xMidYMid;let t=e.split(/\s+/)[0];return F_[t]===void 0?F_.xMidYMid:F_[t]}set align(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'align' property on 'SVGPreserveAspectRatio': The object is read-only.`);let t=Number(e);if(isNaN(t)||t<1||t>I_.length)throw new this[b].TypeError(`Failed to set the 'align' property on 'SVGPreserveAspectRatio': The alignment provided is invalid.`);this[R]=`${I_[t]} ${L_[this.meetOrSlice]}`,this[L]&&this[L](this[R])}get meetOrSlice(){let e=this[I]?this[I]():this[R];if(!e)return N_.meet;let t=e.split(/\s+/)[1];return!t||N_[t]===void 0?N_.meet:N_[t]}set meetOrSlice(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The object is read-only.`);let t=Number(e);if(isNaN(t)||t<1||t>2)throw new this[b].TypeError(`Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The meetOrSlice provided is invalid.`);this[R]=`${I_[this.align]} ${L_[t]}`,this[L]&&this[L](this[R])}},z_=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new R_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new R_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},$=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new T_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new T_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},B_=class extends v_{[mi]=null;[D]=null;[O]=null;[y]=null;[h]=null;[So]=1;[ai]=null;get onafterprint(){return Z.getEventListener(this,`onafterprint`)}set onafterprint(e){this[V].set(`onafterprint`,e)}get onbeforeprint(){return Z.getEventListener(this,`onbeforeprint`)}set onbeforeprint(e){this[V].set(`onbeforeprint`,e)}get onbeforeunload(){return Z.getEventListener(this,`onbeforeunload`)}set onbeforeunload(e){this[V].set(`onbeforeunload`,e)}get ongamepadconnected(){return Z.getEventListener(this,`ongamepadconnected`)}set ongamepadconnected(e){this[V].set(`ongamepadconnected`,e)}get ongamepaddisconnected(){return Z.getEventListener(this,`ongamepaddisconnected`)}set ongamepaddisconnected(e){this[V].set(`ongamepaddisconnected`,e)}get onhashchange(){return Z.getEventListener(this,`onhashchange`)}set onhashchange(e){this[V].set(`onhashchange`,e)}get onlanguagechange(){return Z.getEventListener(this,`onlanguagechange`)}set onlanguagechange(e){this[V].set(`onlanguagechange`,e)}get onmessage(){return Z.getEventListener(this,`onmessage`)}set onmessage(e){this[V].set(`onmessage`,e)}get onmessageerror(){return Z.getEventListener(this,`onmessageerror`)}set onmessageerror(e){this[V].set(`onmessageerror`,e)}get onoffline(){return Z.getEventListener(this,`onoffline`)}set onoffline(e){this[V].set(`onoffline`,e)}get ononline(){return Z.getEventListener(this,`ononline`)}set ononline(e){this[V].set(`ononline`,e)}get onpagehide(){return Z.getEventListener(this,`onpagehide`)}set onpagehide(e){this[V].set(`onpagehide`,e)}get onpageshow(){return Z.getEventListener(this,`onpageshow`)}set onpageshow(e){this[V].set(`onpageshow`,e)}get onpopstate(){return Z.getEventListener(this,`onpopstate`)}set onpopstate(e){this[V].set(`onpopstate`,e)}get onrejectionhandled(){return Z.getEventListener(this,`onrejectionhandled`)}set onrejectionhandled(e){this[V].set(`onrejectionhandled`,e)}get onstorage(){return Z.getEventListener(this,`onstorage`)}set onstorage(e){this[V].set(`onstorage`,e)}get onunhandledrejection(){return Z.getEventListener(this,`onunhandledrejection`)}set onunhandledrejection(e){this[V].set(`onunhandledrejection`,e)}get onunload(){return Z.getEventListener(this,`onunload`)}set onunload(e){this[V].set(`onunload`,e)}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get currentScale(){return this[So]}set currentScale(e){let t=typeof e==`number`?e:parseFloat(String(e));if(isNaN(t))throw this[b].TypeError(`Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non-finite.`);t<1||(this[So]=t)}get currentTranslate(){return new x_(N,this[b])}get viewBox(){return this[ai]||(this[ai]=new j_(N,this[b],{getAttribute:()=>this.getAttribute(`viewBox`),setAttribute:e=>this.setAttribute(`viewBox`,e)})),this[ai]}pauseAnimations(){}unpauseAnimations(){}animationsPaused(){return!1}getCurrentTime(){return 0}setCurrentTime(e){}getIntersectionList(e,t){return new Vc(N,[])}getEnclosureList(e,t){return new Vc(N,[])}checkIntersection(e,t){return!1}checkEnclosure(e,t){return!1}deselectAll(){}createSVGNumber(){return new A_(N,this[b])}createSVGLength(){return new T_(N,this[b])}createSVGAngle(){return new k_(N,this[b])}createSVGPoint(){return new x_(N,this[b])}createSVGMatrix(){return new c_(N,this[b])}createSVGRect(){return new y_(N,this[b])}createSVGTransform(){return new p_(N,this[b])}createSVGTransformFromMatrix(e){let t=new p_(N,this[b]);return t.setMatrix(e),t}getElementsByClassName(e){return jd.getElementsByClassName(this,e)}getElementsByTagName(e){return jd.getElementsByTagName(this,e)}getElementsByTagNameNS(e,t){return jd.getElementsByTagNameNS(this,e,t)}getElementById(e){return jd.getElementById(this,e)}[Nn](e=!1){return super[Nn](e)}},V_=class extends _h{[$r]=null;[ei]=null;get onbegin(){return Z.getEventListener(this,`onbegin`)}set onbegin(e){this[V].set(`onbegin`,e)}get onend(){return Z.getEventListener(this,`onend`)}set onend(e){this[V].set(`onend`,e)}get onrepeat(){return Z.getEventListener(this,`onrepeat`)}set onrepeat(e){this[V].set(`onrepeat`,e)}get requiredExtensions(){return this[$r]||(this[$r]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`requiredExtensions`),setAttribute:e=>this.setAttribute(`requiredExtensions`,e)})),this[$r]}get systemLanguage(){return this[ei]||(this[ei]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`systemLanguage`),setAttribute:e=>this.setAttribute(`systemLanguage`,e)})),this[ei]}get targetElement(){return null}},H_=class extends V_{},U_=class extends V_{},W_=class extends V_{},G_=class{[b];[I];[L];[mr]=0;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute,this[mr]=n.defaultValue||0}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return this[mr];let t=parseFloat(e);return isNaN(t)?this[mr]:t}set baseVal(e){let t=typeof e==`number`?e:parseFloat(e);if(isNaN(t))throw new this[b].TypeError(`TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provided float value is non-finite.`);this[L](String(t))}},K_=class extends v_{[ii]=null;get pathLength(){return this[ii]||(this[ii]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pathLength`),setAttribute:e=>this.setAttribute(`pathLength`,e)})),this[ii]}isPointInFill(e){if(!(e instanceof x_))throw TypeError(`Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.`);return!1}isPointInStroke(e){if(!(e instanceof x_))throw TypeError(`Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.`);return!1}getTotalLength(){return 0}getPointAtLength(e){return new x_(N,this[b])}},q_=class extends K_{[yi]=null;[bi]=null;[xi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get r(){return this[xi]||(this[xi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`r`),setAttribute:e=>this.setAttribute(`r`,e)})),this[xi]}},J_=class{[b];[I];[L];[li];[mr];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute,this[li]=n.values,this[mr]=n.defaultValue}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return this[li].indexOf(this[mr])+1;let t=this[li].indexOf(e);if(t===-1){let e=this[li].indexOf(null);return e===-1?0:e+1}return t+1}set baseVal(e){let t=Number(e);if(isNaN(t)&&(t=0),t<1)throw TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is ${t}, which is not settable.`);if(t>this[li].length)throw TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (${t}) is larger than the largest allowed value (${this[li].length}).`);let n=this[I](),r=this[li][t-1]===null,i=r?`0`:this[li][t-1];(!n||r&&this[li].includes(n)||!r&&n!==i)&&this[L](i||``)}},Y_=class extends _h{[Si]=null;get clipPathUnits(){return this[Si]||(this[Si]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`clipPathUnits`),setAttribute:e=>this.setAttribute(`clipPathUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Si]}},X_=class extends v_{},Z_=class extends _h{},Q_=class extends K_{[yi]=null;[bi]=null;[_i]=null;[vi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get rx(){return this[_i]||(this[_i]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`rx`),setAttribute:e=>this.setAttribute(`rx`,e)})),this[_i]}get ry(){return this[vi]||(this[vi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`ry`),setAttribute:e=>this.setAttribute(`ry`,e)})),this[vi]}},$_=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){return this[I]()||``}set baseVal(e){this[L](String(e))}},ev=class extends _h{static SVG_FEBLEND_MODE_UNKNOWN=0;static SVG_FEBLEND_MODE_NORMAL=1;static SVG_FEBLEND_MODE_MULTIPLY=2;static SVG_FEBLEND_MODE_SCREEN=3;static SVG_FEBLEND_MODE_DARKEN=4;static SVG_FEBLEND_MODE_LIGHTEN=5;static SVG_FEBLEND_MODE_OVERLAY=6;static SVG_FEBLEND_MODE_COLOR_DODGE=7;static SVG_FEBLEND_MODE_COLOR_BURN=8;static SVG_FEBLEND_MODE_HARD_LIGHT=9;static SVG_FEBLEND_MODE_SOFT_LIGHT=10;static SVG_FEBLEND_MODE_DIFFERENCE=11;static SVG_FEBLEND_MODE_EXCLUSION=12;static SVG_FEBLEND_MODE_HUE=13;static SVG_FEBLEND_MODE_SATURATION=14;static SVG_FEBLEND_MODE_COLOR=15;static SVG_FEBLEND_MODE_LUMINOSITY=16;[h]=null;[z]=null;[Da]=null;[xn]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get mode(){return this[xn]||(this[xn]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`mode`),setAttribute:e=>this.setAttribute(`mode`,e),values:[`normal`,`multiply`,`screen`,`darken`,`lighten`,`overlay`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],defaultValue:`normal`})),this[xn]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}};const tv=/[\t\f\n\r, ]+/;var nv=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N||(this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute,t!==N))throw TypeError(`Illegal constructor`);let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGNumberList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGNumberList': 1 arguments required, but only ${arguments.length} present.`);if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGNumberList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]||`0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(tv);for(let t=0,r=e.length;t<r;t++){let r=new A_(N,this[b],{readOnly:this[F],getAttribute:()=>r[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)}});r[R]=String(parseFloat(e[t])),n.push(r)}}return t.attributeValue=e,t.items=n,n}},rv=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new nv(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:()=>{}})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new nv(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},iv=class extends _h{static SVG_FEBLEND_TYPE_UNKNOWN=0;static SVG_FEBLEND_TYPE_MATRIX=1;static SVG_FEBLEND_TYPE_SATURATE=2;static SVG_FEBLEND_TYPE_HUEROTATE=3;static SVG_FEBLEND_TYPE_LUMINANCETOALPHA=4;[h]=null;[z]=null;[Da]=null;[B]=null;[qr]=null;[li]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`matrix`,`saturate`,`huerotate`,`luminancetoalpha`],defaultValue:`matrix`})),this[qr]}get values(){return this[li]||(this[li]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`values`),setAttribute:e=>this.setAttribute(`values`,e)})),this[li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},av=class extends _h{[h]=null;[z]=null;[B]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},ov=class extends _h{static SVG_FECOMPOSITE_OPERATOR_UNKNOWN=0;static SVG_FECOMPOSITE_OPERATOR_OVER=1;static SVG_FECOMPOSITE_OPERATOR_IN=2;static SVG_FECOMPOSITE_OPERATOR_OUT=3;static SVG_FECOMPOSITE_OPERATOR_ATOP=4;static SVG_FECOMPOSITE_OPERATOR_XOR=5;static SVG_FECOMPOSITE_OPERATOR_ARITHMETIC=6;[h]=null;[z]=null;[B]=null;[qr]=null;[li]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`over`,`in`,`out`,`atop`,`xor`,`arithmetic`],defaultValue:`over`})),this[qr]}get values(){return this[li]||(this[li]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`values`),setAttribute:e=>this.setAttribute(`values`,e)})),this[li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},sv=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){return this[I]()===`true`}set baseVal(e){this[L](String(typeof e==`boolean`?e:!!e))}},cv=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return 0;let t=parseInt(e);return isNaN(t)?0:t}set baseVal(e){let t=parseInt(String(e));if(isNaN(t))throw new this[b].TypeError(`TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedInteger': The provided float value is non-finite.`);this[L](String(t))}},lv=class extends _h{static SVG_EDGEMODE_UNKNOWN=0;static SVG_EDGEMODE_DUPLICATE=1;static SVG_EDGEMODE_WRAP=2;static SVG_EDGEMODE_NONE=3;[Oa]=null;[ka]=null;[Aa]=null;[h]=null;[z]=null;[ja]=null;[Ma]=null;[Na]=null;[Pa]=null;[Fa]=null;[Ia]=null;[B]=null;[La]=null;[Ra]=null;[y]=null;[D]=null;[O]=null;get bias(){return this[Oa]||(this[Oa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`bias`),setAttribute:e=>this.setAttribute(`bias`,e)})),this[Oa]}get divisor(){return this[ka]||(this[ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`divisor`),setAttribute:e=>this.setAttribute(`divisor`,e)})),this[ka]}get edgeMode(){return this[Aa]||(this[Aa]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`edgeMode`),setAttribute:e=>this.setAttribute(`edgeMode`,e),values:[`duplicate`,`wrap`,`none`],defaultValue:`duplicate`})),this[Aa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelMatrix(){return this[ja]||(this[ja]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`kernelMatrix`),setAttribute:e=>this.setAttribute(`kernelMatrix`,e)})),this[ja]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get orderX(){return this[Pa]||(this[Pa]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`orderX`),setAttribute:e=>this.setAttribute(`orderX`,e)})),this[Pa]}get orderY(){return this[Fa]||(this[Fa]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`orderY`),setAttribute:e=>this.setAttribute(`orderY`,e)})),this[Fa]}get preserveAlpha(){return this[Ia]||(this[Ia]=new sv(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAlpha`),setAttribute:e=>this.setAttribute(`preserveAlpha`,e)})),this[Ia]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get targetX(){return this[La]||(this[La]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`targetX`),setAttribute:e=>this.setAttribute(`targetX`,e)})),this[La]}get targetY(){return this[Ra]||(this[Ra]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`targetY`),setAttribute:e=>this.setAttribute(`targetY`,e)})),this[Ra]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},uv=class extends _h{[za]=null;[h]=null;[z]=null;[Ma]=null;[Na]=null;[B]=null;[Ba]=null;[y]=null;[D]=null;[O]=null;get diffuseConstant(){return this[za]||(this[za]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`diffuseConstant`),setAttribute:e=>this.setAttribute(`diffuseConstant`,e)})),this[za]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get surfaceScale(){return this[Ba]||(this[Ba]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`surfaceScale`),setAttribute:e=>this.setAttribute(`surfaceScale`,e)})),this[Ba]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},dv=class extends _h{static SVG_CHANNEL_UNKNOWN=0;static SVG_CHANNEL_R=1;static SVG_CHANNEL_G=2;static SVG_CHANNEL_B=3;static SVG_CHANNEL_A=4;[h]=null;[z]=null;[Da]=null;[B]=null;[Va]=null;[y]=null;[D]=null;[Ha]=null;[O]=null;[Ua]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get scale(){return this[Va]||(this[Va]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`scale`),setAttribute:e=>this.setAttribute(`scale`,e)})),this[Va]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get xChannelSelector(){return this[Ha]||(this[Ha]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`xChannelSelector`),setAttribute:e=>this.setAttribute(`xChannelSelector`,e),values:[`r`,`g`,`b`,`a`],defaultValue:`r`})),this[Ha]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get yChannelSelector(){return this[Ua]||(this[Ua]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`yChannelSelector`),setAttribute:e=>this.setAttribute(`yChannelSelector`,e),values:[`r`,`g`,`b`,`a`],defaultValue:`r`})),this[Ua]}},fv=class extends _h{[Wa]=null;[Ga]=null;get azimuth(){return this[Wa]||(this[Wa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`azimuth`),setAttribute:e=>this.setAttribute(`azimuth`,e)})),this[Wa]}get elevation(){return this[Ga]||(this[Ga]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`elevation`),setAttribute:e=>this.setAttribute(`elevation`,e)})),this[Ga]}},pv=class extends _h{[Ka]=null;[qa]=null;[h]=null;[z]=null;[B]=null;[Ja]=null;[Ya]=null;[y]=null;[D]=null;[O]=null;get dx(){return this[Ka]||(this[Ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get stdDeviationX(){return this[Ja]||(this[Ja]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationX`),setAttribute:e=>this.setAttribute(`stdDeviationX`,e),defaultValue:2})),this[Ja]}get stdDeviationY(){return this[Ya]||(this[Ya]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationY`),setAttribute:e=>this.setAttribute(`stdDeviationY`,e),defaultValue:2})),this[Ya]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}setStdDeviation(e,t){this.stdDeviationX.baseVal=e,this.stdDeviationY.baseVal=t}},mv=class extends _h{[h]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},hv=class extends _h{static SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN=0;static SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY=1;static SVG_FECOMPONENTTRANSFER_TYPE_TABLE=2;static SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE=3;static SVG_FECOMPONENTTRANSFER_TYPE_LINEAR=4;static SVG_FECOMPONENTTRANSFER_TYPE_GAMMA=5;[qr]=null;[Xa]=null;[Za]=null;[Qa]=null;[$a]=null;[eo]=null;[Bi]=null;get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`identity`,`table`,`discrete`,`linear`,`gamma`],defaultValue:`identity`})),this[qr]}get tableValues(){return this[Xa]||(this[Xa]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`tableValues`),setAttribute:e=>this.setAttribute(`tableValues`,e)})),this[Xa]}get slope(){return this[Za]||(this[Za]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`slope`),setAttribute:e=>this.setAttribute(`slope`,e),defaultValue:1})),this[Za]}get intercept(){return this[Qa]||(this[Qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`intercept`),setAttribute:e=>this.setAttribute(`intercept`,e)})),this[Qa]}get amplitude(){return this[$a]||(this[$a]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`amplitude`),setAttribute:e=>this.setAttribute(`amplitude`,e),defaultValue:1})),this[$a]}get exponent(){return this[eo]||(this[eo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`exponent`),setAttribute:e=>this.setAttribute(`exponent`,e),defaultValue:1})),this[eo]}get offset(){return this[Bi]||(this[Bi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`offset`),setAttribute:e=>this.setAttribute(`offset`,e)})),this[Bi]}},gv=class extends hv{},_v=class extends hv{},vv=class extends hv{},yv=class extends hv{},bv=class extends _h{static SVG_EDGEMODE_UNKNOWN=0;static SVG_EDGEMODE_DUPLICATE=1;static SVG_EDGEMODE_WRAP=2;static SVG_EDGEMODE_NONE=3;[Aa]=null;[h]=null;[z]=null;[B]=null;[Ja]=null;[Ya]=null;[y]=null;[D]=null;[O]=null;get edgeMode(){return this[Aa]||(this[Aa]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`edgeMode`),setAttribute:e=>this.setAttribute(`edgeMode`,e),values:[`duplicate`,`wrap`,`none`],defaultValue:`duplicate`})),this[Aa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get stdDeviationX(){return this[Ja]||(this[Ja]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationX`)||`2`,setAttribute:e=>this.setAttribute(`stdDeviationX`,e)})),this[Ja]}get stdDeviationY(){return this[Ya]||(this[Ya]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationY`)||`2`,setAttribute:e=>this.setAttribute(`stdDeviationY`,e)})),this[Ya]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}setStdDeviation(e,t){this.stdDeviationX.baseVal=e,this.stdDeviationY.baseVal=t}},xv=class extends _h{[to]=null;[h]=null;[Di]=null;[mi]=null;[B]=null;[y]=null;[D]=null;[O]=null;get crossOrigin(){return this.getAttribute(`crossorigin`)}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Sv=class extends _h{[h]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Cv=class extends _h{[z]=null;get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}},wv=class extends _h{static SVG_MORPHOLOGY_OPERATOR_UNKNOWN=0;static SVG_MORPHOLOGY_OPERATOR_ERODE=1;static SVG_MORPHOLOGY_OPERATOR_DILATE=2;[h]=null;[z]=null;[no]=null;[ro]=null;[io]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get operator(){return this[no]||(this[no]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`operator`),setAttribute:e=>this.setAttribute(`operator`,e),values:[`erode`,`dilate`],defaultValue:`erode`})),this[no]}get radiusX(){return this[ro]||(this[ro]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`radiusX`),setAttribute:e=>this.setAttribute(`radiusX`,e)})),this[ro]}get radiusY(){return this[io]||(this[io]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`radiusY`),setAttribute:e=>this.setAttribute(`radiusY`,e)})),this[io]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Tv=class extends _h{[h]=null;[z]=null;[Ka]=null;[qa]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get dx(){return this[Ka]||(this[Ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Ev=class extends _h{[D]=null;[O]=null;[Wi]=null;get x(){return this[D]||(this[D]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get z(){return this[Wi]||(this[Wi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`z`),setAttribute:e=>this.setAttribute(`z`,e)})),this[Wi]}},Dv=class extends _h{[h]=null;[z]=null;[Ma]=null;[Na]=null;[B]=null;[ao]=null;[oo]=null;[Ba]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get specularConstant(){return this[ao]||(this[ao]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularConstant`),setAttribute:e=>this.setAttribute(`specularConstant`,e),defaultValue:1})),this[ao]}get specularExponent(){return this[oo]||(this[oo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularExponent`),setAttribute:e=>this.setAttribute(`specularExponent`,e),defaultValue:1})),this[oo]}get surfaceScale(){return this[Ba]||(this[Ba]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`surfaceScale`),setAttribute:e=>this.setAttribute(`surfaceScale`,e),defaultValue:1})),this[Ba]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Ov=class extends _h{[D]=null;[O]=null;[Wi]=null;[so]=null;[co]=null;[lo]=null;[oo]=null;[uo]=null;get x(){return this[D]||(this[D]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get z(){return this[Wi]||(this[Wi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`z`),setAttribute:e=>this.setAttribute(`z`,e)})),this[Wi]}get pointsAtX(){return this[so]||(this[so]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtX`),setAttribute:e=>this.setAttribute(`pointsAtX`,e)})),this[so]}get pointsAtY(){return this[co]||(this[co]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtY`),setAttribute:e=>this.setAttribute(`pointsAtY`,e)})),this[co]}get pointsAtZ(){return this[lo]||(this[lo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtZ`),setAttribute:e=>this.setAttribute(`pointsAtZ`,e)})),this[lo]}get specularExponent(){return this[oo]||(this[oo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularExponent`),setAttribute:e=>this.setAttribute(`specularExponent`,e),defaultValue:1})),this[oo]}get limitingConeAngle(){return this[uo]||(this[uo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`limitingConeAngle`),setAttribute:e=>this.setAttribute(`limitingConeAngle`,e)})),this[uo]}},kv=class extends _h{[h]=null;[z]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Av=class extends _h{static SVG_TURBULENCE_TYPE_UNKNOWN=0;static SVG_TURBULENCE_TYPE_FRACTALNOISE=1;static SVG_TURBULENCE_TYPE_TURBULENCE=2;static SVG_STITCHTYPE_UNKNOWN=0;static SVG_STITCHTYPE_STITCH=1;static SVG_STITCHTYPE_NOSTITCH=2;[fo]=null;[po]=null;[h]=null;[mo]=null;[B]=null;[ho]=null;[go]=null;[qr]=null;[y]=null;[D]=null;[O]=null;get baseFrequencyX(){return this[fo]||(this[fo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`baseFrequencyX`),setAttribute:e=>this.setAttribute(`baseFrequencyX`,e)})),this[fo]}get baseFrequencyY(){return this[po]||(this[po]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`baseFrequencyY`),setAttribute:e=>this.setAttribute(`baseFrequencyY`,e)})),this[po]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get numOctaves(){return this[mo]||(this[mo]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`numOctaves`),setAttribute:e=>this.setAttribute(`numOctaves`,e)})),this[mo]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get seed(){return this[ho]||(this[ho]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`seed`),setAttribute:e=>this.setAttribute(`seed`,e)})),this[ho]}get stitchTiles(){return this[go]||(this[go]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`stitchTiles`),setAttribute:e=>this.setAttribute(`stitchTiles`,e),values:[`stitch`,`noStitch`],defaultValue:`stitch`})),this[go]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`fractalNoise`,`turbulence`],defaultValue:`turbulence`})),this[qr]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},jv=class extends _h{[Di]=null;[Ti]=null;[Ei]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get filterUnits(){return this[Ti]||(this[Ti]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`filterUnits`),setAttribute:e=>this.setAttribute(`filterUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ti]}get primitiveUnits(){return this[Ei]||(this[Ei]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`primitiveUnits`),setAttribute:e=>this.setAttribute(`primitiveUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ei]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Mv=class extends v_{[D]=null;[O]=null;[y]=null;[h]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Nv=class extends v_{},Pv=class extends v_{[Di]=null;[mi]=null;[D]=null;[O]=null;[y]=null;[h]=null;get crossOrigin(){return this.getAttribute(`crossorigin`)}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get decoding(){let e=this.getAttribute(`decoding`);switch(e){case`sync`:case`async`:case`auto`:return e;default:return`auto`}}set decoding(e){this.setAttribute(`decoding`,e)}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}decode(){return Promise.resolve()}},Fv=class extends K_{[Oi]=null;[ki]=null;[Ai]=null;[ji]=null;get x1(){return this[Oi]||(this[Oi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x1`),setAttribute:e=>this.setAttribute(`x1`,e)})),this[Oi]}get y1(){return this[ki]||(this[ki]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y1`),setAttribute:e=>this.setAttribute(`y1`,e)})),this[ki]}get x2(){return this[Ai]||(this[Ai]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x2`),setAttribute:e=>this.setAttribute(`x2`,e)})),this[Ai]}get y2(){return this[ji]||(this[ji]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y2`),setAttribute:e=>this.setAttribute(`y2`,e)})),this[ji]}},Iv=class extends v_{static SVG_SPREADMETHOD_UNKNOWN=0;static SVG_SPREADMETHOD_PAD=1;static SVG_SPREADMETHOD_REFLECT=2;static SVG_SPREADMETHOD_REPEAT=3;[Di]=null;[Mi]=null;[Ni]=null;[Pi]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get gradientUnits(){return this[Mi]||(this[Mi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`gradientUnits`),setAttribute:e=>this.setAttribute(`gradientUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`objectBoundingBox`})),this[Mi]}get gradientTransform(){return this[Ni]||(this[Ni]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`gradientTransform`),setAttribute:e=>this.setAttribute(`gradientTransform`,e)})),this[Ni]}get spreadMethod(){return this[Pi]||(this[Pi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`spreadMethod`),setAttribute:e=>this.setAttribute(`spreadMethod`,e),values:[`pad`,`reflect`,`repeat`],defaultValue:`pad`})),this[Pi]}},Lv=class extends Iv{[Oi]=null;[ki]=null;[Ai]=null;[ji]=null;get x1(){return this[Oi]||(this[Oi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x1`),setAttribute:e=>this.setAttribute(`x1`,e)})),this[Oi]}get y1(){return this[ki]||(this[ki]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y1`),setAttribute:e=>this.setAttribute(`y1`,e)})),this[ki]}get x2(){return this[Ai]||(this[Ai]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x2`),setAttribute:e=>this.setAttribute(`x2`,e)})),this[Ai]}get y2(){return this[ji]||(this[ji]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y2`),setAttribute:e=>this.setAttribute(`y2`,e)})),this[ji]}},Rv=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new k_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new k_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},zv=class extends _h{static SVG_MARKER_ORIENT_UNKNOWN=0;static SVG_MARKER_ORIENT_AUTO=1;static SVG_MARKER_ORIENT_ANGLE=2;static SVG_MARKERUNITS_UNKNOWN=0;static SVG_MARKERUNITS_USERSPACEONUSE=1;static SVG_MARKERUNITS_STROKEWIDTH=2;SVG_MARKER_ORIENT_UNKNOWN=0;SVG_MARKER_ORIENT_AUTO=1;SVG_MARKER_ORIENT_ANGLE=2;[oi]=null;[si]=null;[ci]=null;[ui]=null;[di]=null;[fi]=null;[pi]=null;[ai]=null;[mi]=null;get markerUnits(){return this[oi]||(this[oi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`markerUnits`),setAttribute:e=>this.setAttribute(`markerUnits`,e),values:[`userSpaceOnUse`,`strokeWidth`],defaultValue:`strokeWidth`})),this[oi]}get markerWidth(){return this[si]||(this[si]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`markerWidth`),setAttribute:e=>this.setAttribute(`markerWidth`,e)})),this[si]}get markerHeight(){return this[ci]||(this[ci]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`markerHeight`),setAttribute:e=>this.setAttribute(`markerHeight`,e)})),this[ci]}get orientType(){return this[ui]||(this[ui]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`orient`),setAttribute:e=>this.setAttribute(`orient`,e),values:[`auto`,null],defaultValue:`auto`})),this[ui]}get orientAngle(){return this[di]||(this[di]=new Rv(N,this[b],{getAttribute:()=>this.getAttribute(`orient`),setAttribute:e=>this.setAttribute(`orient`,e)})),this[di]}get refX(){return this[fi]||(this[fi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`refX`),setAttribute:e=>this.setAttribute(`refX`,e)})),this[fi]}get refY(){return this[pi]||(this[pi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`refY`),setAttribute:e=>this.setAttribute(`refY`,e)})),this[pi]}get viewBox(){return this[ai]||(this[ai]=new j_(N,this[b],{getAttribute:()=>this.getAttribute(`viewBox`),setAttribute:e=>this.setAttribute(`viewBox`,e)})),this[ai]}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}setOrientToAuto(){this.setAttribute(`orient`,`auto`)}setOrientToAngle(e){this.setAttribute(`orient`,e.valueAsString)}},Bv=class extends _h{[Ci]=null;[wi]=null;[D]=null;[O]=null;[y]=null;[h]=null;get maskUnits(){return this[Ci]||(this[Ci]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`maskUnits`),setAttribute:e=>this.setAttribute(`maskUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ci]}get maskContentUnits(){return this[wi]||(this[wi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`maskContentUnits`),setAttribute:e=>this.setAttribute(`maskContentUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[wi]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Vv=class extends _h{},Hv=class extends _h{[Di]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}},Uv=class extends K_{},Wv=class extends _h{[Di]=null;[Fi]=null;[Ii]=null;[Li]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get patternUnits(){return this[Fi]||(this[Fi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`patternUnits`),setAttribute:e=>this.setAttribute(`patternUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`objectBoundingBox`})),this[Fi]}get patternContentUnits(){return this[Ii]||(this[Ii]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`patternContentUnits`),setAttribute:e=>this.setAttribute(`patternContentUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ii]}get patternTransform(){return this[Li]||(this[Li]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`patternTransform`),setAttribute:e=>this.setAttribute(`patternTransform`,e)})),this[Li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}};const Gv=/[\t\f\n\r, ]+/;var Kv=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGPointList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGPointList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]||`0 0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(Gv);for(let t=0,r=e.length;t<r;t+=2){let r=parseFloat(e[t]),i=e[t+1]===void 0?``:` `+parseFloat(e[t+1]),a=new x_(N,this[b],{readOnly:this[F],getAttribute:()=>a[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)}});a[R]=`${r}${i}`,n.push(a)}}return t.attributeValue=e,t.items=n,n}},qv=class extends K_{[hi]=null;[gi]=null;get animatedPoints(){return this[hi]||(this[hi]=new Kv(N,this[b],{readOnly:!0,getAttribute:()=>this.getAttribute(`points`),setAttribute:()=>{}})),this[hi]}get points(){return this[gi]||(this[gi]=new Kv(N,this[b],{getAttribute:()=>this.getAttribute(`points`),setAttribute:e=>this.setAttribute(`points`,e)})),this[gi]}},Jv=class extends K_{[hi]=null;[gi]=null;get animatedPoints(){return this[hi]||(this[hi]=new Kv(N,this[b],{readOnly:!0,getAttribute:()=>this.getAttribute(`points`),setAttribute:()=>{}})),this[hi]}get points(){return this[gi]||(this[gi]=new Kv(N,this[b],{getAttribute:()=>this.getAttribute(`points`),setAttribute:e=>this.setAttribute(`points`,e)})),this[gi]}},Yv=class extends Iv{[yi]=null;[bi]=null;[xi]=null;[Ri]=null;[zi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get r(){return this[xi]||(this[xi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`r`),setAttribute:e=>this.setAttribute(`r`,e)})),this[xi]}get fx(){return this[Ri]||(this[Ri]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`fx`),setAttribute:e=>this.setAttribute(`fx`,e)})),this[Ri]}get fy(){return this[zi]||(this[zi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`fy`),setAttribute:e=>this.setAttribute(`fy`,e)})),this[zi]}},Xv=class extends K_{[D]=null;[O]=null;[y]=null;[h]=null;[_i]=null;[vi]=null;get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get rx(){return this[_i]||(this[_i]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`rx`),setAttribute:e=>this.setAttribute(`rx`,e)})),this[_i]}get ry(){return this[vi]||(this[vi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`ry`),setAttribute:e=>this.setAttribute(`ry`,e)})),this[vi]}},Zv=class extends v_{[Di]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}},Qv=class extends V_{},$v=class extends _h{[Bi]=null;get offset(){return this[Bi]||(this[Bi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`offset`),setAttribute:e=>this.setAttribute(`offset`,e)})),this[Bi]}},ey=class extends _h{[en]=null;[Wn]=this;[Vi]=!1;get media(){return this.getAttribute(`media`)||`all`}set media(e){this.setAttribute(`media`,e)}get type(){return this.getAttribute(`type`)||`text/css`}set type(e){this.setAttribute(`type`,e)}get title(){return this.getAttribute(`title`)||``}set title(e){this.setAttribute(`title`,e)}get disabled(){return this[Vi]}set disabled(e){this[Vi]=!!e}get sheet(){return this[x]?(this[en]||(this[en]=new this[g][b].CSSStyleSheet,this[en].replaceSync(this.textContent)),this[en]):null}[we](){super[we](),this[en]=null}[Me](){super[Me](),this[en]=null}[Gn](){this[en]&&this[en].replaceSync(this.textContent)}},ty=class extends v_{},ny=class extends v_{},ry=class extends v_{static LENGTHADJUST_UNKNOWN=0;static LENGTHADJUST_SPACING=1;static LENGTHADJUST_SPACINGANDGLYPHS=2;[Hi]=null;[Ui]=null;get textLength(){return this[Hi]||(this[Hi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`textLength`),setAttribute:e=>this.setAttribute(`textLength`,e)})),this[Hi]}get lengthAdjust(){return this[Ui]||(this[Ui]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`lengthAdjust`),setAttribute:e=>this.setAttribute(`lengthAdjust`,e),values:[`spacing`,`spacingAndGlyphs`],defaultValue:`spacing`})),this[Ui]}getNumberOfChars(){return 0}getComputedTextLength(){return 0}getSubStringLength(e,t){return 0}getStartPositionOfChar(e){return new x_(N,this[b])}getEndPositionOfChar(e){return new x_(N,this[b])}getExtentOfChar(e){return new y_(N,this[b])}getRotationOfChar(e){return 0}getCharNumAtPosition(e){return 0}};const iy=/[\t\f\n\r, ]+/;var ay=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGLengthList': 1 arguments required, but only ${arguments.length} present.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGLengthList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]??`0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(iy);for(let r=0,i=e.length;r<i;r++){let i=new T_(N,this[b],{readOnly:this[F],getAttribute:()=>i[R],setAttribute:e=>{i[R]=e;let r=n.map(e=>e[R]??`0`).join(` `);t.attributeValue=r,this[L](r)}});i[R]=e[r],n.push(i)}}return t.attributeValue=e,t.items=n,n}},oy=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new ay(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:this[L]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new ay(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},sy=class extends ry{[D]=null;[O]=null;[Ka]=null;[qa]=null;[Co]=null;get x(){return this[D]||(this[D]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get dx(){return this[Ka]||(this[Ka]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get rotate(){return this[Co]||(this[Co]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`rotate`),setAttribute:e=>this.setAttribute(`rotate`,e)})),this[Co]}},cy=class extends sy{},ly=class extends ry{static TEXTPATH_METHODTYPE_UNKNOWN=0;static TEXTPATH_METHODTYPE_ALIGN=1;static TEXTPATH_METHODTYPE_STRETCH=2;static TEXTPATH_SPACINGTYPE_UNKNOWN=0;static TEXTPATH_SPACINGTYPE_AUTO=1;static TEXTPATH_SPACINGTYPE_EXACT=2;[Di]=null;[wa]=null;[Ta]=null;[Ea]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get startOffset(){return this[wa]||(this[wa]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`startOffset`),setAttribute:e=>this.setAttribute(`startOffset`,e)})),this[wa]}get method(){return this[Ta]||(this[Ta]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`method`),setAttribute:e=>this.setAttribute(`method`,e),values:[`align`,`stretch`],defaultValue:`align`})),this[Ta]}get spacing(){return this[Ea]||(this[Ea]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`spacing`),setAttribute:e=>this.setAttribute(`spacing`,e),values:[`auto`,`exact`],defaultValue:`exact`})),this[Ea]}},uy=class extends _h{},dy=class extends sy{},fy=class extends v_{[Di]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}},py=class extends _h{},my=class{static SVG_UNIT_TYPE_UNKNOWN=0;static SVG_UNIT_TYPE_USERSPACEONUSE=1;static SVG_UNIT_TYPE_OBJECTBOUNDINGBOX=2;SVG_UNIT_TYPE_UNKNOWN=0;SVG_UNIT_TYPE_USERSPACEONUSE=1;SVG_UNIT_TYPE_OBJECTBOUNDINGBOX=2;constructor(e){if(e!==N)throw TypeError(`Illegal constructor`)}},hy=class{window;constructor(e){this.window=e}enqueueReaction(e,t,n){let r=this.window.customElements[tt]?.get(e.localName);if(r&&e[g]===this.window.document)switch(t){case`connectedCallback`:if(r.lifecycleCallbacks.connectedCallback){let t=r.lifecycleCallbacks.connectedCallback?.call(e);if(t instanceof Promise){let e=new Y(this.window).getAsyncTaskManager();if(e){let n=e.startTask();t.then(()=>e.endTask(n)).catch(()=>e.endTask(n))}}}break;case`disconnectedCallback`:r.lifecycleCallbacks.disconnectedCallback&&r.lifecycleCallbacks.disconnectedCallback.call(e);break;case`attributeChangedCallback`:r.lifecycleCallbacks.attributeChangedCallback&&n?.length&&r.observedAttributes.has(n[0])&&r.lifecycleCallbacks.attributeChangedCallback.apply(e,n);break}}},gy=class extends W{state;hasUAVisualTransition;constructor(e,t=null){super(e),this.state=t?.state??null,this.hasUAVisualTransition=t?.hasUAVisualTransition??!1}},_y=class extends W{code;reason;wasClean;constructor(e,t=null){super(e,t),this.code=t?.code??0,this.reason=t?.reason??``,this.wasClean=t?.wasClean??!1}},vy=class e{[zr]=null;[y]=0;[h]=0;[yn]=null;constructor(t,n,r,i,a,o,s,c){if(t!==N)throw TypeError(`Illegal constructor`);let l=null;if(r instanceof e){if(r[zr]===null)throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': The image source is not usable.`,H.invalidStateError);l=r}if(r instanceof Lp){if(!r[me])throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': The image source is not usable.`,H.invalidStateError);l=r}else if(r instanceof ph)throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': HTMLVideoElement is not supported as an image source yet in Happy DOM.`,H.invalidStateError);else (r instanceof $f||r instanceof Xf)&&(l=r);if(l===null)throw new n.TypeError(`Failed to execute 'createImageBitmap' on 'Window': The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.`);this[y]=l.width,this[h]=l.height;let u=0,d=0;if(typeof i==`number`&&typeof a==`number`&&typeof o==`number`&&typeof s==`number`){if(u=i,d=a,this[y]=o,this[h]=s,c!==void 0&&typeof c!=`object`)throw new n.TypeError(`The provided value is not of type 'ImageBitmapOptions'.`);this[yn]=c||null}else if(typeof i==`number`&&typeof a==`number`){if(this[y]=i,this[h]=a,o!==void 0&&typeof o!=`object`)throw new n.TypeError(`The provided value is not of type 'ImageBitmapOptions'.`);this[yn]=o||null}else if(typeof i==`object`)this[yn]=i;else if(i!==void 0)throw new n.TypeError(`Failed to execute 'createImageBitmap' on 'Window': Overload resolution failed.`);let f=new Y(n).getSettings(),p=new n.OffscreenCanvas(this[y],this[h]);f?.canvasAdapter&&(p.getContext(`2d`).drawImage(l,-u,-d,l.width,l.height),this[zr]=p)}get width(){return this[y]}get height(){return this[h]}close(){this[zr]=null,this[yn]=null,this[y]=0,this[h]=0}};const yy={setTimeout:globalThis.setTimeout.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),setInterval:globalThis.setInterval.bind(globalThis),clearInterval:globalThis.clearInterval.bind(globalThis),queueMicrotask:globalThis.queueMicrotask.bind(globalThis),setImmediate:globalThis.setImmediate.bind(globalThis),clearImmediate:globalThis.clearImmediate.bind(globalThis)},by=setTimeout.toString().includes(`new Timeout`),xy=(()=>{try{return Function(`return true;`)(),!0}catch{return!1}})(),Sy=(()=>{try{return globalThis.Function.$UNFROZEN$=!0,delete globalThis.Function.$UNFROZEN$,!0}catch{return!1}})();var Cy=class{constructor(){throw TypeError(`Illegal constructor`)}},wy=class{callback;constructor(e){this.callback=e}},Ty=class e extends nl{Node=gd;Attr=_d;ShadowRoot=gh;ProcessingInstruction=mh;Element=Df;CharacterData=xd;DocumentType=Sd;HTMLAnchorElement=Mf;HTMLButtonElement=Yf;HTMLOptGroupElement=Mm;HTMLOptionElement=Nm;HTMLElement=Q;HTMLUnknownElement=fh;HTMLTemplateElement=oh;HTMLInputElement=Yp;HTMLSelectElement=Jm;HTMLTextAreaElement=sh;HTMLImageElement=Lp;HTMLStyleElement=$m;HTMLLabelElement=Xp;HTMLSlotElement=Xm;HTMLMetaElement=Dm;HTMLMediaElement=zf;HTMLAudioElement=Bf;HTMLVideoElement=ph;HTMLBaseElement=Vf;HTMLDialogElement=ip;HTMLScriptElement=Km;HTMLLinkElement=Cm;HTMLIFrameElement=Sp;HTMLFormElement=hp;HTMLUListElement=dh;HTMLTrackElement=uh;HTMLTableRowElement=ah;HTMLTitleElement=lh;HTMLTimeElement=ch;HTMLTableSectionElement=rh;HTMLTableCellElement=th;HTMLTableElement=ih;HTMLSpanElement=Qm;HTMLSourceElement=Zm;HTMLQuoteElement=Bm;HTMLProgressElement=zm;HTMLPreElement=Rm;HTMLPictureElement=Lm;HTMLParamElement=Im;HTMLParagraphElement=Fm;HTMLOutputElement=Pm;HTMLOListElement=Am;HTMLObjectElement=jm;HTMLMeterElement=Om;HTMLMenuElement=Em;HTMLMapElement=wm;HTMLLIElement=Qp;HTMLLegendElement=Zp;HTMLModElement=km;HTMLHtmlElement=yp;HTMLHRElement=vp;HTMLHeadElement=gp;HTMLHeadingElement=_p;HTMLFieldSetElement=sp;HTMLEmbedElement=op;HTMLDListElement=ep;HTMLDivElement=ap;HTMLDetailsElement=rp;HTMLDataListElement=np;HTMLDataElement=tp;HTMLTableColElement=nh;HTMLTableCaptionElement=eh;HTMLCanvasElement=$f;HTMLBRElement=Uf;HTMLBodyElement=Hf;HTMLAreaElement=Nf;SVGSVGElement=B_;SVGAnimateElement=H_;SVGAnimateMotionElement=U_;SVGAnimateTransformElement=W_;SVGCircleElement=q_;SVGClipPathElement=Y_;SVGDefsElement=X_;SVGDescElement=Z_;SVGEllipseElement=Q_;SVGFEBlendElement=ev;SVGFEColorMatrixElement=iv;SVGFEComponentTransferElement=av;SVGFECompositeElement=ov;SVGFEConvolveMatrixElement=lv;SVGFEDiffuseLightingElement=uv;SVGFEDisplacementMapElement=dv;SVGFEDistantLightElement=fv;SVGFEDropShadowElement=pv;SVGFEFloodElement=mv;SVGFEFuncAElement=gv;SVGFEFuncBElement=_v;SVGFEFuncGElement=vv;SVGFEFuncRElement=yv;SVGFEGaussianBlurElement=bv;SVGFEImageElement=xv;SVGFEMergeElement=Sv;SVGFEMergeNodeElement=Cv;SVGFEMorphologyElement=wv;SVGFEOffsetElement=Tv;SVGFEPointLightElement=Ev;SVGFESpecularLightingElement=Dv;SVGFESpotLightElement=Ov;SVGFETileElement=kv;SVGFETurbulenceElement=Av;SVGFilterElement=jv;SVGForeignObjectElement=Mv;SVGGElement=Nv;SVGImageElement=Pv;SVGLineElement=Fv;SVGLinearGradientElement=Lv;SVGMarkerElement=zv;SVGMaskElement=Bv;SVGMetadataElement=Vv;SVGMPathElement=Hv;SVGPathElement=Uv;SVGPatternElement=Wv;SVGPolygonElement=qv;SVGPolylineElement=Jv;SVGRadialGradientElement=Yv;SVGRectElement=Xv;SVGScriptElement=Zv;SVGSetElement=Qv;SVGStopElement=$v;SVGStyleElement=ey;SVGSwitchElement=ty;SVGSymbolElement=ny;SVGTextElement=cy;SVGTextPathElement=ly;SVGTitleElement=uy;SVGTSpanElement=dy;SVGUseElement=fy;SVGViewElement=py;SVGElement=_h;SVGAnimationElement=V_;SVGComponentTransferFunctionElement=hv;SVGGeometryElement=K_;SVGGradientElement=Iv;SVGTextPositioningElement=sy;SVGGraphicsElement=v_;Event=W;UIEvent=Zl;CustomEvent=eu;CloseEvent=_y;AnimationEvent=Ql;KeyboardEvent=au;MessageEvent=ou;MouseEvent=su;PointerEvent=cu;FocusEvent=nu;WheelEvent=pu;InputEvent=iu;ErrorEvent=tu;StorageEvent=uu;SubmitEvent=du;ProgressEvent=lu;MediaQueryListEvent=rl;HashChangeEvent=ru;ClipboardEvent=$l;TouchEvent=fu;PopStateEvent=gy;Touch=Xl;AudioProcessingEvent=W;BeforeInputEvent=W;BeforeUnloadEvent=W;BlobEvent=W;CompositionEvent=W;CSSFontFaceLoadEvent=W;DeviceLightEvent=W;DeviceMotionEvent=W;DeviceOrientationEvent=W;DeviceProximityEvent=W;DOMTransactionEvent=W;DragEvent=W;EditingBeforeInputEvent=W;FetchEvent=W;GamepadEvent=W;IDBVersionChangeEvent=W;MediaStreamEvent=W;MutationEvent=W;OfflineAudioCompletionEvent=W;OverconstrainedError=W;PageTransitionEvent=W;PaymentRequestUpdateEvent=W;RelatedEvent=W;RTCDataChannelEvent=W;RTCIdentityErrorEvent=W;RTCIdentityEvent=W;RTCPeerConnectionIceEvent=W;SensorEvent=W;SVGEvent=W;SVGZoomEvent=W;TimeEvent=W;TrackEvent=W;TransitionEvent=W;UserProximityEvent=W;WebGLContextEvent=W;TextEvent=W;Permissions=sd;History=Zu;Navigator=cd;Clipboard=zs;TimeRanges=Pf;TextTrackCueList=Tm;ValidityState=Kf;MutationRecord=td;IntersectionObserver=Qu;IntersectionObserverEntry=$u;CSSStyleDeclaration=yl;CSSRule=Ks;CSSContainerRule=xl;CSSFontFaceRule=Sl;CSSKeyframeRule=Cl;CSSKeyframesRule=Tl;CSSMediaRule=Ol;CSSStyleRule=Nl;CSSSupportsRule=Pl;CSSConditionRule=bl;CSSGroupingRule=fl;CSSScopeRule=pl;DOMRect=Dd;DOMRectReadOnly=Ed;Plugin=ld;PluginArray=id;Location=ed;CustomElementRegistry=Gl;ResizeObserver=vh;Blob=Rs;File=ql;Storage=Eh;MimeType=nd;MimeTypeArray=rd;NodeFilter=Dh;ImageBitmap=vy;HTMLCollection=Ad;HTMLFormControlCollection=cp;HTMLOptionsCollection=qm;NodeList=Vc;RadioNodeList=mp;FileList=Rp;Screen=yh;ScreenDetails=xh;ScreenDetailed=bh;NamedNodeMap=Nd;TreeWalker=jh;NodeIterator=Mh;DataTransfer=Yl;DataTransferItem=Kl;DataTransferItemList=Jl;XMLSerializer=Nh;ClipboardItem=Bs;Selection=Th;CSSUnitValue=Us;SVGAngle=k_;SVGAnimatedAngle=Rv;SVGAnimatedBoolean=sv;SVGAnimatedEnumeration=J_;SVGAnimatedInteger=cv;SVGAnimatedLength=$;SVGAnimatedNumber=G_;SVGAnimatedNumberList=rv;SVGAnimatedPreserveAspectRatio=z_;SVGAnimatedRect=j_;SVGAnimatedString=$_;SVGAnimatedTransformList=__;SVGLength=T_;SVGLengthList=ay;SVGMatrix=c_;SVGNumber=A_;SVGNumberList=nv;SVGPoint=x_;SVGPointList=Kv;SVGPreserveAspectRatio=R_;SVGRect=y_;SVGStringList=a_;SVGTransform=p_;SVGTransformList=g_;SVGAnimatedLengthList=oy;SVGUnitTypes=my;StylePropertyMap=Ml;StylePropertyMapReadOnly=jl;MediaList=Dl;CSSKeywordValue=kl;CSSStyleValue=Al;Window=this.constructor;URLSearchParams=ee;WritableStream=u.Writable;ReadableStream=se;TransformStream=u.Transform;PerformanceObserver=ne;PerformanceEntry=te;PerformanceObserverEntryList=Cy;document;customElements=new Gl(this);window=this;globalThis=this;performance=performance;screenLeft=0;screenTop=0;screenX=0;screenY=0;crypto=c;TextEncoder=o;TextDecoder=a;closed=!1;console;name=``;Buffer=i;[vt]=[];[$e];[En];[Dn];[On];[kn];[An];[jn];[ur]=this;[fr]=this;[dr]=this;[b]=this;[es]=this;[Re]=-1;[Do]=new hy(this);[ko]={json:new Map,css:new Map,esm:new Map};[Ro]=null;[rs]=[];[V]=new Map;[ss]=new Map;#e;#t=null;#n=null;#r=null;#i=null;#a=null;#o={timeouts:null};#s=[];#c=[];constructor(e,t){super(),this.#e=e,this[ns](),this.console=e.page.console,this[$e]=new Td(e),this[On]=new cd(this),this[kn]=new yh,this[An]=new Eh,this[jn]=new Eh,this[En]=new ed(this.#e,t?.url??`about:blank`),this[Dn]=new Zu(this.#e,this),e[Dn].currentItem.href=t?.url??`about:blank`,Y.setWindowBrowserFrameRelation(this,this.#e),this[ct](),r_.extendClasses(this),this.document=new this.HTMLDocument,this.document[je]=this;let n=e[fe].startTask(()=>this[$e].destroy());this[$e].waitUntilComplete().then(()=>{e[fe].endTask(n),this.document[Ht]=wd.complete,this.document.dispatchEvent(new W(`readystatechange`));let t=new W(`load`);t[ke]=this,t[dt]=this.document,t[Gr]=Es.atTarget,this.dispatchEvent(t),t[ke]=null,t[Gr]=Es.none,t[Oo]=!1}),this[wo]()}get onsearch(){return this[V].get(`onsearch`)??null}set onsearch(e){this[V].set(`onsearch`,e)}get onappinstalled(){return this[V].get(`onappinstalled`)??null}set onappinstalled(e){this[V].set(`onappinstalled`,e)}get onbeforeinstallprompt(){return this[V].get(`onbeforeinstallprompt`)??null}set onbeforeinstallprompt(e){this[V].set(`onbeforeinstallprompt`,e)}get onabort(){return this[V].get(`onabort`)??null}set onabort(e){this[V].set(`onabort`,e)}get onbeforeinput(){return this[V].get(`onbeforeinput`)??null}set onbeforeinput(e){this[V].set(`onbeforeinput`,e)}get onbeforematch(){return this[V].get(`onbeforematch`)??null}set onbeforematch(e){this[V].set(`onbeforematch`,e)}get onbeforetoggle(){return this[V].get(`onbeforetoggle`)??null}set onbeforetoggle(e){this[V].set(`onbeforetoggle`,e)}get onblur(){return this[V].get(`onblur`)??null}set onblur(e){this[V].set(`onblur`,e)}get oncancel(){return this[V].get(`oncancel`)??null}set oncancel(e){this[V].set(`oncancel`,e)}get oncanplay(){return this[V].get(`oncanplay`)??null}set oncanplay(e){this[V].set(`oncanplay`,e)}get oncanplaythrough(){return this[V].get(`oncanplaythrough`)??null}set oncanplaythrough(e){this[V].set(`oncanplaythrough`,e)}get onchange(){return this[V].get(`onchange`)??null}set onchange(e){this[V].set(`onchange`,e)}get onclick(){return this[V].get(`onclick`)??null}set onclick(e){this[V].set(`onclick`,e)}get onclose(){return this[V].get(`onclose`)??null}set onclose(e){this[V].set(`onclose`,e)}get oncommand(){return this[V].get(`oncommand`)??null}set oncommand(e){this[V].set(`oncommand`,e)}get oncontentvisibilityautostatechange(){return this[V].get(`oncontentvisibilityautostatechange`)??null}set oncontentvisibilityautostatechange(e){this[V].set(`oncontentvisibilityautostatechange`,e)}get oncontextlost(){return this[V].get(`oncontextlost`)??null}set oncontextlost(e){this[V].set(`oncontextlost`,e)}get oncontextmenu(){return this[V].get(`oncontextmenu`)??null}set oncontextmenu(e){this[V].set(`oncontextmenu`,e)}get oncontextrestored(){return this[V].get(`oncontextrestored`)??null}set oncontextrestored(e){this[V].set(`oncontextrestored`,e)}get oncuechange(){return this[V].get(`oncuechange`)??null}set oncuechange(e){this[V].set(`oncuechange`,e)}get ondblclick(){return this[V].get(`ondblclick`)??null}set ondblclick(e){this[V].set(`ondblclick`,e)}get ondrag(){return this[V].get(`ondrag`)??null}set ondrag(e){this[V].set(`ondrag`,e)}get ondragend(){return this[V].get(`ondragend`)??null}set ondragend(e){this[V].set(`ondragend`,e)}get ondragenter(){return this[V].get(`ondragenter`)??null}set ondragenter(e){this[V].set(`ondragenter`,e)}get ondragleave(){return this[V].get(`ondragleave`)??null}set ondragleave(e){this[V].set(`ondragleave`,e)}get ondragover(){return this[V].get(`ondragover`)??null}set ondragover(e){this[V].set(`ondragover`,e)}get ondragstart(){return this[V].get(`ondragstart`)??null}set ondragstart(e){this[V].set(`ondragstart`,e)}get ondrop(){return this[V].get(`ondrop`)??null}set ondrop(e){this[V].set(`ondrop`,e)}get ondurationchange(){return this[V].get(`ondurationchange`)??null}set ondurationchange(e){this[V].set(`ondurationchange`,e)}get onemptied(){return this[V].get(`onemptied`)??null}set onemptied(e){this[V].set(`onemptied`,e)}get onended(){return this[V].get(`onended`)??null}set onended(e){this[V].set(`onended`,e)}get onerror(){return this[V].get(`onerror`)??null}set onerror(e){this[V].set(`onerror`,e)}get onfocus(){return this[V].get(`onfocus`)??null}set onfocus(e){this[V].set(`onfocus`,e)}get onformdata(){return this[V].get(`onformdata`)??null}set onformdata(e){this[V].set(`onformdata`,e)}get oninput(){return this[V].get(`oninput`)??null}set oninput(e){this[V].set(`oninput`,e)}get oninvalid(){return this[V].get(`oninvalid`)??null}set oninvalid(e){this[V].set(`oninvalid`,e)}get onkeydown(){return this[V].get(`onkeydown`)??null}set onkeydown(e){this[V].set(`onkeydown`,e)}get onkeypress(){return this[V].get(`onkeypress`)??null}set onkeypress(e){this[V].set(`onkeypress`,e)}get onkeyup(){return this[V].get(`onkeyup`)??null}set onkeyup(e){this[V].set(`onkeyup`,e)}get onload(){return this[V].get(`onload`)??null}set onload(e){this[V].set(`onload`,e)}get onloadeddata(){return this[V].get(`onloadeddata`)??null}set onloadeddata(e){this[V].set(`onloadeddata`,e)}get onloadedmetadata(){return this[V].get(`onloadedmetadata`)??null}set onloadedmetadata(e){this[V].set(`onloadedmetadata`,e)}get onloadstart(){return this[V].get(`onloadstart`)??null}set onloadstart(e){this[V].set(`onloadstart`,e)}get onmousedown(){return this[V].get(`onmousedown`)??null}set onmousedown(e){this[V].set(`onmousedown`,e)}get onmouseenter(){return this[V].get(`onmouseenter`)??null}set onmouseenter(e){this[V].set(`onmouseenter`,e)}get onmouseleave(){return this[V].get(`onmouseleave`)??null}set onmouseleave(e){this[V].set(`onmouseleave`,e)}get onmousemove(){return this[V].get(`onmousemove`)??null}set onmousemove(e){this[V].set(`onmousemove`,e)}get onmouseout(){return this[V].get(`onmouseout`)??null}set onmouseout(e){this[V].set(`onmouseout`,e)}get onmouseover(){return this[V].get(`onmouseover`)??null}set onmouseover(e){this[V].set(`onmouseover`,e)}get onmouseup(){return this[V].get(`onmouseup`)??null}set onmouseup(e){this[V].set(`onmouseup`,e)}get onmousewheel(){return this[V].get(`onmousewheel`)??null}set onmousewheel(e){this[V].set(`onmousewheel`,e)}get onpause(){return this[V].get(`onpause`)??null}set onpause(e){this[V].set(`onpause`,e)}get onplay(){return this[V].get(`onplay`)??null}set onplay(e){this[V].set(`onplay`,e)}get onplaying(){return this[V].get(`onplaying`)??null}set onplaying(e){this[V].set(`onplaying`,e)}get onprogress(){return this[V].get(`onprogress`)??null}set onprogress(e){this[V].set(`onprogress`,e)}get onratechange(){return this[V].get(`onratechange`)??null}set onratechange(e){this[V].set(`onratechange`,e)}get onreset(){return this[V].get(`onreset`)??null}set onreset(e){this[V].set(`onreset`,e)}get onresize(){return this[V].get(`onresize`)??null}set onresize(e){this[V].set(`onresize`,e)}get onscroll(){return this[V].get(`onscroll`)??null}set onscroll(e){this[V].set(`onscroll`,e)}get onscrollend(){return this[V].get(`onscrollend`)??null}set onscrollend(e){this[V].set(`onscrollend`,e)}get onsecuritypolicyviolation(){return this[V].get(`onsecuritypolicyviolation`)??null}set onsecuritypolicyviolation(e){this[V].set(`onsecuritypolicyviolation`,e)}get onseeked(){return this[V].get(`onseeked`)??null}set onseeked(e){this[V].set(`onseeked`,e)}get onseeking(){return this[V].get(`onseeking`)??null}set onseeking(e){this[V].set(`onseeking`,e)}get onselect(){return this[V].get(`onselect`)??null}set onselect(e){this[V].set(`onselect`,e)}get onslotchange(){return this[V].get(`onslotchange`)??null}set onslotchange(e){this[V].set(`onslotchange`,e)}get onstalled(){return this[V].get(`onstalled`)??null}set onstalled(e){this[V].set(`onstalled`,e)}get onsubmit(){return this[V].get(`onsubmit`)??null}set onsubmit(e){this[V].set(`onsubmit`,e)}get onsuspend(){return this[V].get(`onsuspend`)??null}set onsuspend(e){this[V].set(`onsuspend`,e)}get ontimeupdate(){return this[V].get(`ontimeupdate`)??null}set ontimeupdate(e){this[V].set(`ontimeupdate`,e)}get ontoggle(){return this[V].get(`ontoggle`)??null}set ontoggle(e){this[V].set(`ontoggle`,e)}get onvolumechange(){return this[V].get(`onvolumechange`)??null}set onvolumechange(e){this[V].set(`onvolumechange`,e)}get onwaiting(){return this[V].get(`onwaiting`)??null}set onwaiting(e){this[V].set(`onwaiting`,e)}get onwebkitanimationend(){return this[V].get(`onwebkitanimationend`)??null}set onwebkitanimationend(e){this[V].set(`onwebkitanimationend`,e)}get onwebkitanimationiteration(){return this[V].get(`onwebkitanimationiteration`)??null}set onwebkitanimationiteration(e){this[V].set(`onwebkitanimationiteration`,e)}get onwebkitanimationstart(){return this[V].get(`onwebkitanimationstart`)??null}set onwebkitanimationstart(e){this[V].set(`onwebkitanimationstart`,e)}get onwebkittransitionend(){return this[V].get(`onwebkittransitionend`)??null}set onwebkittransitionend(e){this[V].set(`onwebkittransitionend`,e)}get onwheel(){return this[V].get(`onwheel`)??null}set onwheel(e){this[V].set(`onwheel`,e)}get onauxclick(){return this[V].get(`onauxclick`)??null}set onauxclick(e){this[V].set(`onauxclick`,e)}get ongotpointercapture(){return this[V].get(`ongotpointercapture`)??null}set ongotpointercapture(e){this[V].set(`ongotpointercapture`,e)}get onlostpointercapture(){return this[V].get(`onlostpointercapture`)??null}set onlostpointercapture(e){this[V].set(`onlostpointercapture`,e)}get onpointerdown(){return this[V].get(`onpointerdown`)??null}set onpointerdown(e){this[V].set(`onpointerdown`,e)}get onpointermove(){return this[V].get(`onpointermove`)??null}set onpointermove(e){this[V].set(`onpointermove`,e)}get onpointerup(){return this[V].get(`onpointerup`)??null}set onpointerup(e){this[V].set(`onpointerup`,e)}get onpointercancel(){return this[V].get(`onpointercancel`)??null}set onpointercancel(e){this[V].set(`onpointercancel`,e)}get onpointerover(){return this[V].get(`onpointerover`)??null}set onpointerover(e){this[V].set(`onpointerover`,e)}get onpointerout(){return this[V].get(`onpointerout`)??null}set onpointerout(e){this[V].set(`onpointerout`,e)}get onpointerenter(){return this[V].get(`onpointerenter`)??null}set onpointerenter(e){this[V].set(`onpointerenter`,e)}get onpointerleave(){return this[V].get(`onpointerleave`)??null}set onpointerleave(e){this[V].set(`onpointerleave`,e)}get onselectstart(){return this[V].get(`onselectstart`)??null}set onselectstart(e){this[V].set(`onselectstart`,e)}get onselectionchange(){return this[V].get(`onselectionchange`)??null}set onselectionchange(e){this[V].set(`onselectionchange`,e)}get onanimationcancel(){return this[V].get(`onanimationcancel`)??null}set onanimationcancel(e){this[V].set(`onanimationcancel`,e)}get onanimationend(){return this[V].get(`onanimationend`)??null}set onanimationend(e){this[V].set(`onanimationend`,e)}get onanimationiteration(){return this[V].get(`onanimationiteration`)??null}set onanimationiteration(e){this[V].set(`onanimationiteration`,e)}get onanimationstart(){return this[V].get(`onanimationstart`)??null}set onanimationstart(e){this[V].set(`onanimationstart`,e)}get ontransitionrun(){return this[V].get(`ontransitionrun`)??null}set ontransitionrun(e){this[V].set(`ontransitionrun`,e)}get ontransitionstart(){return this[V].get(`ontransitionstart`)??null}set ontransitionstart(e){this[V].set(`ontransitionstart`,e)}get ontransitionend(){return this[V].get(`ontransitionend`)??null}set ontransitionend(e){this[V].set(`ontransitionend`,e)}get ontransitioncancel(){return this[V].get(`ontransitioncancel`)??null}set ontransitioncancel(e){this[V].set(`ontransitioncancel`,e)}get onbeforexrselect(){return this[V].get(`onbeforexrselect`)??null}set onbeforexrselect(e){this[V].set(`onbeforexrselect`,e)}get onafterprint(){return this[V].get(`onafterprint`)??null}set onafterprint(e){this[V].set(`onafterprint`,e)}get onbeforeprint(){return this[V].get(`onbeforeprint`)??null}set onbeforeprint(e){this[V].set(`onbeforeprint`,e)}get onbeforeunload(){return this[V].get(`onbeforeunload`)??null}set onbeforeunload(e){this[V].set(`onbeforeunload`,e)}get onhashchange(){return this[V].get(`onhashchange`)??null}set onhashchange(e){this[V].set(`onhashchange`,e)}get onlanguagechange(){return this[V].get(`onlanguagechange`)??null}set onlanguagechange(e){this[V].set(`onlanguagechange`,e)}get onmessage(){return this[V].get(`onmessage`)??null}set onmessage(e){this[V].set(`onmessage`,e)}get onmessageerror(){return this[V].get(`onmessageerror`)??null}set onmessageerror(e){this[V].set(`onmessageerror`,e)}get onoffline(){return this[V].get(`onoffline`)??null}set onoffline(e){this[V].set(`onoffline`,e)}get ononline(){return this[V].get(`ononline`)??null}set ononline(e){this[V].set(`ononline`,e)}get onpagehide(){return this[V].get(`onpagehide`)??null}set onpagehide(e){this[V].set(`onpagehide`,e)}get onpageshow(){return this[V].get(`onpageshow`)??null}set onpageshow(e){this[V].set(`onpageshow`,e)}get onpopstate(){return this[V].get(`onpopstate`)??null}set onpopstate(e){this[V].set(`onpopstate`,e)}get onrejectionhandled(){return this[V].get(`onrejectionhandled`)??null}set onrejectionhandled(e){this[V].set(`onrejectionhandled`,e)}get onstorage(){return this[V].get(`onstorage`)??null}set onstorage(e){this[V].set(`onstorage`,e)}get onunhandledrejection(){return this[V].get(`onunhandledrejection`)??null}set onunhandledrejection(e){this[V].set(`onunhandledrejection`,e)}get onunload(){return this[V].get(`onunload`)??null}set onunload(e){this[V].set(`onunload`,e)}get ondevicemotion(){return this[V].get(`ondevicemotion`)??null}set ondevicemotion(e){this[V].set(`ondevicemotion`,e)}get ondeviceorientation(){return this[V].get(`ondeviceorientation`)??null}set ondeviceorientation(e){this[V].set(`ondeviceorientation`,e)}get ondeviceorientationabsolute(){return this[V].get(`ondeviceorientationabsolute`)??null}set ondeviceorientationabsolute(e){this[V].set(`ondeviceorientationabsolute`,e)}get onpointerrawupdate(){return this[V].get(`onpointerrawupdate`)??null}set onpointerrawupdate(e){this[V].set(`onpointerrawupdate`,e)}get onpageswap(){return this[V].get(`onpageswap`)??null}set onpageswap(e){this[V].set(`onpageswap`,e)}get onpagereveal(){return this[V].get(`onpagereveal`)??null}set onpagereveal(e){this[V].set(`onpagereveal`,e)}get onscrollsnapchange(){return this[V].get(`onscrollsnapchange`)??null}set onscrollsnapchange(e){this[V].set(`onscrollsnapchange`,e)}get onscrollsnapchanging(){return this[V].get(`onscrollsnapchanging`)??null}set onscrollsnapchanging(e){this[V].set(`onscrollsnapchanging`,e)}get ongamepadconnected(){return this[V].get(`ongamepadconnected`)??null}set ongamepadconnected(e){this[V].set(`ongamepadconnected`,e)}get ongamepaddisconnected(){return this[V].get(`ongamepaddisconnected`)??null}set ongamepaddisconnected(e){this[V].set(`ongamepaddisconnected`,e)}get self(){return this[ur]}set self(e){this[ur]=e}get top(){return this[fr]}get parent(){return this[dr]}set parent(e){this[dr]=e}get frames(){return this[es]}set frames(e){this[dr]=e}get location(){return this[En]}set location(e){this[En].href=e}get history(){return this[Dn]}get navigator(){return this[On]}get screen(){return this[kn]}get sessionStorage(){return this[An]}get localStorage(){return this[jn]}get opener(){return this.#e[bt]}get scrollX(){return this.document?.documentElement?.scrollLeft??0}get pageXOffset(){return this.scrollX}get scrollY(){return this.document?.documentElement?.scrollTop??0}get pageYOffset(){return this.scrollY}get CSS(){return new Ws}get innerWidth(){return this.#t===null?this.#e.page.viewport.width:this.#t}set innerWidth(e){this.#t=e}get innerHeight(){return this.#n===null?this.#e.page.viewport.height:this.#n}set innerHeight(e){this.#n=e}get outerWidth(){return this.#r===null?this.#e.page.viewport.width:this.#r}set outerWidth(e){this.#r=e}get outerHeight(){return this.#i===null?this.#e.page.viewport.height:this.#i}set outerHeight(e){this.#i=e}get devicePixelRatio(){return this.#a===null?this.#e.page.viewport.devicePixelRatio:this.#a}set devicePixelRatio(e){this.#a=e}getComputedStyle(e){return e[er]=e[er]||new yl(N,this,{element:e,computed:!0}),e[er]}getSelection(){return this.document.getSelection()}scroll(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scroll' on 'Window': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};if(n.behavior===`smooth`)this.setTimeout(()=>{if(n.top!==void 0){let e=Number(n.top);this.document.documentElement.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.document.documentElement.scrollLeft=isNaN(e)?0:e}});else{if(n.top!==void 0){let e=Number(n.top);this.document.documentElement.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.document.documentElement.scrollLeft=isNaN(e)?0:e}}}scrollTo(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions'.`);this.scroll(e,t)}scrollBy(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scrollBy' on 'Window': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};this.scroll({left:this.document.documentElement.scrollLeft+(n.left??0),top:this.document.documentElement.scrollTop+(n.top??0),behavior:n.behavior})}blur(){}focus(){}open(e,t,n){return Fh.openPage(this.#e,{url:e,target:t,features:n})}close(){this.#e.page.mainFrame===this.#e&&this.#e[bt]&&(this[Me](),this.#e.page.close())}matchMedia(e){return new dl({window:this,media:e})}getScreenDetails(){return Promise.resolve(new xh)}setTimeout(e,t=0,...n){if(this.closed)return{};let r=this.#e.page.context.browser.settings;if(r.timer.preventTimerLoops){let e=Error().stack,t=this.#s,n=this.#c,i=t.indexOf(e);if(i!==-1){if(n[i].timeout++,n[i].timeout>=(r.timer.preventTimerLoops===!0?1:r.timer.preventTimerLoops.timeout??1))return{}}else t.push(e),n.push({timeout:0,requestAnimationFrame:0})}if(!t){let t=this.#o;if(!t.timeouts){let e=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,n=yy.setTimeout(()=>{this.#e[fe].endTimer(n);let r=t.timeouts;t.timeouts=null;for(let t of r)if(e){let e;try{e=t.callback()}catch(e){this[zo](e)}e instanceof Promise&&e.catch(e=>this[zo](e))}else t.callback()},0);t.timeouts=[],this.#e[fe].startTimer(n)}let i=new wy(()=>e(...n));return t.timeouts.push(i),i}let i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,a=yy.setTimeout(()=>{if(this.#e[fe].endTimer(a),i){let t;try{t=e(...n)}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e(...n)},r?.timer.maxTimeout!==-1&&t&&t>r?.timer.maxTimeout?r?.timer.maxTimeout:t);return this.#e[fe].startTimer(a),a}clearTimeout(e){if(e&&e instanceof wy){let t=this.#o;if(!t.timeouts)return;let n=t.timeouts.indexOf(e);n!==-1&&t.timeouts.splice(n,1);return}by&&(!e||e.constructor.name!==`Timeout`)||(yy.clearTimeout(e),this.#e[fe].endTimer(e))}setInterval(e,t=0,...n){if(this.closed)return{};let r=this.#e.page.context.browser.settings,i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,a=0,o=yy.setInterval(()=>{if(i){let t;try{t=e(...n)}catch(e){this.clearInterval(o),this[zo](e)}t instanceof Promise&&t.catch(e=>{this.clearInterval(o),this[zo](e)})}else e(...n);r?.timer.maxIntervalIterations!==-1&&(a>=r?.timer.maxIntervalIterations&&this.clearInterval(o),a++)},r?.timer.maxIntervalTime!==-1&&t&&t>r?.timer.maxIntervalTime?r?.timer.maxIntervalTime:t);return this.#e[fe].startTimer(o),o}clearInterval(e){by&&(!e||e.constructor.name!==`Timeout`)||(yy.clearInterval(e),this.#e[fe].endTimer(e))}requestAnimationFrame(e){if(this.closed)return{};let t=this.#e.page.context.browser.settings;if(t.timer.preventTimerLoops){let e=Error().stack,n=this.#s,r=this.#c,i=n.indexOf(e);if(i!==-1){if(r[i].requestAnimationFrame++,r[i].requestAnimationFrame>=(t.timer.preventTimerLoops===!0?1:t.timer.preventTimerLoops.requestAnimationFrame??1))return{}}else n.push(e),r.push({timeout:0,requestAnimationFrame:0})}let n=!t||!t.disableErrorCapturing&&t.errorCapture===Ls.tryAndCatch,r=yy.setImmediate(()=>{if(this.#e[fe].endImmediate(r),n){let t;try{t=e(this.performance.now())}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e(this.performance.now())});return this.#e[fe].startImmediate(r),r}cancelAnimationFrame(e){by&&(!e||e.constructor.name!==`Immediate`)||(yy.clearImmediate(e),this.#e[fe].endImmediate(e))}queueMicrotask(e){if(this.closed)return;let t=!1,n=this.#e[fe].startTask(()=>t=!0),r=this.#e.page.context.browser.settings,i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch;yy.queueMicrotask(()=>{if(!t)if(this.#e[fe].endTask(n),i){let t;try{t=e()}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e()})}async fetch(e,t){return this.closed?Promise.reject(new this.DOMException(`Failed to execute 'fetch' on 'Window': The window is closed.`,H.invalidStateError)):await new qu({browserFrame:this.#e,window:this,url:e,init:t}).send()}btoa(e){return Fs.btoa(e)}atob(e){return Fs.atob(e)}postMessage(e,t=`*`,n){if(!this.closed){if(t&&t!==`*`&&this.location.origin!==t)throw new this.DOMException(`Failed to execute 'postMessage' on 'Window': The target origin provided ('${t}') does not match the recipient window\'s origin ('${this.location.origin}').`,H.securityError);try{JSON.stringify(e)}catch{throw new this.DOMException(`Failed to execute 'postMessage' on 'Window': The provided message cannot be serialized.`,H.invalidStateError)}this.setTimeout(()=>this.dispatchEvent(new ou(`message`,{data:e,origin:this.#e.parentFrame?this.#e.parentFrame.window.location.origin:this.#e.window.location.origin,source:this.#e.parentFrame?this.#e.parentFrame.window:this.#e.window,lastEventId:``})))}}resizeTo(e,t){if(!this.closed){if(!e||!t)throw new this.DOMException(`Failed to execute 'resizeTo' on 'Window': 2 arguments required, but only ${arguments.length} present.`);this.#e[St]&&this.#e.page.setViewport({width:e,height:t})}}resizeBy(e,t){if(!this.closed){if(!e||!t)throw new this.DOMException(`Failed to execute 'resizeBy' on 'Window': 2 arguments required, but only ${arguments.length} present.`);if(this.#e[St]){let n=this.#e.page.viewport;this.#e.page.setViewport({width:n.width+e,height:n.height+t})}}}async createImageBitmap(e,t,n,r,i,a){return new vy(N,this,e,t,n,r,i,a)}[zo](e){this.#e.page.console.error(e),this.dispatchEvent(new tu(`error`,{message:e.message,error:e}))}[Fe](e,t){return new ce.Script(e,t).runInContext(this)}[ct](){ce.isContext(this)||(ce.createContext(this),Ph.runInContext(this))}[ns](){let e=this.#e;(xy||Sy)&&e.page.context.browser.settings.enableJavaScriptEvaluation&&!e.page.context.browser.settings.suppressInsecureJavaScriptEnvironmentWarning&&!e.page.context.browser.settings.suppressCodeGenerationFromStringsWarning&&console.warn(`
186
186
  Warning! Happy DOM has JavaScript evaluation enabled and is running in an insecure environment.
187
187
 
188
188
  A VM Context is not an isolated environment, and if you run untrusted code you are at risk of RCE (Remote Code Execution) attacks. The attacker can escape the VM and run code at process level.
@@ -192,4 +192,4 @@ It is recommended to disable code generation and freeze all builtins at process
192
192
  For more information, see https://github.com/capricorn86/happy-dom/wiki/JavaScript-Evaluation-Warning
193
193
 
194
194
  `)}[Me](){if(this.closed)return;super[Me](),this.closed=!0;let e=this[vt];for(let t of e)t[Me]&&t[Me]();this[vt]=[];for(let e of this[rs])e[Me]();this[rs]=[],this.document[Me]();let t=this.document.createElement(`html`),n=this.document.createElement(`head`),r=this.document.createElement(`body`);t.appendChild(n),t.appendChild(r),this.document[Pn](t),this.location[Me]&&this.location[Me](),this.customElements[Me]&&this.customElements[Me](),this.history[Me]&&this.history[Me](),this[ss].clear(),this[ko].json.clear(),this[ko].css.clear(),this[ko].esm.clear(),this.document[Ao].clear(),this.document[de]=null,this.document[Je]=null,this.document[Oe]=null,this.document[st]=null,this[dr]=null,this[fr]=null,Y.removeWindowBrowserFrameRelation(this)}[wo](){for(let t of[e,nl]){let e=Object.getOwnPropertyDescriptors(t.prototype),n=Object.keys(e);for(let t of n){let n=e[t];n.get||n.set?Object.defineProperty(this,t,{...n,get:n.get?.bind(this),set:n.set?.bind(this)}):t!==`constructor`&&typeof n.value==`function`&&!n.value.toString().startsWith(`class `)&&Object.defineProperty(this,t,{...n,value:n.value.bind(this)})}}}},Ey=class{static evaluate(e,t){if(!e.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return t=typeof t==`string`?new le(t):t,t.runInContext(e.window)}static async evaluateModule(e,t){if(!e.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);let n=e.window;if(t?.code){let e=t.url?new URL(t.url,n.location.href):n.location,r=t.code;switch(t?.type||`esm`){case`esm`:return await new bm({window:n,url:e,source:r,factory:new xm(n,e)}).evaluate();case`json`:return await new rm({window:n,url:e,source:r}).evaluate();case`css`:return await new nm({window:n,url:e,source:r}).evaluate()}}return t?.url?await(await new xm(n,n.location).getModule(t.url,{with:{type:t.type||`esm`}})).evaluate():{}}},Dy=class{currentItem={title:``,href:`about:blank`,state:null,popState:!1,scrollRestoration:Yu.auto,method:`GET`,formData:null};items=[this.currentItem];push(e){let t=this.items.indexOf(this.currentItem);t!==this.items.length-1&&(this.items.length=t+1),this.items.push(e),this.currentItem=e}replace(e){let t=this.items.indexOf(this.currentItem);if(t!==this.items.length-1&&(this.items.length=t+1),t===-1)throw Error(`Current history item not found`);this.currentItem=e,this.items[t]=e}clear(){this.items.length=0,this.currentItem={title:``,href:`about:blank`,state:null,popState:!1,scrollRestoration:Yu.auto,method:`GET`,formData:null},this.items.push(this.currentItem)}},Oy=class{#e;#t={};#n={};#r=0;#i=[];constructor(e){this.#e=e}assert(e,t,...n){e||this.#e.print({type:Os.assert,level:Cs.error,message:[`Assertion failed:`,...t?[t,...n]:n],group:this.#i[this.#i.length-1]||null})}clear(){this.#e.clear()}count(e=`default`){this.#t[e]||(this.#t[e]=0),this.#t[e]++,this.#e.print({type:Os.count,level:Cs.info,message:[`${e}: ${this.#t[e]}`],group:this.#i[this.#i.length-1]||null})}countReset(e=`default`){delete this.#t[e],this.#e.print({type:Os.countReset,level:Cs.warn,message:[`${e}: 0`],group:this.#i[this.#i.length-1]||null})}debug(e,...t){this.#e.print({type:Os.debug,level:Cs.log,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}dir(e){this.#e.print({type:Os.dir,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}dirxml(e){this.#e.print({type:Os.dirxml,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}error(e,...t){this.#e.print({type:Os.error,level:Cs.error,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}exception(...e){this.error(...e)}group(e){this.#r++;let t={id:this.#r,label:e||`default`,collapsed:!1,parent:this.#i[this.#i.length-1]||null};this.#i.push(t),this.#e.print({type:Os.group,level:Cs.log,message:[e||`default`],group:t})}groupCollapsed(e){this.#r++;let t={id:this.#r,label:e||`default`,collapsed:!0,parent:this.#i[this.#i.length-1]||null};this.#i.push(t),this.#e.print({type:Os.groupCollapsed,level:Cs.log,message:[e||`default`],group:t})}groupEnd(){this.#i.length!==0&&this.#i.pop()}info(e,...t){this.#e.print({type:Os.info,level:Cs.info,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}log(e,...t){this.#e.print({type:Os.log,level:Cs.log,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}profile(){throw Error(`Method not implemented.`)}profileEnd(){throw Error(`Method not implemented.`)}table(e){this.#e.print({type:Os.table,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}time(e=`default`){this.#n[e]=performance.now()}timeEnd(e=`default`){let t=this.#n[e];if(t){let n=performance.now()-t;this.#e.print({type:Os.timeEnd,level:Cs.info,message:[`${e}: ${n}ms - timer ended`],group:this.#i[this.#i.length-1]||null})}}timeLog(e=`default`,...t){let n=this.#n[e];if(n){let r=performance.now()-n;this.#e.print({type:Os.timeLog,level:Cs.info,message:[`${e}: ${r}ms`,...t],group:this.#i[this.#i.length-1]||null})}}timeStamp(){throw Error(`Method not implemented.`)}trace(e,...t){this.#e.print({type:Os.trace,level:Cs.log,message:[...e?[e,...t]:t,Error(`stack`).stack.replace(`Error: stack`,``)],group:this.#i[this.#i.length-1]||null})}warn(e,...t){this.#e.print({type:Os.warn,level:Cs.warn,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}},ky=class{static getFrames(e){return this.findFrames(e.mainFrame)}static closePage(e){if(e.closed)return Promise.resolve();e.closed=!0;let t=e.context.pages.indexOf(e);return t!==-1&&e.context.pages.splice(t,1),e.virtualConsolePrinter.close(),lp.destroyFrame(e.mainFrame)}static findFrames(e){let t=[e];for(let n of e.childFrames)t=t.concat(this.findFrames(n));return t}},Ay=class{#e=new Map;get(e){let t=this.#e.get(e.url);return t?t.expires<Date.now()?(this.#e.delete(e.url),null):t:null}add(e,t){if(this.#e.delete(e.url),e.headers.get(`Cache-Control`)?.includes(`no-cache`)||t.status<200||t.status>=300)return null;let n=t.headers.get(`Access-Control-Max-Age`),r=t.headers.get(`Access-Control-Allow-Origin`);if(!n||!r)return null;let i=[];if(t.headers.has(`Access-Control-Allow-Methods`)&&t.headers.get(`Access-Control-Allow-Methods`)!==`*`)for(let e of t.headers.get(`Access-Control-Allow-Methods`).split(`,`))i.push(e.trim().toUpperCase());let a={allowOrigin:r,allowMethods:i,expires:Date.now()+parseInt(n)*1e3};return isNaN(a.expires)||a.expires<Date.now()?null:(this.#e.set(e.url,a),a)}clear(){this.#e.clear()}},jy={disableJavaScriptEvaluation:!1,enableJavaScriptEvaluation:!1,disableJavaScriptFileLoading:!1,disableCSSFileLoading:!1,enableImageFileLoading:!1,disableIframePageLoading:!1,disableComputedStyleRendering:!1,handleDisabledFileLoadingAsSuccess:!1,disableErrorCapturing:!1,errorCapture:Ls.tryAndCatch,enableFileSystemHttpRequests:!1,suppressCodeGenerationFromStringsWarning:!1,suppressInsecureJavaScriptEnvironmentWarning:!1,timer:{maxTimeout:-1,maxIntervalTime:-1,maxIntervalIterations:-1,preventTimerLoops:!1},fetch:{disableSameOriginPolicy:!1,disableStrictSSL:!1,interceptor:null,requestHeaders:null,virtualServers:null},module:{resolveNodeModules:null,urlResolver:null,disableCache:!1},navigation:{disableMainFrameNavigation:!1,disableChildFrameNavigation:!1,disableChildPageNavigation:!1,disableFallbackToSetURL:!1,crossOriginPolicy:dp.anyOrigin,beforeContentCallback:null},navigator:{userAgent:`Mozilla/5.0 (X11; ${process.platform.charAt(0).toUpperCase()+process.platform.slice(1)+` `+process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/${{version:`20.10.6`}.version}`,maxTouchPoints:0},device:{prefersColorScheme:`light`,prefersReducedMotion:`no-preference`,mediaType:`screen`,forcedColors:`none`},debug:{traceWaitUntilComplete:-1},viewport:{width:1024,height:768,devicePixelRatio:1},canvasAdapter:null},My=class{static createSettings(e){return e&&this.validate(jy,e),{...jy,...e,navigation:{...jy.navigation,...e?.navigation},navigator:{...jy.navigator,...e?.navigator},timer:{...jy.timer,...e?.timer},fetch:{...jy.fetch,...e?.fetch},module:{...jy.module,...e?.module},device:{...jy.device,...e?.device},debug:{...jy.debug,...e?.debug},viewport:{...jy.viewport,...e?.viewport},canvasAdapter:e?.canvasAdapter??jy.canvasAdapter}}static validate(e,t,n){for(let r of Object.keys(t)){if(e[r]===void 0){let e=n?n+`.`+r:r;throw Error(`Unknown browser setting "${e}"`)}if(typeof e[r]==`object`&&!Array.isArray(e[r])&&e[r]!==null){let i=n?n+`.`+r:r;if(typeof t[r]!=`object`||Array.isArray(t[r])||t[r]===null)throw Error(`Browser setting "${i}" cannot be null`);this.validate(e[r],t[r],i)}else if((typeof e[r]==`boolean`||typeof e[r]==`number`||typeof e[r]==`string`)&&typeof t[r]!=typeof e[r]&&!(r===`preventTimerLoops`&&typeof t[r]==`object`&&t[r]!==null)){let t=n?n+`.`+r:r;throw Error(`Browser setting "${t}" must be of type "${typeof e[r]}"`)}}}},Ny=class{static listenerCount=0;observedWindows=[];uncaughtExceptionListener=null;uncaughtRejectionListener=null;observe(e){if(this.observedWindows.includes(e))throw Error(`Browser window is already being observed.`);this.observedWindows.push(e),!this.uncaughtExceptionListener&&(this.uncaughtExceptionListener=(e,t)=>{if(t===`unhandledRejection`)return;let n=null;for(let t of this.observedWindows)if(e instanceof t.Error||e instanceof t.DOMException){n=t;break}n?(n.console.error(e),n.dispatchEvent(new n.ErrorEvent(`error`,{error:e,message:e.message}))):process.listenerCount(`uncaughtException`)===this.constructor.listenerCount&&(console.error(e),process.exit(1))},this.uncaughtRejectionListener=e=>{let t=null;for(let n of this.observedWindows)if(e instanceof n.Error||e instanceof n.DOMException){t=n;break}t?(t.console.error(e),t.dispatchEvent(new t.ErrorEvent(`error`,{error:e,message:e.message}))):process.listenerCount(`unhandledRejection`)===this.constructor.listenerCount&&(console.error(e),process.exit(1))},this.constructor.listenerCount++,process.on(`uncaughtException`,this.uncaughtExceptionListener),process.on(`unhandledRejection`,this.uncaughtRejectionListener))}disconnect(e){let t=this.observedWindows.indexOf(e);t!==-1&&(this.observedWindows.splice(t,1),this.observedWindows.length===0&&this.uncaughtExceptionListener&&(this.constructor.listenerCount--,process.off(`uncaughtException`,this.uncaughtExceptionListener),this.uncaughtRejectionListener&&process.off(`unhandledRejection`,this.uncaughtRejectionListener),this.uncaughtExceptionListener=null,this.uncaughtRejectionListener=null))}},Py=class{childFrames=[];parentFrame=null;page;closed=!1;[fe]=new Ns(this);[Ke]={navigation:[]};[yt]=null;[bt]=null;[St]=!1;[Dn]=new Dy;constructor(e){this.page=e,e.context.browser.contexts[0]?.pages[0]?.mainFrame&&(this.window=new this.page.context.browser.windowClass(this),e.context.browser[Ie]&&e.context.browser[Ie].observe(this.window))}get content(){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return this.window.document.documentElement.outerHTML}set content(e){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);this.window.document[Ve]=!0,this.window.document[He]=!1,this.window.document.open(),this.window.document.write(e)}get url(){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return this.window.location.href}set url(e){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);this.window[En][Cn](this,Xu.getRelativeURL(this,e).href)}get document(){return this.window?.document??null}async waitUntilComplete(){await Promise.all([this[fe].waitUntilComplete(),...this.childFrames.map(e=>e.waitUntilComplete())])}waitForNavigation(){return new Promise(e=>this[Ke].navigation.push(e))}abort(){return this.childFrames.length?new Promise((e,t)=>{Promise.all(this.childFrames.map(e=>e.abort()).concat([this[fe].abort()])).then(()=>e()).catch(t)}):this[fe].abort()}evaluate(e){return Ey.evaluate(this,e)}evaluateModule(e){return Ey.evaluateModule(this,e)}goto(e,t){return pp.navigate({windowClass:this.page.context.browser.windowClass,frame:this,url:e,goToOptions:t})}goBack(e){return pp.navigateBack({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goForward(e){return pp.navigateForward({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goSteps(e,t){return pp.navigateSteps({windowClass:this.page.context.browser.windowClass,frame:this,steps:e,goToOptions:t})}reload(e){return pp.reload({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}},Fy=class{virtualConsolePrinter=new As;mainFrame;context;console;viewport;closed=!1;constructor(e){this.context=e,this.console=e.browser.console??new Oy(this.virtualConsolePrinter),this.mainFrame=new Py(this),this.viewport={width:e.browser.settings.viewport.width,height:e.browser.settings.viewport.height,devicePixelRatio:e.browser.settings.viewport.devicePixelRatio}}get frames(){return ky.getFrames(this)}get content(){return this.mainFrame.content}set content(e){this.mainFrame.content=e}get url(){return this.mainFrame.url}set url(e){this.mainFrame.url=e}close(){return new Promise((e,t)=>{let n=this.context;ky.closePage(this).then(()=>{n.pages[0]===this?n.browser.close().then(e).catch(t):e()}).catch(t)})}waitUntilComplete(){return this.mainFrame.waitUntilComplete()}waitForNavigation(){return this.mainFrame.waitForNavigation()}abort(){return this.mainFrame.abort()}evaluate(e){return this.mainFrame.evaluate(e)}evaluateModule(e){return this.mainFrame.evaluateModule(e)}setViewport(e){let t=Object.assign({},this.viewport);Object.assign(this.viewport,e),(t.width!==this.viewport.width||t.height!==this.viewport.height||t.devicePixelRatio!==this.viewport.devicePixelRatio)&&this.mainFrame.window.dispatchEvent(new W(`resize`))}goto(e,t){return this.mainFrame.goto(e,t)}goBack(e){return this.mainFrame.goBack(e)}goForward(e){return this.mainFrame.goForward(e)}goSteps(e,t){return this.mainFrame.goSteps(e,t)}reload(e){return this.mainFrame.reload(e)}},Iy=class{pages;browser;cookieContainer=new ps;responseCache=new xs;preflightResponseCache=new Ay;closed=!1;[as]=new Map;constructor(e){this.browser=e,this.pages=[],this.pages.push(new Fy(this))}async close(){if(this.closed)return;if(this.browser.contexts[0]===this)throw Error("Cannot close the default context. Use `browser.close()` to close the browser instead.");this.closed=!0,await Promise.all(this.pages.slice().map(e=>e.close()));let e=this.browser,t=e.contexts.indexOf(this);t!==-1&&e.contexts.splice(t,1),this.pages=[],this.cookieContainer.clearCookies(),this.responseCache.clear(),this.preflightResponseCache.clear()}async waitUntilComplete(){await Promise.all(this.pages.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.pages.length){e();return}Promise.all(this.pages.slice().map(e=>e.abort())).then(()=>e()).catch(e=>t(e))})}newPage(){let e=new Fy(this);return this.pages.push(e),e}},Ly=class{contexts;settings;console;windowClass;[Ie]=null;constructor(e,t){this.windowClass=e,this.console=t?.console||null,this.settings=My.createSettings(t?.settings),this.settings.errorCapture===Ls.processLevel&&(this[Ie]=new Ny),this.contexts=[],this.contexts.push(new Iy(this))}get closed(){return this.contexts.length===0}get defaultContext(){if(this.contexts.length===0)throw Error(`No default context. The browser has been closed.`);return this.contexts[0]}async close(){if(this.contexts.length===0)return;let e=this.contexts;this.contexts=[],await Promise.all(e.map(e=>e.close()))}async waitUntilComplete(){await Promise.all(this.contexts.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.contexts.length){e();return}Promise.all(this.contexts.slice().map(e=>e.abort())).then(()=>e()).catch(e=>t(e))})}newIncognitoContext(){throw Error(`Not possible to create a new context on a detached browser.`)}newPage(){if(this.contexts.length===0)throw Error(`No default context. The browser has been closed.`);return this.contexts[0].newPage()}},Ry=class{#e;constructor(e){this.#e=e}get settings(){return this.#e.page.context.browser.settings}get virtualConsolePrinter(){return this.#e.page.virtualConsolePrinter}waitUntilComplete(){return this.#e.waitUntilComplete()}whenAsyncComplete(){return this.waitUntilComplete()}abort(){return this.#e.abort()}cancelAsync(){return this.abort()}close(){return this.#e.page.close()}setURL(e){this.#e.url=e}setViewport(e){this.#e.page.setViewport(e)}setWindowSize(e){this.setViewport({width:e?.width,height:e?.height})}setInnerWidth(e){this.setViewport({width:e})}setInnerHeight(e){this.setViewport({height:e})}},zy=class extends Ty{happyDOM;constructor(e){let t=new Ly(Ty,{console:e?.console,settings:e?.settings}).defaultContext.pages[0],n=t.mainFrame;e&&(e.width||e.height||e.innerWidth||e.innerHeight)&&Object.assign(t.viewport,{width:e.width||e.innerWidth||t.viewport.width,height:e.height||e.innerHeight||t.viewport.height}),super(n,{url:e?.url}),n.window=this,n.page.context.browser[Ie]&&n.page.context.browser[Ie].observe(this),this.happyDOM=new Ry(n)}};export{zy as Window};
195
- //# sourceMappingURL=lib-CQhjuFnl.mjs.map
195
+ //# sourceMappingURL=lib-CE7ieLC-.mjs.map