hyperframes 0.8.195 → 0.8.196

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 (173) hide show
  1. package/dist/{add-NL6XABRV.js → add-JC7CRYAY.js} +12 -12
  2. package/dist/{animatedGifPrep-JD4BBM2L.js → animatedGifPrep-5GSLZQUS.js} +6 -6
  3. package/dist/api.js +14 -14
  4. package/dist/{asset-LRRHLG4L.js → asset-MM3F46VS.js} +2 -2
  5. package/dist/{assetCataloger-D7KGO346.js → assetCataloger-G2ZIBRML.js} +6 -6
  6. package/dist/{audio-34CZM4HF.js → audio-TTZ4OR5A.js} +12 -12
  7. package/dist/{auth-FL5ZMOXB.js → auth-TFOUDLSS.js} +1 -1
  8. package/dist/{autoUpdate-FZTJFLIH.js → autoUpdate-EIHQFY7Y.js} +2 -2
  9. package/dist/{backgroundChecks-6ZKDCQET.js → backgroundChecks-SXRES7MW.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-KDZ4F4QT.js → batchRender-GH2HQQKN.js} +4 -4
  12. package/dist/{beats-7PK677VR.js → beats-VYH72TGV.js} +8 -8
  13. package/dist/{benchmark-LO36QH5D.js → benchmark-72KJLRAY.js} +9 -9
  14. package/dist/{browser-3F7NDHU2.js → browser-3O7SAXSC.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-JL5J52L6.js → bundleWithLocalizedFonts-CJL3HHSF.js} +2 -2
  16. package/dist/{capture-DOP3ONNZ.js → capture-H33B5WVR.js} +9 -9
  17. package/dist/{capture-JOSZZYUW.js → capture-NQAJRPLR.js} +2 -2
  18. package/dist/{captureCompositionFrame-SWZ4GEJP.js → captureCompositionFrame-HPIRZNGK.js} +11 -11
  19. package/dist/{catalog-EZLHZMLM.js → catalog-KMNTCN55.js} +12 -12
  20. package/dist/{catch-up-6B7VY43I.js → catch-up-Q367WUGC.js} +4 -4
  21. package/dist/{check-QGELCBBF.js → check-NQIN7ZQW.js} +35 -35
  22. package/dist/{checkBrowser-A5C2AB4L.js → checkBrowser-IECG4M6A.js} +30 -30
  23. package/dist/{chunk-7G2LQM3J.js → chunk-3OKZJYA7.js} +26 -17
  24. package/dist/{chunk-GOOE33GV.js → chunk-3VI6DSO6.js} +1 -1
  25. package/dist/{chunk-ZOJHEN3C.js → chunk-4VOUQCY6.js} +1 -1
  26. package/dist/{chunk-B7Y2DGU6.js → chunk-5MPWOFWO.js} +1 -1
  27. package/dist/{chunk-SC6NILKD.js → chunk-62DVCRMX.js} +1 -1
  28. package/dist/{chunk-KJ6ZQL34.js → chunk-6RNGEUL3.js} +1 -1
  29. package/dist/{chunk-F4T7XYMF.js → chunk-DHSNTPEW.js} +1 -1
  30. package/dist/{chunk-RZUEXJRC.js → chunk-DMGXJRXV.js} +2 -2
  31. package/dist/{chunk-WUL5LPI2.js → chunk-DMMYNEAF.js} +1 -1
  32. package/dist/{chunk-3PYIQLPL.js → chunk-DTGW7DU3.js} +1 -1
  33. package/dist/{chunk-ST35C4K6.js → chunk-DY53XJ3P.js} +1 -1
  34. package/dist/{chunk-4R2NWLQL.js → chunk-E7NEF2SC.js} +1 -1
  35. package/dist/{chunk-ORZMO6NY.js → chunk-E7S6OJFP.js} +2 -2
  36. package/dist/{chunk-NOHH25WS.js → chunk-EWXXMXNE.js} +2 -2
  37. package/dist/{chunk-GKMRLES4.js → chunk-FHRZK527.js} +1 -1
  38. package/dist/{chunk-ROEW726S.js → chunk-FMTJ4I6I.js} +1 -1
  39. package/dist/{chunk-BBXZPDEA.js → chunk-GHNIESBY.js} +2 -2
  40. package/dist/{chunk-D6XDOYMB.js → chunk-I452OMM7.js} +1 -1
  41. package/dist/{chunk-CCZMCX3F.js → chunk-I7BLPFXV.js} +1 -1
  42. package/dist/{chunk-IZR7U27Z.js → chunk-IHGQEF3Z.js} +47 -16
  43. package/dist/{chunk-2HSRLKZR.js → chunk-IO5NBG26.js} +3 -3
  44. package/dist/{chunk-VNWX5GBF.js → chunk-IYSIQ4GX.js} +3 -2
  45. package/dist/{chunk-P5X5URNQ.js → chunk-JCBZI47W.js} +1 -1
  46. package/dist/{chunk-FWDDLW2H.js → chunk-JI7J3FTM.js} +2 -2
  47. package/dist/{chunk-OB4GJZTY.js → chunk-JL2PX5P2.js} +1 -1
  48. package/dist/{chunk-NKNRVPNV.js → chunk-KCFKFKCU.js} +2 -2
  49. package/dist/{chunk-7DFIVUOW.js → chunk-KLOMOKJC.js} +5 -5
  50. package/dist/{chunk-HTLCE7M2.js → chunk-L7UPBREN.js} +17 -17
  51. package/dist/{chunk-HT33OHQL.js → chunk-LP6SFIWQ.js} +1 -1
  52. package/dist/{chunk-GJG4CTXD.js → chunk-MK6FWMMF.js} +2 -2
  53. package/dist/chunk-MXT76SSV.js +3901 -0
  54. package/dist/{chunk-KVLGJJTE.js → chunk-MYVC3XTH.js} +5 -5
  55. package/dist/{chunk-W4SSWOOD.js → chunk-NCSX7WNM.js} +2 -2
  56. package/dist/{chunk-YUFECVHG.js → chunk-NTMKBXWW.js} +1 -1
  57. package/dist/{chunk-ES7KSCSO.js → chunk-PBHFZXYP.js} +9 -9
  58. package/dist/{chunk-OJNNKHAZ.js → chunk-PGDWNIOK.js} +7 -2
  59. package/dist/{chunk-E527A6RS.js → chunk-PTRDO7J4.js} +2 -2
  60. package/dist/{chunk-3OAFRLD3.js → chunk-QK2MZ2SF.js} +11 -8
  61. package/dist/{chunk-7PXVXRVX.js → chunk-QSJUDSIC.js} +9 -9
  62. package/dist/{chunk-2OYYNKJ4.js → chunk-QXPZGDTI.js} +1 -1
  63. package/dist/{chunk-W7GMPEY3.js → chunk-RASESH32.js} +10 -10
  64. package/dist/{chunk-XOUWCZHD.js → chunk-REOE2ZEO.js} +1 -1
  65. package/dist/{chunk-YFTO5YD7.js → chunk-REPDGLLY.js} +5 -5
  66. package/dist/{chunk-ZAVUASNT.js → chunk-RP7QRLSK.js} +1 -1
  67. package/dist/{chunk-SMROKE63.js → chunk-TGHMJIHK.js} +2 -2
  68. package/dist/{chunk-TE6VGYHQ.js → chunk-TR7CDEU7.js} +1 -1
  69. package/dist/{chunk-YSXCPSJ4.js → chunk-TWHNETZP.js} +3 -3
  70. package/dist/{chunk-IA7HZ4CM.js → chunk-UPPAKDU3.js} +3 -3
  71. package/dist/{chunk-2G6JZJAV.js → chunk-VAS2EQRM.js} +2 -2
  72. package/dist/{chunk-XC7SJ2UR.js → chunk-VFDLKZJZ.js} +3 -3
  73. package/dist/{chunk-E74JMKSK.js → chunk-VKFHSZYS.js} +2 -2
  74. package/dist/{chunk-CZNSLFYD.js → chunk-VLVQQJOX.js} +14 -7
  75. package/dist/{chunk-ZL6ZCLY6.js → chunk-W226NPSC.js} +1 -1
  76. package/dist/{chunk-HJINEUHY.js → chunk-WFHA6WC3.js} +2 -2
  77. package/dist/{chunk-6ORTRIDW.js → chunk-WJJ6TPC7.js} +3 -3
  78. package/dist/{chunk-L4BFXWHC.js → chunk-XJDMYIUI.js} +17 -17
  79. package/dist/{chunk-ELQ2QQC5.js → chunk-XLVUQGSA.js} +1 -1
  80. package/dist/{chunk-B7RJV74O.js → chunk-XOTUPVIF.js} +4 -0
  81. package/dist/{chunk-L2EBYFU7.js → chunk-XZE3IBMV.js} +1 -1
  82. package/dist/{chunk-RAACYYWX.js → chunk-YU22E6SG.js} +1 -1
  83. package/dist/{chunk-66Q27H72.js → chunk-Z43NJYG2.js} +2 -2
  84. package/dist/{chunk-7Y5RVQQ7.js → chunk-ZKIHZDNI.js} +3 -3
  85. package/dist/{chunk-636WBDXB.js → chunk-ZSREWHNW.js} +5 -5
  86. package/dist/{clean-PI4JLT6O.js → clean-HINDVP2J.js} +16 -16
  87. package/dist/cli.js +53 -53
  88. package/dist/{cloud-SQRY723M.js → cloud-TPFDYW6D.js} +4 -4
  89. package/dist/{cloudrun-VMPROR43.js → cloudrun-XI4YKOBA.js} +6 -6
  90. package/dist/{compare-EHX4APTP.js → compare-I7GD7WNG.js} +27 -27
  91. package/dist/{compiler-FZCJGGBF.js → compiler-K7SH7OZQ.js} +3 -3
  92. package/dist/{component-I75ZKJYH.js → component-FRH7UFTP.js} +3 -3
  93. package/dist/{compositions-YNYYUEQD.js → compositions-UQCJ7BG7.js} +10 -10
  94. package/dist/{delete-7BVTBKOC.js → delete-OTDM7JOD.js} +2 -2
  95. package/dist/{deploy-TUEEJP3W.js → deploy-L6JEPE2A.js} +1 -1
  96. package/dist/{deterministicFonts-RADD3BSX.js → deterministicFonts-RMA7GDJC.js} +2 -2
  97. package/dist/{dist-VVROHSP4.js → dist-FQBHBBKC.js} +3 -3
  98. package/dist/{doctor-53DSQFW4.js → doctor-RY44RTJD.js} +10 -10
  99. package/dist/{events-M6FIUDNQ.js → events-ALOHDCL3.js} +3 -3
  100. package/dist/{events-AD3U6E7I.js → events-JSL7JIXP.js} +2 -2
  101. package/dist/{feedback-7SQ7KKAR.js → feedback-FSICK4WO.js} +8 -8
  102. package/dist/{ffmpeg-3HSSPXS4.js → ffmpeg-FG7VOQTN.js} +6 -6
  103. package/dist/{figma-B5XII2BO.js → figma-CN2672XS.js} +3 -3
  104. package/dist/fontLocalizeCli.js +9 -9
  105. package/dist/{get-RZKNBIRD.js → get-C3OPJMWR.js} +2 -2
  106. package/dist/{gpuPolicy-77LOK3K6.js → gpuPolicy-AJX7YIAS.js} +6 -6
  107. package/dist/{grade-compare-K3YB3FQA.js → grade-compare-WQHSPAHD.js} +28 -28
  108. package/dist/{help-UM6INVL5.js → help-E3MX427C.js} +1 -1
  109. package/dist/{history-EWKPACWR.js → history-FYLXZMI4.js} +7 -7
  110. package/dist/hyperframe.manifest.json +1 -1
  111. package/dist/hyperframe.runtime.iife.js +1 -1
  112. package/dist/hyperframes-player.global.js +1 -1
  113. package/dist/{info-KY3MFTCY.js → info-OMF7O3KA.js} +8 -8
  114. package/dist/{init-LURF2PL5.js → init-K3GNFQLD.js} +26 -26
  115. package/dist/{inspect-46CZJM6P.js → inspect-GYOEV66Q.js} +28 -28
  116. package/dist/{installer-NGFX6INI.js → installer-6X4VLDTC.js} +5 -5
  117. package/dist/{keyframes-YCSK6POI.js → keyframes-IPXUT4QI.js} +6 -6
  118. package/dist/{lambda-5KXULI2S.js → lambda-ZGMXIDJV.js} +8 -8
  119. package/dist/{layout-WOLH24YE.js → layout-QVTB5SUJ.js} +28 -28
  120. package/dist/{lint-P3P2LX6S.js → lint-V2I27FUE.js} +6 -6
  121. package/dist/{list-RUYQWMF2.js → list-J5MFX5NA.js} +2 -2
  122. package/dist/{login-THBBWZAY.js → login-ZRCLBPMK.js} +4 -4
  123. package/dist/{manager-V34BMSAG.js → manager-GLJVKITP.js} +7 -7
  124. package/dist/{media-treatment-IMBLTYGV.js → media-treatment-HVGN5S4H.js} +12 -12
  125. package/dist/{models-3NW7HU72.js → models-4WEGIBNZ.js} +10 -10
  126. package/dist/{motionShot-VTTYZ6KW.js → motionShot-B3I4ZE73.js} +14 -14
  127. package/dist/{normalize-audio-ME3X7HBX.js → normalize-audio-QIERL4II.js} +6 -6
  128. package/dist/{open-GLGSJISM.js → open-ALXHG55R.js} +12 -12
  129. package/dist/{parakeetRunner-T3UGRZWC.js → parakeetRunner-ESAELH2V.js} +11 -11
  130. package/dist/{pipeline-IJXVEQCU.js → pipeline-QK6KHDQ3.js} +7 -7
  131. package/dist/{play-HFFGGAZH.js → play-XBIN4KMI.js} +19 -19
  132. package/dist/{preflight-QV6V3UO2.js → preflight-D6VLCMOJ.js} +7 -7
  133. package/dist/{present-TH34CTYY.js → present-DQ45WV7Q.js} +15 -15
  134. package/dist/{preview-R67EQGQP.js → preview-CIAZ646P.js} +17 -17
  135. package/dist/{producer-HWPFETDU.js → producer-T3FJ6HZE.js} +1 -1
  136. package/dist/{projectConfig-AO4V3RHS.js → projectConfig-WFGZJAYZ.js} +7 -7
  137. package/dist/{publication-BDQ3PXYG.js → publication-GWNKRVXZ.js} +3 -3
  138. package/dist/{publish-PXYTWSXN.js → publish-LIAAGUNA.js} +9 -9
  139. package/dist/{remove-background-BVDJPT3Z.js → remove-background-HRFJZJHF.js} +8 -8
  140. package/dist/{render-45YHWV6W.js → render-3C5LHQ3P.js} +6 -6
  141. package/dist/{render-5RQUYPIV.js → render-RWW4LGKJ.js} +28 -28
  142. package/dist/{render-5MZY4TAB.js → render-SMFKECFA.js} +14 -14
  143. package/dist/{render-batch-ZUTUBTHX.js → render-batch-7UH2F7N4.js} +6 -6
  144. package/dist/{resolver-FN2M3XVM.js → resolver-4ZFA36XZ.js} +5 -5
  145. package/dist/{sherpa-6KWNPRWB.js → sherpa-NRSAFFIL.js} +10 -10
  146. package/dist/skills/media-use/scripts/lib/recipe-store.mjs +1 -0
  147. package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +24 -0
  148. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -2
  149. package/dist/{skills-PWQCM2BT.js → skills-6ZUYEX75.js} +5 -5
  150. package/dist/{skillsUpdateCheck-EHV2G3JX.js → skillsUpdateCheck-G2NSDI6O.js} +3 -3
  151. package/dist/{snapshot-7Q24NFEI.js → snapshot-ZJBRKRHZ.js} +32 -32
  152. package/dist/{src-J43SXEHJ.js → src-CZHSSXXF.js} +8 -8
  153. package/dist/{src-OS2FRVZV.js → src-GIB5BUZZ.js} +5 -5
  154. package/dist/{staticProjectServer-YJWOQJF4.js → staticProjectServer-Q3BHJE7H.js} +16 -16
  155. package/dist/studio/assets/{hyperframes-player-DnIPEARk.js → hyperframes-player-DG3nZ1bE.js} +1 -1
  156. package/dist/studio/assets/{index-Dkt4c1MV.js → index-BS2__aBb.js} +4 -4
  157. package/dist/studio/assets/{index-CVppCm_X.js → index-C1r59TIq.js} +1 -1
  158. package/dist/studio/index.html +1 -1
  159. package/dist/{studio-api-CZBZ4D65.js → studio-api-QB4YAV5Q.js} +9 -9
  160. package/dist/{studioServer-U6EX5DSB.js → studioServer-O6T4J75T.js} +46 -46
  161. package/dist/{telemetry-VP4UWWO3.js → telemetry-IKTCBFN5.js} +3 -3
  162. package/dist/{timeline-LMSUKEG6.js → timeline-J2D5R53C.js} +17 -17
  163. package/dist/{tokens-FQ5AI5H4.js → tokens-2D2TFXGD.js} +2 -2
  164. package/dist/{transcribe-VAMXV7QS.js → transcribe-HGD5MUPC.js} +15 -15
  165. package/dist/{transcribe-DNQFPZ2S.js → transcribe-JX23YVIR.js} +9 -9
  166. package/dist/{updateCheck-TOU7VLZK.js → updateCheck-S56I5SDE.js} +2 -2
  167. package/dist/{upgrade-CJRMRR2S.js → upgrade-A4LUB5SH.js} +2 -2
  168. package/dist/{urlDownloader-GETNWEIT.js → urlDownloader-ENNZJ7EM.js} +5 -5
  169. package/dist/{validate-PRI2UTQS.js → validate-IGVFY5CJ.js} +22 -22
  170. package/dist/{video-VOCQA6AG.js → video-HFXVZURT.js} +6 -6
  171. package/dist/warmCheck.js +35 -35
  172. package/package.json +2 -2
  173. package/dist/chunk-ZQRD62QZ.js +0 -3901
@@ -1,7 +1,7 @@
1
1
  // GENERATED — do not hand-edit. Source: packages/core/src/figma/sanitizeSvg.ts, bundled by
2
2
  // scripts/generate-media-use-svg-sanitize.mjs so media-use's zero-install `node --test` lane can
3
3
  // still run the real sanitizer. Regenerate: node scripts/generate-media-use-svg-sanitize.mjs
4
- var k0=Object.create;var gi=Object.defineProperty;var O0=Object.getOwnPropertyDescriptor;var L0=Object.getOwnPropertyNames;var G0=Object.getPrototypeOf,Q0=Object.prototype.hasOwnProperty;var H0=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,u)=>(typeof require<"u"?require:e)[u]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),mi=(t,e)=>{for(var u in e)gi(t,u,{get:e[u],enumerable:!0})},K0=(t,e,u,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of L0(e))!Q0.call(t,s)&&s!==u&&gi(t,s,{get:()=>e[s],enumerable:!(r=O0(e,s))||r.enumerable});return t};var xe=(t,e,u)=>(u=t!=null?k0(G0(t)):{},K0(e||!t||!t.__esModule?gi(u,"default",{value:t,enumerable:!0}):u,t));var Gt=N((Ef,Xo)=>{Xo.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}});var qr=N(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.AttributeAction=Ve.IgnoreCaseMode=Ve.SelectorType=void 0;var uA;(function(t){t.Attribute="attribute",t.Pseudo="pseudo",t.PseudoElement="pseudo-element",t.Tag="tag",t.Universal="universal",t.Adjacent="adjacent",t.Child="child",t.Descendant="descendant",t.Parent="parent",t.Sibling="sibling",t.ColumnCombinator="column-combinator"})(uA=Ve.SelectorType||(Ve.SelectorType={}));Ve.IgnoreCaseMode={Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1};var rA;(function(t){t.Any="any",t.Element="element",t.End="end",t.Equals="equals",t.Exists="exists",t.Hyphen="hyphen",t.Not="not",t.Start="start"})(rA=Ve.AttributeAction||(Ve.AttributeAction={}))});var ta=N(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.parse=ru.isTraversal=void 0;var I=qr(),jo=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,sA=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,iA=new Map([[126,I.AttributeAction.Element],[94,I.AttributeAction.Start],[36,I.AttributeAction.End],[42,I.AttributeAction.Any],[33,I.AttributeAction.Not],[124,I.AttributeAction.Hyphen]]),nA=new Set(["has","not","matches","is","where","host","host-context"]);function $o(t){switch(t.type){case I.SelectorType.Adjacent:case I.SelectorType.Child:case I.SelectorType.Descendant:case I.SelectorType.Parent:case I.SelectorType.Sibling:case I.SelectorType.ColumnCombinator:return!0;default:return!1}}ru.isTraversal=$o;var oA=new Set(["contains","icontains"]);function aA(t,e,u){var r=parseInt(e,16)-65536;return r!==r||u?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function Ou(t){return t.replace(sA,aA)}function on(t){return t===39||t===34}function zo(t){return t===32||t===9||t===10||t===12||t===13}function cA(t){var e=[],u=ea(e,"".concat(t),0);if(u<t.length)throw new Error("Unmatched selector: ".concat(t.slice(u)));return e}ru.parse=cA;function ea(t,e,u){var r=[];function s(ue){var re=e.slice(u+ue).match(jo);if(!re)throw new Error("Expected name, found ".concat(e.slice(u)));var fu=re[0];return u+=ue+fu.length,Ou(fu)}function i(ue){for(u+=ue;u<e.length&&zo(e.charCodeAt(u));)u++}function n(){u+=1;for(var ue=u,re=1;re>0&&u<e.length;u++)e.charCodeAt(u)===40&&!o(u)?re++:e.charCodeAt(u)===41&&!o(u)&&re--;if(re)throw new Error("Parenthesis not matched");return Ou(e.slice(ue,u-1))}function o(ue){for(var re=0;e.charCodeAt(--ue)===92;)re++;return(re&1)===1}function a(){if(r.length>0&&$o(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function c(ue){if(r.length>0&&r[r.length-1].type===I.SelectorType.Descendant){r[r.length-1].type=ue;return}a(),r.push({type:ue})}function d(ue,re){r.push({type:I.SelectorType.Attribute,name:ue,action:re,value:s(1),namespace:null,ignoreCase:"quirks"})}function m(){if(r.length&&r[r.length-1].type===I.SelectorType.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");t.push(r)}if(i(0),e.length===u)return u;e:for(;u<e.length;){var x=e.charCodeAt(u);switch(x){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==I.SelectorType.Descendant)&&(a(),r.push({type:I.SelectorType.Descendant})),i(1);break}case 62:{c(I.SelectorType.Child),i(1);break}case 60:{c(I.SelectorType.Parent),i(1);break}case 126:{c(I.SelectorType.Sibling),i(1);break}case 43:{c(I.SelectorType.Adjacent),i(1);break}case 46:{d("class",I.AttributeAction.Element);break}case 35:{d("id",I.AttributeAction.Equals);break}case 91:{i(1);var v=void 0,W=null;e.charCodeAt(u)===124?v=s(1):e.startsWith("*|",u)?(W="*",v=s(2)):(v=s(0),e.charCodeAt(u)===124&&e.charCodeAt(u+1)!==61&&(W=v,v=s(1))),i(0);var Ue=I.AttributeAction.Exists,P=iA.get(e.charCodeAt(u));if(P){if(Ue=P,e.charCodeAt(u+1)!==61)throw new Error("Expected `=`");i(2)}else e.charCodeAt(u)===61&&(Ue=I.AttributeAction.Equals,i(1));var $e="",et=null;if(Ue!=="exists"){if(on(e.charCodeAt(u))){for(var gt=e.charCodeAt(u),he=u+1;he<e.length&&(e.charCodeAt(he)!==gt||o(he));)he+=1;if(e.charCodeAt(he)!==gt)throw new Error("Attribute value didn't end");$e=Ou(e.slice(u+1,he)),u=he+1}else{for(var tt=u;u<e.length&&(!zo(e.charCodeAt(u))&&e.charCodeAt(u)!==93||o(u));)u+=1;$e=Ou(e.slice(tt,u))}i(0);var ut=e.charCodeAt(u)|32;ut===115?(et=!1,i(1)):ut===105&&(et=!0,i(1))}if(e.charCodeAt(u)!==93)throw new Error("Attribute selector didn't terminate");u+=1;var Jt={type:I.SelectorType.Attribute,name:v,action:Ue,value:$e,namespace:W,ignoreCase:et};r.push(Jt);break}case 58:{if(e.charCodeAt(u+1)===58){r.push({type:I.SelectorType.PseudoElement,name:s(2).toLowerCase(),data:e.charCodeAt(u)===40?n():null});continue}var mt=s(1).toLowerCase(),_=null;if(e.charCodeAt(u)===40)if(nA.has(mt)){if(on(e.charCodeAt(u+1)))throw new Error("Pseudo-selector ".concat(mt," cannot be quoted"));if(_=[],u=ea(_,e,u+1),e.charCodeAt(u)!==41)throw new Error("Missing closing parenthesis in :".concat(mt," (").concat(e,")"));u+=1}else{if(_=n(),oA.has(mt)){var X=_.charCodeAt(0);X===_.charCodeAt(_.length-1)&&on(X)&&(_=_.slice(1,-1))}_=Ou(_)}r.push({type:I.SelectorType.Pseudo,name:mt,data:_});break}case 44:{m(),r=[],i(1);break}default:{if(e.startsWith("/*",u)){var Bt=e.indexOf("*/",u+2);if(Bt<0)throw new Error("Comment was not terminated");u=Bt+2,r.length===0&&i(0);break}var W=null,fe=void 0;if(x===42)u+=1,fe="*";else if(x===124){if(fe="",e.charCodeAt(u+1)===124){c(I.SelectorType.ColumnCombinator),i(2);break}}else if(jo.test(e.slice(u)))fe=s(0);else break e;e.charCodeAt(u)===124&&e.charCodeAt(u+1)!==124&&(W=fe,e.charCodeAt(u+1)===42?(fe="*",u+=2):fe=s(1)),r.push(fe==="*"?{type:I.SelectorType.Universal,namespace:W}:{type:I.SelectorType.Tag,name:fe,namespace:W})}}}return m(),u}});var aa=N(iu=>{"use strict";var Vr=iu&&iu.__spreadArray||function(t,e,u){if(u||arguments.length===2)for(var r=0,s=e.length,i;r<s;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(iu,"__esModule",{value:!0});iu.stringify=void 0;var k=qr(),sa=["\\",'"'],ia=Vr(Vr([],sa,!0),["(",")"],!1),AA=new Set(sa.map(function(t){return t.charCodeAt(0)})),ua=new Set(ia.map(function(t){return t.charCodeAt(0)})),su=new Set(Vr(Vr([],ia,!0),["~","^","$","*","+","!","|",":","[","]"," ","."],!1).map(function(t){return t.charCodeAt(0)}));function na(t){return t.map(function(e){return e.map(lA).join("")}).join(", ")}iu.stringify=na;function lA(t,e,u){switch(t.type){case k.SelectorType.Child:return e===0?"> ":" > ";case k.SelectorType.Parent:return e===0?"< ":" < ";case k.SelectorType.Sibling:return e===0?"~ ":" ~ ";case k.SelectorType.Adjacent:return e===0?"+ ":" + ";case k.SelectorType.Descendant:return" ";case k.SelectorType.ColumnCombinator:return e===0?"|| ":" || ";case k.SelectorType.Universal:return t.namespace==="*"&&e+1<u.length&&"name"in u[e+1]?"":"".concat(oa(t.namespace),"*");case k.SelectorType.Tag:return ra(t);case k.SelectorType.PseudoElement:return"::".concat(ct(t.name,su)).concat(t.data===null?"":"(".concat(ct(t.data,ua),")"));case k.SelectorType.Pseudo:return":".concat(ct(t.name,su)).concat(t.data===null?"":"(".concat(typeof t.data=="string"?ct(t.data,ua):na(t.data),")"));case k.SelectorType.Attribute:{if(t.name==="id"&&t.action===k.AttributeAction.Equals&&t.ignoreCase==="quirks"&&!t.namespace)return"#".concat(ct(t.value,su));if(t.name==="class"&&t.action===k.AttributeAction.Element&&t.ignoreCase==="quirks"&&!t.namespace)return".".concat(ct(t.value,su));var r=ra(t);return t.action===k.AttributeAction.Exists?"[".concat(r,"]"):"[".concat(r).concat(dA(t.action),'="').concat(ct(t.value,AA),'"').concat(t.ignoreCase===null?"":t.ignoreCase?" i":" s","]")}}}function dA(t){switch(t){case k.AttributeAction.Equals:return"";case k.AttributeAction.Element:return"~";case k.AttributeAction.Start:return"^";case k.AttributeAction.End:return"$";case k.AttributeAction.Any:return"*";case k.AttributeAction.Not:return"!";case k.AttributeAction.Hyphen:return"|";case k.AttributeAction.Exists:throw new Error("Shouldn't be here")}}function ra(t){return"".concat(oa(t.namespace)).concat(ct(t.name,su))}function oa(t){return t!==null?"".concat(t==="*"?"*":ct(t,su),"|"):""}function ct(t,e){for(var u=0,r="",s=0;s<t.length;s++)e.has(t.charCodeAt(s))&&(r+="".concat(t.slice(u,s),"\\").concat(t.charAt(s)),u=s+1);return r.length>0?r+t.slice(u):t}});var Lu=N(me=>{"use strict";var hA=me&&me.__createBinding||(Object.create?(function(t,e,u,r){r===void 0&&(r=u);var s=Object.getOwnPropertyDescriptor(e,u);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[u]}}),Object.defineProperty(t,r,s)}):(function(t,e,u,r){r===void 0&&(r=u),t[r]=e[u]})),fA=me&&me.__exportStar||function(t,e){for(var u in t)u!=="default"&&!Object.prototype.hasOwnProperty.call(e,u)&&hA(e,t,u)};Object.defineProperty(me,"__esModule",{value:!0});me.stringify=me.parse=me.isTraversal=void 0;fA(qr(),me);var ca=ta();Object.defineProperty(me,"isTraversal",{enumerable:!0,get:function(){return ca.isTraversal}});Object.defineProperty(me,"parse",{enumerable:!0,get:function(){return ca.parse}});var pA=aa();Object.defineProperty(me,"stringify",{enumerable:!0,get:function(){return pA.stringify}})});var Hn=N(Qa=>{var Ga={};Ga.StyleSheet=function(){this.parentStyleSheet=null};Qa.StyleSheet=Ga.StyleSheet});var de=N(Ha=>{var L={};L.CSSRule=function(){this.parentRule=null,this.parentStyleSheet=null};L.CSSRule.UNKNOWN_RULE=0;L.CSSRule.STYLE_RULE=1;L.CSSRule.CHARSET_RULE=2;L.CSSRule.IMPORT_RULE=3;L.CSSRule.MEDIA_RULE=4;L.CSSRule.FONT_FACE_RULE=5;L.CSSRule.PAGE_RULE=6;L.CSSRule.KEYFRAMES_RULE=7;L.CSSRule.KEYFRAME_RULE=8;L.CSSRule.MARGIN_RULE=9;L.CSSRule.NAMESPACE_RULE=10;L.CSSRule.COUNTER_STYLE_RULE=11;L.CSSRule.SUPPORTS_RULE=12;L.CSSRule.DOCUMENT_RULE=13;L.CSSRule.FONT_FEATURE_VALUES_RULE=14;L.CSSRule.VIEWPORT_RULE=15;L.CSSRule.REGION_STYLE_RULE=16;L.CSSRule.prototype={constructor:L.CSSRule};Ha.CSSRule=L.CSSRule});var Pu=N(Ka=>{var be={CSSStyleDeclaration:Ut().CSSStyleDeclaration,CSSRule:de().CSSRule};be.CSSStyleRule=function(){be.CSSRule.call(this),this.selectorText="",this.style=new be.CSSStyleDeclaration,this.style.parentRule=this};be.CSSStyleRule.prototype=new be.CSSRule;be.CSSStyleRule.prototype.constructor=be.CSSStyleRule;be.CSSStyleRule.prototype.type=1;Object.defineProperty(be.CSSStyleRule.prototype,"cssText",{get:function(){var t;return this.selectorText?t=this.selectorText+" {"+this.style.cssText+"}":t="",t},set:function(t){var e=be.CSSStyleRule.parse(t);this.style=e.style,this.selectorText=e.selectorText}});be.CSSStyleRule.parse=function(t){for(var e=0,u="selector",r,s=e,i="",n={selector:!0,value:!0},o=new be.CSSStyleRule,a,c="",d;d=t.charAt(e);e++)switch(d){case" ":case" ":case"\r":case`
4
+ var k0=Object.create;var gi=Object.defineProperty;var O0=Object.getOwnPropertyDescriptor;var L0=Object.getOwnPropertyNames;var G0=Object.getPrototypeOf,Q0=Object.prototype.hasOwnProperty;var H0=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,u)=>(typeof require<"u"?require:e)[u]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var N=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(u){throw e=0,u}},mi=(t,e)=>{for(var u in e)gi(t,u,{get:e[u],enumerable:!0})},K0=(t,e,u,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of L0(e))!Q0.call(t,s)&&s!==u&&gi(t,s,{get:()=>e[s],enumerable:!(r=O0(e,s))||r.enumerable});return t};var xe=(t,e,u)=>(u=t!=null?k0(G0(t)):{},K0(e||!t||!t.__esModule?gi(u,"default",{value:t,enumerable:!0}):u,t));var Gt=N((Ef,Xo)=>{Xo.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}});var qr=N(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.AttributeAction=Ve.IgnoreCaseMode=Ve.SelectorType=void 0;var uA;(function(t){t.Attribute="attribute",t.Pseudo="pseudo",t.PseudoElement="pseudo-element",t.Tag="tag",t.Universal="universal",t.Adjacent="adjacent",t.Child="child",t.Descendant="descendant",t.Parent="parent",t.Sibling="sibling",t.ColumnCombinator="column-combinator"})(uA=Ve.SelectorType||(Ve.SelectorType={}));Ve.IgnoreCaseMode={Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1};var rA;(function(t){t.Any="any",t.Element="element",t.End="end",t.Equals="equals",t.Exists="exists",t.Hyphen="hyphen",t.Not="not",t.Start="start"})(rA=Ve.AttributeAction||(Ve.AttributeAction={}))});var ta=N(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.parse=ru.isTraversal=void 0;var I=qr(),jo=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,sA=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,iA=new Map([[126,I.AttributeAction.Element],[94,I.AttributeAction.Start],[36,I.AttributeAction.End],[42,I.AttributeAction.Any],[33,I.AttributeAction.Not],[124,I.AttributeAction.Hyphen]]),nA=new Set(["has","not","matches","is","where","host","host-context"]);function $o(t){switch(t.type){case I.SelectorType.Adjacent:case I.SelectorType.Child:case I.SelectorType.Descendant:case I.SelectorType.Parent:case I.SelectorType.Sibling:case I.SelectorType.ColumnCombinator:return!0;default:return!1}}ru.isTraversal=$o;var oA=new Set(["contains","icontains"]);function aA(t,e,u){var r=parseInt(e,16)-65536;return r!==r||u?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function Ou(t){return t.replace(sA,aA)}function on(t){return t===39||t===34}function zo(t){return t===32||t===9||t===10||t===12||t===13}function cA(t){var e=[],u=ea(e,"".concat(t),0);if(u<t.length)throw new Error("Unmatched selector: ".concat(t.slice(u)));return e}ru.parse=cA;function ea(t,e,u){var r=[];function s(ue){var re=e.slice(u+ue).match(jo);if(!re)throw new Error("Expected name, found ".concat(e.slice(u)));var fu=re[0];return u+=ue+fu.length,Ou(fu)}function i(ue){for(u+=ue;u<e.length&&zo(e.charCodeAt(u));)u++}function n(){u+=1;for(var ue=u,re=1;re>0&&u<e.length;u++)e.charCodeAt(u)===40&&!o(u)?re++:e.charCodeAt(u)===41&&!o(u)&&re--;if(re)throw new Error("Parenthesis not matched");return Ou(e.slice(ue,u-1))}function o(ue){for(var re=0;e.charCodeAt(--ue)===92;)re++;return(re&1)===1}function a(){if(r.length>0&&$o(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function c(ue){if(r.length>0&&r[r.length-1].type===I.SelectorType.Descendant){r[r.length-1].type=ue;return}a(),r.push({type:ue})}function d(ue,re){r.push({type:I.SelectorType.Attribute,name:ue,action:re,value:s(1),namespace:null,ignoreCase:"quirks"})}function m(){if(r.length&&r[r.length-1].type===I.SelectorType.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");t.push(r)}if(i(0),e.length===u)return u;e:for(;u<e.length;){var x=e.charCodeAt(u);switch(x){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==I.SelectorType.Descendant)&&(a(),r.push({type:I.SelectorType.Descendant})),i(1);break}case 62:{c(I.SelectorType.Child),i(1);break}case 60:{c(I.SelectorType.Parent),i(1);break}case 126:{c(I.SelectorType.Sibling),i(1);break}case 43:{c(I.SelectorType.Adjacent),i(1);break}case 46:{d("class",I.AttributeAction.Element);break}case 35:{d("id",I.AttributeAction.Equals);break}case 91:{i(1);var v=void 0,W=null;e.charCodeAt(u)===124?v=s(1):e.startsWith("*|",u)?(W="*",v=s(2)):(v=s(0),e.charCodeAt(u)===124&&e.charCodeAt(u+1)!==61&&(W=v,v=s(1))),i(0);var Ue=I.AttributeAction.Exists,P=iA.get(e.charCodeAt(u));if(P){if(Ue=P,e.charCodeAt(u+1)!==61)throw new Error("Expected `=`");i(2)}else e.charCodeAt(u)===61&&(Ue=I.AttributeAction.Equals,i(1));var $e="",et=null;if(Ue!=="exists"){if(on(e.charCodeAt(u))){for(var gt=e.charCodeAt(u),he=u+1;he<e.length&&(e.charCodeAt(he)!==gt||o(he));)he+=1;if(e.charCodeAt(he)!==gt)throw new Error("Attribute value didn't end");$e=Ou(e.slice(u+1,he)),u=he+1}else{for(var tt=u;u<e.length&&(!zo(e.charCodeAt(u))&&e.charCodeAt(u)!==93||o(u));)u+=1;$e=Ou(e.slice(tt,u))}i(0);var ut=e.charCodeAt(u)|32;ut===115?(et=!1,i(1)):ut===105&&(et=!0,i(1))}if(e.charCodeAt(u)!==93)throw new Error("Attribute selector didn't terminate");u+=1;var Jt={type:I.SelectorType.Attribute,name:v,action:Ue,value:$e,namespace:W,ignoreCase:et};r.push(Jt);break}case 58:{if(e.charCodeAt(u+1)===58){r.push({type:I.SelectorType.PseudoElement,name:s(2).toLowerCase(),data:e.charCodeAt(u)===40?n():null});continue}var mt=s(1).toLowerCase(),_=null;if(e.charCodeAt(u)===40)if(nA.has(mt)){if(on(e.charCodeAt(u+1)))throw new Error("Pseudo-selector ".concat(mt," cannot be quoted"));if(_=[],u=ea(_,e,u+1),e.charCodeAt(u)!==41)throw new Error("Missing closing parenthesis in :".concat(mt," (").concat(e,")"));u+=1}else{if(_=n(),oA.has(mt)){var X=_.charCodeAt(0);X===_.charCodeAt(_.length-1)&&on(X)&&(_=_.slice(1,-1))}_=Ou(_)}r.push({type:I.SelectorType.Pseudo,name:mt,data:_});break}case 44:{m(),r=[],i(1);break}default:{if(e.startsWith("/*",u)){var Bt=e.indexOf("*/",u+2);if(Bt<0)throw new Error("Comment was not terminated");u=Bt+2,r.length===0&&i(0);break}var W=null,fe=void 0;if(x===42)u+=1,fe="*";else if(x===124){if(fe="",e.charCodeAt(u+1)===124){c(I.SelectorType.ColumnCombinator),i(2);break}}else if(jo.test(e.slice(u)))fe=s(0);else break e;e.charCodeAt(u)===124&&e.charCodeAt(u+1)!==124&&(W=fe,e.charCodeAt(u+1)===42?(fe="*",u+=2):fe=s(1)),r.push(fe==="*"?{type:I.SelectorType.Universal,namespace:W}:{type:I.SelectorType.Tag,name:fe,namespace:W})}}}return m(),u}});var aa=N(iu=>{"use strict";var Vr=iu&&iu.__spreadArray||function(t,e,u){if(u||arguments.length===2)for(var r=0,s=e.length,i;r<s;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(iu,"__esModule",{value:!0});iu.stringify=void 0;var k=qr(),sa=["\\",'"'],ia=Vr(Vr([],sa,!0),["(",")"],!1),AA=new Set(sa.map(function(t){return t.charCodeAt(0)})),ua=new Set(ia.map(function(t){return t.charCodeAt(0)})),su=new Set(Vr(Vr([],ia,!0),["~","^","$","*","+","!","|",":","[","]"," ","."],!1).map(function(t){return t.charCodeAt(0)}));function na(t){return t.map(function(e){return e.map(lA).join("")}).join(", ")}iu.stringify=na;function lA(t,e,u){switch(t.type){case k.SelectorType.Child:return e===0?"> ":" > ";case k.SelectorType.Parent:return e===0?"< ":" < ";case k.SelectorType.Sibling:return e===0?"~ ":" ~ ";case k.SelectorType.Adjacent:return e===0?"+ ":" + ";case k.SelectorType.Descendant:return" ";case k.SelectorType.ColumnCombinator:return e===0?"|| ":" || ";case k.SelectorType.Universal:return t.namespace==="*"&&e+1<u.length&&"name"in u[e+1]?"":"".concat(oa(t.namespace),"*");case k.SelectorType.Tag:return ra(t);case k.SelectorType.PseudoElement:return"::".concat(ct(t.name,su)).concat(t.data===null?"":"(".concat(ct(t.data,ua),")"));case k.SelectorType.Pseudo:return":".concat(ct(t.name,su)).concat(t.data===null?"":"(".concat(typeof t.data=="string"?ct(t.data,ua):na(t.data),")"));case k.SelectorType.Attribute:{if(t.name==="id"&&t.action===k.AttributeAction.Equals&&t.ignoreCase==="quirks"&&!t.namespace)return"#".concat(ct(t.value,su));if(t.name==="class"&&t.action===k.AttributeAction.Element&&t.ignoreCase==="quirks"&&!t.namespace)return".".concat(ct(t.value,su));var r=ra(t);return t.action===k.AttributeAction.Exists?"[".concat(r,"]"):"[".concat(r).concat(dA(t.action),'="').concat(ct(t.value,AA),'"').concat(t.ignoreCase===null?"":t.ignoreCase?" i":" s","]")}}}function dA(t){switch(t){case k.AttributeAction.Equals:return"";case k.AttributeAction.Element:return"~";case k.AttributeAction.Start:return"^";case k.AttributeAction.End:return"$";case k.AttributeAction.Any:return"*";case k.AttributeAction.Not:return"!";case k.AttributeAction.Hyphen:return"|";case k.AttributeAction.Exists:throw new Error("Shouldn't be here")}}function ra(t){return"".concat(oa(t.namespace)).concat(ct(t.name,su))}function oa(t){return t!==null?"".concat(t==="*"?"*":ct(t,su),"|"):""}function ct(t,e){for(var u=0,r="",s=0;s<t.length;s++)e.has(t.charCodeAt(s))&&(r+="".concat(t.slice(u,s),"\\").concat(t.charAt(s)),u=s+1);return r.length>0?r+t.slice(u):t}});var Lu=N(me=>{"use strict";var hA=me&&me.__createBinding||(Object.create?(function(t,e,u,r){r===void 0&&(r=u);var s=Object.getOwnPropertyDescriptor(e,u);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[u]}}),Object.defineProperty(t,r,s)}):(function(t,e,u,r){r===void 0&&(r=u),t[r]=e[u]})),fA=me&&me.__exportStar||function(t,e){for(var u in t)u!=="default"&&!Object.prototype.hasOwnProperty.call(e,u)&&hA(e,t,u)};Object.defineProperty(me,"__esModule",{value:!0});me.stringify=me.parse=me.isTraversal=void 0;fA(qr(),me);var ca=ta();Object.defineProperty(me,"isTraversal",{enumerable:!0,get:function(){return ca.isTraversal}});Object.defineProperty(me,"parse",{enumerable:!0,get:function(){return ca.parse}});var pA=aa();Object.defineProperty(me,"stringify",{enumerable:!0,get:function(){return pA.stringify}})});var Hn=N(Qa=>{var Ga={};Ga.StyleSheet=function(){this.parentStyleSheet=null};Qa.StyleSheet=Ga.StyleSheet});var de=N(Ha=>{var L={};L.CSSRule=function(){this.parentRule=null,this.parentStyleSheet=null};L.CSSRule.UNKNOWN_RULE=0;L.CSSRule.STYLE_RULE=1;L.CSSRule.CHARSET_RULE=2;L.CSSRule.IMPORT_RULE=3;L.CSSRule.MEDIA_RULE=4;L.CSSRule.FONT_FACE_RULE=5;L.CSSRule.PAGE_RULE=6;L.CSSRule.KEYFRAMES_RULE=7;L.CSSRule.KEYFRAME_RULE=8;L.CSSRule.MARGIN_RULE=9;L.CSSRule.NAMESPACE_RULE=10;L.CSSRule.COUNTER_STYLE_RULE=11;L.CSSRule.SUPPORTS_RULE=12;L.CSSRule.DOCUMENT_RULE=13;L.CSSRule.FONT_FEATURE_VALUES_RULE=14;L.CSSRule.VIEWPORT_RULE=15;L.CSSRule.REGION_STYLE_RULE=16;L.CSSRule.prototype={constructor:L.CSSRule};Ha.CSSRule=L.CSSRule});var Pu=N(Ka=>{var be={CSSStyleDeclaration:Ut().CSSStyleDeclaration,CSSRule:de().CSSRule};be.CSSStyleRule=function(){be.CSSRule.call(this),this.selectorText="",this.style=new be.CSSStyleDeclaration,this.style.parentRule=this};be.CSSStyleRule.prototype=new be.CSSRule;be.CSSStyleRule.prototype.constructor=be.CSSStyleRule;be.CSSStyleRule.prototype.type=1;Object.defineProperty(be.CSSStyleRule.prototype,"cssText",{get:function(){var t;return this.selectorText?t=this.selectorText+" {"+this.style.cssText+"}":t="",t},set:function(t){var e=be.CSSStyleRule.parse(t);this.style=e.style,this.selectorText=e.selectorText}});be.CSSStyleRule.parse=function(t){for(var e=0,u="selector",r,s=e,i="",n={selector:!0,value:!0},o=new be.CSSStyleRule,a,c="",d;d=t.charAt(e);e++)switch(d){case" ":case" ":case"\r":case`
5
5
  `:case"\f":if(n[u])switch(t.charAt(e-1)){case" ":case" ":case"\r":case`
6
6
  `:case"\f":break;default:i+=" ";break}break;case'"':if(s=e+1,r=t.indexOf('"',s)+1,!r)throw'" is missing';i+=t.slice(e,r),e=r-1;break;case"'":if(s=e+1,r=t.indexOf("'",s)+1,!r)throw"' is missing";i+=t.slice(e,r),e=r-1;break;case"/":if(t.charAt(e+1)==="*"){if(e+=2,r=t.indexOf("*/",e),r===-1)throw new SyntaxError("Missing */");e=r+1}else i+=d;break;case"{":u==="selector"&&(o.selectorText=i.trim(),i="",u="name");break;case":":u==="name"?(a=i.trim(),i="",u="value"):i+=d;break;case"!":u==="value"&&t.indexOf("!important",e)===e?(c="important",e+=9):i+=d;break;case";":u==="value"?(o.style.setProperty(a,i.trim(),c),c="",i="",u="name"):i+=d;break;case"}":if(u==="value")o.style.setProperty(a,i.trim(),c),c="",i="";else{if(u==="name")break;i+=d}u="selector";break;default:i+=d;break}return o};Ka.CSSStyleRule=be.CSSStyleRule});var _u=N(Ua=>{var De={StyleSheet:Hn().StyleSheet,CSSStyleRule:Pu().CSSStyleRule};De.CSSStyleSheet=function(){De.StyleSheet.call(this),this.cssRules=[]};De.CSSStyleSheet.prototype=new De.StyleSheet;De.CSSStyleSheet.prototype.constructor=De.CSSStyleSheet;De.CSSStyleSheet.prototype.insertRule=function(t,e){if(e<0||e>this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");var u=De.parse(t).cssRules[0];return u.parentStyleSheet=this,this.cssRules.splice(e,0,u),e};De.CSSStyleSheet.prototype.deleteRule=function(t){if(t<0||t>=this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");this.cssRules.splice(t,1)};De.CSSStyleSheet.prototype.toString=function(){for(var t="",e=this.cssRules,u=0;u<e.length;u++)t+=e[u].cssText+`
7
7
  `;return t};Ua.CSSStyleSheet=De.CSSStyleSheet;De.parse=ls().parse});var hs=N(Wa=>{var ds={};ds.MediaList=function(){this.length=0};ds.MediaList.prototype={constructor:ds.MediaList,get mediaText(){return Array.prototype.join.call(this,", ")},set mediaText(t){for(var e=t.split(","),u=this.length=e.length,r=0;r<u;r++)this[r]=e[r].trim()},appendMedium:function(t){Array.prototype.indexOf.call(this,t)===-1&&(this[this.length]=t,this.length++)},deleteMedium:function(t){var e=Array.prototype.indexOf.call(this,t);e!==-1&&Array.prototype.splice.call(this,e,1)}};Wa.MediaList=ds.MediaList});var Kn=N(Ya=>{var He={CSSRule:de().CSSRule,CSSStyleSheet:_u().CSSStyleSheet,MediaList:hs().MediaList};He.CSSImportRule=function(){He.CSSRule.call(this),this.href="",this.media=new He.MediaList,this.styleSheet=new He.CSSStyleSheet};He.CSSImportRule.prototype=new He.CSSRule;He.CSSImportRule.prototype.constructor=He.CSSImportRule;He.CSSImportRule.prototype.type=3;Object.defineProperty(He.CSSImportRule.prototype,"cssText",{get:function(){var t=this.media.mediaText;return"@import url("+this.href+")"+(t?" "+t:"")+";"},set:function(t){for(var e=0,u="",r="",s,i;i=t.charAt(e);e++)switch(i){case" ":case" ":case"\r":case`
@@ -18,4 +18,4 @@ var k0=Object.create;var gi=Object.defineProperty;var O0=Object.getOwnPropertyDe
18
18
  optgroup[disabled] > option,
19
19
  fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
20
20
  )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"};var Ie=xe(Gt(),1);var pn={};function gn(t,e){return t===Ie.default.falseFunc?Ie.default.falseFunc:u=>e.isTag(u)&&t(u)}function mn(t,e){let u=e.getSiblings(t);if(u.length<=1)return[];let r=u.indexOf(t);return r<0||r===u.length-1?[]:u.slice(r+1).filter(e.isTag)}function fn(t){return{xmlMode:!!t.xmlMode,lowerCaseAttributeNames:!!t.lowerCaseAttributeNames,lowerCaseTags:!!t.lowerCaseTags,quirksMode:!!t.quirksMode,cacheResults:!!t.cacheResults,pseudos:t.pseudos,adapter:t.adapter,equals:t.equals}}var hn=(t,e,u,r,s)=>{let i=s(e,fn(u),r);return i===Ie.default.trueFunc?t:i===Ie.default.falseFunc?Ie.default.falseFunc:n=>i(n)&&t(n)},_r={is:hn,matches:hn,where:hn,not(t,e,u,r,s){let i=s(e,fn(u),r);return i===Ie.default.falseFunc?t:i===Ie.default.trueFunc?Ie.default.falseFunc:n=>!i(n)&&t(n)},has(t,e,u,r,s){let{adapter:i}=u,n=fn(u);n.relativeSelector=!0;let o=e.some(d=>d.some(Gu))?[pn]:void 0,a=s(e,n,o);if(a===Ie.default.falseFunc)return Ie.default.falseFunc;let c=gn(a,i);if(o&&a!==Ie.default.trueFunc){let{shouldTestNextSiblings:d=!1}=a;return m=>{if(!t(m))return!1;o[0]=m;let x=i.getChildren(m),v=d?[...x,...mn(m,i)]:x;return i.existsOne(c,v)}}return d=>t(d)&&i.existsOne(c,i.getChildren(d))}};function ba(t,e,u,r,s){var i;let{name:n,data:o}=e;if(Array.isArray(o)){if(!(n in _r))throw new Error(`Unknown pseudo-class :${n}(${o})`);return _r[n](t,o,u,r,s)}let a=(i=u.pseudos)===null||i===void 0?void 0:i[n],c=typeof a=="string"?a:dn[n];if(typeof c=="string"){if(o!=null)throw new Error(`Pseudo ${n} doesn't have any arguments`);let d=(0,ma.parse)(c);return _r.is(t,d,u,r,s)}if(typeof a=="function")return ln(a,n,o,1),d=>a(d,o)&&t(d);if(n in Hu)return Hu[n](t,o,u,r);if(n in Pr){let d=Pr[n];return ln(d,n,o,2),m=>d(m,u,o)&&t(m)}throw new Error(`Unknown pseudo-class :${n}`)}var Ne=xe(Lu(),1);function bn(t,e){let u=e.getParent(t);return u&&e.isTag(u)?u:null}function Sa(t,e,u,r,s){let{adapter:i,equals:n}=u;switch(e.type){case Ne.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Ne.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Ne.SelectorType.Attribute:{if(e.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!u.xmlMode||u.lowerCaseAttributeNames)&&(e.name=e.name.toLowerCase()),ha[e.action](t,e,u)}case Ne.SelectorType.Pseudo:return ba(t,e,u,r,s);case Ne.SelectorType.Tag:{if(e.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:o}=e;return(!u.xmlMode||u.lowerCaseTags)&&(o=o.toLowerCase()),function(c){return i.getName(c)===o&&t(c)}}case Ne.SelectorType.Descendant:{if(u.cacheResults===!1||typeof WeakSet>"u")return function(c){let d=c;for(;d=bn(d,i);)if(t(d))return!0;return!1};let o=new WeakSet;return function(c){let d=c;for(;d=bn(d,i);)if(!o.has(d)){if(i.isTag(d)&&t(d))return!0;o.add(d)}return!1}}case"_flexibleDescendant":return function(a){let c=a;do if(t(c))return!0;while(c=bn(c,i));return!1};case Ne.SelectorType.Parent:return function(a){return i.getChildren(a).some(c=>i.isTag(c)&&t(c))};case Ne.SelectorType.Child:return function(a){let c=i.getParent(a);return c!=null&&i.isTag(c)&&t(c)};case Ne.SelectorType.Sibling:return function(a){let c=i.getSiblings(a);for(let d=0;d<c.length;d++){let m=c[d];if(n(a,m))break;if(i.isTag(m)&&t(m))return!0}return!1};case Ne.SelectorType.Adjacent:return i.prevElementSibling?function(a){let c=i.prevElementSibling(a);return c!=null&&t(c)}:function(a){let c=i.getSiblings(a),d;for(let m=0;m<c.length;m++){let x=c[m];if(n(a,x))break;i.isTag(x)&&(d=x)}return!!d&&t(d)};case Ne.SelectorType.Universal:{if(e.namespace!=null&&e.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return t}}}function Sn(t,e,u){let r=Xr(t,e,u);return gn(r,e.adapter)}function Xr(t,e,u){let r=typeof t=="string"?(0,Le.parse)(t):t;return jr(r,e,u)}function xa(t){return t.type===Le.SelectorType.Pseudo&&(t.name==="scope"||Array.isArray(t.data)&&t.data.some(e=>e.some(xa)))}var CA={type:Le.SelectorType.Descendant},EA={type:"_flexibleDescendant"},yA={type:Le.SelectorType.Pseudo,name:"scope",data:null};function wA(t,{adapter:e},u){let r=!!u?.every(s=>{let i=e.isTag(s)&&e.getParent(s);return s===pn||i&&e.isTag(i)});for(let s of t){if(!(s.length>0&&Gu(s[0])&&s[0].type!==Le.SelectorType.Descendant))if(r&&!s.some(xa))s.unshift(CA);else continue;s.unshift(yA)}}function jr(t,e,u){var r;t.forEach(an),u=(r=e.context)!==null&&r!==void 0?r:u;let s=Array.isArray(u),i=u&&(Array.isArray(u)?u:[u]);if(e.relativeSelector!==!1)wA(t,e,i);else if(t.some(a=>a.length>0&&Gu(a[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let n=!1,o=t.map(a=>{if(a.length>=2){let[c,d]=a;c.type!==Le.SelectorType.Pseudo||c.name!=="scope"||(s&&d.type===Le.SelectorType.Descendant?a[1]=EA:(d.type===Le.SelectorType.Adjacent||d.type===Le.SelectorType.Sibling)&&(n=!0))}return IA(a,e,i)}).reduce(NA,At.default.falseFunc);return o.shouldTestNextSiblings=n,o}function IA(t,e,u){var r;return t.reduce((s,i)=>s===At.default.falseFunc?At.default.falseFunc:Sa(s,i,e,u,jr),(r=e.rootFunc)!==null&&r!==void 0?r:At.default.trueFunc)}function NA(t,e){return e===At.default.falseFunc||t===At.default.trueFunc?t:t===At.default.falseFunc||e===At.default.trueFunc?e:function(r){return t(r)||e(r)}}var Ca=(t,e)=>t===e,TA={adapter:$t,equals:Ca};function Cn(t){var e,u,r,s;let i=t??TA;return(e=i.adapter)!==null&&e!==void 0||(i.adapter=$t),(u=i.equals)!==null&&u!==void 0||(i.equals=(s=(r=i.adapter)===null||r===void 0?void 0:r.equals)!==null&&s!==void 0?s:Ca),i}function En(t){return function(u,r,s){let i=Cn(r);return t(u,i,s)}}var Ea=En(Sn),tp=En(Xr),up=En(jr);function ya(t){return function(u,r,s){let i=Cn(s);typeof u!="function"&&(u=Xr(u,i,r));let n=DA(r,i.adapter,u.shouldTestNextSiblings);return t(u,n,i)}}function DA(t,e,u=!1){return u&&(t=BA(t,e)),Array.isArray(t)?e.removeSubsets(t):e.getChildren(t)}function BA(t,e){let u=Array.isArray(t)?t.slice(0):[t],r=u.length;for(let s=0;s<r;s++){let i=mn(u[s],e);u.push(...i)}return u}var rp=ya((t,e,u)=>t===xn.default.falseFunc||!e||e.length===0?[]:u.adapter.findAll(t,e)),sp=ya((t,e,u)=>t===xn.default.falseFunc||!e||e.length===0?null:u.adapter.findOne(t,e));function wa(t,e,u){let r=Cn(u);return(typeof e=="function"?e:Sn(e,r))(t)}var{isArray:RA}=Array,zr=({nodeType:t})=>t===1,Ia=(t,e)=>e.some(u=>zr(u)&&(t(u)||Ia(t,ou(u)))),FA=(t,e)=>e==="class"?t.classList.value:t.getAttribute(e),ou=({childNodes:t})=>t,MA=t=>{let{localName:e}=t;return Ee(t)?e.toLowerCase():e},kA=({parentNode:t})=>t,OA=t=>{let{parentNode:e}=t;return e?ou(e):t},yn=t=>RA(t)?t.map(yn).join(""):zr(t)?yn(ou(t)):t.nodeType===3?t.data:"",LA=(t,e)=>t.hasAttribute(e),GA=t=>{let{length:e}=t;for(;e--;){let u=t[e];if(e&&-1<t.lastIndexOf(u,e-1)){t.splice(e,1);continue}for(let{parentNode:r}=u;r;r=r.parentNode)if(t.includes(r)){t.splice(e,1);break}}return t},Na=(t,e)=>{let u=[];for(let r of e)zr(r)&&(t(r)&&u.push(r),u.push(...Na(t,ou(r))));return u},Ta=(t,e)=>{for(let u of e)if(t(u)||(u=Ta(t,ou(u))))return u;return null},Da={isTag:zr,existsOne:Ia,getAttributeValue:FA,getChildren:ou,getName:MA,getParent:kA,getSiblings:OA,getText:yn,hasAttrib:LA,removeSubsets:GA,findAll:Na,findOne:Ta},Ku=(t,e)=>Ea(e,{context:e.includes(":scope")?t:void 0,xmlMode:!Ee(t),adapter:Da}),Ba=(t,e)=>wa(t,e,{strict:!0,context:e.includes(":scope")?t:void 0,xmlMode:!Ee(t),adapter:Da});var Te=class t extends Oe{constructor(e,u=""){super(e,"#text",3,u)}get wholeText(){let e=[],{previousSibling:u,nextSibling:r}=this;for(;u&&u.nodeType===3;){e.unshift(u[y]);u=u.previousSibling}for(e.push(this[y]);r&&r.nodeType===3;){e.push(r[y]);r=r.nextSibling}return e.join("")}cloneNode(){let{ownerDocument:e,[y]:u}=this;return new t(e,u)}toString(){return tu(this[y])}};var QA=t=>t instanceof Ae,wn=(t,e,u)=>{let{ownerDocument:r}=t;for(let s of u)t.insertBefore(QA(s)?s:new Te(r,s),e)},au=class extends Ae{constructor(e,u,r){super(e,u,r),this[G]=null,this[p]=this[g]={[p]:null,[T]:this,[Y]:this,nodeType:-1,ownerDocument:this.ownerDocument,parentNode:null}}get childNodes(){let e=new U,{firstChild:u}=this;for(;u;)e.push(u),u=ke(u);return e}get children(){let e=new U,{firstElementChild:u}=this;for(;u;)e.push(u),u=uu(u);return e}get firstChild(){let{[p]:e,[g]:u}=this;for(;e.nodeType===2;)e=e[p];return e===u?null:e}get firstElementChild(){let{firstChild:e}=this;for(;e;){if(e.nodeType===1)return e;e=ke(e)}return null}get lastChild(){let e=this[g][T];switch(e.nodeType){case-1:return e[Y];case 2:return null}return e===this?null:e}get lastElementChild(){let{lastChild:e}=this;for(;e;){if(e.nodeType===1)return e;e=at(e)}return null}get childElementCount(){return this.children.length}prepend(...e){wn(this,this.firstChild,e)}append(...e){wn(this,this[g],e)}replaceChildren(...e){let{[p]:u,[g]:r}=this;for(;u!==r&&u.nodeType===2;)u=u[p];for(;u!==r;){let s=K(u)[p];u.remove(),u=s}e.length&&wn(this,r,e)}getElementsByClassName(e){let u=new U,{[p]:r,[g]:s}=this;for(;r!==s;)r.nodeType===1&&r.hasAttribute("class")&&r.classList.has(e)&&u.push(r),r=r[p];return u}getElementsByTagName(e){let u=new U,{[p]:r,[g]:s}=this;for(;r!==s;)r.nodeType===1&&(r.localName===e||vu(r)===e)&&u.push(r),r=r[p];return u}querySelector(e){let u=Ku(this,e),{[p]:r,[g]:s}=this;for(;r!==s;){if(r.nodeType===1&&u(r))return r;r=r.nodeType===1&&r.localName==="template"?r[g]:r[p]}return null}querySelectorAll(e){let u=Ku(this,e),r=new U,{[p]:s,[g]:i}=this;for(;s!==i;)s.nodeType===1&&u(s)&&r.push(s),s=s.nodeType===1&&s.localName==="template"?s[g]:s[p];return r}appendChild(e){return this.insertBefore(e,this[g])}contains(e){let u=e;for(;u&&u!==this;)u=u.parentNode;return u===this}insertBefore(e,u=null){if(e===u)return e;if(e===this)throw new Error("unable to append a node to itself");let r=u||this[g];switch(e.nodeType){case 1:e.remove(),e.parentNode=this,Bu(r[T],e,r),wt(e,null),Ru(e);break;case 11:{let{[G]:s,firstChild:i,lastChild:n}=e;if(i){$i(r[T],i,n,r),ce(e,e[g]),s&&s.replaceChildren();do i.parentNode=this,wt(i,null),i.nodeType===1&&Ru(i);while(i!==n&&(i=ke(i)))}break}case 3:case 8:case 4:e.remove();default:e.parentNode=this,nt(r[T],e,r),wt(e,null);break}return e}normalize(){let{[p]:e,[g]:u}=this;for(;e!==u;){let{[p]:r,[T]:s,nodeType:i}=e;i===3&&(e[y]?s&&s.nodeType===3&&(s.textContent+=e.textContent,e.remove()):e.remove()),e=r}}removeChild(e){if(e.parentNode!==this)throw new Error("node is not a child");return e.remove(),e}replaceChild(e,u){let r=K(u)[p];return u.remove(),this.insertBefore(e,r),u}};var Dt=class extends au{getElementById(e){let{[p]:u,[g]:r}=this;for(;u!==r;){if(u.nodeType===1&&u.id===e)return u;u=u[p]}return null}cloneNode(e){let{ownerDocument:u,constructor:r}=this,s=new r(u);if(e){let{[g]:i}=s;for(let n of this.childNodes)s.insertBefore(n.cloneNode(e),i)}return s}toString(){let{childNodes:e,localName:u}=this;return`<${u}>${e.join("")}</${u}>`}toJSON(){let e=[];return qo(this,e),e}};var Ht=class extends Dt{constructor(e){super(e,"#document-fragment",11)}};var lt=class t extends Ae{constructor(e,u,r="",s=""){super(e,"#document-type",10),this.name=u,this.publicId=r,this.systemId=s}cloneNode(){let{ownerDocument:e,name:u,publicId:r,systemId:s}=this;return new t(e,u,r,s)}toString(){let{name:e,publicId:u,systemId:r}=this,s=0<u.length,i=[e];return s&&i.push("PUBLIC",`"${u}"`),r.length&&(s||i.push("SYSTEM"),i.push(`"${r}"`)),`<!DOCTYPE ${i.join(" ")}>`}toJSON(){let e=[];return un(this,e),e}};var $r=t=>t.childNodes.join(""),es=(t,e)=>{let{ownerDocument:u}=t,{constructor:r}=u,s=new r;s[se]=u[se];let{childNodes:i}=Lr(s,Ee(t),e);t.replaceChildren(...i.map(va,u))};function va(t){switch(t.ownerDocument=this,t.nodeType){case 1:case 11:t.childNodes.forEach(va,this);break}return t}var cu=t=>t.replace(/(([A-Z0-9])([A-Z0-9][a-z]))|(([a-z0-9]+)([A-Z]))/g,"$2$5-$3$6").toLowerCase();var ts=new WeakMap,In=t=>`data-${cu(t)}`,HA=t=>t.slice(5).replace(/-([a-z])/g,(e,u)=>u.toUpperCase()),KA={get(t,e){if(e in t)return ts.get(t).getAttribute(In(e))},set(t,e,u){return t[e]=u,ts.get(t).setAttribute(In(e),u),!0},deleteProperty(t,e){return e in t&&ts.get(t).removeAttribute(In(e)),delete t[e]}},Uu=class{constructor(e){for(let{name:u,value:r}of e.attributes)/^data-/.test(u)&&(this[HA(u)]=r);return ts.set(this,e),new Proxy(this,KA)}};H(Uu.prototype,null);var{add:UA}=Set.prototype,Ra=(t,e)=>{for(let u of e)u&&UA.call(t,u)},Wu=({[bi]:t,value:e})=>{let u=t.getAttributeNode("class");u?u.value=e:Mu(t,new we(t.ownerDocument,"class",e))},us=class extends Set{constructor(e){super(),this[bi]=e;let u=e.getAttributeNode("class");u&&Ra(this,u.value.split(/\s+/))}get length(){return this.size}get value(){return[...this].join(" ")}add(...e){Ra(this,e),Wu(this)}contains(e){return this.has(e)}remove(...e){for(let u of e)this.delete(u);Wu(this)}toggle(e,u){if(this.has(e)){if(u)return!0;this.delete(e),Wu(this)}else if(u||arguments.length===1)return super.add(e),Wu(this),!0;return!1}replace(e,u){return this.has(e)?(this.delete(e),super.add(u),Wu(this),!0):!1}supports(){return!0}};var ss=new WeakMap,Nn=t=>[...t.keys()].filter(e=>e!==G),is=t=>{let e=ss.get(t).getAttributeNode("style");if((!e||e[qt]||t.get(G)!==e)&&(t.clear(),e)){t.set(G,e);for(let u of e[y].split(/\s*;\s*/)){let[r,...s]=u.split(":");if(s.length>0){r=r.trim();let i=s.join(":").trim();r&&i&&t.set(r,i)}}}return e},rs={get(t,e){return e in WA?t[e]:(is(t),e==="length"?Nn(t).length:/^\d+$/.test(e)?Nn(t)[e]:t.get(cu(e)))},set(t,e,u){if(e==="cssText")t[e]=u;else{let r=is(t);if(u==null?t.delete(cu(e)):t.set(cu(e),u),!r){let s=ss.get(t);r=s.ownerDocument.createAttribute("style"),s.setAttributeNode(r),t.set(G,r)}r[qt]=!1,r[y]=t.toString()}return!0}},Yu=class extends Map{constructor(e){return super(),ss.set(this,e),new Proxy(this,rs)}get cssText(){return this.toString()}set cssText(e){ss.get(this).setAttribute("style",e)}getPropertyValue(e){let u=this[G];return rs.get(u,e)}setProperty(e,u){let r=this[G];rs.set(r,e,u)}removeProperty(e){let u=this[G];rs.set(u,e,null)}[Symbol.iterator](){let e=this[G];is(e);let u=Nn(e),{length:r}=u,s=0;return{next(){let i=s===r;return{done:i,value:i?null:u[s++]}}}}get[G](){return this}toString(){let e=this[G];is(e);let u=[];return e.forEach(YA,u),u.join(";")}},{prototype:WA}=Yu;function YA(t,e){e!==G&&this.push(`${e}:${t}`)}function JA(t){return t.currentTarget}var ne=class{static get BUBBLING_PHASE(){return 3}static get AT_TARGET(){return 2}static get CAPTURING_PHASE(){return 1}static get NONE(){return 0}constructor(e,u={}){this.type=e,this.bubbles=!!u.bubbles,this.cancelBubble=!1,this._stopImmediatePropagationFlag=!1,this.cancelable=!!u.cancelable,this.eventPhase=this.NONE,this.timeStamp=Date.now(),this.defaultPrevented=!1,this.originalTarget=null,this.returnValue=null,this.srcElement=null,this.target=null,this._path=[]}get BUBBLING_PHASE(){return 3}get AT_TARGET(){return 2}get CAPTURING_PHASE(){return 1}get NONE(){return 0}preventDefault(){this.defaultPrevented=!0}composedPath(){return this._path.map(JA)}stopPropagation(){this.cancelBubble=!0}stopImmediatePropagation(){this.stopPropagation(),this._stopImmediatePropagationFlag=!0}};var Au=class extends Array{constructor(e){super(),this.ownerElement=e}getNamedItem(e){return this.ownerElement.getAttributeNode(e)}setNamedItem(e){this.ownerElement.setAttributeNode(e),this.unshift(e)}removeNamedItem(e){let u=this.getNamedItem(e);this.ownerElement.removeAttribute(e),this.splice(this.indexOf(u),1)}item(e){return e<this.length?this[e]:null}getNamedItemNS(e,u){return this.getNamedItem(u)}setNamedItemNS(e,u){return this.setNamedItem(u)}removeNamedItemNS(e,u){return this.removeNamedItem(u)}};var Kt=class extends Dt{constructor(e){super(e.ownerDocument,"#shadow-root",11),this.host=e}get innerHTML(){return $r(this)}set innerHTML(e){es(this,e)}};var qA={get(t,e){return e in t?t[e]:t.find(({name:u})=>u===e)}},Fa=(t,e,u)=>{if("ownerSVGElement"in e){let r=t.createElementNS(Mt,u);return r.ownerSVGElement=e.ownerSVGElement,r}return t.createElement(u)},VA=({localName:t,ownerDocument:e})=>e[Be].voidElements.test(t),Ge=class extends au{constructor(e,u){super(e,u,1),this[bt]=null,this[pr]=null,this[gr]=null}get isConnected(){return Hr(this)}get parentElement(){return Kr(this)}get previousSibling(){return at(this)}get nextSibling(){return ke(this)}get namespaceURI(){return"http://www.w3.org/1999/xhtml"}get previousElementSibling(){return Ur(this)}get nextElementSibling(){return uu(this)}before(...e){Wr(this,e)}after(...e){Yr(this,e)}replaceWith(...e){ku(this,e)}remove(){Jr(this[T],this,this[g][p])}get id(){return h.get(this,"id")}set id(e){h.set(this,"id",e)}get className(){return this.classList.value}set className(e){let{classList:u}=this;u.clear(),u.add(...Re(e).split(/\s+/))}get nodeName(){return vu(this)}get tagName(){return vu(this)}get classList(){return this[bt]||(this[bt]=new us(this))}get dataset(){return this[pr]||(this[pr]=new Uu(this))}getBoundingClientRect(){return{x:0,y:0,bottom:0,height:0,left:0,right:0,top:0,width:0}}get nonce(){return h.get(this,"nonce")}set nonce(e){h.set(this,"nonce",e)}get style(){return this[gr]||(this[gr]=new Yu(this))}get tabIndex(){return Fe.get(this,"tabindex")||-1}set tabIndex(e){Fe.set(this,"tabindex",e)}get slot(){return h.get(this,"slot")}set slot(e){h.set(this,"slot",e)}get innerText(){let e=[],{[p]:u,[g]:r}=this;for(;u!==r;)u.nodeType===3?e.push(u.textContent.replace(/\s+/g," ")):e.length&&u[p]!=r&&Bo.has(u.tagName)&&e.push(`
21
- `),u=u[p];return e.join("")}get textContent(){let e=[],{[p]:u,[g]:r}=this;for(;u!==r;){let s=u.nodeType;(s===3||s===4)&&e.push(u.textContent),u=u[p]}return e.join("")}set textContent(e){this.replaceChildren(),e!=null&&e!==""&&this.appendChild(new Te(this.ownerDocument,e))}get innerHTML(){return $r(this)}set innerHTML(e){es(this,e)}get outerHTML(){return this.toString()}set outerHTML(e){let u=this.ownerDocument.createElement("");u.innerHTML=e,this.replaceWith(...u.childNodes)}get attributes(){let e=new Au(this),u=this[p];for(;u.nodeType===2;)e.push(u),u=u[p];return new Proxy(e,qA)}focus(){this.dispatchEvent(new ne("focus"))}getAttribute(e){if(e==="class")return this.className;let u=this.getAttributeNode(e);return u&&(Ee(this)?u.value:tu(u.value))}getAttributeNode(e){let u=this[p];for(;u.nodeType===2;){if(u.name===e)return u;u=u[p]}return null}getAttributeNames(){let e=new U,u=this[p];for(;u.nodeType===2;)e.push(u.name),u=u[p];return e}hasAttribute(e){return!!this.getAttributeNode(e)}hasAttributes(){return this[p].nodeType===2}removeAttribute(e){e==="class"&&this[bt]&&this[bt].clear();let u=this[p];for(;u.nodeType===2;){if(u.name===e){sn(this,u);return}u=u[p]}}removeAttributeNode(e){let u=this[p];for(;u.nodeType===2;){if(u===e){sn(this,u);return}u=u[p]}}setAttribute(e,u){if(e==="class")this.className=u;else{let r=this.getAttributeNode(e);r?r.value=u:Mu(this,new we(this.ownerDocument,e,u))}}setAttributeNode(e){let{name:u}=e,r=this.getAttributeNode(u);if(r!==e){r&&this.removeAttributeNode(r);let{ownerElement:s}=e;s&&s.removeAttributeNode(e),Mu(this,e)}return r}toggleAttribute(e,u){return this.hasAttribute(e)?u?!0:(this.removeAttribute(e),!1):u||arguments.length===1?(this.setAttribute(e,""),!0):!1}get shadowRoot(){if(Je.has(this)){let{mode:e,shadowRoot:u}=Je.get(this);if(e==="open")return u}return null}attachShadow(e){if(Je.has(this))throw new Error("operation not supported");let u=new Kt(this);return Je.set(this,{mode:e.mode,shadowRoot:u}),u}matches(e){return Ba(this,e)}closest(e){let u=this,r=Ku(u,e);for(;u&&!r(u);)u=u.parentElement;return u}insertAdjacentElement(e,u){let{parentElement:r}=this;switch(e){case"beforebegin":if(r){r.insertBefore(u,this);break}return null;case"afterbegin":this.insertBefore(u,this.firstChild);break;case"beforeend":this.insertBefore(u,null);break;case"afterend":if(r){r.insertBefore(u,this.nextSibling);break}return null}return u}insertAdjacentHTML(e,u){this.insertAdjacentElement(e,Mr(this.ownerDocument,u))}insertAdjacentText(e,u){let r=this.ownerDocument.createTextNode(u);this.insertAdjacentElement(e,r)}cloneNode(e=!1){let{ownerDocument:u,localName:r}=this,s=d=>{d.parentNode=n,ce(o,d),o=d},i=Fa(u,this,r),n=i,o=i,{[p]:a,[g]:c}=this;for(;a!==c&&(e||a.nodeType===2);){switch(a.nodeType){case-1:ce(o,n[g]),o=n[g],n=n.parentNode;break;case 1:{let d=Fa(u,a,a.localName);s(d),n=d;break}case 2:{let d=a.cloneNode(e);d.ownerElement=n,s(d);break}case 3:case 8:case 4:s(a.cloneNode(e));break}a=a[p]}return ce(o,i[g]),i}toString(){let e=[],{[g]:u}=this,r={[p]:this},s=!1;do switch(r=r[p],r.nodeType){case 2:{let i=" "+r;switch(i){case" id":case" class":case" style":break;default:e.push(i)}break}case-1:{let i=r[Y];s?("ownerSVGElement"in i?e.push(" />"):VA(i)?e.push(Ee(i)?">":" />"):e.push(`></${i.localName}>`),s=!1):e.push(`</${i.localName}>`);break}case 1:s&&e.push(">"),r.toString!==this.toString?(e.push(r.toString()),r=r[g],s=!1):(e.push(`<${r.localName}`),s=!0);break;case 3:case 8:case 4:e.push((s?">":"")+r),s=!1;break}while(r!==u);return e.join("")}toJSON(){let e=[];return rn(this,e),e}getAttributeNS(e,u){return this.getAttribute(u)}getElementsByTagNameNS(e,u){return this.getElementsByTagName(u)}hasAttributeNS(e,u){return this.hasAttribute(u)}removeAttributeNS(e,u){this.removeAttribute(u)}setAttributeNS(e,u,r){this.setAttribute(u,r)}setAttributeNodeNS(e){return this.setAttributeNode(e)}};var Tn=new WeakMap,ZA={get(t,e){return t[e]},set(t,e,u){return t[e]=u,!0}},Qe=class extends Ge{constructor(e,u,r=null){super(e,u),this.ownerSVGElement=r}get className(){return Tn.has(this)||Tn.set(this,new Proxy({baseVal:"",animVal:""},ZA)),Tn.get(this)}set className(e){let{classList:u}=this;u.clear(),u.add(...Re(e).split(/\s+/))}get namespaceURI(){return"http://www.w3.org/2000/svg"}getAttribute(e){return e==="class"?[...this.classList].join(" "):super.getAttribute(e)}setAttribute(e,u){if(e==="class")this.className=u;else if(e==="style"){let{className:r}=this;r.baseVal=r.animVal=u}super.setAttribute(e,u)}};var oe=()=>{throw new TypeError("Illegal constructor")};function Dn(){oe()}H(Dn,we);Dn.prototype=we.prototype;function Bn(){oe()}H(Bn,Nt);Bn.prototype=Nt.prototype;function vn(){oe()}H(vn,Oe);vn.prototype=Oe.prototype;function Rn(){oe()}H(Rn,Tt);Rn.prototype=Tt.prototype;function Fn(){oe()}H(Fn,Ht);Fn.prototype=Ht.prototype;function Mn(){oe()}H(Mn,lt);Mn.prototype=lt.prototype;function kn(){oe()}H(kn,Ge);kn.prototype=Ge.prototype;function On(){oe()}H(On,Ae);On.prototype=Ae.prototype;function Ln(){oe()}H(Ln,Kt);Ln.prototype=Kt.prototype;function Gn(){oe()}H(Gn,Te);Gn.prototype=Te.prototype;function Qn(){oe()}H(Qn,Qe);Qn.prototype=Qe.prototype;var Ma={Attr:Dn,CDATASection:Bn,CharacterData:vn,Comment:Rn,DocumentFragment:Fn,DocumentType:Mn,Element:kn,Node:On,ShadowRoot:Ln,Text:Gn,SVGElement:Qn};var Ju=new WeakMap,A={get(t,e){return Ju.has(t)&&Ju.get(t)[e]||null},set(t,e,u){Ju.has(t)||Ju.set(t,{});let r=Ju.get(t),s=e.slice(2);r[e]&&t.removeEventListener(s,r[e],!1),(r[e]=u)&&t.addEventListener(s,u,!1)}},l=class extends Ge{static get observedAttributes(){return[]}constructor(e=null,u=""){super(e,u);let r=!e,s;if(r){let{constructor:i}=this;if(!kt.has(i))throw new Error("unable to initialize this Custom Element");({ownerDocument:e,localName:u,options:s}=kt.get(i))}if(e[xt]){let{element:i,values:n}=e[xt];e[xt]=null;for(let[o,a]of n)i[o]=a;return i}r&&(this.ownerDocument=this[g].ownerDocument=e,this.localName=u,ot.set(this,{connected:!1}),s.is&&this.setAttribute("is",s.is))}blur(){this.dispatchEvent(new ne("blur"))}click(){let e=new ne("click",{bubbles:!0,cancelable:!0});e.button=0,this.dispatchEvent(e)}get accessKeyLabel(){let{accessKey:e}=this;return e&&`Alt+Shift+${e}`}get isContentEditable(){return this.hasAttribute("contenteditable")}get contentEditable(){return C.get(this,"contenteditable")}set contentEditable(e){C.set(this,"contenteditable",e)}get draggable(){return C.get(this,"draggable")}set draggable(e){C.set(this,"draggable",e)}get hidden(){return C.get(this,"hidden")}set hidden(e){C.set(this,"hidden",e)}get spellcheck(){return C.get(this,"spellcheck")}set spellcheck(e){C.set(this,"spellcheck",e)}get accessKey(){return h.get(this,"accesskey")}set accessKey(e){h.set(this,"accesskey",e)}get dir(){return h.get(this,"dir")}set dir(e){h.set(this,"dir",e)}get lang(){return h.get(this,"lang")}set lang(e){h.set(this,"lang",e)}get title(){return h.get(this,"title")}set title(e){h.set(this,"title",e)}get onabort(){return A.get(this,"onabort")}set onabort(e){A.set(this,"onabort",e)}get onblur(){return A.get(this,"onblur")}set onblur(e){A.set(this,"onblur",e)}get oncancel(){return A.get(this,"oncancel")}set oncancel(e){A.set(this,"oncancel",e)}get oncanplay(){return A.get(this,"oncanplay")}set oncanplay(e){A.set(this,"oncanplay",e)}get oncanplaythrough(){return A.get(this,"oncanplaythrough")}set oncanplaythrough(e){A.set(this,"oncanplaythrough",e)}get onchange(){return A.get(this,"onchange")}set onchange(e){A.set(this,"onchange",e)}get onclick(){return A.get(this,"onclick")}set onclick(e){A.set(this,"onclick",e)}get onclose(){return A.get(this,"onclose")}set onclose(e){A.set(this,"onclose",e)}get oncontextmenu(){return A.get(this,"oncontextmenu")}set oncontextmenu(e){A.set(this,"oncontextmenu",e)}get oncuechange(){return A.get(this,"oncuechange")}set oncuechange(e){A.set(this,"oncuechange",e)}get ondblclick(){return A.get(this,"ondblclick")}set ondblclick(e){A.set(this,"ondblclick",e)}get ondrag(){return A.get(this,"ondrag")}set ondrag(e){A.set(this,"ondrag",e)}get ondragend(){return A.get(this,"ondragend")}set ondragend(e){A.set(this,"ondragend",e)}get ondragenter(){return A.get(this,"ondragenter")}set ondragenter(e){A.set(this,"ondragenter",e)}get ondragleave(){return A.get(this,"ondragleave")}set ondragleave(e){A.set(this,"ondragleave",e)}get ondragover(){return A.get(this,"ondragover")}set ondragover(e){A.set(this,"ondragover",e)}get ondragstart(){return A.get(this,"ondragstart")}set ondragstart(e){A.set(this,"ondragstart",e)}get ondrop(){return A.get(this,"ondrop")}set ondrop(e){A.set(this,"ondrop",e)}get ondurationchange(){return A.get(this,"ondurationchange")}set ondurationchange(e){A.set(this,"ondurationchange",e)}get onemptied(){return A.get(this,"onemptied")}set onemptied(e){A.set(this,"onemptied",e)}get onended(){return A.get(this,"onended")}set onended(e){A.set(this,"onended",e)}get onerror(){return A.get(this,"onerror")}set onerror(e){A.set(this,"onerror",e)}get onfocus(){return A.get(this,"onfocus")}set onfocus(e){A.set(this,"onfocus",e)}get oninput(){return A.get(this,"oninput")}set oninput(e){A.set(this,"oninput",e)}get oninvalid(){return A.get(this,"oninvalid")}set oninvalid(e){A.set(this,"oninvalid",e)}get onkeydown(){return A.get(this,"onkeydown")}set onkeydown(e){A.set(this,"onkeydown",e)}get onkeypress(){return A.get(this,"onkeypress")}set onkeypress(e){A.set(this,"onkeypress",e)}get onkeyup(){return A.get(this,"onkeyup")}set onkeyup(e){A.set(this,"onkeyup",e)}get onload(){return A.get(this,"onload")}set onload(e){A.set(this,"onload",e)}get onloadeddata(){return A.get(this,"onloadeddata")}set onloadeddata(e){A.set(this,"onloadeddata",e)}get onloadedmetadata(){return A.get(this,"onloadedmetadata")}set onloadedmetadata(e){A.set(this,"onloadedmetadata",e)}get onloadstart(){return A.get(this,"onloadstart")}set onloadstart(e){A.set(this,"onloadstart",e)}get onmousedown(){return A.get(this,"onmousedown")}set onmousedown(e){A.set(this,"onmousedown",e)}get onmouseenter(){return A.get(this,"onmouseenter")}set onmouseenter(e){A.set(this,"onmouseenter",e)}get onmouseleave(){return A.get(this,"onmouseleave")}set onmouseleave(e){A.set(this,"onmouseleave",e)}get onmousemove(){return A.get(this,"onmousemove")}set onmousemove(e){A.set(this,"onmousemove",e)}get onmouseout(){return A.get(this,"onmouseout")}set onmouseout(e){A.set(this,"onmouseout",e)}get onmouseover(){return A.get(this,"onmouseover")}set onmouseover(e){A.set(this,"onmouseover",e)}get onmouseup(){return A.get(this,"onmouseup")}set onmouseup(e){A.set(this,"onmouseup",e)}get onmousewheel(){return A.get(this,"onmousewheel")}set onmousewheel(e){A.set(this,"onmousewheel",e)}get onpause(){return A.get(this,"onpause")}set onpause(e){A.set(this,"onpause",e)}get onplay(){return A.get(this,"onplay")}set onplay(e){A.set(this,"onplay",e)}get onplaying(){return A.get(this,"onplaying")}set onplaying(e){A.set(this,"onplaying",e)}get onprogress(){return A.get(this,"onprogress")}set onprogress(e){A.set(this,"onprogress",e)}get onratechange(){return A.get(this,"onratechange")}set onratechange(e){A.set(this,"onratechange",e)}get onreset(){return A.get(this,"onreset")}set onreset(e){A.set(this,"onreset",e)}get onresize(){return A.get(this,"onresize")}set onresize(e){A.set(this,"onresize",e)}get onscroll(){return A.get(this,"onscroll")}set onscroll(e){A.set(this,"onscroll",e)}get onseeked(){return A.get(this,"onseeked")}set onseeked(e){A.set(this,"onseeked",e)}get onseeking(){return A.get(this,"onseeking")}set onseeking(e){A.set(this,"onseeking",e)}get onselect(){return A.get(this,"onselect")}set onselect(e){A.set(this,"onselect",e)}get onshow(){return A.get(this,"onshow")}set onshow(e){A.set(this,"onshow",e)}get onstalled(){return A.get(this,"onstalled")}set onstalled(e){A.set(this,"onstalled",e)}get onsubmit(){return A.get(this,"onsubmit")}set onsubmit(e){A.set(this,"onsubmit",e)}get onsuspend(){return A.get(this,"onsuspend")}set onsuspend(e){A.set(this,"onsuspend",e)}get ontimeupdate(){return A.get(this,"ontimeupdate")}set ontimeupdate(e){A.set(this,"ontimeupdate",e)}get ontoggle(){return A.get(this,"ontoggle")}set ontoggle(e){A.set(this,"ontoggle",e)}get onvolumechange(){return A.get(this,"onvolumechange")}set onvolumechange(e){A.set(this,"onvolumechange",e)}get onwaiting(){return A.get(this,"onwaiting")}set onwaiting(e){A.set(this,"onwaiting",e)}get onauxclick(){return A.get(this,"onauxclick")}set onauxclick(e){A.set(this,"onauxclick",e)}get ongotpointercapture(){return A.get(this,"ongotpointercapture")}set ongotpointercapture(e){A.set(this,"ongotpointercapture",e)}get onlostpointercapture(){return A.get(this,"onlostpointercapture")}set onlostpointercapture(e){A.set(this,"onlostpointercapture",e)}get onpointercancel(){return A.get(this,"onpointercancel")}set onpointercancel(e){A.set(this,"onpointercancel",e)}get onpointerdown(){return A.get(this,"onpointerdown")}set onpointerdown(e){A.set(this,"onpointerdown",e)}get onpointerenter(){return A.get(this,"onpointerenter")}set onpointerenter(e){A.set(this,"onpointerenter",e)}get onpointerleave(){return A.get(this,"onpointerleave")}set onpointerleave(e){A.set(this,"onpointerleave",e)}get onpointermove(){return A.get(this,"onpointermove")}set onpointermove(e){A.set(this,"onpointermove",e)}get onpointerout(){return A.get(this,"onpointerout")}set onpointerout(e){A.set(this,"onpointerout",e)}get onpointerover(){return A.get(this,"onpointerover")}set onpointerover(e){A.set(this,"onpointerover",e)}get onpointerup(){return A.get(this,"onpointerup")}set onpointerup(e){A.set(this,"onpointerup",e)}};var ka="template",qu=class extends l{constructor(e){super(e,ka);let u=this.ownerDocument.createDocumentFragment();(this[pu]=u)[G]=this}get content(){if(this.hasChildNodes()&&!this[pu].hasChildNodes())for(let e of this.childNodes)this[pu].appendChild(e.cloneNode(!0));return this[pu]}};E(ka,qu);var ns=class extends l{constructor(e,u="html"){super(e,u)}};var{toString:PA}=l.prototype,Ze=class extends l{get innerHTML(){return this.textContent}set innerHTML(e){this.textContent=e}toString(){return PA.call(this.cloneNode()).replace("><",()=>`>${this.textContent}<`)}};var Oa="script",Vu=class extends Ze{constructor(e,u=Oa){super(e,u)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get defer(){return C.get(this,"defer")}set defer(e){C.set(this,"defer",e)}get crossOrigin(){return h.get(this,"crossorigin")}set crossOrigin(e){h.set(this,"crossorigin",e)}get nomodule(){return C.get(this,"nomodule")}set nomodule(e){C.set(this,"nomodule",e)}get referrerPolicy(){return h.get(this,"referrerpolicy")}set referrerPolicy(e){h.set(this,"referrerpolicy",e)}get nonce(){return h.get(this,"nonce")}set nonce(e){h.set(this,"nonce",e)}get async(){return C.get(this,"async")}set async(e){C.set(this,"async",e)}get text(){return this.textContent}set text(e){this.textContent=e}};E(Oa,Vu);var os=class extends l{constructor(e,u="frame"){super(e,u)}};var La="iframe",Zu=class extends l{constructor(e,u=La){super(e,u)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get srcdoc(){return h.get(this,"srcdoc")}set srcdoc(e){h.set(this,"srcdoc",e)}get name(){return h.get(this,"name")}set name(e){h.set(this,"name",e)}get allow(){return h.get(this,"allow")}set allow(e){h.set(this,"allow",e)}get allowFullscreen(){return C.get(this,"allowfullscreen")}set allowFullscreen(e){C.set(this,"allowfullscreen",e)}get referrerPolicy(){return h.get(this,"referrerpolicy")}set referrerPolicy(e){h.set(this,"referrerpolicy",e)}get loading(){return h.get(this,"loading")}set loading(e){h.set(this,"loading",e)}};E(La,Zu);var as=class extends l{constructor(e,u="object"){super(e,u)}};var cs=class extends l{constructor(e,u="head"){super(e,u)}};var As=class extends l{constructor(e,u="body"){super(e,u)}};var o0=xe(n0(),1);var a0="style",Xu=class extends Ze{constructor(e,u=a0){super(e,u),this[vt]=null}get sheet(){let e=this[vt];return e!==null?e:this[vt]=(0,o0.parse)(this.textContent)}get innerHTML(){return super.innerHTML||""}set innerHTML(e){super.textContent=e,this[vt]=null}get innerText(){return super.innerText||""}set innerText(e){super.textContent=e,this[vt]=null}get textContent(){return super.textContent||""}set textContent(e){super.textContent=e,this[vt]=null}};E(a0,Xu);var ju=class extends l{constructor(e,u="time"){super(e,u)}get dateTime(){return h.get(this,"datetime")}set dateTime(e){h.set(this,"datetime",e)}};E("time",ju);var Cs=class extends l{constructor(e,u="fieldset"){super(e,u)}};var Es=class extends l{constructor(e,u="embed"){super(e,u)}};var ys=class extends l{constructor(e,u="hr"){super(e,u)}};var ws=class extends l{constructor(e,u="progress"){super(e,u)}};var Is=class extends l{constructor(e,u="p"){super(e,u)}};var Ns=class extends l{constructor(e,u="table"){super(e,u)}};var Ts=class extends l{constructor(e,u="frameset"){super(e,u)}};var Ds=class extends l{constructor(e,u="li"){super(e,u)}};var Bs=class extends l{constructor(e,u="base"){super(e,u)}};var vs=class extends l{constructor(e,u="datalist"){super(e,u)}};var c0="input",zu=class extends l{constructor(e,u=c0){super(e,u)}get autofocus(){return C.get(this,"autofocus")||-1}set autofocus(e){C.set(this,"autofocus",e)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get placeholder(){return this.getAttribute("placeholder")}set placeholder(e){this.setAttribute("placeholder",e)}get type(){return this.getAttribute("type")}set type(e){this.setAttribute("type",e)}get value(){return h.get(this,"value")}set value(e){h.set(this,"value",e)}};E(c0,zu);var Rs=class extends l{constructor(e,u="param"){super(e,u)}};var Fs=class extends l{constructor(e,u="media"){super(e,u)}};var Ms=class extends l{constructor(e,u="audio"){super(e,u)}};var A0="h1",$u=class extends l{constructor(e,u=A0){super(e,u)}};E([A0,"h2","h3","h4","h5","h6"],$u);var ks=class extends l{constructor(e,u="dir"){super(e,u)}};var Os=class extends l{constructor(e,u="quote"){super(e,u)}};var f0=xe(h0(),1);var{createCanvas:_A}=f0.default,p0="canvas",er=class extends l{constructor(e,u=p0){super(e,u),this[pe]=_A(300,150)}get width(){return this[pe].width}set width(e){Fe.set(this,"width",e),this[pe].width=e}get height(){return this[pe].height}set height(e){Fe.set(this,"height",e),this[pe].height=e}getContext(e){return this[pe].getContext(e)}toDataURL(...e){return this[pe].toDataURL(...e)}};E(p0,er);var Ls=class extends l{constructor(e,u="legend"){super(e,u)}};var g0="option",tr=class extends l{constructor(e,u=g0){super(e,u)}get value(){return h.get(this,"value")}set value(e){h.set(this,"value",e)}get selected(){return C.get(this,"selected")}set selected(e){let u=this.parentElement?.querySelector("option[selected]");u&&u!==this&&(u.selected=!1),C.set(this,"selected",e)}};E(g0,tr);var Gs=class extends l{constructor(e,u="span"){super(e,u)}};var Qs=class extends l{constructor(e,u="meter"){super(e,u)}};var Hs=class extends l{constructor(e,u="video"){super(e,u)}};var Ks=class extends l{constructor(e,u="td"){super(e,u)}};var m0="title",ur=class extends Ze{constructor(e,u=m0){super(e,u)}};E(m0,ur);var Us=class extends l{constructor(e,u="output"){super(e,u)}};var Ws=class extends l{constructor(e,u="tr"){super(e,u)}};var Ys=class extends l{constructor(e,u="data"){super(e,u)}};var Js=class extends l{constructor(e,u="menu"){super(e,u)}};var b0="select",rr=class extends l{constructor(e,u=b0){super(e,u)}get options(){let e=new U,{firstElementChild:u}=this;for(;u;)u.tagName==="OPTGROUP"?e.push(...u.children):e.push(u),u=u.nextElementSibling;return e}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get value(){return this.querySelector("option[selected]")?.value}};E(b0,rr);var qs=class extends l{constructor(e,u="br"){super(e,u)}};var S0="button",sr=class extends l{constructor(e,u=S0){super(e,u)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get type(){return this.getAttribute("type")}set type(e){this.setAttribute("type",e)}};E(S0,sr);var Vs=class extends l{constructor(e,u="map"){super(e,u)}};var Zs=class extends l{constructor(e,u="optgroup"){super(e,u)}};var Ps=class extends l{constructor(e,u="dl"){super(e,u)}};var x0="textarea",ir=class extends Ze{constructor(e,u=x0){super(e,u)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get placeholder(){return this.getAttribute("placeholder")}set placeholder(e){this.setAttribute("placeholder",e)}get type(){return this.getAttribute("type")}set type(e){this.setAttribute("type",e)}get value(){return this.textContent}set value(e){this.textContent=e}};E(x0,ir);var _s=class extends l{constructor(e,u="font"){super(e,u)}};var Xs=class extends l{constructor(e,u="div"){super(e,u)}};var C0="link",nr=class extends l{constructor(e,u=C0){super(e,u)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get href(){return h.get(this,"href").trim()}set href(e){h.set(this,"href",e)}get hreflang(){return h.get(this,"hreflang")}set hreflang(e){h.set(this,"hreflang",e)}get media(){return h.get(this,"media")}set media(e){h.set(this,"media",e)}get rel(){return h.get(this,"rel")}set rel(e){h.set(this,"rel",e)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}};E(C0,nr);var E0="slot",or=class extends l{constructor(e,u=E0){super(e,u)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}assign(){}assignedNodes(e){let u=!!this.name,r=this.getRootNode().host?.childNodes??[],s;if(u?s=[...r].filter(i=>i.slot===this.name):s=[...r].filter(i=>!i.slot),e?.flatten){let i=[];for(let n of s)n.localName==="slot"?i.push(...n.assignedNodes({flatten:!0})):i.push(n);s=i}return s.length?s:[...this.childNodes]}assignedElements(e){let u=this.assignedNodes(e).filter(r=>r.nodeType===1);return u.length?u:[...this.children]}};E(E0,or);var js=class extends l{constructor(e,u="form"){super(e,u)}};var y0="img",Yt=class extends l{constructor(e,u=y0){super(e,u)}get alt(){return h.get(this,"alt")}set alt(e){h.set(this,"alt",e)}get sizes(){return h.get(this,"sizes")}set sizes(e){h.set(this,"sizes",e)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get srcset(){return h.get(this,"srcset")}set srcset(e){h.set(this,"srcset",e)}get title(){return h.get(this,"title")}set title(e){h.set(this,"title",e)}get width(){return Fe.get(this,"width")}set width(e){Fe.set(this,"width",e)}get height(){return Fe.get(this,"height")}set height(e){Fe.set(this,"height",e)}};E(y0,Yt);var zs=class extends l{constructor(e,u="pre"){super(e,u)}};var $s=class extends l{constructor(e,u="ul"){super(e,u)}};var w0="meta",ar=class extends l{constructor(e,u=w0){super(e,u)}get name(){return h.get(this,"name")}set name(e){h.set(this,"name",e)}get httpEquiv(){return h.get(this,"http-equiv")}set httpEquiv(e){h.set(this,"http-equiv",e)}get content(){return h.get(this,"content")}set content(e){h.set(this,"content",e)}get charset(){return h.get(this,"charset")}set charset(e){h.set(this,"charset",e)}get media(){return h.get(this,"media")}set media(e){h.set(this,"media",e)}};E(w0,ar);var ei=class extends l{constructor(e,u="picture"){super(e,u)}};var ti=class extends l{constructor(e,u="area"){super(e,u)}};var ui=class extends l{constructor(e,u="ol"){super(e,u)}};var ri=class extends l{constructor(e,u="caption"){super(e,u)}};var I0="a",cr=class extends l{constructor(e,u=I0){super(e,u)}get href(){return encodeURI(decodeURI(h.get(this,"href"))).trim()}set href(e){h.set(this,"href",decodeURI(e))}get download(){return encodeURI(decodeURI(h.get(this,"download")))}set download(e){h.set(this,"download",decodeURI(e))}get target(){return h.get(this,"target")}set target(e){h.set(this,"target",e)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}get rel(){return h.get(this,"rel")}set rel(e){h.set(this,"rel",e)}};E(I0,cr);var si=class extends l{constructor(e,u="label"){super(e,u)}};var ii=class extends l{constructor(e,u="unknown"){super(e,u)}};var ni=class extends l{constructor(e,u="mod"){super(e,u)}};var oi=class extends l{constructor(e,u="details"){super(e,u)}};var N0="source",Ar=class extends l{constructor(e,u=N0){super(e,u)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get srcset(){return h.get(this,"srcset")}set srcset(e){h.set(this,"srcset",e)}get sizes(){return h.get(this,"sizes")}set sizes(e){h.set(this,"sizes",e)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}};E(N0,Ar);var ai=class extends l{constructor(e,u="track"){super(e,u)}};var ci=class extends l{constructor(e,u="marquee"){super(e,u)}};var T0={HTMLElement:l,HTMLTemplateElement:qu,HTMLHtmlElement:ns,HTMLScriptElement:Vu,HTMLFrameElement:os,HTMLIFrameElement:Zu,HTMLObjectElement:as,HTMLHeadElement:cs,HTMLBodyElement:As,HTMLStyleElement:Xu,HTMLTimeElement:ju,HTMLFieldSetElement:Cs,HTMLEmbedElement:Es,HTMLHRElement:ys,HTMLProgressElement:ws,HTMLParagraphElement:Is,HTMLTableElement:Ns,HTMLFrameSetElement:Ts,HTMLLIElement:Ds,HTMLBaseElement:Bs,HTMLDataListElement:vs,HTMLInputElement:zu,HTMLParamElement:Rs,HTMLMediaElement:Fs,HTMLAudioElement:Ms,HTMLHeadingElement:$u,HTMLDirectoryElement:ks,HTMLQuoteElement:Os,HTMLCanvasElement:er,HTMLLegendElement:Ls,HTMLOptionElement:tr,HTMLSpanElement:Gs,HTMLMeterElement:Qs,HTMLVideoElement:Hs,HTMLTableCellElement:Ks,HTMLTitleElement:ur,HTMLOutputElement:Us,HTMLTableRowElement:Ws,HTMLDataElement:Ys,HTMLMenuElement:Js,HTMLSelectElement:rr,HTMLBRElement:qs,HTMLButtonElement:sr,HTMLMapElement:Vs,HTMLOptGroupElement:Zs,HTMLDListElement:Ps,HTMLTextAreaElement:ir,HTMLFontElement:_s,HTMLDivElement:Xs,HTMLLinkElement:nr,HTMLSlotElement:or,HTMLFormElement:js,HTMLImageElement:Yt,HTMLPreElement:zs,HTMLUListElement:$s,HTMLMetaElement:ar,HTMLPictureElement:ei,HTMLAreaElement:ti,HTMLOListElement:ui,HTMLTableCaptionElement:ri,HTMLAnchorElement:cr,HTMLLabelElement:si,HTMLUnknownElement:ii,HTMLModElement:ni,HTMLDetailsElement:oi,HTMLSourceElement:Ar,HTMLTrackElement:ai,HTMLMarqueeElement:ci};var Ai={test:()=>!0},D0={"text/html":{docType:"<!DOCTYPE html>",ignoreCase:!0,voidElements:/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i},"image/svg+xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai},"text/xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai},"application/xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai},"application/xhtml+xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai}};var hu=class extends ne{constructor(e,u={}){super(e,u),this.detail=u.detail}};var lr=class extends ne{constructor(e,u={}){super(e,u),this.inputType=u.inputType,this.data=u.data,this.dataTransfer=u.dataTransfer,this.isComposing=u.isComposing||!1,this.ranges=u.ranges}};var B0=t=>class extends Yt{constructor(u,r){switch(super(t),arguments.length){case 1:this.height=u,this.width=u;break;case 2:this.height=r,this.width=u;break}}};var v0=({[Y]:t,[g]:e},u=null)=>{Fr(t[T],e[p]);do{let r=K(t),s=r===e?r:r[p];u?u.insertBefore(t,u[g]):t.remove(),t=s}while(t!==e)},li=class t{constructor(){this[Y]=null,this[g]=null,this.commonAncestorContainer=null}insertNode(e){this[g].parentNode.insertBefore(e,this[Y])}selectNode(e){this[Y]=e,this[g]=K(e)}selectNodeContents(e){this.selectNode(e),this.commonAncestorContainer=e}surroundContents(e){e.replaceChildren(this.extractContents())}setStartBefore(e){this[Y]=e}setStartAfter(e){this[Y]=e.nextSibling}setEndBefore(e){this[g]=K(e.previousSibling)}setEndAfter(e){this[g]=K(e)}cloneContents(){let{[Y]:e,[g]:u}=this,r=e.ownerDocument.createDocumentFragment();for(;e!==u;)r.insertBefore(e.cloneNode(!0),r[g]),e=K(e),e!==u&&(e=e[p]);return r}deleteContents(){v0(this)}extractContents(){let e=this[Y].ownerDocument.createDocumentFragment();return v0(this,e),e}createContextualFragment(e){let{commonAncestorContainer:u}=this,r="ownerSVGElement"in u,s=r?u.ownerDocument:u,i=Mr(s,e);if(r){let n=[...i.childNodes];i=s.createDocumentFragment(),Object.setPrototypeOf(i,Qe.prototype),i.ownerSVGElement=s;for(let o of n)Object.setPrototypeOf(o,Qe.prototype),o.ownerSVGElement=s,i.appendChild(o)}else this.selectNode(i);return i}cloneRange(){let e=new t;return e[Y]=this[Y],e[g]=this[g],e}};var XA=({nodeType:t},e)=>{switch(t){case 1:return e&Zi;case 3:return e&Pi;case 8:return e&Xi;case 4:return e&_i}return 0},di=class{constructor(e,u=Vi){this.root=e,this.currentNode=e,this.whatToShow=u;let{[p]:r,[g]:s}=e;if(e.nodeType===9){let{documentElement:n}=e;r=n,s=n[g]}let i=[];for(;r&&r!==s;)XA(r,u)&&i.push(r),r=r[p];this[G]={i:0,nodes:i}}nextNode(){let e=this[G];return this.currentNode=e.i<e.nodes.length?e.nodes[e.i++]:null,this.currentNode}};var R0=(t,e,u)=>{let{[p]:r,[g]:s}=e;return t.call({ownerDocument:e,[p]:r,[g]:s},u)},F0=ko({},Ma,T0,{CustomEvent:hu,Event:ne,EventTarget:It,InputEvent:lr,NamedNodeMap:Au,NodeList:U}),hi=new WeakMap,Se=class extends Dt{constructor(e){super(null,"#document",9),this[se]={active:!1,registry:null},this[We]={active:!1,class:null},this[Be]=D0[e],this[St]=null,this[gu]=null,this[Zt]=null,this[pe]=null,this[xt]=null}get defaultView(){return hi.has(this)||hi.set(this,new Proxy(globalThis,{set:(e,u,r)=>{switch(u){case"addEventListener":case"removeEventListener":case"dispatchEvent":this[Vt][u]=r;break;default:e[u]=r;break}return!0},get:(e,u)=>{switch(u){case"addEventListener":case"removeEventListener":case"dispatchEvent":if(!this[Vt]){let r=this[Vt]=new It;r.dispatchEvent=r.dispatchEvent.bind(r),r.addEventListener=r.addEventListener.bind(r),r.removeEventListener=r.removeEventListener.bind(r)}return this[Vt][u];case"document":return this;case"navigator":return{userAgent:"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"};case"window":return hi.get(this);case"customElements":return this[se].registry||(this[se]=new kr(this)),this[se];case"performance":return e.performance;case"DOMParser":return this[gu];case"Image":return this[pe]||(this[pe]=B0(this)),this[pe];case"MutationObserver":return this[We].class||(this[We]=new Gr(this)),this[We].class}return this[Zt]&&this[Zt][u]||F0[u]||e[u]}})),hi.get(this)}get doctype(){let e=this[St];if(e)return e;let{firstChild:u}=this;return u&&u.nodeType===10?this[St]=u:null}set doctype(e){if(/^([a-z:]+)(\s+system|\s+public(\s+"([^"]+)")?)?(\s+"([^"]+)")?/i.test(e)){let{$1:u,$4:r,$6:s}=RegExp;this[St]=new lt(this,u,r,s),nt(this,this[St],this[p])}}get documentElement(){return this.firstElementChild}get isConnected(){return!0}_getParent(){return this[Vt]}createAttribute(e){return new we(this,e)}createCDATASection(e){return new Nt(this,e)}createComment(e){return new Tt(this,e)}createDocumentFragment(){return new Ht(this)}createDocumentType(e,u,r){return new lt(this,e,u,r)}createElement(e){return new Ge(this,e)}createRange(){let e=new li;return e.commonAncestorContainer=this,e}createTextNode(e){return new Te(this,e)}createTreeWalker(e,u=-1){return new di(e,u)}createNodeIterator(e,u=-1){return this.createTreeWalker(e,u)}createEvent(e){let u=Oo(e==="Event"?new ne(""):new hu(""));return u.initEvent=u.initCustomEvent=(r,s=!1,i=!1,n)=>{u.bubbles=!!s,Lo(u,{type:{value:r},canBubble:{value:s},cancelable:{value:i},detail:{value:n}})},u}cloneNode(e=!1){let{constructor:u,[se]:r,[St]:s}=this,i=new u;if(i[se]=r,e){let n=i[g],{childNodes:o}=this;for(let{length:a}=o,c=0;c<a;c++)i.insertBefore(o[c].cloneNode(!0),n);s&&(i[St]=o[0])}return i}importNode(e){let u=1<arguments.length&&!!arguments[1],r=e.cloneNode(u),{[se]:s}=this,{active:i}=s,n=o=>{let{ownerDocument:a,nodeType:c}=o;o.ownerDocument=this,i&&a!==this&&c===1&&s.upgrade(o)};if(n(r),u)switch(r.nodeType){case 1:case 11:{let{[p]:o,[g]:a}=r;for(;o!==a;)o.nodeType===1&&n(o),o=o[p];break}}return r}toString(){return this.childNodes.join("")}querySelector(e){return R0(super.querySelector,this,e)}querySelectorAll(e){return R0(super.querySelectorAll,this,e)}getElementsByTagNameNS(e,u){return this.getElementsByTagName(u)}createAttributeNS(e,u){return this.createAttribute(u)}createElementNS(e,u,r){return e===Mt?new Qe(this,u,null):this.createElement(u,r)}};H(F0.Document=function(){oe()},Se).prototype=Se.prototype;var jA=(t,e,u,r)=>{if(!e&&eu.has(u)){let n=eu.get(u);return new n(t,u)}let{[se]:{active:s,registry:i}}=t;if(s){let n=e?r.is:u;if(i.has(n)){let{Class:o}=i.get(n),a=new o(t,u);return ot.set(a,{connected:!1}),a}}return new l(t,u)},dr=class extends Se{constructor(){super("text/html")}get all(){let e=new U,{[p]:u,[g]:r}=this;for(;u!==r;){switch(u.nodeType){case 1:e.push(u);break}u=u[p]}return e}get head(){let{documentElement:e}=this,{firstElementChild:u}=e;return(!u||u.tagName!=="HEAD")&&(u=this.createElement("head"),e.prepend(u)),u}get body(){let{head:e}=this,{nextElementSibling:u}=e;return(!u||u.tagName!=="BODY")&&(u=this.createElement("body"),e.after(u)),u}get title(){let{head:e}=this;return e.getElementsByTagName("title").at(0)?.textContent||""}set title(e){let{head:u}=this,r=u.getElementsByTagName("title").at(0);r?r.textContent=e:u.insertBefore(this.createElement("title"),u.firstChild).textContent=e}createElement(e,u){let r=!!(u&&u.is),s=jA(this,r,e,u);return r&&s.setAttribute("is",u.is),s}};var fi=class extends Se{constructor(){super("image/svg+xml")}toString(){return this[Be].docType+super.toString()}};var pi=class extends Se{constructor(){super("text/xml")}toString(){return this[Be].docType+super.toString()}};var hr=class t{parseFromString(e,u,r=null){let s=!1,i;return u==="text/html"?(s=!0,i=new dr):u==="image/svg+xml"?i=new fi:i=new pi,i[gu]=t,r&&(i[Zt]=r),s&&e==="..."&&(e="<!doctype html><html><head></head><body></body></html>"),e?Lr(i,s,e):i}};var{parse:fx}=JSON;function zA(){oe()}H(zA,Se).prototype=Se.prototype;var $A=new Set(["svg","g","defs","symbol","use","image","a","switch","rect","circle","ellipse","line","polyline","polygon","path","text","tspan","textPath","linearGradient","radialGradient","stop","pattern","mask","clipPath","marker","filter","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","title","desc","metadata","style"]),el=new Set(["id","class","style","transform","viewBox","width","height","x","y","x1","y1","x2","y2","cx","cy","r","rx","ry","fx","fy","points","d","offset","enable-background","gradientUnits","gradientTransform","spreadMethod","patternUnits","patternContentUnits","patternTransform","maskUnits","maskContentUnits","clipPathUnits","clip-rule","filterUnits","primitiveUnits","preserveAspectRatio","space","lang","role","focusable","tabindex","version","baseProfile","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-opacity","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-dasharray","stroke-dashoffset","opacity","color","stop-color","stop-opacity","font-family","font-size","font-weight","font-style","text-anchor","dominant-baseline","alignment-baseline","letter-spacing","word-spacing","text-decoration","clip-path","mask","filter","marker-start","marker-mid","marker-end","marker","cursor","pointer-events","visibility","display","overflow","vector-effect","paint-order","color-interpolation","color-interpolation-filters","isolation","mix-blend-mode","startOffset","method","spacing","side","textLength","lengthAdjust","in","in2","result","mode","type","values","dx","dy","stdDeviation","edgeMode","k1","k2","k3","k4","operator","radius","scale","xChannelSelector","yChannelSelector","baseFrequency","numOctaves","seed","stitchTiles","tableValues","slope","intercept","amplitude","exponent","order","divisor","bias","targetX","targetY","kernelMatrix","preserveAlpha","kernelUnitLength","surfaceScale","diffuseConstant","specularConstant","specularExponent","lighting-color","flood-color","flood-opacity","azimuth","elevation","pointsAtX","pointsAtY","pointsAtZ","limitingConeAngle"]);function tl(t){let e=t.lastIndexOf(":");return e===-1?t:t.slice(e+1)}function ul(t,e){let u=t.trim();return u.startsWith("#")?!0:/^data:image\//i.test(u)&&e.toLowerCase()!=="a"}var rl=new Set(["","url","rgb","rgba","hsl","hsla","hwb","lab","lch","oklab","oklch","color","color-mix","var","calc","min","max","clamp","matrix","matrix3d","translate","translatex","translatey","translatez","translate3d","scale","scalex","scaley","scalez","scale3d","rotate","rotatex","rotatey","rotatez","rotate3d","skew","skewx","skewy","perspective","cubic-bezier","steps","blur","brightness","contrast","drop-shadow","grayscale","hue-rotate","invert","opacity","saturate","sepia"]);function sl(t,e){if(t===void 0)return e??"";let u=parseInt(t,16);return u===0||u>1114111||u>=55296&&u<=57343?"\uFFFD":String.fromCodePoint(u)}function il(t){return t.replace(/\\([0-9a-f]{1,6})[ \t\n\r\f]?|\\([\s\S])/gi,(e,u,r)=>sl(u,r)).toLowerCase()}function nl(t){return t!==void 0&&/[-\w]/.test(t)}function ol(t,e){let u=e;for(;nl(t[u-1]);)u--;return t.slice(u,e)}function al(t){for(let e=t.indexOf("(");e!==-1;e=t.indexOf("(",e+1))if(!rl.has(ol(t,e)))return!1;return!0}function cl(t){let e=t.trim().replace(/^['"]/,"");return e.startsWith("#")&&!e.includes("(")}function Al(t){for(let e=t.indexOf("url(");e!==-1;){let u=t.indexOf(")",e+4);if(u===-1||!cl(t.slice(e+4,u)))return!1;e=t.indexOf("url(",u+1)}return!0}function M0(t){let e=il(t);return!e.includes("@import")&&al(e)&&Al(e)}function ll(t){return t==="xmlns"||t.startsWith("xmlns:")}function dl(t){return el.has(t)||t.startsWith("aria-")||t.startsWith("data-")}function hl(t,e,u){if(ll(e))return!0;let r=tl(e);return r==="href"?ul(u,t):dl(r)&&M0(u)}function Lx(t){let e=new hr().parseFromString(t,"image/svg+xml"),u=e.documentElement;if(!u)return"";for(let r of[...e.querySelectorAll("*")])if(r.isConnected){if(!$A.has(r.tagName)){r.remove();continue}if(r.tagName==="style"&&!M0(r.textContent)){r.remove();continue}for(let s of[...r.attributes])hl(r.tagName,s.name,s.value)||r.removeAttribute(s.name)}return u.isConnected?u.outerHTML:""}export{Lx as sanitizeSvg};
21
+ `),u=u[p];return e.join("")}get textContent(){let e=[],{[p]:u,[g]:r}=this;for(;u!==r;){let s=u.nodeType;(s===3||s===4)&&e.push(u.textContent),u=u[p]}return e.join("")}set textContent(e){this.replaceChildren(),e!=null&&e!==""&&this.appendChild(new Te(this.ownerDocument,e))}get innerHTML(){return $r(this)}set innerHTML(e){es(this,e)}get outerHTML(){return this.toString()}set outerHTML(e){let u=this.ownerDocument.createElement("");u.innerHTML=e,this.replaceWith(...u.childNodes)}get attributes(){let e=new Au(this),u=this[p];for(;u.nodeType===2;)e.push(u),u=u[p];return new Proxy(e,qA)}focus(){this.dispatchEvent(new ne("focus"))}getAttribute(e){if(e==="class")return this.className;let u=this.getAttributeNode(e);return u&&(Ee(this)?u.value:tu(u.value))}getAttributeNode(e){let u=this[p];for(;u.nodeType===2;){if(u.name===e)return u;u=u[p]}return null}getAttributeNames(){let e=new U,u=this[p];for(;u.nodeType===2;)e.push(u.name),u=u[p];return e}hasAttribute(e){return!!this.getAttributeNode(e)}hasAttributes(){return this[p].nodeType===2}removeAttribute(e){e==="class"&&this[bt]&&this[bt].clear();let u=this[p];for(;u.nodeType===2;){if(u.name===e){sn(this,u);return}u=u[p]}}removeAttributeNode(e){let u=this[p];for(;u.nodeType===2;){if(u===e){sn(this,u);return}u=u[p]}}setAttribute(e,u){if(e==="class")this.className=u;else{let r=this.getAttributeNode(e);r?r.value=u:Mu(this,new we(this.ownerDocument,e,u))}}setAttributeNode(e){let{name:u}=e,r=this.getAttributeNode(u);if(r!==e){r&&this.removeAttributeNode(r);let{ownerElement:s}=e;s&&s.removeAttributeNode(e),Mu(this,e)}return r}toggleAttribute(e,u){return this.hasAttribute(e)?u?!0:(this.removeAttribute(e),!1):u||arguments.length===1?(this.setAttribute(e,""),!0):!1}get shadowRoot(){if(Je.has(this)){let{mode:e,shadowRoot:u}=Je.get(this);if(e==="open")return u}return null}attachShadow(e){if(Je.has(this))throw new Error("operation not supported");let u=new Kt(this);return Je.set(this,{mode:e.mode,shadowRoot:u}),u}matches(e){return Ba(this,e)}closest(e){let u=this,r=Ku(u,e);for(;u&&!r(u);)u=u.parentElement;return u}insertAdjacentElement(e,u){let{parentElement:r}=this;switch(e){case"beforebegin":if(r){r.insertBefore(u,this);break}return null;case"afterbegin":this.insertBefore(u,this.firstChild);break;case"beforeend":this.insertBefore(u,null);break;case"afterend":if(r){r.insertBefore(u,this.nextSibling);break}return null}return u}insertAdjacentHTML(e,u){this.insertAdjacentElement(e,Mr(this.ownerDocument,u))}insertAdjacentText(e,u){let r=this.ownerDocument.createTextNode(u);this.insertAdjacentElement(e,r)}cloneNode(e=!1){let{ownerDocument:u,localName:r}=this,s=d=>{d.parentNode=n,ce(o,d),o=d},i=Fa(u,this,r),n=i,o=i,{[p]:a,[g]:c}=this;for(;a!==c&&(e||a.nodeType===2);){switch(a.nodeType){case-1:ce(o,n[g]),o=n[g],n=n.parentNode;break;case 1:{let d=Fa(u,a,a.localName);s(d),n=d;break}case 2:{let d=a.cloneNode(e);d.ownerElement=n,s(d);break}case 3:case 8:case 4:s(a.cloneNode(e));break}a=a[p]}return ce(o,i[g]),i}toString(){let e=[],{[g]:u}=this,r={[p]:this},s=!1;do switch(r=r[p],r.nodeType){case 2:{let i=" "+r;switch(i){case" id":case" class":case" style":break;default:e.push(i)}break}case-1:{let i=r[Y];s?("ownerSVGElement"in i?e.push(" />"):VA(i)?e.push(Ee(i)?">":" />"):e.push(`></${i.localName}>`),s=!1):e.push(`</${i.localName}>`);break}case 1:s&&e.push(">"),r.toString!==this.toString?(e.push(r.toString()),r=r[g],s=!1):(e.push(`<${r.localName}`),s=!0);break;case 3:case 8:case 4:e.push((s?">":"")+r),s=!1;break}while(r!==u);return e.join("")}toJSON(){let e=[];return rn(this,e),e}getAttributeNS(e,u){return this.getAttribute(u)}getElementsByTagNameNS(e,u){return this.getElementsByTagName(u)}hasAttributeNS(e,u){return this.hasAttribute(u)}removeAttributeNS(e,u){this.removeAttribute(u)}setAttributeNS(e,u,r){this.setAttribute(u,r)}setAttributeNodeNS(e){return this.setAttributeNode(e)}};var Tn=new WeakMap,ZA={get(t,e){return t[e]},set(t,e,u){return t[e]=u,!0}},Qe=class extends Ge{constructor(e,u,r=null){super(e,u),this.ownerSVGElement=r}get className(){return Tn.has(this)||Tn.set(this,new Proxy({baseVal:"",animVal:""},ZA)),Tn.get(this)}set className(e){let{classList:u}=this;u.clear(),u.add(...Re(e).split(/\s+/))}get namespaceURI(){return"http://www.w3.org/2000/svg"}getAttribute(e){return e==="class"?[...this.classList].join(" "):super.getAttribute(e)}setAttribute(e,u){if(e==="class")this.className=u;else if(e==="style"){let{className:r}=this;r.baseVal=r.animVal=u}super.setAttribute(e,u)}};var oe=()=>{throw new TypeError("Illegal constructor")};function Dn(){oe()}H(Dn,we);Dn.prototype=we.prototype;function Bn(){oe()}H(Bn,Nt);Bn.prototype=Nt.prototype;function vn(){oe()}H(vn,Oe);vn.prototype=Oe.prototype;function Rn(){oe()}H(Rn,Tt);Rn.prototype=Tt.prototype;function Fn(){oe()}H(Fn,Ht);Fn.prototype=Ht.prototype;function Mn(){oe()}H(Mn,lt);Mn.prototype=lt.prototype;function kn(){oe()}H(kn,Ge);kn.prototype=Ge.prototype;function On(){oe()}H(On,Ae);On.prototype=Ae.prototype;function Ln(){oe()}H(Ln,Kt);Ln.prototype=Kt.prototype;function Gn(){oe()}H(Gn,Te);Gn.prototype=Te.prototype;function Qn(){oe()}H(Qn,Qe);Qn.prototype=Qe.prototype;var Ma={Attr:Dn,CDATASection:Bn,CharacterData:vn,Comment:Rn,DocumentFragment:Fn,DocumentType:Mn,Element:kn,Node:On,ShadowRoot:Ln,Text:Gn,SVGElement:Qn};var Ju=new WeakMap,A={get(t,e){return Ju.has(t)&&Ju.get(t)[e]||null},set(t,e,u){Ju.has(t)||Ju.set(t,{});let r=Ju.get(t),s=e.slice(2);r[e]&&t.removeEventListener(s,r[e],!1),(r[e]=u)&&t.addEventListener(s,u,!1)}},l=class extends Ge{static get observedAttributes(){return[]}constructor(e=null,u=""){super(e,u);let r=!e,s;if(r){let{constructor:i}=this;if(!kt.has(i))throw new Error("unable to initialize this Custom Element");({ownerDocument:e,localName:u,options:s}=kt.get(i))}if(e[xt]){let{element:i,values:n}=e[xt];e[xt]=null;for(let[o,a]of n)i[o]=a;return i}r&&(this.ownerDocument=this[g].ownerDocument=e,this.localName=u,ot.set(this,{connected:!1}),s.is&&this.setAttribute("is",s.is))}blur(){this.dispatchEvent(new ne("blur"))}click(){let e=new ne("click",{bubbles:!0,cancelable:!0});e.button=0,this.dispatchEvent(e)}get accessKeyLabel(){let{accessKey:e}=this;return e&&`Alt+Shift+${e}`}get isContentEditable(){return this.hasAttribute("contenteditable")}get contentEditable(){return C.get(this,"contenteditable")}set contentEditable(e){C.set(this,"contenteditable",e)}get draggable(){return C.get(this,"draggable")}set draggable(e){C.set(this,"draggable",e)}get hidden(){return C.get(this,"hidden")}set hidden(e){C.set(this,"hidden",e)}get spellcheck(){return C.get(this,"spellcheck")}set spellcheck(e){C.set(this,"spellcheck",e)}get accessKey(){return h.get(this,"accesskey")}set accessKey(e){h.set(this,"accesskey",e)}get dir(){return h.get(this,"dir")}set dir(e){h.set(this,"dir",e)}get lang(){return h.get(this,"lang")}set lang(e){h.set(this,"lang",e)}get title(){return h.get(this,"title")}set title(e){h.set(this,"title",e)}get onabort(){return A.get(this,"onabort")}set onabort(e){A.set(this,"onabort",e)}get onblur(){return A.get(this,"onblur")}set onblur(e){A.set(this,"onblur",e)}get oncancel(){return A.get(this,"oncancel")}set oncancel(e){A.set(this,"oncancel",e)}get oncanplay(){return A.get(this,"oncanplay")}set oncanplay(e){A.set(this,"oncanplay",e)}get oncanplaythrough(){return A.get(this,"oncanplaythrough")}set oncanplaythrough(e){A.set(this,"oncanplaythrough",e)}get onchange(){return A.get(this,"onchange")}set onchange(e){A.set(this,"onchange",e)}get onclick(){return A.get(this,"onclick")}set onclick(e){A.set(this,"onclick",e)}get onclose(){return A.get(this,"onclose")}set onclose(e){A.set(this,"onclose",e)}get oncontextmenu(){return A.get(this,"oncontextmenu")}set oncontextmenu(e){A.set(this,"oncontextmenu",e)}get oncuechange(){return A.get(this,"oncuechange")}set oncuechange(e){A.set(this,"oncuechange",e)}get ondblclick(){return A.get(this,"ondblclick")}set ondblclick(e){A.set(this,"ondblclick",e)}get ondrag(){return A.get(this,"ondrag")}set ondrag(e){A.set(this,"ondrag",e)}get ondragend(){return A.get(this,"ondragend")}set ondragend(e){A.set(this,"ondragend",e)}get ondragenter(){return A.get(this,"ondragenter")}set ondragenter(e){A.set(this,"ondragenter",e)}get ondragleave(){return A.get(this,"ondragleave")}set ondragleave(e){A.set(this,"ondragleave",e)}get ondragover(){return A.get(this,"ondragover")}set ondragover(e){A.set(this,"ondragover",e)}get ondragstart(){return A.get(this,"ondragstart")}set ondragstart(e){A.set(this,"ondragstart",e)}get ondrop(){return A.get(this,"ondrop")}set ondrop(e){A.set(this,"ondrop",e)}get ondurationchange(){return A.get(this,"ondurationchange")}set ondurationchange(e){A.set(this,"ondurationchange",e)}get onemptied(){return A.get(this,"onemptied")}set onemptied(e){A.set(this,"onemptied",e)}get onended(){return A.get(this,"onended")}set onended(e){A.set(this,"onended",e)}get onerror(){return A.get(this,"onerror")}set onerror(e){A.set(this,"onerror",e)}get onfocus(){return A.get(this,"onfocus")}set onfocus(e){A.set(this,"onfocus",e)}get oninput(){return A.get(this,"oninput")}set oninput(e){A.set(this,"oninput",e)}get oninvalid(){return A.get(this,"oninvalid")}set oninvalid(e){A.set(this,"oninvalid",e)}get onkeydown(){return A.get(this,"onkeydown")}set onkeydown(e){A.set(this,"onkeydown",e)}get onkeypress(){return A.get(this,"onkeypress")}set onkeypress(e){A.set(this,"onkeypress",e)}get onkeyup(){return A.get(this,"onkeyup")}set onkeyup(e){A.set(this,"onkeyup",e)}get onload(){return A.get(this,"onload")}set onload(e){A.set(this,"onload",e)}get onloadeddata(){return A.get(this,"onloadeddata")}set onloadeddata(e){A.set(this,"onloadeddata",e)}get onloadedmetadata(){return A.get(this,"onloadedmetadata")}set onloadedmetadata(e){A.set(this,"onloadedmetadata",e)}get onloadstart(){return A.get(this,"onloadstart")}set onloadstart(e){A.set(this,"onloadstart",e)}get onmousedown(){return A.get(this,"onmousedown")}set onmousedown(e){A.set(this,"onmousedown",e)}get onmouseenter(){return A.get(this,"onmouseenter")}set onmouseenter(e){A.set(this,"onmouseenter",e)}get onmouseleave(){return A.get(this,"onmouseleave")}set onmouseleave(e){A.set(this,"onmouseleave",e)}get onmousemove(){return A.get(this,"onmousemove")}set onmousemove(e){A.set(this,"onmousemove",e)}get onmouseout(){return A.get(this,"onmouseout")}set onmouseout(e){A.set(this,"onmouseout",e)}get onmouseover(){return A.get(this,"onmouseover")}set onmouseover(e){A.set(this,"onmouseover",e)}get onmouseup(){return A.get(this,"onmouseup")}set onmouseup(e){A.set(this,"onmouseup",e)}get onmousewheel(){return A.get(this,"onmousewheel")}set onmousewheel(e){A.set(this,"onmousewheel",e)}get onpause(){return A.get(this,"onpause")}set onpause(e){A.set(this,"onpause",e)}get onplay(){return A.get(this,"onplay")}set onplay(e){A.set(this,"onplay",e)}get onplaying(){return A.get(this,"onplaying")}set onplaying(e){A.set(this,"onplaying",e)}get onprogress(){return A.get(this,"onprogress")}set onprogress(e){A.set(this,"onprogress",e)}get onratechange(){return A.get(this,"onratechange")}set onratechange(e){A.set(this,"onratechange",e)}get onreset(){return A.get(this,"onreset")}set onreset(e){A.set(this,"onreset",e)}get onresize(){return A.get(this,"onresize")}set onresize(e){A.set(this,"onresize",e)}get onscroll(){return A.get(this,"onscroll")}set onscroll(e){A.set(this,"onscroll",e)}get onseeked(){return A.get(this,"onseeked")}set onseeked(e){A.set(this,"onseeked",e)}get onseeking(){return A.get(this,"onseeking")}set onseeking(e){A.set(this,"onseeking",e)}get onselect(){return A.get(this,"onselect")}set onselect(e){A.set(this,"onselect",e)}get onshow(){return A.get(this,"onshow")}set onshow(e){A.set(this,"onshow",e)}get onstalled(){return A.get(this,"onstalled")}set onstalled(e){A.set(this,"onstalled",e)}get onsubmit(){return A.get(this,"onsubmit")}set onsubmit(e){A.set(this,"onsubmit",e)}get onsuspend(){return A.get(this,"onsuspend")}set onsuspend(e){A.set(this,"onsuspend",e)}get ontimeupdate(){return A.get(this,"ontimeupdate")}set ontimeupdate(e){A.set(this,"ontimeupdate",e)}get ontoggle(){return A.get(this,"ontoggle")}set ontoggle(e){A.set(this,"ontoggle",e)}get onvolumechange(){return A.get(this,"onvolumechange")}set onvolumechange(e){A.set(this,"onvolumechange",e)}get onwaiting(){return A.get(this,"onwaiting")}set onwaiting(e){A.set(this,"onwaiting",e)}get onauxclick(){return A.get(this,"onauxclick")}set onauxclick(e){A.set(this,"onauxclick",e)}get ongotpointercapture(){return A.get(this,"ongotpointercapture")}set ongotpointercapture(e){A.set(this,"ongotpointercapture",e)}get onlostpointercapture(){return A.get(this,"onlostpointercapture")}set onlostpointercapture(e){A.set(this,"onlostpointercapture",e)}get onpointercancel(){return A.get(this,"onpointercancel")}set onpointercancel(e){A.set(this,"onpointercancel",e)}get onpointerdown(){return A.get(this,"onpointerdown")}set onpointerdown(e){A.set(this,"onpointerdown",e)}get onpointerenter(){return A.get(this,"onpointerenter")}set onpointerenter(e){A.set(this,"onpointerenter",e)}get onpointerleave(){return A.get(this,"onpointerleave")}set onpointerleave(e){A.set(this,"onpointerleave",e)}get onpointermove(){return A.get(this,"onpointermove")}set onpointermove(e){A.set(this,"onpointermove",e)}get onpointerout(){return A.get(this,"onpointerout")}set onpointerout(e){A.set(this,"onpointerout",e)}get onpointerover(){return A.get(this,"onpointerover")}set onpointerover(e){A.set(this,"onpointerover",e)}get onpointerup(){return A.get(this,"onpointerup")}set onpointerup(e){A.set(this,"onpointerup",e)}};var ka="template",qu=class extends l{constructor(e){super(e,ka);let u=this.ownerDocument.createDocumentFragment();(this[pu]=u)[G]=this}get content(){if(this.hasChildNodes()&&!this[pu].hasChildNodes())for(let e of this.childNodes)this[pu].appendChild(e.cloneNode(!0));return this[pu]}};E(ka,qu);var ns=class extends l{constructor(e,u="html"){super(e,u)}};var{toString:PA}=l.prototype,Ze=class extends l{get innerHTML(){return this.textContent}set innerHTML(e){this.textContent=e}toString(){return PA.call(this.cloneNode()).replace("><",()=>`>${this.textContent}<`)}};var Oa="script",Vu=class extends Ze{constructor(e,u=Oa){super(e,u)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get defer(){return C.get(this,"defer")}set defer(e){C.set(this,"defer",e)}get crossOrigin(){return h.get(this,"crossorigin")}set crossOrigin(e){h.set(this,"crossorigin",e)}get nomodule(){return C.get(this,"nomodule")}set nomodule(e){C.set(this,"nomodule",e)}get referrerPolicy(){return h.get(this,"referrerpolicy")}set referrerPolicy(e){h.set(this,"referrerpolicy",e)}get nonce(){return h.get(this,"nonce")}set nonce(e){h.set(this,"nonce",e)}get async(){return C.get(this,"async")}set async(e){C.set(this,"async",e)}get text(){return this.textContent}set text(e){this.textContent=e}};E(Oa,Vu);var os=class extends l{constructor(e,u="frame"){super(e,u)}};var La="iframe",Zu=class extends l{constructor(e,u=La){super(e,u)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get srcdoc(){return h.get(this,"srcdoc")}set srcdoc(e){h.set(this,"srcdoc",e)}get name(){return h.get(this,"name")}set name(e){h.set(this,"name",e)}get allow(){return h.get(this,"allow")}set allow(e){h.set(this,"allow",e)}get allowFullscreen(){return C.get(this,"allowfullscreen")}set allowFullscreen(e){C.set(this,"allowfullscreen",e)}get referrerPolicy(){return h.get(this,"referrerpolicy")}set referrerPolicy(e){h.set(this,"referrerpolicy",e)}get loading(){return h.get(this,"loading")}set loading(e){h.set(this,"loading",e)}};E(La,Zu);var as=class extends l{constructor(e,u="object"){super(e,u)}};var cs=class extends l{constructor(e,u="head"){super(e,u)}};var As=class extends l{constructor(e,u="body"){super(e,u)}};var o0=xe(n0(),1);var a0="style",Xu=class extends Ze{constructor(e,u=a0){super(e,u),this[vt]=null}get sheet(){let e=this[vt];return e!==null?e:this[vt]=(0,o0.parse)(this.textContent)}get innerHTML(){return super.innerHTML||""}set innerHTML(e){super.textContent=e,this[vt]=null}get innerText(){return super.innerText||""}set innerText(e){super.textContent=e,this[vt]=null}get textContent(){return super.textContent||""}set textContent(e){super.textContent=e,this[vt]=null}};E(a0,Xu);var ju=class extends l{constructor(e,u="time"){super(e,u)}get dateTime(){return h.get(this,"datetime")}set dateTime(e){h.set(this,"datetime",e)}};E("time",ju);var Cs=class extends l{constructor(e,u="fieldset"){super(e,u)}};var Es=class extends l{constructor(e,u="embed"){super(e,u)}};var ys=class extends l{constructor(e,u="hr"){super(e,u)}};var ws=class extends l{constructor(e,u="progress"){super(e,u)}};var Is=class extends l{constructor(e,u="p"){super(e,u)}};var Ns=class extends l{constructor(e,u="table"){super(e,u)}};var Ts=class extends l{constructor(e,u="frameset"){super(e,u)}};var Ds=class extends l{constructor(e,u="li"){super(e,u)}};var Bs=class extends l{constructor(e,u="base"){super(e,u)}};var vs=class extends l{constructor(e,u="datalist"){super(e,u)}};var c0="input",zu=class extends l{constructor(e,u=c0){super(e,u)}get autofocus(){return C.get(this,"autofocus")||-1}set autofocus(e){C.set(this,"autofocus",e)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get placeholder(){return this.getAttribute("placeholder")}set placeholder(e){this.setAttribute("placeholder",e)}get type(){return this.getAttribute("type")}set type(e){this.setAttribute("type",e)}get value(){return h.get(this,"value")}set value(e){h.set(this,"value",e)}};E(c0,zu);var Rs=class extends l{constructor(e,u="param"){super(e,u)}};var Fs=class extends l{constructor(e,u="media"){super(e,u)}};var Ms=class extends l{constructor(e,u="audio"){super(e,u)}};var A0="h1",$u=class extends l{constructor(e,u=A0){super(e,u)}};E([A0,"h2","h3","h4","h5","h6"],$u);var ks=class extends l{constructor(e,u="dir"){super(e,u)}};var Os=class extends l{constructor(e,u="quote"){super(e,u)}};var f0=xe(h0(),1);var{createCanvas:_A}=f0.default,p0="canvas",er=class extends l{constructor(e,u=p0){super(e,u),this[pe]=_A(300,150)}get width(){return this[pe].width}set width(e){Fe.set(this,"width",e),this[pe].width=e}get height(){return this[pe].height}set height(e){Fe.set(this,"height",e),this[pe].height=e}getContext(e){return this[pe].getContext(e)}toDataURL(...e){return this[pe].toDataURL(...e)}};E(p0,er);var Ls=class extends l{constructor(e,u="legend"){super(e,u)}};var g0="option",tr=class extends l{constructor(e,u=g0){super(e,u)}get value(){return h.get(this,"value")}set value(e){h.set(this,"value",e)}get selected(){return C.get(this,"selected")}set selected(e){let u=this.parentElement?.querySelector("option[selected]");u&&u!==this&&(u.selected=!1),C.set(this,"selected",e)}};E(g0,tr);var Gs=class extends l{constructor(e,u="span"){super(e,u)}};var Qs=class extends l{constructor(e,u="meter"){super(e,u)}};var Hs=class extends l{constructor(e,u="video"){super(e,u)}};var Ks=class extends l{constructor(e,u="td"){super(e,u)}};var m0="title",ur=class extends Ze{constructor(e,u=m0){super(e,u)}};E(m0,ur);var Us=class extends l{constructor(e,u="output"){super(e,u)}};var Ws=class extends l{constructor(e,u="tr"){super(e,u)}};var Ys=class extends l{constructor(e,u="data"){super(e,u)}};var Js=class extends l{constructor(e,u="menu"){super(e,u)}};var b0="select",rr=class extends l{constructor(e,u=b0){super(e,u)}get options(){let e=new U,{firstElementChild:u}=this;for(;u;)u.tagName==="OPTGROUP"?e.push(...u.children):e.push(u),u=u.nextElementSibling;return e}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get value(){return this.querySelector("option[selected]")?.value}};E(b0,rr);var qs=class extends l{constructor(e,u="br"){super(e,u)}};var S0="button",sr=class extends l{constructor(e,u=S0){super(e,u)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get type(){return this.getAttribute("type")}set type(e){this.setAttribute("type",e)}};E(S0,sr);var Vs=class extends l{constructor(e,u="map"){super(e,u)}};var Zs=class extends l{constructor(e,u="optgroup"){super(e,u)}};var Ps=class extends l{constructor(e,u="dl"){super(e,u)}};var x0="textarea",ir=class extends Ze{constructor(e,u=x0){super(e,u)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}get placeholder(){return this.getAttribute("placeholder")}set placeholder(e){this.setAttribute("placeholder",e)}get type(){return this.getAttribute("type")}set type(e){this.setAttribute("type",e)}get value(){return this.textContent}set value(e){this.textContent=e}};E(x0,ir);var _s=class extends l{constructor(e,u="font"){super(e,u)}};var Xs=class extends l{constructor(e,u="div"){super(e,u)}};var C0="link",nr=class extends l{constructor(e,u=C0){super(e,u)}get disabled(){return C.get(this,"disabled")}set disabled(e){C.set(this,"disabled",e)}get href(){return h.get(this,"href").trim()}set href(e){h.set(this,"href",e)}get hreflang(){return h.get(this,"hreflang")}set hreflang(e){h.set(this,"hreflang",e)}get media(){return h.get(this,"media")}set media(e){h.set(this,"media",e)}get rel(){return h.get(this,"rel")}set rel(e){h.set(this,"rel",e)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}};E(C0,nr);var E0="slot",or=class extends l{constructor(e,u=E0){super(e,u)}get name(){return this.getAttribute("name")}set name(e){this.setAttribute("name",e)}assign(){}assignedNodes(e){let u=!!this.name,r=this.getRootNode().host?.childNodes??[],s;if(u?s=[...r].filter(i=>i.slot===this.name):s=[...r].filter(i=>!i.slot),e?.flatten){let i=[];for(let n of s)n.localName==="slot"?i.push(...n.assignedNodes({flatten:!0})):i.push(n);s=i}return s.length?s:[...this.childNodes]}assignedElements(e){let u=this.assignedNodes(e).filter(r=>r.nodeType===1);return u.length?u:[...this.children]}};E(E0,or);var js=class extends l{constructor(e,u="form"){super(e,u)}};var y0="img",Yt=class extends l{constructor(e,u=y0){super(e,u)}get alt(){return h.get(this,"alt")}set alt(e){h.set(this,"alt",e)}get sizes(){return h.get(this,"sizes")}set sizes(e){h.set(this,"sizes",e)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get srcset(){return h.get(this,"srcset")}set srcset(e){h.set(this,"srcset",e)}get title(){return h.get(this,"title")}set title(e){h.set(this,"title",e)}get width(){return Fe.get(this,"width")}set width(e){Fe.set(this,"width",e)}get height(){return Fe.get(this,"height")}set height(e){Fe.set(this,"height",e)}};E(y0,Yt);var zs=class extends l{constructor(e,u="pre"){super(e,u)}};var $s=class extends l{constructor(e,u="ul"){super(e,u)}};var w0="meta",ar=class extends l{constructor(e,u=w0){super(e,u)}get name(){return h.get(this,"name")}set name(e){h.set(this,"name",e)}get httpEquiv(){return h.get(this,"http-equiv")}set httpEquiv(e){h.set(this,"http-equiv",e)}get content(){return h.get(this,"content")}set content(e){h.set(this,"content",e)}get charset(){return h.get(this,"charset")}set charset(e){h.set(this,"charset",e)}get media(){return h.get(this,"media")}set media(e){h.set(this,"media",e)}};E(w0,ar);var ei=class extends l{constructor(e,u="picture"){super(e,u)}};var ti=class extends l{constructor(e,u="area"){super(e,u)}};var ui=class extends l{constructor(e,u="ol"){super(e,u)}};var ri=class extends l{constructor(e,u="caption"){super(e,u)}};var I0="a",cr=class extends l{constructor(e,u=I0){super(e,u)}get href(){return encodeURI(decodeURI(h.get(this,"href"))).trim()}set href(e){h.set(this,"href",decodeURI(e))}get download(){return encodeURI(decodeURI(h.get(this,"download")))}set download(e){h.set(this,"download",decodeURI(e))}get target(){return h.get(this,"target")}set target(e){h.set(this,"target",e)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}get rel(){return h.get(this,"rel")}set rel(e){h.set(this,"rel",e)}};E(I0,cr);var si=class extends l{constructor(e,u="label"){super(e,u)}};var ii=class extends l{constructor(e,u="unknown"){super(e,u)}};var ni=class extends l{constructor(e,u="mod"){super(e,u)}};var oi=class extends l{constructor(e,u="details"){super(e,u)}};var N0="source",Ar=class extends l{constructor(e,u=N0){super(e,u)}get src(){return h.get(this,"src")}set src(e){h.set(this,"src",e)}get srcset(){return h.get(this,"srcset")}set srcset(e){h.set(this,"srcset",e)}get sizes(){return h.get(this,"sizes")}set sizes(e){h.set(this,"sizes",e)}get type(){return h.get(this,"type")}set type(e){h.set(this,"type",e)}};E(N0,Ar);var ai=class extends l{constructor(e,u="track"){super(e,u)}};var ci=class extends l{constructor(e,u="marquee"){super(e,u)}};var T0={HTMLElement:l,HTMLTemplateElement:qu,HTMLHtmlElement:ns,HTMLScriptElement:Vu,HTMLFrameElement:os,HTMLIFrameElement:Zu,HTMLObjectElement:as,HTMLHeadElement:cs,HTMLBodyElement:As,HTMLStyleElement:Xu,HTMLTimeElement:ju,HTMLFieldSetElement:Cs,HTMLEmbedElement:Es,HTMLHRElement:ys,HTMLProgressElement:ws,HTMLParagraphElement:Is,HTMLTableElement:Ns,HTMLFrameSetElement:Ts,HTMLLIElement:Ds,HTMLBaseElement:Bs,HTMLDataListElement:vs,HTMLInputElement:zu,HTMLParamElement:Rs,HTMLMediaElement:Fs,HTMLAudioElement:Ms,HTMLHeadingElement:$u,HTMLDirectoryElement:ks,HTMLQuoteElement:Os,HTMLCanvasElement:er,HTMLLegendElement:Ls,HTMLOptionElement:tr,HTMLSpanElement:Gs,HTMLMeterElement:Qs,HTMLVideoElement:Hs,HTMLTableCellElement:Ks,HTMLTitleElement:ur,HTMLOutputElement:Us,HTMLTableRowElement:Ws,HTMLDataElement:Ys,HTMLMenuElement:Js,HTMLSelectElement:rr,HTMLBRElement:qs,HTMLButtonElement:sr,HTMLMapElement:Vs,HTMLOptGroupElement:Zs,HTMLDListElement:Ps,HTMLTextAreaElement:ir,HTMLFontElement:_s,HTMLDivElement:Xs,HTMLLinkElement:nr,HTMLSlotElement:or,HTMLFormElement:js,HTMLImageElement:Yt,HTMLPreElement:zs,HTMLUListElement:$s,HTMLMetaElement:ar,HTMLPictureElement:ei,HTMLAreaElement:ti,HTMLOListElement:ui,HTMLTableCaptionElement:ri,HTMLAnchorElement:cr,HTMLLabelElement:si,HTMLUnknownElement:ii,HTMLModElement:ni,HTMLDetailsElement:oi,HTMLSourceElement:Ar,HTMLTrackElement:ai,HTMLMarqueeElement:ci};var Ai={test:()=>!0},D0={"text/html":{docType:"<!DOCTYPE html>",ignoreCase:!0,voidElements:/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i},"image/svg+xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai},"text/xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai},"application/xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai},"application/xhtml+xml":{docType:'<?xml version="1.0" encoding="utf-8"?>',ignoreCase:!1,voidElements:Ai}};var hu=class extends ne{constructor(e,u={}){super(e,u),this.detail=u.detail}};var lr=class extends ne{constructor(e,u={}){super(e,u),this.inputType=u.inputType,this.data=u.data,this.dataTransfer=u.dataTransfer,this.isComposing=u.isComposing||!1,this.ranges=u.ranges}};var B0=t=>class extends Yt{constructor(u,r){switch(super(t),arguments.length){case 1:this.height=u,this.width=u;break;case 2:this.height=r,this.width=u;break}}};var v0=({[Y]:t,[g]:e},u=null)=>{Fr(t[T],e[p]);do{let r=K(t),s=r===e?r:r[p];u?u.insertBefore(t,u[g]):t.remove(),t=s}while(t!==e)},li=class t{constructor(){this[Y]=null,this[g]=null,this.commonAncestorContainer=null}insertNode(e){this[g].parentNode.insertBefore(e,this[Y])}selectNode(e){this[Y]=e,this[g]=K(e)}selectNodeContents(e){this.selectNode(e),this.commonAncestorContainer=e}surroundContents(e){e.replaceChildren(this.extractContents())}setStartBefore(e){this[Y]=e}setStartAfter(e){this[Y]=e.nextSibling}setEndBefore(e){this[g]=K(e.previousSibling)}setEndAfter(e){this[g]=K(e)}cloneContents(){let{[Y]:e,[g]:u}=this,r=e.ownerDocument.createDocumentFragment();for(;e!==u;)r.insertBefore(e.cloneNode(!0),r[g]),e=K(e),e!==u&&(e=e[p]);return r}deleteContents(){v0(this)}extractContents(){let e=this[Y].ownerDocument.createDocumentFragment();return v0(this,e),e}createContextualFragment(e){let{commonAncestorContainer:u}=this,r="ownerSVGElement"in u,s=r?u.ownerDocument:u,i=Mr(s,e);if(r){let n=[...i.childNodes];i=s.createDocumentFragment(),Object.setPrototypeOf(i,Qe.prototype),i.ownerSVGElement=s;for(let o of n)Object.setPrototypeOf(o,Qe.prototype),o.ownerSVGElement=s,i.appendChild(o)}else this.selectNode(i);return i}cloneRange(){let e=new t;return e[Y]=this[Y],e[g]=this[g],e}};var XA=({nodeType:t},e)=>{switch(t){case 1:return e&Zi;case 3:return e&Pi;case 8:return e&Xi;case 4:return e&_i}return 0},di=class{constructor(e,u=Vi){this.root=e,this.currentNode=e,this.whatToShow=u;let{[p]:r,[g]:s}=e;if(e.nodeType===9){let{documentElement:n}=e;r=n,s=n[g]}let i=[];for(;r&&r!==s;)XA(r,u)&&i.push(r),r=r[p];this[G]={i:0,nodes:i}}nextNode(){let e=this[G];return this.currentNode=e.i<e.nodes.length?e.nodes[e.i++]:null,this.currentNode}};var R0=(t,e,u)=>{let{[p]:r,[g]:s}=e;return t.call({ownerDocument:e,[p]:r,[g]:s},u)},F0=ko({},Ma,T0,{CustomEvent:hu,Event:ne,EventTarget:It,InputEvent:lr,NamedNodeMap:Au,NodeList:U}),hi=new WeakMap,Se=class extends Dt{constructor(e){super(null,"#document",9),this[se]={active:!1,registry:null},this[We]={active:!1,class:null},this[Be]=D0[e],this[St]=null,this[gu]=null,this[Zt]=null,this[pe]=null,this[xt]=null}get defaultView(){return hi.has(this)||hi.set(this,new Proxy(globalThis,{set:(e,u,r)=>{switch(u){case"addEventListener":case"removeEventListener":case"dispatchEvent":this[Vt][u]=r;break;default:e[u]=r;break}return!0},get:(e,u)=>{switch(u){case"addEventListener":case"removeEventListener":case"dispatchEvent":if(!this[Vt]){let r=this[Vt]=new It;r.dispatchEvent=r.dispatchEvent.bind(r),r.addEventListener=r.addEventListener.bind(r),r.removeEventListener=r.removeEventListener.bind(r)}return this[Vt][u];case"document":return this;case"navigator":return{userAgent:"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"};case"window":return hi.get(this);case"customElements":return this[se].registry||(this[se]=new kr(this)),this[se];case"performance":return e.performance;case"DOMParser":return this[gu];case"Image":return this[pe]||(this[pe]=B0(this)),this[pe];case"MutationObserver":return this[We].class||(this[We]=new Gr(this)),this[We].class}return this[Zt]&&this[Zt][u]||F0[u]||e[u]}})),hi.get(this)}get doctype(){let e=this[St];if(e)return e;let{firstChild:u}=this;return u&&u.nodeType===10?this[St]=u:null}set doctype(e){if(/^([a-z:]+)(\s+system|\s+public(\s+"([^"]+)")?)?(\s+"([^"]+)")?/i.test(e)){let{$1:u,$4:r,$6:s}=RegExp;this[St]=new lt(this,u,r,s),nt(this,this[St],this[p])}}get documentElement(){return this.firstElementChild}get isConnected(){return!0}_getParent(){return this[Vt]}createAttribute(e){return new we(this,e)}createCDATASection(e){return new Nt(this,e)}createComment(e){return new Tt(this,e)}createDocumentFragment(){return new Ht(this)}createDocumentType(e,u,r){return new lt(this,e,u,r)}createElement(e){return new Ge(this,e)}createRange(){let e=new li;return e.commonAncestorContainer=this,e}createTextNode(e){return new Te(this,e)}createTreeWalker(e,u=-1){return new di(e,u)}createNodeIterator(e,u=-1){return this.createTreeWalker(e,u)}createEvent(e){let u=Oo(e==="Event"?new ne(""):new hu(""));return u.initEvent=u.initCustomEvent=(r,s=!1,i=!1,n)=>{u.bubbles=!!s,Lo(u,{type:{value:r},canBubble:{value:s},cancelable:{value:i},detail:{value:n}})},u}cloneNode(e=!1){let{constructor:u,[se]:r,[St]:s}=this,i=new u;if(i[se]=r,e){let n=i[g],{childNodes:o}=this;for(let{length:a}=o,c=0;c<a;c++)i.insertBefore(o[c].cloneNode(!0),n);s&&(i[St]=o[0])}return i}importNode(e){let u=1<arguments.length&&!!arguments[1],r=e.cloneNode(u),{[se]:s}=this,{active:i}=s,n=o=>{let{ownerDocument:a,nodeType:c}=o;o.ownerDocument=this,i&&a!==this&&c===1&&s.upgrade(o)};if(n(r),u)switch(r.nodeType){case 1:case 11:{let{[p]:o,[g]:a}=r;for(;o!==a;)o.nodeType===1&&n(o),o=o[p];break}}return r}toString(){return this.childNodes.join("")}querySelector(e){return R0(super.querySelector,this,e)}querySelectorAll(e){return R0(super.querySelectorAll,this,e)}getElementsByTagNameNS(e,u){return this.getElementsByTagName(u)}createAttributeNS(e,u){return this.createAttribute(u)}createElementNS(e,u,r){return e===Mt?new Qe(this,u,null):this.createElement(u,r)}};H(F0.Document=function(){oe()},Se).prototype=Se.prototype;var jA=(t,e,u,r)=>{if(!e&&eu.has(u)){let n=eu.get(u);return new n(t,u)}let{[se]:{active:s,registry:i}}=t;if(s){let n=e?r.is:u;if(i.has(n)){let{Class:o}=i.get(n),a=new o(t,u);return ot.set(a,{connected:!1}),a}}return new l(t,u)},dr=class extends Se{constructor(){super("text/html")}get all(){let e=new U,{[p]:u,[g]:r}=this;for(;u!==r;)u.nodeType===1&&e.push(u),u=u[p];return e}get head(){let{documentElement:e}=this,{firstElementChild:u}=e;return(!u||u.tagName!=="HEAD")&&(u=this.createElement("head"),e.prepend(u)),u}get body(){let{head:e}=this,{nextElementSibling:u}=e;return(!u||u.tagName!=="BODY")&&(u=this.createElement("body"),e.after(u)),u}get title(){let{head:e}=this;return e.getElementsByTagName("title").at(0)?.textContent||""}set title(e){let{head:u}=this,r=u.getElementsByTagName("title").at(0);r?r.textContent=e:u.insertBefore(this.createElement("title"),u.firstChild).textContent=e}createElement(e,u){let r=!!(u&&u.is),s=jA(this,r,e,u);return r&&s.setAttribute("is",u.is),s}};var fi=class extends Se{constructor(){super("image/svg+xml")}toString(){return this[Be].docType+super.toString()}};var pi=class extends Se{constructor(){super("text/xml")}toString(){return this[Be].docType+super.toString()}};var hr=class t{parseFromString(e,u,r=null){let s=!1,i;return u==="text/html"?(s=!0,i=new dr):u==="image/svg+xml"?i=new fi:i=new pi,i[gu]=t,r&&(i[Zt]=r),s&&e==="..."&&(e="<!doctype html><html><head></head><body></body></html>"),e?Lr(i,s,e):i}};var{parse:fx}=JSON;function zA(){oe()}H(zA,Se).prototype=Se.prototype;var $A=new Set(["svg","g","defs","symbol","use","image","a","switch","rect","circle","ellipse","line","polyline","polygon","path","text","tspan","textPath","linearGradient","radialGradient","stop","pattern","mask","clipPath","marker","filter","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","title","desc","metadata","style"]),el=new Set(["id","class","style","transform","viewBox","width","height","x","y","x1","y1","x2","y2","cx","cy","r","rx","ry","fx","fy","points","d","offset","enable-background","gradientUnits","gradientTransform","spreadMethod","patternUnits","patternContentUnits","patternTransform","maskUnits","maskContentUnits","clipPathUnits","clip-rule","filterUnits","primitiveUnits","preserveAspectRatio","space","lang","role","focusable","tabindex","version","baseProfile","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-opacity","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-dasharray","stroke-dashoffset","opacity","color","stop-color","stop-opacity","font-family","font-size","font-weight","font-style","text-anchor","dominant-baseline","alignment-baseline","letter-spacing","word-spacing","text-decoration","clip-path","mask","filter","marker-start","marker-mid","marker-end","marker","cursor","pointer-events","visibility","display","overflow","vector-effect","paint-order","color-interpolation","color-interpolation-filters","isolation","mix-blend-mode","startOffset","method","spacing","side","textLength","lengthAdjust","in","in2","result","mode","type","values","dx","dy","stdDeviation","edgeMode","k1","k2","k3","k4","operator","radius","scale","xChannelSelector","yChannelSelector","baseFrequency","numOctaves","seed","stitchTiles","tableValues","slope","intercept","amplitude","exponent","order","divisor","bias","targetX","targetY","kernelMatrix","preserveAlpha","kernelUnitLength","surfaceScale","diffuseConstant","specularConstant","specularExponent","lighting-color","flood-color","flood-opacity","azimuth","elevation","pointsAtX","pointsAtY","pointsAtZ","limitingConeAngle"]);function tl(t){let e=t.lastIndexOf(":");return e===-1?t:t.slice(e+1)}function ul(t,e){let u=t.trim();return u.startsWith("#")?!0:/^data:image\//i.test(u)&&e.toLowerCase()!=="a"}var rl=new Set(["","url","rgb","rgba","hsl","hsla","hwb","lab","lch","oklab","oklch","color","color-mix","var","calc","min","max","clamp","matrix","matrix3d","translate","translatex","translatey","translatez","translate3d","scale","scalex","scaley","scalez","scale3d","rotate","rotatex","rotatey","rotatez","rotate3d","skew","skewx","skewy","perspective","cubic-bezier","steps","blur","brightness","contrast","drop-shadow","grayscale","hue-rotate","invert","opacity","saturate","sepia"]);function sl(t,e){if(t===void 0)return e??"";let u=parseInt(t,16);return u===0||u>1114111||u>=55296&&u<=57343?"\uFFFD":String.fromCodePoint(u)}function il(t){return t.replace(/\\([0-9a-f]{1,6})[ \t\n\r\f]?|\\([\s\S])/gi,(e,u,r)=>sl(u,r)).toLowerCase()}function nl(t){return t!==void 0&&/[-\w]/.test(t)}function ol(t,e){let u=e;for(;nl(t[u-1]);)u--;return t.slice(u,e)}function al(t){for(let e=t.indexOf("(");e!==-1;e=t.indexOf("(",e+1))if(!rl.has(ol(t,e)))return!1;return!0}function cl(t){let e=t.trim().replace(/^['"]/,"");return e.startsWith("#")&&!e.includes("(")}function Al(t){for(let e=t.indexOf("url(");e!==-1;){let u=t.indexOf(")",e+4);if(u===-1||!cl(t.slice(e+4,u)))return!1;e=t.indexOf("url(",u+1)}return!0}function M0(t){let e=il(t);return!e.includes("@import")&&al(e)&&Al(e)}function ll(t){return t==="xmlns"||t.startsWith("xmlns:")}function dl(t){return el.has(t)||t.startsWith("aria-")||t.startsWith("data-")}function hl(t,e,u){if(ll(e))return!0;let r=tl(e);return r==="href"?ul(u,t):dl(r)&&M0(u)}function Lx(t){let e=new hr().parseFromString(t,"image/svg+xml"),u=e.documentElement;if(!u)return"";for(let r of[...e.querySelectorAll("*")])if(r.isConnected){if(!$A.has(r.tagName)){r.remove();continue}if(r.tagName==="style"&&!M0(r.textContent)){r.remove();continue}for(let s of[...r.attributes])hl(r.tagName,s.name,s.value)||r.removeAttribute(s.name)}return u.isConnected?u.outerHTML:""}export{Lx as sanitizeSvg};
@@ -15,8 +15,8 @@ import {
15
15
  } from "./chunk-WMQNIQDJ.js";
16
16
  import {
17
17
  trackSkillsInstallSkipped
18
- } from "./chunk-ZL6ZCLY6.js";
19
- import "./chunk-KJ6ZQL34.js";
18
+ } from "./chunk-W226NPSC.js";
19
+ import "./chunk-6RNGEUL3.js";
20
20
  import {
21
21
  diag
22
22
  } from "./chunk-VWG7OQKU.js";
@@ -45,15 +45,15 @@ import {
45
45
  isCoreSkill,
46
46
  presentSkills,
47
47
  retiredSkillNotice
48
- } from "./chunk-SC6NILKD.js";
48
+ } from "./chunk-62DVCRMX.js";
49
49
  import {
50
50
  withMeta
51
- } from "./chunk-ELQ2QQC5.js";
51
+ } from "./chunk-XLVUQGSA.js";
52
52
  import "./chunk-K4WIOZFP.js";
53
53
  import "./chunk-6NLPPKBO.js";
54
54
  import "./chunk-WERLJGIC.js";
55
55
  import "./chunk-ISN5GRYI.js";
56
- import "./chunk-66Q27H72.js";
56
+ import "./chunk-Z43NJYG2.js";
57
57
  import "./chunk-T2EUWCJE.js";
58
58
  import "./chunk-M2WBOQ2Q.js";
59
59
 
@@ -9,13 +9,13 @@ import {
9
9
  printSkillsUpdateNotice,
10
10
  refreshSkillsCache,
11
11
  skillsCheckDue
12
- } from "./chunk-SC6NILKD.js";
13
- import "./chunk-ELQ2QQC5.js";
12
+ } from "./chunk-62DVCRMX.js";
13
+ import "./chunk-XLVUQGSA.js";
14
14
  import "./chunk-K4WIOZFP.js";
15
15
  import "./chunk-6NLPPKBO.js";
16
16
  import "./chunk-WERLJGIC.js";
17
17
  import "./chunk-ISN5GRYI.js";
18
- import "./chunk-66Q27H72.js";
18
+ import "./chunk-Z43NJYG2.js";
19
19
  import "./chunk-T2EUWCJE.js";
20
20
  import "./chunk-M2WBOQ2Q.js";
21
21
  export {
@@ -25,7 +25,7 @@ import {
25
25
  findFFmpeg,
26
26
  findFFprobe,
27
27
  getFFmpegInstallHint
28
- } from "./chunk-4R2NWLQL.js";
28
+ } from "./chunk-E7NEF2SC.js";
29
29
  import {
30
30
  pngDimensions,
31
31
  reportArtifacts,
@@ -33,30 +33,30 @@ import {
33
33
  } from "./chunk-57GN6KWT.js";
34
34
  import {
35
35
  captureArtifactRevision
36
- } from "./chunk-E527A6RS.js";
37
- import "./chunk-SMROKE63.js";
36
+ } from "./chunk-PTRDO7J4.js";
37
+ import "./chunk-TGHMJIHK.js";
38
38
  import "./chunk-X7MTZ4T2.js";
39
39
  import {
40
40
  resolveProject
41
- } from "./chunk-ZAVUASNT.js";
41
+ } from "./chunk-RP7QRLSK.js";
42
42
  import {
43
43
  serveStaticProjectHtml
44
- } from "./chunk-KVLGJJTE.js";
45
- import "./chunk-2G6JZJAV.js";
44
+ } from "./chunk-MYVC3XTH.js";
45
+ import "./chunk-VAS2EQRM.js";
46
46
  import "./chunk-X7MTZ4T2.js";
47
47
  import "./chunk-XUHOIDKG.js";
48
- import "./chunk-L4BFXWHC.js";
49
- import "./chunk-7Y5RVQQ7.js";
48
+ import "./chunk-XJDMYIUI.js";
49
+ import "./chunk-ZKIHZDNI.js";
50
50
  import "./chunk-6JR2XUEE.js";
51
- import "./chunk-2OYYNKJ4.js";
51
+ import "./chunk-QXPZGDTI.js";
52
52
  import {
53
53
  artifactDirectory,
54
54
  finishSnapshotRun,
55
55
  forgetRecordedArtifacts,
56
56
  recordArtifacts,
57
57
  retainSnapshotOutput
58
- } from "./chunk-OJNNKHAZ.js";
59
- import "./chunk-GJG4CTXD.js";
58
+ } from "./chunk-PGDWNIOK.js";
59
+ import "./chunk-MK6FWMMF.js";
60
60
  import "./chunk-ALVXFXUG.js";
61
61
  import {
62
62
  DEFAULT_ZOOM_SCALE,
@@ -68,37 +68,37 @@ import {
68
68
  runFfmpegOnce,
69
69
  seekCompositionTimelineOnly,
70
70
  settleCompositionSeek
71
- } from "./chunk-ES7KSCSO.js";
72
- import "./chunk-WUL5LPI2.js";
71
+ } from "./chunk-PBHFZXYP.js";
72
+ import "./chunk-DMMYNEAF.js";
73
73
  import "./chunk-MOEGCMKI.js";
74
- import "./chunk-YSXCPSJ4.js";
74
+ import "./chunk-TWHNETZP.js";
75
75
  import "./chunk-DKPNNYBZ.js";
76
- import "./chunk-CCZMCX3F.js";
76
+ import "./chunk-I7BLPFXV.js";
77
77
  import "./chunk-K2FLNJVB.js";
78
78
  import "./chunk-EHSBBBR2.js";
79
- import "./chunk-GOOE33GV.js";
79
+ import "./chunk-3VI6DSO6.js";
80
80
  import "./chunk-442JNXRM.js";
81
81
  import "./chunk-DQBY7FRR.js";
82
82
  import {
83
83
  resolveLocalBrowserGpuMode
84
- } from "./chunk-BBXZPDEA.js";
85
- import "./chunk-RAACYYWX.js";
84
+ } from "./chunk-GHNIESBY.js";
85
+ import "./chunk-YU22E6SG.js";
86
86
  import "./chunk-XT7X6QCP.js";
87
87
  import "./chunk-4YYJOFKS.js";
88
88
  import "./chunk-HVW7ABXD.js";
89
- import "./chunk-D6XDOYMB.js";
89
+ import "./chunk-I452OMM7.js";
90
90
  import {
91
91
  runWithConcurrencyLimit
92
92
  } from "./chunk-JHOCK3DG.js";
93
- import "./chunk-W4SSWOOD.js";
94
- import "./chunk-HT33OHQL.js";
93
+ import "./chunk-NCSX7WNM.js";
94
+ import "./chunk-LP6SFIWQ.js";
95
95
  import "./chunk-AWDFDFI3.js";
96
96
  import "./chunk-P6LJ4Y32.js";
97
97
  import "./chunk-GMECXFAN.js";
98
98
  import "./chunk-FLREUEHW.js";
99
99
  import "./chunk-EOVYQ3IG.js";
100
- import "./chunk-ZL6ZCLY6.js";
101
- import "./chunk-KJ6ZQL34.js";
100
+ import "./chunk-W226NPSC.js";
101
+ import "./chunk-6RNGEUL3.js";
102
102
  import "./chunk-VWG7OQKU.js";
103
103
  import {
104
104
  defineCommand
@@ -114,26 +114,26 @@ import {
114
114
  import "./chunk-KLIKCX6Q.js";
115
115
  import "./chunk-EVMY7IPL.js";
116
116
  import "./chunk-7FMUTGOH.js";
117
- import "./chunk-HJINEUHY.js";
117
+ import "./chunk-WFHA6WC3.js";
118
118
  import "./chunk-IZCW2NKT.js";
119
119
  import {
120
120
  createRuntimeStartTimeResolver,
121
121
  isClipVisibleAt,
122
122
  isInClipWindow
123
- } from "./chunk-E74JMKSK.js";
123
+ } from "./chunk-VKFHSZYS.js";
124
124
  import "./chunk-RQVDTPGD.js";
125
- import "./chunk-VNWX5GBF.js";
125
+ import "./chunk-IYSIQ4GX.js";
126
126
  import {
127
127
  readElementRateSpec,
128
128
  sourceTimeAt,
129
129
  timeAtSourceTime
130
- } from "./chunk-ZQRD62QZ.js";
130
+ } from "./chunk-MXT76SSV.js";
131
131
  import "./chunk-VC76R6W2.js";
132
132
  import "./chunk-X7HBSTCZ.js";
133
133
  import {
134
134
  topLevelElements,
135
135
  trackKindOf
136
- } from "./chunk-B7RJV74O.js";
136
+ } from "./chunk-XOTUPVIF.js";
137
137
  import "./chunk-OFQWTKPW.js";
138
138
  import "./chunk-DPVXBVLL.js";
139
139
  import "./chunk-3GXQPCJC.js";
@@ -167,12 +167,12 @@ import "./chunk-RXATE6FZ.js";
167
167
  import "./chunk-W2LGJSEN.js";
168
168
  import {
169
169
  withMeta
170
- } from "./chunk-ELQ2QQC5.js";
170
+ } from "./chunk-XLVUQGSA.js";
171
171
  import "./chunk-K4WIOZFP.js";
172
172
  import "./chunk-6NLPPKBO.js";
173
173
  import "./chunk-WERLJGIC.js";
174
174
  import "./chunk-ISN5GRYI.js";
175
- import "./chunk-66Q27H72.js";
175
+ import "./chunk-Z43NJYG2.js";
176
176
  import {
177
177
  normalizeErrorMessage
178
178
  } from "./chunk-T2EUWCJE.js";
@@ -706,7 +706,7 @@ function serveCapturePage(projectDir, html, proxy) {
706
706
  }
707
707
  async function captureSnapshots(projectDir, opts) {
708
708
  const log = opts.log ?? ((message) => console.log(message));
709
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JL5J52L6.js");
709
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-CJL3HHSF.js");
710
710
  const capture = await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
711
711
  const invocation = randomUUID();
712
712
  const artifacts = [];
@@ -838,7 +838,7 @@ async function captureSnapshots(projectDir, opts) {
838
838
  let syncVideoFrameVisibility = null;
839
839
  let extractMediaMetadata = null;
840
840
  try {
841
- const engine = await import("./src-OS2FRVZV.js");
841
+ const engine = await import("./src-GIB5BUZZ.js");
842
842
  injectVideoFramesBatch = engine.injectVideoFramesBatch;
843
843
  syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
844
844
  extractMediaMetadata = engine.extractMediaMetadata;
@@ -69,10 +69,10 @@ import {
69
69
  serializeRenderRequest,
70
70
  startServer,
71
71
  validatePlanV2MaterializedTarget
72
- } from "./chunk-W7GMPEY3.js";
72
+ } from "./chunk-RASESH32.js";
73
73
  import {
74
74
  prepareAnimatedGifInputs
75
- } from "./chunk-FWDDLW2H.js";
75
+ } from "./chunk-JI7J3FTM.js";
76
76
  import "./chunk-BZ56MTDX.js";
77
77
  import {
78
78
  FONT_FETCH_FAILED,
@@ -80,7 +80,7 @@ import {
80
80
  FontFetchError,
81
81
  FontFetchUnavailableError,
82
82
  injectDeterministicFontFaces
83
- } from "./chunk-ROEW726S.js";
83
+ } from "./chunk-FMTJ4I6I.js";
84
84
  import "./chunk-FI4I7CME.js";
85
85
  import "./chunk-KLIKCX6Q.js";
86
86
  import "./chunk-EVMY7IPL.js";
@@ -98,17 +98,17 @@ import {
98
98
  isTransientBrowserError,
99
99
  prepareCaptureSessionForReuse,
100
100
  resolveConfig
101
- } from "./chunk-HJINEUHY.js";
101
+ } from "./chunk-WFHA6WC3.js";
102
102
  import "./chunk-IZCW2NKT.js";
103
103
  import {
104
104
  quantizeTimeToFrame
105
- } from "./chunk-E74JMKSK.js";
105
+ } from "./chunk-VKFHSZYS.js";
106
106
  import "./chunk-RQVDTPGD.js";
107
- import "./chunk-VNWX5GBF.js";
108
- import "./chunk-ZQRD62QZ.js";
107
+ import "./chunk-IYSIQ4GX.js";
108
+ import "./chunk-MXT76SSV.js";
109
109
  import "./chunk-VC76R6W2.js";
110
110
  import "./chunk-X7HBSTCZ.js";
111
- import "./chunk-B7RJV74O.js";
111
+ import "./chunk-XOTUPVIF.js";
112
112
  import "./chunk-OFQWTKPW.js";
113
113
  import "./chunk-DPVXBVLL.js";
114
114
  import "./chunk-3GXQPCJC.js";
@@ -231,18 +231,18 @@ import {
231
231
  waitForImagesReady,
232
232
  writeCapturedFrame,
233
233
  writeUrlDownloadTelemetry
234
- } from "./chunk-HJINEUHY.js";
234
+ } from "./chunk-WFHA6WC3.js";
235
235
  import "./chunk-IZCW2NKT.js";
236
236
  import {
237
237
  MEDIA_VISUAL_STYLE_PROPERTIES,
238
238
  quantizeTimeToFrame
239
- } from "./chunk-E74JMKSK.js";
239
+ } from "./chunk-VKFHSZYS.js";
240
240
  import "./chunk-RQVDTPGD.js";
241
- import "./chunk-VNWX5GBF.js";
242
- import "./chunk-ZQRD62QZ.js";
241
+ import "./chunk-IYSIQ4GX.js";
242
+ import "./chunk-MXT76SSV.js";
243
243
  import "./chunk-VC76R6W2.js";
244
244
  import "./chunk-X7HBSTCZ.js";
245
- import "./chunk-B7RJV74O.js";
245
+ import "./chunk-XOTUPVIF.js";
246
246
  import "./chunk-OFQWTKPW.js";
247
247
  import "./chunk-DPVXBVLL.js";
248
248
  import {