@scalar/api-reference 1.59.3 → 1.61.0

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 (262) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +4 -4
  3. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
  4. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
  5. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js.map +1 -1
  6. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js +14 -17
  7. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js.map +1 -1
  8. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.d.ts +12 -0
  9. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.d.ts.map +1 -0
  10. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js +9 -0
  11. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js.map +1 -0
  12. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js +63 -0
  13. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js.map +1 -0
  14. package/dist/browser/chunks/AgentScalarChatInterface-BhUn0w1j.js +27 -0
  15. package/dist/browser/chunks/ScalarTextInput.vue-BUzf4Z_k.js +27 -0
  16. package/dist/browser/chunks/basic-shape-diamond.svg-BTEOT1FL.js +1 -1
  17. package/dist/browser/chunks/basic-shape-hexagon.svg-BSPzaCgF.js +1 -1
  18. package/dist/browser/chunks/basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js +1 -1
  19. package/dist/browser/chunks/basic-shape-primary-square-rectangle.svg-n2YRykHD.js +1 -1
  20. package/dist/browser/chunks/basic-shape-shield.svg-Bec9cJDA.js +1 -1
  21. package/dist/browser/chunks/browser-67K6wmG9.js +1 -1
  22. package/dist/browser/chunks/computer-device-desktop-monitor.svg-m6j893Hb.js +1 -1
  23. package/dist/browser/chunks/computer-device-desktop.svg-Dk1VVO7k.js +1 -1
  24. package/dist/browser/chunks/computer-device-laptop.svg-BNGVUCYS.js +1 -1
  25. package/dist/browser/chunks/computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js +1 -1
  26. package/dist/browser/chunks/computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js +1 -1
  27. package/dist/browser/chunks/computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js +1 -1
  28. package/dist/browser/chunks/computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js +1 -1
  29. package/dist/browser/chunks/computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js +1 -1
  30. package/dist/browser/chunks/computer-device-mobile-tablet.svg-DCr0XlRc.js +1 -1
  31. package/dist/browser/chunks/computer-device-network-ethernet-cat6.svg-AK9l0iOl.js +1 -1
  32. package/dist/browser/chunks/computer-device-network-lan-www.svg-gUIdFBlE.js +1 -1
  33. package/dist/browser/chunks/computer-device-network-wifi-connection.svg-Be-EMm4e.js +1 -1
  34. package/dist/browser/chunks/computer-device-network-wifi-router.svg-Dc2VzyqK.js +1 -1
  35. package/dist/browser/chunks/ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js +1 -1
  36. package/dist/browser/chunks/image-flash-lightning.svg-EETR_y1q.js +1 -1
  37. package/dist/browser/chunks/image-picture-flower.svg-DN1AYzJU.js +1 -1
  38. package/dist/browser/chunks/interface-alert-exclamation-diamond.svg-C5NozMV_.js +1 -1
  39. package/dist/browser/chunks/interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js +1 -1
  40. package/dist/browser/chunks/interface-alert-information-circle.svg-ckkkt9Mv.js +1 -1
  41. package/dist/browser/chunks/interface-award-crown.svg-pjvn9hY-.js +1 -1
  42. package/dist/browser/chunks/interface-bookmark-tag.svg-r2r-lQq4.js +1 -1
  43. package/dist/browser/chunks/interface-bookmark.svg-BK9HKQBT.js +1 -1
  44. package/dist/browser/chunks/interface-calendar-date-one.svg-DNnF0M1I.js +1 -1
  45. package/dist/browser/chunks/interface-content-book-open-pages.svg-CQj_w9Vp.js +1 -1
  46. package/dist/browser/chunks/interface-content-book-page.svg-DppoeJRe.js +1 -1
  47. package/dist/browser/chunks/interface-content-file.svg-CvcD7OiY.js +1 -1
  48. package/dist/browser/chunks/interface-content-folder.svg-BmtS5I9A.js +1 -1
  49. package/dist/browser/chunks/interface-copy-clipboard.svg-Be6EI50X.js +1 -1
  50. package/dist/browser/chunks/interface-edit-attachment.svg-G5TKzpWX.js +1 -1
  51. package/dist/browser/chunks/interface-edit-binocular.svg-jzL-DvGB.js +1 -1
  52. package/dist/browser/chunks/interface-edit-magic-wand.svg-BOTlymvp.js +1 -1
  53. package/dist/browser/chunks/interface-edit-tool-paint-roller.svg-s9dwryx7.js +1 -1
  54. package/dist/browser/chunks/interface-edit-tool-pencil.svg-C7v0dbB3.js +1 -1
  55. package/dist/browser/chunks/interface-favorite-award.svg-CYHUgUG0.js +1 -1
  56. package/dist/browser/chunks/interface-favorite-flag.svg-C10zlKOb.js +1 -1
  57. package/dist/browser/chunks/interface-favorite-heart.svg-eoduXxlz.js +1 -1
  58. package/dist/browser/chunks/interface-favorite-star.svg-BSmxJetr.js +1 -1
  59. package/dist/browser/chunks/interface-favorite-stars-sparkles.svg-JTFLj3Ls.js +1 -1
  60. package/dist/browser/chunks/interface-hierarchy-flowchart.svg-Cg_Wy0kN.js +1 -1
  61. package/dist/browser/chunks/interface-home-house.svg-DytoGRnv.js +1 -1
  62. package/dist/browser/chunks/interface-hyperlink.svg-CuEfmmQI.js +1 -1
  63. package/dist/browser/chunks/interface-lighting-brightness.svg-DSK0h_Pa.js +1 -1
  64. package/dist/browser/chunks/interface-lock-closed.svg-Cn6TaLYv.js +1 -1
  65. package/dist/browser/chunks/interface-lock-open-unlock.svg-CVkG5-9W.js +1 -1
  66. package/dist/browser/chunks/interface-login-key.svg-y-cwwXjN.js +1 -1
  67. package/dist/browser/chunks/interface-search.svg-S-puVFJB.js +1 -1
  68. package/dist/browser/chunks/interface-setting-cog.svg-CTH4_lLg.js +1 -1
  69. package/dist/browser/chunks/interface-share-megaphone-bullhorn.svg-Pbp39MyC.js +1 -1
  70. package/dist/browser/chunks/interface-share-rocket.svg-BgCsIRZO.js +1 -1
  71. package/dist/browser/chunks/interface-share-satellite.svg-DAMN9d5G.js +1 -1
  72. package/dist/browser/chunks/interface-share-space-ship.svg-Dt-Mejxk.js +1 -1
  73. package/dist/browser/chunks/interface-share.svg-vFYTXSti.js +1 -1
  74. package/dist/browser/chunks/interface-signal-square.svg-DNG4LpAe.js +1 -1
  75. package/dist/browser/chunks/interface-time-clock-circle.svg-Bpz-nLxo.js +1 -1
  76. package/dist/browser/chunks/interface-time-hour-glass.svg-D7agfKsH.js +1 -1
  77. package/dist/browser/chunks/interface-users-multiple.svg-CkPJBBnG.js +1 -1
  78. package/dist/browser/chunks/interface-weather-moon.svg-CaTZFMPO.js +1 -1
  79. package/dist/browser/chunks/mail-chat-bubble-square.svg-DC8RIihp.js +1 -1
  80. package/dist/browser/chunks/mail-send-email-paper-airplane.svg-D8OLs9jz.js +1 -1
  81. package/dist/browser/chunks/mail-send-envelope.svg-CV33h5Sx.js +1 -1
  82. package/dist/browser/chunks/{modal-Bh68oUy_.js → modal-CKthJJWy.js} +2 -2
  83. package/dist/browser/chunks/modal-CZI71Aau.js +99 -0
  84. package/dist/browser/chunks/money-cashier-receipt.svg-CJL8C2gs.js +1 -1
  85. package/dist/browser/chunks/money-currency-dollar-pay.svg-VdBplCTx.js +1 -1
  86. package/dist/browser/chunks/money-graph-arrow-increase.svg-DcRov3zk.js +1 -1
  87. package/dist/browser/chunks/money-graph-bar-chart-increase.svg-Cc7KxjX-.js +1 -1
  88. package/dist/browser/chunks/nature-ecology-leaf.svg-DR3cTZxt.js +1 -1
  89. package/dist/browser/chunks/phone-telephone.svg-DyY0gUlk.js +1 -1
  90. package/dist/browser/chunks/programming-bug.svg-BHLT-Qhp.js +1 -1
  91. package/dist/browser/chunks/programming-cloud.svg-B6YW33ba.js +1 -1
  92. package/dist/browser/chunks/programming-computer-database-server.svg-B6o5Sdn-.js +1 -1
  93. package/dist/browser/chunks/programming-computer-database.svg-Cl7OVtpJ.js +1 -1
  94. package/dist/browser/chunks/programming-module-four-layout.svg-BQrerL1x.js +1 -1
  95. package/dist/browser/chunks/programming-module-three.svg-B2KTQzBM.js +1 -1
  96. package/dist/browser/chunks/programming-module.svg-CiID7kPm.js +1 -1
  97. package/dist/browser/chunks/programming-script-code.svg-D1M5rtkN.js +1 -1
  98. package/dist/browser/chunks/runtime-core.esm-bundler-Byrbbu5Q.js +1 -1
  99. package/dist/browser/chunks/shopping-cart.svg-BEegiIR9.js +1 -1
  100. package/dist/browser/chunks/shopping-gift-present.svg-BUHwuLix.js +1 -1
  101. package/dist/browser/chunks/shopping-shipping-box-parcel-package.svg-D6fxWdYx.js +1 -1
  102. package/dist/browser/chunks/tag-new-circle.svg-jsg1bGs0.js +1 -1
  103. package/dist/browser/chunks/travel-map-earth-globe.svg-ClbMiU-f.js +1 -1
  104. package/dist/browser/chunks/vendor-BeJNu9KM.js +306 -0
  105. package/dist/browser/standalone.esm.js +6 -6
  106. package/dist/browser/standalone.js +250 -249
  107. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  108. package/dist/components/ApiReference.vue.js +1 -1
  109. package/dist/components/ApiReference.vue.js.map +1 -1
  110. package/dist/components/ApiReference.vue.script.js +48 -14
  111. package/dist/components/ApiReference.vue.script.js.map +1 -1
  112. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.d.ts +10 -0
  113. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.d.ts.map +1 -0
  114. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.js +9 -0
  115. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.js.map +1 -0
  116. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js +43 -0
  117. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js.map +1 -0
  118. package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.js.map +1 -1
  119. package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js +2 -1
  120. package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js.map +1 -1
  121. package/dist/components/Content/AsyncApi/Channel.vue.d.ts +4 -1
  122. package/dist/components/Content/AsyncApi/Channel.vue.d.ts.map +1 -1
  123. package/dist/components/Content/AsyncApi/Channel.vue.js +1 -1
  124. package/dist/components/Content/AsyncApi/Channel.vue.js.map +1 -1
  125. package/dist/components/Content/AsyncApi/Channel.vue.script.js +98 -44
  126. package/dist/components/Content/AsyncApi/Channel.vue.script.js.map +1 -1
  127. package/dist/components/Content/AsyncApi/Message.vue.d.ts +18 -0
  128. package/dist/components/Content/AsyncApi/Message.vue.d.ts.map +1 -0
  129. package/dist/components/Content/AsyncApi/Message.vue.js +9 -0
  130. package/dist/components/Content/AsyncApi/Message.vue.js.map +1 -0
  131. package/dist/components/Content/AsyncApi/Message.vue.script.js +159 -0
  132. package/dist/components/Content/AsyncApi/Message.vue.script.js.map +1 -0
  133. package/dist/components/Content/AsyncApi/Operation.vue.d.ts +18 -0
  134. package/dist/components/Content/AsyncApi/Operation.vue.d.ts.map +1 -0
  135. package/dist/components/Content/AsyncApi/Operation.vue.js +9 -0
  136. package/dist/components/Content/AsyncApi/Operation.vue.js.map +1 -0
  137. package/dist/components/Content/AsyncApi/Operation.vue.script.js +84 -0
  138. package/dist/components/Content/AsyncApi/Operation.vue.script.js.map +1 -0
  139. package/dist/components/Content/AsyncApi/helpers/async-api-render-options.d.ts +14 -0
  140. package/dist/components/Content/AsyncApi/helpers/async-api-render-options.d.ts.map +1 -0
  141. package/dist/components/Content/AsyncApi/helpers/async-api-render-options.js +14 -0
  142. package/dist/components/Content/AsyncApi/helpers/async-api-render-options.js.map +1 -0
  143. package/dist/components/Content/AsyncApi/helpers/filter-children-by-type.d.ts +9 -0
  144. package/dist/components/Content/AsyncApi/helpers/filter-children-by-type.d.ts.map +1 -0
  145. package/dist/components/Content/AsyncApi/helpers/filter-children-by-type.js +12 -0
  146. package/dist/components/Content/AsyncApi/helpers/filter-children-by-type.js.map +1 -0
  147. package/dist/components/Content/AsyncApi/helpers/get-async-api-labels.d.ts +13 -0
  148. package/dist/components/Content/AsyncApi/helpers/get-async-api-labels.d.ts.map +1 -0
  149. package/dist/components/Content/AsyncApi/helpers/get-async-api-labels.js +23 -0
  150. package/dist/components/Content/AsyncApi/helpers/get-async-api-labels.js.map +1 -0
  151. package/dist/components/Content/AsyncApi/helpers/pick-heading.d.ts +10 -0
  152. package/dist/components/Content/AsyncApi/helpers/pick-heading.d.ts.map +1 -0
  153. package/dist/components/Content/AsyncApi/helpers/pick-heading.js +20 -0
  154. package/dist/components/Content/AsyncApi/helpers/pick-heading.js.map +1 -0
  155. package/dist/components/Content/AsyncApi/helpers/resolve-async-api-nodes.d.ts +21 -0
  156. package/dist/components/Content/AsyncApi/helpers/resolve-async-api-nodes.d.ts.map +1 -0
  157. package/dist/components/Content/AsyncApi/helpers/resolve-async-api-nodes.js +35 -0
  158. package/dist/components/Content/AsyncApi/helpers/resolve-async-api-nodes.js.map +1 -0
  159. package/dist/components/Content/Content.vue.d.ts +4 -2
  160. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  161. package/dist/components/Content/Content.vue.js.map +1 -1
  162. package/dist/components/Content/Content.vue.script.js +18 -1
  163. package/dist/components/Content/Content.vue.script.js.map +1 -1
  164. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
  165. package/dist/components/Content/Operations/TraversedEntry.vue.js.map +1 -1
  166. package/dist/components/Content/Operations/TraversedEntry.vue.script.js +0 -1
  167. package/dist/components/Content/Operations/TraversedEntry.vue.script.js.map +1 -1
  168. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  169. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  170. package/dist/components/Content/Schema/Schema.vue.js.map +1 -1
  171. package/dist/components/Content/Schema/Schema.vue.script.js +24 -3
  172. package/dist/components/Content/Schema/Schema.vue.script.js.map +1 -1
  173. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  174. package/dist/components/Content/Schema/SchemaComposition.vue.js.map +1 -1
  175. package/dist/components/Content/Schema/SchemaComposition.vue.script.js +16 -1
  176. package/dist/components/Content/Schema/SchemaComposition.vue.script.js.map +1 -1
  177. package/dist/components/Content/Schema/SchemaHeading.vue.script.js +1 -1
  178. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +0 -6
  179. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  180. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  181. package/dist/components/Content/Schema/SchemaProperty.vue.js.map +1 -1
  182. package/dist/components/Content/Schema/SchemaProperty.vue.script.js +37 -8
  183. package/dist/components/Content/Schema/SchemaProperty.vue.script.js.map +1 -1
  184. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
  185. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +10 -9
  186. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js.map +1 -1
  187. package/dist/components/Content/Schema/helpers/should-display-description.d.ts.map +1 -1
  188. package/dist/components/Content/Schema/helpers/should-display-description.js +1 -1
  189. package/dist/components/Content/Schema/helpers/should-display-description.js.map +1 -1
  190. package/dist/components/Content/Tags/Tag.vue.d.ts +0 -1
  191. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
  192. package/dist/components/Content/Tags/Tag.vue.js.map +1 -1
  193. package/dist/components/Content/Tags/Tag.vue.script.js +0 -3
  194. package/dist/components/Content/Tags/Tag.vue.script.js.map +1 -1
  195. package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts +0 -1
  196. package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts.map +1 -1
  197. package/dist/components/Content/Tags/components/ModernLayout.vue.js +1 -1
  198. package/dist/components/Content/Tags/components/ModernLayout.vue.js.map +1 -1
  199. package/dist/components/Content/Tags/components/ModernLayout.vue.script.js +0 -3
  200. package/dist/components/Content/Tags/components/ModernLayout.vue.script.js.map +1 -1
  201. package/dist/components/Content/Tags/components/TagSection.vue.d.ts +0 -1
  202. package/dist/components/Content/Tags/components/TagSection.vue.d.ts.map +1 -1
  203. package/dist/components/Content/Tags/components/TagSection.vue.js.map +1 -1
  204. package/dist/components/Content/Tags/components/TagSection.vue.script.js +5 -6
  205. package/dist/components/Content/Tags/components/TagSection.vue.script.js.map +1 -1
  206. package/dist/components/RenderPlugins/RenderPluginView.vue.d.ts +11 -0
  207. package/dist/components/RenderPlugins/RenderPluginView.vue.d.ts.map +1 -0
  208. package/dist/components/RenderPlugins/RenderPluginView.vue.js +7 -0
  209. package/dist/components/RenderPlugins/RenderPluginView.vue.js.map +1 -0
  210. package/dist/components/RenderPlugins/RenderPluginView.vue.script.js +45 -0
  211. package/dist/components/RenderPlugins/RenderPluginView.vue.script.js.map +1 -0
  212. package/dist/components/RenderPlugins/RenderPlugins.vue.d.ts +5 -1
  213. package/dist/components/RenderPlugins/RenderPlugins.vue.d.ts.map +1 -1
  214. package/dist/components/RenderPlugins/RenderPlugins.vue.js.map +1 -1
  215. package/dist/components/RenderPlugins/RenderPlugins.vue.script.js +17 -22
  216. package/dist/components/RenderPlugins/RenderPlugins.vue.script.js.map +1 -1
  217. package/dist/components/Section/SectionContent.vue.d.ts +1 -6
  218. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  219. package/dist/components/Section/SectionContent.vue.js +7 -2
  220. package/dist/components/Section/SectionContent.vue.js.map +1 -1
  221. package/dist/components/Section/SectionHeader.vue.d.ts +3 -4
  222. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  223. package/dist/components/Section/SectionHeader.vue.js +1 -1
  224. package/dist/components/Section/SectionHeader.vue.js.map +1 -1
  225. package/dist/components/Section/SectionHeader.vue.script.js +5 -10
  226. package/dist/components/Section/SectionHeader.vue.script.js.map +1 -1
  227. package/dist/helpers/get-async-api-message-payload-schema.d.ts +18 -0
  228. package/dist/helpers/get-async-api-message-payload-schema.d.ts.map +1 -0
  229. package/dist/helpers/get-async-api-message-payload-schema.js +33 -0
  230. package/dist/helpers/get-async-api-message-payload-schema.js.map +1 -0
  231. package/dist/helpers/get-async-api-model-schema.d.ts.map +1 -1
  232. package/dist/helpers/get-async-api-model-schema.js +2 -11
  233. package/dist/helpers/get-async-api-model-schema.js.map +1 -1
  234. package/dist/helpers/lazy-bus.d.ts +10 -0
  235. package/dist/helpers/lazy-bus.d.ts.map +1 -1
  236. package/dist/helpers/lazy-bus.js +22 -1
  237. package/dist/helpers/lazy-bus.js.map +1 -1
  238. package/dist/helpers/map-config-plugins.d.ts +8 -3
  239. package/dist/helpers/map-config-plugins.d.ts.map +1 -1
  240. package/dist/helpers/map-config-plugins.js +22 -4
  241. package/dist/helpers/map-config-plugins.js.map +1 -1
  242. package/dist/plugins/index.d.ts +1 -1
  243. package/dist/plugins/index.d.ts.map +1 -1
  244. package/dist/plugins/plugin-manager.d.ts +27 -2
  245. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  246. package/dist/plugins/plugin-manager.js +32 -2
  247. package/dist/plugins/plugin-manager.js.map +1 -1
  248. package/dist/style.css +850 -570
  249. package/dist/vue-styles.css +550 -452
  250. package/package.json +14 -14
  251. package/dist/browser/chunks/AgentScalarChatInterface-Dv0uBVU9.js +0 -27
  252. package/dist/browser/chunks/ScalarTextInput.vue-ZmlutrTU.js +0 -27
  253. package/dist/browser/chunks/modal-DHI6k89v.js +0 -66
  254. package/dist/browser/chunks/vendor-Cx_C-51y.js +0 -338
  255. package/dist/components/LoadingSkeleton.vue.d.ts +0 -9
  256. package/dist/components/LoadingSkeleton.vue.d.ts.map +0 -1
  257. package/dist/components/LoadingSkeleton.vue.js +0 -9
  258. package/dist/components/LoadingSkeleton.vue.js.map +0 -1
  259. package/dist/components/LoadingSkeleton.vue.script.js +0 -20
  260. package/dist/components/LoadingSkeleton.vue.script.js.map +0 -1
  261. package/dist/components/Section/SectionContent.vue.script.js +0 -23
  262. package/dist/components/Section/SectionContent.vue.script.js.map +0 -1
@@ -0,0 +1,306 @@
1
+ import{a as e,i as t,o as n,r,s as i}from"./browser-67K6wmG9.js";import{$ as a,A as o,At as s,B as c,Bt as l,C as u,Ct as d,D as f,Dt as p,Et as m,F as h,Ft as g,G as _,Gt as v,H as y,Ht as b,It as ee,J as x,Jt as te,K as S,Kt as ne,L as re,Lt as ie,Mt as ae,Nt as oe,Ot as C,P as se,Pt as ce,Q as le,R as ue,Rt as de,S as w,T as fe,Tt as T,U as pe,Ut as me,Vt as he,W as ge,Wt as _e,X as ve,Y as ye,Yt as be,Z as xe,Zt as Se,_ as Ce,_t as we,a as Te,at as E,b as D,bt as Ee,c as De,d as O,et as Oe,f as k,ft as ke,g as Ae,gt as A,h as je,ht as Me,i as Ne,j as Pe,jt as Fe,k as Ie,kt as Le,l as j,lt as Re,m as ze,mt as Be,n as Ve,nt as He,o as Ue,ot as We,p as M,pt as Ge,q as Ke,qt as qe,s as eee,st as Je,t as Ye,tt as Xe,u as N,v as Ze,vt as Qe,w as $e,xt as et,y as tt,yt as nt,zt as tee}from"./runtime-core.esm-bundler-Byrbbu5Q.js";import{t as rt}from"./interface-content-folder.svg-BmtS5I9A.js";var it=`Models`,at=e=>!!(!Array.isArray(e)&&e&&`sources`in e&&Array.isArray(e.sources)),ot=e=>({type:`number`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),P=e=>({type:`string`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),st=e=>({type:`boolean`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),ct=e=>({type:`nullable`,typeName:e?.typeName,typeComment:e?.typeComment}),lt=e=>({type:`any`,typeName:e?.typeName,typeComment:e?.typeComment}),ut=e=>({type:`unknown`,typeName:e?.typeName,typeComment:e?.typeComment}),nee=e=>({type:`function`,typeName:e?.typeName,typeComment:e?.typeComment}),dt=(e,t)=>({type:`array`,items:e,typeName:t?.typeName,typeComment:t?.typeComment}),ft=(e,t,n)=>({type:`record`,key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),pt=(e,t)=>({type:`object`,properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),mt=(e,t)=>({type:`union`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),ht=(e,t)=>({type:`intersection`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),F=(e,t)=>({type:`optional`,schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),gt=e=>({type:`literal`,value:e}),_t=e=>({type:`lazy`,schema:e}),vt=(e,t)=>({type:`evaluate`,expression:e,schema:t}),yt=void 0,bt=typeof window<`u`&&window.trustedTypes;if(bt)try{yt=bt.createPolicy(`vue`,{createHTML:e=>e})}catch{}var xt=yt?e=>yt.createHTML(e):e=>e,ree=`http://www.w3.org/2000/svg`,iee=`http://www.w3.org/1998/Math/MathML`,St=typeof document<`u`?document:null,Ct=St&&St.createElement(`template`),wt={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?St.createElementNS(ree,e):t===`mathml`?St.createElementNS(iee,e):n?St.createElement(e,{is:n}):St.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{Ct.innerHTML=xt(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Ct.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tt=`transition`,Et=`animation`,Dt=Symbol(`_vtc`),Ot={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},kt=Le({},Ve,Ot),At=(e=>(e.displayName=`Transition`,e.props=kt,e))((e,{slots:t})=>fe(Ye,aee(e),t)),jt=(e,t=[])=>{oe(e)?e.forEach(e=>e(...t)):e&&e(...t)},Mt=e=>e?oe(e)?e.some(e=>e.length>1):e.length>1:!1;function aee(e){let t={};for(let n in e)n in Ot||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=oee(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:ee,onBeforeAppear:x=_,onAppear:te=v,onAppearCancelled:S=y}=t,ne=(e,t,n,r)=>{e._enterCancelled=r,Ft(e,t?u:s),Ft(e,t?l:o),n&&n()},re=(e,t)=>{e._isLeaving=!1,Ft(e,d),Ft(e,p),Ft(e,f),t&&t()},ie=e=>(t,n)=>{let i=e?te:v,o=()=>ne(t,e,n);jt(i,[t,o]),It(()=>{Ft(t,e?c:a),Pt(t,e?u:s),Mt(i)||Lt(t,r,h,o)})};return Le(t,{onBeforeEnter(e){jt(_,[e]),Pt(e,a),Pt(e,o)},onBeforeAppear(e){jt(x,[e]),Pt(e,c),Pt(e,l)},onEnter:ie(!1),onAppear:ie(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>re(e,t);Pt(e,d),e._enterCancelled?(Pt(e,f),Bt(e)):(Bt(e),Pt(e,f)),It(()=>{e._isLeaving&&(Ft(e,d),Pt(e,p),Mt(b)||Lt(e,r,g,n))}),jt(b,[e,n])},onEnterCancelled(e){ne(e,!1,void 0,!0),jt(y,[e])},onAppearCancelled(e){ne(e,!0,void 0,!0),jt(S,[e])},onLeaveCancelled(e){re(e),jt(ee,[e])}})}function oee(e){if(e==null)return null;if(ee(e))return[Nt(e.enter),Nt(e.leave)];{let t=Nt(e);return[t,t]}}function Nt(e){return Se(e)}function Pt(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Dt]||(e[Dt]=new Set)).add(t)}function Ft(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[Dt];n&&(n.delete(t),n.size||(e[Dt]=void 0))}function It(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var see=0;function Lt(e,t,n,r){let i=e._endId=++see,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=cee(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function cee(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${Tt}Delay`),a=r(`${Tt}Duration`),o=Rt(i,a),s=r(`${Et}Delay`),c=r(`${Et}Duration`),l=Rt(s,c),u=null,d=0,f=0;t===Tt?o>0&&(u=Tt,d=o,f=a.length):t===Et?l>0&&(u=Et,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?Tt:Et:null,f=u?u===Tt?a.length:c.length:0);let p=u===Tt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Tt}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Rt(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>zt(t)+zt(e[n])))}function zt(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Bt(e){return(e?e.ownerDocument:document).body.offsetHeight}function Vt(e,t,n){let r=e[Dt];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ht=Symbol(`_vod`),Ut=Symbol(`_vsh`),Wt={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Ht]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Gt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Gt(e,!0),r.enter(e)):r.leave(e,()=>{Gt(e,!1)}):Gt(e,t))},beforeUnmount(e,{value:t}){Gt(e,t)}};function Gt(e,t){e.style.display=t?e[Ht]:`none`,e[Ut]=!t}var Kt=Symbol(``);function qt(e){let t=u();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Yt(e,n))},r=()=>{let r=e(t.proxy);t.ce?Yt(t.ce,r):Jt(t.subTree,r),n(r)};h(()=>{ge(r)}),ue(()=>{Xe(r,m,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),c(()=>e.disconnect())})}function Jt(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Jt(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Yt(e.el,t);else if(e.type===Ne)e.children.forEach(e=>Jt(e,t));else if(e.type===Te){let{el:n,anchor:r}=e;for(;n&&(Yt(n,t),n!==r);)n=n.nextSibling}}function Yt(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=ne(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Kt]=r}}var Xt=/(?:^|;)\s*display\s*:/;function Zt(e,t,n){let r=e.style,i=l(n),a=!1;if(n&&!i){if(t)if(l(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??$t(r,t,``)}else for(let e in t)n[e]??$t(r,e,``);for(let e in n)e===`display`&&(a=!0),$t(r,e,n[e])}else if(i){if(t!==n){let e=r[Kt];e&&(n+=`;`+e),r.cssText=n,a=Xt.test(n)}}else t&&e.removeAttribute(`style`);Ht in e&&(e[Ht]=a?r.display:``,e[Ut]&&(r.display=`none`))}var Qt=/\s*!important$/;function $t(e,t,n){if(oe(n))n.forEach(n=>$t(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=lee(e,t);Qt.test(n)?e.setProperty(s(r),n.replace(Qt,``),`important`):e[r]=n}}var en=[`Webkit`,`Moz`,`ms`],tn={};function lee(e,t){let n=tn[t];if(n)return n;let r=p(t);if(r!==`filter`&&r in e)return tn[t]=r;r=C(r);for(let n=0;n<en.length;n++){let i=en[n]+r;if(i in e)return tn[t]=i}return t}var nn=`http://www.w3.org/1999/xlink`;function rn(e,t,n,r,i,a=tee(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(nn,t.slice(6,t.length)):e.setAttributeNS(nn,t,n):n==null||a&&!Fe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:he(n)?String(n):n)}function an(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?xt(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Fe(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function on(e,t,n,r){e.addEventListener(t,n,r)}function uee(e,t,n,r){e.removeEventListener(t,n,r)}var sn=Symbol(`_vei`);function dee(e,t,n,r,i=null){let a=e[sn]||(e[sn]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=ln(t);r?on(e,n,a[t]=pn(r,i),s):o&&(uee(e,n,o,s),a[t]=void 0)}}var cn=/(?:Once|Passive|Capture)$/;function ln(e){let t;if(cn.test(e)){t={};let n;for(;n=e.match(cn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):s(e.slice(2)),t]}var un=0,dn=Promise.resolve(),fn=()=>un||=(dn.then(()=>un=0),Date.now());function pn(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;eee(mn(e,n.value),t,5,[e])};return n.value=e,n.attached=fn(),n}function mn(e,t){if(oe(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gn=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?Vt(e,r,o):t===`style`?Zt(e,n,r):ie(t)?g(t)||dee(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):_n(e,t,r,o))?(an(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&rn(e,t,r,o,a,t!==`value`)):e._isVueCE&&(vn(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!l(r)))?an(e,p(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),rn(e,t,r,o))};function _n(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&hn(t)&&ce(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return hn(t)&&l(n)?!1:t in e}function vn(e,t){let n=e._def.props;if(!n)return!1;let r=p(t);return Array.isArray(n)?n.some(e=>p(e)===r):Object.keys(n).some(e=>p(e)===r)}var yn=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return oe(t)?e=>ae(t,e):t};function bn(e){e.target.composing=!0}function xn(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Sn=Symbol(`_assign`);function Cn(e,t,n){return t&&(e=e.trim()),n&&(e=_e(e)),e}var wn={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Sn]=yn(i);let a=r||i.props&&i.props.type===`number`;on(e,t?`change`:`input`,t=>{t.target.composing||e[Sn](Cn(e.value,n,a))}),(n||a)&&on(e,`change`,()=>{e.value=Cn(e.value,n,a)}),t||(on(e,`compositionstart`,bn),on(e,`compositionend`,xn),on(e,`change`,xn))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Sn]=yn(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?_e(e.value):e.value,c=t??``;s!==c&&(document.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c))}},Tn={deep:!0,created(e,t,n){e[Sn]=yn(n),on(e,`change`,()=>{let t=e._modelValue,n=An(e),r=e.checked,i=e[Sn];if(oe(t)){let e=me(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(de(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(jn(e,r))})},mounted:En,beforeUpdate(e,t,n){e[Sn]=yn(n),En(e,t,n)}};function En(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(oe(t))i=me(t,r.props.value)>-1;else if(de(t))i=t.has(r.props.value);else{if(t===n)return;i=b(t,jn(e,!0))}e.checked!==i&&(e.checked=i)}var Dn={created(e,{value:t},n){e.checked=b(t,n.props.value),e[Sn]=yn(n),on(e,`change`,()=>{e[Sn](An(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Sn]=yn(r),t!==n&&(e.checked=b(t,r.props.value))}},On={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i=de(t);on(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?_e(An(e)):An(e));e[Sn](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,Pe(()=>{e._assigning=!1})}),e[Sn]=yn(r)},mounted(e,{value:t}){kn(e,t)},beforeUpdate(e,t,n){e[Sn]=yn(n)},updated(e,{value:t}){e._assigning||kn(e,t)}};function kn(e,t){let n=e.multiple,r=oe(t);if(!(n&&!r&&!de(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=An(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=me(t,o)>-1}else a.selected=t.has(o);else if(b(An(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function An(e){return`_value`in e?e._value:e.value}function jn(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Mn={created(e,t,n){Pn(e,t,n,null,`created`)},mounted(e,t,n){Pn(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){Pn(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){Pn(e,t,n,r,`updated`)}};function Nn(e,t){switch(e){case`SELECT`:return On;case`TEXTAREA`:return wn;default:switch(t){case`checkbox`:return Tn;case`radio`:return Dn;default:return wn}}}function Pn(e,t,n,r,i){let a=Nn(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}var Fn=[`ctrl`,`shift`,`alt`,`meta`],In={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Fn.some(n=>e[`${n}Key`]&&!t.includes(n))},Ln=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=In[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Rn={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},zn=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=s(n.key);if(t.some(e=>e===r||Rn[e]===r))return e(n)}))},Bn=Le({patchProp:gn},wt),Vn,Hn=!1;function Un(){return Vn||=Ae(Bn)}function fee(){return Vn=Hn?Vn:ze(Bn),Hn=!0,Vn}var pee=((...e)=>{Un().render(...e)}),Wn=((...e)=>{let t=Un().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Kn(e);if(!r)return;let i=t._component;!ce(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Gn(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),mee=((...e)=>{let t=fee().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Kn(e);if(t)return n(t,!0,Gn(t))},t});function Gn(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Kn(e){return l(e)?document.querySelector(e):e}function hee(e,t,n){let r=A(n?.value),i=j(()=>e.value!==void 0);return[j(()=>i.value?e.value:r.value),function(e){return i.value||(r.value=e),t?.(e)}]}function qn(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function Jn(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let n=setTimeout(...e);t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return qn(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=Jn();return e(t),this.add(()=>t.dispose())},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}var Yn=Symbol(`headlessui.useid`),gee=0,Xn=xe??function(){return f(Yn,()=>`${++gee}`)()};function Zn(e){pe(Yn,e)}function I(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}function Qn(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(`, `)}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Qn),r}var $n=Object.defineProperty,er=(e,t,n)=>t in e?$n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tr=(e,t,n)=>(er(e,typeof t==`symbol`?t:t+``,n),n),nr=new class{constructor(){tr(this,`current`,this.detect()),tr(this,`currentId`,0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current===`server`}get isClient(){return this.current===`client`}detect(){return typeof window>`u`||typeof document>`u`?`server`:`client`}};function rr(e){if(nr.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=I(e);if(t)return t.ownerDocument}return document}var ir=[`[contentEditable=true]`,`[tabindex]`,`a[href]`,`area[href]`,`button:not([disabled])`,`iframe`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`].map(e=>`${e}:not([tabindex='-1'])`).join(`,`),ar=(e=>(e[e.First=1]=`First`,e[e.Previous=2]=`Previous`,e[e.Next=4]=`Next`,e[e.Last=8]=`Last`,e[e.WrapAround=16]=`WrapAround`,e[e.NoScroll=32]=`NoScroll`,e))(ar||{}),or=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(or||{}),sr=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(sr||{});function cr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(ir)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var lr=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(lr||{});function ur(e,t=0){return e===rr(e)?.body?!1:Qn(t,{0(){return e.matches(ir)},1(){let t=e;for(;t!==null;){if(t.matches(ir))return!0;t=t.parentElement}return!1}})}function dr(e){let t=rr(e);Pe(()=>{t&&!ur(t.activeElement,0)&&pr(e)})}var fr=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(fr||{});typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`keydown`,e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible=``)},!0),document.addEventListener(`click`,e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible=``)},!0));function pr(e){e?.focus({preventScroll:!0})}var mr=[`textarea`,`input`].join(`,`);function hr(e){return(e?.matches)?.call(e,mr)??!1}function gr(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _r(e,t){return vr(cr(),t,{relativeTo:e})}function vr(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,o=Array.isArray(e)?n?gr(e):e:cr(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r??=a.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==a.activeElement);return t&6&&hr(f)&&f.select(),2}function yr(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function br(){return/Android/gi.test(window.navigator.userAgent)}function xr(){return yr()||br()}function Sr(e,t,n){nr.isServer||He(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Cr(e,t,n){nr.isServer||He(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function wr(e,t,n=j(()=>!0)){function r(r,i){if(!n.value||r.defaultPrevented)return;let a=i(r);if(a===null||!a.getRootNode().contains(a))return;let o=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of o){if(e===null)continue;let t=e instanceof HTMLElement?e:I(e);if(t!=null&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}return!ur(a,lr.Loose)&&a.tabIndex!==-1&&r.preventDefault(),t(r,a)}let i=A(null);Sr(`pointerdown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Sr(`mousedown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Sr(`click`,e=>{xr()||(i.value&&=(r(e,()=>i.value),null))},!0),Sr(`touchend`,e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),Cr(`blur`,e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Tr(e,t){if(e)return e;let n=t??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`)return`button`}function Er(e,t){let n=A(Tr(e.value.type,e.value.as));return ue(()=>{n.value=Tr(e.value.type,e.value.as)}),He(()=>{var e;n.value||I(t)&&I(t)instanceof HTMLButtonElement&&!((e=I(t))!=null&&e.hasAttribute(`type`))&&(n.value=`button`)}),n}function Dr(e){return[e.screenX,e.screenY]}function Or(){let e=A([-1,-1]);return{wasMoved(t){let n=Dr(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Dr(t)}}}var kr=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(kr||{}),Ar=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(Ar||{});function jr({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=Pr(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?Mr(s):t&1?Qn((a=o.unmount)==null||a?0:1,{0(){return null},1(){return Mr({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):Mr(s)}function Mr({props:e,attrs:t,slots:n,slot:r,name:i}){let{as:a,...o}=Ir(e,[`unmount`,`static`]),s=n.default?.call(n,r),c={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))typeof i==`boolean`&&(e=!0),i===!0&&t.push(n);e&&(c[`data-headlessui-state`]=t.join(` `))}if(a===`template`){if(s=Nr(s??[]),Object.keys(o).length>0||Object.keys(t).length>0){let[e,...n]=s??[];if(!Lr(e)||n.length>0)throw Error([`Passing props on "template"!`,``,`The current component <${i} /> is rendering a "template".`,`However we need to passthrough the following props:`,Object.keys(o).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>` - ${e}`).join(`
2
+ `),``,`You can apply a few solutions:`,['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',`Render a single element as the child so that we can forward the props onto that element.`].map(e=>` - ${e}`).join(`
3
+ `)].join(`
4
+ `));let r=Pr(e.props??{},o,c),a=De(e,r,!0);for(let e in r)e.startsWith(`on`)&&(a.props||={},a.props[e]=r[e]);return a}return Array.isArray(s)&&s.length===1?s[0]:s}return fe(a,Object.assign({},o,c),{default:()=>s})}function Nr(e){return e.flatMap(e=>e.type===Ne?Nr(e.children):[e])}function Pr(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function Fr(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function Ir(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function Lr(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}var Rr=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(Rr||{}),zr=w({name:`Hidden`,props:{as:{type:[Object,String],default:`div`},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e;return jr({ourProps:{"aria-hidden":(r&2)==2?!0:i[`aria-hidden`]??void 0,hidden:(r&4)==4?!0:void 0,style:{position:`fixed`,top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`,...(r&4)==4&&(r&2)!=2&&{display:`none`}}},theirProps:i,slot:{},attrs:n,slots:t,name:`Hidden`})}}}),Br=Symbol(`Context`),Vr=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(Vr||{});function Hr(){return f(Br,null)}function Ur(e){pe(Br,e)}var Wr=(e=>(e.Space=` `,e.Enter=`Enter`,e.Escape=`Escape`,e.Backspace=`Backspace`,e.Delete=`Delete`,e.ArrowLeft=`ArrowLeft`,e.ArrowUp=`ArrowUp`,e.ArrowRight=`ArrowRight`,e.ArrowDown=`ArrowDown`,e.Home=`Home`,e.End=`End`,e.PageUp=`PageUp`,e.PageDown=`PageDown`,e.Tab=`Tab`,e))(Wr||{});function _ee(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Gr=[];_ee(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Gr[0]!==e.target&&(Gr.unshift(e.target),Gr=Gr.filter(e=>e!=null&&e.isConnected),Gr.splice(10))}window.addEventListener(`click`,e,{capture:!0}),window.addEventListener(`mousedown`,e,{capture:!0}),window.addEventListener(`focus`,e,{capture:!0}),document.body.addEventListener(`click`,e,{capture:!0}),document.body.addEventListener(`mousedown`,e,{capture:!0}),document.body.addEventListener(`focus`,e,{capture:!0})});function vee(e){throw Error(`Unexpected object: `+e)}var Kr=(e=>(e[e.First=0]=`First`,e[e.Previous=1]=`Previous`,e[e.Next=2]=`Next`,e[e.Last=3]=`Last`,e[e.Specific=4]=`Specific`,e[e.Nothing=5]=`Nothing`,e))(Kr||{});function qr(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:i===-1&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:vee(e)}}function Jr(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))Xr(n,Yr(t,r),i);return n}function Yr(e,t){return e?e+`[`+t+`]`:t}function Xr(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())Xr(e,Yr(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n==`boolean`?e.push([t,n?`1`:`0`]):typeof n==`string`?e.push([t,n]):typeof n==`number`?e.push([t,`${n}`]):n==null?e.push([t,``]):Jr(n,t,e)}function Zr(e,t,n,r){nr.isServer||He(i=>{e??=window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var Qr=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(Qr||{});function $r(){let e=A(0);return Cr(`keydown`,t=>{t.key===`Tab`&&(e.value=t.shiftKey?1:0)}),e}function ei(e){if(!e)return new Set;if(typeof e==`function`)return new Set(e());let t=new Set;for(let n of e.value){let e=I(n);e instanceof HTMLElement&&t.add(e)}return t}var ti=(e=>(e[e.None=1]=`None`,e[e.InitialFocus=2]=`InitialFocus`,e[e.TabLock=4]=`TabLock`,e[e.FocusLock=8]=`FocusLock`,e[e.RestoreFocus=16]=`RestoreFocus`,e[e.All=30]=`All`,e))(ti||{}),ni=Object.assign(w({name:`FocusTrap`,props:{as:{type:[Object,String],default:`div`},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:A(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=A(null);r({el:i,$el:i});let a=j(()=>rr(i)),o=A(!1);ue(()=>o.value=!0),c(()=>o.value=!1),bee({ownerDocument:a},j(()=>o.value&&!!(e.features&16)));let s=xee({ownerDocument:a,container:i,initialFocus:j(()=>e.initialFocus)},j(()=>o.value&&!!(e.features&2)));See({ownerDocument:a,container:i,containers:e.containers,previousActiveElement:s},j(()=>o.value&&!!(e.features&8)));let l=$r();function u(e){let t=I(i);t&&(e=>e())(()=>{Qn(l.value,{[Qr.Forwards]:()=>{vr(t,ar.First,{skipElements:[e.relatedTarget]})},[Qr.Backwards]:()=>{vr(t,ar.Last,{skipElements:[e.relatedTarget]})}})})}let d=A(!1);function f(e){e.key===`Tab`&&(d.value=!0,requestAnimationFrame(()=>{d.value=!1}))}function p(t){if(!o.value)return;let n=ei(e.containers);I(i)instanceof HTMLElement&&n.add(I(i));let r=t.relatedTarget;r instanceof HTMLElement&&r.dataset.headlessuiFocusGuard!==`true`&&(ri(n,r)||(d.value?vr(I(i),Qn(l.value,{[Qr.Forwards]:()=>ar.Next,[Qr.Backwards]:()=>ar.Previous})|ar.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&pr(t.target)))}return()=>{let r={},a={ref:i,onKeydown:f,onFocusout:p},{features:o,initialFocus:s,containers:c,...l}=e;return fe(Ne,[!!(o&4)&&fe(zr,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Rr.Focusable}),jr({ourProps:a,theirProps:{...t,...l},slot:r,attrs:t,slots:n,name:`FocusTrap`}),!!(o&4)&&fe(zr,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Rr.Focusable})])}}}),{features:ti});function yee(e){let t=A(Gr.slice());return Xe([e],([e],[n])=>{n===!0&&e===!1?qn(()=>{t.value.splice(0)}):n===!1&&e===!0&&(t.value=Gr.slice())},{flush:`post`}),()=>t.value.find(e=>e!=null&&e.isConnected)??null}function bee({ownerDocument:e},t){let n=yee(t);ue(()=>{He(()=>{t.value||e.value?.activeElement===e.value?.body&&pr(n())},{flush:`post`})}),c(()=>{t.value&&pr(n())})}function xee({ownerDocument:e,container:t,initialFocus:n},r){let i=A(null),a=A(!1);return ue(()=>a.value=!0),c(()=>a.value=!1),ue(()=>{Xe([t,n,r],(o,s)=>{if(o.every((e,t)=>s?.[t]===e)||!r.value)return;let c=I(t);c&&qn(()=>{if(!a.value)return;let t=I(n),r=e.value?.activeElement;if(t){if(t===r){i.value=r;return}}else if(c.contains(r)){i.value=r;return}t?pr(t):vr(c,ar.First|ar.NoScroll)===or.Error&&console.warn(`There are no focusable elements inside the <FocusTrap />`),i.value=e.value?.activeElement})},{immediate:!0,flush:`post`})}),i}function See({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){Zr(e.value?.defaultView,`focus`,e=>{if(!i.value)return;let a=ei(n);I(t)instanceof HTMLElement&&a.add(I(t));let o=r.value;if(!o)return;let s=e.target;s&&s instanceof HTMLElement?ri(a,s)?(r.value=s,pr(s)):(e.preventDefault(),e.stopPropagation(),pr(o)):pr(r.value)},!0)}function ri(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function ii(e){let t=nt(e.getSnapshot());return c(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function ai(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...i){let a=t[e].call(n,...i);a&&(n=a,r.forEach(e=>e()))}}}function oi(){let e;return{before({doc:t}){let n=t.documentElement;e=(t.defaultView??window).innerWidth-n.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,`paddingRight`,`${a}px`)}}}function si(){return yr()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{if(window.getComputedStyle(e.documentElement).scrollBehavior!==`auto`){let n=Jn();n.style(e.documentElement,`scrollBehavior`,`auto`),t.add(()=>t.microTask(()=>n.dispose()))}let n=window.scrollY??window.pageYOffset,i=null;t.addEventListener(e,`click`,t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest(`a`);if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);o&&!r(o)&&(i=o)}catch{}},!0),t.addEventListener(e,`touchstart`,e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,`overscrollBehavior`,`contain`)}else t.style(e.target,`touchAction`,`none`)}),t.addEventListener(e,`touchmove`,e=>{if(e.target instanceof HTMLElement){if(e.target.tagName===`INPUT`)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&t.dataset.headlessuiPortal!==``&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;t.dataset.headlessuiPortal===``&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{n!==(window.scrollY??window.pageYOffset)&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:`nearest`}),i=null)})})}}:{}}function ci(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}function li(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var ui=ai(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:Jn(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:li(n)},i=[si(),oi(),ci()];i.forEach(({before:e})=>e?.(r)),i.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});ui.subscribe(()=>{let e=ui.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e=t.get(n.doc)===`hidden`,r=n.count!==0;(r&&!e||!r&&e)&&ui.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&ui.dispatch(`TEARDOWN`,n)}});function di(e,t,n){let r=ii(ui),i=j(()=>{let t=e.value?r.value.get(e.value):void 0;return t?t.count>0:!1});return Xe([e,t],([e,t],[r],i)=>{if(!e||!t)return;ui.dispatch(`PUSH`,e,n);let a=!1;i(()=>{a||=(ui.dispatch(`POP`,r??e,n),!0)})},{immediate:!0}),i}var fi=new Map,pi=new Map;function mi(e,t=A(!0)){He(n=>{if(!t.value)return;let r=I(e);if(!r)return;n(function(){if(!r)return;let e=pi.get(r)??1;if(e===1?pi.delete(r):pi.set(r,e-1),e!==1)return;let t=fi.get(r);t&&(t[`aria-hidden`]===null?r.removeAttribute(`aria-hidden`):r.setAttribute(`aria-hidden`,t[`aria-hidden`]),r.inert=t.inert,fi.delete(r))});let i=pi.get(r)??0;pi.set(r,i+1),i===0&&(fi.set(r,{"aria-hidden":r.getAttribute(`aria-hidden`),inert:r.inert}),r.setAttribute(`aria-hidden`,`true`),r.inert=!0)})}function hi({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=A(null),i=rr(r);function a(){let n=[];for(let t of e)t!==null&&(t instanceof HTMLElement?n.push(t):`value`in t&&t.value instanceof HTMLElement&&n.push(t.value));if(t!=null&&t.value)for(let e of t.value)n.push(e);for(let e of i?.querySelectorAll(`html > *, body > *`)??[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&e.id!==`headlessui-portal-root`&&(e.contains(I(r))||e.contains(I(r)?.getRootNode()?.host)||n.some(t=>e.contains(t))||n.push(e));return n}return{resolveContainers:a,contains(e){return a().some(t=>t.contains(e))},mainTreeNodeRef:r,MainTreeNode(){return n==null?fe(zr,{features:Rr.Hidden,ref:r}):null}}}function gi(){let e=A(null);return{mainTreeNodeRef:e,MainTreeNode(){return fe(zr,{features:Rr.Hidden,ref:e})}}}var _i=Symbol(`ForcePortalRootContext`);function vi(){return f(_i,!1)}var yi=w({name:`ForcePortalRoot`,props:{as:{type:[Object,String],default:`template`},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return pe(_i,e.force),()=>{let{force:r,...i}=e;return jr({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:`ForcePortalRoot`})}}}),bi=Symbol(`StackContext`),xi=(e=>(e[e.Add=0]=`Add`,e[e.Remove=1]=`Remove`,e))(xi||{});function Si(){return f(bi,()=>{})}function Ci({type:e,enabled:t,element:n,onUpdate:r}){let i=Si();function a(...e){r?.(...e),i(...e)}ue(()=>{Xe(t,(t,r)=>{t?a(0,e,n):r===!0&&a(1,e,n)},{immediate:!0,flush:`sync`})}),c(()=>{t.value&&a(1,e,n)}),pe(bi,a)}var wi=Symbol(`DescriptionContext`);function Ti(){let e=f(wi,null);if(e===null)throw Error(`Missing parent`);return e}function Ei({slot:e=A({}),name:t=`Description`,props:n={}}={}){let r=A([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return pe(wi,{register:i,slot:e,name:t,props:n}),j(()=>r.value.length>0?r.value.join(` `):void 0)}w({name:`Description`,props:{as:{type:[Object,String],default:`p`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-description-${Xn()}`,i=Ti();return ue(()=>c(i.register(r))),()=>{let{name:a=`Description`,slot:o=A({}),props:s={}}=i,{...c}=e;return jr({ourProps:{...Object.entries(s).reduce((e,[t,n])=>Object.assign(e,{[t]:T(n)}),{}),id:r},theirProps:c,slot:o.value,attrs:t,slots:n,name:a})}}});function Di(e){let t=rr(e);if(!t){if(e===null)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById(`headlessui-portal-root`);if(n)return n;let r=t.createElement(`div`);return r.setAttribute(`id`,`headlessui-portal-root`),t.body.appendChild(r)}var Oi=new WeakMap;function ki(e){return Oi.get(e)??0}function Ai(e,t){let n=t(ki(e));return n<=0?Oi.delete(e):Oi.set(e,n),n}var ji=w({name:`Portal`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=A(null),i=j(()=>rr(r)),a=vi(),o=f(Pi,null),s=A(a===!0||o==null?Di(r.value):o.resolveTarget());s.value&&Ai(s.value,e=>e+1);let l=A(!1);ue(()=>{l.value=!0}),He(()=>{a||o!=null&&(s.value=o.resolveTarget())});let d=f(Mi,null),p=!1,m=u();return Xe(r,()=>{if(p||!d)return;let e=I(r);e&&(c(d.register(e),m),p=!0)}),c(()=>{var e;let t=i.value?.getElementById(`headlessui-portal-root`);!t||s.value!==t||Ai(s.value,e=>e-1)||s.value.children.length>0||(e=s.value.parentElement)==null||e.removeChild(s.value)}),()=>{if(!l.value||s.value===null)return null;let i={ref:r,"data-headlessui-portal":``};return fe(Ue,{to:s.value},jr({ourProps:i,theirProps:e,slot:{},attrs:n,slots:t,name:`Portal`}))}}}),Mi=Symbol(`PortalParentContext`);function Ni(){let e=f(Mi,null),t=A([]);function n(n){return t.value.push(n),e&&e.register(n),()=>r(n)}function r(n){let r=t.value.indexOf(n);r!==-1&&t.value.splice(r,1),e&&e.unregister(n)}let i={register:n,unregister:r,portals:t};return[t,w({name:`PortalWrapper`,setup(e,{slots:t}){return pe(Mi,i),()=>t.default?.call(t)}})]}var Pi=Symbol(`PortalGroupContext`),Fi=w({name:`PortalGroup`,props:{as:{type:[Object,String],default:`template`},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return pe(Pi,Be({resolveTarget(){return e.target}})),()=>{let{target:r,...i}=e;return jr({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:`PortalGroup`})}}}),Ii=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Ii||{}),Li=Symbol(`DialogContext`);function Ri(e){let t=f(Li,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ri),t}return t}var zi=`DC8F892D-2EBD-447C-A4C8-A03058436FF4`,Bi=w({name:`Dialog`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:zi},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:`dialog`}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-dialog-${Xn()}`,o=A(!1);ue(()=>{o.value=!0});let s=!1,c=j(()=>e.role===`dialog`||e.role===`alertdialog`?e.role:(s||(s=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),`dialog`)),l=A(0),u=Hr(),d=j(()=>e.open===zi&&u!==null?(u.value&Vr.Open)===Vr.Open:e.open),p=A(null),m=j(()=>rr(p));if(i({el:p,$el:p}),!(e.open!==zi||u!==null))throw Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof d.value!=`boolean`)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${d.value===zi?void 0:e.open}`);let h=j(()=>o.value&&d.value?0:1),g=j(()=>h.value===0),_=j(()=>l.value>1),v=f(Li,null)!==null,[y,b]=Ni(),{resolveContainers:ee,mainTreeNodeRef:x,MainTreeNode:te}=hi({portals:y,defaultContainers:[j(()=>C.panelRef.value??p.value)]}),S=j(()=>_.value?`parent`:`leaf`),ne=j(()=>u===null?!1:(u.value&Vr.Closing)===Vr.Closing),re=j(()=>v||ne.value?!1:g.value);mi(j(()=>Array.from(m.value?.querySelectorAll(`body > *`)??[]).find(e=>e.id===`headlessui-portal-root`?!1:e.contains(I(x))&&e instanceof HTMLElement)??null),re);let ie=j(()=>_.value?!0:g.value);mi(j(()=>Array.from(m.value?.querySelectorAll(`[data-headlessui-portal]`)??[]).find(e=>e.contains(I(x))&&e instanceof HTMLElement)??null),ie),Ci({type:`Dialog`,enabled:j(()=>h.value===0),element:p,onUpdate:(e,t)=>{if(t===`Dialog`)return Qn(e,{[xi.Add]:()=>l.value+=1,[xi.Remove]:()=>--l.value})}});let ae=Ei({name:`DialogDescription`,slot:j(()=>({open:d.value}))}),oe=A(null),C={titleId:oe,panelRef:A(null),dialogState:h,setTitleId(e){oe.value!==e&&(oe.value=e)},close(){t(`close`,!1)}};pe(Li,C),wr(ee,(e,t)=>{e.preventDefault(),C.close(),Pe(()=>t?.focus())},j(()=>!(!g.value||_.value)));let se=j(()=>!(_.value||h.value!==0));return Zr(m.value?.defaultView,`keydown`,e=>{se.value&&(e.defaultPrevented||e.key===Wr.Escape&&(e.preventDefault(),e.stopPropagation(),C.close()))}),di(m,j(()=>!(ne.value||h.value!==0||v)),e=>({containers:[...e.containers??[],ee]})),He(e=>{if(h.value!==0)return;let t=I(p);if(!t)return;let n=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();e.x===0&&e.y===0&&e.width===0&&e.height===0&&C.close()}});n.observe(t),e(()=>n.disconnect())}),()=>{let{open:t,initialFocus:i,...o}=e,s={...n,ref:p,id:a,role:c.value,"aria-modal":h.value===0?!0:void 0,"aria-labelledby":oe.value,"aria-describedby":ae.value},l={open:h.value===0};return fe(yi,{force:!0},()=>[fe(ji,()=>fe(Fi,{target:p.value},()=>fe(yi,{force:!1},()=>fe(ni,{initialFocus:i,containers:ee,features:g.value?Qn(S.value,{parent:ni.features.RestoreFocus,leaf:ni.features.All&~ni.features.FocusLock}):ni.features.None},()=>fe(b,{},()=>jr({ourProps:s,theirProps:{...o,...n},slot:l,attrs:n,slots:r,visible:h.value===0,features:kr.RenderStrategy|kr.Static,name:`Dialog`})))))),fe(te)])}}});w({name:`DialogOverlay`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-overlay-${Xn()}`,i=Ri(`DialogOverlay`);function a(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),i.close())}return()=>{let{...o}=e;return jr({ourProps:{id:r,"aria-hidden":!0,onClick:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogOverlay`})}}}),w({name:`DialogBackdrop`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-backdrop-${Xn()}`,a=Ri(`DialogBackdrop`),o=A(null);return r({el:o,$el:o}),ue(()=>{if(a.panelRef.value===null)throw Error(`A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.`)}),()=>{let{...r}=e,s={id:i,ref:o,"aria-hidden":!0};return fe(yi,{force:!0},()=>fe(ji,()=>jr({ourProps:s,theirProps:{...t,...r},slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogBackdrop`})))}}});var Vi=w({name:`DialogPanel`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-panel-${Xn()}`,a=Ri(`DialogPanel`);r({el:a.panelRef,$el:a.panelRef});function o(e){e.stopPropagation()}return()=>{let{...r}=e;return jr({ourProps:{id:i,ref:a.panelRef,onClick:o},theirProps:r,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogPanel`})}}}),Hi=w({name:`DialogTitle`,props:{as:{type:[Object,String],default:`h2`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-title-${Xn()}`,i=Ri(`DialogTitle`);return ue(()=>{i.setTitleId(r),c(()=>i.setTitleId(null))}),()=>{let{...a}=e;return jr({ourProps:{id:r},theirProps:a,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogTitle`})}}}),Ui=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Ui||{}),Wi=Symbol(`DisclosureContext`);function Gi(e){let t=f(Wi,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Gi),t}return t}var Ki=Symbol(`DisclosurePanelContext`);function qi(){return f(Ki,null)}var Ji=w({name:`Disclosure`,props:{as:{type:[Object,String],default:`template`},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=A(e.defaultOpen?0:1),i=A(null),a=A(null),o={buttonId:A(`headlessui-disclosure-button-${Xn()}`),panelId:A(`headlessui-disclosure-panel-${Xn()}`),disclosureState:r,panel:i,button:a,toggleDisclosure(){r.value=Qn(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(e){o.closeDisclosure(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?I(e):I(o.button):I(o.button))?.focus()}};return pe(Wi,o),Ur(j(()=>Qn(r.value,{0:Vr.Open,1:Vr.Closed}))),()=>{let{defaultOpen:i,...a}=e;return jr({theirProps:a,ourProps:{},slot:{open:r.value===0,close:o.close},slots:t,attrs:n,name:`Disclosure`})}}}),Yi=w({name:`DisclosureButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=Gi(`DisclosureButton`),a=qi(),o=j(()=>a===null?!1:a.value===i.panelId.value);ue(()=>{o.value||e.id!==null&&(i.buttonId.value=e.id)}),c(()=>{o.value||(i.buttonId.value=null)});let s=A(null);r({el:s,$el:s}),o.value||He(()=>{i.button.value=s.value});let l=Er(j(()=>({as:e.as,type:t.type})),s);function u(){var t;e.disabled||(o.value?(i.toggleDisclosure(),(t=I(i.button))==null||t.focus()):i.toggleDisclosure())}function d(t){var n;if(!e.disabled)if(o.value)switch(t.key){case Wr.Space:case Wr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure(),(n=I(i.button))==null||n.focus();break}else switch(t.key){case Wr.Space:case Wr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure();break}}function f(e){switch(e.key){case Wr.Space:e.preventDefault();break}}return()=>{let r={open:i.disclosureState.value===0},{id:a,...c}=e;return jr({ourProps:o.value?{ref:s,type:l.value,onClick:u,onKeydown:d}:{id:i.buttonId.value??a,ref:s,type:l.value,"aria-expanded":i.disclosureState.value===0,"aria-controls":i.disclosureState.value===0||I(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:u,onKeydown:d,onKeyup:f},theirProps:c,slot:r,attrs:t,slots:n,name:`DisclosureButton`})}}}),Xi=w({name:`DisclosurePanel`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=Gi(`DisclosurePanel`);ue(()=>{e.id!==null&&(i.panelId.value=e.id)}),c(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),pe(Ki,i.panelId);let a=Hr(),o=j(()=>a===null?i.disclosureState.value===0:(a.value&Vr.Open)===Vr.Open);return()=>{let r={open:i.disclosureState.value===0,close:i.close},{id:a,...s}=e;return jr({ourProps:{id:i.panelId.value??a,ref:i.panel},theirProps:s,slot:r,attrs:t,slots:n,features:kr.RenderStrategy|kr.Static,visible:o.value,name:`DisclosurePanel`})}}}),Zi=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Qi(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return Zi.test(i)&&(i=i.replace(Zi,``)),i}function $i(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():Qi(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return Qi(e).trim()}function ea(e){let t=A(``),n=A(``);return()=>{let r=I(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=$i(r).trim().toLowerCase();return t.value=i,n.value=a,a}}function ta(e,t){return e===t}var na=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(na||{}),ra=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(ra||{}),ia=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(ia||{});function aa(e){requestAnimationFrame(()=>requestAnimationFrame(e))}var oa=Symbol(`ListboxContext`);function sa(e){let t=f(oa,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,sa),t}return t}var ca=w({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>ta},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let i=A(1),a=A(null),o=A(null),s=A(null),c=A([]),l=A(``),u=A(null),d=A(1);function f(e=e=>e){let t=u.value===null?null:c.value[u.value],n=gr(e(c.value.slice()),e=>I(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let p=j(()=>e.multiple?1:0),[m,h]=hee(j(()=>e.modelValue),e=>r(`update:modelValue`,e),j(()=>e.defaultValue)),g=j(()=>m.value===void 0?Qn(p.value,{1:[],0:void 0}):m.value),_={listboxState:i,value:g,mode:p,compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by(t,n)},orientation:j(()=>e.horizontal?`horizontal`:`vertical`),labelRef:a,buttonRef:o,optionsRef:s,disabled:j(()=>e.disabled),options:c,searchQuery:l,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||i.value!==1&&(i.value=1,u.value=null)},openListbox(){e.disabled||i.value!==0&&(i.value=0)},goToOption(t,n,r){if(e.disabled||i.value===1)return;let a=f(),o=qr(t===Kr.Specific?{focus:Kr.Specific,id:n}:{focus:t},{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});l.value=``,u.value=o,d.value=r??1,c.value=a.options},search(t){if(e.disabled||i.value===1)return;let n=l.value===``?1:0;l.value+=t.toLowerCase();let r=(u.value===null?c.value:c.value.slice(u.value+n).concat(c.value.slice(0,u.value+n))).find(e=>e.dataRef.textValue.startsWith(l.value)&&!e.dataRef.disabled),a=r?c.value.indexOf(r):-1;a===-1||a===u.value||(u.value=a,d.value=1)},clearSearch(){e.disabled||i.value!==1&&l.value!==``&&(l.value=``)},registerOption(e,t){let n=f(n=>[...n,{id:e,dataRef:t}]);c.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){let t=f(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});c.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||h(t)},select(t){e.disabled||h(Qn(p.value,{0:()=>t,1:()=>{let e=Ee(_.value.value).slice(),n=Ee(t),r=e.findIndex(e=>_.compare(n,Ee(e)));return r===-1?e.push(n):e.splice(r,1),e}}))}};wr([o,s],(e,t)=>{var n;_.closeListbox(),ur(t,lr.Loose)||(e.preventDefault(),(n=I(o))==null||n.focus())},j(()=>i.value===0)),pe(oa,_),Ur(j(()=>Qn(i.value,{0:Vr.Open,1:Vr.Closed})));let v=j(()=>I(o)?.closest(`form`));return ue(()=>{Xe([v],()=>{if(!v.value||e.defaultValue===void 0)return;function t(){_.theirOnChange(e.defaultValue)}return v.value.addEventListener(`reset`,t),()=>{var e;(e=v.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:r,modelValue:a,disabled:o,form:s,...c}=e,l={open:i.value===0,disabled:o,value:g.value};return fe(Ne,[...r!=null&&g.value!=null?Jr({[r]:g.value}).map(([e,t])=>fe(zr,Fr({features:Rr.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],jr({ourProps:{},theirProps:{...n,...Ir(c,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:l,slots:t,attrs:n,name:`Listbox`})])}}}),la=w({name:`ListboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-listbox-label-${Xn()}`,i=sa(`ListboxLabel`);function a(){var e;(e=I(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e;return jr({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}}),ua=w({name:`ListboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-button-${Xn()}`,a=sa(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Wr.Space:case Wr.Enter:case Wr.ArrowDown:e.preventDefault(),a.openListbox(),Pe(()=>{var e;(e=I(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Kr.First)});break;case Wr.ArrowUp:e.preventDefault(),a.openListbox(),Pe(()=>{var e;(e=I(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Kr.Last)});break}}function s(e){switch(e.key){case Wr.Space:e.preventDefault();break}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),aa(()=>I(a.optionsRef)?.focus({preventScroll:!0}))))}let l=Er(j(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...u}=e;return jr({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":I(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[I(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`ListboxButton`})}}}),da=w({name:`ListboxOptions`,props:{as:{type:[Object,String],default:`ul`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-options-${Xn()}`,a=sa(`ListboxOptions`),o=A(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case Wr.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Wr.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeOptionIndex.value!==null){let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}a.mode.value===0&&(a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0})));break;case Qn(a.orientation.value,{vertical:Wr.ArrowDown,horizontal:Wr.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.Next);case Qn(a.orientation.value,{vertical:Wr.ArrowUp,horizontal:Wr.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.Previous);case Wr.Home:case Wr.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.First);case Wr.End:case Wr.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.Last);case Wr.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0}));break;case Wr.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350));break}}let c=Hr(),l=j(()=>c===null?a.listboxState.value===0:(c.value&Vr.Open)===Vr.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e;return jr({ourProps:{"aria-activedescendant":a.activeOptionIndex.value===null||(r=a.options.value[a.activeOptionIndex.value])==null?void 0:r.id,"aria-multiselectable":a.mode.value===1?!0:void 0,"aria-labelledby":I(a.buttonRef)?.id,"aria-orientation":a.orientation.value,id:i,onKeydown:s,role:`listbox`,tabIndex:0,ref:a.optionsRef},theirProps:c,slot:o,attrs:t,slots:n,features:kr.RenderStrategy|kr.Static,visible:l.value,name:`ListboxOptions`})}}}),fa=w({name:`ListboxOption`,props:{as:{type:[Object,String],default:`li`},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){let i=e.id??`headlessui-listbox-option-${Xn()}`,a=sa(`ListboxOption`),o=A(null);r({el:o,$el:o});let s=j(()=>a.activeOptionIndex.value===null?!1:a.options.value[a.activeOptionIndex.value].id===i),l=j(()=>Qn(a.mode.value,{0:()=>a.compare(Ee(a.value.value),Ee(e.value)),1:()=>Ee(a.value.value).some(t=>a.compare(Ee(t),Ee(e.value)))})),u=j(()=>Qn(a.mode.value,{1:()=>{let e=Ee(a.value.value);return a.options.value.find(t=>e.some(e=>a.compare(Ee(e),Ee(t.dataRef.value))))?.id===i},0:()=>l.value})),d=ea(o),f=j(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:o}));ue(()=>a.registerOption(i,f)),c(()=>a.unregisterOption(i)),ue(()=>{Xe([a.listboxState,l],()=>{a.listboxState.value===0&&l.value&&Qn(a.mode.value,{1:()=>{u.value&&a.goToOption(Kr.Specific,i)},0:()=>{a.goToOption(Kr.Specific,i)}})},{immediate:!0})}),He(()=>{a.listboxState.value===0&&s.value&&a.activationTrigger.value!==0&&Pe(()=>{var e;return((e=I(o))?.scrollIntoView)?.call(e,{block:`nearest`})})});function p(t){if(e.disabled)return t.preventDefault();a.select(e.value),a.mode.value===0&&(a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0})))}function m(){if(e.disabled)return a.goToOption(Kr.Nothing);a.goToOption(Kr.Specific,i)}let h=Or();function g(e){h.update(e)}function _(t){h.wasMoved(t)&&(e.disabled||s.value||a.goToOption(Kr.Specific,i,0))}function v(t){h.wasMoved(t)&&(e.disabled||s.value&&a.goToOption(Kr.Nothing))}return()=>{let{disabled:r}=e,a={active:s.value,selected:l.value,disabled:r},{value:c,disabled:u,...d}=e;return jr({ourProps:{id:i,ref:o,role:`option`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0?!0:void 0,"aria-selected":l.value,disabled:void 0,onClick:p,onFocus:m,onPointerenter:g,onMouseenter:g,onPointermove:_,onMousemove:_,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:n,slots:t,name:`ListboxOption`})}}}),pa=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(pa||{}),ma=Symbol(`PopoverContext`);function ha(e){let t=f(ma,null);if(t===null){let t=Error(`<${e} /> is missing a parent <${ba.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ha),t}return t}var ga=Symbol(`PopoverGroupContext`);function _a(){return f(ga,null)}var va=Symbol(`PopoverPanelContext`);function ya(){return f(va,null)}var ba=w({name:`Popover`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n,expose:r}){let i=A(null);r({el:i,$el:i});let a=A(1),o=A(null),s=A(null),c=A(null),l=A(null),u=j(()=>rr(i)),d=j(()=>{var e,t;if(!I(o)||!I(l))return!1;for(let e of document.querySelectorAll(`body > *`))if(Number(e?.contains(I(o)))^Number(e?.contains(I(l))))return!0;let n=cr(),r=n.indexOf(I(o)),i=(r+n.length-1)%n.length,a=(r+1)%n.length,s=n[i],c=n[a];return!((e=I(l))!=null&&e.contains(s))&&!((t=I(l))!=null&&t.contains(c))}),f={popoverState:a,buttonId:A(null),panelId:A(null),panel:l,button:o,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:c,togglePopover(){a.value=Qn(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(e){f.closePopover(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?I(e):I(f.button):I(f.button))?.focus()}};pe(ma,f),Ur(j(()=>Qn(a.value,{0:Vr.Open,1:Vr.Closed})));let p={buttonId:f.buttonId,panelId:f.panelId,close(){f.closePopover()}},m=_a(),h=m?.registerPopover,[g,_]=Ni(),v=hi({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[o,l]});function y(){return m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(I(o)?.contains(u.value.activeElement)||I(l)?.contains(u.value.activeElement)))}return He(()=>h?.(p)),Zr(u.value?.defaultView,`focus`,e=>{var t,n;e.target!==window&&e.target instanceof HTMLElement&&a.value===0&&(y()||o&&l&&(v.contains(e.target)||(t=I(f.beforePanelSentinel))!=null&&t.contains(e.target)||(n=I(f.afterPanelSentinel))!=null&&n.contains(e.target)||f.closePopover()))},!0),wr(v.resolveContainers,(e,t)=>{var n;f.closePopover(),ur(t,lr.Loose)||(e.preventDefault(),(n=I(o))==null||n.focus())},j(()=>a.value===0)),()=>{let r={open:a.value===0,close:f.close};return fe(Ne,[fe(_,{},()=>jr({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:`Popover`})),fe(v.MainTreeNode)])}}}),xa=w({name:`PopoverButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-button-${Xn()}`,a=ha(`PopoverButton`),o=j(()=>rr(a.button));r({el:a.button,$el:a.button}),ue(()=>{a.buttonId.value=i}),c(()=>{a.buttonId.value=null});let s=_a()?.closeOthers,l=ya(),u=j(()=>l===null?!1:l.value===a.panelId.value),d=A(null),f=`headlessui-focus-sentinel-${Xn()}`;u.value||He(()=>{a.button.value=I(d)});let p=Er(j(()=>({as:e.as,type:t.type})),d);function m(e){var t,n,r,i,c;if(u.value){if(a.popoverState.value===1)return;switch(e.key){case Wr.Space:case Wr.Enter:e.preventDefault(),(n=(t=e.target).click)==null||n.call(t),a.closePopover(),(r=I(a.button))==null||r.focus();break}}else switch(e.key){case Wr.Space:case Wr.Enter:e.preventDefault(),e.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover();break;case Wr.Escape:if(a.popoverState.value!==0)return s?.(a.buttonId.value);if(!I(a.button)||(i=o.value)!=null&&i.activeElement&&!((c=I(a.button))!=null&&c.contains(o.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),a.closePopover();break}}function h(e){u.value||e.key===Wr.Space&&e.preventDefault()}function g(t){var n,r;e.disabled||(u.value?(a.closePopover(),(n=I(a.button))==null||n.focus()):(t.preventDefault(),t.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover(),(r=I(a.button))==null||r.focus()))}function _(e){e.preventDefault(),e.stopPropagation()}let v=$r();function y(){let e=I(a.panel);if(!e)return;function t(){Qn(v.value,{[Qr.Forwards]:()=>vr(e,ar.First),[Qr.Backwards]:()=>vr(e,ar.Last)})===or.Error&&vr(cr().filter(e=>e.dataset.headlessuiFocusGuard!==`true`),Qn(v.value,{[Qr.Forwards]:ar.Next,[Qr.Backwards]:ar.Previous}),{relativeTo:I(a.button)})}t()}return()=>{let r=a.popoverState.value===0,o={open:r},{...s}=e;return fe(Ne,[jr({ourProps:u.value?{ref:d,type:p.value,onKeydown:m,onClick:g}:{ref:d,id:i,type:p.value,"aria-expanded":a.popoverState.value===0,"aria-controls":I(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:m,onKeyup:h,onClick:g,onMousedown:_},theirProps:{...t,...s},slot:o,attrs:t,slots:n,name:`PopoverButton`}),r&&!u.value&&a.isPortalled.value&&fe(zr,{id:f,features:Rr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:y})])}}});w({name:`PopoverOverlay`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n}){let r=ha(`PopoverOverlay`),i=`headlessui-popover-overlay-${Xn()}`,a=Hr(),o=j(()=>a===null?r.popoverState.value===0:(a.value&Vr.Open)===Vr.Open);function s(){r.closePopover()}return()=>{let a={open:r.popoverState.value===0};return jr({ourProps:{id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,attrs:t,slots:n,features:kr.RenderStrategy|kr.Static,visible:o.value,name:`PopoverOverlay`})}}});var Sa=w({name:`PopoverPanel`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-panel-${Xn()}`,{focus:a}=e,o=ha(`PopoverPanel`),s=j(()=>rr(o.panel)),l=`headlessui-focus-sentinel-before-${Xn()}`,u=`headlessui-focus-sentinel-after-${Xn()}`;r({el:o.panel,$el:o.panel}),ue(()=>{o.panelId.value=i}),c(()=>{o.panelId.value=null}),pe(va,o.panelId),He(()=>{var e;if(!a||o.popoverState.value!==0||!o.panel)return;let t=s.value?.activeElement;(e=I(o.panel))!=null&&e.contains(t)||vr(I(o.panel),ar.First)});let d=Hr(),f=j(()=>d===null?o.popoverState.value===0:(d.value&Vr.Open)===Vr.Open);function p(e){var t,n;switch(e.key){case Wr.Escape:if(o.popoverState.value!==0||!I(o.panel)||s.value&&!((t=I(o.panel))!=null&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover(),(n=I(o.button))==null||n.focus();break}}function m(e){var t,n,r,i,a;let s=e.relatedTarget;s&&I(o.panel)&&((t=I(o.panel))!=null&&t.contains(s)||(o.closePopover(),((r=(n=I(o.beforePanelSentinel))?.contains)!=null&&r.call(n,s)||(a=(i=I(o.afterPanelSentinel))?.contains)!=null&&a.call(i,s))&&s.focus({preventScroll:!0})))}let h=$r();function g(){let e=I(o.panel);if(!e)return;function t(){Qn(h.value,{[Qr.Forwards]:()=>{var t;vr(e,ar.First)===or.Error&&((t=I(o.afterPanelSentinel))==null||t.focus())},[Qr.Backwards]:()=>{var e;(e=I(o.button))==null||e.focus({preventScroll:!0})}})}t()}function _(){let e=I(o.panel);if(!e)return;function t(){Qn(h.value,{[Qr.Forwards]:()=>{let e=I(o.button),t=I(o.panel);if(!e)return;let n=cr(),r=n.indexOf(e),i=n.slice(0,r+1),a=[...n.slice(r+1),...i];for(let e of a.slice())if(e.dataset.headlessuiFocusGuard===`true`||t!=null&&t.contains(e)){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}vr(a,ar.First,{sorted:!1})},[Qr.Backwards]:()=>{var t;vr(e,ar.Previous)===or.Error&&((t=I(o.button))==null||t.focus())}})}t()}return()=>{let r={open:o.popoverState.value===0,close:o.close},{focus:s,...c}=e;return jr({ourProps:{ref:o.panel,id:i,onKeydown:p,onFocusout:a&&o.popoverState.value===0?m:void 0,tabIndex:-1},theirProps:{...t,...c},attrs:t,slot:r,slots:{...n,default:(...e)=>[fe(Ne,[f.value&&o.isPortalled.value&&fe(zr,{id:l,ref:o.beforePanelSentinel,features:Rr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:g}),n.default?.call(n,...e),f.value&&o.isPortalled.value&&fe(zr,{id:u,ref:o.afterPanelSentinel,features:Rr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:_})])]},features:kr.RenderStrategy|kr.Static,visible:f.value,name:`PopoverPanel`})}}});w({name:`PopoverGroup`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n,expose:r}){let i=A(null),a=nt([]),o=j(()=>rr(i)),s=gi();r({el:i,$el:i});function c(e){let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)}function l(e){return a.value.push(e),()=>{c(e)}}function u(){var e;let t=o.value;if(!t)return!1;let n=t.activeElement;return(e=I(i))!=null&&e.contains(n)?!0:a.value.some(e=>t.getElementById(e.buttonId.value)?.contains(n)||t.getElementById(e.panelId.value)?.contains(n))}function d(e){for(let t of a.value)t.buttonId.value!==e&&t.close()}return pe(ga,{registerPopover:l,unregisterPopover:c,isFocusWithinPopoverGroup:u,closeOthers:d,mainTreeNodeRef:s.mainTreeNodeRef}),()=>fe(Ne,[jr({ourProps:{ref:i},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:`PopoverGroup`}),fe(s.MainTreeNode)])}});var Ca=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},wa=`regular`;function Ta(e={}){let t=j(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:`presentation`});return{bind:j(()=>({width:`1em`,height:`1em`,...t.value})),weight:j(()=>e.weight??wa)}}var Ea={key:0},Da={key:1},Oa={key:2},ka={key:3},Aa={key:4},ja={key:5},Ma=w({name:`ScalarIconArrowUpRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Ea,[...r[0]||=[N(`path`,{d:`M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Da,[...r[1]||=[N(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Oa,[...r[2]||=[N(`path`,{d:`M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,ka,[...r[3]||=[N(`path`,{d:`M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Aa,[...r[4]||=[N(`path`,{d:`M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,ja,[...r[5]||=[N(`path`,{d:`M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z`},null,-1)]])):k(``,!0)],16))}}),Na={key:0},Pa={key:1},Fa={key:2},Ia={key:3},La={key:4},Ra={key:5},za=w({name:`ScalarIconBook`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Na,[...r[0]||=[N(`path`,{d:`M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Pa,[...r[1]||=[N(`path`,{d:`M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Fa,[...r[2]||=[N(`path`,{d:`M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Ia,[...r[3]||=[N(`path`,{d:`M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,La,[...r[4]||=[N(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Ra,[...r[5]||=[N(`path`,{d:`M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z`},null,-1)]])):k(``,!0)],16))}}),Ba={key:0},Va={key:1},Ha={key:2},Ua={key:3},Wa={key:4},Ga={key:5},Ka=w({name:`ScalarIconCaretDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Ba,[...r[0]||=[N(`path`,{d:`M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Va,[...r[1]||=[N(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Ha,[...r[2]||=[N(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Ua,[...r[3]||=[N(`path`,{d:`M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Wa,[...r[4]||=[N(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Ga,[...r[5]||=[N(`path`,{d:`M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):k(``,!0)],16))}}),qa={key:0},Ja={key:1},Ya={key:2},Xa={key:3},Za={key:4},Qa={key:5},$a=w({name:`ScalarIconCaretRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,qa,[...r[0]||=[N(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Ja,[...r[1]||=[N(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Ya,[...r[2]||=[N(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Xa,[...r[3]||=[N(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Za,[...r[4]||=[N(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Qa,[...r[5]||=[N(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`},null,-1)]])):k(``,!0)],16))}}),eo={key:0},Cee={key:1},wee={key:2},Tee={key:3},Eee={key:4},Dee={key:5},Oee=w({name:`ScalarIconCaretUp`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,eo,[...r[0]||=[N(`path`,{d:`M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Cee,[...r[1]||=[N(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,wee,[...r[2]||=[N(`path`,{d:`M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Tee,[...r[3]||=[N(`path`,{d:`M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Eee,[...r[4]||=[N(`path`,{d:`M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Dee,[...r[5]||=[N(`path`,{d:`M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z`},null,-1)]])):k(``,!0)],16))}}),kee={key:0},Aee={key:1},jee={key:2},Mee={key:3},Nee={key:4},Pee={key:5},to=w({name:`ScalarIconCheck`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,kee,[...r[0]||=[N(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Aee,[...r[1]||=[N(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,jee,[...r[2]||=[N(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Mee,[...r[3]||=[N(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Nee,[...r[4]||=[N(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Pee,[...r[5]||=[N(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):k(``,!0)],16))}}),Fee={key:0},Iee={key:1},Lee={key:2},Ree={key:3},zee={key:4},Bee={key:5},no=w({name:`ScalarIconCopy`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Fee,[...r[0]||=[N(`path`,{d:`M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Iee,[...r[1]||=[N(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Lee,[...r[2]||=[N(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Ree,[...r[3]||=[N(`path`,{d:`M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,zee,[...r[4]||=[N(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Bee,[...r[5]||=[N(`path`,{d:`M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z`},null,-1)]])):k(``,!0)],16))}}),Vee={key:0},Hee={key:1},Uee={key:2},Wee={key:3},Gee={key:4},Kee={key:5},qee=w({name:`ScalarIconEnvelopeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Vee,[...r[0]||=[N(`path`,{d:`M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Hee,[...r[1]||=[N(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Uee,[...r[2]||=[N(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Wee,[...r[3]||=[N(`path`,{d:`M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Gee,[...r[4]||=[N(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Kee,[...r[5]||=[N(`path`,{d:`M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z`},null,-1)]])):k(``,!0)],16))}}),Jee={key:0},Yee={key:1},Xee={key:2},Zee={key:3},Qee={key:4},$ee={key:5},ete=w({name:`ScalarIconEye`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Jee,[...r[0]||=[N(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Yee,[...r[1]||=[N(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Xee,[...r[2]||=[N(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Zee,[...r[3]||=[N(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Qee,[...r[4]||=[N(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,$ee,[...r[5]||=[N(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`},null,-1)]])):k(``,!0)],16))}}),tte={key:0},nte={key:1},rte={key:2},ite={key:3},ate={key:4},ote={key:5},ste=w({name:`ScalarIconEyeSlash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,tte,[...r[0]||=[N(`path`,{d:`M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,nte,[...r[1]||=[N(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,rte,[...r[2]||=[N(`path`,{d:`M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,ite,[...r[3]||=[N(`path`,{d:`M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,ate,[...r[4]||=[N(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,ote,[...r[5]||=[N(`path`,{d:`M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z`},null,-1)]])):k(``,!0)],16))}}),cte={key:0},lte={key:1},ute={key:2},dte={key:3},fte={key:4},pte={key:5},mte=w({name:`ScalarIconInfo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,cte,[...r[0]||=[N(`path`,{d:`M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,lte,[...r[1]||=[N(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,ute,[...r[2]||=[N(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,dte,[...r[3]||=[N(`path`,{d:`M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,fte,[...r[4]||=[N(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,pte,[...r[5]||=[N(`path`,{d:`M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z`},null,-1)]])):k(``,!0)],16))}}),hte={key:0},gte={key:1},_te={key:2},vte={key:3},yte={key:4},bte={key:5},ro=w({name:`ScalarIconMagnifyingGlass`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,hte,[...r[0]||=[N(`path`,{d:`M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,gte,[...r[1]||=[N(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,_te,[...r[2]||=[N(`path`,{d:`M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,vte,[...r[3]||=[N(`path`,{d:`M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,yte,[...r[4]||=[N(`path`,{d:`M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,bte,[...r[5]||=[N(`path`,{d:`M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z`},null,-1)]])):k(``,!0)],16))}}),xte={key:0},Ste={key:1},Cte={key:2},wte={key:3},Tte={key:4},Ete={key:5},io=w({name:`ScalarIconPencilSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,xte,[...r[0]||=[N(`path`,{d:`M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Ste,[...r[1]||=[N(`path`,{d:`M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Cte,[...r[2]||=[N(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,wte,[...r[3]||=[N(`path`,{d:`M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Tte,[...r[4]||=[N(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Ete,[...r[5]||=[N(`path`,{d:`M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z`},null,-1)]])):k(``,!0)],16))}}),Dte={key:0},Ote={key:1},kte={key:2},Ate={key:3},jte={key:4},Mte={key:5},ao=w({name:`ScalarIconPlus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Dte,[...r[0]||=[N(`path`,{d:`M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Ote,[...r[1]||=[N(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,kte,[...r[2]||=[N(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Ate,[...r[3]||=[N(`path`,{d:`M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,jte,[...r[4]||=[N(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Mte,[...r[5]||=[N(`path`,{d:`M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z`},null,-1)]])):k(``,!0)],16))}}),Nte={key:0},Pte={key:1},Fte={key:2},Ite={key:3},Lte={key:4},Rte={key:5},oo=w({name:`ScalarIconTrash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Nte,[...r[0]||=[N(`path`,{d:`M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Pte,[...r[1]||=[N(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Fte,[...r[2]||=[N(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Ite,[...r[3]||=[N(`path`,{d:`M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Lte,[...r[4]||=[N(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Rte,[...r[5]||=[N(`path`,{d:`M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z`},null,-1)]])):k(``,!0)],16))}}),zte={key:0},Bte={key:1},Vte={key:2},Hte={key:3},Ute={key:4},Wte={key:5},so=w({name:`ScalarIconWebhooksLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,zte,[...r[0]||=[N(`path`,{d:`M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Bte,[...r[1]||=[N(`path`,{d:`M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,Vte,[...r[2]||=[N(`path`,{d:`M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Hte,[...r[3]||=[N(`path`,{d:`M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Ute,[...r[4]||=[N(`path`,{d:`M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Wte,[...r[5]||=[N(`path`,{d:`M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z`},null,-1)]])):k(``,!0)],16))}}),Gte={key:0},Kte={key:1},qte={key:2},Jte={key:3},Yte={key:4},Xte={key:5},co=w({name:`ScalarIconX`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Ta(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Gte,[...r[0]||=[N(`path`,{d:`M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z`},null,-1)]])):T(n)===`duotone`?(y(),M(`g`,Kte,[...r[1]||=[N(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),N(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):T(n)===`fill`?(y(),M(`g`,qte,[...r[2]||=[N(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):T(n)===`light`?(y(),M(`g`,Jte,[...r[3]||=[N(`path`,{d:`M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Yte,[...r[4]||=[N(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):T(n)===`thin`?(y(),M(`g`,Xte,[...r[5]||=[N(`path`,{d:`M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z`},null,-1)]])):k(``,!0)],16))}}),lo={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:/(?<!:)\/{2,}/g,VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/,TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g},uo=e=>!(lo.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e));function Zte(e){return lo.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,``)}`}var fo=(...e)=>{let t={};e.forEach(e=>{let n=Array.from(e.keys());new Set(n).forEach(n=>{let r=e.getAll(n);t[n]=r.length>1?r:r[0]??``})});let n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>n.append(e,t)):n.append(e,t)}),n},po=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(lo.MULTIPLE_SLASHES,`/`):t.trim(),mo=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!uo(e)||typeof window<`u`)){let[i=``,a]=(r?e:uo(e)?po(window.location.origin,e):Zte(e)).split(`?`),o=new URLSearchParams(a||``),[s=``,c]=t.split(`?`),l=new URLSearchParams(c||``),u=e===t?i:po(i,s),d=fo(o,l,n).toString();return d?`${u}?${d}`:u}return t?po(e,t):``},ho=(e,{baseUrl:t,basePath:n}={})=>{if(typeof window>`u`&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;return n&&(r=po(t?new URL(t).origin:window.location.origin,n+`/`)),new URL(e,r).toString()}catch{return e}},Qte=[`href`],$te=Ca(w({__name:`OpenApiClientButton`,props:{buttonSource:{},source:{default:`api-reference`},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let t=j(()=>{let t=e.url??(typeof window<`u`?window.location.href:void 0);if(!t)return;let n=ho(t);if(!n?.length)return;let r=new URL(e.isDevelopment?`http://localhost:5065`:`https://client.scalar.com`);if(r.searchParams.set(`url`,n),e.operationPath?.length&&e.operationMethod?.length&&(r.searchParams.set(`operation_path`,e.operationPath),r.searchParams.set(`operation_method`,e.operationMethod.toLowerCase())),e.integration!==null&&r.searchParams.set(`integration`,e.integration??`vue`),r.searchParams.set(`utm_source`,`api-reference`),r.searchParams.set(`utm_medium`,`button`),r.searchParams.set(`utm_campaign`,e.buttonSource),e.source===`gitbook`){r.searchParams.set(`utm_source`,`gitbook`);let e=document.querySelector(`img.dark\\:block[alt='Logo']`),t=document.querySelector(`img.dark\\:hidden[alt='Logo']`);e&&e instanceof HTMLImageElement&&r.searchParams.set(`dark_logo`,encodeURIComponent(e.src)),t&&t instanceof HTMLImageElement&&r.searchParams.set(`light_logo`,encodeURIComponent(t.src))}return r.toString()});return(e,n)=>t.value?(y(),M(`a`,{key:0,class:`open-api-client-button`,href:t.value,target:`_blank`},[D(T(Ma),{class:`size-3`,weight:`regular`}),n[0]||=tt(` Open API Client `,-1)],8,Qte)):k(``,!0)}}),[[`__scopeId`,`data-v-cd067f84`]]),go=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,ene=e=>`"${e.replaceAll(/(["\\])/g,`\\$1`)}"`,tne=e=>{let t=e.indexOf(`=`);if(t===-1)return null;let n=e.slice(0,t).trim().toLowerCase();if(!n||!go.test(n))return null;let r=e.slice(t+1).trim();return r?r.startsWith(`"`)&&r.endsWith(`"`)&&r.length>=2?[n,r.slice(1,-1).replaceAll(/\\(["\\])/g,`$1`)]:[n,r]:null},_o=e=>{let[t=``,n=``]=e.split(`/`,2),r=t.trim().toLowerCase(),i=n.trim().toLowerCase();if(!r||!i||!go.test(r)||!go.test(i))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${i}`,type:r,subtype:i}},vo=(e=`text/plain`)=>{let[t=``,...n]=e.split(`;`),r;try{r=_o(t)}catch{r=_o(`text/plain`)}let{essence:i,type:a,subtype:o}=r,s=new Map;return n.forEach(e=>{let t=tne(e);if(!t)return;let[n,r]=t;s.set(n,r)}),{essence:i,type:a,subtype:o,parameters:s,toString:()=>{let e=Array.from(s.entries()).map(([e,t])=>`${e}=${go.test(t)?t:ene(t)}`);return e.length?`${i}; ${e.join(`; `)}`:i}}},yo=()=>typeof window<`u`&&`electron`in window,nne=new Set([`post`,`put`,`patch`,`delete`]),bo=(e,t=!1)=>{let n=e.toLowerCase();return yo()&&!t?!0:nne.has(n)},rne=(e,t)=>new Request(e,{...t,body:bo(t.method??`GET`,!0)?t.body:null}),ine=`x-scalar-cookie`,ane=`x-scalar-set-cookie`,one=`x-scalar-user-agent`,sne=`x-scalar-date`,cne=`x-scalar-dnt`,lne=`x-scalar-referer`;function xo(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=xo(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function So(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=xo(e))&&(r&&(r+=` `),r+=t);return r}var Co=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,wo=e=>{let t=function(){var t=[...arguments];return e?.hooks?.[`cx:done`]===void 0?e?.hooks?.onComplete===void 0?So(t):e?.hooks.onComplete(So(t)):e?.hooks[`cx:done`](So(t))};return{compose:function(){var e=[...arguments];return n=>{let r=Object.fromEntries(Object.entries(n||{}).filter(e=>{let[t]=e;return![`class`,`className`].includes(t)}));return t(e.map(e=>e(r)),n?.class,n?.className)}},cva:e=>n=>{if(e?.variants==null)return t(e?.base,n?.class,n?.className);let{variants:r,defaultVariants:i}=e,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e],o=Co(t)||Co(a);return r[e][o]}),o={...i,...n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0?e:{...e,[n]:r}},{})},s=e?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e,r=o[t];return Array.isArray(n)?n.includes(r):r===n})?[...e,n,r]:e},[]);return t(e?.base,a,s,n?.class,n?.className)},cx:t}},{compose:une,cva:dne,cx:fne}=wo(),To=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Eo=(e,t)=>({classGroupId:e,validator:t}),Do=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Oo=`-`,ko=[],Ao=`arbitrary..`,jo=e=>{let t=Po(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return No(e);let n=e.split(Oo);return Mo(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?To(i,t):t:i||ko}return n[e]||ko}}},Mo=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Mo(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Oo):e.slice(t).join(Oo),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},No=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Ao+r:void 0})(),Po=e=>{let{theme:t,classGroups:n}=e;return Fo(n,t)},Fo=(e,t)=>{let n=Do();for(let r in e){let i=e[r];Io(i,n,r,t)}return n},Io=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Lo(i,t,n,r)}},Lo=(e,t,n,r)=>{if(typeof e==`string`){Ro(e,t,n);return}if(typeof e==`function`){zo(e,t,n,r);return}Bo(e,t,n,r)},Ro=(e,t,n)=>{let r=e===``?t:Vo(t,e);r.classGroupId=n},zo=(e,t,n,r)=>{if(Ho(e)){Io(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Eo(n,e))},Bo=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Io(o,Vo(t,a),n,r)}},Vo=(e,t)=>{let n=e,r=t.split(Oo),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Do(),n.nextPart.set(t,i)),n=i}return n},Ho=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Uo=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Wo=`!`,Go=`:`,Ko=[],qo=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Jo=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Go){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Wo)?(c=s.slice(0,-1),l=!0):s.startsWith(Wo)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return qo(t,l,c,u)};if(t){let e=t+Go,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):qo(Ko,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Yo=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Xo=e=>({cache:Uo(e.cacheSize),parseClassName:Jo(e),sortModifiers:Yo(e),...jo(e)}),Zo=/\s+/,Qo=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(Zo),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+Wo:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},$o=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=es(n))&&(i&&(i+=` `),i+=r);return i},es=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=es(e[r]))&&(n&&(n+=` `),n+=t);return n},ts=(e,...t)=>{let n,r,i,a,o=o=>(n=Xo(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Qo(e,n);return i(e,a),a};return a=o,(...e)=>a($o(...e))},ns=[],rs=e=>{let t=t=>t[e]||ns;return t.isThemeGetter=!0,t},is=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,as=/^\((?:(\w[\w-]*):)?(.+)\)$/i,os=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ss=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cs=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ls=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,us=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ds=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,fs=e=>os.test(e),ps=e=>!!e&&!Number.isNaN(Number(e)),ms=e=>!!e&&Number.isInteger(Number(e)),hs=e=>e.endsWith(`%`)&&ps(e.slice(0,-1)),gs=e=>ss.test(e),_s=()=>!0,vs=e=>cs.test(e)&&!ls.test(e),ys=()=>!1,bs=e=>us.test(e),xs=e=>ds.test(e),Ss=e=>!ws(e)&&!Ms(e),Cs=e=>Bs(e,Ws,ys),ws=e=>is.test(e),Ts=e=>Bs(e,Gs,vs),Es=e=>Bs(e,Ks,ps),Ds=e=>Bs(e,Js,_s),Os=e=>Bs(e,qs,ys),ks=e=>Bs(e,Hs,ys),As=e=>Bs(e,Us,xs),js=e=>Bs(e,Ys,bs),Ms=e=>as.test(e),Ns=e=>Vs(e,Gs),Ps=e=>Vs(e,qs),Fs=e=>Vs(e,Hs),Is=e=>Vs(e,Ws),Ls=e=>Vs(e,Us),Rs=e=>Vs(e,Ys,!0),zs=e=>Vs(e,Js,!0),Bs=(e,t,n)=>{let r=is.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Vs=(e,t,n=!1)=>{let r=as.exec(e);return r?r[1]?t(r[1]):n:!1},Hs=e=>e===`position`||e===`percentage`,Us=e=>e===`image`||e===`url`,Ws=e=>e===`length`||e===`size`||e===`bg-size`,Gs=e=>e===`length`,Ks=e=>e===`number`,qs=e=>e===`family-name`,Js=e=>e===`number`||e===`weight`,Ys=e=>e===`shadow`,Xs=()=>{let e=rs(`color`),t=rs(`font`),n=rs(`text`),r=rs(`font-weight`),i=rs(`tracking`),a=rs(`leading`),o=rs(`breakpoint`),s=rs(`container`),c=rs(`spacing`),l=rs(`radius`),u=rs(`shadow`),d=rs(`inset-shadow`),f=rs(`text-shadow`),p=rs(`drop-shadow`),m=rs(`blur`),h=rs(`perspective`),g=rs(`aspect`),_=rs(`ease`),v=rs(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],ee=()=>[...b(),Ms,ws],x=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],te=()=>[`auto`,`contain`,`none`],S=()=>[Ms,ws,c],ne=()=>[fs,`full`,`auto`,...S()],re=()=>[ms,`none`,`subgrid`,Ms,ws],ie=()=>[`auto`,{span:[`full`,ms,Ms,ws]},ms,Ms,ws],ae=()=>[ms,`auto`,Ms,ws],oe=()=>[`auto`,`min`,`max`,`fr`,Ms,ws],C=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],se=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ce=()=>[`auto`,...S()],le=()=>[fs,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...S()],ue=()=>[fs,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...S()],de=()=>[fs,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...S()],w=()=>[e,Ms,ws],fe=()=>[...b(),Fs,ks,{position:[Ms,ws]}],T=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],pe=()=>[`auto`,`cover`,`contain`,Is,Cs,{size:[Ms,ws]}],me=()=>[hs,Ns,Ts],he=()=>[``,`none`,`full`,l,Ms,ws],ge=()=>[``,ps,Ns,Ts],_e=()=>[`solid`,`dashed`,`dotted`,`double`],ve=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ye=()=>[ps,hs,Fs,ks],be=()=>[``,`none`,m,Ms,ws],xe=()=>[`none`,ps,Ms,ws],Se=()=>[`none`,ps,Ms,ws],Ce=()=>[ps,Ms,ws],we=()=>[fs,`full`,...S()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[gs],breakpoint:[gs],color:[_s],container:[gs],"drop-shadow":[gs],ease:[`in`,`out`,`in-out`],font:[Ss],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[gs],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[gs],shadow:[gs],spacing:[`px`,ps],text:[gs],"text-shadow":[gs],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,fs,ws,Ms,g]}],container:[`container`],columns:[{columns:[ps,ws,Ms,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:ee()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:ne()}],"inset-x":[{"inset-x":ne()}],"inset-y":[{"inset-y":ne()}],start:[{"inset-s":ne(),start:ne()}],end:[{"inset-e":ne(),end:ne()}],"inset-bs":[{"inset-bs":ne()}],"inset-be":[{"inset-be":ne()}],top:[{top:ne()}],right:[{right:ne()}],bottom:[{bottom:ne()}],left:[{left:ne()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[ms,`auto`,Ms,ws]}],basis:[{basis:[fs,`full`,`auto`,s,...S()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[ps,fs,`auto`,`initial`,`none`,ws]}],grow:[{grow:[``,ps,Ms,ws]}],shrink:[{shrink:[``,ps,Ms,ws]}],order:[{order:[ms,`first`,`last`,`none`,Ms,ws]}],"grid-cols":[{"grid-cols":re()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":re()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...C(),`normal`]}],"justify-items":[{"justify-items":[...se(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...se()]}],"align-content":[{content:[`normal`,...C()]}],"align-items":[{items:[...se(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...se(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":C()}],"place-items":[{"place-items":[...se(),`baseline`]}],"place-self":[{"place-self":[`auto`,...se()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:ce()}],mx:[{mx:ce()}],my:[{my:ce()}],ms:[{ms:ce()}],me:[{me:ce()}],mbs:[{mbs:ce()}],mbe:[{mbe:ce()}],mt:[{mt:ce()}],mr:[{mr:ce()}],mb:[{mb:ce()}],ml:[{ml:ce()}],"space-x":[{"space-x":S()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":S()}],"space-y-reverse":[`space-y-reverse`],size:[{size:le()}],"inline-size":[{inline:[`auto`,...ue()]}],"min-inline-size":[{"min-inline":[`auto`,...ue()]}],"max-inline-size":[{"max-inline":[`none`,...ue()]}],"block-size":[{block:[`auto`,...de()]}],"min-block-size":[{"min-block":[`auto`,...de()]}],"max-block-size":[{"max-block":[`none`,...de()]}],w:[{w:[s,`screen`,...le()]}],"min-w":[{"min-w":[s,`screen`,`none`,...le()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...le()]}],h:[{h:[`screen`,`lh`,...le()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...le()]}],"max-h":[{"max-h":[`screen`,`lh`,...le()]}],"font-size":[{text:[`base`,n,Ns,Ts]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,zs,Ds]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,hs,ws]}],"font-family":[{font:[Ps,Os,t]}],"font-features":[{"font-features":[ws]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Ms,ws]}],"line-clamp":[{"line-clamp":[ps,`none`,Ms,Es]}],leading:[{leading:[a,...S()]}],"list-image":[{"list-image":[`none`,Ms,ws]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Ms,ws]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[..._e(),`wavy`]}],"text-decoration-thickness":[{decoration:[ps,`from-font`,`auto`,Ms,Ts]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[ps,`auto`,Ms,ws]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:S()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Ms,ws]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Ms,ws]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:fe()}],"bg-repeat":[{bg:T()}],"bg-size":[{bg:pe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ms,Ms,ws],radial:[``,Ms,ws],conic:[ms,Ms,ws]},Ls,As]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:me()}],"gradient-via-pos":[{via:me()}],"gradient-to-pos":[{to:me()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:he()}],"rounded-s":[{"rounded-s":he()}],"rounded-e":[{"rounded-e":he()}],"rounded-t":[{"rounded-t":he()}],"rounded-r":[{"rounded-r":he()}],"rounded-b":[{"rounded-b":he()}],"rounded-l":[{"rounded-l":he()}],"rounded-ss":[{"rounded-ss":he()}],"rounded-se":[{"rounded-se":he()}],"rounded-ee":[{"rounded-ee":he()}],"rounded-es":[{"rounded-es":he()}],"rounded-tl":[{"rounded-tl":he()}],"rounded-tr":[{"rounded-tr":he()}],"rounded-br":[{"rounded-br":he()}],"rounded-bl":[{"rounded-bl":he()}],"border-w":[{border:ge()}],"border-w-x":[{"border-x":ge()}],"border-w-y":[{"border-y":ge()}],"border-w-s":[{"border-s":ge()}],"border-w-e":[{"border-e":ge()}],"border-w-bs":[{"border-bs":ge()}],"border-w-be":[{"border-be":ge()}],"border-w-t":[{"border-t":ge()}],"border-w-r":[{"border-r":ge()}],"border-w-b":[{"border-b":ge()}],"border-w-l":[{"border-l":ge()}],"divide-x":[{"divide-x":ge()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":ge()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[..._e(),`hidden`,`none`]}],"divide-style":[{divide:[..._e(),`hidden`,`none`]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-bs":[{"border-bs":w()}],"border-color-be":[{"border-be":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[..._e(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[ps,Ms,ws]}],"outline-w":[{outline:[``,ps,Ns,Ts]}],"outline-color":[{outline:w()}],shadow:[{shadow:[``,`none`,u,Rs,js]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":[`none`,d,Rs,js]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:ge()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[ps,Ts]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":ge()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":[`none`,f,Rs,js]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[ps,Ms,ws]}],"mix-blend":[{"mix-blend":[...ve(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[ps]}],"mask-image-linear-from-pos":[{"mask-linear-from":ye()}],"mask-image-linear-to-pos":[{"mask-linear-to":ye()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":ye()}],"mask-image-t-to-pos":[{"mask-t-to":ye()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":ye()}],"mask-image-r-to-pos":[{"mask-r-to":ye()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":ye()}],"mask-image-b-to-pos":[{"mask-b-to":ye()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":ye()}],"mask-image-l-to-pos":[{"mask-l-to":ye()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":ye()}],"mask-image-x-to-pos":[{"mask-x-to":ye()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":ye()}],"mask-image-y-to-pos":[{"mask-y-to":ye()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[Ms,ws]}],"mask-image-radial-from-pos":[{"mask-radial-from":ye()}],"mask-image-radial-to-pos":[{"mask-radial-to":ye()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[ps]}],"mask-image-conic-from-pos":[{"mask-conic-from":ye()}],"mask-image-conic-to-pos":[{"mask-conic-to":ye()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:fe()}],"mask-repeat":[{mask:T()}],"mask-size":[{mask:pe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Ms,ws]}],filter:[{filter:[``,`none`,Ms,ws]}],blur:[{blur:be()}],brightness:[{brightness:[ps,Ms,ws]}],contrast:[{contrast:[ps,Ms,ws]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Rs,js]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:[``,ps,Ms,ws]}],"hue-rotate":[{"hue-rotate":[ps,Ms,ws]}],invert:[{invert:[``,ps,Ms,ws]}],saturate:[{saturate:[ps,Ms,ws]}],sepia:[{sepia:[``,ps,Ms,ws]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Ms,ws]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[ps,Ms,ws]}],"backdrop-contrast":[{"backdrop-contrast":[ps,Ms,ws]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,ps,Ms,ws]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ps,Ms,ws]}],"backdrop-invert":[{"backdrop-invert":[``,ps,Ms,ws]}],"backdrop-opacity":[{"backdrop-opacity":[ps,Ms,ws]}],"backdrop-saturate":[{"backdrop-saturate":[ps,Ms,ws]}],"backdrop-sepia":[{"backdrop-sepia":[``,ps,Ms,ws]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Ms,ws]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[ps,`initial`,Ms,ws]}],ease:[{ease:[`linear`,`initial`,_,Ms,ws]}],delay:[{delay:[ps,Ms,ws]}],animate:[{animate:[`none`,v,Ms,ws]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Ms,ws]}],"perspective-origin":[{"perspective-origin":ee()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:Se()}],"scale-x":[{"scale-x":Se()}],"scale-y":[{"scale-y":Se()}],"scale-z":[{"scale-z":Se()}],"scale-3d":[`scale-3d`],skew:[{skew:Ce()}],"skew-x":[{"skew-x":Ce()}],"skew-y":[{"skew-y":Ce()}],transform:[{transform:[Ms,ws,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:ee()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:we()}],"translate-x":[{"translate-x":we()}],"translate-y":[{"translate-y":we()}],"translate-z":[{"translate-z":we()}],"translate-none":[`translate-none`],accent:[{accent:w()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Ms,ws]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Ms,ws]}],fill:[{fill:[`none`,...w()]}],"stroke-w":[{stroke:[ps,Ns,Ts,Es]}],stroke:[{stroke:[`none`,...w()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},Zs=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(Qs(e,`cacheSize`,t),Qs(e,`prefix`,n),Qs(e,`experimentalParseClassName`,r),$s(e.theme,a.theme),$s(e.classGroups,a.classGroups),$s(e.conflictingClassGroups,a.conflictingClassGroups),$s(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),Qs(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),ec(e.theme,i.theme),ec(e.classGroups,i.classGroups),ec(e.conflictingClassGroups,i.conflictingClassGroups),ec(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),tc(e,i,`orderSensitiveModifiers`),e),Qs=(e,t,n)=>{n!==void 0&&(e[t]=n)},$s=(e,t)=>{if(t)for(let n in t)Qs(e,n,t[n])},ec=(e,t)=>{if(t)for(let n in t)tc(e,t,n)},tc=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},nc=((e,...t)=>typeof e==`function`?ts(Xs,e,...t):ts(()=>Zs(Xs(),e),...t))({extend:{classGroups:{"font-size":[`text-3xs`,`text-xxs`],"font-weight":[`font-sidebar`,`font-sidebar-active`],"max-w":[{"max-w":[e=>!!e]}],w:[{w:[e=>!!e]}]}}}),{cva:rc,cx:ic,compose:pne}=wo({hooks:{onComplete:e=>nc(e)}});function ac(){let e=ve(),t=j(()=>{let{class:t,style:n,...r}=e;return{class:t||``,style:n,rest:r}});function n(...e){return{class:ic(...e,t.value.class),style:t.value.style,...t.value.rest}}function r(...e){return{class:ic(...e,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:j(()=>t.value.rest)}}var oc=e=>e!=null,sc=(e,t,n=!0)=>{let r=t?.[`x-disabled`];return typeof r==`boolean`?r:n?!e.required&&e.in!==`path`:!1},cc=e=>e[`$ref-value`],lc=e=>{let{"$ref-value":t,...n}=e;return{...t,...n}},L=(e,t=cc)=>typeof e==`object`&&e&&`$ref`in e?t(e):e,uc=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},dc=e=>typeof e==`object`&&!!e,fc=e=>decodeURI(e.replace(/~1/g,`/`).replace(/~0/g,`~`)),pc=e=>e.split(`/`).slice(1).map(fc),mc=(e,t,n)=>{let[r,i]=e.split(`#`,2);if(r)return n.has(r)?i?i.startsWith(`/`)?`${n.get(r)}${i}`:n.get(`${r}#${i}`):n.get(r):void 0;if(i)return i.startsWith(`/`)?i.slice(1):n.get(`${t}#${i}`)},hc=e=>{if(e&&typeof e==`object`&&e.$id&&typeof e.$id==`string`)return e.$id},gc=e=>e.join(`/`),_c=(e,t=``,n=[],r=new Map,i=new WeakSet)=>{if(typeof e!=`object`||!e||i.has(e))return r;i.add(e);let a=hc(e);a&&r.set(a,gc(n));let o=a??t;e.$anchor&&typeof e.$anchor==`string`&&r.set(`${o}#${e.$anchor}`,gc(n));for(let t in e)typeof e[t]==`object`&&e[t]!==null&&_c(e[t],o,[...n,t],r,i);return r};function vc(e,t){return t.reduce((e,t)=>e.value===void 0||typeof e.value!=`object`||e.value===null?{context:``,value:void 0}:{context:hc(e.value)??e.context,value:e.value?.[t]},{context:``,value:e})}function yc(e,t){return t.reduce((e,t)=>(e[t]===void 0&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t]),e)}var bc=Symbol(`isMagicProxy`),xc=Symbol(`magicProxyTarget`),Sc=`$ref-value`,Cc=`$ref`,wc=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:_c(e),currentContext:``})=>{if(!uc(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===bc)return!0;if(r===xc)return e;if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return;let a=Reflect.get(e,Cc,i),o=hc(e);if(r===Sc&&typeof a==`string`){if(n.cache.has(a))return n.cache.get(a);let e=mc(a,o??n.currentContext,n.schemas);if(e===void 0)return;let r=vc(n.root,pc(`/${e}`));if(Tc(r.value))return r.value;let i=wc(r.value,t,{...n,currentContext:r.context});return n.cache.set(a,i),i}let s=Reflect.get(e,r,i);return Tc(s)?s:wc(s,t,{...n,currentContext:o??n.currentContext})},set(e,r,i,a){let o=Reflect.get(e,Cc,a);if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return!0;if(r===Sc&&typeof o==`string`){let t=mc(o,hc(e)??n.currentContext,n.schemas);if(t===void 0)return;let r=pc(`/${t}`);if(r.length===0)return!1;let a=()=>vc(n.root,r.slice(0,-1)).value;return a()===void 0&&(yc(n.root,r.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${o}\n\nPlease fix your input file to fix this issue.`)),a()[r.at(-1)]=i,!0}return Reflect.set(e,r,i,a)},deleteProperty(e,t){return Reflect.deleteProperty(e,t)},has(e,n){return typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal?!1:n===Sc&&Cc in e?!0:Reflect.has(e,n)},ownKeys(e){let n=Reflect.ownKeys(e).filter(e=>typeof e!=`string`||!(e.startsWith(`__scalar_`)&&!t?.showInternal));return Cc in e&&!n.includes(Sc)&&n.push(Sc),n},getOwnPropertyDescriptor(e,n){if(typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal)return;let r=Reflect.get(e,Cc);return n===Sc&&typeof r==`string`?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}});return n.proxyCache.set(e,r),r},Tc=e=>typeof e==`object`&&!!e&&e[bc]===!0;function Ec(e){return typeof e!=`object`||!e?e:e[bc]?e[xc]:e}var Dc=Symbol(`isDetectChangesProxy`),Oc=Symbol(`detectChangesProxyTarget`),kc=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!uc(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===Dc)return!0;if(r===Oc)return e;let a=Reflect.get(e,r,i);return Ac(a)?a:kc(a,t,{...n,path:[...n.path,String(r)]})},set(e,r,i,a){let o=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(o,i);let s=Reflect.set(e,r,i,a);return t?.hooks?.onAfterChange?.(o,i),s},deleteProperty(e,r){let i=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(i);let a=Reflect.deleteProperty(e,r);return t?.hooks?.onAfterChange?.(i),a}});return n.proxyCache.set(e,r),r},Ac=e=>typeof e==`object`&&!!e&&e[Dc]===!0,jc=e=>typeof e!=`object`||!e?e:e[Dc]?e[Oc]:e,Mc=Symbol(`isOverridesProxy`),Nc=Symbol(`getOverridesTarget`),Pc=(e,t,n={cache:new WeakMap})=>{if(!e||typeof e!=`object`)return e;if(n.cache.has(e))return n.cache.get(e);let{overrides:r}=t??{},i=new Proxy(e,{get(e,t,i){if(t===Mc)return!0;if(t===Nc)return e;let a=Reflect.get(e,t,i);return Fc(a)?a:uc(a)?Pc(a,{overrides:Reflect.get(r??{},t)},n):Reflect.get(r??{},t)??a},set(e,t,n,i){return t===Mc||t===Nc?!1:r&&Reflect.has(r,t)&&r&&typeof r==`object`?(r[t]=n,!0):Reflect.set(e,t,n,i)}});return n.cache.set(e,i),i},Fc=e=>typeof e==`object`&&!!e&&e[Mc]===!0;function Ic(e){return typeof e==`object`&&e&&e[Mc]?e[Nc]:e}var Lc=(e,{depth:t=0}={})=>{let n=(r,i=0)=>{if(typeof r!=`object`||!r)return r;let a=jc(Ee(Ec(Ic(r))));return t!==null&&i>=t?a:(i!==0&&a!==r&&(console.warn(`%c⚠ Warning:%c You tried to assign a proxied object (depth: %d).
5
+ %c💡 Tip:%c Pass a plain object instead — wrapping a proxy inside another proxy may cause weird bugs.
6
+ %c🔍 Debug Info:%c The problematic value is shown below:`,`background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;`,`color: inherit;`,i,`color: #00bfa5; font-weight: bold;`,`color: inherit;`,`color: #03a9f4; font-weight: bold;`,`color: inherit;`,r,e),console.groupCollapsed(`%c📜 Proxy assignment trace`,`color: #9c27b0; font-weight: bold;`),console.trace({value:r,raw:a}),console.groupEnd()),Object.entries(a).forEach(([e,t])=>{let r=n(t,i+1);Reflect.set(a,e,r)||console.warn(`%c🚫 Readonly Property Error:%c Failed to set property "%s" on object.
7
+ %c💡 Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property — the value was not updated.
8
+ %c🔍 Debug Info:%c Property: %s | Value: %o | Object: %o`,`background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;`,`color: inherit;`,e,`color: #00bfa5; font-weight: bold;`,`color: inherit;`,`color: #03a9f4; font-weight: bold;`,`color: inherit;`,e,r,a)}),a)};return n(e)},Rc=(e,t,n)=>{if(!e&&!t)return;let r=!!e&&Object.keys(e).length>0,i=n||Object.keys(e??{})[0]||``,a=L(e?.[i]);if(a!==void 0)return a;if((!r||!n)&&t!==void 0)return{value:L(t)}},zc=(e,t,n)=>{if(`content`in e){let r=e.content?.[n??Object.keys(e.content)[0]??``],i=Rc(r?.examples,r?.example,t);if(i!==void 0)return i}if(`examples`in e||`example`in e){let n=Rc(e.examples,e.example,t);if(n!==void 0)return n}let r=L(e);if(`schema`in r&&r.schema){let e=r.schema;if(`default`in e&&e.default!==void 0)return{value:e.default};if(`enum`in e&&e.enum?.[0]!==void 0)return{value:e.enum[0]};if(`examples`in e&&e.examples?.[0]!==void 0)return{value:e.examples[0]};if(`example`in e&&e.example!==void 0)return{value:e.example}}},Bc=e=>typeof e==`object`&&!!e&&`$dynamicRef`in e&&typeof e.$dynamicRef==`string`,Vc=e=>`$dynamicAnchor`in e||`$id`in e||`$defs`in e,Hc=new WeakMap,Uc=e=>{let t=Lc(e,{depth:1}),n=Hc.get(t);if(n)return n;let r=new Map,i=e=>{if(!e||typeof e!=`object`)return;let t=e.$dynamicAnchor;typeof t==`string`&&!r.has(t)&&r.set(t,L(e,lc))};i(e);let a=e.$defs;if(a&&typeof a==`object`)for(let e of Object.keys(a))i(a[e]);return Hc.set(t,r),r},Wc=(e,t)=>Vc(t)?[...e,t]:e,Gc=(e,t)=>{let n=e.startsWith(`#`)?e.slice(1):void 0;if(!(!n||n.startsWith(`/`)))for(let e of t){let t=Uc(e).get(n);if(t)return t}};function Kc(e){return tl(e)&&!qc(e)&&!al(e)&&Symbol.asyncIterator in e}function qc(e){return Array.isArray(e)}function Jc(e){return typeof e==`bigint`}function Yc(e){return typeof e==`boolean`}function Xc(e){return e instanceof globalThis.Date}function Zc(e){return typeof e==`function`}function Qc(e){return tl(e)&&!qc(e)&&!al(e)&&Symbol.iterator in e}function $c(e){return e===null}function el(e){return typeof e==`number`}function tl(e){return typeof e==`object`&&!!e}function nl(e){return e instanceof globalThis.RegExp}function rl(e){return typeof e==`string`}function il(e){return typeof e==`symbol`}function al(e){return e instanceof globalThis.Uint8Array}function ol(e){return e===void 0}function sl(e){return e.map(e=>fl(e))}function cl(e){return new Date(e.getTime())}function ll(e){return new Uint8Array(e)}function ul(e){return new RegExp(e.source,e.flags)}function dl(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=fl(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=fl(e[n]);return t}function fl(e){return qc(e)?sl(e):Xc(e)?cl(e):al(e)?ll(e):nl(e)?ul(e):tl(e)?dl(e):e}function pl(e){return fl(e)}function ml(e,t){return pl(t===void 0?e:{...t,...e})}function hl(e){return wl(e)&&globalThis.Symbol.asyncIterator in e}function gl(e){return wl(e)&&globalThis.Symbol.iterator in e}function _l(e){return e instanceof globalThis.Promise}function vl(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function yl(e){return e instanceof globalThis.Map}function bl(e){return e instanceof globalThis.Set}function xl(e){return globalThis.ArrayBuffer.isView(e)}function Sl(e){return e instanceof globalThis.Uint8Array}function Cl(e,t){return t in e}function wl(e){return typeof e==`object`&&!!e}function Tl(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function El(e){return e===void 0}function Dl(e){return e===null}function Ol(e){return typeof e==`boolean`}function kl(e){return typeof e==`number`}function Al(e){return globalThis.Number.isInteger(e)}function jl(e){return typeof e==`bigint`}function Ml(e){return typeof e==`string`}function Nl(e){return typeof e==`function`}function Pl(e){return typeof e==`symbol`}function mne(e){return jl(e)||Ol(e)||Dl(e)||kl(e)||Ml(e)||Pl(e)||El(e)}var Fl;(function(e){e.InstanceMode=`default`,e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(t,n){return e.ExactOptionalPropertyTypes?n in t:t[n]!==void 0}e.IsExactOptionalProperty=t;function n(t){let n=wl(t);return e.AllowArrayObject?n:n&&!Tl(t)}e.IsObjectLike=n;function r(e){return n(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=r;function i(t){return e.AllowNaN?kl(t):Number.isFinite(t)}e.IsNumberLike=i;function a(t){let n=El(t);return e.AllowNullVoid?n||t===null:n}e.IsVoidLike=a})(Fl||={});function hne(e){return globalThis.Object.freeze(e).map(e=>Il(e))}function gne(e){return e}function _ne(e){return e}function vne(e){return e}function yne(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=Il(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=Il(e[n]);return globalThis.Object.freeze(t)}function Il(e){return qc(e)?hne(e):Xc(e)?gne(e):al(e)?_ne(e):nl(e)?vne(e):tl(e)?yne(e):e}function R(e,t){let n=t===void 0?e:{...t,...e};switch(Fl.InstanceMode){case`freeze`:return Il(n);case`clone`:return pl(n);default:return n}}var Ll=class extends Error{constructor(e){super(e)}},Rl=Symbol.for(`TypeBox.Transform`),zl=Symbol.for(`TypeBox.Readonly`),Bl=Symbol.for(`TypeBox.Optional`),Vl=Symbol.for(`TypeBox.Hint`),z=Symbol.for(`TypeBox.Kind`);function Hl(e){return tl(e)&&e[zl]===`Readonly`}function Ul(e){return tl(e)&&e[Bl]===`Optional`}function Wl(e){return nu(e,`Any`)}function Gl(e){return nu(e,`Argument`)}function Kl(e){return nu(e,`Array`)}function ql(e){return nu(e,`AsyncIterator`)}function Jl(e){return nu(e,`BigInt`)}function Yl(e){return nu(e,`Boolean`)}function Xl(e){return nu(e,`Computed`)}function Zl(e){return nu(e,`Constructor`)}function bne(e){return nu(e,`Date`)}function Ql(e){return nu(e,`Function`)}function $l(e){return nu(e,`Integer`)}function eu(e){return nu(e,`Intersect`)}function tu(e){return nu(e,`Iterator`)}function nu(e,t){return tl(e)&&z in e&&e[z]===t}function ru(e){return Yc(e)||el(e)||rl(e)}function iu(e){return nu(e,`Literal`)}function au(e){return nu(e,`MappedKey`)}function ou(e){return nu(e,`MappedResult`)}function su(e){return nu(e,`Never`)}function xne(e){return nu(e,`Not`)}function cu(e){return nu(e,`Null`)}function lu(e){return nu(e,`Number`)}function uu(e){return nu(e,`Object`)}function du(e){return nu(e,`Promise`)}function fu(e){return nu(e,`Record`)}function pu(e){return nu(e,`Ref`)}function mu(e){return nu(e,`RegExp`)}function hu(e){return nu(e,`String`)}function gu(e){return nu(e,`Symbol`)}function _u(e){return nu(e,`TemplateLiteral`)}function Sne(e){return nu(e,`This`)}function vu(e){return tl(e)&&Rl in e}function yu(e){return nu(e,`Tuple`)}function bu(e){return nu(e,`Undefined`)}function xu(e){return nu(e,`Union`)}function Cne(e){return nu(e,`Uint8Array`)}function wne(e){return nu(e,`Unknown`)}function Tne(e){return nu(e,`Unsafe`)}function Ene(e){return nu(e,`Void`)}function Dne(e){return tl(e)&&z in e&&rl(e[z])}function Su(e){return Wl(e)||Gl(e)||Kl(e)||Yl(e)||Jl(e)||ql(e)||Xl(e)||Zl(e)||bne(e)||Ql(e)||$l(e)||eu(e)||tu(e)||iu(e)||au(e)||ou(e)||su(e)||xne(e)||cu(e)||lu(e)||uu(e)||du(e)||fu(e)||pu(e)||mu(e)||hu(e)||gu(e)||_u(e)||Sne(e)||yu(e)||bu(e)||xu(e)||Cne(e)||wne(e)||Tne(e)||Ene(e)||Dne(e)}var One=`Argument.Any.Array.AsyncIterator.BigInt.Boolean.Computed.Constructor.Date.Enum.Function.Integer.Intersect.Iterator.Literal.MappedKey.MappedResult.Not.Null.Number.Object.Promise.Record.Ref.RegExp.String.Symbol.TemplateLiteral.This.Tuple.Undefined.Union.Uint8Array.Unknown.Void`.split(`.`);function Cu(e){try{return new RegExp(e),!0}catch{return!1}}function wu(e){if(!rl(e))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=7&&n<=13||n===27||n===127)return!1}return!0}function Tu(e){return Ou(e)||fd(e)}function Eu(e){return ol(e)||Jc(e)}function Du(e){return ol(e)||el(e)}function Ou(e){return ol(e)||Yc(e)}function ku(e){return ol(e)||rl(e)}function kne(e){return ol(e)||rl(e)&&wu(e)&&Cu(e)}function Ane(e){return ol(e)||rl(e)&&wu(e)}function Au(e){return ol(e)||fd(e)}function ju(e){return tl(e)&&e[Bl]===`Optional`}function Mu(e){return Wu(e,`Any`)&&ku(e.$id)}function jne(e){return Wu(e,`Argument`)&&el(e.index)}function Nu(e){return Wu(e,`Array`)&&e.type===`array`&&ku(e.$id)&&fd(e.items)&&Du(e.minItems)&&Du(e.maxItems)&&Ou(e.uniqueItems)&&Au(e.contains)&&Du(e.minContains)&&Du(e.maxContains)}function Pu(e){return Wu(e,`AsyncIterator`)&&e.type===`AsyncIterator`&&ku(e.$id)&&fd(e.items)}function Fu(e){return Wu(e,`BigInt`)&&e.type===`bigint`&&ku(e.$id)&&Eu(e.exclusiveMaximum)&&Eu(e.exclusiveMinimum)&&Eu(e.maximum)&&Eu(e.minimum)&&Eu(e.multipleOf)}function Iu(e){return Wu(e,`Boolean`)&&e.type===`boolean`&&ku(e.$id)}function Mne(e){return Wu(e,`Computed`)&&rl(e.target)&&qc(e.parameters)&&e.parameters.every(e=>fd(e))}function Lu(e){return Wu(e,`Constructor`)&&e.type===`Constructor`&&ku(e.$id)&&qc(e.parameters)&&e.parameters.every(e=>fd(e))&&fd(e.returns)}function Ru(e){return Wu(e,`Date`)&&e.type===`Date`&&ku(e.$id)&&Du(e.exclusiveMaximumTimestamp)&&Du(e.exclusiveMinimumTimestamp)&&Du(e.maximumTimestamp)&&Du(e.minimumTimestamp)&&Du(e.multipleOfTimestamp)}function zu(e){return Wu(e,`Function`)&&e.type===`Function`&&ku(e.$id)&&qc(e.parameters)&&e.parameters.every(e=>fd(e))&&fd(e.returns)}function Bu(e){return Wu(e,`Integer`)&&e.type===`integer`&&ku(e.$id)&&Du(e.exclusiveMaximum)&&Du(e.exclusiveMinimum)&&Du(e.maximum)&&Du(e.minimum)&&Du(e.multipleOf)}function Vu(e){return tl(e)&&Object.entries(e).every(([e,t])=>wu(e)&&fd(t))}function Hu(e){return Wu(e,`Intersect`)&&!(rl(e.type)&&e.type!==`object`)&&qc(e.allOf)&&e.allOf.every(e=>fd(e)&&!Rne(e))&&ku(e.type)&&(Ou(e.unevaluatedProperties)||Au(e.unevaluatedProperties))&&ku(e.$id)}function Uu(e){return Wu(e,`Iterator`)&&e.type===`Iterator`&&ku(e.$id)&&fd(e.items)}function Wu(e,t){return tl(e)&&z in e&&e[z]===t}function Gu(e){return Ju(e)&&rl(e.const)}function Ku(e){return Ju(e)&&el(e.const)}function qu(e){return Ju(e)&&Yc(e.const)}function Ju(e){return Wu(e,`Literal`)&&ku(e.$id)&&Nne(e.const)}function Nne(e){return Yc(e)||el(e)||rl(e)}function Pne(e){return Wu(e,`MappedKey`)&&qc(e.keys)&&e.keys.every(e=>el(e)||rl(e))}function Fne(e){return Wu(e,`MappedResult`)&&Vu(e.properties)}function Yu(e){return Wu(e,`Never`)&&tl(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function Xu(e){return Wu(e,`Not`)&&fd(e.not)}function Zu(e){return Wu(e,`Null`)&&e.type===`null`&&ku(e.$id)}function Qu(e){return Wu(e,`Number`)&&e.type===`number`&&ku(e.$id)&&Du(e.exclusiveMaximum)&&Du(e.exclusiveMinimum)&&Du(e.maximum)&&Du(e.minimum)&&Du(e.multipleOf)}function $u(e){return Wu(e,`Object`)&&e.type===`object`&&ku(e.$id)&&Vu(e.properties)&&Tu(e.additionalProperties)&&Du(e.minProperties)&&Du(e.maxProperties)}function ed(e){return Wu(e,`Promise`)&&e.type===`Promise`&&ku(e.$id)&&fd(e.item)}function td(e){return Wu(e,`Record`)&&e.type===`object`&&ku(e.$id)&&Tu(e.additionalProperties)&&tl(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&Cu(t[0])&&tl(e.patternProperties)&&fd(e.patternProperties[t[0]])})(e)}function Ine(e){return Wu(e,`Ref`)&&ku(e.$id)&&rl(e.$ref)}function nd(e){return Wu(e,`RegExp`)&&ku(e.$id)&&rl(e.source)&&rl(e.flags)&&Du(e.maxLength)&&Du(e.minLength)}function rd(e){return Wu(e,`String`)&&e.type===`string`&&ku(e.$id)&&Du(e.minLength)&&Du(e.maxLength)&&kne(e.pattern)&&Ane(e.format)}function id(e){return Wu(e,`Symbol`)&&e.type===`symbol`&&ku(e.$id)}function ad(e){return Wu(e,`TemplateLiteral`)&&e.type===`string`&&rl(e.pattern)&&e.pattern[0]===`^`&&e.pattern[e.pattern.length-1]===`$`}function Lne(e){return Wu(e,`This`)&&ku(e.$id)&&rl(e.$ref)}function Rne(e){return tl(e)&&Rl in e}function od(e){return Wu(e,`Tuple`)&&e.type===`array`&&ku(e.$id)&&el(e.minItems)&&el(e.maxItems)&&e.minItems===e.maxItems&&(ol(e.items)&&ol(e.additionalItems)&&e.minItems===0||qc(e.items)&&e.items.every(e=>fd(e)))}function sd(e){return Wu(e,`Undefined`)&&e.type===`undefined`&&ku(e.$id)}function cd(e){return Wu(e,`Union`)&&ku(e.$id)&&tl(e)&&qc(e.anyOf)&&e.anyOf.every(e=>fd(e))}function ld(e){return Wu(e,`Uint8Array`)&&e.type===`Uint8Array`&&ku(e.$id)&&Du(e.minByteLength)&&Du(e.maxByteLength)}function ud(e){return Wu(e,`Unknown`)&&ku(e.$id)}function zne(e){return Wu(e,`Unsafe`)}function dd(e){return Wu(e,`Void`)&&e.type===`void`&&ku(e.$id)}function Bne(e){return tl(e)&&z in e&&rl(e[z])&&!One.includes(e[z])}function fd(e){return tl(e)&&(Mu(e)||jne(e)||Nu(e)||Iu(e)||Fu(e)||Pu(e)||Mne(e)||Lu(e)||Ru(e)||zu(e)||Bu(e)||Hu(e)||Uu(e)||Ju(e)||Pne(e)||Fne(e)||Yu(e)||Xu(e)||Zu(e)||Qu(e)||$u(e)||ed(e)||td(e)||Ine(e)||nd(e)||rd(e)||id(e)||ad(e)||Lne(e)||od(e)||sd(e)||cd(e)||ld(e)||ud(e)||zne(e)||dd(e)||Bne(e))}var pd=`(true|false)`,md=`(0|[1-9][0-9]*)`,hd=`(.*)`,Vne=`(?!.*)`;`${pd}`;var gd=`^${md}$`,_d=`^${hd}$`,Hne=`^${Vne}$`,vd=new Map;function yd(e){return vd.has(e)}function bd(e){return vd.get(e)}var xd=new Map;function Sd(e){return xd.has(e)}function Cd(e){return xd.get(e)}function Une(e,t){return e.includes(t)}function Wne(e){return[...new Set(e)]}function Gne(e,t){return e.filter(e=>t.includes(e))}function Kne(e,t){return e.reduce((e,t)=>Gne(e,t),t)}function qne(e){return e.length===1?e[0]:e.length>1?Kne(e.slice(1),e[0]):[]}function Jne(e){let t=[];for(let n of e)t.push(...n);return t}function wd(e){return R({[z]:`Any`},e)}function Td(e,t){return R({[z]:`Array`,type:`array`,items:e},t)}function Yne(e){return R({[z]:`Argument`,index:e})}function Ed(e,t){return R({[z]:`AsyncIterator`,type:`AsyncIterator`,items:e},t)}function Dd(e,t,n){return R({[z]:`Computed`,target:e,parameters:t},n)}function Xne(e,t){let{[t]:n,...r}=e;return r}function Od(e,t){return t.reduce((e,t)=>Xne(e,t),e)}function kd(e){return R({[z]:`Never`,not:{}},e)}function Ad(e){return R({[z]:`MappedResult`,properties:e})}function jd(e,t,n){return R({[z]:`Constructor`,type:`Constructor`,parameters:e,returns:t},n)}function Md(e,t,n){return R({[z]:`Function`,type:`Function`,parameters:e,returns:t},n)}function Nd(e,t){return R({[z]:`Union`,anyOf:e},t)}function Zne(e){return e.some(e=>Ul(e))}function Pd(e){return e.map(e=>Ul(e)?Qne(e):e)}function Qne(e){return Od(e,[Bl])}function $ne(e,t){return Zne(e)?bp(Nd(Pd(e),t)):Nd(Pd(e),t)}function Fd(e,t){return e.length===1?R(e[0],t):e.length===0?kd(t):$ne(e,t)}function Id(e,t){return e.length===0?kd(t):e.length===1?R(e[0],t):Nd(e,t)}var Ld=class extends Ll{};function ere(e){return e.replace(/\\\$/g,`$`).replace(/\\\*/g,`*`).replace(/\\\^/g,`^`).replace(/\\\|/g,`|`).replace(/\\\(/g,`(`).replace(/\\\)/g,`)`)}function Rd(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function zd(e,t){return Rd(e,t,`(`)}function Bd(e,t){return Rd(e,t,`)`)}function Vd(e,t){return Rd(e,t,`|`)}function Hd(e){if(!(zd(e,0)&&Bd(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(zd(e,n)&&(t+=1),Bd(e,n)&&--t,t===0&&n!==e.length-1)return!1;return!0}function Ud(e){return e.slice(1,e.length-1)}function Wd(e){let t=0;for(let n=0;n<e.length;n++)if(zd(e,n)&&(t+=1),Bd(e,n)&&--t,Vd(e,n)&&t===0)return!0;return!1}function Gd(e){for(let t=0;t<e.length;t++)if(zd(e,t))return!0;return!1}function Kd(e){let[t,n]=[0,0],r=[];for(let i=0;i<e.length;i++)if(zd(e,i)&&(t+=1),Bd(e,i)&&--t,Vd(e,i)&&t===0){let t=e.slice(n,i);t.length>0&&r.push(Jd(t)),n=i+1}let i=e.slice(n);return i.length>0&&r.push(Jd(i)),r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`or`,expr:r}}function qd(e){function t(e,t){if(!zd(e,t))throw new Ld(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let r=t;r<e.length;r++)if(zd(e,r)&&(n+=1),Bd(e,r)&&--n,n===0)return[t,r];throw new Ld(`TemplateLiteralParser: Unclosed group parens in expression`)}function n(e,t){for(let n=t;n<e.length;n++)if(zd(e,n))return[t,n];return[t,e.length]}let r=[];for(let i=0;i<e.length;i++)if(zd(e,i)){let[n,a]=t(e,i),o=e.slice(n,a+1);r.push(Jd(o)),i=a}else{let[t,a]=n(e,i),o=e.slice(t,a);o.length>0&&r.push(Jd(o)),i=a-1}return r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`and`,expr:r}}function Jd(e){return Hd(e)?Jd(Ud(e)):Wd(e)?Kd(e):Gd(e)?qd(e):{type:`const`,const:ere(e)}}function Yd(e){return Jd(e.slice(1,e.length-1))}var Xd=class extends Ll{};function Zd(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`0`&&e.expr[1].type===`const`&&e.expr[1].const===`[1-9][0-9]*`}function Qd(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`true`&&e.expr[1].type===`const`&&e.expr[1].const===`false`}function $d(e){return e.type===`const`&&e.const===`.*`}function ef(e){return Zd(e)||$d(e)?!1:Qd(e)?!0:e.type===`and`||e.type===`or`?e.expr.every(e=>ef(e)):e.type===`const`?!0:(()=>{throw new Xd(`Unknown expression type`)})()}function tf(e){return ef(Yd(e.pattern))}var nf=class extends Ll{};function*rf(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let n of rf(e.slice(1)))yield`${t}${n}`}function*af(e){return yield*rf(e.expr.map(e=>[...cf(e)]))}function*of(e){for(let t of e.expr)yield*cf(t)}function*sf(e){return yield e.const}function*cf(e){return e.type===`and`?yield*af(e):e.type===`or`?yield*of(e):e.type===`const`?yield*sf(e):(()=>{throw new nf(`Unknown expression`)})()}function lf(e){let t=Yd(e.pattern);return ef(t)?[...cf(t)]:[]}function uf(e,t){return R({[z]:`Literal`,const:e,type:typeof e},t)}function df(e){return R({[z]:`Boolean`,type:`boolean`},e)}function ff(e){return R({[z]:`BigInt`,type:`bigint`},e)}function pf(e){return R({[z]:`Number`,type:`number`},e)}function mf(e){return R({[z]:`String`,type:`string`},e)}function*hf(e){let t=e.trim().replace(/"|'/g,``);return t===`boolean`?yield df():t===`number`?yield pf():t===`bigint`?yield ff():t===`string`?yield mf():yield(()=>{let e=t.split(`|`).map(e=>uf(e.trim()));return e.length===0?kd():e.length===1?e[0]:Fd(e)})()}function*gf(e){if(e[1]!==`{`)return yield*[uf(`$`),..._f(e.slice(1))];for(let t=2;t<e.length;t++)if(e[t]===`}`){let n=hf(e.slice(2,t)),r=_f(e.slice(t+1));return yield*[...n,...r]}yield uf(e)}function*_f(e){for(let t=0;t<e.length;t++)if(e[t]===`$`)return yield*[uf(e.slice(0,t)),...gf(e.slice(t))];yield uf(e)}function vf(e){return[..._f(e)]}var yf=class extends Ll{};function bf(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function xf(e,t){return _u(e)?e.pattern.slice(1,e.pattern.length-1):xu(e)?`(${e.anyOf.map(e=>xf(e,t)).join(`|`)})`:lu(e)||$l(e)||Jl(e)?`${t}${md}`:hu(e)?`${t}${hd}`:iu(e)?`${t}${bf(e.const.toString())}`:Yl(e)?`${t}${pd}`:(()=>{throw new yf(`Unexpected Kind '${e[z]}'`)})()}function Sf(e){return`^${e.map(e=>xf(e,``)).join(``)}\$`}function Cf(e){return Fd(lf(e).map(e=>uf(e)))}function wf(e,t){let n=rl(e)?Sf(vf(e)):Sf(e);return R({[z]:`TemplateLiteral`,type:`string`,pattern:n},t)}function Tf(e){return lf(e).map(e=>e.toString())}function Ef(e){let t=[];for(let n of e)t.push(...Of(n));return t}function Df(e){return[e.toString()]}function Of(e){return[...new Set(_u(e)?Tf(e):xu(e)?Ef(e.anyOf):iu(e)?Df(e.const):lu(e)||$l(e)?[`[number]`]:[])]}function kf(e,t,n){let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=Uf(e,Of(t[i]),n);return r}function Af(e,t,n){return kf(e,t.properties,n)}function jf(e,t,n){return Ad(Af(e,t,n))}function Mf(e,t){return e.map(e=>Bf(e,t))}function Nf(e){return e.filter(e=>!su(e))}function Pf(e,t){return kp(Nf(Mf(e,t)))}function Ff(e){return e.some(e=>su(e))?[]:e}function If(e,t){return Fd(Ff(Mf(e,t)))}function Lf(e,t){return t in e?e[t]:t===`[number]`?Fd(e):kd()}function Rf(e,t){return t===`[number]`?e:kd()}function zf(e,t){return t in e?e[t]:kd()}function Bf(e,t){return eu(e)?Pf(e.allOf,t):xu(e)?If(e.anyOf,t):yu(e)?Lf(e.items??[],t):Kl(e)?Rf(e.items,t):uu(e)?zf(e.properties,t):kd()}function Vf(e,t){return t.map(t=>Bf(e,t))}function Hf(e,t){return Fd(Vf(e,t))}function Uf(e,t,n){if(pu(e)||pu(t)){if(!Su(e)||!Su(t))throw new Ll(`Index types using Ref parameters require both Type and Key to be of TSchema`);return Dd(`Index`,[e,t])}return ou(t)?jf(e,t,n):au(t)?qf(e,t,n):R(Su(t)?Hf(e,Of(t)):Hf(e,t),n)}function Wf(e,t,n){return{[t]:Uf(e,[t],pl(n))}}function Gf(e,t,n){return t.reduce((t,r)=>({...t,...Wf(e,r,n)}),{})}function Kf(e,t,n){return Gf(e,t.keys,n)}function qf(e,t,n){return Ad(Kf(e,t,n))}function Jf(e,t){return R({[z]:`Iterator`,type:`Iterator`,items:e},t)}function Yf(e){let t=[];for(let n in e)Ul(e[n])||t.push(n);return t}function Xf(e,t){let n=Yf(e);return R(n.length>0?{[z]:`Object`,type:`object`,properties:e,required:n}:{[z]:`Object`,type:`object`,properties:e},t)}var Zf=Xf;function Qf(e,t){return R({[z]:`Promise`,type:`Promise`,item:e},t)}function $f(e){return R(Od(e,[zl]))}function ep(e){return R({...e,[zl]:`Readonly`})}function tp(e,t){return t===!1?$f(e):ep(e)}function np(e,t){let n=t??!0;return ou(e)?ap(e,n):tp(e,n)}function rp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=np(e[r],t);return n}function ip(e,t){return rp(e.properties,t)}function ap(e,t){return Ad(ip(e,t))}function op(e,t){return R(e.length>0?{[z]:`Tuple`,type:`array`,items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[z]:`Tuple`,type:`array`,minItems:e.length,maxItems:e.length},t)}function sp(e,t){return e in t?mp(e,t[e]):Ad(t)}function cp(e){return{[e]:uf(e)}}function lp(e){let t={};for(let n of e)t[n]=uf(n);return t}function up(e,t){return Une(t,e)?cp(e):lp(t)}function dp(e,t){return sp(e,up(e,t))}function fp(e,t){return t.map(t=>mp(e,t))}function pp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=mp(e,t[r]);return n}function mp(e,t){let n={...t};return Ul(t)?bp(mp(e,Od(t,[Bl]))):Hl(t)?np(mp(e,Od(t,[zl]))):ou(t)?sp(e,t.properties):au(t)?dp(e,t.keys):Zl(t)?jd(fp(e,t.parameters),mp(e,t.returns),n):Ql(t)?Md(fp(e,t.parameters),mp(e,t.returns),n):ql(t)?Ed(mp(e,t.items),n):tu(t)?Jf(mp(e,t.items),n):eu(t)?Ap(fp(e,t.allOf),n):xu(t)?Id(fp(e,t.anyOf),n):yu(t)?op(fp(e,t.items??[]),n):uu(t)?Zf(pp(e,t.properties),n):Kl(t)?Td(mp(e,t.items),n):du(t)?Qf(mp(e,t.item),n):t}function hp(e,t){let n={};for(let r of e)n[r]=mp(r,t);return n}function gp(e,t,n){let r=Su(e)?Of(e):e;return Zf(hp(r,t({[z]:`MappedKey`,keys:r})),n)}function _p(e){return R(Od(e,[Bl]))}function vp(e){return R({...e,[Bl]:`Optional`})}function yp(e,t){return t===!1?_p(e):vp(e)}function bp(e,t){let n=t??!0;return ou(e)?Cp(e,n):yp(e,n)}function xp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=bp(e[r],t);return n}function Sp(e,t){return xp(e.properties,t)}function Cp(e,t){return Ad(Sp(e,t))}function wp(e,t={}){let n=e.every(e=>uu(e)),r=Su(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return R(t.unevaluatedProperties===!1||Su(t.unevaluatedProperties)||n?{...r,[z]:`Intersect`,type:`object`,allOf:e}:{...r,[z]:`Intersect`,allOf:e},t)}function Tp(e){return e.every(e=>Ul(e))}function Ep(e){return Od(e,[Bl])}function Dp(e){return e.map(e=>Ul(e)?Ep(e):e)}function Op(e,t){return Tp(e)?bp(wp(Dp(e),t)):wp(Dp(e),t)}function kp(e,t={}){if(e.length===1)return R(e[0],t);if(e.length===0)return kd(t);if(e.some(e=>vu(e)))throw Error(`Cannot intersect transform types`);return Op(e,t)}function Ap(e,t){if(e.length===1)return R(e[0],t);if(e.length===0)return kd(t);if(e.some(e=>vu(e)))throw Error(`Cannot intersect transform types`);return wp(e,t)}function jp(...e){let[t,n]=typeof e[0]==`string`?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!=`string`)throw new Ll(`Ref: $ref must be a string`);return R({[z]:`Ref`,$ref:t},n)}function Mp(e,t){return Dd(`Awaited`,[Dd(e,t)])}function Np(e){return Dd(`Awaited`,[jp(e)])}function Pp(e){return Ap(Lp(e))}function Fp(e){return Id(Lp(e))}function Ip(e){return Rp(e)}function Lp(e){return e.map(e=>Rp(e))}function Rp(e,t){return R(Xl(e)?Mp(e.target,e.parameters):eu(e)?Pp(e.allOf):xu(e)?Fp(e.anyOf):du(e)?Ip(e.item):pu(e)?Np(e.$ref):e,t)}function zp(e){let t=[];for(let n of e)t.push(Kp(n));return t}function Bp(e){return Jne(zp(e))}function Vp(e){return qne(zp(e))}function Hp(e){return e.map((e,t)=>t.toString())}function Up(e){return[`[number]`]}function Wp(e){return globalThis.Object.getOwnPropertyNames(e)}function Gp(e){return qp?globalThis.Object.getOwnPropertyNames(e).map(e=>e[0]===`^`&&e[e.length-1]===`$`?e.slice(1,e.length-1):e):[]}function Kp(e){return eu(e)?Bp(e.allOf):xu(e)?Vp(e.anyOf):yu(e)?Hp(e.items??[]):Kl(e)?Up(e.items):uu(e)?Wp(e.properties):fu(e)?Gp(e.patternProperties):[]}var qp=!1;function Jp(e){qp=!0;let t=Kp(e);return qp=!1,`^(${t.map(e=>`(${e})`).join(`|`)})$`}function Yp(e,t){return Dd(`KeyOf`,[Dd(e,t)])}function Xp(e){return Dd(`KeyOf`,[jp(e)])}function Zp(e,t){return R(Fd(Qp(Kp(e))),t)}function Qp(e){return e.map(e=>e===`[number]`?pf():uf(e))}function $p(e,t){return Xl(e)?Yp(e.target,e.parameters):pu(e)?Xp(e.$ref):ou(e)?nm(e,t):Zp(e,t)}function em(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=$p(e[r],pl(t));return n}function tm(e,t){return em(e.properties,t)}function nm(e,t){return Ad(tm(e,t))}function rm(e){let t=[];for(let n of e)t.push(...Kp(n));return Wne(t)}function im(e){return e.filter(e=>!su(e))}function am(e,t){let n=[];for(let r of e)n.push(...Vf(r,[t]));return im(n)}function om(e,t){let n={};for(let r of t)n[r]=kp(am(e,r));return n}function sm(e,t){return Zf(om(e,rm(e)),t)}function cm(e){return R({[z]:`Date`,type:`Date`},e)}function lm(e){return R({[z]:`Null`,type:`null`},e)}function um(e){return R({[z]:`Symbol`,type:`symbol`},e)}function dm(e){return R({[z]:`Undefined`,type:`undefined`},e)}function fm(e){return R({[z]:`Uint8Array`,type:`Uint8Array`},e)}function pm(e){return R({[z]:`Unknown`},e)}function mm(e){return e.map(e=>_m(e,!1))}function hm(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=np(_m(e[n],!1));return t}function gm(e,t){return t===!0?e:np(e)}function _m(e,t){return Kc(e)||Qc(e)?gm(wd(),t):qc(e)?np(op(mm(e))):al(e)?fm():Xc(e)?cm():tl(e)?gm(Zf(hm(e)),t):Zc(e)?gm(Md([],pm()),t):ol(e)?dm():$c(e)?lm():il(e)?um():Jc(e)?ff():el(e)||Yc(e)||rl(e)?uf(e):Zf({})}function vm(e,t){return R(_m(e,!0),t)}function ym(e,t){return Zl(e)?op(e.parameters,t):kd(t)}function bm(e,t){if(ol(e))throw Error(`Enum undefined or empty`);let n=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return Id([...new Set(n)].map(e=>uf(e)),{...t,[Vl]:`Enum`})}var xm=class extends Ll{},B;(function(e){e[e.Union=0]=`Union`,e[e.True=1]=`True`,e[e.False=2]=`False`})(B||={});function Sm(e){return e===B.False?e:B.True}function Cm(e){throw new xm(e)}function wm(e){return Yu(e)||Hu(e)||cd(e)||ud(e)||Mu(e)}function Tm(e,t){return Yu(t)?Um(e,t):Hu(t)?zm(e,t):cd(t)?Eh(e,t):ud(t)?Oh(e,t):Mu(t)?Em(e,t):Cm(`StructuralRight`)}function Em(e,t){return B.True}function Dm(e,t){return Hu(t)?zm(e,t):cd(t)&&t.anyOf.some(e=>Mu(e)||ud(e))?B.True:cd(t)?B.Union:ud(t)||Mu(t)?B.True:B.Union}function Om(e,t){return ud(e)?B.False:Mu(e)?B.Union:Yu(e)?B.True:B.False}function km(e,t){return $u(t)&&oh(t)?B.True:wm(t)?Tm(e,t):Nu(t)?Sm(Mh(e.items,t.items)):B.False}function Am(e,t){return wm(t)?Tm(e,t):Pu(t)?Sm(Mh(e.items,t.items)):B.False}function jm(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):Fu(t)?B.True:B.False}function Mm(e,t){return qu(e)||Iu(e)?B.True:B.False}function Nm(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):Iu(t)?B.True:B.False}function Pm(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):Lu(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Sm(Mh(t.parameters[n],e))===B.True)?Sm(Mh(e.returns,t.returns)):B.False:B.False}function Fm(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):Ru(t)?B.True:B.False}function Im(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):zu(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Sm(Mh(t.parameters[n],e))===B.True)?Sm(Mh(e.returns,t.returns)):B.False:B.False}function Lm(e,t){return Ju(e)&&el(e.const)||Qu(e)||Bu(e)?B.True:B.False}function Rm(e,t){return Bu(t)||Qu(t)?B.True:wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):B.False}function zm(e,t){return t.allOf.every(t=>Mh(e,t)===B.True)?B.True:B.False}function Bm(e,t){return e.allOf.some(e=>Mh(e,t)===B.True)?B.True:B.False}function Vm(e,t){return wm(t)?Tm(e,t):Uu(t)?Sm(Mh(e.items,t.items)):B.False}function Hm(e,t){return Ju(t)&&t.const===e.const?B.True:wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):rd(t)?_h(e,t):Qu(t)?Jm(e,t):Bu(t)?Lm(e,t):Iu(t)?Mm(e,t):B.False}function Um(e,t){return B.False}function Wm(e,t){return B.True}function Gm(e){let[t,n]=[e,0];for(;Xu(t);)t=t.not,n+=1;return n%2==0?t:pm()}function Km(e,t){return Xu(e)?Mh(Gm(e),t):Xu(t)?Mh(e,Gm(t)):Cm(`Invalid fallthrough for Not`)}function qm(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):Zu(t)?B.True:B.False}function Jm(e,t){return Ku(e)||Qu(e)||Bu(e)?B.True:B.False}function Ym(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):Bu(t)||Qu(t)?B.True:B.False}function Xm(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Zm(e){return oh(e)}function Qm(e){return Xm(e,0)||Xm(e,1)&&`description`in e.properties&&cd(e.properties.description)&&e.properties.description.anyOf.length===2&&(rd(e.properties.description.anyOf[0])&&sd(e.properties.description.anyOf[1])||rd(e.properties.description.anyOf[1])&&sd(e.properties.description.anyOf[0]))}function $m(e){return Xm(e,0)}function eh(e){return Xm(e,0)}function th(e){return Xm(e,0)}function nh(e){return Xm(e,0)}function rh(e){return oh(e)}function ih(e){let t=pf();return Xm(e,0)||Xm(e,1)&&`length`in e.properties&&Sm(Mh(e.properties.length,t))===B.True}function ah(e){return Xm(e,0)}function oh(e){let t=pf();return Xm(e,0)||Xm(e,1)&&`length`in e.properties&&Sm(Mh(e.properties.length,t))===B.True}function sh(e){let t=Md([wd()],wd());return Xm(e,0)||Xm(e,1)&&`then`in e.properties&&Sm(Mh(e.properties.then,t))===B.True}function ch(e,t){return Mh(e,t)===B.False||ju(e)&&!ju(t)?B.False:B.True}function lh(e,t){return ud(e)?B.False:Mu(e)?B.Union:Yu(e)||Gu(e)&&Zm(t)||Ku(e)&&$m(t)||qu(e)&&eh(t)||id(e)&&Qm(t)||Fu(e)&&th(t)||rd(e)&&Zm(t)||id(e)&&Qm(t)||Qu(e)&&$m(t)||Bu(e)&&$m(t)||Iu(e)&&eh(t)||ld(e)&&rh(t)||Ru(e)&&nh(t)||Lu(e)&&ah(t)||zu(e)&&ih(t)?B.True:td(e)&&rd(fh(e))?t[Vl]===`Record`?B.True:B.False:td(e)&&Qu(fh(e))&&Xm(t,0)?B.True:B.False}function uh(e,t){return wm(t)?Tm(e,t):td(t)?mh(e,t):$u(t)?(()=>{for(let n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!ju(t.properties[n]))return B.False;if(ju(t.properties[n]))return B.True;if(ch(e.properties[n],t.properties[n])===B.False)return B.False}return B.True})():B.False}function dh(e,t){return wm(t)?Tm(e,t):$u(t)&&sh(t)?B.True:ed(t)?Sm(Mh(e.item,t.item)):B.False}function fh(e){return gd in e.patternProperties?pf():_d in e.patternProperties?mf():Cm(`Unknown record key pattern`)}function ph(e){return gd in e.patternProperties?e.patternProperties[gd]:_d in e.patternProperties?e.patternProperties[_d]:Cm(`Unable to get record value schema`)}function mh(e,t){let[n,r]=[fh(t),ph(t)];return Gu(e)&&Qu(n)&&Sm(Mh(e,r))===B.True?B.True:ld(e)&&Qu(n)||rd(e)&&Qu(n)||Nu(e)&&Qu(n)?Mh(e,r):$u(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(ch(r,e.properties[t])===B.False)return B.False;return B.True})():B.False}function hh(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?Mh(ph(e),ph(t)):B.False}function gh(e,t){return Mh(nd(e)?mf():e,nd(t)?mf():t)}function _h(e,t){return Ju(e)&&rl(e.const)||rd(e)?B.True:B.False}function vh(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):rd(t)?B.True:B.False}function yh(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):id(t)?B.True:B.False}function bh(e,t){return ad(e)?Mh(Cf(e),t):ad(t)?Mh(e,Cf(t)):Cm(`Invalid fallthrough for TemplateLiteral`)}function xh(e,t){return Nu(t)&&e.items!==void 0&&e.items.every(e=>Mh(e,t.items)===B.True)}function Sh(e,t){return Yu(e)?B.True:ud(e)?B.False:Mu(e)?B.Union:B.False}function Ch(e,t){return wm(t)?Tm(e,t):$u(t)&&oh(t)||Nu(t)&&xh(e,t)?B.True:od(t)?ol(e.items)&&!ol(t.items)||!ol(e.items)&&ol(t.items)?B.False:ol(e.items)&&!ol(t.items)||e.items.every((e,n)=>Mh(e,t.items[n])===B.True)?B.True:B.False:B.False}function wh(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):ld(t)?B.True:B.False}function Th(e,t){return wm(t)?Tm(e,t):$u(t)?lh(e,t):td(t)?mh(e,t):dd(t)?Ah(e,t):sd(t)?B.True:B.False}function Eh(e,t){return t.anyOf.some(t=>Mh(e,t)===B.True)?B.True:B.False}function Dh(e,t){return e.anyOf.every(e=>Mh(e,t)===B.True)?B.True:B.False}function Oh(e,t){return B.True}function kh(e,t){return Yu(t)?Um(e,t):Hu(t)?zm(e,t):cd(t)?Eh(e,t):Mu(t)?Em(e,t):rd(t)?_h(e,t):Qu(t)?Jm(e,t):Bu(t)?Lm(e,t):Iu(t)?Mm(e,t):Nu(t)?Om(e,t):od(t)?Sh(e,t):$u(t)?lh(e,t):ud(t)?B.True:B.False}function Ah(e,t){return sd(e)||sd(e)?B.True:B.False}function jh(e,t){return Hu(t)?zm(e,t):cd(t)?Eh(e,t):ud(t)?Oh(e,t):Mu(t)?Em(e,t):$u(t)?lh(e,t):dd(t)?B.True:B.False}function Mh(e,t){return ad(e)||ad(t)?bh(e,t):nd(e)||nd(t)?gh(e,t):Xu(e)||Xu(t)?Km(e,t):Mu(e)?Dm(e,t):Nu(e)?km(e,t):Fu(e)?jm(e,t):Iu(e)?Nm(e,t):Pu(e)?Am(e,t):Lu(e)?Pm(e,t):Ru(e)?Fm(e,t):zu(e)?Im(e,t):Bu(e)?Rm(e,t):Hu(e)?Bm(e,t):Uu(e)?Vm(e,t):Ju(e)?Hm(e,t):Yu(e)?Wm(e,t):Zu(e)?qm(e,t):Qu(e)?Ym(e,t):$u(e)?uh(e,t):td(e)?hh(e,t):rd(e)?vh(e,t):id(e)?yh(e,t):od(e)?Ch(e,t):ed(e)?dh(e,t):ld(e)?wh(e,t):sd(e)?Th(e,t):cd(e)?Dh(e,t):ud(e)?kh(e,t):dd(e)?jh(e,t):Cm(`Unknown left type operand '${e[z]}'`)}function Nh(e,t){return Mh(e,t)}function Ph(e,t,n,r,i){let a={};for(let o of globalThis.Object.getOwnPropertyNames(e))a[o]=Rh(e[o],t,n,r,pl(i));return a}function Fh(e,t,n,r,i){return Ph(e.properties,t,n,r,i)}function Ih(e,t,n,r,i){return Ad(Fh(e,t,n,r,i))}function Lh(e,t,n,r){let i=Nh(e,t);return i===B.Union?Id([n,r]):i===B.True?n:r}function Rh(e,t,n,r,i){return ou(e)?Ih(e,t,n,r,i):au(e)?R(Hh(e,t,n,r,i)):R(Lh(e,t,n,r),i)}function zh(e,t,n,r,i){return{[e]:Rh(uf(e),t,n,r,pl(i))}}function Bh(e,t,n,r,i){return e.reduce((e,a)=>({...e,...zh(a,t,n,r,i)}),{})}function Vh(e,t,n,r,i){return Bh(e.keys,t,n,r,i)}function Hh(e,t,n,r,i){return Ad(Vh(e,t,n,r,i))}function Uh(e){return e.allOf.every(e=>Kh(e))}function Wh(e){return e.anyOf.some(e=>Kh(e))}function Gh(e){return!Kh(e.not)}function Kh(e){return e[z]===`Intersect`?Uh(e):e[z]===`Union`?Wh(e):e[z]===`Not`?Gh(e):e[z]===`Undefined`}function qh(e,t){return Yh(Cf(e),t)}function Jh(e,t){let n=e.filter(e=>Nh(e,t)===B.False);return n.length===1?n[0]:Id(n)}function Yh(e,t,n={}){return _u(e)?R(qh(e,t),n):ou(e)?R(Qh(e,t),n):R(xu(e)?Jh(e.anyOf,t):Nh(e,t)===B.False?e:kd(),n)}function Xh(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Yh(e[r],t);return n}function Zh(e,t){return Xh(e.properties,t)}function Qh(e,t){return Ad(Zh(e,t))}function $h(e,t){return tg(Cf(e),t)}function eg(e,t){let n=e.filter(e=>Nh(e,t)!==B.False);return n.length===1?n[0]:Id(n)}function tg(e,t,n){return _u(e)?R($h(e,t),n):ou(e)?R(ig(e,t),n):R(xu(e)?eg(e.anyOf,t):Nh(e,t)===B.False?kd():e,n)}function ng(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=tg(e[r],t);return n}function rg(e,t){return ng(e.properties,t)}function ig(e,t){return Ad(rg(e,t))}function ag(e,t){return Zl(e)?R(e.returns,t):kd(t)}function og(e){return np(bp(e))}function sg(e,t,n){return R({[z]:`Record`,type:`object`,patternProperties:{[e]:t}},n)}function cg(e,t,n){let r={};for(let n of e)r[n]=t;return Zf(r,{...n,[Vl]:`Record`})}function lg(e,t,n){return tf(e)?cg(Of(e),t,n):sg(e.pattern,t,n)}function ug(e,t,n){return cg(Of(Id(e)),t,n)}function dg(e,t,n){return cg([e.toString()],t,n)}function fg(e,t,n){return sg(e.source,t,n)}function pg(e,t,n){return sg(ol(e.pattern)?_d:e.pattern,t,n)}function mg(e,t,n){return sg(_d,t,n)}function hg(e,t,n){return sg(Hne,t,n)}function gg(e,t,n){return Zf({true:t,false:t},n)}function _g(e,t,n){return sg(gd,t,n)}function vg(e,t,n){return sg(gd,t,n)}function yg(e,t,n={}){return xu(e)?ug(e.anyOf,t,n):_u(e)?lg(e,t,n):iu(e)?dg(e.const,t,n):Yl(e)?gg(e,t,n):$l(e)?_g(e,t,n):lu(e)?vg(e,t,n):mu(e)?fg(e,t,n):hu(e)?pg(e,t,n):Wl(e)?mg(e,t,n):su(e)?hg(e,t,n):kd(n)}function bg(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function xg(e){let t=bg(e);return t===_d?mf():t===gd?pf():mf({pattern:t})}function Sg(e){return e.patternProperties[bg(e)]}function Cg(e,t){return t.parameters=Lg(e,t.parameters),t.returns=Rg(e,t.returns),t}function wg(e,t){return t.parameters=Lg(e,t.parameters),t.returns=Rg(e,t.returns),t}function Tg(e,t){return t.allOf=Lg(e,t.allOf),t}function Eg(e,t){return t.anyOf=Lg(e,t.anyOf),t}function Dg(e,t){return ol(t.items)||(t.items=Lg(e,t.items)),t}function Og(e,t){return t.items=Rg(e,t.items),t}function kg(e,t){return t.items=Rg(e,t.items),t}function Ag(e,t){return t.items=Rg(e,t.items),t}function jg(e,t){return t.item=Rg(e,t.item),t}function Mg(e,t){let n=Ig(e,t.properties);return{...t,...Zf(n)}}function Ng(e,t){let n=yg(Rg(e,xg(t)),Rg(e,Sg(t)));return{...t,...n}}function Pg(e,t){return t.index in e?e[t.index]:pm()}function Fg(e,t){let n=Hl(t),r=Ul(t),i=Rg(e,t);return n&&r?og(i):n&&!r?np(i):!n&&r?bp(i):i}function Ig(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:Fg(e,t[r])}),{})}function Lg(e,t){return t.map(t=>Rg(e,t))}function Rg(e,t){return Zl(t)?Cg(e,t):Ql(t)?wg(e,t):eu(t)?Tg(e,t):xu(t)?Eg(e,t):yu(t)?Dg(e,t):Kl(t)?Og(e,t):ql(t)?kg(e,t):tu(t)?Ag(e,t):du(t)?jg(e,t):uu(t)?Mg(e,t):fu(t)?Ng(e,t):Gl(t)?Pg(e,t):t}function zg(e,t){return Rg(t,ml(e))}function Bg(e){return R({[z]:`Integer`,type:`integer`},e)}function Vg(e,t,n){return{[e]:Qg(uf(e),t,pl(n))}}function Hg(e,t,n){return e.reduce((e,r)=>({...e,...Vg(r,t,n)}),{})}function Ug(e,t,n){return Hg(e.keys,t,n)}function Wg(e,t,n){return Ad(Ug(e,t,n))}function Gg(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join(``)}function Kg(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join(``)}function qg(e){return e.toUpperCase()}function Jg(e){return e.toLowerCase()}function Yg(e,t,n){let r=Yd(e.pattern);return ef(r)?wf([Id(Zg([...cf(r)].map(e=>uf(e)),t))],n):{...e,pattern:Xg(e.pattern,t)}}function Xg(e,t){return typeof e==`string`?t===`Uncapitalize`?Gg(e):t===`Capitalize`?Kg(e):t===`Uppercase`?qg(e):t===`Lowercase`?Jg(e):e:e.toString()}function Zg(e,t){return e.map(e=>Qg(e,t))}function Qg(e,t,n={}){return au(e)?Wg(e,t,n):_u(e)?Yg(e,t,n):xu(e)?Id(Zg(e.anyOf,t),n):iu(e)?uf(Xg(e.const,t),n):R(e,n)}function $g(e,t={}){return Qg(e,`Capitalize`,t)}function e_(e,t={}){return Qg(e,`Lowercase`,t)}function t_(e,t={}){return Qg(e,`Uncapitalize`,t)}function n_(e,t={}){return Qg(e,`Uppercase`,t)}function r_(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=p_(e[i],t,pl(n));return r}function i_(e,t,n){return r_(e.properties,t,n)}function a_(e,t,n){return Ad(i_(e,t,n))}function o_(e,t){return e.map(e=>f_(e,t))}function s_(e,t){return e.map(e=>f_(e,t))}function c_(e,t){let{[t]:n,...r}=e;return r}function l_(e,t){return t.reduce((e,t)=>c_(e,t),e)}function u_(e,t){let n=Od(e,[Rl,`$id`,`required`,`properties`]);return Zf(l_(e.properties,t),n)}function d_(e){return Id(e.reduce((e,t)=>ru(t)?[...e,uf(t)]:e,[]))}function f_(e,t){return eu(e)?Ap(o_(e.allOf,t)):xu(e)?Id(s_(e.anyOf,t)):uu(e)?u_(e,t):Zf({})}function p_(e,t,n){let r=qc(t)?d_(t):t,i=Su(t)?Of(t):t,a=pu(e),o=pu(t);return ou(e)?a_(e,i,n):au(t)?__(e,t,n):a&&o||!a&&o||a&&!o?Dd(`Omit`,[e,r],n):R({...f_(e,i),...n})}function m_(e,t,n){return{[t]:p_(e,[t],pl(n))}}function h_(e,t,n){return t.reduce((t,r)=>({...t,...m_(e,r,n)}),{})}function g_(e,t,n){return h_(e,t.keys,n)}function __(e,t,n){return Ad(g_(e,t,n))}function v_(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=D_(e[i],t,pl(n));return r}function y_(e,t,n){return v_(e.properties,t,n)}function b_(e,t,n){return Ad(y_(e,t,n))}function x_(e,t){return e.map(e=>E_(e,t))}function S_(e,t){return e.map(e=>E_(e,t))}function C_(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function w_(e,t){let n=Od(e,[Rl,`$id`,`required`,`properties`]);return Zf(C_(e.properties,t),n)}function T_(e){return Id(e.reduce((e,t)=>ru(t)?[...e,uf(t)]:e,[]))}function E_(e,t){return eu(e)?Ap(x_(e.allOf,t)):xu(e)?Id(S_(e.anyOf,t)):uu(e)?w_(e,t):Zf({})}function D_(e,t,n){let r=qc(t)?T_(t):t,i=Su(t)?Of(t):t,a=pu(e),o=pu(t);return ou(e)?b_(e,i,n):au(t)?j_(e,t,n):a&&o||!a&&o||a&&!o?Dd(`Pick`,[e,r],n):R({...E_(e,i),...n})}function O_(e,t,n){return{[t]:D_(e,[t],pl(n))}}function k_(e,t,n){return t.reduce((t,r)=>({...t,...O_(e,r,n)}),{})}function A_(e,t,n){return k_(e,t.keys,n)}function j_(e,t,n){return Ad(A_(e,t,n))}function M_(e,t){return Dd(`Partial`,[Dd(e,t)])}function N_(e){return Dd(`Partial`,[jp(e)])}function P_(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=bp(e[n]);return t}function F_(e){let t=Od(e,[Rl,`$id`,`required`,`properties`]);return Zf(P_(e.properties),t)}function I_(e){return e.map(e=>L_(e))}function L_(e){return Xl(e)?M_(e.target,e.parameters):pu(e)?N_(e.$ref):eu(e)?Ap(I_(e.allOf)):xu(e)?Id(I_(e.anyOf)):uu(e)?F_(e):Jl(e)||Yl(e)||$l(e)||iu(e)||cu(e)||lu(e)||hu(e)||gu(e)||bu(e)?e:Zf({})}function R_(e,t){return ou(e)?V_(e,t):R({...L_(e),...t})}function z_(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=R_(e[r],pl(t));return n}function B_(e,t){return z_(e.properties,t)}function V_(e,t){return Ad(B_(e,t))}function H_(e,t){return Dd(`Required`,[Dd(e,t)])}function U_(e){return Dd(`Required`,[jp(e)])}function W_(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Od(e[n],[Bl]);return t}function G_(e){let t=Od(e,[Rl,`$id`,`required`,`properties`]);return Zf(W_(e.properties),t)}function K_(e){return e.map(e=>q_(e))}function q_(e){return Xl(e)?H_(e.target,e.parameters):pu(e)?U_(e.$ref):eu(e)?Ap(K_(e.allOf)):xu(e)?Id(K_(e.anyOf)):uu(e)?G_(e):Jl(e)||Yl(e)||$l(e)||iu(e)||cu(e)||lu(e)||hu(e)||gu(e)||bu(e)?e:Zf({})}function J_(e,t){return ou(e)?Z_(e,t):R({...q_(e),...t})}function Y_(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=J_(e[r],t);return n}function X_(e,t){return Y_(e.properties,t)}function Z_(e,t){return Ad(X_(e,t))}function Q_(e,t){return t.map(t=>pu(t)?$_(e,t.$ref):bv(e,t))}function $_(e,t){return t in e?pu(e[t])?$_(e,e[t].$ref):bv(e,e[t]):kd()}function ev(e){return Rp(e[0])}function tv(e){return Uf(e[0],e[1])}function nv(e){return $p(e[0])}function rv(e){return R_(e[0])}function iv(e){return p_(e[0],e[1])}function av(e){return D_(e[0],e[1])}function ov(e){return J_(e[0])}function sv(e,t,n){let r=Q_(e,n);return t===`Awaited`?ev(r):t===`Index`?tv(r):t===`KeyOf`?nv(r):t===`Partial`?rv(r):t===`Omit`?iv(r):t===`Pick`?av(r):t===`Required`?ov(r):kd()}function cv(e,t){return Td(bv(e,t))}function lv(e,t){return Ed(bv(e,t))}function uv(e,t,n){return jd(yv(e,t),bv(e,n))}function dv(e,t,n){return Md(yv(e,t),bv(e,n))}function fv(e,t){return Ap(yv(e,t))}function pv(e,t){return Jf(bv(e,t))}function mv(e,t){return Zf(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:bv(e,t[r])}),{}))}function hv(e,t){let[n,r]=[bv(e,Sg(t)),bg(t)],i=ml(t);return i.patternProperties[r]=n,i}function gv(e,t){return pu(t)?{...$_(e,t.$ref),[Rl]:t[Rl]}:t}function _v(e,t){return op(yv(e,t))}function vv(e,t){return Id(yv(e,t))}function yv(e,t){return t.map(t=>bv(e,t))}function bv(e,t){return Ul(t)?R(bv(e,Od(t,[Bl])),t):Hl(t)?R(bv(e,Od(t,[zl])),t):vu(t)?R(gv(e,t),t):Kl(t)?R(cv(e,t.items),t):ql(t)?R(lv(e,t.items),t):Xl(t)?R(sv(e,t.target,t.parameters)):Zl(t)?R(uv(e,t.parameters,t.returns),t):Ql(t)?R(dv(e,t.parameters,t.returns),t):eu(t)?R(fv(e,t.allOf),t):tu(t)?R(pv(e,t.items),t):uu(t)?R(mv(e,t.properties),t):fu(t)?R(hv(e,t)):yu(t)?R(_v(e,t.items||[]),t):xu(t)?R(vv(e,t.anyOf),t):t}function xv(e,t){return t in e?bv(e,e[t]):kd()}function Sv(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:xv(e,n)}),{})}var Cv=class{constructor(e){let t=Sv(e);this.$defs=this.WithIdentifiers(t)}Import(e,t){let n={...this.$defs,[e]:R(this.$defs[e],t)};return R({[z]:`Import`,$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}};function wv(e){return new Cv(e)}function Tv(e,t){return R({[z]:`Not`,not:e},t)}function Ev(e,t){return Ql(e)?op(e.parameters,t):kd()}var Dv=0;function Ov(e,t={}){ol(t.$id)&&(t.$id=`T${Dv++}`);let n=ml(e({[z]:`This`,$ref:`${t.$id}`}));return n.$id=t.$id,R({[Vl]:`Recursive`,...n},t)}function kv(e,t){let n=rl(e)?new globalThis.RegExp(e):e;return R({[z]:`RegExp`,type:`RegExp`,source:n.source,flags:n.flags},t)}function Av(e){return eu(e)?e.allOf:xu(e)?e.anyOf:yu(e)?e.items??[]:[]}function jv(e){return Av(e)}function Mv(e,t){return Ql(e)?R(e.returns,t):kd(t)}var Nv=class{constructor(e){this.schema=e}Decode(e){return new Pv(this.schema,e)}},Pv=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let n={Encode:n=>t[Rl].Encode(e(n)),Decode:e=>this.decode(t[Rl].Decode(e))};return{...t,[Rl]:n}}EncodeSchema(e,t){let n={Decode:this.decode,Encode:e};return{...t,[Rl]:n}}Encode(e){return vu(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}};function Fv(e){return new Nv(e)}function Iv(e={}){return R({[z]:e[z]??`Unsafe`},e)}function Lv(e){return R({[z]:`Void`,type:`void`},e)}var V=n({Any:()=>wd,Argument:()=>Yne,Array:()=>Td,AsyncIterator:()=>Ed,Awaited:()=>Rp,BigInt:()=>ff,Boolean:()=>df,Capitalize:()=>$g,Composite:()=>sm,Const:()=>vm,Constructor:()=>jd,ConstructorParameters:()=>ym,Date:()=>cm,Enum:()=>bm,Exclude:()=>Yh,Extends:()=>Rh,Extract:()=>tg,Function:()=>Md,Index:()=>Uf,InstanceType:()=>ag,Instantiate:()=>zg,Integer:()=>Bg,Intersect:()=>Ap,Iterator:()=>Jf,KeyOf:()=>$p,Literal:()=>uf,Lowercase:()=>e_,Mapped:()=>gp,Module:()=>wv,Never:()=>kd,Not:()=>Tv,Null:()=>lm,Number:()=>pf,Object:()=>Zf,Omit:()=>p_,Optional:()=>bp,Parameters:()=>Ev,Partial:()=>R_,Pick:()=>D_,Promise:()=>Qf,Readonly:()=>np,ReadonlyOptional:()=>og,Record:()=>yg,Recursive:()=>Ov,Ref:()=>jp,RegExp:()=>kv,Required:()=>J_,Rest:()=>jv,ReturnType:()=>Mv,String:()=>mf,Symbol:()=>um,TemplateLiteral:()=>wf,Transform:()=>Fv,Tuple:()=>op,Uint8Array:()=>fm,Uncapitalize:()=>t_,Undefined:()=>dm,Union:()=>Id,Unknown:()=>pm,Unsafe:()=>Iv,Uppercase:()=>n_,Void:()=>Lv}),Rv=(...e)=>V.Composite(e),zv=class extends Ll{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}};function Bv(e,t){let n=t.find(t=>t.$id===e.$ref);if(n===void 0)throw new zv(e);return Hv(n,t)}function Vv(e,t){return!Ml(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function Hv(e,t){return e[z]===`This`||e[z]===`Ref`?Bv(e,t):e}var Uv=class extends Ll{constructor(e){super(`Unable to hash value`),this.value=e}},Wv;(function(e){e[e.Undefined=0]=`Undefined`,e[e.Null=1]=`Null`,e[e.Boolean=2]=`Boolean`,e[e.Number=3]=`Number`,e[e.String=4]=`String`,e[e.Object=5]=`Object`,e[e.Array=6]=`Array`,e[e.Date=7]=`Date`,e[e.Uint8Array=8]=`Uint8Array`,e[e.Symbol=9]=`Symbol`,e[e.BigInt=10]=`BigInt`})(Wv||={});var Gv=BigInt(`14695981039346656037`),[Kv,qv]=[BigInt(`1099511628211`),BigInt(`18446744073709551616`)],Jv=Array.from({length:256}).map((e,t)=>BigInt(t)),Yv=new Float64Array(1),Xv=new DataView(Yv.buffer),Zv=new Uint8Array(Yv.buffer);function*Qv(e){let t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function $v(e){dy(Wv.Array);for(let t of e)uy(t)}function ey(e){dy(Wv.Boolean),dy(e?1:0)}function ty(e){dy(Wv.BigInt),Xv.setBigInt64(0,e);for(let e of Zv)dy(e)}function ny(e){dy(Wv.Date),uy(e.getTime())}function ry(e){dy(Wv.Null)}function iy(e){dy(Wv.Number),Xv.setFloat64(0,e);for(let e of Zv)dy(e)}function ay(e){dy(Wv.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())uy(t),uy(e[t])}function oy(e){dy(Wv.String);for(let t=0;t<e.length;t++)for(let n of Qv(e.charCodeAt(t)))dy(n)}function sy(e){dy(Wv.Symbol),uy(e.description)}function cy(e){dy(Wv.Uint8Array);for(let t=0;t<e.length;t++)dy(e[t])}function ly(e){return dy(Wv.Undefined)}function uy(e){if(Tl(e))return $v(e);if(Ol(e))return ey(e);if(jl(e))return ty(e);if(vl(e))return ny(e);if(Dl(e))return ry(e);if(kl(e))return iy(e);if(wl(e))return ay(e);if(Ml(e))return oy(e);if(Pl(e))return sy(e);if(Sl(e))return cy(e);if(El(e))return ly(e);throw new Uv(e)}function dy(e){Gv^=Jv[e],Gv=Gv*Kv%qv}function fy(e){return Gv=BigInt(`14695981039346656037`),uy(e),Gv}var py=class extends Ll{constructor(e){super(`Unknown type`),this.schema=e}};function my(e,t,n){let r=e.get(t);if(r&&r.has(n))return!1;if(r)return r.add(n),!0;e.set(t,new WeakSet([n]))}function hy(e){return e[z]===`Any`||e[z]===`Unknown`}function gy(e){return e!==void 0}function _y(e,t,n){return!0}function vy(e,t,n){return!0}function yy(e,t,n,r){if(!Tl(n)||gy(e.minItems)&&!(n.length>=e.minItems)||gy(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(my(r,n,e)===!1)return!0;if(!n.every(n=>Zy(e.items,t,n,r))||e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of n){let n=fy(t);if(e.has(n))return!1;e.add(n)}return!0})())return!1;if(!(gy(e.contains)||kl(e.minContains)||kl(e.maxContains)))return!0;let i=gy(e.contains)?e.contains:kd(),a=n.reduce((e,n)=>Zy(i,t,n,r)?e+1:e,0);return!(a===0||kl(e.minContains)&&a<e.minContains||kl(e.maxContains)&&a>e.maxContains)}function by(e,t,n){return hl(n)}function xy(e,t,n){return!(!jl(n)||gy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||gy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||gy(e.maximum)&&!(n<=e.maximum)||gy(e.minimum)&&!(n>=e.minimum)||gy(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function Sy(e,t,n){return Ol(n)}function Cy(e,t,n,r){return Zy(e.returns,t,n.prototype,r)}function wy(e,t,n){return!(!vl(n)||gy(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||gy(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||gy(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||gy(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||gy(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function Ty(e,t,n){return Nl(n)}function Ey(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return Zy(a,[...t,...i],n,r)}function Dy(e,t,n){return!(!Al(n)||gy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||gy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||gy(e.maximum)&&!(n<=e.maximum)||gy(e.minimum)&&!(n>=e.minimum)||gy(e.multipleOf)&&n%e.multipleOf!==0)}function Oy(e,t,n,r){let i=e.allOf.every(e=>Zy(e,t,n,r));if(e.unevaluatedProperties===!1){let t=new RegExp(Jp(e)),r=Object.getOwnPropertyNames(n).every(e=>t.test(e));return i&&r}else if(Su(e.unevaluatedProperties)){let a=new RegExp(Jp(e)),o=Object.getOwnPropertyNames(n).every(i=>a.test(i)||Zy(e.unevaluatedProperties,t,n[i],r));return i&&o}else return i}function ky(e,t,n){return gl(n)}function Ay(e,t,n){return n===e.const}function jy(e,t,n){return!1}function My(e,t,n,r){return!Zy(e.not,t,n,r)}function Ny(e,t,n){return Dl(n)}function Py(e,t,n){return!(!Fl.IsNumberLike(n)||gy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||gy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||gy(e.minimum)&&!(n>=e.minimum)||gy(e.maximum)&&!(n<=e.maximum)||gy(e.multipleOf)&&n%e.multipleOf!==0)}function Fy(e,t,n,r){if(!Fl.IsObjectLike(n)||gy(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||gy(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(my(r,n,e)===!1)return!0;let i=Object.getOwnPropertyNames(e.properties);for(let a of i){let i=e.properties[a];if(e.required&&e.required.includes(a)){if(!Zy(i,t,n[a],r)||(Kh(i)||hy(i))&&!(a in n))return!1}else if(Fl.IsExactOptionalProperty(n,a)&&!Zy(i,t,n[a],r))return!1}if(e.additionalProperties===!1){let t=Object.getOwnPropertyNames(n);return e.required&&e.required.length===i.length&&t.length===i.length?!0:t.every(e=>i.includes(e))}else if(typeof e.additionalProperties==`object`)return Object.getOwnPropertyNames(n).every(a=>i.includes(a)||Zy(e.additionalProperties,t,n[a],r));else return!0}function Iy(e,t,n){return _l(n)}function Ly(e,t,n,r){if(!Fl.IsRecordLike(n)||gy(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||gy(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;let[i,a]=Object.entries(e.patternProperties)[0],o=new RegExp(i),s=Object.entries(n).every(([e,n])=>o.test(e)?Zy(a,t,n,r):!0),c=typeof e.additionalProperties==`object`?Object.entries(n).every(([n,i])=>o.test(n)?!0:Zy(e.additionalProperties,t,i,r)):!0,l=e.additionalProperties===!1?Object.getOwnPropertyNames(n).every(e=>o.test(e)):!0;return s&&c&&l}function Ry(e,t,n,r){return Zy(Hv(e,t),t,n,r)}function zy(e,t,n){let r=new RegExp(e.source,e.flags);return gy(e.minLength)&&!(n.length>=e.minLength)||gy(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function By(e,t,n){return!Ml(n)||gy(e.minLength)&&!(n.length>=e.minLength)||gy(e.maxLength)&&!(n.length<=e.maxLength)||gy(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:gy(e.format)?yd(e.format)?bd(e.format)(n):!1:!0}function Vy(e,t,n){return Pl(n)}function Hy(e,t,n){return Ml(n)&&new RegExp(e.pattern).test(n)}function Uy(e,t,n,r){return Zy(Hv(e,t),t,n,r)}function Wy(e,t,n,r){if(!Tl(n)||e.items===void 0&&n.length!==0||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let i=0;i<e.items.length;i++)if(!Zy(e.items[i],t,n[i],r))return!1;return!0}function Gy(e,t,n){return El(n)}function Ky(e,t,n,r){return e.anyOf.some(e=>Zy(e,t,n,r))}function qy(e,t,n){return!(!Sl(n)||gy(e.maxByteLength)&&!(n.length<=e.maxByteLength)||gy(e.minByteLength)&&!(n.length>=e.minByteLength))}function Jy(e,t,n){return!0}function Yy(e,t,n){return Fl.IsVoidLike(n)}function Xy(e,t,n){return Sd(e[z])?Cd(e[z])(e,n):!1}function Zy(e,t,n,r){let i=gy(e.$id)?Vv(e,t):t,a=e;switch(a[z]){case`Any`:return _y(a,i,n);case`Argument`:return vy(a,i,n);case`Array`:return yy(a,i,n,r);case`AsyncIterator`:return by(a,i,n);case`BigInt`:return xy(a,i,n);case`Boolean`:return Sy(a,i,n);case`Constructor`:return Cy(a,i,n,r);case`Date`:return wy(a,i,n);case`Function`:return Ty(a,i,n);case`Import`:return Ey(a,i,n,r);case`Integer`:return Dy(a,i,n);case`Intersect`:return Oy(a,i,n,r);case`Iterator`:return ky(a,i,n);case`Literal`:return Ay(a,i,n);case`Never`:return jy(a,i,n);case`Not`:return My(a,i,n,r);case`Null`:return Ny(a,i,n);case`Number`:return Py(a,i,n);case`Object`:return Fy(a,i,n,r);case`Promise`:return Iy(a,i,n);case`Record`:return Ly(a,i,n,r);case`Ref`:return Ry(a,i,n,r);case`RegExp`:return zy(a,i,n);case`String`:return By(a,i,n);case`Symbol`:return Vy(a,i,n);case`TemplateLiteral`:return Hy(a,i,n);case`This`:return Uy(a,i,n,r);case`Tuple`:return Wy(a,i,n,r);case`Undefined`:return Gy(a,i,n);case`Union`:return Ky(a,i,n,r);case`Uint8Array`:return qy(a,i,n);case`Unknown`:return Jy(a,i,n);case`Void`:return Yy(a,i,n);default:if(!Sd(a[z]))throw new py(a);return Xy(a,i,n)}}function Qy(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Zy(e[0],[],e[1],e[2]??new WeakMap):Zy(e[0],e[1],e[2],e[3]??new WeakMap)}function $y(e,t){if(t.has(e))return t.get(e);let n={};t.set(e,n);for(let r of Object.getOwnPropertyNames(e))n[r]=ob(e[r],t);for(let r of Object.getOwnPropertySymbols(e))n[r]=ob(e[r],t);return n}function eb(e,t){if(t.has(e))return t.get(e);let n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(ob(e[r],t));return n}function tb(e){return e.slice()}function nb(e){return new Map(ob([...e.entries()]))}function rb(e){return new Set(ob([...e.entries()]))}function ib(e){return new Date(e.toISOString())}function ab(e){return e}function ob(e,t=new WeakMap){if(Tl(e))return eb(e,t);if(vl(e))return ib(e);if(xl(e))return tb(e);if(yl(e))return nb(e);if(bl(e))return rb(e);if(wl(e))return $y(e,t);if(mne(e))return ab(e);throw Error(`ValueClone: Unable to clone value`)}var sb=class extends Ll{constructor(e,t){super(t),this.schema=e}};function cb(e){return Nl(e)?e():ob(e)}function lb(e,t){return Cl(e,`default`)?cb(e.default):{}}function ub(e,t){return{}}function db(e,t){if(e.uniqueItems===!0&&!Cl(e,`default`))throw new sb(e,`Array with the uniqueItems constraint requires a default value`);if(`contains`in e&&!Cl(e,`default`))throw new sb(e,`Array with the contains constraint requires a default value`);return`default`in e?cb(e.default):e.minItems===void 0?[]:Array.from({length:e.minItems}).map(n=>Ub(e.items,t))}function fb(e,t){return Cl(e,`default`)?cb(e.default):(async function*(){})()}function pb(e,t){return Cl(e,`default`)?cb(e.default):BigInt(0)}function mb(e,t){return Cl(e,`default`)?cb(e.default):!1}function hb(e,t){if(Cl(e,`default`))return cb(e.default);{let n=Ub(e.returns,t);return typeof n==`object`&&!Array.isArray(n)?class{constructor(){for(let[e,t]of Object.entries(n)){let n=this;n[e]=t}}}:class{}}}function gb(e,t){return Cl(e,`default`)?cb(e.default):e.minimumTimestamp===void 0?new Date:new Date(e.minimumTimestamp)}function _b(e,t){return Cl(e,`default`)?cb(e.default):()=>Ub(e.returns,t)}function vb(e,t){let n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return Ub(r,[...t,...n])}function yb(e,t){return Cl(e,`default`)?cb(e.default):e.minimum===void 0?0:e.minimum}function bb(e,t){if(Cl(e,`default`))return cb(e.default);{let n=e.allOf.reduce((e,n)=>{let r=Ub(n,t);return typeof r==`object`?{...e,...r}:r},{});if(!Qy(e,t,n))throw new sb(e,`Intersect produced invalid value. Consider using a default value.`);return n}}function xb(e,t){return Cl(e,`default`)?cb(e.default):(function*(){})()}function Sb(e,t){return Cl(e,`default`)?cb(e.default):e.const}function Cb(e,t){if(Cl(e,`default`))return cb(e.default);throw new sb(e,`Never types cannot be created. Consider using a default value.`)}function wb(e,t){if(Cl(e,`default`))return cb(e.default);throw new sb(e,`Not types must have a default value`)}function Tb(e,t){return Cl(e,`default`)?cb(e.default):null}function Eb(e,t){return Cl(e,`default`)?cb(e.default):e.minimum===void 0?0:e.minimum}function Db(e,t){if(Cl(e,`default`))return cb(e.default);{let n=new Set(e.required),r={};for(let[i,a]of Object.entries(e.properties))n.has(i)&&(r[i]=Ub(a,t));return r}}function Ob(e,t){return Cl(e,`default`)?cb(e.default):Promise.resolve(Ub(e.item,t))}function kb(e,t){return Cl(e,`default`)?cb(e.default):{}}function Ab(e,t){return Cl(e,`default`)?cb(e.default):Ub(Hv(e,t),t)}function jb(e,t){if(Cl(e,`default`))return cb(e.default);throw new sb(e,`RegExp types cannot be created. Consider using a default value.`)}function Mb(e,t){if(e.pattern!==void 0){if(Cl(e,`default`))return cb(e.default);throw new sb(e,`String types with patterns must specify a default value`)}else if(e.format!==void 0){if(Cl(e,`default`))return cb(e.default);throw new sb(e,`String types with formats must specify a default value`)}else if(Cl(e,`default`))return cb(e.default);else if(e.minLength!==void 0)return Array.from({length:e.minLength}).map(()=>` `).join(``);else return``}function Nb(e,t){return Cl(e,`default`)?cb(e.default):`value`in e?Symbol.for(e.value):Symbol()}function Pb(e,t){if(Cl(e,`default`))return cb(e.default);if(!tf(e))throw new sb(e,`Can only create template literals that produce a finite variants. Consider using a default value.`);return lf(e)[0]}function Fb(e,t){if(Gb++>Wb)throw new sb(e,`Cannot create recursive type as it appears possibly infinite. Consider using a default.`);return Cl(e,`default`)?cb(e.default):Ub(Hv(e,t),t)}function Ib(e,t){return Cl(e,`default`)?cb(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>Ub(e.items[r],t))}function Lb(e,t){if(Cl(e,`default`))return cb(e.default)}function Rb(e,t){if(Cl(e,`default`))return cb(e.default);if(e.anyOf.length===0)throw Error(`ValueCreate.Union: Cannot create Union with zero variants`);return Ub(e.anyOf[0],t)}function zb(e,t){return Cl(e,`default`)?cb(e.default):e.minByteLength===void 0?new Uint8Array:new Uint8Array(e.minByteLength)}function Bb(e,t){return Cl(e,`default`)?cb(e.default):{}}function Vb(e,t){if(Cl(e,`default`))return cb(e.default)}function Hb(e,t){if(Cl(e,`default`))return cb(e.default);throw Error(`User defined types must specify a default value`)}function Ub(e,t){let n=Vv(e,t),r=e;switch(r[z]){case`Any`:return lb(r,n);case`Argument`:return ub(r,n);case`Array`:return db(r,n);case`AsyncIterator`:return fb(r,n);case`BigInt`:return pb(r,n);case`Boolean`:return mb(r,n);case`Constructor`:return hb(r,n);case`Date`:return gb(r,n);case`Function`:return _b(r,n);case`Import`:return vb(r,n);case`Integer`:return yb(r,n);case`Intersect`:return bb(r,n);case`Iterator`:return xb(r,n);case`Literal`:return Sb(r,n);case`Never`:return Cb(r,n);case`Not`:return wb(r,n);case`Null`:return Tb(r,n);case`Number`:return Eb(r,n);case`Object`:return Db(r,n);case`Promise`:return Ob(r,n);case`Record`:return kb(r,n);case`Ref`:return Ab(r,n);case`RegExp`:return jb(r,n);case`String`:return Mb(r,n);case`Symbol`:return Nb(r,n);case`TemplateLiteral`:return Pb(r,n);case`This`:return Fb(r,n);case`Tuple`:return Ib(r,n);case`Undefined`:return Lb(r,n);case`Union`:return Rb(r,n);case`Uint8Array`:return zb(r,n);case`Unknown`:return Bb(r,n);case`Void`:return Vb(r,n);default:if(!Sd(r[z]))throw new sb(r,`Unknown type`);return Hb(r,n)}}var Wb=512,Gb=0;function Kb(...e){return Gb=0,e.length===2?Ub(e[0],e[1]):Ub(e[0],[])}var qb=class extends Ll{constructor(e,t){super(t),this.schema=e}};function Jb(e,t,n){if(e[z]===`Object`&&typeof n==`object`&&!Dl(n)){let r=e,i=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((e,[r,a])=>{let o=a[z]===`Literal`&&a.const===n[r]?100:0,s=Qy(a,t,n[r])?10:0,c=i.includes(r)?1:0;return e+(o+s+c)},0)}else if(e[z]===`Union`){let r=e.anyOf.map(e=>Hv(e,t)).map(e=>Jb(e,t,n));return Math.max(...r)}else return Qy(e,t,n)?1:0}function Yb(e,t,n){let r=e.anyOf.map(e=>Hv(e,t)),[i,a]=[r[0],0];for(let e of r){let r=Jb(e,t,n);r>a&&(i=e,a=r)}return i}function Xb(e,t,n,r){return`default`in e?typeof n==`function`?e.default:ob(e.default):fx(Yb(e,t,n),t,n,r)}function Zb(e,t,n){return Qy(e,t,n)?ob(n):Kb(e,t)}function Qb(e,t,n){return Qy(e,t,n)?n:Kb(e,t)}function $b(e,t,n,r){if(Qy(e,t,n))return ob(n);let i=Tl(n)?n:Kb(e,t),a=kl(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},()=>null)]:i,o=(kl(e.maxItems)&&a.length>e.maxItems?a.slice(0,e.maxItems):a).map(n=>dx(e.items,t,n,r));if(e.uniqueItems!==!0)return o;let s=[...new Set(o)];if(!Qy(e,t,s))throw new qb(e,`Array cast produced invalid data due to uniqueItems constraint`);return s}function ex(e,t,n,r){if(Qy(e,t,n))return Kb(e,t);let i=new Set(e.returns.required||[]),a=function(){};for(let[o,s]of Object.entries(e.returns.properties))!i.has(o)&&n.prototype[o]===void 0||(a.prototype[o]=dx(s,t,n.prototype[o],r));return a}function tx(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return dx(a,[...t,...i],n,r)}function nx(e,t){return wl(e)&&!wl(t)||!wl(e)&&wl(t)?e:!wl(e)||!wl(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{let i=r in t?nx(e[r],t[r]):e[r];return{...n,[r]:i}},{})}function rx(e,t,n){if(Qy(e,t,n))return n;let r=Kb(e,t),i=nx(r,n);return Qy(e,t,i)?i:r}function ix(e,t,n){throw new qb(e,`Never types cannot be cast`)}function ax(e,t,n,r){if(r.has(n))return r.get(n);if(Qy(e,t,n))return n;if(typeof n!=`object`||!n)return Kb(e,t);let i=new Set(e.required||[]),a={};r.set(n,a);for(let[o,s]of Object.entries(e.properties))!i.has(o)&&n[o]===void 0||(a[o]=dx(s,t,n[o],r));if(typeof e.additionalProperties==`object`){let i=Object.getOwnPropertyNames(e.properties);for(let o of Object.getOwnPropertyNames(n))i.includes(o)||(a[o]=dx(e.additionalProperties,t,n[o],r))}return a}function ox(e,t,n,r){if(Qy(e,t,n))return ob(n);if(typeof n!=`object`||!n||Array.isArray(n)||n instanceof Date)return Kb(e,t);let i=Object.getOwnPropertyNames(e.patternProperties)[0],a=e.patternProperties[i],o={};for(let[e,i]of Object.entries(n))o[e]=dx(a,t,i,r);return o}function sx(e,t,n,r){return dx(Hv(e,t),t,n,r)}function cx(e,t,n,r){return dx(Hv(e,t),t,n,r)}function lx(e,t,n,r){return Qy(e,t,n)?ob(n):Tl(n)?e.items===void 0?[]:e.items.map((e,i)=>dx(e,t,n[i],r)):Kb(e,t)}function ux(e,t,n,r){return Qy(e,t,n)?ob(n):Xb(e,t,n,r)}function dx(e,t,n,r){let i=Ml(e.$id)?Vv(e,t):t,a=e;switch(e[z]){case`Array`:return $b(a,i,n,r);case`Constructor`:return ex(a,i,n,r);case`Import`:return tx(a,i,n,r);case`Intersect`:return rx(a,i,n);case`Never`:return ix(a,i,n);case`Object`:return ax(a,i,n,r);case`Record`:return ox(a,i,n,r);case`Ref`:return sx(a,i,n,r);case`This`:return cx(a,i,n,r);case`Tuple`:return lx(a,i,n,r);case`Union`:return ux(a,i,n,r);case`Date`:case`Symbol`:case`Uint8Array`:return Zb(e,t,n);default:return Qb(a,i,n)}}function fx(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?dx(e[0],[],e[1],e[2]??new WeakMap):dx(e[0],e[1],e[2],e[3]??new WeakMap)}var px=(e,t)=>fx(e,t),mx={document:{navigation:`x-scalar-navigation`},workspace:{colorMode:`x-scalar-color-mode`,sidebarWidth:`x-scalar-sidebar-width`,defaultClient:`x-scalar-default-client`,activeDocument:`x-scalar-active-document`,theme:`x-scalar-theme`}},hx=V.Object({name:V.String(),value:V.Union([V.Object({description:V.Optional(V.String()),default:V.String({default:``})}),V.String()])}),gx=pt({name:P(),value:mt([pt({description:F(P()),default:P()}),P()])},{typeName:`XScalarEnvVar`}),_x=V.Object({description:V.Optional(V.String()),color:V.String({default:`#FFFFFF`}),variables:V.Array(hx)}),vx=pt({description:F(P()),color:P({typeComment:`Color for the environment`}),variables:dt(gx,{typeComment:`An array of variables`})},{typeName:`XScalarEnvironment`,typeComment:`A map of environments by name`}),yx=V.Object({"x-scalar-environments":V.Optional(V.Record(V.String(),_x))}),bx=pt({"x-scalar-environments":F(ft(P(),vx))},{typeName:`XScalarEnvironments`,typeComment:`A record of environments by name`}),xx=V.Object({"x-scalar-icon":V.Optional(V.String())}),Sx=pt({"x-scalar-icon":F(P())},{typeName:`XScalarIcon`,typeComment:`A custom icon representing the collection`}),Cx=V.Object({"x-scalar-is-dirty":V.Optional(V.Boolean())}),wx=pt({"x-scalar-is-dirty":F(st({typeComment:`Whether the document state is dirty, this is used to track if the document has been modified since it was last saved`}))},{typeName:`XScalarIsDirty`,typeComment:`Tracks whether the document has been modified since it was last saved`}),Tx=V.Object({"x-scalar-original-document-hash":V.String()}),Ex=pt({"x-scalar-original-document-hash":P({typeComment:`Original input document hash`})},{typeName:`XScalarOriginalDocumentHash`,typeComment:`Original input document hash`}),Dx=V.Partial(V.Object({"x-scalar-original-source-url":V.String()})),Ox=pt({"x-scalar-original-source-url":F(P({typeComment:`Original document source URL when loaded from an external source`}))},{typeName:`XScalarOriginalSourceUrl`,typeComment:`Original document source URL when loaded from an external source.`}),kx=V.Object({namespace:V.String(),slug:V.String(),version:V.String(),commitHash:V.Optional(V.String()),conflictCheckedAgainstHash:V.Optional(V.String()),hasConflict:V.Optional(V.Boolean())}),Ax=V.Object({"x-scalar-registry-meta":V.Optional(kx)}),jx=pt({namespace:P({typeComment:`The namespace under which this registry meta is scoped.`}),slug:P({typeComment:`A unique slug identifier for this registry meta within the namespace.`}),version:P({typeComment:`The version of the registry meta.`}),commitHash:F(P({typeComment:`Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved.`})),conflictCheckedAgainstHash:F(P({typeComment:`Registry commit hash that the cached hasConflict flag was computed against. The cache is invalid when this no longer matches the registry hash.`})),hasConflict:F(st({typeComment:`Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash.`}))},{typeName:`XScalarRegistryMetaInner`,typeComment:`Registry meta namespace and slug`}),Mx=pt({"x-scalar-registry-meta":F(jx)},{typeName:`XScalarRegistryMeta`,typeComment:`The registry meta for the document`}),Nx=V.Object({"x-scalar-watch-mode":V.Optional(V.Boolean())}),Px=pt({"x-scalar-watch-mode":F(st({typeComment:`Whether the document is in watch mode`}))},{typeName:`XScalarWatchMode`,typeComment:`Whether the document is in watch mode`}),Fx=V.Object({"x-post-response":V.Optional(V.String())}),Ix=pt({"x-post-response":F(P({typeComment:`Script to run after a response is received`}))},{typeName:`XPostResponse`,typeComment:`Post-response script for an operation`}),Lx=V.Object({"x-pre-request":V.Optional(V.String())}),Rx=pt({"x-pre-request":F(P())},{typeName:`XPreRequest`,typeComment:`Pre-request script to run before the request is sent.`}),zx=V.Object({"x-scalar-active-environment":V.Optional(V.String())}),Bx=pt({"x-scalar-active-environment":F(P({typeComment:`The currently selected environment`}))},{typeName:`XScalarActiveEnvironment`,typeComment:`The currently selected environment`}),Vx=V.Object({name:V.String(),value:V.String(),domain:V.Optional(V.String()),path:V.Optional(V.String()),isDisabled:V.Optional(V.Boolean())}),Hx=pt({name:P({typeComment:`Defines the cookie name and its value.`}),value:P({typeComment:`Defines the cookie value.`}),domain:F(P({typeComment:`Allows this domain and all subdomains.`})),path:F(P({typeComment:`Restricts this cookie to requests that contain this path.`})),isDisabled:F(st({typeComment:`Indicates if the cookie is disabled.`}))},{typeName:`XScalarCookie`,typeComment:`A persisted cookie definition for the workspace`}),Ux=V.Object({"x-scalar-cookies":V.Optional(V.Array(Vx))}),Wx=pt({"x-scalar-cookies":F(dt(Hx,{typeComment:`Cookies persisted for the workspace`}))},{typeName:`XScalarCookies`,typeComment:`Persisted workspace cookies`}),Gx=V.Object({"x-scalar-order":V.Optional(V.Array(V.String()))}),Kx=pt({"x-scalar-order":F(dt(P()))},{typeName:`XScalarOrder`,typeComment:`Custom order for elements in the Scalar UI`}),qx=V.Object({"x-scalar-selected-server":V.Optional(V.String())}),Jx=pt({"x-scalar-selected-server":F(P({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:`XScalarSelectedServer`,typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}),Yx=Rv(V.Object({name:V.String(),tags:V.Array(V.String())}),Gx),Xx=ht([pt({name:P({typeComment:`The group name.`}),tags:dt(P(),{typeComment:`List of tags to include in this group.`})},{typeName:`XTagGroupBase`}),Kx],{typeName:`XTagGroup`,typeComment:`A tag group with optional custom ordering`}),Zx=V.Object({"x-tagGroups":V.Optional(V.Array(Yx))}),Qx=pt({"x-tagGroups":F(dt(Xx,{typeComment:`Tag groups for organizing tags in the UI`}))},{typeName:`XTagGroups`,typeComment:`Groups of tags for the OpenAPI document`}),$x=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`trace`],eS=Object.freeze(new Set($x)),tS={ComponentsObject:`ComponentsObject`,SecurityRequirementObject:`SecurityRequirementObject`,TagObject:`TagObject`,CallbackObject:`CallbackObject`,PathsObject:`PathsObject`,PathItemObject:`PathItemObject`,OperationObject:`OperationObject`,SchemaObject:`SchemaObject`,EncodingObject:`EncodingObject`,HeaderObject:`HeaderObject`,MediaTypeObject:`MediaTypeObject`,ServerObject:`ServerObject`,ExternalDocumentationObject:`ExternalDocumentationObject`,InfoObject:`InfoObject`,ContactObject:`ContactObject`,LicenseObject:`LicenseObject`,ResponseObject:`ResponseObject`,ResponsesObject:`ResponsesObject`,ParameterObject:`ParameterObject`,ExampleObject:`ExampleObject`,RequestBodyObject:`RequestBodyObject`,SecuritySchemeObject:`SecuritySchemeObject`,SecuritySchemes:`SecuritySchemes`,LinkObject:`LinkObject`,XMLObject:`XMLObject`,DiscriminatorObject:`DiscriminatorObject`,OAuthFlowsObject:`OAuthFlowsObject`,ServerVariableObject:`ServerVariableObject`,TraversedDescriptionObject:`TraversedDescriptionObject`,TraversedOperationObject:`TraversedOperationObject`,TraversedAsyncApiOperationObject:`TraversedAsyncApiOperationObject`,TraversedAsyncApiChannelObject:`TraversedAsyncApiChannelObject`,TraversedAsyncApiMessageObject:`TraversedAsyncApiMessageObject`,TraversedSchemaObject:`TraversedSchemaObject`,TraversedWebhookObject:`TraversedWebhookObject`,TraversedTagObject:`TraversedTagObject`,TraversedEntryObject:`TraversedEntryObject`,TraversedDocumentObject:`TraversedDocumentObject`},nS=V.Ref(tS.ComponentsObject),rS=V.Ref(tS.SecurityRequirementObject),iS=V.Ref(tS.TagObject),aS=V.Ref(tS.CallbackObject),oS=V.Ref(tS.PathItemObject),sS=V.Ref(tS.PathsObject),cS=V.Ref(tS.OperationObject),lS=V.Ref(tS.SchemaObject),uS=V.Ref(tS.EncodingObject),dS=V.Ref(tS.HeaderObject),fS=V.Ref(tS.MediaTypeObject),pS=V.Ref(tS.ServerObject),mS=V.Ref(tS.ExternalDocumentationObject),hS=V.Ref(tS.InfoObject),gS=V.Ref(tS.ContactObject),_S=V.Ref(tS.LicenseObject),vS=V.Ref(tS.ResponseObject),yS=V.Ref(tS.ResponsesObject),bS=V.Ref(tS.ParameterObject),xS=V.Ref(tS.ExampleObject),SS=V.Ref(tS.RequestBodyObject),CS=V.Ref(tS.SecuritySchemeObject),wS=V.Ref(tS.LinkObject),TS=V.Ref(tS.XMLObject),ES=V.Ref(tS.DiscriminatorObject),DS=V.Ref(tS.OAuthFlowsObject),OS=V.Ref(tS.ServerVariableObject),kS=V.Ref(tS.TraversedEntryObject),AS=V.Ref(tS.TraversedDocumentObject),jS=V.Object({id:V.String(),title:V.String()}),MS=Rv(jS,V.Object({type:V.Literal(`document`),name:V.String(),children:V.Optional(V.Array(kS)),icon:V.Optional(V.String())})),NS=Rv(jS,V.Object({type:V.Literal(`text`),children:V.Optional(V.Array(kS))})),PS=Rv(jS,V.Object({type:V.Literal(`example`),name:V.String()})),FS=Rv(jS,V.Object({type:V.Literal(`operation`),ref:V.String(),method:V.Union($x.map(e=>V.Literal(e))),path:V.String(),isDeprecated:V.Optional(V.Boolean()),children:V.Optional(V.Array(kS))})),IS=Rv(jS,V.Object({type:V.Literal(`asyncapi-operation`),operationName:V.String(),action:V.Union([V.Literal(`send`),V.Literal(`receive`)]),channelName:V.String(),channelAddress:V.String(),children:V.Optional(V.Array(kS))})),LS=Rv(jS,V.Object({type:V.Literal(`asyncapi-channel`),channelName:V.String(),channelAddress:V.String(),children:V.Optional(V.Array(kS))})),RS=Rv(jS,V.Object({type:V.Literal(`asyncapi-message`),messageName:V.String(),channelName:V.String()})),zS=Rv(jS,V.Object({type:V.Literal(`model`),ref:V.String(),name:V.String()})),BS=Rv(jS,V.Object({type:V.Literal(`webhook`),ref:V.String(),method:V.Union($x.map(e=>V.Literal(e))),name:V.String(),isDeprecated:V.Optional(V.Boolean())})),VS=Rv(jS,V.Object({type:V.Literal(`tag`),name:V.String(),description:V.Optional(V.String()),children:V.Optional(V.Array(kS)),isGroup:V.Boolean(),isWebhooks:V.Optional(V.Boolean()),xKeys:V.Optional(V.Record(V.String(),V.Unknown()))})),tre=Rv(jS,V.Object({type:V.Literal(`models`),name:V.String(),children:V.Optional(V.Array(kS))})),nre=V.Union([NS,FS,IS,LS,RS,zS,VS,BS,PS,MS,tre]),rre=V.Object({$status:V.Optional(V.Union([V.Literal(`loading`),V.Literal(`error`)])),$global:V.Optional(V.Boolean())}),HS=Rv(V.Object({$ref:V.String(),summary:V.Optional(V.String()),description:V.Optional(V.String())}),rre),US=e=>Rv(HS,V.Object({"$ref-value":e})),ire=V.Record(V.String(),V.Union([oS,US(oS)])),WS=V.Record(V.String(),V.Union([CS,US(CS)])),are=V.Object({schemas:V.Optional(V.Record(V.String(),V.Union([lS,US(lS)]))),responses:V.Optional(V.Record(V.String(),V.Union([vS,US(vS)]))),parameters:V.Optional(V.Record(V.String(),V.Union([bS,US(bS)]))),examples:V.Optional(V.Record(V.String(),V.Union([xS,US(xS)]))),requestBodies:V.Optional(V.Record(V.String(),V.Union([SS,US(SS)]))),headers:V.Optional(V.Record(V.String(),V.Union([dS,US(dS)]))),securitySchemes:V.Optional(WS),links:V.Optional(V.Record(V.String(),V.Union([wS,US(wS)]))),callbacks:V.Optional(V.Record(V.String(),V.Union([aS,US(aS)]))),pathItems:V.Optional(V.Record(V.String(),V.Union([oS,US(oS)])))}),ore=V.Object({name:V.Optional(V.String()),url:V.Optional(V.String()),email:V.Optional(V.String())}),sre=V.Object({propertyName:V.String(),mapping:V.Optional(V.Record(V.String(),V.String()))}),cre=V.Object({contentType:V.Optional(V.String()),headers:V.Optional(V.Record(V.String(),V.Union([dS,US(dS)]))),style:V.Optional(V.Union([V.Literal(`form`),V.Literal(`spaceDelimited`),V.Literal(`pipeDelimited`),V.Literal(`deepObject`)])),explode:V.Optional(V.Boolean()),allowReserved:V.Optional(V.Boolean())}),lre=V.Object({"x-disabled":V.Optional(V.Boolean())}),ure=pt({"x-disabled":F(st())},{typeName:`XDisabled`,typeComment:`Whether a parameter example is disabled in the API client`}),dre=Rv(V.Object({summary:V.Optional(V.String()),description:V.Optional(V.String()),value:V.Optional(V.Any()),externalValue:V.Optional(V.String())}),lre),fre=V.Object({url:V.String(),description:V.Optional(V.String())}),GS=V.Object({description:V.Optional(V.String()),required:V.Optional(V.Boolean()),deprecated:V.Optional(V.Boolean())}),pre=Rv(GS,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([lS,US(lS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([xS,US(xS)])))})),mre=V.Union([pre,Rv(GS,V.Object({content:V.Optional(V.Record(V.String(),fS))}))]),hre=V.Object({lang:V.String(),description:V.Optional(V.String()),source:V.Optional(V.String())}),gre=V.Object({"x-scalar-sdk-installation":V.Optional(V.Array(hre))}),_re=pt({lang:P(),description:F(P()),source:F(P())},{typeName:`XScalarSdkInstallationItem`,typeComment:`Scalar SDK installation entry`}),vre=pt({"x-scalar-sdk-installation":F(dt(_re,{typeComment:`Scalar SDK installation information`}))},{typeName:`XScalarSdkInstallation`,typeComment:`Scalar SDK installation information`}),yre=Rv(V.Object({title:V.String(),version:V.String(),summary:V.Optional(V.String()),description:V.Optional(V.String()),termsOfService:V.Optional(V.String()),contact:V.Optional(gS),license:V.Optional(_S)}),gre),bre=V.Object({name:V.Optional(V.String()),identifier:V.Optional(V.String()),url:V.Optional(V.String())}),xre=V.Object({operationRef:V.Optional(V.String()),operationId:V.Optional(V.String()),parameters:V.Optional(V.Record(V.String(),V.Any())),requestBody:V.Optional(V.Any()),description:V.Optional(V.String()),server:V.Optional(pS)}),Sre=V.Object({schema:V.Optional(V.Union([lS,US(lS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([xS,US(xS)]))),encoding:V.Optional(V.Record(V.String(),uS))}),KS=V.Object({"x-scalar-credentials-location":V.Optional(V.Union([V.Literal(`header`),V.Literal(`body`)]))}),Cre=pt({"x-scalar-credentials-location":F(mt([gt(`header`),gt(`body`)]))},{typeName:`XScalarCredentialsLocation`,typeComment:`Where OAuth2 credentials are sent`}),wre=V.Object({"x-scalar-security-body":V.Optional(V.Record(V.String(),V.String()))}),Tre=pt({"x-scalar-security-body":F(ft(P(),P()))},{typeName:`XScalarSecurityBody`,typeComment:`Additional OAuth token request body parameters`}),Ere=V.Object({"x-scalar-security-query":V.Optional(V.Record(V.String(),V.String()))}),Dre=pt({"x-scalar-security-query":F(ft(P(),P()))},{typeName:`XScalarSecurityQuery`,typeComment:`Additional OAuth authorize query parameters`}),qS=V.Object({"x-scalar-secret-token":V.String()});pt({"x-scalar-secret-token":P()},{typeName:`XScalarSecretToken`,typeComment:`Persisted OAuth access token (sensitive)`});var Ore=V.Object({"x-scalar-secret-refresh-token":V.Optional(V.String())});pt({"x-scalar-secret-refresh-token":F(P())},{typeName:`XScalarSecretRefreshToken`,typeComment:`Persisted OAuth refresh token (sensitive)`});var kre=V.Object({"x-scalar-secret-auth-url":V.Optional(V.String())}),Are=pt({"x-scalar-secret-auth-url":F(P())},{typeName:`XScalarAuthUrl`,typeComment:`Persisted OAuth authorization URL override`}),jre=V.Object({"x-scalar-secret-token-url":V.Optional(V.String())}),Mre=pt({"x-scalar-secret-token-url":F(P())},{typeName:`XScalarTokenUrl`,typeComment:`Persisted OAuth token URL override`}),JS=V.Object({"x-scalar-secret-username":V.String(),"x-scalar-secret-password":V.String()});pt({"x-scalar-secret-username":P(),"x-scalar-secret-password":P()},{typeName:`XScalarSecretHTTP`,typeComment:`Persisted HTTP basic credentials (sensitive)`});var YS=V.Object({"x-scalar-secret-client-secret":V.String()});pt({"x-scalar-secret-client-secret":P()},{typeName:`XScalarSecretClientSecret`,typeComment:`Persisted OAuth client secret (sensitive)`});var Nre=V.Object({"x-scalar-secret-client-id":V.String()});pt({"x-scalar-secret-client-id":P()},{typeName:`XScalarSecretClientId`,typeComment:`Persisted OAuth client ID`});var XS=V.Object({"x-scalar-secret-redirect-uri":V.String()});pt({"x-scalar-secret-redirect-uri":P()},{typeName:`XScalarSecretRedirectUri`,typeComment:`Persisted OAuth redirect URI`});var Pre=V.Object({"x-tokenName":V.Optional(V.String())}),Fre=pt({"x-tokenName":F(P())},{typeName:`XTokenName`,typeComment:`Custom OAuth2 access token field name`}),Ire=V.Object({"x-usePkce":V.Union([V.Literal(`SHA-256`),V.Literal(`plain`),V.Literal(`no`)],{default:`no`})}),Lre=pt({"x-usePkce":mt([gt(`SHA-256`),gt(`plain`),gt(`no`)],{typeComment:`PKCE mode for the OAuth2 authorization code flow`})},{typeName:`XusePkce`,typeComment:`PKCE setting for OAuth2`}),ZS=Rv(V.Object({refreshUrl:V.String(),scopes:V.Record(V.String(),V.String())}),Ere,wre,Pre,kre,jre),QS=Rv(ZS,V.Object({authorizationUrl:V.String()})),$S=Rv(ZS,V.Object({tokenUrl:V.String()}),KS),eC=Rv(ZS,V.Object({tokenUrl:V.String()}),KS),tC=Rv(ZS,V.Object({authorizationUrl:V.String(),tokenUrl:V.String()}),Ire,KS),Rre=V.Object({implicit:V.Optional(QS),password:V.Optional($S),clientCredentials:V.Optional(eC),authorizationCode:V.Optional(tC)}),nC=V.Object({"x-internal":V.Optional(V.Boolean())}),zre=pt({"x-internal":F(st({typeComment:`Extension to mark an entity as internal`}))},{typeName:`XInternal`,typeComment:`Extension to mark an entity as internal`}),rC=V.Object({"x-scalar-ignore":V.Optional(V.Boolean())}),Bre=pt({"x-scalar-ignore":F(st())},{typeName:`XScalarIgnore`,typeComment:`Internal extension to mark an entity as ignored`}),Vre=V.Object({name:V.String({description:`The text that displays in the badge`,minLength:1}),position:V.Optional(V.Union([V.Literal(`before`),V.Literal(`after`)],{description:`The position of the badge in relation to the header`,default:`after`})),color:V.Optional(V.String({description:`The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)`,pattern:`^(#([0-9A-Fa-f]{3}){1,2}|rgb\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*\\)|rgba\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*[0-9.]*\\s*\\)|hsl\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*\\)|hsla\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*,\\s*[0-9.]*\\s*\\)|[a-zA-Z]+)$`}))},{description:`Configuration for a single badge in the x-badges extension`}),Hre=pt({name:P({typeComment:`The text that displays in the badge. This is required for all badges.`}),position:F(mt([gt(`before`),gt(`after`)],{typeComment:`The position of the badge in relation to the header`})),color:F(P({typeComment:`The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)`}))},{typeName:`XBadge`,typeComment:`Configuration for a single badge in the x-badges extension`}),Ure=V.Object({"x-badges":V.Optional(V.Array(Vre))}),Wre=pt({"x-badges":F(dt(Hre,{typeComment:`Badges displayed for this operation in documentation`}))},{typeName:`XBadges`,typeComment:`Badges for an operation in the Scalar UI`}),iC=V.Object({lang:V.Optional(V.String()),label:V.Optional(V.String()),source:V.String()}),Gre=V.Object({language:V.Optional(V.String()),code:V.String(),name:V.Optional(V.String()),install:V.Optional(V.String()),correspondingExample:V.Optional(V.String())}),Kre=V.Object({"code-samples":V.Optional(V.Array(Gre)),"samples-languages":V.Optional(V.Array(V.String()))}),aC=V.Object({title:V.Optional(V.String()),request:V.Optional(V.Record(V.String(),V.String())),response:V.Optional(V.Unknown())}),qre=V.Union([aC,V.Array(aC)]),Jre=V.Object({"x-codeSamples":V.Optional(V.Array(iC)),"x-code-samples":V.Optional(V.Array(iC)),"x-custom-examples":V.Optional(V.Array(iC)),"x-readme":V.Optional(Kre),"x-stainless-snippets":V.Optional(V.Record(V.String(),V.String())),"x-stainless-examples":V.Optional(qre),"x-scalar-examples":V.Optional(V.Array(iC))}),oC=pt({lang:F(P()),label:F(P()),source:P()}),Yre=pt({language:F(P()),code:P(),name:F(P()),install:F(P()),correspondingExample:F(P())}),Xre=pt({"code-samples":F(dt(Yre)),"samples-languages":F(dt(P()))}),sC=pt({title:F(P()),request:F(ft(P(),P())),response:F(ut())}),Zre=mt([sC,dt(sC)]),Qre=pt({"x-codeSamples":F(dt(oC)),"x-code-samples":F(dt(oC)),"x-custom-examples":F(dt(oC)),"x-readme":F(Xre),"x-stainless-snippets":F(ft(P(),P())),"x-stainless-examples":F(Zre),"x-scalar-examples":F(dt(oC))}),$re=V.Object({"x-draft-examples":V.Optional(V.Array(V.String()))}),eie=pt({"x-draft-examples":F(dt(P()))},{typeName:`XDraftExamples`,typeComment:`Draft example identifiers for an operation`}),tie=V.Record(V.String(),V.Boolean()),cC=V.Record(V.String(),tie),nie=V.Object({"x-scalar-disable-parameters":V.Optional(V.Object({"global-cookies":V.Optional(cC),"global-headers":V.Optional(cC),"default-headers":V.Optional(cC)}))}),rie=ft(P(),st()),lC=ft(P(),rie),iie=pt({"global-cookies":F(lC),"global-headers":F(lC),"default-headers":F(lC)},{typeName:`DisableParametersConfig`,typeComment:`Disabled parameter state by category and example`}),aie=pt({"x-scalar-disable-parameters":F(iie)},{typeName:`XScalarDisableParameters`,typeComment:`Tracks which parameters are disabled across examples`}),oie={Deprecated:`deprecated`,Experimental:`experimental`,Stable:`stable`},sie=V.Object({"x-scalar-stability":V.Optional(V.Union([V.Literal(`deprecated`),V.Literal(`experimental`),V.Literal(`stable`)]))}),cie=pt({"x-scalar-stability":F(mt([gt(`deprecated`),gt(`experimental`),gt(`stable`)],{typeComment:`Stability level of the operation`}))},{typeName:`XScalarStability`,typeComment:`Stability of the operation in the Scalar UI`}),lie=Rv(V.Object({tags:V.Optional(V.Array(V.String())),summary:V.Optional(V.String()),description:V.Optional(V.String()),externalDocs:V.Optional(mS),operationId:V.Optional(V.String()),parameters:V.Optional(V.Array(V.Union([bS,US(bS)]))),requestBody:V.Optional(V.Union([SS,US(SS)])),responses:V.Optional(yS),deprecated:V.Optional(V.Boolean()),security:V.Optional(V.Array(rS)),servers:V.Optional(V.Array(pS)),callbacks:V.Optional(V.Record(V.String(),V.Union([aS,US(aS)])))}),Ure,nC,rC,Jre,sie,nie,Fx,Lx,$re,qx),uie=V.Object({"x-global":V.Optional(V.Boolean())}),die=pt({"x-global":F(st())},{typeName:`XGlobal`,typeComment:`When true, the parameter is injected into every request for the workspace`}),uC=Rv(V.Object({name:V.String(),in:V.Union([V.Literal(`query`),V.Literal(`header`),V.Literal(`path`),V.Literal(`cookie`)]),description:V.Optional(V.String()),required:V.Optional(V.Boolean()),deprecated:V.Optional(V.Boolean()),allowEmptyValue:V.Optional(V.Boolean()),allowReserved:V.Optional(V.Boolean())}),uie,nC,rC),fie=Rv(uC,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([lS,US(lS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([xS,US(xS)])))})),pie=Rv(uC,V.Object({content:V.Optional(V.Record(V.String(),fS))})),mie=V.Union([fie,pie]),hie=V.Object({$ref:V.Optional(V.String()),summary:V.Optional(V.String()),description:V.Optional(V.String()),get:V.Optional(V.Union([cS,US(cS)])),put:V.Optional(V.Union([cS,US(cS)])),post:V.Optional(V.Union([cS,US(cS)])),delete:V.Optional(V.Union([cS,US(cS)])),patch:V.Optional(V.Union([cS,US(cS)])),connect:V.Optional(V.Union([cS,US(cS)])),options:V.Optional(V.Union([cS,US(cS)])),head:V.Optional(V.Union([cS,US(cS)])),trace:V.Optional(V.Union([cS,US(cS)])),servers:V.Optional(V.Array(pS)),parameters:V.Optional(V.Array(V.Union([bS,US(bS)])))}),gie=V.Record(V.String(),V.Union([oS,US(oS)])),_ie=V.Object({"x-scalar-selected-content-type":V.Optional(V.Record(V.String(),V.String()))}),vie=pt({"x-scalar-selected-content-type":F(ft(P(),P(),{typeComment:`Selected content type per example name`}))},{typeName:`XScalarSelectedContentType`,typeComment:`Selected content type per example for request or response bodies`}),yie=Rv(V.Object({description:V.Optional(V.String()),content:V.Record(V.String(),fS),required:V.Optional(V.Boolean())}),_ie),bie=V.Object({description:V.String(),headers:V.Optional(V.Record(V.String(),V.Union([dS,US(dS)]))),content:V.Optional(V.Record(V.String(),fS)),links:V.Optional(V.Record(V.String(),V.Union([wS,US(wS)])))}),xie=V.Record(V.String(),V.Union([vS,US(vS)])),Sie=V.Object({"x-tags":V.Optional(V.Array(V.String()))}),Cie=pt({"x-tags":F(dt(P()))},{typeName:`XTags`,typeComment:`Custom tag ordering or grouping hints for schema objects`}),wie=V.Object({"x-additionalPropertiesName":V.Optional(V.String())}),Tie=pt({"x-additionalPropertiesName":F(P())},{typeName:`XAdditionalPropertiesName`,typeComment:`Display name for additional properties on a schema`}),Eie=V.Object({"x-enumDescriptions":V.Optional(V.Union([V.Record(V.String(),V.String()),V.Array(V.String())])),"x-enum-descriptions":V.Optional(V.Union([V.Record(V.String(),V.String()),V.Array(V.String())]))}),dC=mt([ft(P(),P()),dt(P())]),Die=pt({"x-enumDescriptions":F(dC),"x-enum-descriptions":F(dC)},{typeName:`XEnumDescriptions`,typeComment:`Descriptions for enum values`}),Oie=V.Object({"x-enum-varnames":V.Optional(V.Array(V.String())),"x-enumNames":V.Optional(V.Array(V.String()))}),kie=pt({"x-enum-varnames":F(dt(P())),"x-enumNames":F(dt(P()))},{typeName:`XEnumVarNames`,typeComment:`Display names for enum values`}),Aie=V.Object({"x-examples":V.Optional(V.Record(V.String(),V.Unknown()))}),jie=pt({"x-examples":F(ft(P(),lt()))},{typeName:`XExamples`,typeComment:`Named examples attached to a schema`}),Mie=V.Object({"x-order":V.Optional(V.Number())}),Nie=pt({"x-order":F(ot())},{typeName:`XOrder`,typeComment:`Display order for a schema property`}),Pie=V.Object({"x-variable":V.Optional(V.String())}),Fie=pt({"x-variable":F(P())},{typeName:`XVariable`,typeComment:`Variable reference for a schema property`}),fC=V.Union([lS,Rv(HS,V.Object({"$ref-value":V.Optional(V.Unknown())}))]),Iie=V.Union([V.Literal(`null`),V.Literal(`boolean`),V.Literal(`string`),V.Literal(`number`),V.Literal(`integer`),V.Literal(`object`),V.Literal(`array`)]),Lie=V.Object({type:V.Union([V.Literal(`null`),V.Literal(`boolean`)])}),pC=Rv(rC,nC,Pie,Aie,Eie,Oie,wie,Mie,Sie),mC=V.Object({$id:V.Optional(V.String()),$anchor:V.Optional(V.String()),$dynamicAnchor:V.Optional(V.String()),$dynamicRef:V.Optional(V.String()),name:V.Optional(V.String()),title:V.Optional(V.String()),description:V.Optional(V.String()),default:V.Optional(V.Unknown()),enum:V.Optional(V.Array(V.Unknown())),const:V.Optional(V.Unknown()),contentMediaType:V.Optional(V.String()),contentEncoding:V.Optional(V.String()),contentSchema:V.Optional(fC),deprecated:V.Optional(V.Boolean()),discriminator:V.Optional(ES),readOnly:V.Optional(V.Boolean()),writeOnly:V.Optional(V.Boolean()),xml:V.Optional(TS),externalDocs:V.Optional(mS),example:V.Optional(V.Unknown()),examples:V.Optional(V.Array(V.Unknown())),allOf:V.Optional(V.Array(fC)),oneOf:V.Optional(V.Array(fC)),anyOf:V.Optional(V.Array(fC)),not:V.Optional(fC)}),hC=V.Object({multipleOf:V.Optional(V.Number()),maximum:V.Optional(V.Number()),exclusiveMaximum:V.Optional(V.Number({minimum:0})),minimum:V.Optional(V.Number()),exclusiveMinimum:V.Optional(V.Number({minimum:0}))}),Rie=Rv(V.Object({type:V.Union([V.Literal(`number`),V.Literal(`integer`)]),format:V.Optional(V.String())}),hC),gC=V.Object({maxLength:V.Optional(V.Integer({minimum:0})),minLength:V.Optional(V.Integer({minimum:0})),pattern:V.Optional(V.String())}),zie=Rv(V.Object({type:V.Literal(`string`),format:V.Optional(V.String())}),gC),_C=V.Object({maxItems:V.Optional(V.Integer({minimum:0})),minItems:V.Optional(V.Integer({minimum:0})),uniqueItems:V.Optional(V.Boolean()),items:V.Optional(fC),prefixItems:V.Optional(V.Array(fC))}),Bie=Rv(V.Object({type:V.Literal(`array`)}),_C),vC=V.Object({maxProperties:V.Optional(V.Integer({minimum:0})),minProperties:V.Optional(V.Integer({minimum:0})),required:V.Optional(V.Array(V.String())),properties:V.Optional(V.Record(V.String(),fC)),additionalProperties:V.Optional(V.Union([V.Boolean(),fC])),patternProperties:V.Optional(V.Record(V.String(),fC)),propertyNames:V.Optional(fC)}),Vie=Rv(V.Object({type:V.Literal(`object`)}),vC),Hie=Rv(V.Object({type:V.Array(Iie),format:V.Optional(V.String())}),hC,gC,_C,vC),Uie=V.Union([Rv(V.Object({__scalar_:V.String()}),mC,pC),Rv(Lie,mC,pC),Rv(Rie,mC,pC),Rv(zie,mC,pC),Rv(Vie,mC,pC),Rv(Bie,mC,pC),Rv(Hie,mC,pC)]),Wie=V.Partial(V.Record(V.String(),V.Array(V.String()))),Gie=V.Object({"x-default-scopes":V.Optional(V.Array(V.String()))}),Kie=pt({"x-default-scopes":F(dt(P()))},{typeName:`XDefaultScopes`,typeComment:`Default selected OAuth scopes`}),yC=V.Object({description:V.Optional(V.String())}),qie=Rv(yC,V.Object({type:V.Literal(`apiKey`),name:V.String(),in:V.Union([V.Literal(`query`),V.Literal(`header`),V.Literal(`cookie`)])})),Jie=Rv(yC,V.Object({type:V.Literal(`http`),scheme:V.Union([V.Literal(`basic`),V.Literal(`bearer`)]),bearerFormat:V.Optional(V.String())})),Yie=Rv(yC,V.Object({type:V.Literal(`oauth2`),flows:DS}),Gie),Xie=Rv(yC,V.Object({type:V.Literal(`openIdConnect`),openIdConnectUrl:V.String()})),Zie=V.Union([qie,Jie,Yie,Xie]),Qie=V.Object({url:V.String(),description:V.Optional(V.String()),variables:V.Optional(V.Record(V.String(),OS))}),$ie=V.Object({enum:V.Optional(V.Array(V.String())),default:V.Optional(V.String()),description:V.Optional(V.String())}),eae=V.Object({"x-displayName":V.Optional(V.String())}),tae=pt({"x-displayName":F(P())},{typeName:`XDisplayName`,typeComment:`Display-friendly name for a tag`}),nae=Rv(V.Object({name:V.String(),description:V.Optional(V.String()),externalDocs:V.Optional(mS)}),eae,nC,rC,Gx),rae=V.Object({name:V.Optional(V.String()),namespace:V.Optional(V.String()),prefix:V.Optional(V.String()),attribute:V.Optional(V.Boolean()),wrapped:V.Optional(V.Boolean())}),iae=Rv(V.Partial(V.Object({"x-original-oas-version":V.String(),[mx.document.navigation]:AS})),Dx,Zx,yx,qx,xx,Gx,Ux,Tx,Cx,zx,Nx,Ax,Lx,Fx),aae=Rv(V.Object({openapi:V.String(),info:hS,jsonSchemaDialect:V.Optional(V.String()),servers:V.Optional(V.Array(pS)),paths:V.Optional(sS),webhooks:V.Optional(sS),components:V.Optional(nS),security:V.Optional(V.Array(rS)),tags:V.Optional(V.Array(iS)),externalDocs:V.Optional(mS)}),iae),bC=V.Module({[tS.ComponentsObject]:are,[tS.SecurityRequirementObject]:Wie,[tS.TagObject]:nae,[tS.CallbackObject]:ire,[tS.PathItemObject]:hie,[tS.PathsObject]:gie,[tS.OperationObject]:lie,[tS.SchemaObject]:Uie,[tS.EncodingObject]:cre,[tS.MediaTypeObject]:Sre,[tS.HeaderObject]:mre,[tS.ServerObject]:Qie,[tS.ExternalDocumentationObject]:fre,[tS.InfoObject]:yre,[tS.ContactObject]:ore,[tS.LicenseObject]:bre,[tS.ResponseObject]:bie,[tS.ResponsesObject]:xie,[tS.ParameterObject]:mie,[tS.ExampleObject]:dre,[tS.RequestBodyObject]:yie,[tS.SecuritySchemes]:WS,[tS.SecuritySchemeObject]:Zie,[tS.LinkObject]:xre,[tS.XMLObject]:rae,[tS.DiscriminatorObject]:sre,[tS.OAuthFlowsObject]:Rre,[tS.ServerVariableObject]:$ie,OpenApiDocument:aae,[tS.TraversedDescriptionObject]:NS,[tS.TraversedOperationObject]:FS,[tS.TraversedAsyncApiOperationObject]:IS,[tS.TraversedAsyncApiChannelObject]:LS,[tS.TraversedAsyncApiMessageObject]:RS,[tS.TraversedSchemaObject]:zS,[tS.TraversedWebhookObject]:BS,[tS.TraversedTagObject]:VS,[tS.TraversedEntryObject]:nre,[tS.TraversedDocumentObject]:MS}),oae=bC.Import(`OpenApiDocument`);bC.Import(`ComponentsObject`);var sae=bC.Import(`SecurityRequirementObject`);bC.Import(`TagObject`),bC.Import(`CallbackObject`),bC.Import(`PathItemObject`),bC.Import(`PathsObject`),bC.Import(`OperationObject`);var cae=bC.Import(`SchemaObject`);bC.Import(`EncodingObject`),bC.Import(`MediaTypeObject`),bC.Import(`HeaderObject`);var xC=bC.Import(`ServerObject`);bC.Import(`ExternalDocumentationObject`),bC.Import(`InfoObject`),bC.Import(`ContactObject`),bC.Import(`LicenseObject`),bC.Import(`ResponseObject`),bC.Import(`ResponsesObject`),bC.Import(`ParameterObject`),bC.Import(`ExampleObject`),bC.Import(`RequestBodyObject`),bC.Import(`SecuritySchemes`);var lae=bC.Import(`SecuritySchemeObject`);bC.Import(`LinkObject`),bC.Import(`XMLObject`),bC.Import(`DiscriminatorObject`),bC.Import(`OAuthFlowsObject`),bC.Import(`ServerVariableObject`),bC.Import(`TraversedDescriptionObject`),bC.Import(`TraversedEntryObject`),bC.Import(`TraversedTagObject`),bC.Import(`TraversedOperationObject`),bC.Import(`TraversedSchemaObject`),bC.Import(`TraversedWebhookObject`);var SC={schema:e=>{if(e===void 0)return;let t=L(e,lc);return px(Rv(cae,V.Object({$ref:V.Optional(V.String())})),t)}},CC=10,uae=`additionalProperty`,wC=new Date().toISOString(),dae=wC.split(`T`)[0],fae=wC.split(`T`)[1].split(`.`)[0],pae={"date-time":wC,date:dae,email:`hello@example.com`,hostname:`example.com`,"idn-email":`jane.doe@example.com`,"idn-hostname":`example.com`,ipv4:`127.0.0.1`,ipv6:`51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998`,"iri-reference":`/entitiy/1`,iri:`https://example.com/entity/123`,"json-pointer":`/nested/objects`,password:`super-secret`,regex:`/[a-z]/`,"relative-json-pointer":`1/nested/objects`,time:fae,"uri-reference":`../folder`,"uri-template":`https://example.com/{id}`,uri:`https://example.com`,uuid:`123e4567-e89b-12d3-a456-426614174000`,"object-id":`6592008029c8c3e4dc76256c`},mae=e=>{if(!(`propertyNames`in e)||!e.propertyNames)return;let t=SC.schema(e.propertyNames);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},TC=(e,t=!1,n=``)=>`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`?`@filename`:t&&`format`in e&&e.format?pae[e.format]??n:n,EC=new WeakMap,DC=new WeakMap,OC=e=>Lc(e,{depth:1}),hae=e=>{if(!e)return;let t=DC.get(e);if(t)return t;if(`required`in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let n=new Set(t);return DC.set(e,n),n}}},kC=(e,t,n,r=!1)=>{if(r||typeof t!=`object`||!t)return t;let i=OC(e),a=EC.get(i)??new Map;return a&&a.set(n,t),EC.set(i,a),t},gae=e=>!!(e.allOf||e.oneOf||e.anyOf),_ae=(e,t,n,r)=>{if(e.deprecated||r?.mode===`write`&&e.readOnly||r?.mode===`read`&&e.writeOnly)return!0;if(r?.omitEmptyAndOptionalProperties!==!0||`type`in e&&(e.type===`object`||e.type===`array`)||gae(e)||`examples`in e&&Array.isArray(e.examples)&&e.examples.length>0||`example`in e&&e.example!==void 0||`default`in e&&e.default!==void 0||`const`in e&&e.const!==void 0||`enum`in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;let i=n??e.title??``,a=hae(t);return!(a&&a.has(i))},AC=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e==`object`&&t&&typeof t==`object`?{...e,...t}:t,vae=CC*5,jC=new WeakMap,MC=(e,t)=>{switch(t){case`string`:return typeof e==`string`;case`number`:return typeof e==`number`&&!Number.isNaN(e);case`integer`:return typeof e==`number`&&Number.isInteger(e);case`boolean`:return typeof e==`boolean`;case`object`:return typeof e==`object`&&!!e&&!Array.isArray(e);case`array`:return Array.isArray(e);case`null`:return e===null;default:return!1}},NC=e=>{let t=OC(e);if(jC.has(t))return jC.get(t);let n=`$ref`in e?SC.schema(e):e;return jC.set(t,n),n},PC=(e,t,n=new Set,r=0)=>{if(r>vae)return!0;let i=OC(e);if(n.has(i))return!0;if(n.add(i),`type`in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(e=>e===`number`&&MC(t,`integer`)?!0:MC(t,e)))return n.delete(i),!1;let a=e.anyOf;if(Array.isArray(a)&&a.length>0&&!a.some(e=>{let i=NC(e);return!!i&&PC(i,t,n,r+1)}))return n.delete(i),!1;let o=e.oneOf;if(Array.isArray(o)&&o.length>0&&!o.some(e=>{let i=NC(e);return!!i&&PC(i,t,n,r+1)}))return n.delete(i),!1;let s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(e=>{let i=NC(e);return!i||PC(i,t,n,r+1)})?(n.delete(i),!1):(n.delete(i),!0)},FC=Symbol(`INVALID_DEFAULT`),yae=e=>{let t=e.default;return PC(e,t)?t:FC},bae=(e,t)=>[...e,t].join(`.`),IC=(e,t,n,r)=>{let i=n?.compositionSelection?.[bae(e,t)];if(!(typeof i!=`number`||Number.isNaN(i)))return Math.max(0,Math.min(i,r-1))},LC=e=>{if(e&&typeof e==`object`&&`x-order`in e){let t=Number(e[`x-order`]);return Number.isNaN(t)?void 0:t}},xae=e=>Object.keys(e).sort((t,n)=>{let r=LC(e[t]),i=LC(e[n]);return r!==void 0&&i!==void 0?r-i:r===void 0?i===void 0?0:1:-1}),Sae=(e,t,n,r,i,a,o)=>{let s={},c=Wc(o,e),l=o.length>0;if(`properties`in e&&e.properties){let i=e.properties,o=xae(i),l=o.length;for(let u=0;u<l;u++){let l=o[u],d=SC.schema(i[l]);if(!d)continue;let f=t?.xml&&`xml`in d?d.xml?.name:void 0,p=RC(d,t,{level:n+1,parentSchema:e,name:l,schemaPath:[...a,l],seen:r,dynamicScope:c});p!==void 0&&(s[f??l]=p)}}if(`patternProperties`in e&&e.patternProperties)for(let i of Object.keys(e.patternProperties)){let o=SC.schema(e.patternProperties[i]);o&&(s[i]=RC(o,t,{level:n+1,parentSchema:e,name:i,schemaPath:[...a,i],seen:r,dynamicScope:c}))}if(`additionalProperties`in e&&e.additionalProperties){let i=typeof e.additionalProperties==`boolean`?e.additionalProperties:SC.schema(e.additionalProperties),o=e.additionalProperties===!0||typeof e.additionalProperties==`object`&&Object.keys(e.additionalProperties).length===0,l=typeof i==`object`&&`x-additionalPropertiesName`in i&&typeof i[`x-additionalPropertiesName`]==`string`&&i[`x-additionalPropertiesName`].trim().length>0,u=l?void 0:mae(e),d=l?i[`x-additionalPropertiesName`].trim():uae,f=o?`anything`:typeof i==`object`?RC(i,t,{level:n+1,schemaPath:[...a,d],seen:r,dynamicScope:c}):`anything`;u&&u.length>0?s[String(u[0])]=f:s[d]=f}let u=e.oneOf?`oneOf`:e.anyOf?`anyOf`:void 0,d=u?e[u]:void 0;if(u&&d?.length){let e=IC(a,u,t,d.length)??0,i=SC.schema(d[e]);i&&Object.assign(s,RC(i,t,{level:n+1,schemaPath:a,seen:r,dynamicScope:c}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let i=s;for(let a of e.allOf){let o=RC(SC.schema(a),t,{level:n+1,parentSchema:e,seen:r,dynamicScope:c});i=AC(i,o)}i&&typeof i==`object`&&Object.assign(s,i)}if(t?.xml&&`xml`in e&&e.xml?.name&&n===0){let t={};return t[e.xml.name]=s,kC(e,t,i,l)}return kC(e,s,i,l)},Cae=(e,t,n,r,i,a,o)=>{let s=Wc(o,e),c=o.length>0,l=`items`in e?SC.schema(e.items):void 0,u=r;if(l&&Bc(l)){let e=Gc(l.$dynamicRef,s);e&&(l=e,u=new WeakSet)}let d=[...a,`items`],f=l&&typeof l==`object`&&`xml`in l?l.xml?.name:void 0,p=!!(t?.xml&&`xml`in e&&e.xml?.wrapped&&f);if(e.example!==void 0)return kC(e,p?{[f]:e.example}:e.example,i,c);if(l&&typeof l==`object`){if(Array.isArray(l.allOf)&&l.allOf.length>0){let r=l.allOf.filter(oc),a=SC.schema(r[0]);if(a&&typeof a==`object`&&`type`in a&&a.type===`object`){let a=RC({type:`object`,allOf:r},t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return kC(e,p?[{[f]:a}]:[a],i,c)}let o=r.map(r=>RC(SC.schema(r),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(oc);return kC(e,p?o.map(e=>({[f]:e})):o,i,c)}let r=l.oneOf?`oneOf`:l.anyOf?`anyOf`:void 0,a=r?l[r]:void 0;if(r&&a&&a.length>0){let o=a[IC(d,r,t,a.length)??0],l=RC(SC.schema(o),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return kC(e,p?[{[f]:l}]:[l],i,c)}}let m=l&&typeof l==`object`&&(`type`in l&&l.type===`object`||`properties`in l),h=l&&typeof l==`object`&&(`type`in l&&l.type===`array`||`items`in l);if(l&&typeof l==`object`&&(`type`in l&&l.type||m||h)){let r=RC(l,t,{level:n+1,schemaPath:d,seen:u,dynamicScope:s});return kC(e,p?[{[f]:r}]:[r],i,c)}return kC(e,[],i,c)},wae=(e,t,n)=>{if(`type`in e&&e.type&&!Array.isArray(e.type))switch(e.type){case`string`:return TC(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`array`:return[];default:return}},Tae=(e,t,n)=>{if(`type`in e&&Array.isArray(e.type)){if(e.type.includes(`null`))return null;let r=e.type[0];if(r)switch(r){case`string`:return TC(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`null`:return null;default:return}}},Eae=e=>JSON.stringify({emptyString:e?.emptyString,xml:e?.xml,mode:e?.mode,variables:e?.variables,omitEmptyAndOptionalProperties:e?.omitEmptyAndOptionalProperties,compositionSelection:e?.compositionSelection?Object.entries(e.compositionSelection).sort(([e],[t])=>e.localeCompare(t)):void 0}),RC=(e,t,{level:n=0,parentSchema:r,name:i,seen:a=new WeakSet,schemaPath:o=[],dynamicScope:s=[]}={})=>{let c=SC.schema(e);if(!oc(c))return;if(Bc(c)){let e=Gc(c.$dynamicRef,s);if(e)return RC(e,t,{level:n+1,parentSchema:r,name:i,seen:new WeakSet,schemaPath:o,dynamicScope:s})}let l=Wc(s,c),u=s.length>0,d=OC(c);if(a.has(d))return;a.add(d);let f=Eae(t)+(o.length>0?`:path:${o.join(`.`)}`:``);if(!u){let e=EC.get(d)?.get(f);if(e!==void 0)return a.delete(d),e}if(n>CC)return a.delete(d),`[Max Depth Exceeded]`;let p=!!t?.emptyString;if(_ae(c,r,i,t)){a.delete(d);return}if(`x-variable`in c&&c[`x-variable`]){let e=t?.variables?.[c[`x-variable`]];if(e!==void 0)return`type`in c&&(c.type===`number`||c.type===`integer`)?(a.delete(d),kC(c,Number(e),f,u)):(a.delete(d),kC(c,e,f,u))}if(Array.isArray(c.examples)&&c.examples.length>0)return a.delete(d),kC(c,c.examples[0],f,u);if(c.example!==void 0)return a.delete(d),kC(c,c.example,f,u);if(c.default!==void 0){let e=yae(c);if(e!==FC)return a.delete(d),kC(c,e,f,u)}if(c.const!==void 0)return a.delete(d),kC(c,c.const,f,u);if(Array.isArray(c.enum)&&c.enum.length>0)return a.delete(d),kC(c,c.enum[0],f,u);if(`properties`in c||`type`in c&&c.type===`object`){let e=Sae(c,t,n,a,f,o,s);return a.delete(d),e}if(`type`in c&&c.type===`array`||`items`in c){let e=Cae(c,t,n,a,f,o,s);return a.delete(d),e}let m=wae(c,p,t?.emptyString);if(m!==void 0)return a.delete(d),kC(c,m,f,u);let h=c.oneOf?`oneOf`:c.anyOf?`anyOf`:void 0,g=h?c[h]:void 0;if(h&&Array.isArray(g)&&g.length>0){let e=IC(o,h,t,g.length),r=e===void 0?g.find(e=>{let t=SC.schema(e);return t&&(!(`type`in t)||t.type!==`null`)}):g[e];if(r){let e=SC.schema(r);if(e)return a.delete(d),kC(c,RC(e,t,{level:n+1,schemaPath:o,seen:a,dynamicScope:l}),f,u)}return a.delete(d),kC(c,null,f,u)}if(Array.isArray(c.allOf)&&c.allOf.length>0){let e,r=c.allOf;for(let i of r){let r=RC(i,t,{level:n+1,parentSchema:c,schemaPath:o,seen:a,dynamicScope:l});e===void 0?e=r:e&&typeof e==`object`&&r&&typeof r==`object`?e=AC(e,r):r!==void 0&&(e=r)}return a.delete(d),kC(c,e??null,f,u)}let _=Tae(c,p,t?.emptyString);return _===void 0?(a.delete(d),kC(c,null,f,u)):(a.delete(d),kC(c,_,f,u))},zC=(e,t)=>typeof e==`string`?e:t.includes(`json`)||typeof e==`object`&&e&&!Array.isArray(e)?JSON.stringify(e):String(e),BC=(e,t)=>{if(Array.isArray(e))return e.join(`,`);if(typeof e==`object`&&e){let n=Object.entries(e);return t?n.map(([e,t])=>`${e}=${t}`).join(`,`):n.map(([e,t])=>`${e},${t}`).join(`,`)}return e},VC=(e,t)=>Array.isArray(e)&&t?e.map(e=>({key:``,value:e})):Array.isArray(e)?e.join(`,`):typeof e==`object`&&e&&t?Object.entries(e).map(([e,t])=>({key:e,value:t})):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e},${t}`).join(`,`):e,HC=(e,t)=>{if(Array.isArray(e)&&t)return e.map(e=>({key:``,value:e}));if(Array.isArray(e))return e.map(e=>e===null?`null`:String(e)).join(`,`);if(typeof e==`object`&&e&&t)return Object.entries(e).map(([e,t])=>({key:e,value:t}));if(typeof e==`object`&&e){let t=e=>{let n=[];for(let[r,i]of Object.entries(e))typeof i==`object`&&i&&!Array.isArray(i)?n.push(r,...t(i)):n.push(r,i===null?`null`:String(i));return n};return t(e).join(`,`)}return e},UC=e=>Array.isArray(e)?e.join(` `):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(` `):String(e),WC=e=>Array.isArray(e)?e.join(`|`):typeof e==`object`&&e?Object.entries(e).flat().join(`|`):String(e),GC=(e,t)=>{let n=[],r=(e,t)=>{for(let[i,a]of Object.entries(e)){let e=`${t}[${i}]`;typeof a==`object`&&a&&!Array.isArray(a)?r(a,e):n.push({key:e,value:String(a)})}};return typeof t==`object`&&t&&!Array.isArray(t)&&r(t,e),n},KC=e=>typeof e==`object`&&e?JSON.stringify(e):String(e),qC=(e,t,n)=>{if(!(n&&(n.style!==void 0||n.explode!==void 0||n.allowReserved!==void 0))||typeof t!=`object`||!t||t instanceof File||Array.isArray(t)&&t.some(e=>e instanceof File))return null;let r=Lc(t),i=n?.style??`form`,a=n?.explode??i===`form`,o=[];if(i===`deepObject`)if(Array.isArray(r)){let t=VC(r,!0);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:KC(n.value)});else o.push({key:e,value:String(t)})}else for(let t of GC(e,r))o.push({key:t.key,value:String(t.value)});else if(i===`spaceDelimited`)o.push({key:e,value:String(UC(r))});else if(i===`pipeDelimited`)o.push({key:e,value:String(WC(r))});else{let t=VC(r,a);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:KC(n.value)});else o.push({key:e,value:String(t)})}return o};function JC(e,t){let n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,i=(e,n)=>typeof t==`function`?t(n):t[n]?.toString()||`{${n}}`;return e.replace(n,i).replace(r,i)}var YC=(e,t={})=>e.replace(lo.PATH,(e,n)=>t[n]??e),XC=(e,t={})=>e.replace(lo.VARIABLES,(e,n)=>typeof t==`function`?t(n)??e:t[n]??e),ZC=e=>({ok:!0,data:e}),QC=(e,t)=>({ok:!1,error:e,message:t}),$C=e=>e instanceof Error?e.message:String(e);function ew(e){try{let t=e();return t instanceof Promise?t.then(e=>ZC(e),e=>(console.error(e),QC($C(e)))):ZC(t)}catch(e){return console.error(e),QC($C(e))}}var Dae=[`localhost`,`127.0.0.1`,`[::1]`,`0.0.0.0`],Oae=[`test`,`example`,`invalid`,`localhost`];function tw(e){try{let{hostname:t}=new URL(e);if(Dae.includes(t))return!0;let n=t.split(`.`).pop();return!!(n&&Oae.includes(n))}catch{return!0}}var nw=(e,t)=>{try{if(!rw(e,t))return t??``;let n=new URL(t);return n.href=uo(e)?`http://localhost${e}`:e,n.searchParams.append(`scalar_url`,t),uo(e)?n.toString().replace(/^http:\/\/localhost/,``):n.toString()}catch{return t??``}},rw=(e,t)=>{try{return!e||!t||uo(t)?!1:uo(e)||tw(e)?!0:!tw(t)}catch{return!1}},iw=typeof Buffer==`function`;typeof TextDecoder==`function`&&new TextDecoder;var aw=typeof TextEncoder==`function`?new TextEncoder:void 0,ow=Array.prototype.slice.call(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`);(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(ow);var sw=String.fromCharCode.bind(String);typeof Uint8Array.from==`function`&&Uint8Array.from.bind(Uint8Array);var cw=e=>e.replace(/=/g,``).replace(/[+\/]/g,e=>e==`+`?`-`:`_`),lw=typeof btoa==`function`?e=>btoa(e):iw?e=>Buffer.from(e,`binary`).toString(`base64`):e=>{let t,n,r,i,a=``,o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255||(i=e.charCodeAt(o++))>255)throw TypeError(`invalid character found`);t=n<<16|r<<8|i,a+=ow[t>>18&63]+ow[t>>12&63]+ow[t>>6&63]+ow[t&63]}return o?a.slice(0,o-3)+`===`.substring(o):a},uw=iw?e=>Buffer.from(e).toString(`base64`):e=>{let t=4096,n=[];for(let r=0,i=e.length;r<i;r+=t)n.push(sw.apply(null,e.subarray(r,r+t)));return lw(n.join(``))},dw=(e,t=!1)=>t?cw(uw(e)):uw(e),kae=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?sw(192|t>>>6)+sw(128|t&63):sw(224|t>>>12&15)+sw(128|t>>>6&63)+sw(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return sw(240|t>>>18&7)+sw(128|t>>>12&63)+sw(128|t>>>6&63)+sw(128|t&63)}},Aae=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,jae=e=>e.replace(Aae,kae),fw=iw?e=>Buffer.from(e,`utf8`).toString(`base64`):aw?e=>uw(aw.encode(e)):e=>lw(jae(e)),pw=(e,t=!1)=>t?cw(fw(e)):fw(e),Mae=(e,t)=>{if(!e||!t)return!0;try{let n=e.startsWith(`http`)?e:`http://${e}`,r=new URL(n).hostname,i=!t,a=t===r,o=t.startsWith(`.`)&&t===`.${r}`,s=t.startsWith(`.`)&&r?.endsWith(t);return i||a||s||o}catch{return!1}},mw=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||n[e.name.toLowerCase()]===!0||!e.name)return!1;let r=new URL(t,`https://example.com`);return!(e.domain&&!Mae(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))},Nae="We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons.",Pae=`We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work:
9
+
10
+ - The browser URL must be on the same domain as the server URL.
11
+ - The connection must be made over HTTPS.
12
+ `,Fae=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join(`; `);return t&&n?`${t}; ${n}`:t||n||``},Iae=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{let i=Fae(e.filter(e=>mw({url:n,cookie:e,disabledGlobalCookies:{}})),t??void 0);return i?r?(console.warn(Nae),{name:ine,value:i}):(console.warn(Pae),{name:`Cookie`,value:i}):null},Lae={21:`!`,24:`$`,27:`'`,28:`(`,29:`)`,"2A":`*`,"2C":`,`,"2F":`/`,"3A":`:`,"3B":`;`,40:`@`},Rae=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>Lae[t.toUpperCase()]??e),zae=e=>{try{return decodeURIComponent(e.replaceAll(`+`,`%20`))}catch{return e}},hw=(e,t)=>{if(t.size===0)return e;let n=e.indexOf(`?`);if(n===-1)return e;let r=e.indexOf(`#`,n),i=e.slice(0,n+1),a=r===-1?e.slice(n+1):e.slice(n+1,r),o=r===-1?``:e.slice(r);return a?`${i}${a.split(`&`).map(e=>{if(!e)return e;let n=e.indexOf(`=`),r=n===-1?e:e.slice(0,n),i=zae(r);return!t.has(i)||n===-1?e:`${r}=${Rae(e.slice(n+1))}`}).join(`&`)}${o}`:e},Bae=`MISSING_REQUEST_SERVER_BASE`,gw=`INVALID_REQUEST_FACTORY_URL`,Vae=`No server URL is configured for this request. Add a servers entry to your OpenAPI document (or set a server in the client) before sending.`,_w=(e,t)=>{let n=t.envVariables,r=ew(()=>Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent(XC(t,n))])));if(!r.ok)return QC(gw,`The request URL contains invalid characters in path parameters.`);let i=r.data,a=mo(XC(e.baseUrl,n),YC(XC(e.path.raw,n),i));if(!t.allowMissingRequestServerBase&&uo(a))return QC(Bae,Vae);let o=globalThis.window?.location?.origin,s=o&&o!==`null`?o:`http://localhost:3000`,c=ew(()=>new URL(a,s));if(!c.ok)return QC(gw,`The request URL could not be parsed. Check the server URL and path for invalid characters.`);let l=c.data,u=new URLSearchParams;for(let[t,r]of e.query.entries())u.append(XC(t,n),XC(r,n));let d=new URLSearchParams;for(let[e,n]of t.securityQueryParams.entries())d.append(e,n);return l.search=fo(l.searchParams,u,d).toString(),ZC(l.toString())},vw=[`9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d`,`f47ac10b-58cc-4372-a567-0e02b2c3d479`,`1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed`,`6ba7b810-9dad-11d1-80b4-00c04fd430c8`,`a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11`,`3fa85f64-5717-4562-b3fc-2c963f66afa6`,`550e8400-e29b-41d4-a716-446655440000`,`c56a4180-65aa-42ec-a945-5fd21dec0538`,`7c9e6679-7425-40de-944b-e07fc1f90ae7`,`e4eaaaf2-d142-11e1-b3e4-080027620cdd`,`aab5d5fd-70c1-11e5-a4fb-b026b977eb28`,`2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d`,`d9428888-122b-11e1-b85c-61cd3cbed5a2`,`fb1a38e6-4be3-4e38-b8ec-c0c2c2d9e2a7`,`01234567-89ab-cdef-0123-456789abcdef`],yw=`abcdefghijklmnopqrstuvwxyz0123456789`,bw=[`#e34f26`,`#3498db`,`#2ecc71`,`#9b59b6`,`#f1c40f`,`#1abc9c`,`#e74c3c`,`#2c3e50`,`#d35400`,`#8e44ad`,`#27ae60`,`#c0392b`,`#16a085`,`#f39c12`,`#7f8c8d`],Hae=[`HTTP`,`SQL`,`TCP`,`JSON`,`XML`,`API`,`SSL`,`CSS`,`HTML`,`RAM`,`FTP`,`SSH`,`DNS`,`URL`,`USB`],Uae=[`192.168.1.42`,`10.0.0.134`,`172.16.254.1`,`203.0.113.50`,`198.51.100.23`,`100.24.56.78`,`54.239.28.85`,`13.107.42.14`,`151.101.1.140`,`216.58.214.206`,`93.184.216.34`,`104.16.249.249`,`172.217.14.206`,`185.199.108.153`,`140.82.121.4`],Wae=[`2001:0db8:85a3:0000:0000:8a2e:0370:7334`,`fe80:0000:0000:0000:0202:b3ff:fe1e:8329`,`2607:f8b0:4004:0800:0000:0000:0000:200e`,`2001:4860:4860:0000:0000:0000:0000:8888`,`2a03:2880:f10c:0083:face:b00c:0000:25de`,`fd12:3456:789a:1000:0000:0000:0000:0001`,`2600:1f18:2489:8200:a953:2c7b:e7e0:d12f`,`2001:0db8:0000:0042:0000:8a2e:0370:7334`,`fe80:0000:0000:0000:4c5a:e8ff:fe7c:3d92`,`2001:0db8:aaaa:bbbb:cccc:dddd:eeee:0001`],Gae=[`00:1A:2B:3C:4D:5E`,`A4:83:E7:2D:6B:9F`,`48:2C:6A:1E:59:3D`,`00:50:56:C0:00:08`,`D4:BE:D9:19:6F:F2`,`3C:22:FB:4A:88:C1`,`08:00:27:5B:8E:A4`,`F0:18:98:43:65:DA`,`5C:CF:7F:2B:1D:E3`,`00:0C:29:3E:71:BC`,`1C:6F:65:A2:8D:49`,`B8:27:EB:63:4F:78`],Kae=[`en`,`es`,`fr`,`de`,`it`,`pt`,`ja`,`zh`,`ko`,`ar`,`ru`,`nl`,`sv`,`pl`,`da`,`fi`,`nb`,`tr`,`hi`,`th`],qae=[`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`,`Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15`,`Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0`,`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0`,`Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1`,`Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.43 Mobile Safari/537.36`,`Mozilla/5.0 (iPad; CPU OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1`,`Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0`,`Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`,`Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0`],Jae=[`http`,`https`],Yae=[`1.0.0`,`2.3.1`,`0.9.4`,`3.12.0`,`1.5.7`,`4.0.0-beta.1`,`0.1.0`,`2.0.3`,`1.2.0`,`5.4.2`,`3.1.0`,`0.8.12`,`2.7.5`,`1.14.0`,`6.0.0`],xw=[`Emma`,`Liam`,`Olivia`,`Noah`,`Ava`,`James`,`Sophia`,`Oliver`,`Isabella`,`Lucas`,`Mia`,`Ethan`,`Charlotte`,`Mason`,`Amelia`],Sw=[`Smith`,`Johnson`,`Williams`,`Brown`,`Jones`,`Garcia`,`Miller`,`Davis`,`Rodriguez`,`Martinez`,`Hernandez`,`Lopez`,`Gonzalez`,`Wilson`,`Anderson`],Xae=[`Mr.`,`Mrs.`,`Ms.`,`Dr.`,`Prof.`,`Rev.`,`Sir`,`Mx.`],Zae=[`Jr.`,`Sr.`,`II`,`III`,`IV`,`PhD`,`MD`,`DDS`,`Esq.`],Qae=[`Marketing`,`Engineering`,`Finance`,`Operations`,`Human Resources`,`Sales`,`Research`,`Design`,`Legal`,`Product`,`Data`,`Support`,`Quality`,`Security`,`Communications`],$ae=[`Senior`,`Lead`,`Junior`,`Principal`,`Chief`,`Associate`,`Global`,`Regional`,`Internal`,`Dynamic`,`Staff`,`Executive`,`National`,`Strategic`,`Corporate`],eoe=[`Software Engineer`,`Product Manager`,`Data Analyst`,`UX Designer`,`DevOps Engineer`,`Marketing Director`,`Sales Representative`,`Financial Analyst`,`Project Manager`,`QA Engineer`,`Technical Writer`,`System Administrator`,`Business Analyst`,`Account Executive`,`Operations Manager`],toe=[`Full-time`,`Part-time`,`Contract`,`Freelance`,`Internship`,`Temporary`,`Remote`,`Hybrid`,`Consultant`,`Seasonal`],Cw=[`(555) 123-4567`,`(555) 987-6543`,`(555) 246-8135`,`(555) 369-2580`,`(555) 741-8520`,`(555) 852-9631`,`(555) 147-2583`,`(555) 963-8520`,`(555) 321-6540`,`(555) 654-9870`,`(555) 789-0123`,`(555) 234-5678`,`(555) 876-5432`,`(555) 468-1357`,`(555) 531-2468`],noe=[`New York`,`London`,`Tokyo`,`Paris`,`Sydney`,`Toronto`,`Berlin`,`Singapore`,`Mumbai`,`São Paulo`,`Amsterdam`,`Seoul`,`Dublin`,`Barcelona`,`Melbourne`],roe=[`Main Street`,`Oak Avenue`,`Park Boulevard`,`Cedar Lane`,`Elm Drive`,`Maple Court`,`Pine Road`,`Walnut Street`,`Birch Avenue`,`Cherry Lane`,`Willow Way`,`Spruce Circle`,`Aspen Drive`,`Hickory Place`,`Chestnut Road`],ioe=[`123 Main Street`,`456 Oak Avenue`,`789 Park Boulevard`,`321 Cedar Lane`,`654 Elm Drive`,`987 Maple Court`,`147 Pine Road`,`258 Walnut Street`,`369 Birch Avenue`,`741 Cherry Lane`,`852 Willow Way`,`963 Spruce Circle`,`159 Aspen Drive`,`357 Hickory Place`,`486 Chestnut Road`],aoe=[`United States`,`United Kingdom`,`Canada`,`Australia`,`Germany`,`France`,`Japan`,`Brazil`,`India`,`Netherlands`,`South Korea`,`Singapore`,`Ireland`,`Spain`,`Sweden`],ooe=[`US`,`GB`,`CA`,`AU`,`DE`,`FR`,`JP`,`BR`,`IN`,`NL`,`KR`,`SG`,`IE`,`ES`,`SE`,`IT`,`NO`,`DK`,`FI`,`CH`],soe=[`40.7128`,`-33.8688`,`51.5074`,`35.6762`,`48.8566`,`-23.5505`,`19.4326`,`55.7558`,`1.3521`,`37.7749`,`52.3676`,`34.0522`,`41.9028`,`39.9042`,`25.2048`],coe=[`-74.0060`,`151.2093`,`-0.1278`,`139.6503`,`2.3522`,`-46.6333`,`-99.1332`,`37.6173`,`103.8198`,`-122.4194`,`4.9041`,`-118.2437`,`12.4964`,`116.4074`,`55.2708`],loe=[`https://avatars.githubusercontent.com/u/12345678`,`https://avatars.githubusercontent.com/u/23456789`,`https://avatars.githubusercontent.com/u/34567890`,`https://avatars.githubusercontent.com/u/45678901`,`https://avatars.githubusercontent.com/u/56789012`,`https://avatars.githubusercontent.com/u/67890123`,`https://avatars.githubusercontent.com/u/78901234`,`https://avatars.githubusercontent.com/u/89012345`,`https://avatars.githubusercontent.com/u/90123456`,`https://avatars.githubusercontent.com/u/10234567`],uoe=[`https://picsum.photos/seed/scalar1/640/480`,`https://picsum.photos/seed/scalar2/640/480`,`https://picsum.photos/seed/scalar3/640/480`,`https://picsum.photos/seed/scalar4/640/480`,`https://picsum.photos/seed/scalar5/640/480`,`https://picsum.photos/seed/scalar6/640/480`,`https://picsum.photos/seed/scalar7/640/480`,`https://picsum.photos/seed/scalar8/640/480`,`https://picsum.photos/seed/scalar9/640/480`,`https://picsum.photos/seed/scalar10/640/480`],ww=`https://loremflickr.com/640/480`,doe=Array.from({length:10},(e,t)=>`${ww}/abstract?lock=${t+1}`),foe=Array.from({length:10},(e,t)=>`${ww}/animals?lock=${t+1}`),poe=Array.from({length:10},(e,t)=>`${ww}/business?lock=${t+1}`),moe=Array.from({length:10},(e,t)=>`${ww}/cat?lock=${t+1}`),hoe=Array.from({length:10},(e,t)=>`${ww}/city?lock=${t+1}`),goe=Array.from({length:10},(e,t)=>`${ww}/food?lock=${t+1}`),_oe=Array.from({length:10},(e,t)=>`${ww}/nightlife?lock=${t+1}`),voe=Array.from({length:10},(e,t)=>`${ww}/fashion?lock=${t+1}`),yoe=Array.from({length:10},(e,t)=>`${ww}/people?lock=${t+1}`),boe=Array.from({length:10},(e,t)=>`${ww}/nature?lock=${t+1}`),xoe=Array.from({length:10},(e,t)=>`${ww}/sports?lock=${t+1}`),Soe=Array.from({length:10},(e,t)=>`${ww}/transport?lock=${t+1}`),Coe=[`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%233498db%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23e74c3c%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%232ecc71%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%239b59b6%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23f1c40f%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`],woe=[`34042448`,`34102758`,`02997566`,`52631809`,`75412296`,`37762776`,`44117882`,`13865687`,`44377086`,`74440091`],Toe=[`Personal Checking`,`Savings Account`,`Money Market`,`Home Loan`,`Auto Loan`,`Investment Account`,`Business Checking`,`Credit Card`,`Retirement Fund`,`College Savings`],Eoe=[`DEUTDEFF`,`BNPAFRPP`,`CHASUS33`,`HSBCGB2L`,`COBADEFF`,`SCBLSGSG`,`ANZBAU3M`,`CITIUS33`,`BOFAUS3N`,`NWBKGB2L`],Doe=[`GB29NWBK60161331926819`,`DE89370400440532013000`,`FR7630006000011234567890189`,`ES9121000418450200051332`,`IT60X0542811101000000123456`,`NL91ABNA0417164300`,`CH9300762011623852957`,`BE68539007547034`,`AT611904300234573201`,`FI2112345600000785`],Ooe=[`deposit`,`withdrawal`,`payment`,`invoice`,`transfer`],koe=[`USD`,`EUR`,`GBP`,`JPY`,`AUD`,`CAD`,`CHF`,`CNY`,`INR`,`BRL`,`SEK`,`NOK`,`DKK`,`SGD`,`HKD`],Aoe=[`US Dollar`,`Euro`,`British Pound`,`Japanese Yen`,`Australian Dollar`,`Canadian Dollar`,`Swiss Franc`,`Chinese Yuan`,`Indian Rupee`,`Brazilian Real`,`Swedish Krona`,`Norwegian Krone`,`Danish Krone`,`Singapore Dollar`,`Hong Kong Dollar`],joe=[`$`,`€`,`£`,`¥`,`A$`,`C$`,`CHF`,`¥`,`₹`,`R$`],Moe=[`1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa`,`3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy`,`bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4`,`1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`,`3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS`,`1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF`,`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,`3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5`,`1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ`,`bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux`],Noe=[`Acme Corp`,`Globex`,`Initech`,`Umbrella Industries`,`Stark Enterprises`,`Wayne Corp`,`Cyberdyne Systems`,`Tyrell Corp`,`Soylent Corp`,`Aperture Science`,`Massive Dynamic`,`Oscorp`,`Abstergo`,`Weyland-Yutani`,`Hooli`],Poe=[`Inc`,`LLC`,`Group`,`Ltd`,`PLC`,`Corp`],Tw=[`leverage agile frameworks`,`iterate revolutionary convergence`,`drive seamless solutions`,`enable viral e-services`,`synergize scalable supply-chains`,`harness real-time channels`,`orchestrate integrated experiences`,`deliver frictionless partnerships`,`transform dynamic mindshare`,`cultivate open-source communities`],Foe=[`innovative`,`scalable`,`seamless`,`cutting-edge`,`robust`,`synergistic`,`dynamic`,`holistic`,`strategic`,`disruptive`,`frictionless`,`proactive`,`world-class`,`collaborative`,`granular`],Ioe=[`leverage`,`iterate`,`synergize`,`monetize`,`orchestrate`,`disintermediate`,`harness`,`incentivize`,`optimize`,`streamline`,`revolutionize`,`cultivate`,`empower`,`facilitate`,`aggregate`],Loe=[`frameworks`,`paradigms`,`synergies`,`platforms`,`infrastructures`,`bandwidth`,`channels`,`communities`,`convergence`,`deliverables`,`e-markets`,`experiences`,`initiatives`,`interfaces`,`methodologies`],Roe=[`Adaptive zero defect data-warehouse`,`Automated scalable protocol`,`Business-focused zero defect hub`,`Cloned responsive flexibility`,`Cross-group background collaboration`,`De-engineered stable conglomeration`,`Distributed actuating throughput`,`Enhanced client-server capability`,`Face to face explicit superstructure`,`Front-line multimedia interface`],zoe=[`Adaptive`,`Advanced`,`Automated`,`Balanced`,`Business-focused`,`Centralized`,`Cloned`,`Configurable`,`Cross-group`,`Customizable`,`De-engineered`,`Decentralized`,`Digitized`,`Distributed`,`Enhanced`],Boe=[`24 hour`,`actuating`,`analyzing`,`asymmetric`,`asynchronous`,`background`,`bandwidth-monitored`,`bi-directional`,`bifurcated`,`bottom-line`,`clear-thinking`,`client-driven`,`client-server`,`coherent`,`cohesive`],Voe=[`ability`,`access`,`algorithm`,`alliance`,`analyzer`,`application`,`approach`,`architecture`,`array`,`attitude`,`benchmark`,`budgetary management`,`capability`,`capacity`,`challenge`],Hoe=[`id`,`name`,`email`,`status`,`created_at`,`updated_at`,`description`,`amount`,`category`,`token`,`avatar`,`phone`,`address`,`comment`,`title`],Uoe=[`int`,`varchar`,`text`,`boolean`,`date`,`timestamp`,`float`,`bigint`,`json`,`uuid`,`decimal`,`enum`,`blob`,`char`,`smallint`],Woe=[`utf8_general_ci`,`utf8mb4_unicode_ci`,`ascii_general_ci`,`latin1_swedish_ci`,`utf8_unicode_ci`,`utf8mb4_general_ci`,`utf8_bin`,`latin1_general_ci`,`utf8mb4_bin`,`ascii_bin`],Goe=[`InnoDB`,`MyISAM`,`MEMORY`,`CSV`,`ARCHIVE`,`FEDERATED`,`NDB`,`MERGE`,`BLACKHOLE`,`EXAMPLE`],Koe=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],qoe=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Joe=[`example.com`,`test-site.org`,`my-app.io`,`dev-portal.net`,`api-hub.com`,`code-base.dev`,`data-flow.co`,`web-pulse.io`,`cloud-nest.org`,`tech-wave.net`,`open-source.dev`,`byte-craft.io`,`pixel-lab.co`,`node-spark.com`,`vue-forge.dev`],Yoe=[`com`,`org`,`net`,`io`,`dev`,`co`,`info`,`app`,`me`,`xyz`],Xoe=[`example`,`test-site`,`my-app`,`dev-portal`,`api-hub`,`code-base`,`data-flow`,`web-pulse`,`cloud-nest`,`tech-wave`,`open-source`,`byte-craft`,`pixel-lab`,`node-spark`,`vue-forge`],Zoe=[`emma.smith@example.com`,`liam.johnson@test.org`,`olivia.williams@demo.io`,`noah.brown@sample.net`,`ava.jones@mail.com`,`james.garcia@inbox.dev`,`sophia.miller@webmail.co`,`oliver.davis@post.io`,`isabella.rodriguez@email.org`,`lucas.martinez@connect.net`,`mia.hernandez@hub.com`,`ethan.lopez@office.dev`,`charlotte.gonzalez@corp.io`,`mason.wilson@biz.co`,`amelia.anderson@pro.net`],Qoe=[`emma@example.com`,`liam@example.org`,`olivia@example.net`,`noah@example.com`,`ava@example.org`,`james@example.net`,`sophia@example.com`,`oliver@example.org`,`isabella@example.net`,`lucas@example.com`,`mia@example.org`,`ethan@example.net`],$oe=[`emma_dev42`,`liam.codes`,`olivia_tech`,`noah_builds`,`ava.hacks`,`james_ops`,`sophia_data`,`oliver.api`,`isa_design`,`lucas_vue`,`mia_cloud`,`ethan.stack`,`char_pixel`,`mason_byte`,`amelia_net`],ese=[`https://example.com`,`https://test-site.org`,`https://my-app.io`,`https://dev-portal.net`,`https://api-hub.com`,`https://code-base.dev`,`https://data-flow.co`,`https://web-pulse.io`,`https://cloud-nest.org`,`https://tech-wave.net`,`https://open-source.dev`,`https://byte-craft.io`],tse=[`report.pdf`,`data.csv`,`image.png`,`backup.tar.gz`,`readme.md`,`config.yml`,`schema.json`,`styles.css`,`app.tsx`,`index.html`,`notes.txt`,`archive.zip`,`log.xml`,`script.sh`,`database.sql`],nse=[`application`,`text`,`image`,`audio`,`video`,`font`,`model`,`multipart`,`message`,`chemical`],rse=[`pdf`,`csv`,`png`,`json`,`md`,`yml`,`html`,`txt`,`xml`,`sql`,`tar`,`gz`,`wasm`,`webp`],ise=[`report.pdf`,`photo.jpg`,`document.docx`,`spreadsheet.xlsx`,`presentation.pptx`,`image.png`,`video.mp4`,`audio.mp3`,`archive.zip`,`readme.txt`],ase=[`text`,`application`,`image`,`audio`,`video`],ose=[`pdf`,`jpg`,`png`,`gif`,`mp3`,`mp4`,`doc`,`xls`,`ppt`,`txt`,`zip`,`html`,`css`,`js`,`json`],sse=[`/home/user/documents/report.pdf`,`/var/log/app/server.log`,`/tmp/upload/image.png`,`/opt/data/backup.tar.gz`,`/home/user/projects/app/src/index.ts`,`/etc/config/settings.yml`,`/usr/local/bin/script.sh`,`/home/user/downloads/archive.zip`,`/var/www/html/index.html`,`/home/user/.config/app.json`],cse=[`/home/user/documents`,`/var/log/app`,`/tmp/uploads`,`/opt/data`,`/home/user/projects/app/src`,`/etc/config`,`/usr/local/bin`,`/home/user/downloads`,`/var/www/html`,`/home/user/.config`],lse=[`application/json`,`text/html`,`image/png`,`application/pdf`,`text/plain`,`image/jpeg`,`application/xml`,`text/css`,`application/javascript`,`image/svg+xml`,`application/zip`,`audio/mpeg`,`video/mp4`,`font/woff2`,`application/octet-stream`],use=[`Chair`,`Computer`,`Keyboard`,`Mouse`,`Table`,`Phone`,`Shoes`,`Shirt`,`Pants`,`Hat`,`Bike`,`Towels`,`Gloves`,`Soap`,`Tuna`],dse=[`Refined`,`Elegant`,`Rustic`,`Gorgeous`,`Practical`,`Fantastic`,`Handcrafted`,`Incredible`,`Licensed`,`Sleek`,`Intelligent`,`Recycled`,`Modern`,`Bespoke`,`Ergonomic`],fse=[`Cotton`,`Steel`,`Wooden`,`Concrete`,`Rubber`,`Granite`,`Plastic`,`Frozen`,`Soft`,`Metal`,`Bronze`,`Silk`,`Leather`,`Ceramic`,`Bamboo`],pse=[`Refined Cotton Chair`,`Sleek Steel Computer`,`Elegant Wooden Table`,`Practical Rubber Keyboard`,`Gorgeous Granite Mouse`,`Rustic Metal Bike`,`Handcrafted Silk Shirt`,`Incredible Bamboo Towels`,`Modern Leather Shoes`,`Ergonomic Plastic Phone`,`Fantastic Ceramic Soap`,`Licensed Bronze Hat`,`Intelligent Soft Gloves`,`Bespoke Cotton Pants`,`Recycled Steel Tuna`],mse=[`Electronics`,`Clothing`,`Books`,`Home`,`Garden`,`Sports`,`Toys`,`Automotive`,`Grocery`,`Health`,`Beauty`,`Music`,`Movies`,`Games`,`Outdoors`],hse=[`server`,`database`,`network`,`protocol`,`system`,`algorithm`,`interface`,`module`,`component`,`function`,`framework`,`library`,`instance`,`variable`,`endpoint`],gse=[`run`,`build`,`deploy`,`parse`,`fetch`,`render`,`compile`,`stream`,`cache`,`merge`,`sync`,`push`,`pull`,`test`,`debug`],_se=[`running`,`building`,`deploying`,`parsing`,`fetching`,`rendering`,`compiling`,`streaming`,`caching`,`merging`,`syncing`,`pushing`,`pulling`,`testing`,`debugging`],vse=[`fast`,`secure`,`scalable`,`robust`,`dynamic`,`modular`,`stable`,`lightweight`,`portable`,`resilient`,`efficient`,`responsive`,`concurrent`,`stateless`,`distributed`],Ew=[`pixel`,`quantum`,`cipher`,`matrix`,`vector`,`nexus`,`pulse`,`flux`,`forge`,`prism`,`vortex`,`helix`,`orbit`,`spark`,`nebula`],Dw=[`lorem`,`ipsum`,`dolor`,`sit`,`amet`,`consectetur`,`adipiscing`,`elit`,`sed`,`do`,`eiusmod`,`tempor`,`incididunt`,`ut`,`labore`,`et`,`dolore`,`magna`,`aliqua`,`enim`],Ow=[`Lorem ipsum dolor sit amet, consectetur adipiscing elit.`,`Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.`,`Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.`,`Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.`,`Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.`,`Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.`,`Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.`,`Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit.`,`Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse.`,`At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis.`],kw=[`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.`,`Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.`,`Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.`,`Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.`,`Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.`],yse=[`lorem-ipsum-dolor`,`sed-tempor-incididunt`,`amet-consectetur-adipiscing`,`eiusmod-labore-dolore`,`veniam-nostrud-exercitation`,`voluptate-velit-cillum`,`occaecat-cupidatat-proident`,`perspiciatis-omnis-natus`,`aspernatur-odit-fugit`,`dolorem-ipsum-amet`],H=e=>e[Math.floor(Math.random()*e.length)],Aw=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,bse=e=>Array.from({length:e},()=>Math.floor(Math.random()*10)).join(``),xse=e=>Array.from({length:e},()=>yw[Math.floor(Math.random()*yw.length)]).join(``),Sse=()=>{let e=Date.now()+Aw(1,365)*864e5;return new Date(e).toISOString()},Cse=()=>{let e=Date.now()-Aw(1,365)*864e5;return new Date(e).toISOString()},wse=()=>{let e=Date.now()-Aw(1,3)*864e5;return new Date(e).toISOString()},jw=(e,t,n)=>{let r=Aw(t,n);return Array.from({length:r},()=>H(e)).join(` `)},Mw=(e,t,n)=>{let r=Aw(t,n);return Array.from({length:r},()=>H(e)).join(` `)},Tse=(e,t,n)=>{let r=Aw(t,n);return Array.from({length:r},()=>H(e)).join(`
13
+ `)},Nw={$guid:{fn:()=>H(vw),comment:`A uuid-v4 style guid`},$timestamp:{fn:()=>Math.floor(Date.now()/1e3).toString(),comment:`The current UNIX timestamp in seconds`},$isoTimestamp:{fn:()=>new Date().toISOString(),comment:`The current ISO timestamp at zero UTC`},$randomUUID:{fn:()=>H(vw),comment:`A random 36-character UUID`},$randomAlphaNumeric:{fn:()=>`abcdefghijklmnopqrstuvwxyz0123456789`[Math.floor(Math.random()*36)]??`a`,comment:`A random alpha-numeric character`},$randomBoolean:{fn:()=>Math.random()<.5?`true`:`false`,comment:`A random boolean value`},$randomInt:{fn:()=>Aw(0,1e3).toString(),comment:`A random integer between 0 and 1000`},$randomColor:{fn:()=>H(bw),comment:`A random color in hex format`},$randomHexColor:{fn:()=>H(bw),comment:`A random hex value`},$randomAbbreviation:{fn:()=>H(Hae),comment:`A random abbreviation`},$randomIP:{fn:()=>H(Uae),comment:`A random IPv4 address`},$randomIPV6:{fn:()=>H(Wae),comment:`A random IPv6 address`},$randomMACAddress:{fn:()=>H(Gae),comment:`A random MAC address`},$randomPassword:{fn:()=>xse(15),comment:`A random 15-character alpha-numeric password`},$randomLocale:{fn:()=>H(Kae),comment:`A random two-letter language code (ISO 639-1)`},$randomUserAgent:{fn:()=>H(qae),comment:`A random user agent`},$randomProtocol:{fn:()=>H(Jae),comment:`A random internet protocol`},$randomSemver:{fn:()=>H(Yae),comment:`A random semantic version number`},$randomFirstName:{fn:()=>H(xw),comment:`A random first name`},$randomLastName:{fn:()=>H(Sw),comment:`A random last name`},$randomFullName:{fn:()=>`${H(xw)} ${H(Sw)}`,comment:`A random first and last name`},$randomNamePrefix:{fn:()=>H(Xae),comment:`A random name prefix`},$randomNameSuffix:{fn:()=>H(Zae),comment:`A random name suffix`},$randomJobArea:{fn:()=>H(Qae),comment:`A random job area`},$randomJobDescriptor:{fn:()=>H($ae),comment:`A random job descriptor`},$randomJobTitle:{fn:()=>H(eoe),comment:`A random job title`},$randomJobType:{fn:()=>H(toe),comment:`A random job type`},$randomPhoneNumber:{fn:()=>H(Cw),comment:`A random ten-digit phone number`},$randomPhoneNumberExt:{fn:()=>`${Aw(10,99)}-${H(Cw)}`,comment:`A random phone number prefixed with a two-digit extension (10–99)`},$randomCity:{fn:()=>H(noe),comment:`A random city name`},$randomStreetName:{fn:()=>H(roe),comment:`A random street name`},$randomStreetAddress:{fn:()=>H(ioe),comment:`A random street address`},$randomCountry:{fn:()=>H(aoe),comment:`A random country`},$randomCountryCode:{fn:()=>H(ooe),comment:`A random two-letter country code (ISO 3166-1 alpha-2)`},$randomLatitude:{fn:()=>H(soe),comment:`A random latitude coordinate`},$randomLongitude:{fn:()=>H(coe),comment:`A random longitude coordinate`},$randomAvatarImage:{fn:()=>H(loe),comment:`A random avatar image`},$randomImageUrl:{fn:()=>H(uoe),comment:`A URL of a random image`},$randomAbstractImage:{fn:()=>H(doe),comment:`A URL of a random abstract image`},$randomAnimalsImage:{fn:()=>H(foe),comment:`A URL of a random animal image`},$randomBusinessImage:{fn:()=>H(poe),comment:`A URL of a random stock business image`},$randomCatsImage:{fn:()=>H(moe),comment:`A URL of a random cat image`},$randomCityImage:{fn:()=>H(hoe),comment:`A URL of a random city image`},$randomFoodImage:{fn:()=>H(goe),comment:`A URL of a random food image`},$randomNightlifeImage:{fn:()=>H(_oe),comment:`A URL of a random nightlife image`},$randomFashionImage:{fn:()=>H(voe),comment:`A URL of a random fashion image`},$randomPeopleImage:{fn:()=>H(yoe),comment:`A URL of a random image of a person`},$randomNatureImage:{fn:()=>H(boe),comment:`A URL of a random nature image`},$randomSportsImage:{fn:()=>H(xoe),comment:`A URL of a random sports image`},$randomTransportImage:{fn:()=>H(Soe),comment:`A URL of a random transportation image`},$randomImageDataUri:{fn:()=>H(Coe),comment:`A random image data URI`},$randomBankAccount:{fn:()=>H(woe),comment:`A random 8-digit bank account number`},$randomBankAccountName:{fn:()=>H(Toe),comment:`A random bank account name`},$randomCreditCardMask:{fn:()=>`**** **** **** ${bse(4)}`,comment:`A random masked credit card number`},$randomBankAccountBic:{fn:()=>H(Eoe),comment:`A random BIC (Bank Identifier Code)`},$randomBankAccountIban:{fn:()=>H(Doe),comment:`A random 15-31 character IBAN (International Bank Account Number)`},$randomTransactionType:{fn:()=>H(Ooe),comment:`A random transaction type`},$randomCurrencyCode:{fn:()=>H(koe),comment:`A random 3-letter currency code (ISO-4217)`},$randomCurrencyName:{fn:()=>H(Aoe),comment:`A random currency name`},$randomCurrencySymbol:{fn:()=>H(joe),comment:`A random currency symbol`},$randomBitcoin:{fn:()=>H(Moe),comment:`A random bitcoin address`},$randomCompanyName:{fn:()=>H(Noe),comment:`A random company name`},$randomCompanySuffix:{fn:()=>H(Poe),comment:`A random company suffix`},$randomBs:{fn:()=>H(Tw),comment:`A random phrase of business-speak`},$randomBsAdjective:{fn:()=>H(Foe),comment:`A random business-speak adjective`},$randomBsBuzz:{fn:()=>H(Ioe),comment:`A random business-speak buzzword`},$randomBsNoun:{fn:()=>H(Loe),comment:`A random business-speak noun`},$randomCatchPhrase:{fn:()=>H(Roe),comment:`A random catchphrase`},$randomCatchPhraseAdjective:{fn:()=>H(zoe),comment:`A random catchphrase adjective`},$randomCatchPhraseDescriptor:{fn:()=>H(Boe),comment:`A random catchphrase descriptor`},$randomCatchPhraseNoun:{fn:()=>H(Voe),comment:`Randomly generates a catchphrase noun`},$randomDatabaseColumn:{fn:()=>H(Hoe),comment:`A random database column name`},$randomDatabaseType:{fn:()=>H(Uoe),comment:`A random database type`},$randomDatabaseCollation:{fn:()=>H(Woe),comment:`A random database collation`},$randomDatabaseEngine:{fn:()=>H(Goe),comment:`A random database engine`},$randomDateFuture:{fn:Sse,comment:`A random future datetime`},$randomDatePast:{fn:Cse,comment:`A random past datetime`},$randomDateRecent:{fn:wse,comment:`A random recent datetime`},$randomWeekday:{fn:()=>H(Koe),comment:`A random weekday`},$randomMonth:{fn:()=>H(qoe),comment:`A random month`},$randomDomainName:{fn:()=>H(Joe),comment:`A random domain name`},$randomDomainSuffix:{fn:()=>H(Yoe),comment:`A random domain suffix`},$randomDomainWord:{fn:()=>H(Xoe),comment:`A random unqualified domain name`},$randomEmail:{fn:()=>H(Zoe),comment:`A random email address`},$randomExampleEmail:{fn:()=>H(Qoe),comment:`A random email address from an example domain`},$randomUserName:{fn:()=>H($oe),comment:`A random username`},$randomUrl:{fn:()=>H(ese),comment:`A random URL`},$randomFileName:{fn:()=>H(tse),comment:`A random file name (includes uncommon extensions)`},$randomFileType:{fn:()=>H(nse),comment:`A random file type (includes uncommon file types)`},$randomFileExt:{fn:()=>H(rse),comment:`A random file extension (includes uncommon extensions)`},$randomCommonFileName:{fn:()=>H(ise),comment:`A random file name`},$randomCommonFileType:{fn:()=>H(ase),comment:`A random, common file type`},$randomCommonFileExt:{fn:()=>H(ose),comment:`A random, common file extension`},$randomFilePath:{fn:()=>H(sse),comment:`A random file path`},$randomDirectoryPath:{fn:()=>H(cse),comment:`A random directory path`},$randomMimeType:{fn:()=>H(lse),comment:`A random MIME type`},$randomPrice:{fn:()=>(Math.random()*1e3).toFixed(2),comment:`A random price between 0.00 and 1000.00`},$randomProduct:{fn:()=>H(use),comment:`A random product`},$randomProductAdjective:{fn:()=>H(dse),comment:`A random product adjective`},$randomProductMaterial:{fn:()=>H(fse),comment:`A random product material`},$randomProductName:{fn:()=>H(pse),comment:`A random product name`},$randomDepartment:{fn:()=>H(mse),comment:`A random commerce department`},$randomNoun:{fn:()=>H(hse),comment:`A random noun`},$randomVerb:{fn:()=>H(gse),comment:`A random verb`},$randomIngverb:{fn:()=>H(_se),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>H(vse),comment:`A random adjective`},$randomWord:{fn:()=>H(Ew),comment:`A random word`},$randomWords:{fn:()=>jw(Ew,2,5),comment:`Some random words`},$randomPhrase:{fn:()=>H(Tw),comment:`A random phrase`},$randomLoremWord:{fn:()=>H(Dw),comment:`A random word of lorem ipsum text`},$randomLoremWords:{fn:()=>jw(Dw,3,3),comment:`Some random words of lorem ipsum text`},$randomLoremSentence:{fn:()=>H(Ow),comment:`A random sentence of lorem ipsum text`},$randomLoremSentences:{fn:()=>Mw(Ow,2,6),comment:`A random 2 to 6 sentences of lorem ipsum text`},$randomLoremParagraph:{fn:()=>H(kw),comment:`A random paragraph of lorem ipsum text`},$randomLoremParagraphs:{fn:()=>Mw(kw,3,3),comment:`3 random paragraphs of lorem ipsum text`},$randomLoremText:{fn:()=>Mw(kw,1,3),comment:`A random amount of lorem ipsum text`},$randomLoremSlug:{fn:()=>H(yse),comment:`A random lorem ipsum URL slug`},$randomLoremLines:{fn:()=>Tse(Ow,1,5),comment:`1 to 5 random lines of lorem ipsum`}},Pw=e=>Nw[e].comment,Ese=[`$guid`,`$timestamp`,`$isoTimestamp`,`$randomUUID`,`$randomEmail`,`$randomInt`,`$randomFirstName`,`$randomLastName`],Fw=Object.keys(Nw),Iw=e=>Object.hasOwn(Nw,e),Dse=[{header:`date`,scalarHeader:sne},{header:`dnt`,scalarHeader:cne},{header:`referer`,scalarHeader:lne},{header:`user-agent`,scalarHeader:one}],Lw=(e,t)=>{let n=XC(e.value,t);return e.format===`basic`?`Basic ${pw(n)}`:e.format===`bearer`?`Bearer ${n}`:n},Rw=e=>t=>Iw(t)?Nw[t].fn()??null:e[t]??null,Ose=(e,t,n)=>{let r=Rw(t),i=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if(e.in!==`query`)return;let t=XC(e.name,r);i.append(t,Lw(e,r))});let a=_w(e,{envVariables:r,securityQueryParams:i,allowMissingRequestServerBase:n?.allowMissingRequestServerBase??!0});if(!a.ok)throw Error(a.message??a.error);return hw(a.data,e.allowedReservedQueryParameters??new Set)},kse=`BUILD_REQUEST_FAILED`,Ase=(e,t)=>{let n=ew(()=>jse(e,t));return n.ok?n.data:QC(kse,n.error)},jse=(e,t)=>{let n=Rw(t.envVariables),r=new AbortController,i=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set(XC(r,n),XC(e,n))}),t})(),a=(()=>{if(e.body?.mode===`raw`)return typeof e.body.value==`string`?XC(e.body.value,n):e.body.value;if(e.body?.mode===`formdata`){let t=new FormData;return e.body.value.forEach(e=>{if(e.type===`text`){t.append(XC(e.key,n),XC(e.value,n));return}t.append(XC(e.key,n),e.value)}),t}return e.body?.mode===`urlencoded`?new URLSearchParams(e.body.value.map(e=>[XC(e.key,n),XC(e.value,n)])):null})(),o=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=XC(e.name,n),r=Lw(e,n);if(e.in===`header`){i.append(t,r);return}if(e.in===`query`){o.append(t,r);return}e.in===`cookie`&&s.push({name:t,value:r,isDisabled:!1})});let c=_w(e,{envVariables:n,securityQueryParams:o,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!c.ok)return QC(c.error,c.message);let l=c.data,u=rw(e.proxyUrl,l),d=Iae({cookies:[...e.cookies,...s].map(e=>({...e,name:XC(e.name,n),value:XC(e.value,n)})),originalCookieHeader:i.get(`cookie`),url:l,useCustomCookieHeader:(u||e.options?.isElectron)??!1});d&&i.set(d.name,d.value),(u||e.options?.isElectron)&&Dse.forEach(({header:e,scalarHeader:t})=>{let n=i.get(e);n&&(i.set(t,n),i.delete(e))});let f=hw(l,e.allowedReservedQueryParameters??new Set);return ZC({requestPayload:[u?nw(e.proxyUrl,f):f,{method:e.method.toUpperCase(),headers:i,body:a,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})},zw=(e,t)=>`content`in t?Mse(e,Object.keys(t.content??{})[0]??``):`schema`in t?Pse(e,t.schema):e,Mse=(e,t)=>{if(typeof e==`string`&&t.includes(`json`))try{return JSON.parse(e)}catch{return e}return e},Nse=new Set([`array`,`object`]),Bw=e=>{let t=L(e);if(!(!t||typeof t!=`object`)){if(`type`in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>Nse.has(e)):t.type;if(e===`array`||e===`object`)return e}for(let e of[`anyOf`,`oneOf`,`allOf`]){let n=t[e];if(Array.isArray(n))for(let e of n){let t=Bw(e);if(t)return t}}}},Pse=(e,t)=>{if(typeof e==`string`){let n=Bw(t);if(n)try{return JSON.parse(e)}catch{if(n===`array`)return e.split(/,\s?/).filter(e=>e!==``)}}return e},Vw=e=>e.variables.reduce((e,t)=>(e[t.name]=typeof t.value==`string`?t.value:t.value.default,e),{}),Hw=e=>Object.entries(e),Uw=e=>e?Hw(e?.variables??{}).reduce((e,[t,n])=>(n.default&&(e[t]=n.default),e),{}):{},Ww=(e,t)=>{let n=t?.[`x-disabled`];return typeof n==`boolean`?n:!e.required&&e.in!==`path`},Fse=`*/*`,Ise={accept:`Accept`,"content-type":`Content-Type`,"user-agent":`User-Agent`},Lse=e=>Ise[e.toLowerCase()]??e,Rse=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[Lse(e),t])),zse=(e,t)=>{let n=new Set;for(let r of e.parameters??[]){let e=L(r);if(e.in!==`header`)continue;let i=`examples`in e&&e.examples?.[t]?e.examples[t]:void 0;Ww(e,i?L(i):void 0)||n.add(e.name.toLowerCase())}return n},Gw=(e,t,n,r)=>{let i=r.hideOverriddenHeaders?zse(e,t):null,a=r.hideDisabledHeaders?e[`x-scalar-disable-parameters`]?.[`default-headers`]?.[t]??{}:null;return Object.fromEntries(Object.entries(n).filter(([e])=>{let t=e.toLowerCase();return!(i?.has(t)||a&&a[t]===!0)}))},Bse=(e,t,n)=>Gw(e,t,n,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),Kw=({method:e,operation:t,exampleName:n,hideDisabledHeaders:r=!1,hideOverriddenHeaders:i=!1,options:a={isElectron:!1,appVersion:`0.0.0`}})=>{let o=new Headers,s=L(t.requestBody);if(bo(e)&&s){let e=s[`x-scalar-selected-content-type`]?.[n]??Object.keys(s.content??{})[0];e&&e!==`none`&&e!==`other`&&o.set(`Content-Type`,e)}let c=Object.keys(t.responses??{}).find(e=>e.startsWith(`2`)),l=c?L(t.responses[c]):null,u=Object.keys(l?.content??{}).join(`, `)||Fse;o.set(`Accept`,u),a.isElectron&&a.appVersion&&o.set(`User-Agent`,`Scalar/${a.appVersion}`);let d=Object.fromEntries(o.entries());return i||r?Gw(t,n,d,{hideOverriddenHeaders:i,hideDisabledHeaders:r}):d},Vse=new Set([`__proto__`,`prototype`,`constructor`]),qw=(e,t)=>{if(Vse.has(e)){let n=t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`;throw Error(n)}},Hse=e=>`type`in e&&(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)),Use=e=>`type`in e&&(e.type===`array`||Array.isArray(e.type)&&e.type.includes(`array`)),Wse=e=>`type`in e&&(e.type===`string`||Array.isArray(e.type)&&e.type.includes(`string`)),Gse=e=>`type`in e&&(e.type===`number`||e.type===`integer`||Array.isArray(e.type)&&e.type.includes(`number`)||Array.isArray(e.type)&&e.type.includes(`integer`)),Kse=e=>e!==void 0&&`type`in e,Jw=e=>`content`in e&&e.content!==void 0,Yw=e=>uc(e)&&`openapi`in e&&typeof e.openapi==`string`,Xw=e=>uc(e)&&`asyncapi`in e&&typeof e.asyncapi==`string`,qse=e=>{if(Yw(e))return`openapi`;if(Xw(e))return`asyncapi`},Jse=(e,t)=>{if(e===null)return{name:null,environment:px(_x,{})};let n=e.workspace[`x-scalar-active-environment`];if(!n)return{name:null,environment:px(_x,{})};let r=e.workspace[`x-scalar-environments`]?.[n]??{variables:[]},i=(Yw(t)?t[`x-scalar-environments`]?.[n]:void 0)??{variables:[]};return{name:n,environment:px(_x,{...r,...i,variables:[...r.variables,...i.variables]})}},Zw=e=>e&&typeof e==`string`?eS.has(e.toLowerCase()):!1,Qw=e=>{if(!(!e||typeof e!=`object`))return L(e,lc)},$w=(e,t)=>{let n=Qw(e);if(n)return n[t]},eT=(e,t,n)=>{if(!(!e||typeof e!=`object`)){if(`$ref`in e&&`$ref-value`in e){e[`$ref-value`][t]=n;return}e[t]=n}},tT=(e,t)=>{!e||typeof e!=`object`||(`$ref`in e&&`$ref-value`in e&&delete e[`$ref-value`][t],delete e[t])},nT=(e,t)=>{let n=Qw(e);if(n)for(let[e,r]of Object.entries(n))!Zw(e)||r===void 0||t(e,r)},rT=e=>{let t=Qw(e);return!t||Object.keys(t).length===0},Yse=(e=[],t=[])=>{let n=t.flatMap(e=>{let t=L(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(n);return[...e.filter(e=>{let t=L(e);return t?!r.has(`${t.in}:${t.name}`):!1}),...t]},Xse=(e,t)=>JSON.stringify(t)===`[{}]`&&e?.length?e.find(e=>JSON.stringify(e)===`{}`)?e:[...e,{}]:t??e??[],iT=e=>Object.keys(e),Zse=(e,t)=>iT(t).flatMap(t=>L(e?.[t])||[]),aT=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>Object.keys(e).length===0)&&!t},oT=e=>!e||e.type!==`oauth2`?[]:e[`x-default-scopes`]??[],Qse=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,n])=>{if(Array.isArray(n)&&n.length>0)return[e,[...n]];let r=L(t[e]),i=r?.type===`oauth2`?r[`x-default-scopes`]:void 0;return Array.isArray(i)&&i.length>0?[e,[...i]]:[e,Array.isArray(n)?[...n]:n]})),$se=(e,t)=>{if(!Array.isArray(e)){let n=L(t[e]);return{[e]:oT(n)}}let n={};for(let r of e)if(Array.isArray(r))for(let e of r)n[e]=oT(L(t[e]));else n[r]=oT(L(t[r]));return n},sT=(e,t,n=[],r={},i)=>{if(t)return t;if(e)return e;if(aT(n)&&!i)return{selectedIndex:-1,selectedSchemes:[]};if(i)return{selectedIndex:0,selectedSchemes:[$se(i,r)]};let a=n[0];return a?{selectedIndex:0,selectedSchemes:[Qse(a,r)]}:{selectedIndex:-1,selectedSchemes:[]}},cT=(e,t=new WeakMap)=>{if(typeof e!=`object`||!e)return e;if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=cT(e[r],t)}),n},lT=(e,t,n=!1,r=new Set)=>{for(let i in t)if(!(i in e))e[i]=t[i];else{let a=e[i],o=t[i];if(typeof a==`object`&&a&&typeof o==`object`&&o&&!(n&&(Array.isArray(a)||Array.isArray(o)))){let e=Ec(a),t=Ec(o);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),lT(a,o,n,r)}else try{e[i]=o}catch(e){console.warn(`Issue setting ${i} on object`),console.warn(e)}}return e},uT={"x-scalar-secret-client-id":`x-scalar-client-id`,"x-scalar-secret-client-secret":`clientSecret`,"x-scalar-secret-password":`password`,"x-scalar-secret-redirect-uri":`x-scalar-redirect-uri`,"x-scalar-secret-token":`token`,"x-scalar-secret-username":`username`,"x-scalar-secret-auth-url":`authorizationUrl`,"x-scalar-secret-token-url":`tokenUrl`},dT=(e,t,n={},r)=>Object.fromEntries(e.map(e=>{let i=typeof n[e]==`string`?n[e]:void 0,a=typeof t[e]==`string`?t[e]:void 0,o=typeof t[uT[e]]==`string`?t[uT[e]]:void 0;return[e,e===`x-scalar-secret-redirect-uri`?i??a??o??r??``:i||a||o||``]})),fT=(e={})=>{let t=e[`x-scalar-secret-refresh-token`];return typeof t==`string`?{"x-scalar-secret-refresh-token":t}:{}},pT=(e,t={})=>{let n=t[`x-scalar-credentials-location`]??e[`x-scalar-credentials-location`];return n?{"x-scalar-credentials-location":n}:{}},mT=(e,t,n)=>{let r=new Set;return{flows:Hw(e??{}).reduce((e,[i,a])=>{if(!uc(a))return e;let o=a.selectedScopes;return Array.isArray(o)&&o.forEach(e=>typeof e==`string`&&r.add(e)),i===`implicit`&&(e.implicit={...a,...dT([`x-scalar-secret-client-id`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`],a,t?.implicit,n),...fT(t?.implicit)}),i===`password`&&(e[i]={...a,...dT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-username`,`x-scalar-secret-password`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],a,t?.password),...pT(a,t?.password),...fT(t?.password)}),i===`clientCredentials`&&(e[i]={...a,...dT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],a,t?.clientCredentials),...pT(a,t?.clientCredentials),...fT(t?.clientCredentials)}),i===`authorizationCode`&&(e[i]={...a,...dT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`,`x-scalar-secret-token-url`],a,t?.authorizationCode,n),...pT(a,t?.authorizationCode),...fT(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(r)}},ece=(e,t,n,r,i)=>{let a=t.getAuthSecrets(r,n);if(e.type===`apiKey`){let t=a?.type===`apiKey`?a:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||e.value||``}}if(e.type===`http`){let t=a?.type===`http`?a:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||e.token||``,"x-scalar-secret-username":t?.[`x-scalar-secret-username`]||e.username||``,"x-scalar-secret-password":t?.[`x-scalar-secret-password`]||e.password||``}}if(e.type===`oauth2`){let t=a?.type===`oauth2`?a:void 0,n=mT(e.flows,t,i),r=Array.isArray(e[`x-default-scopes`])?e[`x-default-scopes`].filter(e=>typeof e==`string`):[],o=Array.from(new Set([...r,...n.selectedScopes]));return{...e,flows:n.flows,"x-default-scopes":o}}if(e.type===`openIdConnect`){let t=a?.type===`openIdConnect`?a:void 0,n=mT({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t,i);return{...e,...Hw(n.flows).length?{flows:n.flows}:{}}}return e},tce=(e={},t={},n,r,i)=>Hw(lT(Hw(e).reduce((e,[t,n])=>{let r=cT(L(n));return r&&(e[t]=r),e},{}),t)??{}).reduce((e,[t,a])=>(e[t]=ece({...px(lae,a),...a},n,t,r,i),e),{});function nce(e,t={}){return Array.isArray(e)?e.map(e=>oce(e,t)):[]}function rce(e){try{let t=new URL(e),n=t.port?`:${t.port}`:``;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function ice(){if(!(typeof window>`u`||typeof window?.location?.origin!=`string`))return window.location.origin}function ace(e,t){let{baseServerUrl:n,documentUrl:r}=t;if(n)return po(n,e);if(r){let t=rce(r);if(t)return po(t,e)}let i=ice();return i?po(i,e):e}function oce(e,t){return e.url?.startsWith(`/`)&&(e.url=ace(e.url,t)),e}var sce=(e,t,n,r)=>{let i=Yw(e)?e[`x-scalar-selected-server`]:void 0,a=n==null?t?.[`x-scalar-selected-server`]??i:i;return a==null?r[0]??null:r.find(({url:e})=>e===a)??null},hT={c:[`libcurl`],clojure:[`clj_http`],csharp:[`httpclient`,`restsharp`],dart:[`http`],fsharp:[`httpclient`],go:[`native`],http:[`http1.1`],java:[`asynchttp`,`nethttp`,`okhttp`,`unirest`],js:[`axios`,`fetch`,`jquery`,`ofetch`,`xhr`],kotlin:[`okhttp`],node:[`axios`,`fetch`,`ofetch`,`undici`],objc:[`nsurlsession`],ocaml:[`cohttp`],php:[`curl`,`guzzle`,`laravel`],powershell:[`restmethod`,`webrequest`],python:[`python3`,`requests`,`aiohttp`,`httpx_sync`,`httpx_async`],r:[`httr2`],ruby:[`native`],rust:[`reqwest`],shell:[`curl`,`httpie`,`wget`],swift:[`nsurlsession`]},gT=Hw(hT).flatMap(([e,t])=>t.map(t=>`${e}/${t}`)),cce=e=>(e||`GET`).toUpperCase(),_T=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`).replaceAll(`
14
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(` `,`\\t`),lce=e=>{if(!e)return``;try{let t=new URL(e),n=t.pathname===`/`&&!e.endsWith(`/`)&&!e.includes(`?`)&&!e.includes(`#`)?``:t.pathname;return`${t.protocol}//${t.host}${n}${t.search}${t.hash}`}catch{return e}},uce=(e,t)=>{let n=t?.length?t.map(e=>`${e.name}=${e.value}`).join(`&`):``;return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n}`:`?${n}`:e},dce=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `):null,fce=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??``]]).toString()).join(`&`):null,vT=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},yT=e=>{let t=e.split(`
15
+ `);return t.length<=1?[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${_T(e)}");`]:[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS,`,...t.map((e,n)=>{let r=n===t.length-1;return` "${_T(e)}${r?``:`\\n`}"${r?`);`:``}`})]},pce={target:`c`,client:`libcurl`,title:`Libcurl`,generate(e,t){if(!e)return``;let n=cce(e.method),r=uce(lce(e.url??``),e.queryString),i=!!e.headers?.length,a=!!e.cookies?.length,o=e.postData,s=o?.mimeType===`multipart/form-data`&&!!o.params?.length,c=e.headers??[],l=c.some(e=>e.name.toLowerCase()===`accept-encoding`&&/gzip|deflate/.test(e.value)),u=[`#include <curl/curl.h>`,``,`int main(void) {`,` curl_global_init(CURL_GLOBAL_DEFAULT);`,` CURL *curl = curl_easy_init();`,` if (!curl) {`,` curl_global_cleanup();`,` return 1;`,` }`,``,` curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "${_T(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${_T(r)}");`];if(t?.auth?.username&&t.auth.password&&u.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${_T(`${t.auth.username}:${t.auth.password}`)}");`),i&&(u.push(``,` struct curl_slist *headers = NULL;`),c.forEach(e=>{u.push(` headers = curl_slist_append(headers, "${_T(`${e.name}: ${e.value}`)}");`)}),u.push(` curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);`)),a){let t=dce(e.cookies);t&&u.push(``,` curl_easy_setopt(curl, CURLOPT_COOKIE, "${_T(t)}");`)}if(l&&u.push(``,` curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");`),o){if(s&&o.params)u.push(``,` curl_mime *mime = curl_mime_init(curl);`),o.params.forEach(e=>{u.push(``,` {`,` curl_mimepart *part = curl_mime_addpart(mime);`),e.name&&u.push(` curl_mime_name(part, "${_T(e.name)}");`),e.fileName===void 0?u.push(` curl_mime_data(part, "${_T(e.value??``)}", CURL_ZERO_TERMINATED);`):u.push(` curl_mime_filedata(part, "${_T(e.fileName)}");`),e.contentType&&u.push(` curl_mime_type(part, "${_T(e.contentType)}");`),u.push(` }`)}),u.push(``,` curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);`);else if(o.mimeType===`application/x-www-form-urlencoded`&&o.params?.length){let e=fce(o.params);e!==null&&u.push(``,` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${_T(e)}");`)}else if(o.mimeType===`application/json`&&o.text!==void 0)u.push(``,...yT(vT(o.text)));else if(o.text!==void 0){let e=o.mimeType===`application/octet-stream`?o.text:vT(o.text);u.push(``,...yT(e))}}return u.push(``,` CURLcode res = curl_easy_perform(curl);`),u.push(` curl_easy_cleanup(curl);`),s&&u.push(` curl_mime_free(mime);`),i&&u.push(` curl_slist_free_all(headers);`),u.push(` curl_global_cleanup();`,``,` return (int)res;`,`}`),u.join(`
16
+ `)}};function bT(e){return{...e,method:(e.method||`GET`).toUpperCase()}}function xT(e){return e?.length?`?${e.map(e=>`${e.name}=${e.value}`).join(`&`)}`:``}var ST=e=>(e||`GET`).toUpperCase(),CT=e=>{if(!e)return``;try{let t=new URL(e);return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},wT=(e,t)=>{let n=xT(t);return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n.slice(1)}`:n:e},TT=(e,t)=>{let n=new Map;if(e?.forEach(e=>{e.name&&n.set(e.name,e.value??``)}),t?.length){let e=t.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);n.set(`Cookie`,e)}return Array.from(n.entries()).map(([e,t])=>({name:e,value:t}))},ET=(e,t,n)=>{let r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]};function DT(e=[]){return e.reduce((e,{name:t,value:n})=>(ET(e,t,n),e),{})}function mce(e,t){return`${e}${t}`}function hce(e){let t={};if(e.headers)for(let n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);return e.cookies&&e.cookies.length>0&&(t.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `)),t}var OT=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),kT=class{name;constructor(e){this.name=e}toString(){return`:${this.name}`}},AT=class{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${OT(this.path)}")`}},jT=e=>typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof kT)&&!(e instanceof AT)&&Object.keys(e).length===0,gce=e=>{for(let t of Object.keys(e))jT(e[t])&&delete e[t];return e},MT=(e,t)=>t.replace(/\n/g,`\n${` `.repeat(e)}`),NT=e=>e==null?`nil`:e instanceof kT||e instanceof AT?e.toString():typeof e==`string`?`"${OT(e)}"`:Array.isArray(e)?`[${MT(1,e.reduce((e,t)=>`${e} ${NT(t)}`,``).trim())}]`:typeof e==`object`?`{${MT(1,Object.keys(e).reduce((t,n)=>`${t}:${n} ${MT(n.length+2,NT(e[n]))}\n `,``).trim())}}`:String(e),PT=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),FT=(e,t)=>{let n=PT(e,t);n&&delete e[n]},_ce=[`get`,`post`,`put`,`delete`,`patch`,`head`,`options`],vce={target:`clojure`,client:`clj_http`,title:`clj-http`,generate(e,t){let n=ST(e?.method).toLowerCase();if(!_ce.includes(n))return`Method not supported`;let r=new URL(e?.url??``),i=r.pathname===`/`?r.origin:r.toString(),a=DT([...Array.from(r.searchParams.entries()).map(([e,t])=>({name:e,value:t})),...e?.queryString??[]]);Object.keys(a).length>0&&(i=i.split(`?`)[0]??i);let o=(e?.headers??[]).reduce((e,t)=>(e[t.name]=t.value??``,e),{});e?.cookies?.length&&(o.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));let s={headers:o,"query-params":a};t?.auth?.username&&t?.auth?.password&&(s[`basic-auth`]=[t.auth.username,t.auth.password]);let c=e?.postData;switch(c?.mimeType){case`application/json`:if(s[`content-type`]=new kT(`json`),c.text)try{s[`form-params`]=JSON.parse(c.text)}catch{s.body=c.text}FT(o,`content-type`);break;case`application/x-www-form-urlencoded`:s[`form-params`]=(c.params??[]).reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{}),FT(o,`content-type`);break;case`multipart/form-data`:c.params&&(s.multipart=c.params.map(e=>typeof e.fileName==`string`&&!e.value?{name:e.name,content:new AT(e.fileName)}:{name:e.name,content:e.value})),FT(o,`content-type`);break;default:c?.text&&(s.body=c.text,FT(o,`content-type`))}let l=PT(o,`accept`);l&&o[l]===`application/json`&&(s.accept=new kT(`json`),delete o[l]);let u=gce(s),d=`(require '[clj-http.client :as client])
17
+ `,f=OT(i);return jT(u)?`${d}\n(client/${n} "${f}")`:`${d}\n(client/${n} "${f}" ${MT(11+n.length+f.length,NT(u))})`}},yce={target:`csharp`,client:`httpclient`,title:`HttpClient`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=xT(n.queryString),i=`${n.url}${r}`,a=[];a.push(`using var client = new HttpClient();`),a.push(``);let o=bce(n.method);return a.push(`var request = new HttpRequestMessage(${o}, "${i}");`),xce(a,n,t),Sce(a,n),a.push(``),a.push(`using var response = await client.SendAsync(request);`),a.join(`
18
+ `)}};function bce(e){switch(e){case`GET`:return`HttpMethod.Get`;case`POST`:return`HttpMethod.Post`;case`PUT`:return`HttpMethod.Put`;case`DELETE`:return`HttpMethod.Delete`;case`PATCH`:return`HttpMethod.Patch`;case`HEAD`:return`HttpMethod.Head`;case`OPTIONS`:return`HttpMethod.Options`;default:return`new HttpMethod("${e}")`}}function xce(e,t,n){let r=t.headers||[],i=t.cookies||[],a=r.find(e=>e.name.toLowerCase()===`authorization`);if(a){let[t,n]=a.value.split(` `,2);t&&n&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${n}");`)}else if(n?.auth?.username&&n?.auth?.password){let t=pw(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let o=new Map;for(let e of r){let t=e.name,n=e.value;t.toLowerCase()!==`authorization`&&o.set(t,n)}for(let[n,r]of o)if(n.toLowerCase()===`accept`&&Cce(r))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${r}"));`);else if(n.toLowerCase()===`content-type`&&t.postData)continue;else e.push(`request.Headers.TryAddWithoutValidation("${n}", "${r}");`);if(i.length>0){let t=i.map(e=>`${e.name}=${e.value}`).join(`; `);e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}function Sce(e,t){if(!t.postData)return;let{mimeType:n,text:r,params:i}=t.postData;if(n===`application/json`&&r)try{let t=JSON.parse(r),n=IT(JSON.stringify(t,null,2));e.push(`request.Content = new StringContent(`),e.push(`${n},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}catch{let t=IT(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}else if(n===`application/x-www-form-urlencoded`&&i){let t=i.map(e=>e.name);if(t.length!==new Set(t).size){e.push(`var formParams = new List<KeyValuePair<string, string>>`),e.push(`{`);for(let t of i)e.push(` new("${t.name}", "${t.value}"),`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}else{e.push(`var formParams = new Dictionary<string, string>`),e.push(`{`);for(let t of i)e.push(` ["${t.name}"] = "${t.value}",`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}}else if(n===`multipart/form-data`&&i){e.push(`var content = new MultipartFormDataContent();`);let t=0;for(let n of i)if(n.fileName!==void 0)if(n.contentType){let r=`fileContent${t++}`;e.push(`var ${r} = new StreamContent(File.OpenRead("${LT(n.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${LT(n.name)}", "${LT(n.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${LT(n.fileName)}")), "${LT(n.name)}", "${LT(n.fileName)}");`);else if(n.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${LT(n.value??``)}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${LT(n.name)}");`)}else e.push(`content.Add(new StringContent("${LT(n.value??``)}"), "${LT(n.name)}");`);e.push(`request.Content = content;`)}else if(n===`application/octet-stream`&&r)e.push(`var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("`+r.replace(/"/g,`\\"`)+`"));`),e.push(`content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");`),e.push(`request.Content = content;`);else if(r){let t=IT(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}function IT(e){let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`}function LT(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}function Cce(e){return/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(e)}var wce=e=>{if(!e)return!1;let{subtype:t}=vo(e);return t===`json`||t.endsWith(`+json`)},Tce=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,RT=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`),zT=e=>{let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`},BT={target:`csharp`,client:`restsharp`,title:`RestSharp`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=wT(n.url,n.queryString),i=``;try{i=new URL(r).host}catch{}let a=[];a.push(`var client = new RestClient("${RT(r)}");`),a.push(`var request = new RestRequest("", ${Tce(n.method)});`);let{username:o,password:s}=t?.auth??{},c=!!(o&&s);if(c){let e=pw(`${o}:${s}`);a.push(`request.AddHeader("Authorization", "Basic ${e}");`)}if(n.headers?.forEach(e=>{c&&e.name.toLowerCase()===`authorization`||a.push(`request.AddHeader("${RT(e.name)}", "${RT(e.value)}");`)}),n.cookies?.forEach(e=>{a.push(`request.AddCookie("${RT(e.name)}", "${RT(e.value)}", "/", "${RT(i)}");`)}),n.postData){let{mimeType:e,text:t,params:r}=n.postData,i=e?vo(e).essence:void 0;if(wce(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}a.push(`request.AddStringBody(${zT(e)}, ContentType.Json);`)}}else i===`application/x-www-form-urlencoded`&&r?r.forEach(e=>{a.push(`request.AddParameter("${RT(e.name)}", "${RT(e.value??``)}");`)}):i===`multipart/form-data`&&r?r.forEach(e=>{e.fileName===void 0?a.push(`request.AddParameter("${RT(e.name)}", "${RT(e.value??``)}");`):e.contentType?a.push(`request.AddFile("${RT(e.name)}", "${RT(e.fileName)}", "${RT(e.contentType)}");`):a.push(`request.AddFile("${RT(e.name)}", "${RT(e.fileName)}");`)}):i===`application/octet-stream`&&t?a.push(`request.AddParameter("application/octet-stream", "${RT(t)}", ParameterType.RequestBody);`):t&&a.push(`request.AddParameter("${RT(e??``)}", "${RT(t)}", ParameterType.RequestBody);`)}return a.push(`var response = await client.ExecuteAsync(request);`),a.join(`
19
+ `)}},VT={target:`dart`,client:`http`,title:`Http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http;
20
+
21
+ void main() async {
22
+ `,i=``,a=``;n.cookies&&n.cookies.length>0&&(a=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `),i=` "Cookie": "${a}",\n`);let o=n.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:n}=t.auth;e&&n&&(o.Authorization=`'Basic ' + base64Encode(utf8.encode('${`${e}:${n}`}'))`)}if(i&&(o.Cookie=a),Object.keys(o).length>0){r+=` final headers = <String,String>{
23
+ `;for(let[e,t]of Object.entries(o))t.includes(`utf8.encode`)?r+=` '${e}': ${t},\n`:r+=` '${e}': '${t}',\n`;r+=` };
24
+
25
+ `}let s=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,c=`${n.url}${s}`,l=``;if(n.postData)if(n.postData.mimeType===`application/json`)l=` final body = r'${n.postData.text}';\n\n`;else if(n.postData.mimeType===`application/x-www-form-urlencoded`)l=` final body = '${n.postData.params?.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`)||``}';\n\n`;else if(n.postData.mimeType===`multipart/form-data`){l=` final body = <String,String>{
26
+ `;for(let e of n.postData.params||[]){let t=e.value||``,n=e.fileName||``;l+=` '${e.name}': '${n||t}',\n`}l+=` };
27
+
28
+ `}else n.postData.mimeType===`application/octet-stream`&&(l=` final body = '${n.postData.text}';\n\n`);l&&(r+=l);let u=n.method.toLowerCase(),d=Object.keys(o).length>0?`, headers: headers`:``;return r+=` final response = await http.${u}(Uri.parse('${c}')${d}${l?`, body: body`:``});\n`,r+=` print(response.body);
29
+ `,r+=`}`,r}},HT={target:`fsharp`,client:`httpclient`,title:`HttpClient`,generate:(e,t)=>{if(!e)return``;let n=WT(e.url,e.queryString),r=``;return r+=GT(e.method,n),e.headers&&e.headers.length>0&&(r+=KT(e.headers)),e.postData&&(r+=JT(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=qT(e.cookies,e.url),r+=`let client = new HttpClient(handler)
30
+ `):r+=`let client = new HttpClient()
31
+ `,r+=`let! result = client.SendAsync(httpRequestMessage)
32
+ `,r}};function UT(e){return!e||e.length===0?``:`?`+e.map(e=>`${e.name}=${e.value}`).join(`&`)}function WT(e,t){return e?!t||t.length===0?e:e+UT(t):``}function GT(e,t){return`let httpRequestMessage = new HttpRequestMessage(
33
+ HttpMethod("${e}"),
34
+ new Uri("${$T(t)}")
35
+ )\n\n`}function KT(e){let t=``;for(let n of e)t+=`httpRequestMessage.Headers.Add("${$T(n.name??``)}", "${$T(n.value??``)}")\n`;return t+=`
36
+ `,t}function qT(e,t){let n=`let cookieContainer = CookieContainer()
37
+ `;for(let r of e)n+=`cookieContainer.Add(Uri("${$T(t)}"), Cookie("${$T(r.name??``)}", "${$T(r.value??``)}"))\n`;return n+=`use handler = new HttpClientHandler()
38
+ `,n+=`handler.CookieContainer <- cookieContainer
39
+
40
+ `,n}function JT(e){if(!e)return``;let t=``;switch(e.mimeType){case`multipart/form-data`:t+=XT(e);break;case`application/x-www-form-urlencoded`:t+=QT(e);break;case`application/json`:t+=ZT(e);break;default:t+=YT(e,e.mimeType);break}return t+=`httpRequestMessage.Content <- content
41
+
42
+ `,t}function YT(e,t){let n=`let content = new StringContent("${$T(e.text??``)}", Encoding.UTF8, "${$T(t??``)}")\n`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${$T(t??``)}")\n`,n}function XT(e){let t=`let content = new MultipartFormDataContent()
43
+ `,n=0,r=0;for(let i of e.params)if(i.value===`BINARY`){let e=$T(i.fileName??``);t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}"))\n`,i.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${$T(i.contentType)}")\n`),t+=`content.Add(fileStreamContent_${n}, "${e}", "${e}")\n`,n++}else{let e=$T(i.name??``),n=$T(i.value??``);i.contentType?(t+=`let stringContent_${r} = new StringContent("${n}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${$T(i.contentType)}")\n`,t+=`content.Add(stringContent_${r}, "${e}")\n`,r++):t+=`content.Add(new StringContent("${n}"), "${e}")\n`}return t}function ZT(e){let t;try{t=JSON.stringify(JSON.parse(e.text??`{}`),null,2)}catch{t=e.text??`{}`}return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json")\n`}function QT(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>()
44
+ `;for(let n of e.params)t+=`formUrlEncodedContentDictionary.Add("${$T(n.name??``)}", "${$T(n.value??``)}")\n`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)
45
+ `,t}function $T(e){return e==null?``:e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}var eE=e=>e.includes(` `)?e:tE(e),tE=e=>JSON.stringify(e),nE=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},rE=e=>!e.includes("`"),iE=(e,t=!1)=>t&&rE(e)?`\`${e}\``:tE(e),aE=e=>{let t=new Set;if(!e)return{imports:t,setupLines:[],requestBody:`nil`,needsMultipartContentTypeHeader:!1};if(e.mimeType===`application/x-www-form-urlencoded`&&e.params?.length)return t.add(`neturl "net/url"`),t.add(`strings`),{imports:t,setupLines:[`postData := neturl.Values{}`,...e.params.map(e=>`postData.Set(${tE(e.name)}, ${tE(e.value??``)})`)],requestBody:`strings.NewReader(postData.Encode())`,needsMultipartContentTypeHeader:!1};if(e.mimeType===`multipart/form-data`&&e.params?.length){t.add(`bytes`),t.add(`mime/multipart`);let n=[`payload := &bytes.Buffer{}`,`writer := multipart.NewWriter(payload)`],r=e.params.some(e=>e.fileName!==void 0),i=!1,a=!1;return r&&(t.add(`os`),t.add(`io`)),e.params.forEach(e=>{n.push(``),e.fileName===void 0?n.push(`_ = writer.WriteField(${tE(e.name)}, ${tE(e.value??``)})`):(n.push(`part, _ ${i?`=`:`:=`} writer.CreateFormFile(${tE(e.name)}, ${tE(e.fileName)})`),n.push(``),n.push(`f, _ ${a?`=`:`:=`} os.Open(${tE(e.fileName)})`),n.push(`defer f.Close()`),n.push(``),n.push(`_, _ = io.Copy(part, f)`),i=!0,a=!0)}),n.push(`writer.Close()`),{imports:t,setupLines:n,requestBody:`payload`,needsMultipartContentTypeHeader:!0}}return t.add(`strings`),{imports:t,setupLines:[`payload := strings.NewReader(${iE(e.mimeType===`application/json`?nE(e.text):e.text??``,e.mimeType===`application/json`)})`],requestBody:`payload`,needsMultipartContentTypeHeader:!1}},oE=e=>Array.from(new Set([`fmt`,`io`,`net/http`,...e])).sort(),sE={target:`go`,client:`native`,title:`NewRequest`,generate(e,t){if(!e)return``;let n=ST(e.method),r=CT(wT(e.url??``,e.queryString)),i=TT(e.headers,e.cookies),a=aE(e.postData),o=[`package main`,``,`import (`,...oE(a.imports).map(e=>`\t${eE(e)}`),`)`,``,`func main() {`,`\trequestUrl := ${tE(r)}`,``,...a.setupLines.map(e=>e?`\t${e}`:``)];return a.setupLines.length&&o.push(``),o.push(`\treq, _ := http.NewRequest(${tE(n)}, requestUrl, ${a.requestBody})`),o.push(``),a.needsMultipartContentTypeHeader&&o.push(` req.Header.Set("Content-Type", writer.FormDataContentType())`),t?.auth?.username&&t?.auth?.password&&o.push(`\treq.SetBasicAuth(${tE(t.auth.username)}, ${tE(t.auth.password)})`),i.forEach(e=>{o.push(`\treq.Header.Add(${tE(e.name)}, ${tE(e.value)})`)}),(a.needsMultipartContentTypeHeader||i.length||t?.auth?.username&&t.auth.password)&&o.push(``),o.push(` res, _ := http.DefaultClient.Do(req)`),o.push(``),o.push(` defer res.Body.Close()`),o.push(` body, _ := io.ReadAll(res.Body)`),o.push(``),o.push(` fmt.Println(res)`),o.push(` fmt.Println(string(body))`),o.push(``),o.push(`}`),o.join(`
46
+ `)}},cE={target:`http`,client:`http1.1`,title:`HTTP/1.1`,generate(e){let t={method:`GET`,headers:[],queryString:[],...e};t.method=t.method.toUpperCase();let n,r;try{n=new URL(t.url||`http://`),r=n.pathname+(n.search||``)}catch{r=t.url||`/`}let i=n?.hostname||`UNKNOWN_HOSTNAME`,a=`${t.method} ${r} HTTP/1.1\r\n`;if(t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let o=new Map;if(o.set(`Host`,i),t.headers.forEach(e=>{o.has(e.name)?o.set(e.name,`${o.get(e.name)}, ${e.value}`):o.set(e.name,e.value)}),t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let s=``;if(t.postData){if(t.postData.mimeType===`application/json`&&t.postData.text)o.set(`Content-Type`,`application/json`),s=t.postData.text;else if(t.postData.mimeType===`application/octet-stream`&&t.postData.text)o.set(`Content-Type`,`application/octet-stream`),s=t.postData.text;else if(t.postData.mimeType===`application/x-www-form-urlencoded`&&t.postData.params){let e=t.postData.params.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);o.set(`Content-Type`,`application/x-www-form-urlencoded`),s=e}else if(t.postData.mimeType===`multipart/form-data`&&t.postData.params){let e=`----WebKitFormBoundary7MA4YWxkTrZu0gW`;o.set(`Content-Type`,`multipart/form-data; boundary=${e}`),s=t.postData.params.map(t=>{let n=t.contentType?`Content-Type: ${t.contentType}\r\n`:``;return t.fileName?`--${e}\r\nContent-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r\n${n}\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${t.name}"\r\n${n}\r\n${t.value??``}\r\n`}).join(``)+`--${e}--\r\n`}}return o.forEach((e,t)=>{a+=`${t}: ${e}\r\n`}),a+=`\r\n${s}`,a}},lE=``,uE=`
47
+ `,dE=class{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=lE,this.lineJoin=uE,this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{let n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{let n=this.indentLine(e,t);this.code.push(n)},this.blank=()=>{this.code.push(``)},this.join=()=>{let e=this.code.join(this.lineJoin);return this.postProcessors.reduce((e,t)=>t(e),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||lE,this.lineJoin=t??uE}};function fE(e,t={}){let{delimiter:n=`"`,escapeChar:r=`\\`,escapeNewlines:i=!0}=t;return[...e.toString()].map(e=>e===`\b`?`${r}b`:e===` `?`${r}t`:e===`
48
+ `?i?`${r}n`:e:e===`\f`?`${r}f`:e===`\r`?i?`${r}r`:e:e===r?r+r:e===n?r+n:e<` `||e>`~`?JSON.stringify(e).slice(1,-1):e).join(``)}var pE=e=>fE(e,{delimiter:`'`}),mE=e=>fE(e,{delimiter:`"`}),hE={info:{key:`asynchttp`,title:`AsyncHttp`,link:`https://github.com/AsyncHttpClient/async-http-client`,description:`Asynchronous Http and WebSocket Client library for Java`},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},i)=>{let{blank:a,push:o,join:s}=new dE({indent:{indent:` `,...i}.indent});return o(`AsyncHttpClient client = new DefaultAsyncHttpClient();`),o(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{o(`.setHeader("${e}", "${mE(t[e])}")`,1)}),n?.text&&o(`.setBody(${JSON.stringify(n.text)})`,1),o(`.execute()`,1),o(`.toCompletableFuture()`,1),o(`.thenAccept(System.out::println)`,1),o(`.join();`,1),a(),o(`client.close();`),s()}};function gE(e,t){let n=new URL(t?.url??``),r=n.pathname===`/`?n.origin:n.toString(),i={method:t?.method??`GET`,url:r,httpVersion:`HTTP/1.1`,cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(n.searchParams.entries()).map(([e,t])=>({name:e,value:t})),postData:t?.postData},a=(i?.headers??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),o=DT(i.queryString),s=(i.cookies??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),c=new URL(i.url),l={protocol:c.protocol,hostname:c.hostname,host:c.hostname,port:c.port,pathname:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,path:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,search:c.search,hash:c.hash,href:c.href,origin:c.origin,password:c.password,searchParams:c.searchParams,username:c.username,toString:c.toString,toJSON:()=>c.toJSON()},u={url:i.url,uriObj:l,method:i.method?.toLocaleUpperCase()??`GET`,httpVersion:i.httpVersion,cookies:i.cookies??[],headers:i.headers??[],headersSize:i.headersSize??0,headersObj:a??{},bodySize:i.bodySize??0,queryString:i.queryString??[],postData:i.postData?{mimeType:i.postData.mimeType??`application/json`,text:i.postData.text??``,params:i.postData.params??[],paramsObj:i.postData.params?.reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{})??{}}:void 0,allHeaders:a??{},fullUrl:i.url,queryObj:o??{},cookiesObj:s??{}};if(u.postData?.mimeType===`application/json`&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(e){console.error(`Error parsing JSON:`,e)}return typeof e.convert==`function`?e.convert(u):``}var _E={target:`java`,client:`asynchttp`,title:`AsyncHttp`,generate(e){return gE(hE,e)}},vE={info:{key:`nethttp`,title:`java.net.http`,link:`https://openjdk.java.net/groups/net/httpclient/intro.html`,description:`Java Standardized HTTP Client API`},convert:({allHeaders:e,fullUrl:t,method:n,postData:r},i)=>{let{push:a,join:o}=new dE({indent:{indent:` `,...i}.indent});return a(`HttpRequest request = HttpRequest.newBuilder()`),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{a(`.header("${t}", "${mE(e[t])}")`,2)}),r?.text?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),a(`.build();`,2),a(`HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());`),a(`System.out.println(response.body());`),o()}},yE={target:`java`,client:`nethttp`,title:`java.net.http`,generate(e){return gE(vE,e)}},bE={info:{key:`okhttp`,title:`OkHttp`,link:`http://square.github.io/okhttp/`,description:`An HTTP Request Client Library`},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},i)=>{let{push:a,blank:o,join:s}=new dE({indent:{indent:` `,...i}.indent});return a(`OkHttpClient client = new OkHttpClient();`),o(),e!=null&&(e.mimeType===`application/x-www-form-urlencoded`&&e.params?(a(`FormBody formBody = new FormBody.Builder()`),e.params.forEach(e=>{a(`.addEncoded("${e.name}", "${e.value}")`,1)}),a(`.build();`,1),o()):e.mimeType===`multipart/form-data`&&e.params?(a(`MultipartBody body = new MultipartBody.Builder()`),a(`.setType(MultipartBody.FORM)`,1),e.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&a(`.addFormDataPart("${e.name}", "${e.value}")`,1):a(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1)}),a(`.build();`,1),o()):(a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),a(`Request request = new Request.Builder()`),a(`.url("${n}")`,1),[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`].includes(t.toUpperCase())?[`POST`,`PUT`,`DELETE`,`PATCH`].includes(t.toUpperCase())?e!=null&&(e.text||e.params)?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):e?.text?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{a(`.addHeader("${e}", "${mE(r[e])}")`,1)}),a(`.build();`,1),o(),a(`Response response = client.newCall(request).execute();`),s()}},xE={target:`java`,client:`okhttp`,title:`OkHttp`,generate(e){return gE(bE,e)}},SE={info:{key:`unirest`,title:`Unirest`,link:`http://unirest.io/java.html`,description:`Lightweight HTTP Request Client Library`},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},i)=>{let{join:a,push:o}=new dE({indent:{indent:` `,...i}.indent});return[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(e.toUpperCase())?o(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):o(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(e=>{o(`.header("${e}", "${mE(t[e])}")`,1)}),n?.text&&o(`.body(${JSON.stringify(n.text)})`,1),o(`.asString();`,1),a()}},CE={target:`java`,client:`unirest`,title:`Unirest`,generate(e){return gE(SE,e)}};function wE(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function TE(e){return e.replaceAll(`\\`,`\\\\`).replaceAll(`
49
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`)}var EE=class{value;constructor(e){this.value=e}};function DE(e,t=0){let n=[],r=` `.repeat(t),i=` `.repeat(t+2);if(Object.keys(e).length===0)return`{}`;for(let[r,a]of Object.entries(e)){let e=wE(r)?`'${TE(r)}'`:r;if(a instanceof EE){let t=a.value.split(`
50
+ `),r=`${a.value}`;t.length>1&&(r=t.map((e,t)=>t===0?e:`${i}${e}`).join(`
51
+ `)),n.push(`${i}${e}: ${r}`)}else if(Array.isArray(a)){let r=a.map(e=>typeof e==`string`?`'${e}'`:e&&typeof e==`object`?DE(e):JSON.stringify(e));if(r.some(e=>e.includes(`
52
+ `))){let a=r.map(e=>OE(e,t+4)).join(`,
53
+ `);n.push(`${i}${e}: [\n${a}\n${i}]`)}else n.push(`${i}${e}: [${r.join(`, `)}]`)}else if(a&&typeof a==`object`)n.push(`${i}${e}: ${DE(a,t+2)}`);else if(typeof a==`string`){let t=`'${a}'`;n.push(`${i}${e}: ${t}`)}else n.push(`${i}${e}: ${a}`)}return`{\n${n.join(`,
54
+ `)}\n${r}}`}function OE(e,t){let n=` `.repeat(t);return e.split(`
55
+ `).map(e=>`${n}${e}`).join(`
56
+ `)}var kE=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`
57
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`),AE=e=>typeof e==`string`?kE(e):Array.isArray(e)?e.map(e=>AE(e)):e&&typeof e==`object`&&!(e instanceof EE)?Object.entries(e).reduce((e,[t,n])=>(e[t]=AE(n),e),{}):e,jE=(e,t,n)=>{if(n===``){e[t]=n;return}ET(e,t,n)},ME=e=>{let t={};return e?.headers?.forEach(e=>{jE(t,e.name,e.value)}),e?.cookies?.length&&jE(t,`Cookie`,e.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),Object.keys(t).length?t:void 0},NE=e=>{let t=[],n=e?.postData;if(!n)return{setup:t};if(n.mimeType===`application/json`){if(!n.text)return{setup:t};try{return{setup:t,data:JSON.parse(n.text)}}catch{return{setup:t,data:n.text}}}return n.mimeType===`application/x-www-form-urlencoded`&&n.params?.length?(t.push(`const encodedParams = new URLSearchParams()`),n.params.forEach(e=>{let n=kE(e.name),r=kE(e.value??``);t.push(`encodedParams.append('${n}', '${r}')`)}),{setup:t,data:new EE(`encodedParams`)}):n.mimeType===`multipart/form-data`&&n.params?.length?(t.push(`const formData = new FormData()`),n.params.forEach(e=>{let n=kE(e.name);if(e.fileName!==void 0){let r=kE(e.fileName),i=e.contentType?`, { type: '${kE(e.contentType)}' }`:``;t.push(`formData.append('${n}', new Blob([]${i}), '${r}')`);return}if(e.contentType){let r=kE(e.contentType),i=kE(e.value??``);t.push(`formData.append('${n}', new Blob(['${i}'], { type: '${r}' }))`);return}let r=kE(e.value??``);t.push(`formData.append('${n}', '${r}')`)}),{setup:t,data:new EE(`formData`)}):n.text?{setup:t,data:n.text}:{setup:t}},PE=e=>({target:e,client:`axios`,title:`Axios`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r={method:n.method,url:kE(n.url??``)},i=DT(n.queryString);Object.keys(i).length&&(r.params=AE(i));let a=ME(n);a&&(r.headers=AE(a)),t?.auth?.username&&t?.auth?.password&&(r.auth={username:kE(t.auth.username),password:kE(t.auth.password)});let{setup:o,data:s}=NE(n);return s!==void 0&&(r.data=s instanceof EE?s:AE(s)),`import axios from 'axios'
58
+
59
+ ${o.length?`${o.join(`
60
+ `)}\n\n`:``}const options = ${DE(r)}
61
+
62
+ try {
63
+ const { data } = await axios.request(options)
64
+ console.log(data)
65
+ } catch (error) {
66
+ console.error(error)
67
+ }`}}),FE=PE(`js`),IE={target:`js`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=xT(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData;if(e===`application/json`&&i)try{r.body=new EE(`JSON.stringify(${DE(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
68
+ `,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):n+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')\n`}),n+=`
69
+ `,r.body=new EE(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new EE(`new URLSearchParams(${DE(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${DE(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},{toString:LE}=Object.prototype;function RE(e){return LE.call(e)===`[object RegExp]`}function zE(e){let t=typeof e;return e!==null&&(t===`object`||t===`function`)}var{propertyIsEnumerable:BE}=Object.prototype;function VE(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>BE.call(e,t))]}var HE=`await.break.case.catch.class.const.continue.debugger.default.delete.do.else.enum.export.extends.false.finally.for.function.if.import.in.instanceof.new.null.return.super.switch.this.throw.true.try.typeof.var.void.while.with.yield.implements.interface.let.package.private.protected.public.static.arguments.eval`.split(`.`),UE=[`globalThis`,`Infinity`,`NaN`,`undefined`];function WE({includeGlobalProperties:e=!1}={}){return new Set([...HE,...e?UE:[]])}var GE=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,KE=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...WE({includeGlobalProperties:!0})].join(`|`)})(?![$_\\p{ID_Continue}]))${GE.source}`,qE=new RegExp(KE,`u`),JE=RegExp(`^${KE}$`,`u`);function YE({exact:e=!0}={}){return e?JE:qE}function XE(e){let t=(...t)=>e(...t);return Object.defineProperty(t,`name`,{value:`functionTimeout(${e.name||`<anonymous>`})`,configurable:!0}),t}function ZE(){return!1}var QE=e(((e,t)=>{t.exports=Worker})),$E=class extends Error{constructor(e){super(e),this.name=`TimeoutError`}},eD=class extends Error{constructor(e){super(),this.name=`AbortError`,this.message=e}},tD=e=>globalThis.DOMException===void 0?new eD(e):new DOMException(e),nD=e=>{let t=e.reason===void 0?tD(`This operation was aborted.`):e.reason;return t instanceof Error?t:tD(t)};function rD(e,t){let{milliseconds:n,fallback:r,message:i,customTimers:a={setTimeout,clearTimeout}}=t,o,s,c=new Promise((c,l)=>{if(typeof n!=`number`||Math.sign(n)!==1)throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(nD(e)),s=()=>{l(nD(e))},e.addEventListener(`abort`,s,{once:!0})}if(n===1/0){e.then(c,l);return}let u=new $E;o=a.setTimeout.call(void 0,()=>{if(r){try{c(r())}catch(e){l(e)}return}typeof e.cancel==`function`&&e.cancel(),i===!1?c():i instanceof Error?l(i):(u.message=i??`Promise timed out after ${n} milliseconds`,l(u))},n),(async()=>{try{c(await e)}catch(e){l(e)}})()}).finally(()=>{c.clear(),s&&t.signal&&t.signal.removeEventListener(`abort`,s)});return c.clear=()=>{a.clearTimeout.call(void 0,o),o=void 0},c}var iD=e=>{let t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw TypeError(`Emitter is not compatible`);return{addListener:t.bind(e),removeListener:n.bind(e)}};function aD(e,t,n){let r,i=new Promise((i,a)=>{if(n={rejectionEvents:[`error`],multiArgs:!1,resolveImmediately:!1,...n},!(n.count>=0&&(n.count===1/0||Number.isInteger(n.count))))throw TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();let o=[t].flat(),s=[],{addListener:c,removeListener:l}=iD(e),u=(...e)=>{let t=n.multiArgs?e:e[0];n.filter&&!n.filter(t)||(s.push(t),n.count===s.length&&(r(),i(s)))},d=e=>{r(),a(e)};r=()=>{for(let e of o)l(e,u);for(let e of n.rejectionEvents)l(e,d)};for(let e of o)c(e,u);for(let e of n.rejectionEvents)c(e,d);n.signal&&n.signal.addEventListener(`abort`,()=>{d(n.signal.reason)},{once:!0}),n.resolveImmediately&&i(s)});if(i.cancel=r,typeof n.timeout==`number`){let e=rD(i,{milliseconds:n.timeout});return e.cancel=r,e}return i}function oD(e,t,n){typeof n==`function`&&(n={filter:n}),n={...n,count:1,resolveImmediately:!1};let r=aD(e,t,n),i=r.then(e=>e[0]);return i.cancel=r.cancel,i}var sD=i(QE(),1),cD=!!globalThis.process?.versions?.node,lD=e=>new globalThis.Blob([e],{type:`text/javascript`}),uD=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString(`base64`)}`;function dD(e){let t,n;return cD?n=new sD.default(uD(e),{type:`module`}):(t=URL.createObjectURL(lD(e)),n=new sD.default(t,{type:`module`})),{worker:n,cleanup:()=>{t&&URL.revokeObjectURL(t),n?.terminate()}}}var fD=e=>`
70
+ globalThis.onmessage = async ({data: arguments_}) => {
71
+ try {
72
+ const output = await (${e.toString()})(...arguments_);
73
+ globalThis.postMessage({output});
74
+ } catch (error) {
75
+ globalThis.postMessage({error});
76
+ }
77
+ };
78
+ `;function pD(e){let t=fD(e),n=()=>dD(t);async function r({worker:e,arguments_:t}){let n=oD(e,`message`,{rejectionEvents:[`error`,`messageerror`]});e.postMessage(t);let{data:{output:r,error:i}}=await n;if(i)throw i;return r}let i=async(...e)=>{let{worker:t,cleanup:i}=n();try{return await r({arguments_:e,worker:t})}finally{i()}};return i.withSignal=e=>async(...t)=>{e.throwIfAborted();let{worker:i,cleanup:a}=n(),o=oD(e,[],{rejectionEvents:[`abort`]});try{return await Promise.race([r({arguments_:t,worker:i}),o])}catch(t){throw e.throwIfAborted(),t}finally{o.cancel(),a()}},i}var mD=e=>`
79
+ const nothing = Symbol('nothing');
80
+ let iterator = nothing;
81
+
82
+ globalThis.onmessage = async ({data: arguments_}) => {
83
+ try {
84
+ if (iterator === nothing) {
85
+ iterator = await (${e.toString()})(...arguments_);
86
+ }
87
+
88
+ const output = await iterator.next();
89
+ globalThis.postMessage({output});
90
+ } catch (error) {
91
+ globalThis.postMessage({error});
92
+ }
93
+ };
94
+ `;function hD(e){let t=mD(e),n=()=>dD(t),r=(...e)=>({async*[Symbol.asyncIterator](){let{worker:t,cleanup:r}=n();try{let n=!0;for(;;){let r=oD(t,`message`,{rejectionEvents:[`error`,`messageerror`]});t.postMessage(n?e:void 0),n=!1;let{data:{output:i,error:a}}=await r;if(a)throw a;let{value:o,done:s}=i;if(s)break;yield o}}finally{r()}}});return r.withSignal=e=>(...t)=>({async*[Symbol.asyncIterator](){e.throwIfAborted();let{worker:r,cleanup:i}=n(),a=oD(e,[],{rejectionEvents:[`abort`]});try{let e=!0;for(;;){let n=Promise.race([oD(r,`message`,{rejectionEvents:[`error`,`messageerror`]}),a]);r.postMessage(e?t:void 0),e=!1;let{data:{output:i,error:o}}=await n;if(o)throw o;let{value:s,done:c}=i;if(c)break;yield s}}catch(t){throw e.throwIfAborted(),t}finally{a.cancel(),i()}}}),r}var gD={},_D=e=>{if(e===void 0||Number.isNaN(e))return;let t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t};function vD(e,t,{timeout:n,throwOnTimeout:r}={}){try{return XE(()=>structuredClone(e).test(t),{timeout:_D(n),context:gD})()}catch(e){if(ZE(e)&&!r)return!1;throw e}}pD((e,t,n)=>new RegExp(e,t).test(n)),pD((e,t,n)=>{let r=new RegExp(e,t).exec(n);if(r!==null)return{match:r[0],index:r.index,groups:r.slice(1),namedGroups:r.groups??{},input:r.input}}),hD(function*(e,t,n){let r=new RegExp(e,t),i=n.matchAll(r);for(let e of i)yield{match:e[0],index:e.index,groups:e.slice(1),namedGroups:e.groups??{},input:e.input}});var yD=YE();function bD(e){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:vD(yD,e,{timeout:1e3})}var xD={"\n":String.raw`\n`,"\r":String.raw`\r`," ":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`};function SD(e,t,n){let r=[];return(function e(t,n={},i=``){let a=n.indent||` `,o;o=n.inlineCharacterLimit===void 0?{newline:`
95
+ `,newlineOrSpace:`
96
+ `,pad:i,indent:i+a}:{newline:`@@__STRINGIFY_OBJECT_NEW_LINE__@@`,newlineOrSpace:`@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@`,pad:`@@__STRINGIFY_OBJECT_PAD__@@`,indent:`@@__STRINGIFY_OBJECT_INDENT__@@`};let s=e=>{if(n.inlineCharacterLimit===void 0)return e;let t=e.replaceAll(o.newline,``).replaceAll(o.newlineOrSpace,` `).replaceAll(o.pad,``).replaceAll(o.indent,``);return t.length<=n.inlineCharacterLimit?t:e.replaceAll(o.newline,`
97
+ `).replaceAll(o.newlineOrSpace,`
98
+ `).replaceAll(o.pad,i).replaceAll(o.indent,i+a)};if(r.includes(t))return`"[Circular]"`;let c=typeof t;if(t==null||c===`number`||c===`boolean`||c===`function`||RE(t))return String(t);if(c===`bigint`)return String(t)+`n`;if(c===`symbol`){let{description:r}=t;if(r===void 0)return`Symbol()`;if(r?.startsWith(`Symbol.`)&&Symbol[r.slice(7)]===t)return r;let i=Symbol.keyFor(t);return i===void 0?`Symbol(${e(r,n)})`:`Symbol.for(${e(i,n)})`}if(t instanceof Date)return Number.isNaN(t.getTime())?`new Date('Invalid Date')`:`new Date('${t.toISOString()}')`;if(t instanceof Map||t instanceof Set){let c=t instanceof Map,l=c?`Map`:`Set`;if(t.size===0)return`new ${l}()`;r.push(t);let u=[...t].map(t=>{if(c){let[r,s]=t;return o.indent+`[${e(r,n,i+a)}, ${e(s,n,i+a)}]`}return o.indent+e(t,n,i+a)}).join(`,`+o.newlineOrSpace);return r.pop(),s(`new ${l}([${o.newline}${u}${o.newline}${o.pad}])`)}if(Array.isArray(t)){if(t.length===0)return`[]`;r.push(t);let c=t.map((r,s)=>{let c=e(r,n,i+a);return n.transform&&(c=n.transform(t,s,c)),o.indent+c}).join(`,`+o.newlineOrSpace);return r.pop(),s(`[${o.newline}${c}${o.newline}${o.pad}]`)}if(zE(t)){let c=VE(t);if(n.filter&&(c=c.filter(e=>n.filter(t,e))),c.length===0)return`{}`;r.push(t);let l=c.map(r=>{let s=typeof r==`symbol`,c;c=s?`[${e(r,n)}]`:bD(r)?r:e(r,n);let l=e(t[r],n,i+a);return n.transform&&(l=n.transform(t,r,l)),o.indent+c+`: `+l}).join(`,`+o.newlineOrSpace);return r.pop(),s(`{${o.newline}${l}${o.newline}${o.pad}}`)}let l=String(t).replaceAll(`\\`,`\\\\`).replaceAll(/[\u0000-\u001F\u007F]/g,e=>xD[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,`0`)}`);return n.singleQuotes===!1?`"${l.replaceAll(`"`,String.raw`\"`)}"`:`'${l.replaceAll(`'`,String.raw`\'`)}'`})(e,t,n)}var CD=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),wD=(e,t)=>{let n=CD(e,t);if(n)return e[n]},TD=(e,t)=>!!CD(e,t),ED={info:{key:`jquery`,title:`jQuery`,link:`http://api.jquery.com/jquery.ajax/`,description:`Perform an asynchronous HTTP (Ajax) requests with jQuery`},convert:({fullUrl:e,method:t,allHeaders:n,postData:r},i)=>{let a={indent:` `,...i},{blank:o,push:s,join:c}=new dE({indent:a.indent}),l={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(r?.mimeType){case`application/x-www-form-urlencoded`:l.data=r?.paramsObj?r.paramsObj:r.text;break;case`application/json`:l.processData=!1,l.data=r.text;break;case`multipart/form-data`:if(!r?.params)break;if(s(`const form = new FormData();`),r.params.forEach(e=>{s(`form.append('${e.name}', '${e.value||e.fileName||``}');`)}),l.processData=!1,l.contentType=!1,l.mimeType=`multipart/form-data`,l.data=`[form]`,TD(n,`content-type`)&&wD(n,`content-type`)?.includes(`boundary`)){let e=CD(n,`content-type`);e&&delete l.headers[e]}o();break;default:r?.text&&(l.data=r.text)}return s(`const settings = ${SD(l,{indent:a.indent}).replace(`'[form]'`,`form`)};`),o(),s(`$.ajax(settings).done(function (response) {`),s(`console.log(response);`,1),s(`});`),c()}},DD={target:`js`,client:`jquery`,title:`jQuery`,generate(e){return gE(ED,e)}},OD={target:`js`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=DT(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${DE(n)}`:``;return`import { ofetch } from 'ofetch'
99
+
100
+ ofetch('${t.url}'${r})`}},kD={info:{key:`xhr`,title:`XMLHttpRequest`,link:`https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest`,description:`W3C Standard API that provides scripted client functionality`},convert:({postData:e,allHeaders:t,method:n,fullUrl:r},i)=>{let a={indent:` `,cors:!0,...i},{blank:o,push:s,join:c}=new dE({indent:a.indent});switch(e?.mimeType){case`application/json`:s(`const data = JSON.stringify(${SD(e?.jsonObj,{indent:a.indent})});`),o();break;case`multipart/form-data`:if(!e?.params)break;if(s(`const data = new FormData();`),e.params.forEach(e=>{s(`data.append('${e.name}', '${e.value||e.fileName||``}');`)}),TD(t,`content-type`)&&wD(t,`content-type`)?.includes(`boundary`)){let e=CD(t,`content-type`);e&&delete t[e]}o();break;default:s(`const data = ${e?.text?`'${e.text}'`:`null`};`),o()}return s(`const xhr = new XMLHttpRequest();`),a.cors&&s(`xhr.withCredentials = true;`),o(),s(`xhr.addEventListener('readystatechange', function () {`),s(`if (this.readyState === this.DONE) {`,1),s(`console.log(this.responseText);`,2),s(`}`,1),s(`});`),o(),s(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach(e=>{s(`xhr.setRequestHeader('${e}', '${pE(t[e])}');`)}),o(),s(`xhr.send(data);`),c()}},AD={target:`js`,client:`xhr`,title:`XHR`,generate(e){return gE(kD,e)}},jD=[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`],MD=[`POST`,`PUT`,`DELETE`,`PATCH`],ND=e=>`"${mE(e)}"`,PD={target:`kotlin`,client:`okhttp`,title:`OkHttp`,generate(e,t){let n=ST(e?.method),r=CT(wT(e?.url??``,e?.queryString)),i=e?.postData,a=[`val client = OkHttpClient()`,``],o=!1;i?.mimeType===`application/x-www-form-urlencoded`&&i.params?(a.push(`val body = FormBody.Builder()`),i.params.forEach(e=>{a.push(` .addEncoded(${ND(e.name??``)}, ${ND(e.value??``)})`)}),a.push(` .build()`,``),o=!0):i?.mimeType===`multipart/form-data`&&i.params?(a.push(`val body = MultipartBody.Builder()`,` .setType(MultipartBody.FORM)`),i.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&a.push(` .addFormDataPart(${ND(e.name??``)}, ${ND(e.value)})`):a.push(` .addFormDataPart(${ND(e.name??``)}, ${ND(e.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${ND(e.fileName)})))`)}),a.push(` .build()`,``),o=!0):i&&(a.push(`val mediaType = MediaType.parse(${ND(i.mimeType??``)})`),a.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(i.text??``)})`),o=!0),a.push(`val request = Request.Builder()`,` .url(${ND(r)})`);let s=o?`body`:`null`;return jD.includes(n)?MD.includes(n)?a.push(` .${n.toLowerCase()}(${s})`):a.push(` .${n.toLowerCase()}()`):a.push(` .method(${ND(n)}, ${s})`),t?.auth?.username&&t?.auth?.password&&a.push(` .addHeader("Authorization", Credentials.basic(${ND(t.auth.username)}, ${ND(t.auth.password)}))`),TT(e?.headers,e?.cookies).forEach(e=>{a.push(` .addHeader(${ND(e.name)}, ${ND(e.value)})`)}),a.push(` .build()`,``,`val response = client.newCall(request).execute()`),a.join(`
101
+ `)}},FD=PE(`node`),ID={target:`node`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=xT(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData,o=!1;if(e===`application/json`&&i)try{r.body=new EE(`JSON.stringify(${DE(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
102
+ `,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):(o||=(n=`import fs from 'node:fs'\n\n${n}`,!0),n+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')\n`)}),n+=`
103
+ `,r.body=new EE(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new EE(`new URLSearchParams(${DE(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${DE(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},LD={target:`node`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=DT(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${DE(n)}`:``;return`import { ofetch } from 'ofetch'
104
+
105
+ ofetch('${t.url}'${r})`}},RD={target:`node`,client:`undici`,title:`undici`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method},r=xT(t.queryString);t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=new EE(`JSON.stringify(${DE(JSON.parse(n.body))})`)));let i=Object.keys(n).length?`, ${DE(n)}`:``;return`import { request } from 'undici'
106
+
107
+ const { statusCode, body } = await request('${t.url}${r}'${i})`}},zD=`---011000010111000001101001`,BD=e=>`@"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}"`,VD=(e,t)=>{let n=t===void 0?`, `:`,\n ${` `.repeat(t)}`;switch(Object.prototype.toString.call(e)){case`[object Number]`:return`@${e}`;case`[object Array]`:return`@[ ${e.map(e=>VD(e)).join(n)} ]`;case`[object Object]`:return`@{ ${Object.entries(e).map(([e,t])=>`@"${e}": ${VD(t)}`).join(n)} }`;case`[object Boolean]`:return e?`@YES`:`@NO`;default:return e==null?`[NSNull null]`:BD(e.toString())}},HD=(e,t,n)=>{let r=`${e} *${t} = `;return`${r}${VD(n,r.length)};`},UD={target:`objc`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=ST(e.method),r=CT(wT(e.url??``,e.queryString)),i=TT(e.headers,e.cookies),a=[`#import <Foundation/Foundation.h>`],o=i.length>0;if(o){let e=Object.fromEntries(i.map(e=>[e.name,e.value]));a.push(``,HD(`NSDictionary`,`headers`,e))}let s=!1;if(e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0)try{let e=JSON.parse(n);a.push(``,HD(`NSDictionary`,`parameters`,e)),a.push(``,`NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];`),s=!0}catch{a.push(``,`NSData *postData = [${BD(n)} dataUsingEncoding:NSUTF8StringEncoding];`),s=!0}else if(t===`application/x-www-form-urlencoded`&&r?.length){s=!0;let[e,...t]=r;a.push(``,`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${BD(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{a.push(`[postData appendData:[${BD(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else t===`multipart/form-data`&&r?.length?(s=!0,a.push(``,HD(`NSArray`,`parameters`,r),`NSString *boundary = @"${zD}";`,``,`NSError *error;`,`NSMutableString *body = [NSMutableString string];`,`for (NSDictionary *param in parameters) {`,` [body appendFormat:@"--%@\\r\\n", boundary];`,` if (param[@"fileName"]) {`,` [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];`,` [body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];`,` [body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];`,` if (error) {`,` NSLog(@"%@", error);`,` }`,` } else {`,` [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];`,` [body appendFormat:@"%@", param[@"value"]];`,` }`,`}`,`[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];`,`NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];`)):t===`application/octet-stream`?(s=!0,a.push(``,`NSData *postData = [${BD(n??``)} dataUsingEncoding:NSUTF8StringEncoding];`)):n!==void 0&&(s=!0,a.push(``,`NSData *postData = [${BD(n)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(a.push(``,`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${BD(r)}]`,` cachePolicy:NSURLRequestUseProtocolCachePolicy`,` timeoutInterval:10.0];`,`[request setHTTPMethod:@"${n}"];`),o&&a.push(`[request setAllHTTPHeaderFields:headers];`),s&&a.push(`[request setHTTPBody:postData];`),t?.auth?.username&&t?.auth?.password){let e=BD(`${t.auth.username}:${t.auth.password}`);a.push(`NSData *authData = [${e} dataUsingEncoding:NSUTF8StringEncoding];`,`NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];`,`[request setValue:authValue forHTTPHeaderField:@"Authorization"];`)}return a.push(``,`NSURLSession *session = [NSURLSession sharedSession];`,`NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request`,`completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {`,` if (error) {`,` NSLog(@"%@", error);`,` } else {`,` NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;`,` NSLog(@"%@", httpResponse);`,` }`,`}];`,`[dataTask resume];`),a.join(`
108
+ `)}},WD={info:{key:`cohttp`,title:`CoHTTP`,link:`https://github.com/mirage/ocaml-cohttp`,description:`Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml`},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},i)=>{let a={indent:` `,...i},o=[`get`,`post`,`head`,`delete`,`patch`,`put`,`options`],{push:s,blank:c,join:l}=new dE({indent:a.indent});s(`open Cohttp_lwt_unix`),s(`open Cohttp`),s(`open Lwt`),c(),s(`let uri = Uri.of_string "${e}" in`);let u=Object.keys(t);return u.length===1?s(`let headers = Header.add (Header.init ()) "${u[0]}" "${mE(t[u[0]])}" in`):u.length>1&&(s(`let headers = Header.add_list (Header.init ()) [`),u.forEach(e=>{s(`("${e}", "${mE(t[e])}");`,1)}),s(`] in`)),n?.text&&s(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),c(),s(`Client.call ${u.length?`~headers `:``}${n?.text?`~body `:``}${o.includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`} uri`),s(`>>= fun (res, body_stream) ->`),s(`(* Do stuff with the result *)`,1),l()}},GD={target:`ocaml`,client:`cohttp`,title:`Cohttp`,generate(e){return gE(WD,e)}};function KD(e){return` `.repeat(e*2)}var qD=class{value;constructor(e){this.value=e}};function JD(e,t=0){if(e==null)return`null`;if(e instanceof qD){let n=e.value.split(`
109
+ `);if(n.length>1){let e=KD(t+1);return n.map((t,n)=>n===0?t:`${e}${t}`).join(`
110
+ `)}return e.value}if(typeof e==`string`)return`'${e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`)}'`;if(typeof e==`number`||typeof e==`boolean`)return String(e);if(Array.isArray(e)){if(e.length===0)return`[]`;let n=e.map(e=>JD(e,t+1)).join(`,
111
+ `+KD(t+1));return`[\n${KD(t+1)}${n}\n${KD(t)}]`}if(typeof e==`object`){let n=Object.entries(e);if(n.length===0)return`[]`;let r=n.map(([e,n])=>`'${e}' => ${JD(n,t+1)}`).join(`,
112
+ `+KD(t+1));return`[\n${KD(t+1)}${r}\n${KD(t)}]`}return`null`}var YD={target:`php`,client:`curl`,title:`cURL`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[],i=!1,a=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,o=`${n.url}${a}`;r.push(`$ch = curl_init("${o}");`),r.push(``),n.method===`POST`?r.push(`curl_setopt($ch, CURLOPT_POST, true);`):n.method!==`GET`&&r.push(`curl_setopt($ch, CURLOPT_CUSTOMREQUEST, '${n.method}');`),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);let s=[...n.headers||[]],c=()=>s.some(e=>e.name.toLowerCase()===`content-type`);if(n.postData&&(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params&&!c()?s.push({name:`Content-Type`,value:`application/x-www-form-urlencoded`}):n.postData.mimeType===`application/octet-stream`&&!c()&&s.push({name:`Content-Type`,value:`application/octet-stream`})),s.length){let e=s.map(e=>`'${e.name}: ${e.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(`, `)}]);`);let t=s.find(e=>e.name.toLowerCase()===`accept-encoding`);t&&/gzip|deflate/.test(t.value)&&r.push(`curl_setopt($ch, CURLOPT_ENCODING, '');`)}if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{let e=JD(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)i=!0,r.push(`$mime = curl_mime_init($ch);`),n.postData.params.forEach((e,t)=>{let n=`$part${t}`;r.push(`${n} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${n}, '${e.name}');`),e.fileName===void 0?e.value!==void 0&&r.push(`curl_mime_data(${n}, '${e.value}');`):r.push(`curl_mime_filedata(${n}, '${e.fileName}');`),e.contentType&&r.push(`curl_mime_type(${n}, '${e.contentType}');`)}),r.push(`curl_setopt($ch, CURLOPT_MIMEPOST, $mime);`);else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e=n.postData.params.map(e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):``}`).join(`&`);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if(n.postData.mimeType===`application/octet-stream`)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||``}');`);else if(n.postData.text)try{let e=JD(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}return r.push(``),r.push(`curl_exec($ch);`),i&&r.push(`curl_mime_free($mime);`),r.push(``),r.push(`curl_close($ch);`),r.join(`
113
+ `).replace(/\n\n\n/g,`
114
+
115
+ `)}},XD={target:`php`,client:`guzzle`,title:`Guzzle`,generate(e,t){if(!e)return``;let n={},r=(e.method||`GET`).toUpperCase(),i=e.url||``;if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){let t={};e.headers.forEach(e=>{t[e.name]===void 0?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]}),n.headers=t}if(e.queryString&&e.queryString.length>0&&(n.query=DT(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),n.cookies=t}if(t?.auth?.username&&t.auth.password&&(n.auth=[t.auth.username,t.auth.password]),e.postData)if(e.postData.mimeType===`application/json`)try{n.json=JSON.parse(e.postData.text||`{}`)}catch{n.body=e.postData.text}else if(e.postData.mimeType===`multipart/form-data`){if(e.postData.params)n.multipart=e.postData.params.map(e=>{let t={name:e.name,contents:e.fileName?new qD(`fopen('${e.fileName}', 'r')`):e.value||``};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)}catch{n.body=e.postData.text}}else if(e.postData.mimeType===`application/x-www-form-urlencoded`){if(e.postData.params){let t={};e.postData.params.forEach(e=>{t[e.name]=e.value||``}),n.form_params=t}}else n.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>e.name===`Accept-Encoding`&&e.value.includes(`gzip`))&&(n.decode_content=!0);let a=`$client = new GuzzleHttp\\Client();
116
+
117
+ `;if(Object.keys(n).length>0){let e=JD(n);a+=`$response = $client->request('${r}', '${i}', ${e});`}else a+=`$response = $client->request('${r}', '${i}');`;return a}},ZD=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),QD=e=>`'${ZD(e)}'`,$D=ZD,eO=e=>Array.isArray(e)?e.map(e=>eO(e)):e&&typeof e==`object`?Object.entries(e).reduce((e,[t,n])=>(e[$D(t)]=eO(n),e),{}):e,tO=e=>{if(!e)return`localhost`;try{return new URL(e).hostname||`localhost`}catch{return`localhost`}},nO={target:`php`,client:`laravel`,title:`Laravel HTTP Client`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=xT(n.queryString),i=`${n.url??``}${r}`,a=[];if(t?.auth?.username&&t.auth.password&&a.push(`withBasicAuth(${QD(t.auth.username)}, ${QD(t.auth.password)})`),n.headers?.length){let e={};n.headers.forEach(t=>{ET(e,t.name,t.value)}),a.push(`withHeaders(${JD(eO(e))})`)}if(n.cookies?.length){let e={};n.cookies.forEach(t=>{ET(e,t.name,t.value)}),a.push(`withCookies(${JD(eO(e))}, ${QD(tO(n.url??``))})`)}let o;if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{a.push(`withBody(${QD(n.postData.text)}, 'application/json')`)}}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e={};n.postData.params.forEach(t=>{ET(e,t.name,t.value??``)}),a.push(`asForm()`),o=e}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params){let e={};n.postData.params.forEach(t=>{if(t.fileName!==void 0){let e=[QD(t.name),`file_get_contents(${QD(t.fileName)})`,QD(t.fileName)];t.contentType&&e.push(JD(eO({"Content-Type":t.contentType}))),a.push(`attach(${e.join(`, `)})`)}else t.contentType?a.push(`attach(${QD(t.name)}, ${QD(t.value??``)}, null, ${JD(eO({"Content-Type":t.contentType}))})`):ET(e,t.name,t.value??``)}),Object.keys(e).length>0&&(o=e)}else if(n.postData.mimeType===`application/octet-stream`)a.push(`withBody(${QD(n.postData.text??``)}, 'application/octet-stream')`);else if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{a.push(`withBody(${QD(n.postData.text)}, ${QD(n.postData.mimeType||`text/plain`)})`)}}let s=n.method.toLowerCase(),c=[`delete`,`get`,`head`,`patch`,`post`,`put`].includes(s)?o!==void 0&&s!==`head`?`${s}(${QD(i)}, ${JD(eO(o),1)})`:`${s}(${QD(i)})`:o===void 0?`send(${QD(n.method)}, ${QD(i)})`:`send(${QD(n.method)}, ${QD(i)}, ${JD(eO(o),1)})`;return`use Illuminate\\Support\\Facades\\Http;\n\n$response = ${a.length>0?[`Http::${a[0]}`,...a.slice(1).map(e=>` ->${e}`),` ->${c}`].join(`
118
+ `):`Http::${c}`};`}},rO=e=>({method:t,headersObj:n,cookies:r,uriObj:i,fullUrl:a,postData:o,allHeaders:s})=>{let{push:c,join:l}=new dE;if(![`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(t.toUpperCase()))return`Method not supported`;let u=[],d=Object.keys(n);return d.length&&(c(`$headers=@{}`),d.forEach(e=>{e!==`connection`&&c(`$headers.Add("${e}", "${fE(n[e],{escapeChar:"`"})}")`)}),u.push(`-Headers $headers`)),r.length&&(c(`$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession`),r.forEach(e=>{c(`$cookie = New-Object System.Net.Cookie`),c(`$cookie.Name = '${e.name}'`),c(`$cookie.Value = '${e.value}'`),c(`$cookie.Domain = '${i.host}'`),c(`$session.Cookies.Add($cookie)`)}),u.push(`-WebSession $session`)),o?.text&&(u.push(`-ContentType '${fE(wD(s,`content-type`),{delimiter:`'`,escapeChar:"`"})}'`),u.push(`-Body '${o.text}'`)),c(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(` `)}`),l()},iO={info:{key:`restmethod`,title:`Invoke-RestMethod`,link:`https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod`,description:`Powershell Invoke-RestMethod client`},convert:rO(`Invoke-RestMethod`)},aO={target:`powershell`,client:`restmethod`,title:`Invoke-RestMethod`,generate(e){return gE(iO,e)}},oO={info:{key:`webrequest`,title:`Invoke-WebRequest`,link:`https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest`,description:`Powershell Invoke-WebRequest client`},convert:rO(`Invoke-WebRequest`)},sO={target:`powershell`,client:`webrequest`,title:`Invoke-WebRequest`,generate(e){return gE(oO,e)}};function cO(e){let t=[[`true`,`True`],[`false`,`False`],[`null`,`None`]],n=e;for(let[e,r]of t){let t=[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`];for(let e of t)n=n.replace(new RegExp(e,`gm`),`$1${r}`)}return n}function lO(e,t=4){return cO(JSON.stringify(e,null,2).split(`
119
+ `).map((e,n)=>n===0?e:` `.repeat(t)+e).join(`
120
+ `))}function uO(e,t,n){let r={url:`https://example.com`,method:`get`,...t},i=r.method.toLowerCase(),a={};if(r.headers?.length&&(a.headers=r.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),r.queryString?.length&&(a.params=DT(r.queryString)),r.cookies?.length&&(a.cookies=Object.fromEntries(r.cookies.map(e=>[e.name,e.value]))),n?.auth?.username&&n?.auth?.password&&(a.auth=[n.auth.username,n.auth.password]),r.postData){let{mimeType:e,text:t,params:n}=r.postData;if(e===`application/json`&&t)try{a.json=JSON.parse(t)}catch{a.data=t}else if(e===`application/octet-stream`&&t)a.data=t;else if(e===`multipart/form-data`&&n){let e=[],t={};n.forEach(n=>{if(n.fileName!==void 0){let t=JSON.stringify(n.name),r=JSON.stringify(n.fileName),i=`open(${r}, "rb")`;if(n.contentType){let a=JSON.stringify(n.contentType);e.push(`(${t}, (${r}, ${i}, ${a}))`)}else e.push(`(${t}, ${i})`)}else if(n.value!==void 0)if(n.contentType){let t=JSON.stringify(n.name),r=JSON.stringify(n.value),i=JSON.stringify(n.contentType);e.push(`(${t}, (None, ${r}, ${i}))`)}else ET(t,n.name,n.value)}),e.length&&(a.files=e),Object.keys(t).length&&(a.data=t)}else if(e===`application/x-www-form-urlencoded`&&n){let e={};n.forEach(t=>{ET(e,t.name,t.value??``)}),a.data=e}}let o=[],s=`"${r.url}"`;r.url.length>40?o.push(s):o.push(``);for(let[e,t]of Object.entries(a))if(e===`auth`)o.push(`${e}=(${cO(JSON.stringify(t[0]))}, ${cO(JSON.stringify(t[1]))})`);else if(e===`files`){let n=`[
121
+ `+t.map(e=>` ${e}`).join(`,
122
+ `)+`
123
+ ]`;o.push(`${e}=${n}`)}else if(e===`json`){let n=lO(t);o.push(`${e}=${n}`)}else if(e===`data`&&r.postData?.mimeType===`application/octet-stream`)o.push(`${e}=b"${t}"`);else{let n=lO(t);o.push(`${e}=${n}`)}return r.url.length>40?`${e}.${i}(\n ${o.join(`,
124
+ `)}\n)`:o.length<=1?`${e}.${i}(${s})`:`${e}.${i}(${s}${o.length>1?`,`:``}\n ${o.slice(1).join(`,
125
+ `)}\n)`}var dO=(e,t=` `)=>e.split(`
126
+ `).map(e=>e.trim()===``?e:`${t}${e}`).join(`
127
+ `),fO=(e,t,n,r)=>{let i=JSON.stringify(n);return n.length>40?`${e}.${t}(\n ${[i,...r].join(`,
128
+ `)}\n)`:r.length===0?`${e}.${t}(${i})`:`${e}.${t}(${i},\n ${r.join(`,
129
+ `)}\n)`},pO={target:`python`,client:`aiohttp`,title:`aiohttp`,generate(e,t){let n={url:`https://example.com`,method:`get`,...e},r=n.method?.toLowerCase()??`get`,i=[],a=[],o=[];if(n.headers?.length){let e=n.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{});i.push(`headers=${lO(e)}`)}if(n.queryString?.length&&i.push(`params=${lO(DT(n.queryString))}`),n.cookies?.length){let e=Object.fromEntries(n.cookies.map(e=>[e.name,e.value]));a.push(`cookies=${lO(e)}`)}if(t?.auth?.username&&t?.auth?.password&&a.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t)try{i.push(`json=${lO(JSON.parse(t))}`)}catch{i.push(`data=${JSON.stringify(t)}`)}else if(e===`application/octet-stream`&&t)i.push(`data=b"${t}"`);else if(e===`multipart/form-data`&&r)o.push(`data = aiohttp.FormData()`),r.forEach(e=>{if(e.fileName!==void 0){let t=[JSON.stringify(e.name),`open(${JSON.stringify(e.fileName)}, "rb")`,`filename=${JSON.stringify(e.fileName)}`];e.contentType&&t.push(`content_type=${JSON.stringify(e.contentType)}`),o.push(`data.add_field(${t.join(`, `)})`);return}if(e.contentType){o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)}, content_type=${JSON.stringify(e.contentType)})`);return}o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)})`)}),i.push(`data=data`);else if(e===`application/x-www-form-urlencoded`&&r){let e={};r.forEach(t=>{ET(e,t.name,t.value??``)}),i.push(`data=${lO(e)}`)}else t&&i.push(`data=${JSON.stringify(t)}`)}let s=a.length===0?`async with aiohttp.ClientSession() as session:`:`async with aiohttp.ClientSession(\n ${a.join(`,
130
+ `)}\n) as session:`,c=fO(`await session`,r,n.url??``,i);return`${s}\n${dO([...o,c].join(`
131
+ `))}`}},mO={target:`python`,client:`httpx_async`,title:`HTTPX (Async)`,generate(e,t){let n=uO(`await client`,e,t);return n=n.split(`
132
+ `).map(e=>e.trim()===``?e:` `+e).join(`
133
+ `),`async with httpx.AsyncClient() as client:\n${n}`}},hO={target:`python`,client:`httpx_sync`,title:`HTTPX (Sync)`,generate(e,t){return uO(`httpx`,e,t)}},gO=e=>{if(typeof globalThis.btoa==`function`)return globalThis.btoa(e);if(typeof Buffer<`u`)return Buffer.from(e,`utf-8`).toString(`base64`);throw Error(`Could not encode basic auth credentials`)},_O=e=>{if(!e)return new URL(`https://example.com`);try{return new URL(e)}catch{return new URL(e,`https://example.com`)}},vO=(e,t=[])=>{if(!t.length)return e.search;let n=xT(t);return e.search?`${e.search}&${n.slice(1)}`:n},yO=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,bO=(e,t,n)=>{let r=e.postData;if(!r)return{payloadLines:[]};let{mimeType:i,text:a,params:o}=r;if(i===`application/json`&&a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${lO(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}if(i===`application/octet-stream`&&a)return{payloadLines:[`payload = ${yO(a)}`],payloadVariable:`payload`};if(i===`application/x-www-form-urlencoded`&&o){n.add(`import urllib.parse`);let e={};return o.forEach(t=>{ET(e,t.name,t.value??``)}),t[`Content-Type`]||=`application/x-www-form-urlencoded`,{payloadLines:[`payload = urllib.parse.urlencode(${lO(e,0)}, doseq=True)`],payloadVariable:`payload`}}if(i===`multipart/form-data`&&o){let e=[`boundary = "----ScalarSnippetzBoundary"`,`data_list = []`];return o.forEach(t=>{e.push(`data_list.append("--" + boundary)`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"`)})`):e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"`)})`),t.contentType&&e.push(`data_list.append(${JSON.stringify(`Content-Type: ${t.contentType}`)})`),e.push(`data_list.append("")`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(t.value??``)})`):e.push(`data_list.append(open(${JSON.stringify(t.fileName)}, "rb").read().decode("latin-1"))`)}),e.push(`data_list.append("--" + boundary + "--")`),e.push(`data_list.append("")`),e.push(`payload = "\\r\\n".join(data_list)`),t[`Content-Type`]=`multipart/form-data; boundary=----ScalarSnippetzBoundary`,{payloadLines:e,payloadVariable:`payload`}}if(a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${lO(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}return{payloadLines:[]}},xO={target:`python`,client:`python3`,title:`http.client`,generate(e,t){let n=bT({url:`https://example.com`,...e}),r=_O(n.url??`https://example.com`),i=vO(r,n.queryString),a=`${r.pathname||`/`}${i}`,o=n.headers?.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})??{};if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);o.Cookie?o.Cookie=`${o.Cookie}; ${e}`:o.Cookie=e}t?.auth?.username&&t.auth.password&&(o.Authorization=`Basic ${gO(`${t.auth.username}:${t.auth.password}`)}`);let s=new Set([`import http.client`]),c=[],l=bO(n,o,s);c.push(...l.payloadLines),Object.keys(o).length&&c.push(`headers = ${lO(o,0)}`);let u=[JSON.stringify(n.method),JSON.stringify(a)];l.payloadVariable&&u.push(`body=${l.payloadVariable}`),Object.keys(o).length&&u.push(`headers=headers`);let d=u.length<=2?`conn.request(${u.join(`, `)})`:`conn.request(\n ${u.join(`,
134
+ `)},\n)`;return[...s,``,`conn = http.client.${r.protocol===`https:`?`HTTPSConnection`:`HTTPConnection`}(${JSON.stringify(r.host)})`,...c.length?[``,...c]:[],``,d,``,`response = conn.getresponse()`,`print(response.read().decode())`,``,`conn.close()`].join(`
135
+ `)}},SO={target:`python`,client:`requests`,title:`Requests`,generate(e,t){return uO(`requests`,e,t)}},CO=(e,t)=>{try{return wO(JSON.parse(e),t)}catch{return`"${e}"`}},wO=(e,t)=>{if(e==null)return`NULL`;if(typeof e==`boolean`)return e?`TRUE`:`FALSE`;if(typeof e==`number`)return String(e);if(typeof e==`string`)return`"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`;if(Array.isArray(e))return e.length===0?`list()`:`list(\n${e.map(e=>`${t} ${wO(e,t+` `)}`).join(`,
136
+ `)}\n${t})`;if(typeof e==`object`){let n=Object.entries(e);return n.length===0?`list()`:`list(\n${n.map(([e,n])=>`${t} ${e} = ${wO(n,t+` `)}`).join(`,
137
+ `)}\n${t})`}return String(e)},TO={target:`r`,client:`httr2`,title:`httr2`,generate(e,t){let n={url:`https://example.com`,method:`GET`,...e},r=n.method.toUpperCase(),i=[`library(httr2)`,``];i.push(`response <- request("${n.url}") |>`);let a=[];r!==`GET`&&a.push(` req_method("${r}")`);let o={};if(n.headers?.length)for(let e of n.headers)o[e.name]=e.value;if(n.cookies?.length&&(o.Cookie=n.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),t?.auth?.username&&t?.auth?.password&&a.push(` req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(o).length){let e=Object.entries(o);if(e.length===1){let[t,n]=e[0];a.push(` req_headers("${t}" = "${n}")`)}else{let t=e.map(([e,t])=>` "${e}" = "${t}"`).join(`,
138
+ `);a.push(` req_headers(\n${t}\n )`)}}if(n.queryString?.length){let e=DT(n.queryString),t=Object.entries(e);if(t.length===1){let[e,n]=t[0];if(Array.isArray(n)){let t=n.map(e=>`"${e}"`).join(`, `);a.push(` req_url_query("${e}" = c(${t}))`)}else a.push(` req_url_query("${e}" = "${n}")`)}else{let e=t.map(([e,t])=>Array.isArray(t)?` "${e}" = c(${t.map(e=>`"${e}"`).join(`, `)})`:` "${e}" = "${t}"`).join(`,
139
+ `);a.push(` req_url_query(\n${e}\n )`)}}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t){let e=CO(t,` `);a.push(` req_body_json(${e})`)}else if(e===`multipart/form-data`&&r){let e=r.map(e=>e.fileName===void 0?` ${e.name} = "${e.value??``}"`:` ${e.name} = curl::form_file("${e.fileName}")`).join(`,
140
+ `);a.push(` req_body_multipart(\n${e}\n )`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>` "${e.name}" = "${e.value??``}"`).join(`,
141
+ `);a.push(` req_body_form(\n${e}\n )`)}else t&&a.push(` req_body_raw("${t}", type = "${e??`application/octet-stream`}")`)}return a.push(` req_perform()`),i[i.length-1]=`response <- request("${n.url}") |>`,i.push(a.join(` |>
142
+ `)),i.push(``),i.push(`resp_body_string(response)`),i.join(`
143
+ `)}},EO=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),DO=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),OO=e=>encodeURIComponent(e).replace(/'/g,`%27`),kO=new Set([`GET`,`POST`,`HEAD`,`DELETE`,`PATCH`,`PUT`,`OPTIONS`,`COPY`,`LOCK`,`UNLOCK`,`MOVE`,`TRACE`]),AO=e=>e.charAt(0)+e.slice(1).toLowerCase(),jO=(e,t,n)=>{if(kO.has(t))return;let r=AO(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(` METHOD = '${t}'`),e.push(` REQUEST_HAS_BODY = '${n?`true`:`false`}'`),e.push(` RESPONSE_HAS_BODY = true`),e.push(`end`),e.push(``)},MO=e=>{try{let t=new URL(e),n=t.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e)).replace(/%5B/g,`[`).replace(/%5D/g,`]`).replace(/%24/g,`$`)).join(`/`);return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:`${t.origin}${n}${t.search}${t.hash}`}catch{return e}},NO={target:`ruby`,client:`native`,title:`net::http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=xT(n.queryString),i=MO(`${n.url??``}${r}`),a=[`require 'uri'`,`require 'net/http'`,``];jO(a,n.method,!!n.postData?.text),a.push(`url = URI("${EO(i)}")`,``),a.push(`http = Net::HTTP.new(url.host, url.port)`),i.startsWith(`https://`)&&a.push(`http.use_ssl = true`),a.push(``);let o=AO(n.method);if(a.push(`request = Net::HTTP::${o}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=EO(t.auth.username),n=EO(t.auth.password);a.push(`request.basic_auth("${e}", "${n}")`)}if(n.headers?.length&&n.headers.forEach(e=>{a.push(`request["${EO(e.name)}"] = '${DO(e.value)}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${OO(e.name)}=${OO(e.value)}`).join(`; `);a.push(`request["Cookie"] = '${DO(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t!==void 0)try{let e=JSON.parse(t),n=JSON.stringify(e,null,2);a.push(`request.body = <<~JSON`),a.push(n),a.push(`JSON`)}catch{a.push(`request.body = ${JSON.stringify(t)}`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${OO(e.name)}=${OO(e.value??``)}`).join(`&`);a.push(`request.body = '${DO(e)}'`)}else e===`multipart/form-data`&&r?(a.push(`form_data = []`),r.forEach(e=>{let t=DO(e.name);if(e.fileName!==void 0){let n=DO(e.fileName);if(e.contentType){let r=DO(e.contentType);a.push(`form_data << ['${t}', File.open('${n}'), { filename: '${n}', content_type: '${r}' }]`)}else a.push(`form_data << ['${t}', File.open('${n}')]`)}else if(e.contentType){let n=DO(e.value??``),r=DO(e.contentType);a.push(`form_data << ['${t}', '${n}', { content_type: '${r}' }]`)}else{let n=DO(e.value??``);a.push(`form_data << ['${t}', '${n}']`)}}),a.push(`request.set_form(form_data, 'multipart/form-data')`)):e===`application/octet-stream`?a.push(`request.body = ${JSON.stringify(t??``)}`):t!==void 0&&a.push(`request.body = ${JSON.stringify(t)}`)}return a.push(``,`response = http.request(request)`,`puts response.read_body`),a.join(`
144
+ `)}};function PO(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\0/g,`\\0`)}function FO(e){return`"${PO(e)}"`}function IO(e,t){return`${` `.repeat(e*4)}${t}`}function LO(e,...t){return IO(1,`.${e}(${t.join(`, `)})`)}function RO(e){try{let t=JSON.parse(e),n=JSON.stringify(t,null,4).split(`
145
+ `);return n.map((e,t)=>t===0?e:(n.length-1,IO(1,e))).join(`
146
+ `)}catch{return e}}var zO={target:`rust`,client:`reqwest`,title:`reqwest`,generate(e,t){if(!e)return``;let n=bT(e),r=xT(n.queryString),i=mce(n.url||``,r),a=hce(n),o=[],s=VO(t?.auth);s&&o.push(s),o.push(...HO(a));let c=UO(n.postData);return c&&o.push(c),WO(i,n.method,o)}},BO=e=>{if(e.fileName){let t=[IO(2,`let part = reqwest::multipart::Part::text(${FO(e.value||``)})`),IO(3,`.file_name(${FO(e.fileName)})`)];return e.contentType?(t.push(IO(3,`.mime_str(${FO(e.contentType)})`)),t.push(IO(3,`.unwrap();`))):t[t.length-1]+=`;`,t.push(IO(2,`form = form.part(${FO(e.name)}, part);`)),t.join(`
147
+ `)}return e.contentType?[IO(2,`let part = reqwest::multipart::Part::text(${FO(e.value||``)})`),IO(3,`.mime_str(${FO(e.contentType)})`),IO(3,`.unwrap();`),IO(2,`form = form.part(${FO(e.name)}, part);`)].join(`
148
+ `):IO(2,`form = form.text(${FO(e.name)}, ${FO(e.value||``)});`)},VO=e=>!e?.username||!e?.password?null:LO(`basic_auth`,FO(e.username),FO(e.password)),HO=e=>Object.entries(e).map(([e,t])=>LO(`header`,FO(e),FO(t))),UO=e=>{if(!e)return null;let{mimeType:t,text:n,params:r}=e;switch(t){case`application/json`:return LO(`json`,`&serde_json::json!(${RO(n)})`);case`application/x-www-form-urlencoded`:return LO(`form`,`&[${r?.map(e=>`(${FO(e.name)}, ${FO(e.value||``)})`).join(`, `)||``}]`);case`multipart/form-data`:{let e=r?.map(BO).join(`
149
+ `)||``;return IO(1,[`.multipart({`,IO(2,`let mut form = reqwest::multipart::Form::new();`),e,IO(3,`form`),IO(2,`})`)].join(`
150
+ `))}default:return LO(`body`,FO(n||``))}},WO=(e,t,n)=>{let r=[`let client = reqwest::Client::new();`,``];n.length>0?(r.push(`let request = client`),r.push(IO(1,`.${t.toLowerCase()}(${FO(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${FO(e)})`);let i=r[r.length-1];return r[r.length-1]=i+`;`,r.push(``),r.push(`let response = request.send().await?;`),r.join(`
151
+ `)},GO=e=>e.replace(/'/g,`'\\''`),KO=e=>{if(!e)return!1;let{subtype:t}=vo(e);return t===`json`||t.endsWith(`+json`)},qO={target:`shell`,client:`curl`,title:`Curl`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[`curl`],i=n.url??``,a=i.includes(`?`)?`&`:`?`,o=`${i}${n.queryString?.length?a+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``}`;if(r[0]=`curl ${/^[A-Za-z0-9._~:/%@+,=-]*$/.test(o)?o:`'${GO(o)}'`}`,n.method!==`GET`&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){let e=GO(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(n.headers?.length){n.headers.forEach(e=>{let t=GO(`${e.name}: ${e.value}`);r.push(`--header '${t}'`)});let e=n.headers.find(e=>e.name.toLowerCase()===`accept-encoding`);e&&/gzip|deflate/.test(e.value)&&r.push(`--compressed`)}if(n.cookies?.length){let e=GO(n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));r.push(`--cookie '${e}'`)}if(n.postData)if(KO(n.postData.mimeType)){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=GO(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=GO(n.postData.text??``);r.push(`--data '${e}'`)}}else if(n.postData.mimeType===`application/octet-stream`){let e=GO(n.postData.text??``);r.push(`--data-binary '${e}'`)}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params)n.postData.params.forEach(e=>{let t=GO(e.value??``),n=GO(encodeURIComponent(e.name));r.push(`--data-urlencode '${n}=${t}'`)});else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)n.postData.params.forEach(e=>{let t=GO(e.name),n=e.contentType?`;type=${e.contentType}`:``;if(e.fileName!==void 0){let i=GO(`${e.fileName}${n}`);r.push(`--form '${t}=@${i}'`)}else{let i=e.value??``,a=KO(e.contentType),o=i;if(a&&i)try{o=JSON.stringify(JSON.parse(i),null,2)}catch{}let s=GO(`${o}${n}`);r.push(`--form '${t}=${s}'`)}});else try{let e=JSON.parse(n.postData.text??``),t=GO(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=GO(n.postData.text??``);r.push(`--data '${e}'`)}return r.join(` \\
152
+ `)}},JO=(e=``)=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,`'\\''`)}'`,YO={info:{key:`httpie`,title:`HTTPie`,link:`http://httpie.org/`,description:`a CLI, cURL-like tool for humans`},convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:i,url:a},o)=>{let s={body:!1,cert:!1,headers:!1,indent:` `,pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...o},{push:c,join:l,unshift:u}=new dE({indent:s.indent,join:s.indent===!1?` `:` \\\n${s.indent}`}),d=!1,f=[];s.headers&&f.push(s.short?`-h`:`--headers`),s.body&&f.push(s.short?`-b`:`--body`),s.verbose&&f.push(s.short?`-v`:`--verbose`),s.print&&f.push(`${s.short?`-p`:`--print`}=${s.print}`),s.verify&&f.push(`--verify=${s.verify}`),s.cert&&f.push(`--cert=${s.cert}`),s.pretty&&f.push(`--pretty=${s.pretty}`),s.style&&f.push(`--style=${s.style}`),s.timeout&&f.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(n).forEach(e=>{let t=n[e];Array.isArray(t)?t.forEach(t=>{c(`${e}==${JO(t)}`)}):c(`${e}==${JO(t)}`)}),Object.keys(e).sort().forEach(t=>{c(`${t}:${JO(e[t])}`)}),t?.mimeType===`application/x-www-form-urlencoded`?t.params?.length&&(f.push(s.short?`-f`:`--form`),t.params.forEach(e=>{c(`${e.name}=${JO(e.value)}`)})):t?.mimeType===`multipart/form-data`?t?.params?.length&&(f.push(`--multipart`),t.params.forEach(e=>{e.fileName?c(`${e.name}@${JO(e.fileName)}`):c(`${e.name}='${JO(e.value)}'`)})):d=!0;let p=f.length?`${f.join(` `)} `:``;return a=JO(s.queryParams?a:r),u(`http ${p}${i} ${a}`),d&&t?.text&&u(`echo ${JO(t.text)} | `),l()}},XO={target:`shell`,client:`httpie`,title:`HTTPie`,generate(e){return gE(YO,e)}},ZO=e=>{if(!e)return!1;let{subtype:t}=vo(e);return t===`json`||t.endsWith(`+json`)},QO=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},$O={target:`shell`,client:`wget`,title:`Wget`,generate(e,t){let n={...e,method:(e?.method??`GET`).toUpperCase()},r=n.url??``,i=r.includes(`?`)?`&`:`?`,a=`${r}${n.queryString?.length?i+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``}`,o=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(a)?a:`'${GO(a)}'`,s=[`wget --quiet`,`--method ${n.method}`];if(t?.auth?.username&&t?.auth?.password&&(s.push(`--user '${GO(t.auth.username)}'`),s.push(`--password '${GO(t.auth.password)}'`)),n.headers?.length&&n.headers.forEach(e=>{let t=GO(`${e.name}: ${e.value}`);s.push(`--header '${t}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);s.push(`--header 'Cookie: ${GO(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(ZO(e))t&&s.push(`--body-data '${GO(QO(t))}'`);else if(e===`application/octet-stream`)s.push(`--body-data '${GO(t??``)}'`);else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);s.push(`--body-data '${GO(e)}'`)}else e===`multipart/form-data`&&r?r.forEach(e=>{if(e.fileName!==void 0)s.push(`--body-file='${GO(e.fileName)}'`);else{let t=e.value??``,n=ZO(e.contentType)&&t?QO(t):t;s.push(`--body-data '${GO(`${e.name}=${n}`)}'`)}}):t&&s.push(`--body-data '${GO(QO(t))}'`)}return s.push(`--output-document`,`- ${o}`),s.join(` \\
153
+ `)}},ek=e=>JSON.stringify(e),tk=e=>{let t=1;for(;e.includes(`"""${`#`.repeat(t)}`);)t+=1;return`#`.repeat(t)},nk=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},rk=e=>encodeURIComponent(e),ik=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),ak=e=>{let t=[`let boundary = UUID().uuidString`,`var body = Data()`,``,`func appendToBody(_ value: String) {`,` body.append(value.data(using: .utf8)!)`,`}`,``];return e.forEach(e=>{let n=ik(e.name),r=ik(e.fileName??``),i=e.contentType?ik(e.contentType):void 0;t.push(`appendToBody("--\\(boundary)\\r\\n")`),e.fileName===void 0?(t.push(`appendToBody(${ek(`Content-Disposition: form-data; name="${n}"\r\n`)})`),i&&t.push(`appendToBody(${ek(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${ek(e.value??``)})`),t.push(`appendToBody("\\r\\n")`)):(t.push(`appendToBody(${ek(`Content-Disposition: form-data; name="${n}"; filename="${r}"\r\n`)})`),i&&t.push(`appendToBody(${ek(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${ek(`<# File data for ${e.fileName||`file`} #>\r\n`)})`)),t.push(``)}),t.push(`appendToBody("--\\(boundary)--\\r\\n")`),t},ok=[{key:`c`,title:`C`,default:`libcurl`,clients:[pce]},{key:`csharp`,title:`C#`,default:`restsharp`,clients:[yce,BT]},{key:`clojure`,title:`Clojure`,default:`clj_http`,clients:[vce]},{key:`dart`,title:`Dart`,default:`http`,clients:[VT]},{key:`fsharp`,title:`F#`,default:`httpclient`,clients:[HT]},{key:`go`,title:`Go`,default:`native`,clients:[sE]},{key:`http`,title:`HTTP`,default:`http1.1`,clients:[cE]},{key:`java`,title:`Java`,default:`unirest`,clients:[_E,yE,xE,CE]},{key:`js`,title:`JavaScript`,default:`fetch`,clients:[IE,FE,OD,DD,AD]},{key:`kotlin`,title:`Kotlin`,default:`okhttp`,clients:[PD]},{key:`node`,title:`Node.js`,default:`fetch`,clients:[ID,FD,LD,RD]},{key:`objc`,title:`Objective-C`,default:`nsurlsession`,clients:[UD]},{key:`ocaml`,title:`OCaml`,default:`cohttp`,clients:[GD]},{key:`php`,title:`PHP`,default:`curl`,clients:[YD,XD,nO]},{key:`powershell`,title:`PowerShell`,default:`webrequest`,clients:[sO,aO]},{key:`python`,title:`Python`,default:`python3`,clients:[xO,SO,pO,hO,mO]},{key:`r`,title:`R`,default:`httr2`,clients:[TO]},{key:`ruby`,title:`Ruby`,default:`native`,clients:[NO]},{key:`rust`,title:`Rust`,default:`reqwest`,clients:[zO]},{key:`shell`,title:`Shell`,default:`curl`,clients:[qO,$O,XO]},{key:`swift`,title:`Swift`,default:`nsurlsession`,clients:[{target:`swift`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=ST(e.method),r=CT(wT(e.url??``,e.queryString)),i=TT(e.headers,e.cookies),a=[`import Foundation`,``,`var request = URLRequest(url: URL(string: ${ek(r)})!)`];if(a.push(`request.httpMethod = ${ek(n)}`),i.forEach(e=>{a.push(`request.setValue(${ek(e.value)}, forHTTPHeaderField: ${ek(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(a.push(`let credentials = ${ek(`${t.auth.username}:${t.auth.password}`)}`),a.push(`let encodedCredentials = Data(credentials.utf8).base64EncodedString()`),a.push(`request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")`)),e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0){let e=nk(n),t=tk(e);a.push(`let jsonBody = ${t}"""`),a.push(e),a.push(`"""${t}`),a.push(`request.httpBody = jsonBody.data(using: .utf8)`)}else if(t===`application/x-www-form-urlencoded`&&r?.length){let e=r.map(e=>`${rk(e.name)}=${rk(e.value??``)}`).join(`&`);a.push(`let formBody = ${ek(e)}`),a.push(`request.httpBody = formBody.data(using: .utf8)`)}else t===`multipart/form-data`&&r?.length?(a.push(...ak(r)),a.push(`request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")`),a.push(`request.httpBody = body`)):t===`application/octet-stream`?(a.push(`let binaryBody = Data(${ek(n??``)}.utf8)`),a.push(`request.httpBody = binaryBody`)):n!==void 0&&(a.push(`let rawBody = ${ek(n)}`),a.push(`request.httpBody = rawBody.data(using: .utf8)`))}return a.push(``),a.push(`let (data, response) = try await URLSession.shared.data(for: request)`),a.push(``),a.push(`guard let httpResponse = response as? HTTPURLResponse,`),a.push(` 200..<300 ~= httpResponse.statusCode else {`),a.push(` throw URLError(.badServerResponse)`),a.push(`}`),a.push(``),a.push(`print(String(data: data, encoding: .utf8) ?? "")`),a.join(`
154
+ `)}}]}];function sk(){function e(e,t){return ok.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print(t,n,r){return e(t,n)?.generate(r)},clients(){return ok},plugins(){return ok.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var ck=e=>{let t=new Map;return e.map(e=>{let n=(e.lang||`plaintext`).toLowerCase(),r=t.get(n)??0;return t.set(n,r+1),r===0?`custom/${n}`:`custom/${n}/${r}`})},lk=(e=gT)=>{let t=new Set(e);return sk().clients().flatMap(e=>{let n=e.clients.flatMap(n=>{let r=`${e.key}/${n.client}`;return t.has(r)?{id:r,lang:n.client===`curl`?`curl`:e.key,title:`${C(e.title)} ${n.title}`,label:n.title,targetKey:e.key,targetTitle:e.title,clientKey:n.client}:[]});return n.length===0?[]:{label:e.title,key:e.key,options:n}})},uk=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},dk=Object.defineProperty,U=(e,t)=>{let n={};for(var r in e)dk(n,r,{get:e[r],enumerable:!0});return t||dk(n,Symbol.toStringTag,{value:`Module`}),n},fk=U({default:()=>hk,render:()=>mk}),pk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mk(e,t){return y(),M(`svg`,pk,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5 11.988h14M12.006 5v14`},null,-1)]])}var hk={render:mk},gk=U({default:()=>yk,render:()=>vk}),_k={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vk(e,t){return y(),M(`svg`,_k,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3`},null,-1)]])}var yk={render:vk},bk=U({default:()=>Ck,render:()=>Sk}),xk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Sk(e,t){return y(),M(`svg`,xk,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var Ck={render:Sk},wk=U({default:()=>Dk,render:()=>Ek}),Tk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Ek(e,t){return y(),M(`svg`,Tk,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12H2m9.3-9.3L2 12l9.3 9.3`},null,-1)]])}var Dk={render:Ek},Ok=U({default:()=>jk,render:()=>Ak}),kk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Ak(e,t){return y(),M(`svg`,kk,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12h20m-9.3 9.3L22 12l-9.3-9.3`},null,-1)]])}var jk={render:Ak},Mk=U({default:()=>Fk,render:()=>Pk}),Nk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Pk(e,t){return y(),M(`svg`,Nk,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`},null,-1)]])}var Fk={render:Pk},Ik=U({default:()=>zk,render:()=>Rk}),Lk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Rk(e,t){return y(),M(`svg`,Lk,[...t[0]||=[N(`path`,{d:`M16.4 6.8v5.6H7.6m0-5.6v10.4`},null,-1),N(`circle`,{cx:`7.6`,cy:`4.4`,r:`2.4`},null,-1),N(`circle`,{cx:`7.6`,cy:`19.6`,r:`2.4`},null,-1),N(`circle`,{cx:`16.4`,cy:`4.4`,r:`2.4`},null,-1)]])}var zk={render:Rk},Bk=U({default:()=>Uk,render:()=>Hk}),Vk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Hk(e,t){return y(),M(`svg`,Vk,[...t[0]||=[N(`path`,{d:`M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125`},null,-1),N(`path`,{d:`M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055`},null,-1),N(`path`,{d:`M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125`},null,-1)]])}var Uk={render:Hk},Wk=U({default:()=>qk,render:()=>Kk}),Gk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Kk(e,t){return y(),M(`svg`,Gk,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.4 4.6 10.6 19.4l-8-6.4`},null,-1)]])}var qk={render:Kk},Jk=U({default:()=>Zk,render:()=>Xk}),Yk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Xk(e,t){return y(),M(`svg`,Yk,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 10-6 6-6-6`},null,-1)]])}var Zk={render:Xk},Qk=U({default:()=>tA,render:()=>eA}),$k={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function eA(e,t){return y(),M(`svg`,$k,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m14 18-6-6 6-6`},null,-1)]])}var tA={render:eA},nA=U({default:()=>aA,render:()=>iA}),rA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function iA(e,t){return y(),M(`svg`,rA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9 18 6-6-6-6`},null,-1)]])}var aA={render:iA},oA=U({default:()=>lA,render:()=>cA}),sA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cA(e,t){return y(),M(`svg`,sA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 15-6-6-6 6`},null,-1)]])}var lA={render:cA},uA=U({default:()=>pA,render:()=>fA}),dA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function fA(e,t){return y(),M(`svg`,dA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var pA={render:fA},mA=U({default:()=>_A,render:()=>gA}),hA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function gA(e,t){return y(),M(`svg`,hA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M18 6 6 18M6 6l12 12`},null,-1)]])}var _A={render:gA},vA=U({default:()=>xA,render:()=>bA}),yA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bA(e,t){return y(),M(`svg`,yA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z`},null,-1)]])}var xA={render:bA},SA=U({default:()=>TA,render:()=>wA}),CA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wA(e,t){return y(),M(`svg`,CA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var TA={render:wA},EA=U({default:()=>kA,render:()=>OA}),DA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function OA(e,t){return y(),M(`svg`,DA,[...t[0]||=[N(`path`,{d:`M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z`},null,-1)]])}var kA={render:OA},AA=U({default:()=>NA,render:()=>MA}),jA={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function MA(e,t){return y(),M(`svg`,jA,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447`},null,-1),N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18`},null,-1)]])}var NA={render:MA},PA=U({default:()=>LA,render:()=>IA}),FA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function IA(e,t){return y(),M(`svg`,FA,[...t[0]||=[N(`path`,{d:`M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z`},null,-1),N(`path`,{d:`M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0`},null,-1)]])}var LA={render:IA},RA=U({default:()=>VA,render:()=>BA}),zA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function BA(e,t){return y(),M(`svg`,zA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08`},null,-1)]])}var VA={render:BA},HA=U({default:()=>GA,render:()=>WA}),UA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function WA(e,t){return y(),M(`svg`,UA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223`},null,-1),N(`path`,{fill:`currentColor`,d:`M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425`},null,-1)]])}var GA={render:WA},KA=U({default:()=>YA,render:()=>JA}),qA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function JA(e,t){return y(),M(`svg`,qA,[...t[0]||=[N(`path`,{d:`M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244`},null,-1)]])}var YA={render:JA},XA=U({default:()=>$A,render:()=>QA}),ZA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function QA(e,t){return y(),M(`svg`,ZA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6`},null,-1)]])}var $A={render:QA},ej=U({default:()=>rj,render:()=>nj}),tj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function nj(e,t){return y(),M(`svg`,tj,[...t[0]||=[N(`path`,{d:`M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152`},null,-1),N(`path`,{d:`M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5`},null,-1)]])}var rj={render:nj},ij=U({default:()=>sj,render:()=>oj}),aj={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function oj(e,t){return y(),M(`svg`,aj,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2`},null,-1),N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10`},null,-1)]])}var sj={render:oj},cj=U({default:()=>dj,render:()=>uj}),lj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function uj(e,t){return y(),M(`svg`,lj,[...t[0]||=[N(`path`,{d:`M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5`},null,-1)]])}var dj={render:uj},fj=U({default:()=>hj,render:()=>mj}),pj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mj(e,t){return y(),M(`svg`,pj,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17`},null,-1),N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83`},null,-1)]])}var hj={render:mj},gj=U({default:()=>yj,render:()=>vj}),_j={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vj(e,t){return y(),M(`svg`,_j,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z`},null,-1)]])}var yj={render:vj},bj=U({default:()=>Cj,render:()=>Sj}),xj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Sj(e,t){return y(),M(`svg`,xj,[...t[0]||=[N(`path`,{d:`M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1`},null,-1)]])}var Cj={render:Sj},wj=U({default:()=>Dj,render:()=>Ej}),Tj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Ej(e,t){return y(),M(`svg`,Tj,[...t[0]||=[N(`path`,{d:`M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5`},null,-1),N(`path`,{d:`m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014`},null,-1)]])}var Dj={render:Ej},Oj=U({default:()=>jj,render:()=>Aj}),kj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Aj(e,t){return y(),M(`svg`,kj,[...t[0]||=[N(`path`,{d:`M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6`},null,-1),N(`path`,{d:`M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10`},null,-1)]])}var jj={render:Aj},Mj=U({default:()=>Fj,render:()=>Pj}),Nj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Pj(e,t){return y(),M(`svg`,Nj,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z`},null,-1)]])}var Fj={render:Pj},Ij=U({default:()=>zj,render:()=>Rj}),Lj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Rj(e,t){return y(),M(`svg`,Lj,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.4 4H20v13.59M4 20 20 4`},null,-1)]])}var zj={render:Rj},Bj=U({default:()=>Uj,render:()=>Hj}),Vj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Hj(e,t){return y(),M(`svg`,Vj,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M7.556 12h8.888m-6.222 6h3.556`},null,-1)]])}var Uj={render:Hj},Wj=U({default:()=>qj,render:()=>Kj}),Gj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Kj(e,t){return y(),M(`svg`,Gj,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`},null,-1)]])}var qj={render:Kj},Jj=U({default:()=>Zj,render:()=>Xj}),Yj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 1024 1024`};function Xj(e,t){return y(),M(`svg`,Yj,[...t[0]||=[N(`path`,{d:`M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0`},null,-1)]])}var Zj={render:Xj},Qj=U({default:()=>tM,render:()=>eM}),$j={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function eM(e,t){return y(),M(`svg`,$j,[...t[0]||=[N(`path`,{d:`M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278`},null,-1)]])}var tM={render:eM},nM=U({default:()=>aM,render:()=>iM}),rM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function iM(e,t){return y(),M(`svg`,rM,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2`},null,-1)]])}var aM={render:iM},oM=U({default:()=>lM,render:()=>cM}),sM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function cM(e,t){return y(),M(`svg`,sM,[...t[0]||=[N(`path`,{d:`M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33`},null,-1)]])}var lM={render:cM},uM=U({default:()=>pM,render:()=>fM}),dM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function fM(e,t){return y(),M(`svg`,dM,[...t[0]||=[N(`path`,{d:`M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4`},null,-1),N(`path`,{d:`M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10`},null,-1)]])}var pM={render:fM},mM=U({default:()=>_M,render:()=>gM}),hM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function gM(e,t){return y(),M(`svg`,hM,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2`},null,-1)]])}var _M={render:gM},vM=U({default:()=>xM,render:()=>bM}),yM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function bM(e,t){return y(),M(`svg`,yM,[...t[0]||=[N(`path`,{d:`M12.9 6.8v6.1h4.7`},null,-1),N(`path`,{d:`M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4`},null,-1)]])}var xM={render:bM},SM=U({default:()=>TM,render:()=>wM}),CM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function wM(e,t){return y(),M(`svg`,CM,[...t[0]||=[N(`path`,{d:`M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z`},null,-1)]])}var TM={render:wM},EM=U({default:()=>kM,render:()=>OM}),DM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function OM(e,t){return y(),M(`svg`,DM,[...t[0]||=[N(`path`,{d:`M12 10.67v7.98M14.66 16 12 18.64 9.34 16`},null,-1),N(`path`,{d:`M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33`},null,-1),N(`path`,{d:`m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02`},null,-1)]])}var kM={render:OM},AM=U({default:()=>NM,render:()=>MM}),jM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function MM(e,t){return y(),M(`svg`,jM,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10`},null,-1),N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2`},null,-1),N(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0`,"clip-rule":`evenodd`},null,-1)]])}var NM={render:MM},PM=U({default:()=>LM,render:()=>IM}),FM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function IM(e,t){return y(),M(`svg`,FM,[...t[0]||=[N(`path`,{d:`M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33`},null,-1),N(`path`,{d:`M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0`},null,-1)]])}var LM={render:IM},RM=U({default:()=>VM,render:()=>BM}),zM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function BM(e,t){return y(),M(`svg`,zM,[...t[0]||=[N(`path`,{d:`M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9`},null,-1)]])}var VM={render:BM},HM=U({default:()=>GM,render:()=>WM}),UM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function WM(e,t){return y(),M(`svg`,UM,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.01M4.93 4.93l3.22 3.22`},null,-1)]])}var GM={render:WM},KM=U({default:()=>YM,render:()=>JM}),qM={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function JM(e,t){return y(),M(`svg`,qM,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576`},null,-1)]])}var YM={render:JM},XM=U({default:()=>$M,render:()=>QM}),ZM={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function QM(e,t){return y(),M(`svg`,ZM,[...t[0]||=[N(`path`,{d:`M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6`},null,-1)]])}var $M={render:QM},eN=U({default:()=>rN,render:()=>nN}),tN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function nN(e,t){return y(),M(`svg`,tN,[...t[0]||=[N(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),N(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3`},null,-1)]])}var rN={render:nN},iN=U({default:()=>sN,render:()=>oN}),aN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 593 593`};function oN(e,t){return y(),M(`svg`,aN,[...t[0]||=[N(`path`,{"fill-rule":`evenodd`,d:`M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0`},null,-1)]])}var sN={render:oN},cN=U({default:()=>dN,render:()=>uN}),lN={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function uN(e,t){return y(),M(`svg`,lN,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591`},null,-1)]])}var dN={render:uN},fN=U({default:()=>hN,render:()=>mN}),pN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mN(e,t){return y(),M(`svg`,pN,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z`},null,-1)]])}var hN={render:mN},gN=U({default:()=>yN,render:()=>vN}),_N={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function vN(e,t){return y(),M(`svg`,_N,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 6.8H2m20 10.4H2`},null,-1)]])}var yN={render:vN},bN=U({default:()=>CN,render:()=>SN}),xN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function SN(e,t){return y(),M(`svg`,xN,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var CN={render:SN},wN=U({default:()=>DN,render:()=>EN}),TN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function EN(e,t){return y(),M(`svg`,TN,[...t[0]||=[N(`path`,{d:`M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22`},null,-1),N(`path`,{d:`M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205`},null,-1)]])}var DN={render:EN},ON=U({default:()=>jN,render:()=>AN}),kN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function AN(e,t){return y(),M(`svg`,kN,[...t[0]||=[N(`path`,{d:`M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z`},null,-1)]])}var jN={render:AN},MN=U({default:()=>FN,render:()=>PN}),NN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function PN(e,t){return y(),M(`svg`,NN,[...t[0]||=[N(`path`,{d:`M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z`},null,-1)]])}var FN={render:PN},IN=U({default:()=>zN,render:()=>RN}),LN={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function RN(e,t){return y(),M(`svg`,LN,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3`},null,-1)]])}var zN={render:RN},BN=U({default:()=>UN,render:()=>HN}),VN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function HN(e,t){return y(),M(`svg`,VN,[...t[0]||=[N(`path`,{d:`M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17`},null,-1)]])}var UN={render:HN},WN=U({default:()=>qN,render:()=>KN}),GN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function KN(e,t){return y(),M(`svg`,GN,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9`},null,-1)]])}var qN={render:KN},JN=U({default:()=>ZN,render:()=>XN}),YN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function XN(e,t){return y(),M(`svg`,YN,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35`},null,-1)]])}var ZN={render:XN},QN=U({default:()=>tP,render:()=>eP}),$N={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function eP(e,t){return y(),M(`svg`,$N,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2`},null,-1),N(`path`,{fill:`currentColor`,d:`M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 8h4m-4 8h4`},null,-1)]])}var tP={render:eP},nP=U({default:()=>aP,render:()=>iP}),rP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function iP(e,t){return y(),M(`svg`,rP,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0`},null,-1)]])}var aP={render:iP},oP=U({default:()=>lP,render:()=>cP}),sP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cP(e,t){return y(),M(`svg`,sP,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7`},null,-1),N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6`},null,-1)]])}var lP={render:cP},uP=U({default:()=>pP,render:()=>fP}),dP={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function fP(e,t){return y(),M(`svg`,dP,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 5.4h20M2 12h20M2 18.6h13.3`},null,-1)]])}var pP={render:fP},mP=U({default:()=>_P,render:()=>gP}),hP={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function gP(e,t){return y(),M(`svg`,hP,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M13 15h5M6 9l4 3-4 3`},null,-1),N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z`},null,-1)]])}var _P={render:gP},vP=U({default:()=>xP,render:()=>bP}),yP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bP(e,t){return y(),M(`svg`,yP,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75`},null,-1)]])}var xP={render:bP},SP=U({default:()=>TP,render:()=>wP}),CP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function wP(e,t){return y(),M(`svg`,CP,[...t[0]||=[N(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),N(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5`},null,-1)]])}var TP={render:wP},EP=U({default:()=>kP,render:()=>OP}),DP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function OP(e,t){return y(),M(`svg`,DP,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2`},null,-1)]])}var kP={render:OP},AP=U({default:()=>NP,render:()=>MP}),jP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function MP(e,t){return y(),M(`svg`,jP,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7`},null,-1)]])}var NP={render:MP},PP=U({default:()=>LP,render:()=>IP}),FP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function IP(e,t){return y(),M(`svg`,FP,[...t[0]||=[N(`path`,{d:`M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z`},null,-1),N(`circle`,{cx:`12`,cy:`6.2`,r:`4.5`},null,-1)]])}var LP={render:IP},RP=U({default:()=>VP,render:()=>BP}),zP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function BP(e,t){return y(),M(`svg`,zP,[...t[0]||=[N(`path`,{d:`M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614`},null,-1),N(`path`,{d:`m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202`},null,-1)]])}var VP={render:BP},HP=U({default:()=>GP,render:()=>WP}),UP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function WP(e,t){return y(),M(`svg`,UP,[...t[0]||=[N(`path`,{d:`M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583`},null,-1)]])}var GP={render:WP},KP=U({default:()=>YP,render:()=>JP}),qP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function JP(e,t){return y(),M(`svg`,qP,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z`},null,-1)]])}var YP={render:JP},XP=U({default:()=>$P,render:()=>QP}),ZP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function QP(e,t){return y(),M(`svg`,ZP,[...t[0]||=[N(`path`,{d:`M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5`},null,-1),N(`path`,{d:`M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5`},null,-1)]])}var $P={render:QP},eF=U({default:()=>rF,render:()=>nF}),tF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function nF(e,t){return y(),M(`svg`,tF,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0`},null,-1)]])}var rF={render:nF},iF=U({default:()=>sF,render:()=>oF}),aF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function oF(e,t){return y(),M(`svg`,aF,[...t[0]||=[N(`path`,{d:`M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75`},null,-1)]])}var sF={render:oF},cF=U({default:()=>dF,render:()=>uF}),lF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function uF(e,t){return y(),M(`svg`,lF,[...t[0]||=[N(`path`,{d:`M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z`},null,-1)]])}var dF={render:uF},fF=U({default:()=>hF,render:()=>mF}),pF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function mF(e,t){return y(),M(`svg`,pF,[...t[0]||=[N(`path`,{d:`M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z`},null,-1)]])}var hF={render:mF},gF=U({default:()=>yF,render:()=>vF}),_F={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vF(e,t){return y(),M(`svg`,_F,[...t[0]||=[N(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z`,"clip-rule":`evenodd`},null,-1)]])}var yF={render:vF},bF=U({default:()=>CF,render:()=>SF}),xF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function SF(e,t){return y(),M(`svg`,xF,[...t[0]||=[N(`path`,{d:`M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z`},null,-1)]])}var CF={render:SF},wF=U({default:()=>DF,render:()=>EF}),TF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function EF(e,t){return y(),M(`svg`,TF,[...t[0]||=[N(`path`,{d:`M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565`},null,-1)]])}var DF={render:EF},OF=U({default:()=>jF,render:()=>AF}),kF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function AF(e,t){return y(),M(`svg`,kF,[...t[0]||=[N(`path`,{d:`M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51`},null,-1),N(`path`,{d:`m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z`},null,-1)]])}var jF={render:AF},MF=U({default:()=>FF,render:()=>PF}),NF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function PF(e,t){return y(),M(`svg`,NF,[...t[0]||=[N(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5`},null,-1)]])}var FF={render:PF},IF=U({default:()=>zF,render:()=>RF}),LF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function RF(e,t){return y(),M(`svg`,LF,[...t[0]||=[N(`path`,{d:`M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z`},null,-1)]])}var zF={render:RF},BF=U({default:()=>UF,render:()=>HF}),VF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function HF(e,t){return y(),M(`svg`,VF,[...t[0]||=[N(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z`},null,-1)]])}var UF={render:HF},WF=U({default:()=>qF,render:()=>KF}),GF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function KF(e,t){return y(),M(`svg`,GF,[...t[0]||=[N(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z`},null,-1)]])}var qF={render:KF},JF=U({default:()=>ZF,render:()=>XF}),YF={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 50 50`};function XF(e,t){return y(),M(`svg`,YF,[...t[0]||=[N(`path`,{d:`m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71`},null,-1)]])}var ZF={render:XF},QF=U({default:()=>tI,render:()=>eI}),$F={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function eI(e,t){return y(),M(`svg`,$F,[...t[0]||=[N(`path`,{d:`M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z`},null,-1)]])}var tI={render:eI},nI=U({default:()=>aI,render:()=>iI}),rI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function iI(e,t){return y(),M(`svg`,rI,[...t[0]||=[N(`path`,{d:`M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1`},null,-1)]])}var aI={render:iI},oI=U({default:()=>lI,render:()=>cI}),sI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function cI(e,t){return y(),M(`svg`,sI,[...t[0]||=[N(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z`},null,-1)]])}var lI={render:cI},uI=U({default:()=>pI,render:()=>fI}),dI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function fI(e,t){return y(),M(`svg`,dI,[...t[0]||=[N(`path`,{d:`M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1`},null,-1)]])}var pI={render:fI},mI=U({default:()=>_I,render:()=>gI}),hI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function gI(e,t){return y(),M(`svg`,hI,[...t[0]||=[N(`path`,{d:`M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05`},null,-1),N(`path`,{d:`M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36`},null,-1),N(`path`,{d:`M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38`},null,-1)]])}var _I={render:gI},vI=U({default:()=>xI,render:()=>bI}),yI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function bI(e,t){return y(),M(`svg`,yI,[...t[0]||=[N(`path`,{d:`M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z`},null,-1)]])}var xI={render:bI},SI=U({default:()=>TI,render:()=>wI}),CI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function wI(e,t){return y(),M(`svg`,CI,[...t[0]||=[N(`path`,{d:`M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43`},null,-1),N(`path`,{d:`M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12`},null,-1)]])}var TI={render:wI},EI=U({default:()=>kI,render:()=>OI}),DI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function OI(e,t){return y(),M(`svg`,DI,[...t[0]||=[N(`path`,{d:`M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z`},null,-1)]])}var kI={render:OI},AI=U({default:()=>NI,render:()=>MI}),jI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function MI(e,t){return y(),M(`svg`,jI,[...t[0]||=[N(`path`,{d:`M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69`},null,-1),N(`path`,{d:`M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85`},null,-1)]])}var NI={render:MI},PI=U({default:()=>LI,render:()=>II}),FI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function II(e,t){return y(),M(`svg`,FI,[...t[0]||=[N(`path`,{d:`M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z`},null,-1),N(`path`,{d:`M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z`},null,-1)]])}var LI={render:II},RI=U({default:()=>VI,render:()=>BI}),zI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function BI(e,t){return y(),M(`svg`,zI,[...t[0]||=[N(`path`,{d:`M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0`},null,-1)]])}var VI={render:BI},HI=U({default:()=>GI,render:()=>WI}),UI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function WI(e,t){return y(),M(`svg`,UI,[...t[0]||=[N(`path`,{d:`M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29`},null,-1)]])}var GI={render:WI},KI=U({default:()=>YI,render:()=>JI}),qI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 121 121`};function JI(e,t){return y(),M(`svg`,qI,[...t[0]||=[N(`path`,{"fill-rule":`evenodd`,d:`M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1`,"clip-rule":`evenodd`},null,-1)]])}var YI={render:JI},XI=U({default:()=>$I,render:()=>QI}),ZI={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function QI(e,t){return y(),M(`svg`,ZI,[...t[0]||=[N(`path`,{d:`m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z`},null,-1)]])}var $I={render:QI},eL=U({default:()=>rL,render:()=>nL}),tL={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function nL(e,t){return y(),M(`svg`,tL,[...t[0]||=[N(`path`,{d:`M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z`},null,-1),N(`path`,{"fill-rule":`evenodd`,d:`M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z`},null,-1)]])}var rL={render:nL},iL=U({default:()=>sL,render:()=>oL}),aL={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function oL(e,t){return y(),M(`svg`,aL,[...t[0]||=[N(`path`,{d:`M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z`},null,-1)]])}var sL={render:oL},cL=U({default:()=>dL,render:()=>uL}),lL={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function uL(e,t){return y(),M(`svg`,lL,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var dL={render:uL},fL=U({default:()=>hL,render:()=>mL}),pL={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function mL(e,t){return y(),M(`svg`,pL,[...t[0]||=[N(`path`,{d:`M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z`},null,-1)]])}var hL={render:mL},gL=U({default:()=>yL,render:()=>vL}),_L={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 17 17`};function vL(e,t){return y(),M(`svg`,_L,[...t[0]||=[N(`path`,{d:`m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z`},null,-1)]])}var yL={render:vL},bL=U({default:()=>CL,render:()=>SL}),xL={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function SL(e,t){return y(),M(`svg`,xL,[...t[0]||=[N(`path`,{d:`M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5`},null,-1)]])}var CL={render:SL},wL=U({default:()=>DL,render:()=>EL}),TL={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function EL(e,t){return y(),M(`svg`,TL,[...t[0]||=[N(`path`,{d:`M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z`},null,-1)]])}var DL={render:EL},OL=U({default:()=>jL,render:()=>AL}),kL={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function AL(e,t){return y(),M(`svg`,kL,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6`},null,-1)]])}var jL={render:AL},ML=U({default:()=>FL,render:()=>PL}),NL={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function PL(e,t){return y(),M(`svg`,NL,[...t[0]||=[N(`path`,{d:`M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18`},null,-1)]])}var FL={render:PL},IL=U({default:()=>zL,render:()=>RL}),LL={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function RL(e,t){return y(),M(`svg`,LL,[...t[0]||=[N(`path`,{d:`M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12`},null,-1)]])}var zL={render:RL},BL=U({default:()=>UL,render:()=>HL}),VL={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function HL(e,t){return y(),M(`svg`,VL,[...t[0]||=[N(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z`,"clip-rule":`evenodd`},null,-1)]])}var UL={render:HL},WL=U({default:()=>qL,render:()=>KL}),GL={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function KL(e,t){return y(),M(`svg`,GL)}var qL={render:KL},JL=U({default:()=>ZL,render:()=>XL}),YL={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function XL(e,t){return y(),M(`svg`,YL,[...t[0]||=[Ze(`<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>`,29)]])}var ZL={render:XL},QL=U({default:()=>tR,render:()=>eR}),$L={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function eR(e,t){return y(),M(`svg`,$L,[...t[0]||=[N(`path`,{fill:`#512BD4`,d:`M22 2H2v20h20z`},null,-1),N(`path`,{fill:`#fff`,d:`M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z`},null,-1)]])}var tR={render:eR},nR=U({default:()=>aR,render:()=>iR}),rR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function iR(e,t){return y(),M(`svg`,rR,[...t[0]||=[Ze(`<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.04-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>`,9)]])}var aR={render:iR},oR=U({default:()=>lR,render:()=>cR}),sR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cR(e,t){return y(),M(`svg`,sR,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z`},null,-1)]])}var lR={render:cR},uR=U({default:()=>pR,render:()=>fR}),dR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function fR(e,t){return y(),M(`svg`,dR,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z`},null,-1)]])}var pR={render:fR},mR=U({default:()=>_R,render:()=>gR}),hR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function gR(e,t){return y(),M(`svg`,hR,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z`},null,-1)]])}var _R={render:gR},vR=U({default:()=>xR,render:()=>bR}),yR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bR(e,t){return y(),M(`svg`,yR,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`M1.81 10.714c-.046 0-.058-.023-.034-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z`},null,-1),N(`path`,{fill:`currentColor`,d:`M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z`},null,-1)]])}var xR={render:bR},SR=U({default:()=>TR,render:()=>wR}),CR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wR(e,t){return y(),M(`svg`,CR,[...t[0]||=[N(`path`,{fill:`#FF5B11`,d:`M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787`,opacity:`.993`},null,-1),N(`path`,{fill:`#FF9758`,d:`M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z`},null,-1)]])}var TR={render:wR},ER=U({default:()=>kR,render:()=>OR}),DR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function OR(e,t){return y(),M(`svg`,DR,[...t[0]||=[N(`path`,{fill:`#FF2D20`,d:`M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z`},null,-1)]])}var kR={render:OR},AR=U({default:()=>NR,render:()=>MR}),jR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function MR(e,t){return y(),M(`svg`,jR,[...t[0]||=[Ze(`<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>`,2)]])}var NR={render:MR},PR=U({default:()=>LR,render:()=>IR}),FR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function IR(e,t){return y(),M(`svg`,FR,[...t[0]||=[N(`path`,{fill:`#E0234E`,"fill-rule":`evenodd`,d:`M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.017a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217`,"clip-rule":`evenodd`},null,-1)]])}var LR={render:IR},RR=U({default:()=>VR,render:()=>BR}),zR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function BR(e,t){return y(),M(`svg`,zR,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04`},null,-1)]])}var VR={render:BR},HR=U({default:()=>GR,render:()=>WR}),UR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function WR(e,t){return y(),M(`svg`,UR,[...t[0]||=[Ze(`<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>`,2)]])}var GR={render:WR},KR=U({default:()=>YR,render:()=>JR}),qR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function JR(e,t){return y(),M(`svg`,qR,[...t[0]||=[N(`path`,{fill:`#00DC82`,d:`M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488`},null,-1)]])}var YR={render:JR},XR=U({default:()=>$R,render:()=>QR}),ZR={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function QR(e,t){return y(),M(`svg`,ZR,[...t[0]||=[Ze(`<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>`,10)]])}var $R={render:QR},ez=U({default:()=>rz,render:()=>nz}),tz={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function nz(e,t){return y(),M(`svg`,tz,[...t[0]||=[N(`path`,{stroke:`#21FA90`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91`},null,-1),N(`path`,{stroke:`#00050B`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`.885`,d:`m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217`},null,-1)]])}var rz={render:nz},iz=U({default:()=>sz,render:()=>oz}),az={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function oz(e,t){return y(),M(`svg`,az,[...t[0]||=[N(`path`,{fill:`#61DAFB`,d:`M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565`},null,-1),N(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z`},null,-1),N(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z`},null,-1),N(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z`},null,-1)]])}var sz={render:oz},cz=U({default:()=>dz,render:()=>uz}),lz={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function uz(e,t){return y(),M(`svg`,lz,[...t[0]||=[N(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var dz={render:uz},fz=U({default:()=>hz,render:()=>mz}),pz={xmlns:`http://www.w3.org/2000/svg`,fill:`green`,viewBox:`-2 0 24 24`};function mz(e,t){return y(),M(`svg`,pz,[...t[0]||=[N(`path`,{fill:`#FF3E00`,d:`M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182`},null,-1),N(`path`,{fill:`#fff`,d:`M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489`},null,-1)]])}var hz={render:mz},gz=U({default:()=>yz,render:()=>vz}),_z={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vz(e,t){return y(),M(`svg`,_z,[...t[0]||=[N(`path`,{fill:`#41B883`,d:`m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z`},null,-1),N(`path`,{fill:`#34495E`,d:`m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z`},null,-1)]])}var yz={render:vz},bz=Object.assign({"../icons/Add.svg":fk,"../icons/AddTab.svg":gk,"../icons/Alert.svg":bk,"../icons/ArrowLeft.svg":wk,"../icons/ArrowRight.svg":Ok,"../icons/Brackets.svg":Mk,"../icons/Branch.svg":Ik,"../icons/Changelog.svg":Bk,"../icons/Checkmark.svg":Wk,"../icons/ChevronDown.svg":Jk,"../icons/ChevronLeft.svg":Qk,"../icons/ChevronRight.svg":nA,"../icons/ChevronUp.svg":oA,"../icons/Clipboard.svg":uA,"../icons/Close.svg":mA,"../icons/CloseTab.svg":vA,"../icons/CloseTabs.svg":SA,"../icons/Cloud.svg":EA,"../icons/CodeFolder.svg":AA,"../icons/Cog.svg":PA,"../icons/Collection.svg":RA,"../icons/Cookie.svg":HA,"../icons/DarkMode.svg":KA,"../icons/Delete.svg":XA,"../icons/Discord.svg":ej,"../icons/DocsPage.svg":ij,"../icons/Download.svg":cj,"../icons/Duplicate.svg":fj,"../icons/Edit.svg":gj,"../icons/Ellipses.svg":bj,"../icons/Email.svg":wj,"../icons/Error.svg":Oj,"../icons/Example.svg":Mj,"../icons/ExternalLink.svg":Ij,"../icons/FilterList.svg":Bj,"../icons/Folder.svg":Wj,"../icons/GitHub.svg":Jj,"../icons/GitHubLine.svg":Qj,"../icons/Globe.svg":nM,"../icons/Google.svg":oM,"../icons/Help.svg":uM,"../icons/Hide.svg":mM,"../icons/History.svg":vM,"../icons/House.svg":SM,"../icons/Import.svg":EM,"../icons/Info.svg":AM,"../icons/Key.svg":PM,"../icons/Leave.svg":RM,"../icons/LightDarkModeToggle.svg":HM,"../icons/LightMode.svg":KM,"../icons/Link.svg":XM,"../icons/Lock.svg":eN,"../icons/Logo.svg":iN,"../icons/Magic.svg":cN,"../icons/Markdown.svg":fN,"../icons/Menu.svg":gN,"../icons/NotAllowed.svg":bN,"../icons/Page.svg":wN,"../icons/Pencil.svg":ON,"../icons/Play.svg":MN,"../icons/Refresh.svg":IN,"../icons/Roadmap.svg":BN,"../icons/Scribble.svg":WN,"../icons/Search.svg":JN,"../icons/Server.svg":QN,"../icons/Settings.svg":nP,"../icons/Show.svg":oP,"../icons/Sort.svg":uP,"../icons/Terminal.svg":mP,"../icons/Trash.svg":vP,"../icons/Unlock.svg":SP,"../icons/Unwatch.svg":EP,"../icons/Upload.svg":AP,"../icons/User.svg":PP,"../icons/UserSwitch.svg":RP,"../icons/Users.svg":HP,"../icons/Versions.svg":KP,"../icons/Wallet.svg":XP,"../icons/Watch.svg":eF,"../icons/Workspace.svg":iF,"../icons/programming-framework-angular.svg":cF,"../icons/programming-framework-astro.svg":fF,"../icons/programming-framework-laravel.svg":gF,"../icons/programming-framework-nextdotjs.svg":bF,"../icons/programming-framework-react.svg":wF,"../icons/programming-framework-vuedotjs.svg":OF,"../icons/programming-language-c.svg":MF,"../icons/programming-language-clojure.svg":IF,"../icons/programming-language-csharp.svg":BF,"../icons/programming-language-css3.svg":WF,"../icons/programming-language-dart.svg":JF,"../icons/programming-language-fsharp.svg":QF,"../icons/programming-language-go.svg":nI,"../icons/programming-language-html5.svg":oI,"../icons/programming-language-http.svg":uI,"../icons/programming-language-java.svg":mI,"../icons/programming-language-javascript.svg":vI,"../icons/programming-language-json.svg":SI,"../icons/programming-language-kotlin.svg":EI,"../icons/programming-language-node.svg":AI,"../icons/programming-language-objc.svg":PI,"../icons/programming-language-ocaml.svg":RI,"../icons/programming-language-php.svg":HI,"../icons/programming-language-powershell.svg":KI,"../icons/programming-language-python.svg":XI,"../icons/programming-language-r.svg":eL,"../icons/programming-language-ruby.svg":iL,"../icons/programming-language-rust.svg":cL,"../icons/programming-language-scala.svg":fL,"../icons/programming-language-shell.svg":gL,"../icons/programming-language-swift.svg":bL,"../icons/programming-language-typescript.svg":wL,"../icons/programming-script-code.svg":OL,"../icons/programming-tool-git.svg":ML,"../icons/programming-tool-tailwindcss.svg":IL}),xz=Object.assign({"../logos/Adonisjs.svg":BL,"../logos/Astro.svg":WL,"../logos/Docusaurus.svg":JL,"../logos/Dotnet.svg":QL,"../logos/Elysiajs.svg":nR,"../logos/Express.svg":oR,"../logos/Fastapi.svg":uR,"../logos/Fastify.svg":mR,"../logos/Go.svg":vR,"../logos/Hono.svg":SR,"../logos/Laravel.svg":ER,"../logos/Litestar.svg":AR,"../logos/Nestjs.svg":PR,"../logos/Nextjs.svg":RR,"../logos/Nitro.svg":HR,"../logos/Nuxt.svg":KR,"../logos/Openapi.svg":XR,"../logos/Platformatic.svg":ez,"../logos/React.svg":iz,"../logos/Rust.svg":cz,"../logos/Svelte.svg":fz,"../logos/Vue.svg":gz}),Sz=e=>{let t=`../icons/${e}.svg`;return bz[t]?bz[t]:(console.warn(`Could not find icon: ${e}`),null)},Cz=e=>{let t=`../logos/${e}.svg`;return xz[t]?xz[t]:(console.warn(`Could not find icon: ${e}`),null)},wz=rc({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}}),Tz=uk(w({inheritAttrs:!1,__name:`ScalarIcon`,props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){qt(e=>({c07589c2:r.value}));let t=e,{cx:n}=ac(),r=j(()=>t.thickness??`2`),i=j(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:`presentation`}),a=j(()=>{if(t.icon)return Sz(t.icon);if(t.logo)return Cz(t.logo)});return(t,r)=>(y(),O(x(a.value),qe($e({...T(n)(`scalar-icon`,T(wz)({size:e.size})),...i.value})),null,16))}}),[[`__scopeId`,`data-v-b651bb23`]]),Ez=w({inheritAttrs:!1,__name:`ScalarIconLegacyAdapter`,props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=ac();return(n,r)=>typeof e.icon==`string`?(y(),O(Tz,o({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,[`icon`])):(y(),O(x(e.icon),o({key:1,label:e.label,weight:e.weight},T(t)(T(wz)({size:e.size}))),null,16,[`label`,`weight`]))}}),Dz={class:`circular-loader`},Oz=uk(w({inheritAttrs:!1,__name:`ScalarLoading`,props:{loader:{},size:{}},setup(e){let{cx:t}=ac(),n=rc({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}});return(r,i)=>e.loader?(y(),M(`div`,qe(o({key:0},T(t)(`loader-wrapper`,T(n)({size:e.size})))),[(y(),M(`svg`,{class:v([`svg-loader`,{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:`0 0 100 100`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`},[i[0]||=Ze(`<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>`,5),N(`g`,Dz,[N(`circle`,{class:v([`loader-path`,{"loader-path-off":!e.loader.isLoading}]),cx:`50`,cy:`50`,fill:`none`,r:`20`,"stroke-width":`3`},null,2)])],2))],16)):k(``,!0)}}),[[`__scopeId`,`data-v-27df5cd8`]]),kz={solid:[`scalar-button-solid`,`bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1`],outlined:[`scalar-button-outlined`,`active:bg-btn-1 shadow-border bg-b-1 text-c-1 hover:bg-b-2`],ghost:[`scalar-button-ghost`,`bg-transparent text-c-2 active:text-c-1 hover:text-c-1`],gradient:[`scalar-button-gradient`,`shadow-border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t`,`dark:bg-linear-to-t dark:hover:bg-linear-to-b`],danger:[`scalar-button-danger`,`bg-c-danger text-white active:brightness-90 hover:brightness-90`]},Az={key:3,class:`centered`},jz=w({inheritAttrs:!1,__name:`ScalarButton`,props:{is:{default:`button`},variant:{default:`solid`},size:{default:`md`},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){let t=rc({base:`scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1`,variants:{disabled:{true:`bg-b-2 text-color-3 shadow-none`},size:{xs:`px-2 py-1 text-xs/4`,sm:`px-3.5 py-2 text-sm/4`,md:`px-5 py-3 text-sm/4`},variant:kz},compoundVariants:[{disabled:!0,variant:[`solid`,`outlined`,`ghost`,`gradient`,`danger`],class:`bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]`},{disabled:!0,variant:[`gradient`],class:`to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t`}]}),n=rc({base:`shrink-0`,variants:{size:{xs:`size-2.75 -ml-0.25 mr-1`,sm:`size-3.5 -ml-0.25 mr-1`,md:`size-3.5 -ml-0.5 mr-1.5`}}}),r=rc({variants:{size:{xs:`size-4`,sm:`size-5`,md:`size-6`}}}),{cx:i}=ac();return(a,s)=>(y(),O(x(e.is),o({"aria-disabled":e.disabled||void 0,type:e.is===`button`?`button`:void 0},T(i)(T(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:E(()=>[a.$slots.icon||e.icon?(y(),M(`div`,{key:0,class:v([T(n)({size:e.size}),{invisible:e.loader?.isActive}])},[S(a.$slots,`icon`,{},()=>[(y(),O(x(e.icon),{class:`size-full`}))])],2)):k(``,!0),e.loader?(y(),M(`span`,{key:1,class:v({invisible:e.loader?.isActive})},[S(a.$slots,`default`)],2)):S(a.$slots,`default`,{key:2}),e.loader?.isActive?(y(),M(`div`,Az,[D(T(Oz),{class:v(T(r)({size:e.size})),loader:e.loader},null,8,[`class`,`loader`])])):k(``,!0)]),_:3},16,[`aria-disabled`,`type`]))}});function Mz(e){return e?.options!==void 0}function Nz(e){return e[0]?Mz(e[0]):!1}var Pz=((e,t)=>e===``?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()))),Fz=w({__name:`ScalarListboxCheckbox`,props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(y(),M(`div`,{class:v([`flex size-4 items-center justify-center p-0.75`,[e.selected?`bg-c-accent text-b-1`:`text-transparent shadow-border`,e.multiselect?`rounded`:`rounded-full`]])},[e.selected?(y(),O(T(to),{key:0,class:`size-3`,weight:`bold`})):k(``,!0)],2))}}),Iz=[`aria-selected`],Lz=w({__name:`ScalarComboboxOption`,props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=rc({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`}}});return(n,r)=>(y(),M(`li`,{"aria-selected":e.selected,class:v(T(ic)(T(t)({active:e.active,selected:e.selected}))),role:`option`,tabindex:`-1`},[S(n.$slots,`default`,{active:e.active,selected:e.selected})],10,Iz))}}),Rz=[`id`,`aria-labelledby`,`role`],zz=[`id`],Bz=w({__name:`ScalarComboboxOptionGroup`,props:{id:{default:()=>xe()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(y(),M(`div`,{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:`contents`,role:e.hidden?void 0:`group`},[e.hidden?k(``,!0):(y(),M(`div`,{key:0,id:`${e.id}-label`,class:`min-w-0 truncate px-2.5 py-1.5 text-c-2`},[S(t.$slots,`label`)],8,zz)),S(t.$slots,`default`)],8,Rz))}}),Vz={class:`relative flex`},Hz=[`aria-activedescendant`,`placeholder`],Uz=[`aria-multiselectable`],Wz={class:`inline-block min-w-0 flex-1 truncate text-c-1`},Gz=w({inheritAttrs:!1,__name:`ScalarComboboxOptions`,props:Ie({options:{},placeholder:{},filterFn:{type:Function,default:Pz},multiselect:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:Ie([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=le(e,`modelValue`),i=a(),o=`scalar-combobox-items-${xe()}`,s={id:`${xe()}-add`,label:`Add a new option`};function c(e){return`${o}-${e.id}`}let l=j(()=>Nz(e.options)?e.options.flatMap(e=>e.options):e.options),u=j(()=>Nz(e.options)?e.options:[{label:``,options:e.options}]),d=A(``),f=A(r.value?.[0]??l.value[0]);ue(()=>{d.value=``,f.value=r.value?.[0]??l.value[0],r.value[0]&&setTimeout(()=>{let e=r.value[0];e&&document?.getElementById(c(e))?.scrollIntoView({block:`nearest`})},10)}),Xe(()=>d.value,()=>f.value=m.value[0]);let p=j(()=>e.filterFn(d.value,l.value,u.value)),m=j(()=>i.add?[...p.value,s]:p.value);function h(t){if(t){if(t.id===s.id){v();return}e.multiselect?r.value.some(e=>e.id===t.id)?r.value=r.value.filter(e=>e.id!==t.id):r.value=[...r.value,l.value.find(e=>e.id===t.id)]:r.value=[l.value.find(e=>e.id===t.id)]}}function g(e){let t=m.value,n=t.findIndex(e=>e.id===f.value?.id)+e;n<0||n>t.length-1||(f.value=t[n],f.value&&document?.getElementById(c(f.value))?.scrollIntoView({behavior:`smooth`,block:`nearest`}))}function v(){n(`add`),d.value=``}let b=A(null);return ue(()=>setTimeout(()=>b.value?.focus(),0)),(t,n)=>(y(),M(Ne,null,[N(`div`,Vz,[D(T(ro),{class:`pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4`}),We(N(`input`,{ref_key:`input`,ref:b,"onUpdate:modelValue":n[0]||=e=>d.value=e,"aria-activedescendant":f.value?c(f.value):void 0,"aria-autocomplete":`list`,"aria-controls":o,class:`min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1`,"data-1p-ignore":``,placeholder:e.placeholder,role:`combobox`,tabindex:`0`,type:`text`,onKeydown:[n[1]||=zn(Ln(e=>g(1),[`prevent`]),[`down`]),n[2]||=zn(Ln(e=>f.value&&h(f.value),[`prevent`]),[`enter`]),n[3]||=zn(Ln(e=>g(-1),[`prevent`]),[`up`])]},null,40,Hz),[[wn,d.value]])]),We(N(`ul`,{id:o,"aria-multiselectable":e.multiselect,class:`border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0`,role:`listbox`,tabindex:`-1`},[(y(!0),M(Ne,null,_(u.value,(i,a)=>(y(),O(Bz,{id:`${o}-group-${a}`,key:a,hidden:!i.options.some(e=>p.value.some(t=>t.id===e.id))||!i.label},{label:E(()=>[t.$slots.group?S(t.$slots,`group`,{key:0,group:i}):(y(),M(Ne,{key:1},[tt(be(i.label),1)],64))]),default:E(()=>[(y(!0),M(Ne,null,_(p.value,a=>(y(),M(Ne,{key:a.id},[i.options.some(e=>e.id===a.id)?(y(),O(Lz,{key:0,id:c(a),active:f.value?.id===a.id,selected:r.value.some(e=>e.id===a.id),onClick:e=>h(a),onMousedown:n[4]||=Ln(()=>{},[`prevent`]),onMouseenter:e=>f.value=a},{default:E(({active:n,selected:i})=>[t.$slots.option?S(t.$slots,`option`,{key:0,active:n,option:a,selected:i}):(y(),M(Ne,{key:1},[D(T(Fz),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===a.id)},null,8,[`multiselect`,`selected`]),N(`span`,Wz,be(a.label),1)],64))]),_:2},1032,[`id`,`active`,`selected`,`onClick`,`onMouseenter`])):k(``,!0)],64))),128))]),_:2},1032,[`id`,`hidden`]))),128)),i.add?(y(),O(Lz,{key:0,id:c(s),active:f.value?.id===s.id,onClick:v,onMousedown:n[5]||=Ln(()=>{},[`prevent`]),onMouseenter:n[6]||=e=>f.value=s},{default:E(({active:e})=>[D(T(ao),{class:`size-4 p-px`}),S(t.$slots,`add`,{active:e})]),_:3},8,[`id`,`active`])):k(``,!0)],8,Uz),[[Wt,p.value.length||i.add]])],64))}}),Kz=Symbol(),qz=()=>f(Kz,`body`),Jz=e=>{let t=e??`scalar-teleport-${xe()}`;return pe(Kz,`#${t}`),t},Yz=w({inheritAttrs:!1,__name:`ScalarTeleport`,props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=qz();return(n,r)=>(y(),O(Ue,{defer:!e.immediate,disabled:e.disabled,to:e.to||T(t)},[N(`div`,o({class:`scalar-app`,style:{display:`contents`}},n.$attrs),[S(n.$slots,`default`)],16)],8,[`defer`,`disabled`,`to`]))}});function Xz(e,t={enabled:A(!0)}){let n=A(0),r=A(0),i=A();return typeof ResizeObserver<`u`&&(i.value=new ResizeObserver(([e])=>{e&&(n.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),Xe([()=>d(t.enabled),()=>d(e)],([e,t])=>{!t||!i.value||(e?i.value.observe(t):i.value.disconnect())},{immediate:!0}),{width:j(()=>d(t.enabled)?`${n.value}px`:void 0),height:j(()=>d(t.enabled)?`${r.value}px`:void 0)}}var Zz=[`top`,`right`,`bottom`,`left`],Qz=Math.min,$z=Math.max,eB=Math.round,tB=Math.floor,nB=e=>({x:e,y:e}),rB={left:`right`,right:`left`,bottom:`top`,top:`bottom`},iB={start:`end`,end:`start`};function aB(e,t,n){return $z(e,Qz(t,n))}function oB(e,t){return typeof e==`function`?e(t):e}function sB(e){return e.split(`-`)[0]}function cB(e){return e.split(`-`)[1]}function lB(e){return e===`x`?`y`:`x`}function uB(e){return e===`y`?`height`:`width`}var dB=new Set([`top`,`bottom`]);function fB(e){return dB.has(sB(e))?`y`:`x`}function pB(e){return lB(fB(e))}function mB(e,t,n){n===void 0&&(n=!1);let r=cB(e),i=pB(e),a=uB(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=CB(o)),[o,CB(o)]}function hB(e){let t=CB(e);return[gB(e),t,gB(t)]}function gB(e){return e.replace(/start|end/g,e=>iB[e])}var _B=[`left`,`right`],vB=[`right`,`left`],yB=[`top`,`bottom`],bB=[`bottom`,`top`];function xB(e,t,n){switch(e){case`top`:case`bottom`:return n?t?vB:_B:t?_B:vB;case`left`:case`right`:return t?yB:bB;default:return[]}}function SB(e,t,n,r){let i=cB(e),a=xB(sB(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(gB)))),a}function CB(e){return e.replace(/left|right|bottom|top/g,e=>rB[e])}function wB(e){return{top:0,right:0,bottom:0,left:0,...e}}function TB(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:wB(e)}function EB(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function DB(e,t,n){let{reference:r,floating:i}=e,a=fB(t),o=pB(t),s=uB(o),c=sB(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(cB(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var OB=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=DB(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=DB(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function kB(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=oB(t,e),p=TB(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=EB(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=EB(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var AB=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=oB(e,t)||{};if(l==null)return{};let d=TB(u),f={x:n,y:r},p=pB(i),m=uB(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],ee=f[p]-a.reference[p],x=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),te=x?x[y]:0;(!te||!await(o.isElement==null?void 0:o.isElement(x)))&&(te=s.floating[y]||a.floating[m]);let S=b/2-ee/2,ne=te/2-h[m]/2-1,re=Qz(d[_],ne),ie=Qz(d[v],ne),ae=re,oe=te-h[m]-ie,C=te/2-h[m]/2+S,se=aB(ae,C,oe),ce=!c.arrow&&cB(i)!=null&&C!==se&&a.reference[m]/2-(C<ae?re:ie)-h[m]/2<0,le=ce?C<ae?C-ae:C-oe:0;return{[p]:f[p]+le,data:{[p]:se,centerOffset:C-se-le,...ce&&{alignmentOffset:le}},reset:ce}}}),jB=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=oB(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=sB(r),_=fB(o),v=sB(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[CB(o)]:hB(o)),ee=p!==`none`;!d&&ee&&b.push(...SB(o,m,p,y));let x=[o,...b],te=await kB(t,h),S=[],ne=i.flip?.overflows||[];if(l&&S.push(te[g]),u){let e=mB(r,a,y);S.push(te[e[0]],te[e[1]])}if(ne=[...ne,{placement:r,overflows:S}],!S.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=x[e];if(t&&(!(u===`alignment`&&_!==fB(t))||ne.every(e=>fB(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:ne},reset:{placement:t}};let n=ne.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=ne.filter(e=>{if(ee){let t=fB(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function MB(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function NB(e){return Zz.some(t=>e[t]>=0)}var PB=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=oB(e,t);switch(r){case`referenceHidden`:{let e=MB(await kB(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:NB(e)}}}case`escaped`:{let e=MB(await kB(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:NB(e)}}}default:return{}}}}},FB=new Set([`left`,`top`]);async function IB(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=sB(n),s=cB(n),c=fB(n)===`y`,l=FB.has(o)?-1:1,u=a&&c?-1:1,d=oB(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var LB=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await IB(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},RB=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=oB(e,t),l={x:n,y:r},u=await kB(t,c),d=fB(sB(i)),f=lB(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=aB(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=aB(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},zB=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=oB(e,t),u={x:n,y:r},d=fB(i),f=lB(d),p=u[f],m=u[d],h=oB(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=FB.has(sB(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},BB=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=oB(e,t),u=await kB(t,l),d=sB(i),f=cB(i),p=fB(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=Qz(h-u[g],v),ee=Qz(m-u[_],y),x=!t.middlewareData.shift,te=b,S=ee;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(te=v),x&&!f){let e=$z(u.left,0),t=$z(u.right,0),n=$z(u.top,0),r=$z(u.bottom,0);p?S=m-2*(e!==0||t!==0?e+t:$z(u.left,u.right)):te=h-2*(n!==0||r!==0?n+r:$z(u.top,u.bottom))}await c({...t,availableWidth:S,availableHeight:te});let ne=await o.getDimensions(s.floating);return m!==ne.width||h!==ne.height?{reset:{rects:!0}}:{}}}};function VB(){return typeof window<`u`}function HB(e){return GB(e)?(e.nodeName||``).toLowerCase():`#document`}function UB(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function WB(e){return((GB(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function GB(e){return VB()?e instanceof Node||e instanceof UB(e).Node:!1}function KB(e){return VB()?e instanceof Element||e instanceof UB(e).Element:!1}function qB(e){return VB()?e instanceof HTMLElement||e instanceof UB(e).HTMLElement:!1}function JB(e){return!VB()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof UB(e).ShadowRoot}var YB=new Set([`inline`,`contents`]);function XB(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=lV(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!YB.has(i)}var ZB=new Set([`table`,`td`,`th`]);function QB(e){return ZB.has(HB(e))}var $B=[`:popover-open`,`:modal`];function eV(e){return $B.some(t=>{try{return e.matches(t)}catch{return!1}})}var tV=[`transform`,`translate`,`scale`,`rotate`,`perspective`],nV=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],rV=[`paint`,`layout`,`strict`,`content`];function iV(e){let t=oV(),n=KB(e)?lV(e):e;return tV.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||nV.some(e=>(n.willChange||``).includes(e))||rV.some(e=>(n.contain||``).includes(e))}function aV(e){let t=dV(e);for(;qB(t)&&!cV(t);){if(iV(t))return t;if(eV(t))return null;t=dV(t)}return null}function oV(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var sV=new Set([`html`,`body`,`#document`]);function cV(e){return sV.has(HB(e))}function lV(e){return UB(e).getComputedStyle(e)}function uV(e){return KB(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dV(e){if(HB(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||JB(e)&&e.host||WB(e);return JB(t)?t.host:t}function fV(e){let t=dV(e);return cV(t)?e.ownerDocument?e.ownerDocument.body:e.body:qB(t)&&XB(t)?t:fV(t)}function pV(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=fV(e),i=r===e.ownerDocument?.body,a=UB(r);if(i){let e=mV(a);return t.concat(a,a.visualViewport||[],XB(r)?r:[],e&&n?pV(e):[])}return t.concat(r,pV(r,[],n))}function mV(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function hV(e){let t=lV(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=qB(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=eB(n)!==a||eB(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function gV(e){return KB(e)?e:e.contextElement}function _V(e){let t=gV(e);if(!qB(t))return nB(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=hV(t),o=(a?eB(n.width):n.width)/r,s=(a?eB(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var vV=nB(0);function yV(e){let t=UB(e);return!oV()||!t.visualViewport?vV:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bV(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==UB(e)?!1:t}function xV(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=gV(e),o=nB(1);t&&(r?KB(r)&&(o=_V(r)):o=_V(e));let s=bV(a,n,r)?yV(a):nB(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=UB(a),t=r&&KB(r)?UB(r):r,n=e,i=mV(n);for(;i&&r&&t!==n;){let e=_V(i),t=i.getBoundingClientRect(),r=lV(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=UB(i),i=mV(n)}}return EB({width:u,height:d,x:c,y:l})}function SV(e,t){let n=uV(e).scrollLeft;return t?t.left+n:xV(WB(e)).left+n}function CV(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-SV(e,n),y:n.top+t.scrollTop}}function wV(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=WB(r),s=t?eV(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=nB(1),u=nB(0),d=qB(r);if((d||!d&&!a)&&((HB(r)!==`body`||XB(o))&&(c=uV(r)),qB(r))){let e=xV(r);l=_V(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?CV(o,c):nB(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function TV(e){return Array.from(e.getClientRects())}function EV(e){let t=WB(e),n=uV(e),r=e.ownerDocument.body,i=$z(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=$z(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+SV(e),s=-n.scrollTop;return lV(r).direction===`rtl`&&(o+=$z(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var DV=25;function OV(e,t){let n=UB(e),r=WB(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=oV();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=SV(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=DV&&(a-=o)}else l<=DV&&(a+=l);return{width:a,height:o,x:s,y:c}}var kV=new Set([`absolute`,`fixed`]);function AV(e,t){let n=xV(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=qB(e)?_V(e):nB(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function jV(e,t,n){let r;if(t===`viewport`)r=OV(e,n);else if(t===`document`)r=EV(WB(e));else if(KB(t))r=AV(t,n);else{let n=yV(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return EB(r)}function MV(e,t){let n=dV(e);return n===t||!KB(n)||cV(n)?!1:lV(n).position===`fixed`||MV(n,t)}function NV(e,t){let n=t.get(e);if(n)return n;let r=pV(e,[],!1).filter(e=>KB(e)&&HB(e)!==`body`),i=null,a=lV(e).position===`fixed`,o=a?dV(e):e;for(;KB(o)&&!cV(o);){let t=lV(o),n=iV(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&kV.has(i.position)||XB(o)&&!n&&MV(e,o))?r=r.filter(e=>e!==o):i=t,o=dV(o)}return t.set(e,r),r}function PV(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?eV(t)?[]:NV(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=jV(t,n,i);return e.top=$z(r.top,e.top),e.right=Qz(r.right,e.right),e.bottom=Qz(r.bottom,e.bottom),e.left=$z(r.left,e.left),e},jV(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function FV(e){let{width:t,height:n}=hV(e);return{width:t,height:n}}function IV(e,t,n){let r=qB(t),i=WB(t),a=n===`fixed`,o=xV(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=nB(0);function l(){c.x=SV(i)}if(r||!r&&!a)if((HB(t)!==`body`||XB(i))&&(s=uV(t)),r){let e=xV(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?CV(i,s):nB(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function LV(e){return lV(e).position===`static`}function RV(e,t){if(!qB(e)||lV(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return WB(e)===n&&(n=n.ownerDocument.body),n}function zV(e,t){let n=UB(e);if(eV(e))return n;if(!qB(e)){let t=dV(e);for(;t&&!cV(t);){if(KB(t)&&!LV(t))return t;t=dV(t)}return n}let r=RV(e,t);for(;r&&QB(r)&&LV(r);)r=RV(r,t);return r&&cV(r)&&LV(r)&&!iV(r)?n:r||aV(e)||n}var BV=async function(e){let t=this.getOffsetParent||zV,n=this.getDimensions,r=await n(e.floating);return{reference:IV(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function VV(e){return lV(e).direction===`rtl`}var HV={convertOffsetParentRelativeRectToViewportRelativeRect:wV,getDocumentElement:WB,getClippingRect:PV,getOffsetParent:zV,getElementRects:BV,getClientRects:TV,getDimensions:FV,getScale:_V,isElement:KB,isRTL:VV};function UV(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function WV(e,t){let n=null,r,i=WB(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=tB(d),h=tB(i.clientWidth-(u+f)),g=tB(i.clientHeight-(d+p)),_=tB(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:$z(0,Qz(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!UV(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function GV(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=gV(e),u=i||a?[...l?pV(l):[],...pV(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?WV(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?xV(e):null;c&&g();function g(){let t=xV(e);h&&!UV(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var KV=LB,qV=RB,JV=jB,YV=BB,XV=PB,ZV=AB,QV=zB,$V=(e,t,n)=>{let r=new Map,i={platform:HV,...n},a={...i.platform,_c:r};return OB(e,t,{...i,platform:a})};function eH(e){return typeof e==`object`&&!!e&&`$el`in e}function tH(e){if(eH(e)){let t=e.$el;return GB(t)&&HB(t)===`#comment`?null:t}return e}function nH(e){return typeof e==`function`?e():T(e)}function rH(e){return{name:`arrow`,options:e,fn(t){let n=tH(nH(e.element));return n==null?{}:ZV({element:n,padding:e.padding}).fn(t)}}}function iH(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function aH(e,t){let n=iH(e);return Math.round(t*n)/n}function oH(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=j(()=>nH(n.open)??!0),a=j(()=>nH(n.middleware)),o=j(()=>nH(n.placement)??`bottom`),s=j(()=>nH(n.strategy)??`absolute`),c=j(()=>nH(n.transform)??!0),l=j(()=>tH(e.value)),u=j(()=>tH(t.value)),d=A(0),f=A(0),p=A(s.value),m=A(o.value),h=nt({}),g=A(!1),_=j(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=aH(u.value,d.value),n=aH(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...iH(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;$V(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function ee(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function x(){i.value||(g.value=!1)}return Xe([a,o,s,i],y,{flush:`sync`}),Xe([l,u],ee,{flush:`sync`}),Xe(i,x,{flush:`sync`}),Re()&&Ge(b),{x:Qe(d),y:Qe(f),strategy:Qe(p),placement:Qe(m),middlewareData:Qe(h),isPositioned:Qe(g),floatingStyles:_,update:y}}var sH=w({inheritAttrs:!1,__name:`ScalarFloating`,props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let n=A(null),r=A(null),i=j(()=>{if(typeof window<`u`&&r.value){if(typeof e.target==`string`){let t=document.getElementById(e.target);if(t)return t;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;let t=r.value.children?.[0];return t instanceof HTMLElement?t:r.value}}),a=Xz(i,{enabled:j(()=>e.resize)}),o=j(()=>fB(e.placement??`bottom`)===`y`?a.width.value:void 0),s=j(()=>fB(e.placement??`bottom`)===`x`?a.height.value:void 0),{floatingStyles:c,middlewareData:l}=oH(i,n,{placement:j(()=>e.placement??`bottom`),whileElementsMounted:GV,middleware:j(()=>[KV(e.offset),JV({padding:48}),qV({padding:8}),YV({apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{maxWidth:`${Math.max(0,e)-16}px`,maxHeight:`${Math.max(0,t)-16}px`})}}),...e.middleware])});return t({targetRef:i}),(t,i)=>(y(),M(Ne,null,[N(`div`,{ref_key:`wrapperRef`,ref:r,class:v({contents:!!t.$slots.default})},[S(t.$slots,`default`)],2),t.$slots.floating?(y(),O(T(Yz),{key:0,disabled:!e.teleport,to:typeof e.teleport==`string`?e.teleport:void 0},{default:E(()=>[N(`div`,{ref_key:`floatingRef`,ref:n,class:`relative z-context`,style:te(T(c))},[S(t.$slots,`floating`,{data:T(l),height:s.value,width:o.value})],4)]),_:3},8,[`disabled`,`to`])):k(``,!0)],64))}}),cH=w({inheritAttrs:!1,__name:`ScalarFloatingBackdrop`,setup(e){let{cx:t}=ac();return(e,n)=>(y(),M(`div`,qe($e(T(t)(`absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted`))),[S(e.$slots,`default`)],16))}}),lH=w({inheritAttrs:!1,__name:`ScalarComboboxPopover`,props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let{cx:n}=ac(),r=A(null),i=e=>{[`ArrowUp`,`ArrowDown`].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Enter`})))};return t({popoverButtonRef:r}),(e,t)=>(y(),O(T(ba),{as:`template`},{default:E(({open:t})=>[D(T(sH),qe($e(e.$props)),Ce({default:E(()=>[D(T(xa),{ref_key:`popoverButtonRef`,ref:r,as:`template`,onKeydown:i},{default:E(()=>[S(e.$slots,`default`,{open:t})]),_:2},1536)]),_:2},[t?{name:`floating`,fn:E(({width:r})=>[D(T(Sa),o({style:{width:r}},T(n)(`relative flex flex-col max-h-[inherit] w-40 rounded text-sm`)),{default:E(({close:n})=>[S(e.$slots,`popover`,{close:n,open:t}),D(T(cH))]),_:2},1040,[`style`])]),key:`0`}:void 0]),1040)]),_:3}))}}),uH=w({__name:`ScalarCombobox`,props:Ie({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:Ie([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=le(e,`modelValue`);return(t,i)=>(y(),O(lH,{middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:E(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:E(({open:i,close:a})=>[D(Gz,{filterFn:e.filterFn,modelValue:r.value?[r.value]:[],open:i,options:e.options,placeholder:e.placeholder,onAdd:()=>(a(),n(`add`)),"onUpdate:modelValue":e=>(a(),r.value=e[0])},Ce({_:2},[t.$slots.option?{name:`option`,fn:E(e=>[S(t.$slots,`option`,qe($e(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:E(e=>[S(t.$slots,`group`,qe($e(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:E(e=>[S(t.$slots,`add`,qe($e(e)))]),key:`2`}:void 0]),1032,[`filterFn`,`modelValue`,`open`,`options`,`placeholder`,`onAdd`,`onUpdate:modelValue`])]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),dH=w({__name:`ScalarComboboxMultiselect`,props:Ie({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:[]},modelModifiers:{}}),emits:Ie([`add`],[`update:modelValue`]),setup(e,{expose:t,emit:n}){let r=n,i=le(e,`modelValue`),a=A(null);return t({comboboxPopoverRef:a}),(t,n)=>(y(),O(lH,{ref_key:`comboboxPopoverRef`,ref:a,middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:E(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:E(({open:a})=>[e.options?.length?(y(),O(Gz,{key:0,modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,filterFn:e.filterFn,multiselect:``,open:a,options:e.options,placeholder:e.placeholder,onAdd:n[1]||=e=>r(`add`)},Ce({_:2},[t.$slots.option?{name:`option`,fn:E(e=>[S(t.$slots,`option`,qe($e(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:E(e=>[S(t.$slots,`group`,qe($e(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:E(e=>[S(t.$slots,`add`,qe($e(e)))]),key:`2`}:void 0]),1032,[`modelValue`,`filterFn`,`open`,`options`,`placeholder`])):k(``,!0)]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),fH={class:`custom-scroll min-h-0 flex-1`},pH={class:`flex flex-col p-0.75`},mH=w({inheritAttrs:!1,__name:`ScalarDropdownMenu`,props:{is:{}},setup(e){let{cx:t}=ac();return(n,r)=>(y(),O(x(e.is??`div`),qe($e(T(t)(`relative flex w-56`))),{default:E(()=>[N(`div`,fH,[S(n.$slots,`menu`,{},()=>[N(`div`,pH,[S(n.$slots,`default`)])]),S(n.$slots,`backdrop`,{},()=>[D(T(cH))])])]),_:3},16))}}),hH=Symbol();function gH(){let e=A();return pe(hH,e),{active:e}}function _H(){let e=f(hH);return e||console.warn(`useDropdownItem must be used within a ScalarDropdown`),{active:e}}function vH(e){return Re()?(Ge(e),!0):!1}var yH=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var bH=e=>e!=null,xH=Object.prototype.toString,SH=e=>xH.call(e)===`[object Object]`,CH=()=>{},wH=TH();function TH(){return yH&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function EH(...e){if(e.length!==1)return et(...e);let t=e[0];return typeof t==`function`?Me(Je(()=>({get:t,set:CH}))):A(t)}function DH(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var OH=e=>e();function kH(e,t={}){let n,r,i=CH,a=e=>{clearTimeout(e),i(),i=CH},o;return s=>{let c=d(e),l=d(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function AH(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function jH(e){return Array.isArray(e)?e:[e]}function MH(e,t=200,n={}){return DH(kH(t,n),e)}function NH(e,t,n={}){let{eventFilter:r=OH,...i}=n;return Xe(e,DH(r,t),i)}function PH(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=nt(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},d(t))}return r&&(a.value=!0,yH&&l()),vH(c),{isPending:Qe(a),start:l,stop:c}}function FH(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return NH(e,t,{...a,eventFilter:kH(r,{maxWait:i})})}function IH(e,t,n){return Xe(e,t,{...n,immediate:!0})}var LH=yH?window:void 0,RH=yH?window.document:void 0,zH=yH?window.navigator:void 0;yH&&window.location;function BH(e){let t=d(e);return t?.$el??t}function VH(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=j(()=>{let t=jH(d(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=IH(()=>[i.value?.map(e=>BH(e))??[LH].filter(e=>e!=null),jH(d(i.value?e[1]:e[0])),jH(T(i.value?e[2]:e[1])),d(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=SH(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return vH(n),()=>{a(),n()}}var HH=!1;function UH(e,t,n={}){let{window:r=LH,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:CH,cancel:CH,trigger:CH}:CH;if(wH&&!HH){HH=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,CH,e)),r.document.documentElement.addEventListener(`click`,CH,e)}let c=!0,l=e=>d(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=BH(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=d(e);return t&&t.$.subTree.shapeFlag===16}function f(e,t){let n=d(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=BH(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&f(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},m=!1,h=[VH(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),VH(r,`pointerdown`,t=>{let n=BH(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&VH(r,`blur`,n=>{setTimeout(()=>{let i=BH(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,p(e),c=!1}}:g}function WH(){let e=nt(!1),t=u();return t&&ue(()=>{e.value=!0},t),e}function GH(e){let t=WH();return j(()=>(t.value,!!e()))}function KH(e,t,n={}){let{window:r=LH,...i}=n,a,o=GH(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Xe(j(()=>{let t=jH(d(e)).map(BH).filter(bH);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return vH(u),{isSupported:o,stop:u,takeRecords:l}}function qH(e,t,n={}){let{window:r=LH,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return CH;let o,s=e=>{o?.(),o=e},c=He(()=>{let n=BH(e);if(n){let{stop:e}=KH(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return vH(l),l}function JH(e={}){let{window:t=LH,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(;e?.shadowRoot;)e=e?.shadowRoot?.activeElement;return e},o=nt(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};VH(t,`blur`,e=>{e.relatedTarget===null&&s()},e),VH(t,`focus`,s,e)}return r&&qH(o,s,{document:i}),s(),o}function YH(e,t={}){let{controls:n=!1,navigator:r=zH}=t,i=GH(()=>r&&`permissions`in r),a=nt(),o=typeof e==`string`?{name:e}:e,s=nt(),c=()=>{s.value=a.value?.state??`prompt`};VH(a,`change`,c,{passive:!0});let l=AH(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return Ee(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function XH(e={}){let{navigator:t=zH,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=GH(()=>t&&`clipboard`in t),s=YH(`clipboard-read`),c=YH(`clipboard-write`),l=j(()=>o.value||a),u=nt(``),f=nt(!1),p=PH(()=>f.value=!1,i,{immediate:!1});async function m(){let e=!(o.value&&v(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=_())}l.value&&n&&VH([`copy`,`cut`],m,{passive:!0});async function h(e=d(r)){if(l.value&&e!=null){let n=!(o.value&&v(c.value));if(!n)try{await t.clipboard.writeText(e)}catch{n=!0}n&&g(e),u.value=e,f.value=!0,p.start()}}function g(e){let t=document.createElement(`textarea`);t.value=e??``,t.style.position=`absolute`,t.style.opacity=`0`,document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function _(){return((document==null?void 0:document.getSelection)?.call(document))?.toString()??``}function v(e){return e===`granted`||e===`prompt`}return{isSupported:l,text:u,copied:f,copy:h}}function ZH(e,t,n={}){let{window:r=LH,...i}=n,a,o=GH(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Xe(j(()=>{let t=d(e);return Array.isArray(t)?t.map(e=>BH(e)):[BH(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return vH(l),{isSupported:o,stop:l}}function QH(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=LH}=t,o=nt(!1),s,c=e=>{let t=e?n:r;s&&=(clearTimeout(s),void 0),t?s=setTimeout(()=>o.value=e,t):o.value=e};return a?(VH(e,`mouseenter`,()=>c(!0),{passive:!0}),VH(e,`mouseleave`,()=>c(!1),{passive:!0}),i&&qH(j(()=>BH(e)),()=>c(!1)),o):o}function $H(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:a=0,window:o=LH,immediate:s=!0}=n,c=GH(()=>o&&`IntersectionObserver`in o),l=j(()=>jH(d(e)).map(BH).filter(bH)),u=CH,f=nt(s),p=c.value?Xe(()=>[l.value,BH(r),f.value],([e,n])=>{if(u(),!f.value||!e.length)return;let r=new IntersectionObserver(t,{root:BH(n),rootMargin:i,threshold:a});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=CH}},{immediate:s,flush:`post`}):CH,m=()=>{u(),p(),f.value=!1};return vH(m),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:m}}function eU(e=null,t={}){let{baseUrl:n=``,rel:r=`icon`,document:i=RH}=t,a=EH(e),o=e=>{let t=i?.head.querySelectorAll(`link[rel*="${r}"]`);if(!t||t.length===0){let t=i?.createElement(`link`);t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(`.`).pop()}`,i?.head.append(t));return}t?.forEach(t=>t.href=`${n}${e}`)};return Xe(a,(e,t)=>{typeof e==`string`&&e!==t&&o(e)},{immediate:!0}),a}var tU=`focusin`,nU=`focusout`,rU=`:focus-within`;function iU(e,t={}){let{window:n=LH}=t,r=j(()=>BH(e)),i=nt(!1),a=j(()=>i.value);if(!n||!JH(t).value)return{focused:a};let o={passive:!0};return VH(r,tU,()=>i.value=!0,o),VH(r,nU,()=>{var e;return i.value=((e=r.value)?.matches)?.call(e,rU)??!1},o),{focused:a}}function aU(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function oU(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:oU(t)}}function sU(e){let t=e||window.event,n=t.target;return oU(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var cU=new WeakMap;function lU(e,t=!1){let n=nt(t),r=null,i=``;Xe(EH(e),e=>{let t=aU(d(e));if(t){let e=t;if(cU.get(e)||cU.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(i=e.style.overflow),e.style.overflow===`hidden`)return n.value=!0;if(n.value)return e.style.overflow=`hidden`}},{immediate:!0});let a=()=>{let t=aU(d(e));!t||n.value||(wH&&(r=VH(t,`touchmove`,e=>{sU(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},o=()=>{let t=aU(d(e));!t||!n.value||(wH&&r?.(),t.style.overflow=i,cU.delete(t),n.value=!1)};return vH(o),j({get(){return n.value},set(e){e?a():o()}})}var uU=[`id`,`aria-activedescendant`,`aria-labelledby`,`onKeydown`],dU=w({inheritAttrs:!1,__name:`ScalarDropdown`,props:Ie({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:[`update:open`],setup(e){let t=A(),n=A(),r=le(e,`open`),{active:i}=gH(),a=xe(),s=A(a),c=xe();async function l(){r.value=!r.value,await Pe(),r.value&&n.value?.focus()}async function u(e){if([`ArrowDown`,`ArrowUp`,` `,`Enter`].includes(e.key))e.preventDefault();else return;r.value||=!0,await Pe(),n.value?.focus(),[`ArrowDown`,` `,`Enter`].includes(e.key)?p(1):e.key===`ArrowUp`&&p(-1)}Xe(()=>t.value?.targetRef,(e,t)=>{e&&(e.id?s.value=e.id:(s.value=a,e.setAttribute(`id`,s.value)),e.setAttribute(`aria-haspopup`,`menu`),e.setAttribute(`aria-expanded`,`${r.value}`),r.value&&e.setAttribute(`aria-controls`,c),e.addEventListener(`click`,l),e.addEventListener(`keydown`,u)),t&&t!==e&&(t.id===a&&t.removeAttribute(`id`),t.removeAttribute(`aria-controls`),t.removeAttribute(`aria-haspopup`),t.removeAttribute(`aria-expanded`),t.removeEventListener(`click`,l),t.removeEventListener(`keydown`,u))},{immediate:!0}),Xe(r,e=>{let n=t.value?.targetRef;n&&(n.setAttribute(`aria-expanded`,`${e}`),e?n.setAttribute(`aria-controls`,c):n.removeAttribute(`aria-controls`))},{immediate:!0});async function d(){t.value?.targetRef?.focus(),r.value=!1}function f(){if(!i.value||!n.value)return;let e=n.value.querySelector(`#${i.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),d())}function p(e){if(!r.value||!n.value)return;let t=Array.from(n.value.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`));if(t.length===0)return;let a=t.findIndex(e=>e.id===i.value);if(a===-1){let n=t[e>0?0:t.length-1];n?.id&&(i.value=n.id);return}let o=a+e;if(o<0||o>t.length-1)return;let s=t[o];s?.id&&(i.value=s.id)}UH(n,d,{ignore:[j(()=>t.value?.targetRef)]});let{cx:m}=ac();return(a,l)=>(y(),O(T(sH),o({ref_key:`floatingRef`,ref:t},a.$props,{placement:e.placement??`bottom-start`}),Ce({default:E(()=>[S(a.$slots,`default`,{open:r.value})]),_:2},[r.value?{name:`floating`,fn:E(({width:e})=>[D(mH,o({style:{width:e}},T(m)(`max-h-[inherit] max-w-[inherit]`)),{menu:E(()=>[N(`div`,{id:T(c),ref_key:`menuRef`,ref:n,"aria-activedescendant":T(i),"aria-labelledby":s.value,class:`flex flex-col p-0.75 outline-none`,role:`menu`,tabindex:`-1`,onClick:Ln(d,[`stop`]),onKeydown:[l[0]||=zn(Ln(e=>p(1),[`prevent`,`stop`]),[`down`]),zn(Ln(f,[`prevent`,`stop`]),[`enter`]),zn(Ln(d,[`prevent`,`stop`]),[`escape`]),zn(Ln(f,[`prevent`,`stop`]),[`space`]),zn(Ln(d,[`prevent`,`stop`]),[`tab`]),l[1]||=zn(Ln(e=>p(-1),[`prevent`,`stop`]),[`up`])]},[S(a.$slots,`items`,{open:r.value})],40,uU)]),_:3},16,[`style`])]),key:`0`}:void 0]),1040,[`placement`]))}}),fU=uk(w({__name:`ScalarDropdownButton`,props:{is:{default:`button`},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=rc({base:[`block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left`,`truncate no-underline text-sm text-c-1`,`cursor-pointer hover:bg-b-2 highlighted:bg-b-2`],variants:{disabled:{true:`pointer-events-none text-c-3`},active:{true:``}},compoundVariants:[{disabled:!1,active:!0,class:`bg-b-2`}]});return(n,r)=>(y(),O(x(e.is),{"aria-disabled":e.disabled,class:v([`item`,T(ic)(`scalar-dropdown-item`,T(t)({active:e.active,disabled:e.disabled}))]),type:e.is===`button`?`button`:void 0},{default:E(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-disabled`,`class`,`type`]))}}),[[`__scopeId`,`data-v-f5e0d3d8`]]),pU={},mU={class:`-mx-0.75 my-0.75 h-border bg-border`};function hU(e,t,n,r,i,a){return y(),M(`div`,mU)}var gU=uk(pU,[[`render`,hU]]),_U=uk(w({__name:`ScalarDropdownItem`,props:{id:{default:()=>xe()},disabled:{type:Boolean}},emits:[`click`],setup(e){let{active:t}=_H();return(n,r)=>(y(),O(fU,{id:e.id,active:T(t)===e.id,disabled:e.disabled,role:`menuitem`,tabindex:`-1`,onClick:r[0]||=e=>n.$emit(`click`,e),onMouseenter:r[1]||=n=>t.value=e.id},{default:E(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`active`,`disabled`]))}}),[[`__scopeId`,`data-v-3402682d`]]),vU={class:`group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline`},yU={class:`text-c-1 whitespace-nowrap`},bU={class:`text-c-1 overflow-hidden text-ellipsis`},xU={class:`overflow-hidden text-ellipsis`},SU={class:`flex h-4 w-4 items-center justify-center`},CU=w({__name:`DataTableInputSelect`,props:{modelValue:{type:[String,Number,Boolean,Array,Object]},value:{},default:{type:[String,Number,Boolean,Array,Object]},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=j(()=>n.value??[]),a=A(!1),o=A(``),s=A(null);Xe(o,e=>{r(`update:modelValue`,e)});let c=e=>{r(`update:modelValue`,e),a.value=!1},l=()=>{o.value.trim()&&c(o.value)},u=()=>{o.value.trim()||r(`update:modelValue`,``),a.value=!1},d=e=>n.modelValue.toString()===e;Xe(a,e=>{e&&Pe(()=>{s.value?.focus()})});let f=j(()=>n.modelValue===void 0?n.default:n.modelValue),p=j(()=>i.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),m=j(()=>{let e=new Set(n.modelValue.toString().split(`,`));return p.value.filter(t=>e.has(t.id))}),h=e=>{r(`update:modelValue`,e.map(e=>e.value).join(`,`))};return(t,n)=>(y(),M(`div`,vU,[e.type===`array`?(y(),O(T(dH),{key:0,modelValue:m.value,options:p.value,"onUpdate:modelValue":h},{default:E(()=>[D(T(jz),{class:`custom-scroll h-full justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none`,fullWidth:``,variant:`ghost`},{default:E(()=>[N(`span`,yU,be(m.value.length>0?m.value.map(e=>e.label).join(`, `):`Select a value`),1),D(T(Tz),{class:`min-w-4`,icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])):a.value?We((y(),M(`input`,{key:1,ref_key:`inputRef`,ref:s,"onUpdate:modelValue":n[0]||=e=>o.value=e,class:`text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none`,placeholder:`Value`,type:`text`,onBlur:u,onKeyup:zn(l,[`enter`])},null,544)),[[wn,o.value]]):(y(),O(T(dU),{key:2,resize:``,value:f.value},{items:E(()=>[(y(!0),M(Ne,null,_(i.value,e=>(y(),O(T(_U),{key:e,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,value:e,onClick:t=>c(e)},{default:E(()=>[N(`div`,{class:v([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,d(e)?`bg-c-accent text-b-1`:`shadow-border text-transparent`])},[D(T(Tz),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),N(`span`,xU,be(e),1)]),_:2},1032,[`value`,`onClick`]))),128)),e.canAddCustomValue?(y(),M(Ne,{key:0},[i.value.length?(y(),O(T(gU),{key:0})):k(``,!0),D(T(_U),{class:`flex items-center gap-1.5`,onClick:n[1]||=e=>a.value=!0},{default:E(()=>[N(`div`,SU,[D(T(Tz),{icon:`Add`,size:`sm`})]),n[2]||=N(`span`,null,`Add value`,-1)]),_:1})],64)):k(``,!0)]),default:E(()=>[D(T(jz),{class:`size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none`,variant:`ghost`},{default:E(()=>[N(`span`,bU,be(f.value??`Select a value`),1),D(T(Tz),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`value`]))]))}});function wU(e){return Array.isArray?Array.isArray(e):FU(e)===`[object Array]`}var TU=1/0;function EU(e){if(typeof e==`string`)return e;let t=e+``;return t==`0`&&1/e==-TU?`-0`:t}function DU(e){return e==null?``:EU(e)}function OU(e){return typeof e==`string`}function kU(e){return typeof e==`number`}function AU(e){return e===!0||e===!1||MU(e)&&FU(e)==`[object Boolean]`}function jU(e){return typeof e==`object`}function MU(e){return jU(e)&&e!==null}function NU(e){return e!=null}function PU(e){return!e.trim().length}function FU(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var IU=`Incorrect 'index' type`,LU=e=>`Invalid value for key ${e}`,RU=e=>`Pattern length exceeds max of ${e}.`,zU=e=>`Missing ${e} property in key`,BU=e=>`Property 'weight' in key '${e}' must be a positive integer`,VU=Object.prototype.hasOwnProperty,HU=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=UU(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function UU(e){let t=null,n=null,r=null,i=1,a=null;if(OU(e)||wU(e))r=e,t=WU(e),n=GU(e);else{if(!VU.call(e,`name`))throw Error(zU(`name`));let o=e.name;if(r=o,VU.call(e,`weight`)&&(i=e.weight,i<=0))throw Error(BU(o));t=WU(o),n=GU(o),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function WU(e){return wU(e)?e:e.split(`.`)}function GU(e){return wU(e)?e.join(`.`):e}function KU(e,t){let n=[],r=!1,i=(e,t,a)=>{if(NU(e))if(!t[a])n.push(e);else{let o=e[t[a]];if(!NU(o))return;if(a===t.length-1&&(OU(o)||kU(o)||AU(o)))n.push(DU(o));else if(wU(o)){r=!0;for(let e=0,n=o.length;e<n;e+=1)i(o[e],t,a+1)}else t.length&&i(o,t,a+1)}};return i(e,OU(t)?t.split(`.`):t,0),r?n:n[0]}var qU={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},JU={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},YU={location:0,threshold:.6,distance:100},XU={useExtendedSearch:!1,getFn:KU,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},ZU={...JU,...qU,...YU,...XU},QU=/[^ ]+/g;function $U(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=t.match(QU).length;if(n.has(i))return n.get(i);let a=1/i**(.5*e),o=parseFloat(Math.round(a*r)/r);return n.set(i,o),o},clear(){n.clear()}}}var eW=class{constructor({getFn:e=ZU.getFn,fieldNormWeight:t=ZU.fieldNormWeight}={}){this.norm=$U(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,OU(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();OU(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)--this.records[t].i}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!NU(e)||PU(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(NU(i)){if(wU(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:n,value:r}=t.pop();if(NU(r))if(OU(r)&&!PU(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else wU(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}n.$[r]=e}else if(OU(i)&&!PU(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}};function tW(e,t,{getFn:n=ZU.getFn,fieldNormWeight:r=ZU.fieldNormWeight}={}){let i=new eW({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(UU)),i.setSources(t),i.create(),i}function nW(e,{getFn:t=ZU.getFn,fieldNormWeight:n=ZU.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new eW({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function rW(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=ZU.distance,ignoreLocation:a=ZU.ignoreLocation}={}){let o=t/e.length;if(a)return o;let s=Math.abs(r-n);return i?o+s/i:s?1:o}function iW(e=[],t=ZU.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}var aW=32;function oW(e,t,n,{location:r=ZU.location,distance:i=ZU.distance,threshold:a=ZU.threshold,findAllMatches:o=ZU.findAllMatches,minMatchCharLength:s=ZU.minMatchCharLength,includeMatches:c=ZU.includeMatches,ignoreLocation:l=ZU.ignoreLocation}={}){if(t.length>aW)throw Error(RU(aW));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=s>1||c,g=h?Array(d):[],_;for(;(_=e.indexOf(t,m))>-1;){let e=rW(t,{currentLocation:_,expectedLocation:f,distance:i,ignoreLocation:l});if(p=Math.min(e,p),m=_+u,h){let e=0;for(;e<u;)g[_+e]=1,e+=1}}m=-1;let v=[],y=1,b=u+d,ee=1<<u-1;for(let r=0;r<u;r+=1){let a=0,s=b;for(;a<s;)rW(t,{errors:r,currentLocation:f+s,expectedLocation:f,distance:i,ignoreLocation:l})<=p?a=s:b=s,s=Math.floor((b-a)/2+a);b=s;let c=Math.max(1,f-s+1),_=o?d:Math.min(f+s,d)+u,x=Array(_+2);x[_+1]=(1<<r)-1;for(let a=_;a>=c;--a){let o=a-1,s=n[e.charAt(o)];if(h&&(g[o]=+!!s),x[a]=(x[a+1]<<1|1)&s,r&&(x[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),x[a]&ee&&(y=rW(t,{errors:r,currentLocation:o,expectedLocation:f,distance:i,ignoreLocation:l}),y<=p)){if(p=y,m=o,m<=f)break;c=Math.max(1,2*f-m)}}if(rW(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:l})>p)break;v=x}let x={isMatch:m>=0,score:Math.max(.001,y)};if(h){let e=iW(g,s);e.length?c&&(x.indices=e):x.isMatch=!1}return x}function sW(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}var cW=String.prototype.normalize?(e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``)):(e=>e),lW=class{constructor(e,{location:t=ZU.location,threshold:n=ZU.threshold,distance:r=ZU.distance,includeMatches:i=ZU.includeMatches,findAllMatches:a=ZU.findAllMatches,minMatchCharLength:o=ZU.minMatchCharLength,isCaseSensitive:s=ZU.isCaseSensitive,ignoreDiacritics:c=ZU.ignoreDiacritics,ignoreLocation:l=ZU.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?cW(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:sW(e),startIndex:t})},d=this.pattern.length;if(d>aW){let e=0,t=d%aW,n=d-t;for(;e<n;)u(this.pattern.substr(e,aW),e),e+=aW;if(t){let e=d-aW;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?cW(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=oW(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&(u=[...u,...g])});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=u),p}},uW=class{constructor(e){this.pattern=e}static isMultiMatch(e){return dW(e,this.multiRegex)}static isSingleMatch(e){return dW(e,this.singleRegex)}search(){}};function dW(e,t){let n=e.match(t);return n?n[1]:null}var fW=class extends uW{constructor(e){super(e)}static get type(){return`exact`}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},pW=class extends uW{constructor(e){super(e)}static get type(){return`inverse-exact`}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=e.indexOf(this.pattern)===-1;return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},mW=class extends uW{constructor(e){super(e)}static get type(){return`prefix-exact`}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},hW=class extends uW{constructor(e){super(e)}static get type(){return`inverse-prefix-exact`}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},gW=class extends uW{constructor(e){super(e)}static get type(){return`suffix-exact`}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},_W=class extends uW{constructor(e){super(e)}static get type(){return`inverse-suffix-exact`}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},vW=class extends uW{constructor(e,{location:t=ZU.location,threshold:n=ZU.threshold,distance:r=ZU.distance,includeMatches:i=ZU.includeMatches,findAllMatches:a=ZU.findAllMatches,minMatchCharLength:o=ZU.minMatchCharLength,isCaseSensitive:s=ZU.isCaseSensitive,ignoreDiacritics:c=ZU.ignoreDiacritics,ignoreLocation:l=ZU.ignoreLocation}={}){super(e),this._bitapSearch=new lW(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l})}static get type(){return`fuzzy`}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}},yW=class extends uW{constructor(e){super(e)}static get type(){return`include`}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n,r=[],i=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+i,r.push([n,t-1]);let a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}},bW=[fW,yW,mW,hW,_W,gW,pW,vW],xW=bW.length,SW=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,CW=`|`;function wW(e,t={}){return e.split(CW).map(e=>{let n=e.trim().split(SW).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<xW;){let e=bW[o],n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),a=!0)}if(!a)for(o=-1;++o<xW;){let e=bW[o],n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}var TW=new Set([vW.type,yW.type]),EW=class{constructor(e,{isCaseSensitive:t=ZU.isCaseSensitive,ignoreDiacritics:n=ZU.ignoreDiacritics,includeMatches:r=ZU.includeMatches,minMatchCharLength:i=ZU.minMatchCharLength,ignoreLocation:a=ZU.ignoreLocation,findAllMatches:o=ZU.findAllMatches,location:s=ZU.location,threshold:c=ZU.threshold,distance:l=ZU.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?cW(e):e,this.pattern=e,this.query=wW(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?cW(e):e;let a=0,o=[],s=0;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:c,indices:l,score:u}=r.search(e);if(c){if(a+=1,s+=u,n){let e=r.constructor.type;TW.has(e)?o=[...o,...l]:o.push(l)}}else{s=0,a=0,o.length=0;break}}if(a){let e={isMatch:!0,score:s/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}},DW=[];function OW(...e){DW.push(...e)}function kW(e,t){for(let n=0,r=DW.length;n<r;n+=1){let r=DW[n];if(r.condition(e,t))return new r(e,t)}return new lW(e,t)}var AW={AND:`$and`,OR:`$or`},jW={PATH:`$path`,PATTERN:`$val`},MW=e=>!!(e[AW.AND]||e[AW.OR]),NW=e=>!!e[jW.PATH],PW=e=>!wU(e)&&jU(e)&&!MW(e),FW=e=>({[AW.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function IW(e,t,{auto:n=!0}={}){let r=e=>{let i=Object.keys(e),a=NW(e);if(!a&&i.length>1&&!MW(e))return r(FW(e));if(PW(e)){let r=a?e[jW.PATH]:i[0],o=a?e[jW.PATTERN]:e[r];if(!OU(o))throw Error(LU(r));let s={keyId:GU(r),pattern:o};return n&&(s.searcher=kW(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];wU(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return MW(e)||(e=FW(e)),r(e)}function LW(e,{ignoreFieldNorm:t=ZU.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),e.score=n})}function RW(e,t){let n=e.matches;t.matches=[],NU(n)&&n.forEach(e=>{if(!NU(e.indices)||!e.indices.length)return;let{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function zW(e,t){t.score=e.score}function BW(e,t,{includeMatches:n=ZU.includeMatches,includeScore:r=ZU.includeScore}={}){let i=[];return n&&i.push(RW),r&&i.push(zW),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}var VW=class{constructor(e,t={},n){this.options={...ZU,...t},this.options.useExtendedSearch,this._keyStore=new HU(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof eW))throw Error(IU);this._myIndex=t||tW(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){NU(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let n=0,r=this._docs.length;n<r;n+=1){let i=this._docs[n];e(i,n)&&(this.removeAt(n),--n,--r,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:n,includeScore:r,shouldSort:i,sortFn:a,ignoreFieldNorm:o}=this.options,s=OU(e)?OU(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return LW(s,{ignoreFieldNorm:o}),i&&s.sort(a),kU(t)&&t>-1&&(s=s.slice(0,t)),BW(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=kW(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!NU(e))return;let{isMatch:a,score:o,indices:s}=t.searchIn(e);a&&r.push({item:e,idx:n,matches:[{score:o,value:e,norm:i,indices:s}]})}),r}_searchLogical(e){let t=IW(e,this.options),n=(e,t,r)=>{if(!e.children){let{keyId:n,searcher:i}=e,a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return a&&a.length?[{idx:r,item:t,matches:a}]:[]}let i=[];for(let a=0,o=e.children.length;a<o;a+=1){let o=e.children[a],s=n(o,t,r);if(s.length)i.push(...s);else if(e.operator===AW.AND)return[]}return i},r=this._myIndex.records,i={},a=[];return r.forEach(({$:e,i:r})=>{if(NU(e)){let o=n(t,e,r);o.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},a.push(i[r])),o.forEach(({matches:e})=>{i[r].matches.push(...e)}))}}),a}_searchObjectList(e){let t=kW(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!NU(e))return;let a=[];n.forEach((n,r)=>{a.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),a.length&&i.push({idx:r,item:e,matches:a})}),i}_findMatches({key:e,value:t,searcher:n}){if(!NU(t))return[];let r=[];if(wU(t))t.forEach(({v:t,i,n:a})=>{if(!NU(t))return;let{isMatch:o,score:s,indices:c}=n.searchIn(t);o&&r.push({score:s,key:e,value:t,idx:i,norm:a,indices:c})});else{let{v:i,n:a}=t,{isMatch:o,score:s,indices:c}=n.searchIn(i);o&&r.push({score:s,key:e,value:i,norm:a,indices:c})}return r}};VW.version=`7.1.0`,VW.createIndex=tW,VW.parseIndex=nW,VW.config=ZU,VW.parseQuery=IW,OW(EW);var HW=[`id`],UW=[`id`,`aria-selected`,`onClick`],WW={class:`flex items-center gap-2 whitespace-nowrap`},GW={key:1,class:`text-c-3 bg-b-3 flex h-4.5 min-w-4.5 items-center justify-center rounded px-0.5 font-sans text-[9px] font-semibold`},KW={class:`max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap`},qW=12,JW=w({__name:`EnvironmentVariablesDropdown`,props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:[`select`,`redirect`,`close`],setup(e,{expose:t,emit:n}){let r=n,i=A(!0),a=A(null),o=A(0),s=()=>{r(`redirect`),i.value=!1,r(`close`)},c=j(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:typeof e.value==`string`?e.value:e.value.default}))),l=j(()=>e.contextFunctionItems.map(e=>({kind:`context`,key:e.key,secondary:e.description}))),u=j(()=>c.value.filter(({key:e,value:t})=>e!==``||t!==``).map(({key:e,value:t})=>({kind:`env`,key:e,secondary:t}))),d=j(()=>u.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),f=j(()=>l.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),p=j(()=>new VW(d.value,{keys:[`fuseText`],threshold:.35})),m=j(()=>new VW(f.value,{keys:[`fuseText`],threshold:.35})),h=j(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return Ese.flatMap(e=>{let n=t.get(e);return n?[{kind:`context`,key:n.key,secondary:n.description}]:[]})}),g=j(()=>{if(!e.query.trim())return[...u.value.slice(-4),...h.value];let t=e.query.trim(),n=p.value.search(t,{limit:qW}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}),r=qW-n.length,i=r>0?m.value.search(t,{limit:r}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}):[];return[...n,...i]}),b=t=>e.listboxId?`${e.listboxId}-option-${t}`:void 0,ee=j(()=>g.value.length?b(o.value):void 0),x=e=>{r(`select`,e)};Xe(()=>g.value.length,e=>{o.value>e-1&&(o.value=Math.max(0,e-1))}),t({handleArrowKey:e=>{let t=e===`up`?-1:1,n=g.value.length;n!==0&&(o.value=(o.value+t+n)%n)},handleSelect:()=>{if(o.value>=0){let e=g.value[o.value];e&&x(e.key)}},activeOptionId:ee}),ue(()=>{o.value=0});let S=j(()=>({left:(e.dropdownPosition?.left??0)+`px`,top:(e.dropdownPosition?.top??0)+5+`px`}));return UH(a,()=>{i.value=!1,r(`close`)},{ignore:[a]}),(t,n)=>i.value?(y(),O(T(Yz),{key:0,class:`scalar-client`},{default:E(()=>[N(`div`,{ref_key:`dropdownRef`,ref:a,class:`custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75`,style:te(S.value),onMousedown:n[0]||=Ln(()=>{},[`prevent`])},[N(`ul`,{id:e.listboxId,"aria-label":`Variable suggestions`,class:`gap-1/2 flex flex-col`,role:`listbox`},[(y(!0),M(Ne,null,_(g.value,(t,n)=>(y(),M(`li`,{key:`${t.kind}-${t.key}`,id:b(n),"aria-selected":n===o.value,class:v([`font-code text-xxs hover:bg-b-3 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150`,{"bg-b-3":n===o.value}]),role:`option`,onClick:e=>x(t.key)},[N(`div`,WW,[t.kind===`env`?(y(),M(`span`,{key:0,class:`h-2.25 w-2.25 min-w-2.25 rounded-full`,style:te({backgroundColor:e.environment?.color})},null,4)):(y(),M(`span`,GW,` fn `)),tt(` `+be(t.key),1)]),N(`span`,KW,be(t.secondary),1)],10,UW))),128))],8,HW),g.value.length?k(``,!0):(y(),O(T(jz),{key:0,class:`font-code text-xxs bg-b-inherit hover:bg-b-3 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150`,variant:`outlined`,onClick:s},{default:E(()=>[D(T(ao),{class:`size-3`}),n[1]||=tt(` Add Variable `,-1)]),_:1})),n[2]||=N(`div`,{class:`bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg`},null,-1)],36)]),_:1})):k(``,!0)}}),YW=`scalar-tooltip`,XW=`scalar-tooltip`,ZW=A(),QW=A(),$W=A(),{floatingStyles:eG,placement:tG}=oH(j(()=>T($W.value?.targetRef)),QW,{placement:j(()=>T($W.value?.placement)),whileElementsMounted:GV,middleware:j(()=>[JV(),qV()])});Xe(tG,e=>{!QW.value||!e||(QW.value.dataset.side=e.split(`-`)[0])}),Xe(eG,()=>{QW.value&&(QW.value.style.position=eG.value.position,QW.value.style.top=eG.value.top,QW.value.style.left=eG.value.left,QW.value.style.transform=eG.value.transform??``,QW.value.style.willChange=eG.value.willChange??``)}),Xe($W,e=>{if(QW.value)if(e){let t=T(e?.contentTarget)??`textContent`;QW.value[t]=T(e?.content)??``;let n=T(e?.offset)??4;QW.value.style.setProperty(`--scalar-tooltip-offset`,`${n}px`),QW.value.dataset.side=(T(e?.placement)??`bottom`).split(`-`)[0],QW.value.style.setProperty(`display`,`block`)}else QW.value.innerHTML=``,QW.value.style.removeProperty(`--scalar-tooltip-offset`),QW.value.style.setProperty(`display`,`none`)},{deep:!0});function nG(){if(typeof document>`u`||typeof window>`u`||QW.value)return;let e=document.getElementById(YW);e?QW.value=e:(QW.value=document.createElement(`div`),QW.value.role=`tooltip`,QW.value.id=YW,QW.value.classList.add(XW),QW.value.classList.add(`scalar-app`),QW.value.style.setProperty(`display`,`none`),QW.value.addEventListener(`mouseleave`,rG),document.body.appendChild(QW.value))}function rG(e){sG(e)&&(aG(),$W.value=void 0)}function iG(e){e.key===`Escape`&&(e.stopPropagation(),rG(e))}function aG(){ZW.value&&=(clearTimeout(ZW.value),void 0)}function oG(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function sG(e){let t=T($W.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=oG(e.relatedTarget);return e.relatedTarget.id!==`scalar-tooltip`&&!n.some(e=>e.id===`scalar-tooltip`)&&e.relatedTarget!==t}return!0}function cG(e){nG();function t(t){let r=T(e.delay)??300;aG(),r>0?ZW.value=setTimeout(()=>n(t),r):n(t)}function n(t){aG(),document.addEventListener(`keydown`,iG,{once:!0,capture:!0}),$W.value=e}Xe(()=>T(e.targetRef),(e,r)=>{r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,rG),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,rG),r.removeAttribute(`aria-describedby`)),e&&(e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,rG),e.addEventListener(`focus`,n),e.addEventListener(`blur`,rG),e.setAttribute(`aria-describedby`,YW))},{immediate:!0}),Ge(()=>{aG();let r=T(e.targetRef);r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,rG),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,rG),r.removeAttribute(`aria-describedby`)),T($W.value?.targetRef)===T(e.targetRef)&&($W.value=void 0)})}var lG=e=>{let t=Reflect.get(e,`userAgentData`);if(!(!t||typeof t!=`object`)&&!(!(`platform`in t)||typeof t.platform!=`string`))return t.platform},uG=()=>{if(typeof navigator>`u`)return!1;let e=lG(navigator);return e?e.toLowerCase().includes(`mac`):/Mac/.test(navigator.userAgent)},dG=w({name:`PillTooltipHost`,__name:`PillTooltipHost`,props:{context:{},target:{}},setup(e){let t=e,n=t.context.type===`contextFunction`,r=j(()=>{if(!n||typeof document>`u`||t.context.type!==`contextFunction`)return``;let e=document.createElement(`div`);return pee(fe(`div`,{class:`flex flex-col gap-1.5 text-left`},[fe(`span`,{},t.context.details),fe(`div`,{class:`text-[color:var(--scalar-color-3)] text-[10px] font-normal`},`Computed at request execution`)]),e),e.innerHTML}),i=j(()=>t.context.type===`environment`?t.context.value:``),a=A(t.target);return cG({content:n?r:i,contentTarget:n?`innerHTML`:`textContent`,delay:0,placement:`bottom-start`,offset:6,targetRef:a}),(e,t)=>null}}),fG=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,pG=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=fG[n[e]&63];return t},mG=[`role`],hG={key:0,class:`sr-only`},gG=w({__name:`DataTable`,props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=ac();return(n,r)=>(y(),M(`div`,qe($e(T(t)(e.scroll?`overflow-x-auto custom-scroll`:`overflow-visible`,`scalar-data-table`))),[N(`table`,{class:v([`mb-0 grid min-h-8 auto-rows-auto`,{"w-max min-w-full":e.scroll}]),role:e.presentational?`presentation`:`table`,style:te({gridTemplateColumns:e.columns.map(e=>e||`1fr`).join(` `)})},[n.$slots.caption?(y(),M(`caption`,hG,[S(n.$slots,`caption`)])):k(``,!0),S(n.$slots,`default`)],14,mG)],16))}}),_G=w({inheritAttrs:!1,__name:`DataTableCell`,props:{is:{default:`td`}},setup(e){let{cx:t}=ac();return(n,r)=>(y(),O(x(e.is),o(T(t)(`box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative`),{class:`group-[.alert]:bg-b-alert group-[.error]:bg-b-danger`}),{default:E(()=>[S(n.$slots,`default`)]),_:3},16))}}),vG={},yG={class:`group contents`};function bG(e,t){return y(),M(`tr`,yG,[S(e.$slots,`default`)])}var xG=Ca(vG,[[`render`,bG]]),SG=(e,t)=>{let n=e?.variables?.find(e=>e.name===t);if(n)return typeof n.value==`string`?n.value:n.value?.default},CG=(e,t)=>{if(Iw(e))return{type:`contextFunction`,identifier:e,details:Pw(e)};let n=SG(t,e);return{type:`environment`,name:e,value:n||`No value`,isDefined:!!n}},wG=(e,t)=>{if(!t||!e.includes(`{{`))return``;let n=new RegExp(lo.VARIABLES.source,lo.VARIABLES.flags),r=``,i;for(;(i=n.exec(e))!==null;)r+=`|${i[1]??``}`;return r},TG=e=>typeof e==`string`?e:e==null?``:JSON.stringify(e),EG={class:`whitespace-nowrap`},DG=[`id`],OG=[`aria-activedescendant`,`aria-autocomplete`,`aria-controls`,`aria-expanded`,`aria-invalid`,`aria-label`,`aria-readonly`,`aria-required`,`contenteditable`,`data-placeholder`,`role`],kG={key:5,class:`centered-y text-orange absolute right-7 text-xs`},AG={key:6,class:`centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.code-input-lite__editor:focus]:z-1`},jG={key:7,class:`required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 peer-has-[.code-input-lite__editor:focus]:opacity-0`},MG=Ca(w({inheritAttrs:!1,__name:`CodeInputLite`,props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:`desktop`},placeholder:{},required:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},linethrough:{type:Boolean,default:!1},type:{},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1}},emits:[`update:modelValue`,`submit`,`blur`,`navigate`],setup(e,{expose:t,emit:n}){let r=n,i=ve(),a=A(null),s=j(()=>i.id??a.value??void 0),c=()=>{!i.id&&a.value===null&&(a.value=`id-${pG()}`)},l=Oe(`editorRef`),u=A(null),d=j(()=>s.value?`${s.value}-listbox`:void 0),f=j(()=>u.value?.activeOptionId),p=A(!1),m=A(!0),h=A(!1),g=e=>e.trim().length===0,_=j(()=>e.enum?.length?!1:e.type===`boolean`||Array.isArray(e.type)&&e.type.includes(`boolean`)),b=j(()=>e.nullable?[`true`,`false`,`null`]:[`true`,`false`]),ee=j(()=>Array.isArray(e.type)?e.type.find(e=>e!==`null`)??`string`:e.type),x=e=>r(`update:modelValue`,e),te=[],ne=!1,re=()=>{for(let e of te)e.unmount();te=[]},ie=()=>{if(!l.value||e.layout===`modal`)return;let t=l.value.querySelectorAll(`.scalar-pill`);for(let n of t){let t=Wn(dG,{context:CG(n.dataset.variable??``,e.environment),target:n});t.mount(document.createElement(`div`)),te.push(t)}},ae=(t,n,r)=>{let i=Iw(t),a=document.createElement(`span`);a.className=i?`scalar-pill scalar-pill--context-fn`:`scalar-pill`,a.contentEditable=`false`,a.dataset.variable=t,a.dataset.pillStart=String(n),a.dataset.pillEnd=String(r);let o=i?`var(--scalar-color-3)`:e.environment?.color||`var(--scalar-color-1)`;return a.style.setProperty(`--tw-bg-base`,o),!i&&!SG(e.environment,t)&&(a.style.opacity=`0.5`),a.textContent=t,a},oe=t=>{let n=l.value;if(!n)return;if(re(),n.replaceChildren(),!e.withVariables||!t.includes(`{{`)){t&&n.appendChild(document.createTextNode(t)),m.value=g(t);return}let r=new RegExp(lo.VARIABLES.source,lo.VARIABLES.flags),i=0,a;for(;(a=r.exec(t))!==null;){let e=a.index,r=e+a[0].length;e>i&&n.appendChild(document.createTextNode(t.slice(i,e))),n.appendChild(ae(a[1]??``,e,r)),i=r}i<t.length&&n.appendChild(document.createTextNode(t.slice(i))),m.value=!1,ne&&ie()},C=e=>e.nodeType===Node.TEXT_NODE?(e.textContent??``).length:e instanceof HTMLElement&&e.classList.contains(`scalar-pill`)?`{{${e.dataset.variable??``}}}`.length:(e.textContent??``).length,ce=()=>{let e=l.value;if(!e)return``;let t=``;for(let n of Array.from(e.childNodes))n.nodeType===Node.TEXT_NODE?t+=n.textContent??``:n instanceof HTMLElement&&n.classList.contains(`scalar-pill`)?t+=`{{${n.dataset.variable??``}}}`:n instanceof HTMLElement&&(t+=n.textContent??``);return t},le=null,de=``,w=()=>{let t=e.environment?.color??``,n=e.withVariables?`1`:`0`,r=e.environment?.variables??[],i=``;for(let e of r){let t=typeof e.value==`string`?e.value:e.value?.default??``;i+=`\x1f${e.name}\x1e${t}`}return`${t}|${n}|${i}`},fe=()=>{ne||(ne=!0,ie())},pe=()=>{let e=l.value;if(!e)return null;let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);if(n.startContainer!==e&&!e.contains(n.startContainer))return null;if(n.startContainer===e){let t=0;for(let r=0;r<n.startOffset&&r<e.childNodes.length;r++)t+=C(e.childNodes[r]);return t}let r=0;for(let t of Array.from(e.childNodes)){if(t===n.startContainer)return r+n.startOffset;if(t.contains(n.startContainer))return n.startOffset===0?r:r+C(t);r+=C(t)}return r},me=e=>{let t=l.value;if(!t)return;let n=document.createRange(),r=0,i=!1;for(let a of Array.from(t.childNodes)){let t=C(a);if(r+t>=e){if(a.nodeType===Node.TEXT_NODE){let t=Math.max(0,Math.min(e-r,(a.textContent??``).length));n.setStart(a,t)}else e-r<=0?n.setStartBefore(a):n.setStartAfter(a);i=!0;break}r+=t}i?n.collapse(!0):(n.selectNodeContents(t),n.collapse(!1));let a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n))},he=A(!1),ge=A(``),_e=A({left:0,top:0}),ye=j(()=>e.withFakeData?Fw.map(e=>({key:e,description:Pw(e)})):[]),xe=j(()=>he.value&&e.withVariables&&e.layout!==`modal`&&(!!e.environment||e.withFakeData)),Se=()=>{if(!l.value)return;let e=pe();if(e===null){he.value=!1;return}let t=ce().slice(0,e),n=t.lastIndexOf(`{{`);if(n<=t.lastIndexOf(`}}`)){he.value=!1;return}ge.value=t.slice(n+2),c(),he.value=!0,Pe(()=>{let e=window.getSelection();if(!e||e.rangeCount===0||!l.value)return;let t=e.getRangeAt(0).cloneRange();t.collapse(!0);let n=t.getBoundingClientRect(),r=l.value.getBoundingClientRect();_e.value={left:n.left||r.left,top:n.bottom||r.bottom}})},Ce=t=>{if(e.readOnly)return;let n=pe()??0,r=ce(),i=Math.max(0,n-ge.value.length-2),a=n,o=`${r.slice(0,i)}{{${t}}}${r.slice(a)}`,s=i+`{{${t}}}`.length;le=wG(o,e.withVariables),oe(o),me(s),he.value=!1,we(o,{skipDropdownCheck:!0})},we=(t,n={})=>{let i=t===TG(e.modelValue);(e.alwaysEmitChange||!i)&&r(`update:modelValue`,t),n.skipDropdownCheck||Se()},Te=()=>{let t=ce();m.value=g(t);let n=wG(t,e.withVariables);if(!h.value&&n!==le){let e=pe();le=n,oe(t),e!==null&&me(e)}we(t)},E=()=>{h.value=!0},D=()=>{h.value=!1,Te()},Ee=()=>{p.value=!0,c(),fe()},De=t=>{p.value=!1,he.value=!1;let n=ce();e.emitOnBlur&&n&&r(`submit`,n,t),r(`blur`,n,t)},ke=e=>{e.preventDefault();let t=e.clipboardData?.getData(`text/plain`)??``;t&&(document.execCommand(`insertText`,!1,t.replace(/\r?\n/g,` `)),Te())},Ae=e=>{if(he.value){if(e.key===`ArrowDown`||e.key===`ArrowUp`){e.preventDefault(),e.stopPropagation(),u.value?.handleArrowKey(e.key===`ArrowDown`?`down`:`up`);return}if(e.key===`Enter`){e.preventDefault(),e.stopPropagation(),u.value?.handleSelect();return}if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),he.value=!1;return}}if(e.key===`Enter`){e.preventDefault(),r(`submit`,ce(),e);return}},je=e=>{let t=e.target?.closest(`.scalar-pill`);if(!t)return;let n=l.value;if(!n)return;n.focus();let r=document.createRange();r.selectNode(t);let i=window.getSelection();i?.removeAllRanges(),i?.addRange(r),Se()};return ue(()=>{let t=TG(e.modelValue);le=wG(t,e.withVariables),de=w(),oe(t),m.value=g(t),Object.hasOwn(i,`autofocus`)&&l.value?.focus()}),Xe(()=>e.modelValue,t=>{let n=TG(t);m.value=g(n),ce()!==n&&(le=wG(n,e.withVariables),oe(n))}),Xe([()=>e.environment,()=>e.withVariables],()=>{let t=w();if(t===de||(de=t,le===``))return;le=wG(ce(),e.withVariables);let n=pe();oe(ce()),n!==null&&me(n)},{deep:!0}),se(()=>{re()}),t({focus:e=>{let t=l.value;if(!t||(t.focus(),!oc(e)))return;let n=ce().length;me(e===`start`?0:e===`end`?n:e)},setContent:(t=``)=>{ce()!==t&&(le=wG(t,e.withVariables),oe(t),m.value=g(t))},getValue:()=>ce(),cursorPosition:()=>{let e=pe();return e===null?void 0:e},isFocused:p,editorRef:l}),(t,n)=>(y(),M(Ne,null,[e.disabled?(y(),M(`div`,{key:0,class:v([`text-c-2 flex cursor-default items-center justify-center`,{"font-code pr-2 pl-1 text-base":e.layout===`modal`,"px-2":e.layout!==`modal`,"line-through":e.linethrough}]),"data-testid":`code-input-lite-disabled`},[N(`span`,EG,be(e.modelValue),1)],2)):e.enum?.length?(y(),O(CU,{key:1,default:e.default,modelValue:e.modelValue,type:ee.value,value:e.enum,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`type`,`value`])):_.value?(y(),O(CU,{key:2,default:e.default,modelValue:e.modelValue,value:b.value,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`value`])):e.examples?.length?(y(),O(CU,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`value`])):(y(),M(`div`,o({key:4,id:s.value},t.$attrs,{class:[`code-input-lite group/code-input-lite peer relative w-full leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline`,{"code-input-lite--error":e.error,"code-input-lite--empty":m.value,"line-through":e.linethrough}]}),[N(`div`,{ref_key:`editorRef`,ref:l,"aria-activedescendant":xe.value?f.value:void 0,"aria-autocomplete":e.withVariables?`list`:void 0,"aria-controls":xe.value?d.value:void 0,"aria-expanded":xe.value?`true`:void 0,"aria-invalid":e.error?`true`:void 0,"aria-label":T(i)[`aria-label`],"aria-readonly":e.readOnly?`true`:void 0,"aria-required":e.required?`true`:void 0,class:`code-input-lite__editor`,contenteditable:e.readOnly?`false`:`true`,"data-placeholder":e.placeholder,role:e.withVariables?`combobox`:`textbox`,spellcheck:`false`,onBlur:De,onClick:je,onCompositionend:D,onCompositionstart:E,onFocus:Ee,onInput:Te,onKeydown:Ae,onPaste:ke,onPointerover:fe},null,40,OG)],16,DG)),t.$slots.warning?(y(),M(`div`,kG,[S(t.$slots,`warning`,{},void 0,!0)])):k(``,!0),t.$slots.icon?(y(),M(`div`,AG,[S(t.$slots,`icon`,{},void 0,!0)])):k(``,!0),e.required?(y(),M(`div`,jG,` Required `)):k(``,!0),xe.value?(y(),O(JW,{key:8,ref_key:`dropdownRef`,ref:u,contextFunctionItems:ye.value,dropdownPosition:_e.value,environment:e.environment,listboxId:d.value,query:ge.value,onClose:n[0]||=e=>he.value=!1,onRedirect:n[1]||=e=>r(`navigate`,{page:`document`,path:`environment`}),onSelect:Ce},null,8,[`contextFunctionItems`,`dropdownPosition`,`environment`,`listboxId`,`query`])):k(``,!0)],64))}}),[[`__scopeId`,`data-v-1974e80d`]]),NG=[`checked`,`disabled`],PG=w({__name:`DataTableCheckbox`,props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:`center`}},emits:[`update:modelValue`],setup(e){let t=rc({base:`w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute`,variants:{align:{left:`left-0`,center:`centered`}}});return(n,r)=>(y(),O(_G,{class:`group/cell relative flex min-w-8`},{default:E(()=>[N(`input`,{checked:e.modelValue,class:`peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default`,disabled:!!e.disabled,type:`checkbox`,onChange:r[0]||=e=>n.$emit(`update:modelValue`,e.target.checked)},null,40,NG),N(`div`,{class:v(T(t)({align:e.align}))},[N(`div`,{class:v([`absolute m-auto size-3/4 rounded border-[1px] opacity-0`,!e.disabled&&`group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100`])},null,2),D(T(Tz),{icon:`Checkmark`,size:`xs`,thickness:`2.5`})],2)]),_:1}))}}),FG=(function(e){if(e==null)return BG;if(typeof e==`function`)return zG(e);if(typeof e==`object`)return Array.isArray(e)?IG(e):LG(e);if(typeof e==`string`)return RG(e);throw Error(`Expected function, string, or object as test`)});function IG(e){let t=[],n=-1;for(;++n<e.length;)t[n]=FG(e[n]);return zG(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function LG(e){let t=e;return zG(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function RG(e){return zG(t);function t(t){return t&&t.type===e}}function zG(e){return t;function t(t,n,r){return!!(VG(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function BG(){return!0}function VG(e){return typeof e==`object`&&!!e&&`type`in e}function HG(e){return e}var UG=[],WG=`skip`;function GG(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=FG(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,`name`,{value:`node (`+HG(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=UG,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=KG(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function KG(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?UG:[e]}function qG(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),GG(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var JG=Object.create,YG=Object.defineProperty,XG=Object.getOwnPropertyDescriptor,ZG=Object.getOwnPropertyNames,QG=Object.getPrototypeOf,$G=Object.prototype.hasOwnProperty,eK=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tK=(e,t)=>{let n={};for(var r in e)YG(n,r,{get:e[r],enumerable:!0});return t||YG(n,Symbol.toStringTag,{value:`Module`}),n},nK=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=ZG(t),a=0,o=i.length,s;a<o;a++)s=i[a],!$G.call(e,s)&&s!==n&&YG(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=XG(t,s))||r.enumerable});return e},rK=(e,t,n)=>(n=e==null?{}:JG(QG(e)),nK(t||!e||!e.__esModule?YG(n,`default`,{value:e,enumerable:!0}):n,e)),iK={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`},aK=(function(e,t,n){let r=FG(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),t<0)throw Error(`Expected child node or index`);for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),oK=(function(e,t,n,r,i){let a=sK(t);if(n!=null&&(typeof n!=`number`||n<0||n===1/0))throw Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(n==null!=(r==null))throw Error("Expected both `index` and `parent`");return fK(e)?a.call(i,e,n,r):!1}),sK=(function(e){if(e==null)return dK;if(typeof e==`string`)return lK(e);if(typeof e==`object`)return cK(e);if(typeof e==`function`)return uK(e);throw Error("Expected function, string, or array as `test`")});function cK(e){let t=[],n=-1;for(;++n<e.length;)t[n]=sK(e[n]);return uK(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function lK(e){return uK(t);function t(t){return t.tagName===e}}function uK(e){return t;function t(t,n,r){return!!(fK(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function dK(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function fK(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var pK=/\n/g,mK=/[\t ]+/g,hK=sK(`br`),gK=sK(kK),_K=sK(`p`),vK=sK(`tr`),yK=sK([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,OK,AK]),bK=sK(`address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp`.split(`.`));function xK(e,t){let n=t||{},r=`children`in e?e.children:[],i=bK(e),a=DK(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...wK(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...SK(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?hK(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
155
+ `.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function SK(e,t,n){return e.type===`element`?CK(e,t,n):e.type===`text`?n.whitespace===`normal`?wK(e,n):TK(e):[]}function CK(e,t,n){let r=DK(e,n),i=e.children||[],a=-1,o=[];if(yK(e))return o;let s,c;for(hK(e)||vK(e)&&aK(t,e,vK)?c=`
156
+ `:_K(e)?(s=2,c=2):bK(e)&&(s=1,c=1);++a<i.length;)o=o.concat(SK(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?hK(i[a+1]):c}));return gK(e)&&aK(t,e,gK)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function wK(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){pK.lastIndex=a;let e=pK.exec(n),i=e&&`index`in e?e.index:n.length;r.push(EK(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a===0?t.breakBefore:!0,i===n.length?t.breakAfter:!0)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function TK(e){return[String(e.value)]}function EK(e,t,n){let r=[],i=0,a;for(;i<e.length;){mK.lastIndex=i;let n=mK.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function DK(e,t){if(e.type===`element`){let n=e.properties||{};switch(e.tagName){case`listing`:case`plaintext`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return n.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return n.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}}return t.whitespace}function OK(e){return!!(e.properties||{}).hidden}function kK(e){return e.tagName===`td`||e.tagName===`th`}function AK(e){return e.tagName===`dialog`&&!(e.properties||{}).open}var jK=rK(eK(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function ee(e,t){let n=e&&e.exec(t);return n&&n.index===0}var x=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function te(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=x.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var S=/\b\B/,ne=`[a-zA-Z]\\w*`,re=`[a-zA-Z_]\\w*`,ie=`\\b\\d+(\\.\\d+)?`,ae=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,oe=`\\b(0b[01]+)`,C=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,se=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},ce={begin:`\\\\[\\s\\S]`,relevance:0},le={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[ce]},ue={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[ce]},de={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},w=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},fe=w(`//`,`$`),T=w(`/\\*`,`\\*/`),pe=w(`#`,`$`),me={scope:`number`,begin:ie,relevance:0},he={scope:`number`,begin:ae,relevance:0},ge={scope:`number`,begin:oe,relevance:0},_e={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ce,{begin:/\[/,end:/\]/,relevance:0,contains:[ce]}]},ve={scope:`title`,begin:ne,relevance:0},ye={scope:`title`,begin:re,relevance:0},be={begin:`\\.\\s*`+re,relevance:0},xe=Object.freeze({__proto__:null,APOS_STRING_MODE:le,BACKSLASH_ESCAPE:ce,BINARY_NUMBER_MODE:ge,BINARY_NUMBER_RE:oe,COMMENT:w,C_BLOCK_COMMENT_MODE:T,C_LINE_COMMENT_MODE:fe,C_NUMBER_MODE:he,C_NUMBER_RE:ae,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:pe,IDENT_RE:ne,MATCH_NOTHING_RE:S,METHOD_GUARD:be,NUMBER_MODE:me,NUMBER_RE:ie,PHRASAL_WORDS_MODE:de,QUOTE_STRING_MODE:ue,REGEXP_MODE:_e,RE_STARTERS_RE:C,SHEBANG:se,TITLE_MODE:ve,UNDERSCORE_IDENT_RE:re,UNDERSCORE_TITLE_MODE:ye});function Se(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function Ce(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function we(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=Se,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Te(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function E(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function D(e,t){e.relevance===void 0&&(e.relevance=1)}var Ee=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},De=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],O=`keyword`;function Oe(e,t,n=O){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,Oe(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,k(n[0],n[1])]})}}function k(e,t){return t?Number(t):ke(e)?0:1}function ke(e){return De.includes(e.toLowerCase())}var Ae={},A=e=>{console.error(e)},je=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Me=(e,t)=>{Ae[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Ae[`${e}/${t}`]=!0)},Ne=Error();function Pe(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Fe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw A(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),Ne;if(typeof e.beginScope!=`object`||e.beginScope===null)throw A(`beginScope must be object`),Ne;Pe(e,e.begin,{key:`beginScope`}),e.begin=te(e.begin,{joinWith:``})}}function Ie(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw A(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),Ne;if(typeof e.endScope!=`object`||e.endScope===null)throw A(`endScope must be object`),Ne;Pe(e,e.end,{key:`endScope`}),e.end=te(e.end,{joinWith:``})}}function Le(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function j(e){Le(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Fe(e),Ie(e)}function Re(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null),this.matcherRe=t(te(this.regexes.map(e=>e[1]),{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[Ce,E,j,Ee].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[we,Te,D].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=Oe(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return Be(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function ze(e){return e?e.endsWithParent||ze(e.starts):!1}function Be(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:ze(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Ve=`11.11.1`,He=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},Ue=i,We=a,M=Symbol(`nomatch`),Ge=7,Ke=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=le(n[1]);return t||(je(s.replace(`{}`,n[1])),je(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||le(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(Me(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),Me(`10.7.0`,`Please use highlight(code, options) instead.
157
+ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};pe(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,pe(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!C.keywords){ce.addText(ue);return}let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(ue),n=``;for(;t;){n+=ue.substring(e,t.index);let r=ie.case_insensitive?t[0].toLowerCase():t[0],i=u(C,r);if(i){let[e,a]=i;if(ce.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Ge&&(de+=a),e.startsWith(`_`))n+=t[0];else{let n=ie.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(ue)}n+=ue.substring(e),ce.addText(n)}function f(){if(ue===``)return;let e=null;if(typeof C.subLanguage==`string`){if(!t[C.subLanguage]){ce.addText(ue);return}e=v(C.subLanguage,ue,!0,se[C.subLanguage]),se[C.subLanguage]=e._top}else e=x(ue,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(de+=e.relevance),ce.__addSublanguage(e._emitter,e.language)}function p(){C.subLanguage==null?d():f(),ue=``}function m(e,t){e!==``&&(ce.startScope(t),ce.addText(e),ce.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=ie.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(ue=i,d(),ue=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&ce.openNode(ie.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(ue,ie.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),ue=``):e.beginScope._multi&&(h(e.beginScope,t),ue=``)),C=Object.create(e,{parent:{value:C}}),C}function _(e,t,n){let i=ee(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return C.matcher.regexIndex===0?(ue+=e[0],1):(T=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?ue+=t:(n.excludeBegin&&(ue+=t),p(),!n.returnBegin&&!n.excludeBegin&&(ue=t)),g(n,e),n.returnBegin?0:t.length}function te(e){let t=e[0],r=n.substring(e.index),i=_(C,e,r);if(!i)return M;let a=C;C.endScope&&C.endScope._wrap?(p(),m(t,C.endScope._wrap)):C.endScope&&C.endScope._multi?(p(),h(C.endScope,e)):a.skip?ue+=t:(a.returnEnd||a.excludeEnd||(ue+=t),p(),a.excludeEnd&&(ue=t));do C.scope&&ce.closeNode(),!C.skip&&!C.subLanguage&&(de+=C.relevance),C=C.parent;while(C!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function S(){let e=[];for(let t=C;t!==ie;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>ce.openNode(e))}let ne={};function re(t,r){let a=r&&r[0];if(ue+=t,a==null)return p(),0;if(ne.type===`begin`&&r.type===`end`&&ne.index===r.index&&a===``){if(ue+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=ne.rule,t}return 1}if(ne=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(C.scope||`<unnamed>`)+`"`);throw e.mode=C,e}else if(r.type===`end`){let e=te(r);if(e!==M)return e}if(r.type===`illegal`&&a===``)return ue+=`
158
+ `,1;if(fe>1e5&&fe>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return ue+=a,a.length}let ie=le(e);if(!ie)throw A(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let ae=Re(ie),oe=``,C=a||ae,se={},ce=new l.__emitter(l);S();let ue=``,de=0,w=0,fe=0,T=!1;try{if(ie.__emitTokens)ie.__emitTokens(n,ce);else{for(C.matcher.considerAll();;){fe++,T?T=!1:C.matcher.considerAll(),C.matcher.lastIndex=w;let e=C.matcher.exec(n);if(!e)break;let t=re(n.substring(w,e.index),e);w=e.index+t}re(n.substring(w))}return ce.finalize(),oe=ce.toHTML(),{language:e,value:oe,relevance:de,illegal:!1,_emitter:ce,_top:C}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:Ue(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:w,context:n.slice(w-100,w+100),mode:t.mode,resultSoFar:oe},_emitter:ce};if(o)return{language:e,value:Ue(n),illegal:!1,relevance:0,errorRaised:t,_emitter:ce,_top:C};throw t}}function b(e){let t={value:Ue(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function x(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(le).filter(de).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(le(e.language).supersetOf===t.language)return 1;if(le(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function te(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function S(e){let t=null,n=d(e);if(u(n))return;if(pe(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new He(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):x(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,te(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),pe(`after:highlightElement`,{el:e,result:i,text:r})}function ne(e){l=We(l,e)}let re=()=>{oe(),Me(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function ie(){oe(),Me(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let ae=!1;function oe(){function e(){oe()}if(document.readyState===`loading`){ae||window.addEventListener(`DOMContentLoaded`,e,!1),ae=!0;return}document.querySelectorAll(l.cssSelector).forEach(S)}function C(n,r){let i=null;try{i=r(e)}catch(e){if(A(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)A(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&ue(i.aliases,{languageName:n})}function se(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function ce(){return Object.keys(t)}function le(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function ue(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function de(e){let t=le(e);return t&&!t.disableAutodetect}function w(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function fe(e){w(e),a.push(e)}function T(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function pe(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function me(e){return Me(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),Me(`10.7.0`,`Please use highlightElement now.`),S(e)}Object.assign(e,{highlight:p,highlightAuto:x,highlightAll:oe,highlightElement:S,highlightBlock:me,configure:ne,initHighlighting:re,initHighlightingOnLoad:ie,registerLanguage:C,unregisterLanguage:se,listLanguages:ce,getLanguage:le,registerAliases:ue,autoDetection:de,inherit:We,addPlugin:fe,removePlugin:T}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Ve,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in xe)typeof xe[e]==`object`&&n(xe[e]);return Object.assign(e,xe),e},qe=Ke({});qe.newInstance=()=>Ke({}),t.exports=qe,qe.HighlightJS=qe,qe.default=qe}))()).default,MK={},NK=`hljs-`;function PK(e){let t=jK.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(e,n,r){let i=r||MK,a=typeof i.prefix==`string`?i.prefix:NK;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:FK,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,c=s.data;return c.language=o.language,c.relevance=o.relevance,s}function r(e,r){let a=(r||MK).subset||i(),o=-1,s=0,c;for(;++o<a.length;){let i=a[o];if(!t.getLanguage(i))continue;let l=n(i,e,r);l.data&&l.data.relevance!==void 0&&l.data.relevance>s&&(s=l.data.relevance,c=l)}return c||{type:`root`,children:[],data:{language:void 0,relevance:s}}}function i(){return t.listLanguages()}function a(e,n){if(typeof e==`string`)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}function o(e,n){if(typeof e==`string`)t.registerAliases(typeof n==`string`?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases(typeof r==`string`?r:[...r],{languageName:n})}}}function s(e){return!!t.getLanguage(e)}}var FK=class{constructor(e){this.options=e,this.root={type:`root`,children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e===``)return;let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&n.type===`text`?n.value+=e:t.children.push({type:`text`,value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:`element`,tagName:`span`,properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(`.`).map(function(e,n){return n?e+`_`.repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:`element`,tagName:`span`,properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return``}},IK={};function LK(e){let t=e||IK,n=t.aliases,r=e?.detect??!1,i=t.languages,a=t.plainText,o=t.prefix,s=t.subset,c=typeof t.className==`string`?[t.className]:t.className??[],l=`hljs`,u=e?.lowlight??PK(i);if(n&&u.registerAlias(n),o){let e=o.indexOf(`-`);l=e>-1?o.slice(0,e):o}return(e,t)=>{qG(e,`element`,(e,n,i)=>{if(e.tagName!==`code`||!i||i.type!==`element`||i.tagName!==`pre`)return;let d=RK(e);if(d===`no-highlight`||!d&&!r||d&&a?.includes(d))return;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);for(let t of c)e.properties.className.includes(t)||e.properties.className.push(t);let f;try{f=d?u.highlight(d,xK(i),{prefix:o}):u.highlightAuto(xK(i),{prefix:o,subset:s})}catch(n){let r=n;if(d&&/Unknown language/.test(r.message)){t.message(`Cannot highlight as \`${d}\`, it's not registered`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`missing-language`,source:`rehype-highlight`});return}throw r}!d&&f.data?.language&&e.properties.className.push(`language-`+f.data.language),f.children.length>0&&(e.children=f.children)})}}function RK(e){let t=e.properties.className;if(!Array.isArray(t))return``;let n=t.reduce((e,t)=>{if(e)return e;let n=String(t);return n===`no-highlight`||n===`nohighlight`?`no-highlight`:n.slice(0,5)===`lang-`?n.slice(5):n.slice(0,9)===`language-`?n.slice(9):e},``);return iK[n||``]||n}var zK=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};zK.prototype.normal={},zK.prototype.property={},zK.prototype.space=void 0;function BK(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new zK(n,r,t)}function VK(e){return e.toLowerCase()}var HK=class{constructor(e,t){this.attribute=t,this.property=e}};HK.prototype.attribute=``,HK.prototype.booleanish=!1,HK.prototype.boolean=!1,HK.prototype.commaOrSpaceSeparated=!1,HK.prototype.commaSeparated=!1,HK.prototype.defined=!1,HK.prototype.mustUseProperty=!1,HK.prototype.number=!1,HK.prototype.overloadedBoolean=!1,HK.prototype.property=``,HK.prototype.spaceSeparated=!1,HK.prototype.space=void 0;var UK=tK({boolean:()=>GK,booleanish:()=>KK,commaOrSpaceSeparated:()=>XK,commaSeparated:()=>YK,number:()=>W,overloadedBoolean:()=>qK,spaceSeparated:()=>JK}),WK=0,GK=ZK(),KK=ZK(),qK=ZK(),W=ZK(),JK=ZK(),YK=ZK(),XK=ZK();function ZK(){return 2**++WK}var QK=Object.keys(UK),$K=class extends HK{constructor(e,t,n,r){let i=-1;if(super(e,t),eq(this,`space`,r),typeof n==`number`)for(;++i<QK.length;){let e=QK[i];eq(this,QK[i],(n&UK[e])===UK[e])}}};$K.prototype.defined=!0;function eq(e,t,n){n&&(e[t]=n)}function tq(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new $K(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[VK(r)]=r,n[VK(a.attribute)]=r}return new zK(t,n,e.space)}var nq=tq({properties:{ariaActiveDescendant:null,ariaAtomic:KK,ariaAutoComplete:null,ariaBusy:KK,ariaChecked:KK,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:JK,ariaCurrent:null,ariaDescribedBy:JK,ariaDetails:null,ariaDisabled:KK,ariaDropEffect:JK,ariaErrorMessage:null,ariaExpanded:KK,ariaFlowTo:JK,ariaGrabbed:KK,ariaHasPopup:null,ariaHidden:KK,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:JK,ariaLevel:W,ariaLive:null,ariaModal:KK,ariaMultiLine:KK,ariaMultiSelectable:KK,ariaOrientation:null,ariaOwns:JK,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:KK,ariaReadOnly:KK,ariaRelevant:null,ariaRequired:KK,ariaRoleDescription:JK,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:KK,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function rq(e,t){return t in e?e[t]:t}function iq(e,t){return rq(e,t.toLowerCase())}var aq=tq({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:YK,acceptCharset:JK,accessKey:JK,action:null,allow:null,allowFullScreen:GK,allowPaymentRequest:GK,allowUserMedia:GK,alt:null,as:null,async:GK,autoCapitalize:null,autoComplete:JK,autoFocus:GK,autoPlay:GK,blocking:JK,capture:null,charSet:null,checked:GK,cite:null,className:JK,cols:W,colSpan:null,content:null,contentEditable:KK,controls:GK,controlsList:JK,coords:W|YK,crossOrigin:null,data:null,dateTime:null,decoding:null,default:GK,defer:GK,dir:null,dirName:null,disabled:GK,download:qK,draggable:KK,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:GK,formTarget:null,headers:JK,height:W,hidden:qK,high:W,href:null,hrefLang:null,htmlFor:JK,httpEquiv:JK,id:null,imageSizes:null,imageSrcSet:null,inert:GK,inputMode:null,integrity:null,is:null,isMap:GK,itemId:null,itemProp:JK,itemRef:JK,itemScope:GK,itemType:JK,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:GK,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:GK,muted:GK,name:null,nonce:null,noModule:GK,noValidate:GK,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:GK,optimum:W,pattern:null,ping:JK,placeholder:null,playsInline:GK,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:GK,referrerPolicy:null,rel:JK,required:GK,reversed:GK,rows:W,rowSpan:W,sandbox:JK,scope:null,scoped:GK,seamless:GK,selected:GK,shadowRootClonable:GK,shadowRootDelegatesFocus:GK,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:KK,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:GK,useMap:null,value:KK,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:JK,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:GK,declare:GK,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:GK,noHref:GK,noShade:GK,noWrap:GK,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:KK,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:GK,disableRemotePlayback:GK,prefix:null,property:null,results:W,security:null,unselectable:null},space:`html`,transform:iq}),oq=tq({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:XK,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:JK,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:GK,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:YK,g2:YK,glyphName:YK,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:XK,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:JK,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:XK,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:XK,rev:XK,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:XK,requiredFeatures:XK,requiredFonts:XK,requiredFormats:XK,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:XK,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:XK,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:XK,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:rq}),sq=tq({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),cq=tq({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:iq}),lq=tq({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),uq=/[A-Z]/g,dq=/-[a-z]/g,fq=/^data[-\w.:]+$/i;function pq(e,t){let n=VK(t),r=t,i=HK;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&fq.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(dq,hq);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!dq.test(e)){let n=e.replace(uq,mq);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=$K}return new i(r,t)}function mq(e){return`-`+e.toLowerCase()}function hq(e){return e.charAt(1).toUpperCase()}var gq=BK([nq,aq,sq,cq,lq],`html`),_q=BK([nq,oq,sq,cq,lq],`svg`);function vq(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function yq(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var bq=/[#.]/g;function xq(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){bq.lastIndex=i;let e=bq.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function Sq(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Cq(e){return e.join(` `).trim()}var wq=new Set([`button`,`menu`,`reset`,`submit`]),Tq={}.hasOwnProperty;function Eq(e,t,n){let r=n&&Mq(n);function i(n,i,...a){let o=-1,s;if(n==null){s={type:`root`,children:[]};let e=i;a.unshift(e)}else if(s=xq(n,t),s.tagName=s.tagName.toLowerCase(),r&&Tq.call(r,s.tagName)&&(s.tagName=r[s.tagName]),Dq(i,s.tagName)){let t;for(t in i)Tq.call(i,t)&&Oq(e,s.properties,t,i[t])}else a.unshift(i);for(;++o<a.length;)kq(s.children,a[o]);return s.type===`element`&&s.tagName===`template`&&(s.content={type:`root`,children:s.children},s.children=[]),s}return i}function Dq(e,t){return typeof e!=`object`||!e||Array.isArray(e)?!1:t===`input`||!e.type||typeof e.type!=`string`?!0:`children`in e&&Array.isArray(e.children)?!1:t===`button`?wq.has(e.type.toLowerCase()):!(`value`in e)}function Oq(e,t,n,r){let i=pq(e,n),a=-1,o;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;o=r}else o=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?Sq(r):i.commaSeparated?vq(r):i.commaOrSpaceSeparated?Sq(vq(r).join(` `)):Aq(i,i.property,r):Array.isArray(r)?r.concat():i.property===`style`?jq(r):String(r);if(Array.isArray(o)){let e=[];for(;++a<o.length;)e[a]=Aq(i,i.property,o[a]);o=e}if(i.property===`className`&&Array.isArray(t.className)){let e=o;o=t.className.concat(e)}t[i.property]=o}}function kq(e,t){let n=-1;if(t!=null)if(typeof t==`string`||typeof t==`number`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)kq(e,t[n]);else if(typeof t==`object`&&`type`in t)t.type===`root`?kq(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function Aq(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||VK(n)===VK(t)))return!0}return n}function jq(e){let t=[],n;for(n in e)Tq.call(e,n)&&t.push([n,e[n]].join(`: `));return t.join(`; `)}function Mq(e){let t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var Nq=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.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.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`),Pq=Eq(gq,`div`),Fq=Eq(_q,`g`,Nq),Iq=/\r?\n|\r/g;function Lq(e){let t=String(e),n=[];for(Iq.lastIndex=0;Iq.test(t);)n.push(Iq.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==`number`&&e>-1&&e<n[n.length-1]){for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}function i(e){let t=e&&e.line,r=e&&e.column;if(typeof t==`number`&&typeof r==`number`&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){let e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}var Rq={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`},zq={}.hasOwnProperty,Bq=Object.prototype;function Vq(e,t){let n=t||{};return Hq({file:n.file||void 0,location:!1,schema:n.space===`svg`?_q:gq,verbose:n.verbose||!1},e)}function Hq(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},Gq(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:Uq(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=Lq(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},Gq(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},Gq(e,r,n),n}default:return n=Wq(e,t),n}}function Uq(e,t){let n=-1,r=[];for(;++n<t.length;){let i=Hq(e,t[n]);r.push(i)}return r}function Wq(e,t){let n=e.schema;e.schema=t.namespaceURI===Rq.svg?_q:gq;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;zq.call(Bq,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?Fq:Pq)(t.tagName,i,Uq(e,t.childNodes));if(Gq(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&qq(r.startTag),o=r&&r.endTag&&qq(r.endTag),s=Hq(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function Gq(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=Kq(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Kq(e,t,n){let r=qq(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)zq.call(n.attrs,i)&&(r[pq(e.schema,i).property]=qq(n.attrs[i]));n.startTag;let a=qq(n.startTag),o=n.endTag?qq(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function qq(e){let t=Jq({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Jq({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Jq(e){return e.line&&e.column?e:void 0}var Yq=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),G;(function(e){e[e.EOF=-1]=`EOF`,e[e.NULL=0]=`NULL`,e[e.TABULATION=9]=`TABULATION`,e[e.CARRIAGE_RETURN=13]=`CARRIAGE_RETURN`,e[e.LINE_FEED=10]=`LINE_FEED`,e[e.FORM_FEED=12]=`FORM_FEED`,e[e.SPACE=32]=`SPACE`,e[e.EXCLAMATION_MARK=33]=`EXCLAMATION_MARK`,e[e.QUOTATION_MARK=34]=`QUOTATION_MARK`,e[e.AMPERSAND=38]=`AMPERSAND`,e[e.APOSTROPHE=39]=`APOSTROPHE`,e[e.HYPHEN_MINUS=45]=`HYPHEN_MINUS`,e[e.SOLIDUS=47]=`SOLIDUS`,e[e.DIGIT_0=48]=`DIGIT_0`,e[e.DIGIT_9=57]=`DIGIT_9`,e[e.SEMICOLON=59]=`SEMICOLON`,e[e.LESS_THAN_SIGN=60]=`LESS_THAN_SIGN`,e[e.EQUALS_SIGN=61]=`EQUALS_SIGN`,e[e.GREATER_THAN_SIGN=62]=`GREATER_THAN_SIGN`,e[e.QUESTION_MARK=63]=`QUESTION_MARK`,e[e.LATIN_CAPITAL_A=65]=`LATIN_CAPITAL_A`,e[e.LATIN_CAPITAL_Z=90]=`LATIN_CAPITAL_Z`,e[e.RIGHT_SQUARE_BRACKET=93]=`RIGHT_SQUARE_BRACKET`,e[e.GRAVE_ACCENT=96]=`GRAVE_ACCENT`,e[e.LATIN_SMALL_A=97]=`LATIN_SMALL_A`,e[e.LATIN_SMALL_Z=122]=`LATIN_SMALL_Z`})(G||={});var Xq={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`};function Zq(e){return e>=55296&&e<=57343}function Qq(e){return e>=56320&&e<=57343}function $q(e,t){return(e-55296)*1024+9216+t}function eJ(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function tJ(e){return e>=64976&&e<=65007||Yq.has(e)}var K;(function(e){e.controlCharacterInInputStream=`control-character-in-input-stream`,e.noncharacterInInputStream=`noncharacter-in-input-stream`,e.surrogateInInputStream=`surrogate-in-input-stream`,e.nonVoidHtmlElementStartTagWithTrailingSolidus=`non-void-html-element-start-tag-with-trailing-solidus`,e.endTagWithAttributes=`end-tag-with-attributes`,e.endTagWithTrailingSolidus=`end-tag-with-trailing-solidus`,e.unexpectedSolidusInTag=`unexpected-solidus-in-tag`,e.unexpectedNullCharacter=`unexpected-null-character`,e.unexpectedQuestionMarkInsteadOfTagName=`unexpected-question-mark-instead-of-tag-name`,e.invalidFirstCharacterOfTagName=`invalid-first-character-of-tag-name`,e.unexpectedEqualsSignBeforeAttributeName=`unexpected-equals-sign-before-attribute-name`,e.missingEndTagName=`missing-end-tag-name`,e.unexpectedCharacterInAttributeName=`unexpected-character-in-attribute-name`,e.unknownNamedCharacterReference=`unknown-named-character-reference`,e.missingSemicolonAfterCharacterReference=`missing-semicolon-after-character-reference`,e.unexpectedCharacterAfterDoctypeSystemIdentifier=`unexpected-character-after-doctype-system-identifier`,e.unexpectedCharacterInUnquotedAttributeValue=`unexpected-character-in-unquoted-attribute-value`,e.eofBeforeTagName=`eof-before-tag-name`,e.eofInTag=`eof-in-tag`,e.missingAttributeValue=`missing-attribute-value`,e.missingWhitespaceBetweenAttributes=`missing-whitespace-between-attributes`,e.missingWhitespaceAfterDoctypePublicKeyword=`missing-whitespace-after-doctype-public-keyword`,e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=`missing-whitespace-between-doctype-public-and-system-identifiers`,e.missingWhitespaceAfterDoctypeSystemKeyword=`missing-whitespace-after-doctype-system-keyword`,e.missingQuoteBeforeDoctypePublicIdentifier=`missing-quote-before-doctype-public-identifier`,e.missingQuoteBeforeDoctypeSystemIdentifier=`missing-quote-before-doctype-system-identifier`,e.missingDoctypePublicIdentifier=`missing-doctype-public-identifier`,e.missingDoctypeSystemIdentifier=`missing-doctype-system-identifier`,e.abruptDoctypePublicIdentifier=`abrupt-doctype-public-identifier`,e.abruptDoctypeSystemIdentifier=`abrupt-doctype-system-identifier`,e.cdataInHtmlContent=`cdata-in-html-content`,e.incorrectlyOpenedComment=`incorrectly-opened-comment`,e.eofInScriptHtmlCommentLikeText=`eof-in-script-html-comment-like-text`,e.eofInDoctype=`eof-in-doctype`,e.nestedComment=`nested-comment`,e.abruptClosingOfEmptyComment=`abrupt-closing-of-empty-comment`,e.eofInComment=`eof-in-comment`,e.incorrectlyClosedComment=`incorrectly-closed-comment`,e.eofInCdata=`eof-in-cdata`,e.absenceOfDigitsInNumericCharacterReference=`absence-of-digits-in-numeric-character-reference`,e.nullCharacterReference=`null-character-reference`,e.surrogateCharacterReference=`surrogate-character-reference`,e.characterReferenceOutsideUnicodeRange=`character-reference-outside-unicode-range`,e.controlCharacterReference=`control-character-reference`,e.noncharacterCharacterReference=`noncharacter-character-reference`,e.missingWhitespaceBeforeDoctypeName=`missing-whitespace-before-doctype-name`,e.missingDoctypeName=`missing-doctype-name`,e.invalidCharacterSequenceAfterDoctypeName=`invalid-character-sequence-after-doctype-name`,e.duplicateAttribute=`duplicate-attribute`,e.nonConformingDoctype=`non-conforming-doctype`,e.missingDoctype=`missing-doctype`,e.misplacedDoctype=`misplaced-doctype`,e.endTagWithoutMatchingOpenElement=`end-tag-without-matching-open-element`,e.closingOfElementWithOpenChildElements=`closing-of-element-with-open-child-elements`,e.disallowedContentInNoscriptInHead=`disallowed-content-in-noscript-in-head`,e.openElementsLeftAfterEof=`open-elements-left-after-eof`,e.abandonedHeadElementChild=`abandoned-head-element-child`,e.misplacedStartTagForHeadElement=`misplaced-start-tag-for-head-element`,e.nestedNoscriptInHead=`nested-noscript-in-head`,e.eofInElementThatCanContainOnlyText=`eof-in-element-that-can-contain-only-text`})(K||={});var nJ=65536,rJ=class{constructor(e){this.handler=e,this.html=``,this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=nJ,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(Qq(t))return this.pos++,this._addGap(),$q(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,G.EOF;return this._err(K.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,G.EOF;let n=this.html.charCodeAt(t);return n===G.CARRIAGE_RETURN?G.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,G.EOF;let e=this.html.charCodeAt(this.pos);return e===G.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,G.LINE_FEED):e===G.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Zq(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===G.LINE_FEED||e===G.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){eJ(e)?this._err(K.controlCharacterInInputStream):tJ(e)&&this._err(K.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},iJ;(function(e){e[e.CHARACTER=0]=`CHARACTER`,e[e.NULL_CHARACTER=1]=`NULL_CHARACTER`,e[e.WHITESPACE_CHARACTER=2]=`WHITESPACE_CHARACTER`,e[e.START_TAG=3]=`START_TAG`,e[e.END_TAG=4]=`END_TAG`,e[e.COMMENT=5]=`COMMENT`,e[e.DOCTYPE=6]=`DOCTYPE`,e[e.EOF=7]=`EOF`,e[e.HIBERNATION=8]=`HIBERNATION`})(iJ||={});function aJ(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var oJ=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),sJ=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);String.fromCodePoint;function cJ(e){return e>=55296&&e<=57343||e>1114111?65533:sJ.get(e)??e}var lJ;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(lJ||={});var uJ=32,dJ;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(dJ||={});function fJ(e){return e>=lJ.ZERO&&e<=lJ.NINE}function pJ(e){return e>=lJ.UPPER_A&&e<=lJ.UPPER_F||e>=lJ.LOWER_A&&e<=lJ.LOWER_F}function mJ(e){return e>=lJ.UPPER_A&&e<=lJ.UPPER_Z||e>=lJ.LOWER_A&&e<=lJ.LOWER_Z||fJ(e)}function hJ(e){return e===lJ.EQUALS||mJ(e)}var gJ;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(gJ||={});var _J;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(_J||={});var vJ=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=gJ.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=_J.Strict}startEntity(e){this.decodeMode=e,this.state=gJ.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case gJ.EntityStart:return e.charCodeAt(t)===lJ.NUM?(this.state=gJ.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=gJ.NamedEntity,this.stateNamedEntity(e,t));case gJ.NumericStart:return this.stateNumericStart(e,t);case gJ.NumericDecimal:return this.stateNumericDecimal(e,t);case gJ.NumericHex:return this.stateNumericHex(e,t);case gJ.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|uJ)===lJ.LOWER_X?(this.state=gJ.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=gJ.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(fJ(r)||pJ(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(fJ(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===lJ.SEMI)this.consumed+=1;else if(this.decodeMode===_J.Strict)return 0;return this.emitCodePoint(cJ(this.result),this.consumed),this.errors&&(e!==lJ.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&dJ.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=yJ(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===_J.Attribute&&(i===0||hJ(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&dJ.VALUE_LENGTH)>>14,i!==0){if(a===lJ.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==_J.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&dJ.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~dJ.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case gJ.NamedEntity:return this.result!==0&&(this.decodeMode!==_J.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case gJ.NumericDecimal:return this.emitNumericEntity(0,2);case gJ.NumericHex:return this.emitNumericEntity(0,3);case gJ.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case gJ.EntityStart:return 0}}};function yJ(e,t,n,r){let i=(t&dJ.BRANCH_LENGTH)>>7,a=t&dJ.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var q;(function(e){e.HTML=`http://www.w3.org/1999/xhtml`,e.MATHML=`http://www.w3.org/1998/Math/MathML`,e.SVG=`http://www.w3.org/2000/svg`,e.XLINK=`http://www.w3.org/1999/xlink`,e.XML=`http://www.w3.org/XML/1998/namespace`,e.XMLNS=`http://www.w3.org/2000/xmlns/`})(q||={});var bJ;(function(e){e.TYPE=`type`,e.ACTION=`action`,e.ENCODING=`encoding`,e.PROMPT=`prompt`,e.NAME=`name`,e.COLOR=`color`,e.FACE=`face`,e.SIZE=`size`})(bJ||={});var xJ;(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(xJ||={});var J;(function(e){e.A=`a`,e.ADDRESS=`address`,e.ANNOTATION_XML=`annotation-xml`,e.APPLET=`applet`,e.AREA=`area`,e.ARTICLE=`article`,e.ASIDE=`aside`,e.B=`b`,e.BASE=`base`,e.BASEFONT=`basefont`,e.BGSOUND=`bgsound`,e.BIG=`big`,e.BLOCKQUOTE=`blockquote`,e.BODY=`body`,e.BR=`br`,e.BUTTON=`button`,e.CAPTION=`caption`,e.CENTER=`center`,e.CODE=`code`,e.COL=`col`,e.COLGROUP=`colgroup`,e.DD=`dd`,e.DESC=`desc`,e.DETAILS=`details`,e.DIALOG=`dialog`,e.DIR=`dir`,e.DIV=`div`,e.DL=`dl`,e.DT=`dt`,e.EM=`em`,e.EMBED=`embed`,e.FIELDSET=`fieldset`,e.FIGCAPTION=`figcaption`,e.FIGURE=`figure`,e.FONT=`font`,e.FOOTER=`footer`,e.FOREIGN_OBJECT=`foreignObject`,e.FORM=`form`,e.FRAME=`frame`,e.FRAMESET=`frameset`,e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.HEAD=`head`,e.HEADER=`header`,e.HGROUP=`hgroup`,e.HR=`hr`,e.HTML=`html`,e.I=`i`,e.IMG=`img`,e.IMAGE=`image`,e.INPUT=`input`,e.IFRAME=`iframe`,e.KEYGEN=`keygen`,e.LABEL=`label`,e.LI=`li`,e.LINK=`link`,e.LISTING=`listing`,e.MAIN=`main`,e.MALIGNMARK=`malignmark`,e.MARQUEE=`marquee`,e.MATH=`math`,e.MENU=`menu`,e.META=`meta`,e.MGLYPH=`mglyph`,e.MI=`mi`,e.MO=`mo`,e.MN=`mn`,e.MS=`ms`,e.MTEXT=`mtext`,e.NAV=`nav`,e.NOBR=`nobr`,e.NOFRAMES=`noframes`,e.NOEMBED=`noembed`,e.NOSCRIPT=`noscript`,e.OBJECT=`object`,e.OL=`ol`,e.OPTGROUP=`optgroup`,e.OPTION=`option`,e.P=`p`,e.PARAM=`param`,e.PLAINTEXT=`plaintext`,e.PRE=`pre`,e.RB=`rb`,e.RP=`rp`,e.RT=`rt`,e.RTC=`rtc`,e.RUBY=`ruby`,e.S=`s`,e.SCRIPT=`script`,e.SEARCH=`search`,e.SECTION=`section`,e.SELECT=`select`,e.SOURCE=`source`,e.SMALL=`small`,e.SPAN=`span`,e.STRIKE=`strike`,e.STRONG=`strong`,e.STYLE=`style`,e.SUB=`sub`,e.SUMMARY=`summary`,e.SUP=`sup`,e.TABLE=`table`,e.TBODY=`tbody`,e.TEMPLATE=`template`,e.TEXTAREA=`textarea`,e.TFOOT=`tfoot`,e.TD=`td`,e.TH=`th`,e.THEAD=`thead`,e.TITLE=`title`,e.TR=`tr`,e.TRACK=`track`,e.TT=`tt`,e.U=`u`,e.UL=`ul`,e.SVG=`svg`,e.VAR=`var`,e.WBR=`wbr`,e.XMP=`xmp`})(J||={});var Y;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.A=1]=`A`,e[e.ADDRESS=2]=`ADDRESS`,e[e.ANNOTATION_XML=3]=`ANNOTATION_XML`,e[e.APPLET=4]=`APPLET`,e[e.AREA=5]=`AREA`,e[e.ARTICLE=6]=`ARTICLE`,e[e.ASIDE=7]=`ASIDE`,e[e.B=8]=`B`,e[e.BASE=9]=`BASE`,e[e.BASEFONT=10]=`BASEFONT`,e[e.BGSOUND=11]=`BGSOUND`,e[e.BIG=12]=`BIG`,e[e.BLOCKQUOTE=13]=`BLOCKQUOTE`,e[e.BODY=14]=`BODY`,e[e.BR=15]=`BR`,e[e.BUTTON=16]=`BUTTON`,e[e.CAPTION=17]=`CAPTION`,e[e.CENTER=18]=`CENTER`,e[e.CODE=19]=`CODE`,e[e.COL=20]=`COL`,e[e.COLGROUP=21]=`COLGROUP`,e[e.DD=22]=`DD`,e[e.DESC=23]=`DESC`,e[e.DETAILS=24]=`DETAILS`,e[e.DIALOG=25]=`DIALOG`,e[e.DIR=26]=`DIR`,e[e.DIV=27]=`DIV`,e[e.DL=28]=`DL`,e[e.DT=29]=`DT`,e[e.EM=30]=`EM`,e[e.EMBED=31]=`EMBED`,e[e.FIELDSET=32]=`FIELDSET`,e[e.FIGCAPTION=33]=`FIGCAPTION`,e[e.FIGURE=34]=`FIGURE`,e[e.FONT=35]=`FONT`,e[e.FOOTER=36]=`FOOTER`,e[e.FOREIGN_OBJECT=37]=`FOREIGN_OBJECT`,e[e.FORM=38]=`FORM`,e[e.FRAME=39]=`FRAME`,e[e.FRAMESET=40]=`FRAMESET`,e[e.H1=41]=`H1`,e[e.H2=42]=`H2`,e[e.H3=43]=`H3`,e[e.H4=44]=`H4`,e[e.H5=45]=`H5`,e[e.H6=46]=`H6`,e[e.HEAD=47]=`HEAD`,e[e.HEADER=48]=`HEADER`,e[e.HGROUP=49]=`HGROUP`,e[e.HR=50]=`HR`,e[e.HTML=51]=`HTML`,e[e.I=52]=`I`,e[e.IMG=53]=`IMG`,e[e.IMAGE=54]=`IMAGE`,e[e.INPUT=55]=`INPUT`,e[e.IFRAME=56]=`IFRAME`,e[e.KEYGEN=57]=`KEYGEN`,e[e.LABEL=58]=`LABEL`,e[e.LI=59]=`LI`,e[e.LINK=60]=`LINK`,e[e.LISTING=61]=`LISTING`,e[e.MAIN=62]=`MAIN`,e[e.MALIGNMARK=63]=`MALIGNMARK`,e[e.MARQUEE=64]=`MARQUEE`,e[e.MATH=65]=`MATH`,e[e.MENU=66]=`MENU`,e[e.META=67]=`META`,e[e.MGLYPH=68]=`MGLYPH`,e[e.MI=69]=`MI`,e[e.MO=70]=`MO`,e[e.MN=71]=`MN`,e[e.MS=72]=`MS`,e[e.MTEXT=73]=`MTEXT`,e[e.NAV=74]=`NAV`,e[e.NOBR=75]=`NOBR`,e[e.NOFRAMES=76]=`NOFRAMES`,e[e.NOEMBED=77]=`NOEMBED`,e[e.NOSCRIPT=78]=`NOSCRIPT`,e[e.OBJECT=79]=`OBJECT`,e[e.OL=80]=`OL`,e[e.OPTGROUP=81]=`OPTGROUP`,e[e.OPTION=82]=`OPTION`,e[e.P=83]=`P`,e[e.PARAM=84]=`PARAM`,e[e.PLAINTEXT=85]=`PLAINTEXT`,e[e.PRE=86]=`PRE`,e[e.RB=87]=`RB`,e[e.RP=88]=`RP`,e[e.RT=89]=`RT`,e[e.RTC=90]=`RTC`,e[e.RUBY=91]=`RUBY`,e[e.S=92]=`S`,e[e.SCRIPT=93]=`SCRIPT`,e[e.SEARCH=94]=`SEARCH`,e[e.SECTION=95]=`SECTION`,e[e.SELECT=96]=`SELECT`,e[e.SOURCE=97]=`SOURCE`,e[e.SMALL=98]=`SMALL`,e[e.SPAN=99]=`SPAN`,e[e.STRIKE=100]=`STRIKE`,e[e.STRONG=101]=`STRONG`,e[e.STYLE=102]=`STYLE`,e[e.SUB=103]=`SUB`,e[e.SUMMARY=104]=`SUMMARY`,e[e.SUP=105]=`SUP`,e[e.TABLE=106]=`TABLE`,e[e.TBODY=107]=`TBODY`,e[e.TEMPLATE=108]=`TEMPLATE`,e[e.TEXTAREA=109]=`TEXTAREA`,e[e.TFOOT=110]=`TFOOT`,e[e.TD=111]=`TD`,e[e.TH=112]=`TH`,e[e.THEAD=113]=`THEAD`,e[e.TITLE=114]=`TITLE`,e[e.TR=115]=`TR`,e[e.TRACK=116]=`TRACK`,e[e.TT=117]=`TT`,e[e.U=118]=`U`,e[e.UL=119]=`UL`,e[e.SVG=120]=`SVG`,e[e.VAR=121]=`VAR`,e[e.WBR=122]=`WBR`,e[e.XMP=123]=`XMP`})(Y||={});var SJ=new Map([[J.A,Y.A],[J.ADDRESS,Y.ADDRESS],[J.ANNOTATION_XML,Y.ANNOTATION_XML],[J.APPLET,Y.APPLET],[J.AREA,Y.AREA],[J.ARTICLE,Y.ARTICLE],[J.ASIDE,Y.ASIDE],[J.B,Y.B],[J.BASE,Y.BASE],[J.BASEFONT,Y.BASEFONT],[J.BGSOUND,Y.BGSOUND],[J.BIG,Y.BIG],[J.BLOCKQUOTE,Y.BLOCKQUOTE],[J.BODY,Y.BODY],[J.BR,Y.BR],[J.BUTTON,Y.BUTTON],[J.CAPTION,Y.CAPTION],[J.CENTER,Y.CENTER],[J.CODE,Y.CODE],[J.COL,Y.COL],[J.COLGROUP,Y.COLGROUP],[J.DD,Y.DD],[J.DESC,Y.DESC],[J.DETAILS,Y.DETAILS],[J.DIALOG,Y.DIALOG],[J.DIR,Y.DIR],[J.DIV,Y.DIV],[J.DL,Y.DL],[J.DT,Y.DT],[J.EM,Y.EM],[J.EMBED,Y.EMBED],[J.FIELDSET,Y.FIELDSET],[J.FIGCAPTION,Y.FIGCAPTION],[J.FIGURE,Y.FIGURE],[J.FONT,Y.FONT],[J.FOOTER,Y.FOOTER],[J.FOREIGN_OBJECT,Y.FOREIGN_OBJECT],[J.FORM,Y.FORM],[J.FRAME,Y.FRAME],[J.FRAMESET,Y.FRAMESET],[J.H1,Y.H1],[J.H2,Y.H2],[J.H3,Y.H3],[J.H4,Y.H4],[J.H5,Y.H5],[J.H6,Y.H6],[J.HEAD,Y.HEAD],[J.HEADER,Y.HEADER],[J.HGROUP,Y.HGROUP],[J.HR,Y.HR],[J.HTML,Y.HTML],[J.I,Y.I],[J.IMG,Y.IMG],[J.IMAGE,Y.IMAGE],[J.INPUT,Y.INPUT],[J.IFRAME,Y.IFRAME],[J.KEYGEN,Y.KEYGEN],[J.LABEL,Y.LABEL],[J.LI,Y.LI],[J.LINK,Y.LINK],[J.LISTING,Y.LISTING],[J.MAIN,Y.MAIN],[J.MALIGNMARK,Y.MALIGNMARK],[J.MARQUEE,Y.MARQUEE],[J.MATH,Y.MATH],[J.MENU,Y.MENU],[J.META,Y.META],[J.MGLYPH,Y.MGLYPH],[J.MI,Y.MI],[J.MO,Y.MO],[J.MN,Y.MN],[J.MS,Y.MS],[J.MTEXT,Y.MTEXT],[J.NAV,Y.NAV],[J.NOBR,Y.NOBR],[J.NOFRAMES,Y.NOFRAMES],[J.NOEMBED,Y.NOEMBED],[J.NOSCRIPT,Y.NOSCRIPT],[J.OBJECT,Y.OBJECT],[J.OL,Y.OL],[J.OPTGROUP,Y.OPTGROUP],[J.OPTION,Y.OPTION],[J.P,Y.P],[J.PARAM,Y.PARAM],[J.PLAINTEXT,Y.PLAINTEXT],[J.PRE,Y.PRE],[J.RB,Y.RB],[J.RP,Y.RP],[J.RT,Y.RT],[J.RTC,Y.RTC],[J.RUBY,Y.RUBY],[J.S,Y.S],[J.SCRIPT,Y.SCRIPT],[J.SEARCH,Y.SEARCH],[J.SECTION,Y.SECTION],[J.SELECT,Y.SELECT],[J.SOURCE,Y.SOURCE],[J.SMALL,Y.SMALL],[J.SPAN,Y.SPAN],[J.STRIKE,Y.STRIKE],[J.STRONG,Y.STRONG],[J.STYLE,Y.STYLE],[J.SUB,Y.SUB],[J.SUMMARY,Y.SUMMARY],[J.SUP,Y.SUP],[J.TABLE,Y.TABLE],[J.TBODY,Y.TBODY],[J.TEMPLATE,Y.TEMPLATE],[J.TEXTAREA,Y.TEXTAREA],[J.TFOOT,Y.TFOOT],[J.TD,Y.TD],[J.TH,Y.TH],[J.THEAD,Y.THEAD],[J.TITLE,Y.TITLE],[J.TR,Y.TR],[J.TRACK,Y.TRACK],[J.TT,Y.TT],[J.U,Y.U],[J.UL,Y.UL],[J.SVG,Y.SVG],[J.VAR,Y.VAR],[J.WBR,Y.WBR],[J.XMP,Y.XMP]]);function CJ(e){return SJ.get(e)??Y.UNKNOWN}var X=Y,wJ={[q.HTML]:new Set([X.ADDRESS,X.APPLET,X.AREA,X.ARTICLE,X.ASIDE,X.BASE,X.BASEFONT,X.BGSOUND,X.BLOCKQUOTE,X.BODY,X.BR,X.BUTTON,X.CAPTION,X.CENTER,X.COL,X.COLGROUP,X.DD,X.DETAILS,X.DIR,X.DIV,X.DL,X.DT,X.EMBED,X.FIELDSET,X.FIGCAPTION,X.FIGURE,X.FOOTER,X.FORM,X.FRAME,X.FRAMESET,X.H1,X.H2,X.H3,X.H4,X.H5,X.H6,X.HEAD,X.HEADER,X.HGROUP,X.HR,X.HTML,X.IFRAME,X.IMG,X.INPUT,X.LI,X.LINK,X.LISTING,X.MAIN,X.MARQUEE,X.MENU,X.META,X.NAV,X.NOEMBED,X.NOFRAMES,X.NOSCRIPT,X.OBJECT,X.OL,X.P,X.PARAM,X.PLAINTEXT,X.PRE,X.SCRIPT,X.SECTION,X.SELECT,X.SOURCE,X.STYLE,X.SUMMARY,X.TABLE,X.TBODY,X.TD,X.TEMPLATE,X.TEXTAREA,X.TFOOT,X.TH,X.THEAD,X.TITLE,X.TR,X.TRACK,X.UL,X.WBR,X.XMP]),[q.MATHML]:new Set([X.MI,X.MO,X.MN,X.MS,X.MTEXT,X.ANNOTATION_XML]),[q.SVG]:new Set([X.TITLE,X.FOREIGN_OBJECT,X.DESC]),[q.XLINK]:new Set,[q.XML]:new Set,[q.XMLNS]:new Set},TJ=new Set([X.H1,X.H2,X.H3,X.H4,X.H5,X.H6]);new Set([J.STYLE,J.SCRIPT,J.XMP,J.IFRAME,J.NOEMBED,J.NOFRAMES,J.PLAINTEXT]);var Z;(function(e){e[e.DATA=0]=`DATA`,e[e.RCDATA=1]=`RCDATA`,e[e.RAWTEXT=2]=`RAWTEXT`,e[e.SCRIPT_DATA=3]=`SCRIPT_DATA`,e[e.PLAINTEXT=4]=`PLAINTEXT`,e[e.TAG_OPEN=5]=`TAG_OPEN`,e[e.END_TAG_OPEN=6]=`END_TAG_OPEN`,e[e.TAG_NAME=7]=`TAG_NAME`,e[e.RCDATA_LESS_THAN_SIGN=8]=`RCDATA_LESS_THAN_SIGN`,e[e.RCDATA_END_TAG_OPEN=9]=`RCDATA_END_TAG_OPEN`,e[e.RCDATA_END_TAG_NAME=10]=`RCDATA_END_TAG_NAME`,e[e.RAWTEXT_LESS_THAN_SIGN=11]=`RAWTEXT_LESS_THAN_SIGN`,e[e.RAWTEXT_END_TAG_OPEN=12]=`RAWTEXT_END_TAG_OPEN`,e[e.RAWTEXT_END_TAG_NAME=13]=`RAWTEXT_END_TAG_NAME`,e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=`SCRIPT_DATA_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_END_TAG_OPEN=15]=`SCRIPT_DATA_END_TAG_OPEN`,e[e.SCRIPT_DATA_END_TAG_NAME=16]=`SCRIPT_DATA_END_TAG_NAME`,e[e.SCRIPT_DATA_ESCAPE_START=17]=`SCRIPT_DATA_ESCAPE_START`,e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=`SCRIPT_DATA_ESCAPE_START_DASH`,e[e.SCRIPT_DATA_ESCAPED=19]=`SCRIPT_DATA_ESCAPED`,e[e.SCRIPT_DATA_ESCAPED_DASH=20]=`SCRIPT_DATA_ESCAPED_DASH`,e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=`SCRIPT_DATA_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=`SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=`SCRIPT_DATA_ESCAPED_END_TAG_OPEN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=`SCRIPT_DATA_ESCAPED_END_TAG_NAME`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=`SCRIPT_DATA_DOUBLE_ESCAPE_START`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=`SCRIPT_DATA_DOUBLE_ESCAPED`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=`SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=`SCRIPT_DATA_DOUBLE_ESCAPE_END`,e[e.BEFORE_ATTRIBUTE_NAME=31]=`BEFORE_ATTRIBUTE_NAME`,e[e.ATTRIBUTE_NAME=32]=`ATTRIBUTE_NAME`,e[e.AFTER_ATTRIBUTE_NAME=33]=`AFTER_ATTRIBUTE_NAME`,e[e.BEFORE_ATTRIBUTE_VALUE=34]=`BEFORE_ATTRIBUTE_VALUE`,e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=`ATTRIBUTE_VALUE_DOUBLE_QUOTED`,e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=`ATTRIBUTE_VALUE_SINGLE_QUOTED`,e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=`ATTRIBUTE_VALUE_UNQUOTED`,e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=`AFTER_ATTRIBUTE_VALUE_QUOTED`,e[e.SELF_CLOSING_START_TAG=39]=`SELF_CLOSING_START_TAG`,e[e.BOGUS_COMMENT=40]=`BOGUS_COMMENT`,e[e.MARKUP_DECLARATION_OPEN=41]=`MARKUP_DECLARATION_OPEN`,e[e.COMMENT_START=42]=`COMMENT_START`,e[e.COMMENT_START_DASH=43]=`COMMENT_START_DASH`,e[e.COMMENT=44]=`COMMENT`,e[e.COMMENT_LESS_THAN_SIGN=45]=`COMMENT_LESS_THAN_SIGN`,e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=`COMMENT_LESS_THAN_SIGN_BANG`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=`COMMENT_LESS_THAN_SIGN_BANG_DASH`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=`COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH`,e[e.COMMENT_END_DASH=49]=`COMMENT_END_DASH`,e[e.COMMENT_END=50]=`COMMENT_END`,e[e.COMMENT_END_BANG=51]=`COMMENT_END_BANG`,e[e.DOCTYPE=52]=`DOCTYPE`,e[e.BEFORE_DOCTYPE_NAME=53]=`BEFORE_DOCTYPE_NAME`,e[e.DOCTYPE_NAME=54]=`DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_NAME=55]=`AFTER_DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=`AFTER_DOCTYPE_PUBLIC_KEYWORD`,e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=`BEFORE_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=`DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=`DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=`AFTER_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=`BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS`,e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=`AFTER_DOCTYPE_SYSTEM_KEYWORD`,e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=`BEFORE_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=`DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=`DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=`AFTER_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.BOGUS_DOCTYPE=67]=`BOGUS_DOCTYPE`,e[e.CDATA_SECTION=68]=`CDATA_SECTION`,e[e.CDATA_SECTION_BRACKET=69]=`CDATA_SECTION_BRACKET`,e[e.CDATA_SECTION_END=70]=`CDATA_SECTION_END`,e[e.CHARACTER_REFERENCE=71]=`CHARACTER_REFERENCE`,e[e.AMBIGUOUS_AMPERSAND=72]=`AMBIGUOUS_AMPERSAND`})(Z||={});var EJ={DATA:Z.DATA,RCDATA:Z.RCDATA,RAWTEXT:Z.RAWTEXT,SCRIPT_DATA:Z.SCRIPT_DATA,PLAINTEXT:Z.PLAINTEXT,CDATA_SECTION:Z.CDATA_SECTION};function DJ(e){return e>=G.DIGIT_0&&e<=G.DIGIT_9}function OJ(e){return e>=G.LATIN_CAPITAL_A&&e<=G.LATIN_CAPITAL_Z}function kJ(e){return e>=G.LATIN_SMALL_A&&e<=G.LATIN_SMALL_Z}function AJ(e){return kJ(e)||OJ(e)}function jJ(e){return AJ(e)||DJ(e)}function MJ(e){return e+32}function NJ(e){return e===G.SPACE||e===G.LINE_FEED||e===G.TABULATION||e===G.FORM_FEED}function PJ(e){return NJ(e)||e===G.SOLIDUS||e===G.GREATER_THAN_SIGN}function FJ(e){return e===G.NULL?K.nullCharacterReference:e>1114111?K.characterReferenceOutsideUnicodeRange:Zq(e)?K.surrogateCharacterReference:tJ(e)?K.noncharacterCharacterReference:eJ(e)||e===G.CARRIAGE_RETURN?K.controlCharacterReference:null}var IJ=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=``,this.active=!1,this.state=Z.DATA,this.returnState=Z.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new rJ(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new vJ(oJ,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(K.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(K.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=FJ(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error(`Parser was already resumed`);this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:iJ.START_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:iJ.END_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:iJ.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:iJ.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:``},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if(aJ(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(K.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=CJ(e.tagName),e.type===iJ.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(K.endTagWithAttributes),e.selfClosing&&this._err(K.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case iJ.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case iJ.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case iJ.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:iJ.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=NJ(e)?iJ.WHITESPACE_CHARACTER:e===G.NULL?iJ.NULL_CHARACTER:iJ.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(iJ.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=Z.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?_J.Attribute:_J.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Z.DATA:this._stateData(e);break;case Z.RCDATA:this._stateRcdata(e);break;case Z.RAWTEXT:this._stateRawtext(e);break;case Z.SCRIPT_DATA:this._stateScriptData(e);break;case Z.PLAINTEXT:this._statePlaintext(e);break;case Z.TAG_OPEN:this._stateTagOpen(e);break;case Z.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Z.TAG_NAME:this._stateTagName(e);break;case Z.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Z.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Z.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Z.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Z.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Z.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Z.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Z.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Z.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Z.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Z.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Z.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Z.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Z.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Z.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Z.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Z.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Z.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Z.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Z.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Z.BOGUS_COMMENT:this._stateBogusComment(e);break;case Z.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Z.COMMENT_START:this._stateCommentStart(e);break;case Z.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Z.COMMENT:this._stateComment(e);break;case Z.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Z.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Z.COMMENT_END:this._stateCommentEnd(e);break;case Z.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Z.DOCTYPE:this._stateDoctype(e);break;case Z.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Z.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Z.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Z.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Z.CDATA_SECTION:this._stateCdataSection(e);break;case Z.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Z.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Z.CHARACTER_REFERENCE:this._stateCharacterReference();break;case Z.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.TAG_OPEN;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitCodePoint(e);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case G.AMPERSAND:this._startCharacterReference();break;case G.LESS_THAN_SIGN:this.state=Z.RCDATA_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.RAWTEXT_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(AJ(e))this._createStartTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case G.EXCLAMATION_MARK:this.state=Z.MARKUP_DECLARATION_OPEN;break;case G.SOLIDUS:this.state=Z.END_TAG_OPEN;break;case G.QUESTION_MARK:this._err(K.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e);break;case G.EOF:this._err(K.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(K.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=Z.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(AJ(e))this._createEndTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case G.GREATER_THAN_SIGN:this._err(K.missingEndTagName),this.state=Z.DATA;break;case G.EOF:this._err(K.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(K.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),t.tagName+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(OJ(e)?MJ(e):e)}}_stateRcdataLessThanSign(e){e===G.SOLIDUS?this.state=Z.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){AJ(e)?(this.state=Z.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Z.BEFORE_ATTRIBUTE_NAME,!1;case G.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Z.SELF_CLOSING_START_TAG,!1;case G.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Z.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===G.SOLIDUS?this.state=Z.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){AJ(e)?(this.state=Z.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case G.SOLIDUS:this.state=Z.SCRIPT_DATA_END_TAG_OPEN;break;case G.EXCLAMATION_MARK:this.state=Z.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){AJ(e)?(this.state=Z.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===G.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===G.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===G.SOLIDUS?this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:AJ(e)?(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){AJ(e)?(this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Xq.SCRIPT,!1)&&PJ(this.preprocessor.peek(Xq.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Xq.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===G.SOLIDUS?(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Xq.SCRIPT,!1)&&PJ(this.preprocessor.peek(Xq.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Xq.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._err(K.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=Z.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this._leaveAttrName(),this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._leaveAttrName(),this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:this._err(K.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(OJ(e)?MJ(e):e)}}_stateAfterAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case G.EQUALS_SIGN:this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:this.state=Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case G.APOSTROPHE:this.state=Z.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingAttributeValue),this.state=Z.DATA,this.emitCurrentTagToken();break;default:this.state=Z.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case G.APOSTROPHE:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.AMPERSAND:this._startCharacterReference();break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:case G.EQUALS_SIGN:case G.GRAVE_ACCENT:this._err(K.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this._leaveAttrValue(),this.state=Z.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._err(K.missingWhitespaceBetweenAttributes),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case G.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=Z.DATA,this.emitCurrentTagToken();break}case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._err(K.unexpectedSolidusInTag),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Xq.DASH_DASH,!0)?(this._createCommentToken(Xq.DASH_DASH.length+1),this.state=Z.COMMENT_START):this._consumeSequenceIfMatch(Xq.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Xq.DOCTYPE.length+1),this.state=Z.DOCTYPE):this._consumeSequenceIfMatch(Xq.CDATA_START,!0)?this.inForeignNode?this.state=Z.CDATA_SECTION:(this._err(K.cdataInHtmlContent),this._createCommentToken(Xq.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=Z.BOGUS_COMMENT):this._ensureHibernation()||(this._err(K.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_START_DASH;break;case G.GREATER_THAN_SIGN:{this._err(K.abruptClosingOfEmptyComment),this.state=Z.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case G.GREATER_THAN_SIGN:this._err(K.abruptClosingOfEmptyComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END_DASH;break;case G.LESS_THAN_SIGN:t.data+=`<`,this.state=Z.COMMENT_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.data+=`�`;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case G.EXCLAMATION_MARK:t.data+=`!`,this.state=Z.COMMENT_LESS_THAN_SIGN_BANG;break;case G.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===G.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Z.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===G.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Z.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==G.GREATER_THAN_SIGN&&e!==G.EOF&&this._err(K.nestedComment),this.state=Z.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EXCLAMATION_MARK:this.state=Z.COMMENT_END_BANG;break;case G.HYPHEN_MINUS:t.data+=`-`;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:t.data+=`--!`,this.state=Z.COMMENT_END_DASH;break;case G.GREATER_THAN_SIGN:this._err(K.incorrectlyClosedComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=Z.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case G.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(K.missingWhitespaceBeforeDoctypeName),this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(OJ(e))this._createDoctypeToken(String.fromCharCode(MJ(e))),this.state=Z.DOCTYPE_NAME;else switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.NULL:this._err(K.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=Z.DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:{this._err(K.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Z.DATA;break}case G.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Z.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.AFTER_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.NULL:this._err(K.unexpectedNullCharacter),t.name+=`�`;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(OJ(e)?MJ(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(Xq.PUBLIC,!1)?this.state=Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Xq.SYSTEM,!1)?this.state=Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(K.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.NULL:this._err(K.unexpectedNullCharacter);break;case G.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break;default:}}_stateCdataSection(e){switch(e){case G.RIGHT_SQUARE_BRACKET:this.state=Z.CDATA_SECTION_BRACKET;break;case G.EOF:this._err(K.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===G.RIGHT_SQUARE_BRACKET?this.state=Z.CDATA_SECTION_END:(this._emitChars(`]`),this.state=Z.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA;break;case G.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=Z.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(G.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&jJ(this.preprocessor.peek(1))?Z.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){jJ(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===G.SEMICOLON&&this._err(K.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},LJ=new Set([Y.DD,Y.DT,Y.LI,Y.OPTGROUP,Y.OPTION,Y.P,Y.RB,Y.RP,Y.RT,Y.RTC]),RJ=new Set([...LJ,Y.CAPTION,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]),zJ=new Set([Y.APPLET,Y.CAPTION,Y.HTML,Y.MARQUEE,Y.OBJECT,Y.TABLE,Y.TD,Y.TEMPLATE,Y.TH]),BJ=new Set([...zJ,Y.OL,Y.UL]),VJ=new Set([...zJ,Y.BUTTON]),HJ=new Set([Y.ANNOTATION_XML,Y.MI,Y.MN,Y.MO,Y.MS,Y.MTEXT]),UJ=new Set([Y.DESC,Y.FOREIGN_OBJECT,Y.TITLE]),WJ=new Set([Y.TR,Y.TEMPLATE,Y.HTML]),GJ=new Set([Y.TBODY,Y.TFOOT,Y.THEAD,Y.TEMPLATE,Y.HTML]),KJ=new Set([Y.TABLE,Y.TEMPLATE,Y.HTML]),qJ=new Set([Y.TD,Y.TH]),JJ=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Y.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Y.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===q.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==q.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(TJ,q.HTML)}popUntilTableCellPopped(){this.popUntilPopped(qJ,q.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(KJ,q.HTML)}clearBackToTableBodyContext(){this.clearBackTo(GJ,q.HTML)}clearBackToTableRowContext(){this.clearBackTo(WJ,q.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Y.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===Y.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case q.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case q.SVG:if(UJ.has(r))return!1;break;case q.MATHML:if(HJ.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,zJ)}hasInListItemScope(e){return this.hasInDynamicScope(e,BJ)}hasInButtonScope(e){return this.hasInDynamicScope(e,VJ)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case q.HTML:if(TJ.has(t))return!0;if(zJ.has(t))return!1;break;case q.SVG:if(UJ.has(t))return!1;break;case q.MATHML:if(HJ.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case e:return!0;case Y.TABLE:case Y.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===q.HTML)switch(this.tagIDs[e]){case Y.TBODY:case Y.THEAD:case Y.TFOOT:return!0;case Y.TABLE:case Y.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case e:return!0;case Y.OPTION:case Y.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&LJ.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&RJ.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&RJ.has(this.currentTagId);)this.pop()}},YJ=3,XJ;(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(XJ||={});var ZJ={type:XJ.Marker},QJ=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===XJ.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<YJ)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<YJ)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=YJ&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(ZJ)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:XJ.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:XJ.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(ZJ);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===XJ.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===XJ.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===XJ.Element&&t.element===e)}},$J={createDocument(){return{nodeName:`#document`,mode:xJ.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};$J.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if($J.isTextNode(n)){n.value+=t;return}}$J.appendChild(e,$J.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&$J.isTextNode(r)?r.value+=t:$J.insertBefore(e,$J.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eY=`html`,tY=`about:legacy-compat`,nY=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,rY=`+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//`.split(`,`),iY=[...rY,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],aY=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),oY=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],sY=[...oY,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`];function cY(e,t){return t.some(t=>e.startsWith(t))}function lY(e){return e.name===eY&&e.publicId===null&&(e.systemId===null||e.systemId===tY)}function uY(e){if(e.name!==eY)return xJ.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===nY)return xJ.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),aY.has(n))return xJ.QUIRKS;let e=t===null?iY:rY;if(cY(n,e))return xJ.QUIRKS;if(e=t===null?oY:sY,cY(n,e))return xJ.LIMITED_QUIRKS}return xJ.NO_QUIRKS}var dY={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},fY=`definitionurl`,pY=`definitionURL`,mY=new Map(`attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),hY=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:q.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:q.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:q.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:q.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:q.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:q.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:q.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:q.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:q.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:q.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:q.XMLNS}]]),gY=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),_Y=new Set([Y.B,Y.BIG,Y.BLOCKQUOTE,Y.BODY,Y.BR,Y.CENTER,Y.CODE,Y.DD,Y.DIV,Y.DL,Y.DT,Y.EM,Y.EMBED,Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6,Y.HEAD,Y.HR,Y.I,Y.IMG,Y.LI,Y.LISTING,Y.MENU,Y.META,Y.NOBR,Y.OL,Y.P,Y.PRE,Y.RUBY,Y.S,Y.SMALL,Y.SPAN,Y.STRONG,Y.STRIKE,Y.SUB,Y.SUP,Y.TABLE,Y.TT,Y.U,Y.UL,Y.VAR]);function vY(e){let t=e.tagID;return t===Y.FONT&&e.attrs.some(({name:e})=>e===bJ.COLOR||e===bJ.SIZE||e===bJ.FACE)||_Y.has(t)}function yY(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===fY){e.attrs[t].name=pY;break}}function bY(e){for(let t=0;t<e.attrs.length;t++){let n=mY.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function xY(e){for(let t=0;t<e.attrs.length;t++){let n=hY.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function SY(e){let t=gY.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=CJ(e.tagName))}function CY(e,t){return t===q.MATHML&&(e===Y.MI||e===Y.MO||e===Y.MN||e===Y.MS||e===Y.MTEXT)}function wY(e,t,n){if(t===q.MATHML&&e===Y.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===bJ.ENCODING){let t=n[e].value.toLowerCase();return t===dY.TEXT_HTML||t===dY.APPLICATION_XML}}return t===q.SVG&&(e===Y.FOREIGN_OBJECT||e===Y.DESC||e===Y.TITLE)}function TY(e,t,n,r){return(!r||r===q.HTML)&&wY(e,t,n)||(!r||r===q.MATHML)&&CY(e,t)}var EY=`hidden`,DY=8,OY=3,Q;(function(e){e[e.INITIAL=0]=`INITIAL`,e[e.BEFORE_HTML=1]=`BEFORE_HTML`,e[e.BEFORE_HEAD=2]=`BEFORE_HEAD`,e[e.IN_HEAD=3]=`IN_HEAD`,e[e.IN_HEAD_NO_SCRIPT=4]=`IN_HEAD_NO_SCRIPT`,e[e.AFTER_HEAD=5]=`AFTER_HEAD`,e[e.IN_BODY=6]=`IN_BODY`,e[e.TEXT=7]=`TEXT`,e[e.IN_TABLE=8]=`IN_TABLE`,e[e.IN_TABLE_TEXT=9]=`IN_TABLE_TEXT`,e[e.IN_CAPTION=10]=`IN_CAPTION`,e[e.IN_COLUMN_GROUP=11]=`IN_COLUMN_GROUP`,e[e.IN_TABLE_BODY=12]=`IN_TABLE_BODY`,e[e.IN_ROW=13]=`IN_ROW`,e[e.IN_CELL=14]=`IN_CELL`,e[e.IN_SELECT=15]=`IN_SELECT`,e[e.IN_SELECT_IN_TABLE=16]=`IN_SELECT_IN_TABLE`,e[e.IN_TEMPLATE=17]=`IN_TEMPLATE`,e[e.AFTER_BODY=18]=`AFTER_BODY`,e[e.IN_FRAMESET=19]=`IN_FRAMESET`,e[e.AFTER_FRAMESET=20]=`AFTER_FRAMESET`,e[e.AFTER_AFTER_BODY=21]=`AFTER_AFTER_BODY`,e[e.AFTER_AFTER_FRAMESET=22]=`AFTER_AFTER_FRAMESET`})(Q||={});var kY={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},AY=new Set([Y.TABLE,Y.TBODY,Y.TFOOT,Y.THEAD,Y.TR]),jY={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:$J,onParseError:null},MY=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Q.INITIAL,this.originalInsertionMode=Q.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...jY,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new IJ(this.options,this),this.activeFormattingElements=new QJ(this.treeAdapter),this.fragmentContextID=n?CJ(this.treeAdapter.getTagName(n)):Y.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new JJ(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...jY,...t};e??=n.treeAdapter.createElement(J.TEMPLATE,q.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,q.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===Y.TEMPLATE&&i.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??kY,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===q.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,q.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Q.TEXT}switchToPlaintextParsing(){this.insertionMode=Q.TEXT,this.originalInsertionMode=Q.IN_BODY,this.tokenizer.state=EJ.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===J.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==q.HTML))switch(this.fragmentContextID){case Y.TITLE:case Y.TEXTAREA:this.tokenizer.state=EJ.RCDATA;break;case Y.STYLE:case Y.XMP:case Y.IFRAME:case Y.NOEMBED:case Y.NOFRAMES:case Y.NOSCRIPT:this.tokenizer.state=EJ.RAWTEXT;break;case Y.SCRIPT:this.tokenizer.state=EJ.SCRIPT_DATA;break;case Y.PLAINTEXT:this.tokenizer.state=EJ.PLAINTEXT;break;default:}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,q.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,q.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(J.HTML,q.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Y.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===iJ.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===Y.SVG&&this.treeAdapter.getTagName(t)===J.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===q.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===Y.MGLYPH||e.tagID===Y.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,q.HTML)}_processToken(e){switch(e.type){case iJ.CHARACTER:this.onCharacter(e);break;case iJ.NULL_CHARACTER:this.onNullCharacter(e);break;case iJ.COMMENT:this.onComment(e);break;case iJ.DOCTYPE:this.onDoctype(e);break;case iJ.START_TAG:this._processStartTag(e);break;case iJ.END_TAG:this.onEndTag(e);break;case iJ.EOF:this.onEof(e);break;case iJ.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e);break}}_isIntegrationPoint(e,t,n){return TY(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===XJ.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Q.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Y.P),this.openElements.popUntilTagNamePopped(Y.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Y.TR:this.insertionMode=Q.IN_ROW;return;case Y.TBODY:case Y.THEAD:case Y.TFOOT:this.insertionMode=Q.IN_TABLE_BODY;return;case Y.CAPTION:this.insertionMode=Q.IN_CAPTION;return;case Y.COLGROUP:this.insertionMode=Q.IN_COLUMN_GROUP;return;case Y.TABLE:this.insertionMode=Q.IN_TABLE;return;case Y.BODY:this.insertionMode=Q.IN_BODY;return;case Y.FRAMESET:this.insertionMode=Q.IN_FRAMESET;return;case Y.SELECT:this._resetInsertionModeForSelect(e);return;case Y.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case Y.HTML:this.insertionMode=this.headElement?Q.AFTER_HEAD:Q.BEFORE_HEAD;return;case Y.TD:case Y.TH:if(e>0){this.insertionMode=Q.IN_CELL;return}break;case Y.HEAD:if(e>0){this.insertionMode=Q.IN_HEAD;return}break}this.insertionMode=Q.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===Y.TEMPLATE)break;if(e===Y.TABLE){this.insertionMode=Q.IN_SELECT_IN_TABLE;return}}this.insertionMode=Q.IN_SELECT}_isElementCausesFosterParenting(e){return AY.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Y.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===q.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Y.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return wJ[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){XZ(this,e);return}switch(this.insertionMode){case Q.INITIAL:GY(this,e);break;case Q.BEFORE_HTML:JY(this,e);break;case Q.BEFORE_HEAD:ZY(this,e);break;case Q.IN_HEAD:tX(this,e);break;case Q.IN_HEAD_NO_SCRIPT:iX(this,e);break;case Q.AFTER_HEAD:sX(this,e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:uX(this,e);break;case Q.TEXT:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:aZ(this,e);break;case Q.IN_TABLE_TEXT:vZ(this,e);break;case Q.IN_COLUMN_GROUP:TZ(this,e);break;case Q.AFTER_BODY:VZ(this,e);break;case Q.AFTER_AFTER_BODY:qZ(this,e);break;default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){YZ(this,e);return}switch(this.insertionMode){case Q.INITIAL:GY(this,e);break;case Q.BEFORE_HTML:JY(this,e);break;case Q.BEFORE_HEAD:ZY(this,e);break;case Q.IN_HEAD:tX(this,e);break;case Q.IN_HEAD_NO_SCRIPT:iX(this,e);break;case Q.AFTER_HEAD:sX(this,e);break;case Q.TEXT:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:aZ(this,e);break;case Q.IN_COLUMN_GROUP:TZ(this,e);break;case Q.AFTER_BODY:VZ(this,e);break;case Q.AFTER_AFTER_BODY:qZ(this,e);break;default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){BY(this,e);return}switch(this.insertionMode){case Q.INITIAL:case Q.BEFORE_HTML:case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_TEMPLATE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:BY(this,e);break;case Q.IN_TABLE_TEXT:yZ(this,e);break;case Q.AFTER_BODY:VY(this,e);break;case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:HY(this,e);break;default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Q.INITIAL:WY(this,e);break;case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:this._err(e,K.misplacedDoctype);break;case Q.IN_TABLE_TEXT:yZ(this,e);break;default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,K.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?QZ(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:GY(this,e);break;case Q.BEFORE_HTML:KY(this,e);break;case Q.BEFORE_HEAD:YY(this,e);break;case Q.IN_HEAD:QY(this,e);break;case Q.IN_HEAD_NO_SCRIPT:nX(this,e);break;case Q.AFTER_HEAD:aX(this,e);break;case Q.IN_BODY:UX(this,e);break;case Q.IN_TABLE:mZ(this,e);break;case Q.IN_TABLE_TEXT:yZ(this,e);break;case Q.IN_CAPTION:xZ(this,e);break;case Q.IN_COLUMN_GROUP:CZ(this,e);break;case Q.IN_TABLE_BODY:EZ(this,e);break;case Q.IN_ROW:OZ(this,e);break;case Q.IN_CELL:AZ(this,e);break;case Q.IN_SELECT:MZ(this,e);break;case Q.IN_SELECT_IN_TABLE:PZ(this,e);break;case Q.IN_TEMPLATE:IZ(this,e);break;case Q.AFTER_BODY:zZ(this,e);break;case Q.IN_FRAMESET:HZ(this,e);break;case Q.AFTER_FRAMESET:WZ(this,e);break;case Q.AFTER_AFTER_BODY:KZ(this,e);break;case Q.AFTER_AFTER_FRAMESET:JZ(this,e);break;default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?$Z(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:GY(this,e);break;case Q.BEFORE_HTML:qY(this,e);break;case Q.BEFORE_HEAD:XY(this,e);break;case Q.IN_HEAD:$Y(this,e);break;case Q.IN_HEAD_NO_SCRIPT:rX(this,e);break;case Q.AFTER_HEAD:oX(this,e);break;case Q.IN_BODY:tZ(this,e);break;case Q.TEXT:rZ(this,e);break;case Q.IN_TABLE:hZ(this,e);break;case Q.IN_TABLE_TEXT:yZ(this,e);break;case Q.IN_CAPTION:SZ(this,e);break;case Q.IN_COLUMN_GROUP:wZ(this,e);break;case Q.IN_TABLE_BODY:DZ(this,e);break;case Q.IN_ROW:kZ(this,e);break;case Q.IN_CELL:jZ(this,e);break;case Q.IN_SELECT:NZ(this,e);break;case Q.IN_SELECT_IN_TABLE:FZ(this,e);break;case Q.IN_TEMPLATE:LZ(this,e);break;case Q.AFTER_BODY:BZ(this,e);break;case Q.IN_FRAMESET:UZ(this,e);break;case Q.AFTER_FRAMESET:GZ(this,e);break;case Q.AFTER_AFTER_BODY:qZ(this,e);break;default:}}onEof(e){switch(this.insertionMode){case Q.INITIAL:GY(this,e);break;case Q.BEFORE_HTML:JY(this,e);break;case Q.BEFORE_HEAD:ZY(this,e);break;case Q.IN_HEAD:tX(this,e);break;case Q.IN_HEAD_NO_SCRIPT:iX(this,e);break;case Q.AFTER_HEAD:sX(this,e);break;case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:nZ(this,e);break;case Q.TEXT:iZ(this,e);break;case Q.IN_TABLE_TEXT:yZ(this,e);break;case Q.IN_TEMPLATE:RZ(this,e);break;case Q.AFTER_BODY:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:UY(this,e);break;default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===G.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.TEXT:case Q.IN_COLUMN_GROUP:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:this._insertCharacters(e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:case Q.AFTER_BODY:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:lX(this,e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:aZ(this,e);break;case Q.IN_TABLE_TEXT:_Z(this,e);break;default:}}};function NY(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):eZ(e,t),n}function PY(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function FY(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=OY;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=IY(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function IY(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function LY(e,t,n){let r=CJ(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===Y.TEMPLATE&&i===q.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function RY(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function zY(e,t){for(let n=0;n<DY;n++){let n=NY(e,t);if(!n)break;let r=PY(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=FY(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&LY(e,a,i),RY(e,r,n)}}function BY(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function VY(e,t){e._appendCommentNode(t,e.openElements.items[0])}function HY(e,t){e._appendCommentNode(t,e.document)}function UY(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function WY(e,t){e._setDocumentType(t);let n=t.forceQuirks?xJ.QUIRKS:uY(t);lY(t)||e._err(t,K.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Q.BEFORE_HTML}function GY(e,t){e._err(t,K.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,xJ.QUIRKS),e.insertionMode=Q.BEFORE_HTML,e._processToken(t)}function KY(e,t){t.tagID===Y.HTML?(e._insertElement(t,q.HTML),e.insertionMode=Q.BEFORE_HEAD):JY(e,t)}function qY(e,t){let n=t.tagID;(n===Y.HTML||n===Y.HEAD||n===Y.BODY||n===Y.BR)&&JY(e,t)}function JY(e,t){e._insertFakeRootElement(),e.insertionMode=Q.BEFORE_HEAD,e._processToken(t)}function YY(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.HEAD:e._insertElement(t,q.HTML),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD;break;default:ZY(e,t)}}function XY(e,t){let n=t.tagID;n===Y.HEAD||n===Y.BODY||n===Y.HTML||n===Y.BR?ZY(e,t):e._err(t,K.endTagWithoutMatchingOpenElement)}function ZY(e,t){e._insertFakeElement(J.HEAD,Y.HEAD),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD,e._processToken(t)}function QY(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.TITLE:e._switchToTextParsing(t,EJ.RCDATA);break;case Y.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,EJ.RAWTEXT):(e._insertElement(t,q.HTML),e.insertionMode=Q.IN_HEAD_NO_SCRIPT);break;case Y.NOFRAMES:case Y.STYLE:e._switchToTextParsing(t,EJ.RAWTEXT);break;case Y.SCRIPT:e._switchToTextParsing(t,EJ.SCRIPT_DATA);break;case Y.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Q.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE);break;case Y.HEAD:e._err(t,K.misplacedStartTagForHeadElement);break;default:tX(e,t)}}function $Y(e,t){switch(t.tagID){case Y.HEAD:e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD;break;case Y.BODY:case Y.BR:case Y.HTML:tX(e,t);break;case Y.TEMPLATE:eX(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function eX(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Y.TEMPLATE&&e._err(t,K.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,K.endTagWithoutMatchingOpenElement)}function tX(e,t){e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD,e._processToken(t)}function nX(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.BASEFONT:case Y.BGSOUND:case Y.HEAD:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.STYLE:QY(e,t);break;case Y.NOSCRIPT:e._err(t,K.nestedNoscriptInHead);break;default:iX(e,t)}}function rX(e,t){switch(t.tagID){case Y.NOSCRIPT:e.openElements.pop(),e.insertionMode=Q.IN_HEAD;break;case Y.BR:iX(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function iX(e,t){let n=t.type===iJ.EOF?K.openElementsLeftAfterEof:K.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Q.IN_HEAD,e._processToken(t)}function aX(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.BODY:e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_BODY;break;case Y.FRAMESET:e._insertElement(t,q.HTML),e.insertionMode=Q.IN_FRAMESET;break;case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.SCRIPT:case Y.STYLE:case Y.TEMPLATE:case Y.TITLE:e._err(t,K.abandonedHeadElementChild),e.openElements.push(e.headElement,Y.HEAD),QY(e,t),e.openElements.remove(e.headElement);break;case Y.HEAD:e._err(t,K.misplacedStartTagForHeadElement);break;default:sX(e,t)}}function oX(e,t){switch(t.tagID){case Y.BODY:case Y.HTML:case Y.BR:sX(e,t);break;case Y.TEMPLATE:eX(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function sX(e,t){e._insertFakeElement(J.BODY,Y.BODY),e.insertionMode=Q.IN_BODY,cX(e,t)}function cX(e,t){switch(t.type){case iJ.CHARACTER:uX(e,t);break;case iJ.WHITESPACE_CHARACTER:lX(e,t);break;case iJ.COMMENT:BY(e,t);break;case iJ.START_TAG:UX(e,t);break;case iJ.END_TAG:tZ(e,t);break;case iJ.EOF:nZ(e,t);break;default:}}function lX(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function uX(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function dX(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function fX(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function pX(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_FRAMESET)}function mX(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function hX(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&TJ.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,q.HTML)}function gX(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function _X(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),n||(e.formElement=e.openElements.current))}function vX(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===Y.LI&&r===Y.LI||(n===Y.DD||n===Y.DT)&&(r===Y.DD||r===Y.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Y.ADDRESS&&r!==Y.DIV&&r!==Y.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function yX(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.tokenizer.state=EJ.PLAINTEXT}function bX(e,t){e.openElements.hasInScope(Y.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1}function xX(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(J.A);n&&(zY(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function SX(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function CX(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Y.NOBR)&&(zY(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wX(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function TX(e,t){e.treeAdapter.getDocumentMode(e.document)!==xJ.QUIRKS&&e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_TABLE}function EX(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function DX(e){let t=aJ(e,bJ.TYPE);return t!=null&&t.toLowerCase()===EY}function OX(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),DX(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function kX(e,t){e._appendElement(t,q.HTML),t.ackSelfClosing=!0}function AX(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function jX(e,t){t.tagName=J.IMG,t.tagID=Y.IMG,EX(e,t)}function MX(e,t){e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.tokenizer.state=EJ.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Q.TEXT}function NX(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,EJ.RAWTEXT)}function PX(e,t){e.framesetOk=!1,e._switchToTextParsing(t,EJ.RAWTEXT)}function FX(e,t){e._switchToTextParsing(t,EJ.RAWTEXT)}function IX(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Q.IN_TABLE||e.insertionMode===Q.IN_CAPTION||e.insertionMode===Q.IN_TABLE_BODY||e.insertionMode===Q.IN_ROW||e.insertionMode===Q.IN_CELL?Q.IN_SELECT_IN_TABLE:Q.IN_SELECT}function LX(e,t){e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function RX(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,q.HTML)}function zX(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Y.RTC),e._insertElement(t,q.HTML)}function BX(e,t){e._reconstructActiveFormattingElements(),yY(t),xY(t),t.selfClosing?e._appendElement(t,q.MATHML):e._insertElement(t,q.MATHML),t.ackSelfClosing=!0}function VX(e,t){e._reconstructActiveFormattingElements(),bY(t),xY(t),t.selfClosing?e._appendElement(t,q.SVG):e._insertElement(t,q.SVG),t.ackSelfClosing=!0}function HX(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function UX(e,t){switch(t.tagID){case Y.I:case Y.S:case Y.B:case Y.U:case Y.EM:case Y.TT:case Y.BIG:case Y.CODE:case Y.FONT:case Y.SMALL:case Y.STRIKE:case Y.STRONG:SX(e,t);break;case Y.A:xX(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:hX(e,t);break;case Y.P:case Y.DL:case Y.OL:case Y.UL:case Y.DIV:case Y.DIR:case Y.NAV:case Y.MAIN:case Y.MENU:case Y.ASIDE:case Y.CENTER:case Y.FIGURE:case Y.FOOTER:case Y.HEADER:case Y.HGROUP:case Y.DIALOG:case Y.DETAILS:case Y.ADDRESS:case Y.ARTICLE:case Y.SEARCH:case Y.SECTION:case Y.SUMMARY:case Y.FIELDSET:case Y.BLOCKQUOTE:case Y.FIGCAPTION:mX(e,t);break;case Y.LI:case Y.DD:case Y.DT:vX(e,t);break;case Y.BR:case Y.IMG:case Y.WBR:case Y.AREA:case Y.EMBED:case Y.KEYGEN:EX(e,t);break;case Y.HR:AX(e,t);break;case Y.RB:case Y.RTC:RX(e,t);break;case Y.RT:case Y.RP:zX(e,t);break;case Y.PRE:case Y.LISTING:gX(e,t);break;case Y.XMP:NX(e,t);break;case Y.SVG:VX(e,t);break;case Y.HTML:dX(e,t);break;case Y.BASE:case Y.LINK:case Y.META:case Y.STYLE:case Y.TITLE:case Y.SCRIPT:case Y.BGSOUND:case Y.BASEFONT:case Y.TEMPLATE:QY(e,t);break;case Y.BODY:fX(e,t);break;case Y.FORM:_X(e,t);break;case Y.NOBR:CX(e,t);break;case Y.MATH:BX(e,t);break;case Y.TABLE:TX(e,t);break;case Y.INPUT:OX(e,t);break;case Y.PARAM:case Y.TRACK:case Y.SOURCE:kX(e,t);break;case Y.IMAGE:jX(e,t);break;case Y.BUTTON:bX(e,t);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:wX(e,t);break;case Y.IFRAME:PX(e,t);break;case Y.SELECT:IX(e,t);break;case Y.OPTION:case Y.OPTGROUP:LX(e,t);break;case Y.NOEMBED:case Y.NOFRAMES:FX(e,t);break;case Y.FRAMESET:pX(e,t);break;case Y.TEXTAREA:MX(e,t);break;case Y.NOSCRIPT:e.options.scriptingEnabled?FX(e,t):HX(e,t);break;case Y.PLAINTEXT:yX(e,t);break;case Y.COL:case Y.TH:case Y.TD:case Y.TR:case Y.HEAD:case Y.FRAME:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.CAPTION:case Y.COLGROUP:break;default:HX(e,t)}}function WX(e,t){if(e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=Q.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function GX(e,t){e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=Q.AFTER_BODY,BZ(e,t))}function KX(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function qX(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Y.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Y.FORM):n&&e.openElements.remove(n))}function JX(e){e.openElements.hasInButtonScope(Y.P)||e._insertFakeElement(J.P,Y.P),e._closePElement()}function YX(e){e.openElements.hasInListItemScope(Y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Y.LI),e.openElements.popUntilTagNamePopped(Y.LI))}function XX(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function ZX(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function QX(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function $X(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(J.BR,Y.BR),e.openElements.pop(),e.framesetOk=!1}function eZ(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==Y.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tZ(e,t){switch(t.tagID){case Y.A:case Y.B:case Y.I:case Y.S:case Y.U:case Y.EM:case Y.TT:case Y.BIG:case Y.CODE:case Y.FONT:case Y.NOBR:case Y.SMALL:case Y.STRIKE:case Y.STRONG:zY(e,t);break;case Y.P:JX(e);break;case Y.DL:case Y.UL:case Y.OL:case Y.DIR:case Y.DIV:case Y.NAV:case Y.PRE:case Y.MAIN:case Y.MENU:case Y.ASIDE:case Y.BUTTON:case Y.CENTER:case Y.FIGURE:case Y.FOOTER:case Y.HEADER:case Y.HGROUP:case Y.DIALOG:case Y.ADDRESS:case Y.ARTICLE:case Y.DETAILS:case Y.SEARCH:case Y.SECTION:case Y.SUMMARY:case Y.LISTING:case Y.FIELDSET:case Y.BLOCKQUOTE:case Y.FIGCAPTION:KX(e,t);break;case Y.LI:YX(e);break;case Y.DD:case Y.DT:XX(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:ZX(e);break;case Y.BR:$X(e);break;case Y.BODY:WX(e,t);break;case Y.HTML:GX(e,t);break;case Y.FORM:qX(e);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:QX(e,t);break;case Y.TEMPLATE:eX(e,t);break;default:eZ(e,t)}}function nZ(e,t){e.tmplInsertionModeStack.length>0?RZ(e,t):UY(e,t)}function rZ(e,t){var n;t.tagID===Y.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function iZ(e,t){e._err(t,K.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function aZ(e,t){if(e.openElements.currentTagId!==void 0&&AY.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Q.IN_TABLE_TEXT,t.type){case iJ.CHARACTER:vZ(e,t);break;case iJ.WHITESPACE_CHARACTER:_Z(e,t);break}else gZ(e,t)}function oZ(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_CAPTION}function sZ(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_COLUMN_GROUP}function cZ(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.COLGROUP,Y.COLGROUP),e.insertionMode=Q.IN_COLUMN_GROUP,CZ(e,t)}function lZ(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_TABLE_BODY}function uZ(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.TBODY,Y.TBODY),e.insertionMode=Q.IN_TABLE_BODY,EZ(e,t)}function dZ(e,t){e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function fZ(e,t){DX(t)?e._appendElement(t,q.HTML):gZ(e,t),t.ackSelfClosing=!0}function pZ(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,q.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function mZ(e,t){switch(t.tagID){case Y.TD:case Y.TH:case Y.TR:uZ(e,t);break;case Y.STYLE:case Y.SCRIPT:case Y.TEMPLATE:QY(e,t);break;case Y.COL:cZ(e,t);break;case Y.FORM:pZ(e,t);break;case Y.TABLE:dZ(e,t);break;case Y.TBODY:case Y.TFOOT:case Y.THEAD:lZ(e,t);break;case Y.INPUT:fZ(e,t);break;case Y.CAPTION:oZ(e,t);break;case Y.COLGROUP:sZ(e,t);break;default:gZ(e,t)}}function hZ(e,t){switch(t.tagID){case Y.TABLE:e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode());break;case Y.TEMPLATE:eX(e,t);break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TBODY:case Y.TD:case Y.TFOOT:case Y.TH:case Y.THEAD:case Y.TR:break;default:gZ(e,t)}}function gZ(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,cX(e,t),e.fosterParentingEnabled=n}function _Z(e,t){e.pendingCharacterTokens.push(t)}function vZ(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function yZ(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)gZ(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var bZ=new Set([Y.CAPTION,Y.COL,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]);function xZ(e,t){let n=t.tagID;bZ.has(n)?e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,mZ(e,t)):UX(e,t)}function SZ(e,t){let n=t.tagID;switch(n){case Y.CAPTION:case Y.TABLE:e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,n===Y.TABLE&&hZ(e,t));break;case Y.BODY:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TBODY:case Y.TD:case Y.TFOOT:case Y.TH:case Y.THEAD:case Y.TR:break;default:tZ(e,t)}}function CZ(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.COL:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.TEMPLATE:QY(e,t);break;default:TZ(e,t)}}function wZ(e,t){switch(t.tagID){case Y.COLGROUP:e.openElements.currentTagId===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case Y.TEMPLATE:eX(e,t);break;case Y.COL:break;default:TZ(e,t)}}function TZ(e,t){e.openElements.currentTagId===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE,e._processToken(t))}function EZ(e,t){switch(t.tagID){case Y.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_ROW;break;case Y.TH:case Y.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(J.TR,Y.TR),e.insertionMode=Q.IN_ROW,OZ(e,t);break;case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,mZ(e,t));break;default:mZ(e,t)}}function DZ(e,t){let n=t.tagID;switch(t.tagID){case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case Y.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,hZ(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TD:case Y.TH:case Y.TR:break;default:hZ(e,t)}}function OZ(e,t){switch(t.tagID){case Y.TH:case Y.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_CELL,e.activeFormattingElements.insertMarker();break;case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.TR:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,EZ(e,t));break;default:mZ(e,t)}}function kZ(e,t){switch(t.tagID){case Y.TR:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY);break;case Y.TABLE:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,DZ(e,t));break;case Y.TBODY:case Y.TFOOT:case Y.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(Y.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,DZ(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TD:case Y.TH:break;default:hZ(e,t)}}function AZ(e,t){let n=t.tagID;bZ.has(n)?(e.openElements.hasInTableScope(Y.TD)||e.openElements.hasInTableScope(Y.TH))&&(e._closeTableCell(),OZ(e,t)):UX(e,t)}function jZ(e,t){let n=t.tagID;switch(n){case Y.TD:case Y.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_ROW);break;case Y.TABLE:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),kZ(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:break;default:tZ(e,t)}}function MZ(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.OPTION:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e._insertElement(t,q.HTML);break;case Y.OPTGROUP:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop(),e._insertElement(t,q.HTML);break;case Y.HR:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop(),e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.INPUT:case Y.KEYGEN:case Y.TEXTAREA:case Y.SELECT:e.openElements.hasInSelectScope(Y.SELECT)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),t.tagID!==Y.SELECT&&e._processStartTag(t));break;case Y.SCRIPT:case Y.TEMPLATE:QY(e,t);break;default:}}function NZ(e,t){switch(t.tagID){case Y.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===Y.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Y.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop();break;case Y.OPTION:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop();break;case Y.SELECT:e.openElements.hasInSelectScope(Y.SELECT)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode());break;case Y.TEMPLATE:eX(e,t);break;default:}}function PZ(e,t){let n=t.tagID;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e._processStartTag(t)):MZ(e,t)}function FZ(e,t){let n=t.tagID;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e.onEndTag(t)):NZ(e,t)}function IZ(e,t){switch(t.tagID){case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.SCRIPT:case Y.STYLE:case Y.TEMPLATE:case Y.TITLE:QY(e,t);break;case Y.CAPTION:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.tmplInsertionModeStack[0]=Q.IN_TABLE,e.insertionMode=Q.IN_TABLE,mZ(e,t);break;case Y.COL:e.tmplInsertionModeStack[0]=Q.IN_COLUMN_GROUP,e.insertionMode=Q.IN_COLUMN_GROUP,CZ(e,t);break;case Y.TR:e.tmplInsertionModeStack[0]=Q.IN_TABLE_BODY,e.insertionMode=Q.IN_TABLE_BODY,EZ(e,t);break;case Y.TD:case Y.TH:e.tmplInsertionModeStack[0]=Q.IN_ROW,e.insertionMode=Q.IN_ROW,OZ(e,t);break;default:e.tmplInsertionModeStack[0]=Q.IN_BODY,e.insertionMode=Q.IN_BODY,UX(e,t)}}function LZ(e,t){t.tagID===Y.TEMPLATE&&eX(e,t)}function RZ(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):UY(e,t)}function zZ(e,t){t.tagID===Y.HTML?UX(e,t):VZ(e,t)}function BZ(e,t){if(t.tagID===Y.HTML){if(e.fragmentContext||(e.insertionMode=Q.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Y.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else VZ(e,t)}function VZ(e,t){e.insertionMode=Q.IN_BODY,cX(e,t)}function HZ(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.FRAMESET:e._insertElement(t,q.HTML);break;case Y.FRAME:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.NOFRAMES:QY(e,t);break;default:}}function UZ(e,t){t.tagID===Y.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==Y.FRAMESET&&(e.insertionMode=Q.AFTER_FRAMESET))}function WZ(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.NOFRAMES:QY(e,t);break;default:}}function GZ(e,t){t.tagID===Y.HTML&&(e.insertionMode=Q.AFTER_AFTER_FRAMESET)}function KZ(e,t){t.tagID===Y.HTML?UX(e,t):qZ(e,t)}function qZ(e,t){e.insertionMode=Q.IN_BODY,cX(e,t)}function JZ(e,t){switch(t.tagID){case Y.HTML:UX(e,t);break;case Y.NOFRAMES:QY(e,t);break;default:}}function YZ(e,t){t.chars=`�`,e._insertCharacters(t)}function XZ(e,t){e._insertCharacters(t),e.framesetOk=!1}function ZZ(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==q.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function QZ(e,t){if(vY(t))ZZ(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===q.MATHML?yY(t):r===q.SVG&&(SY(t),bY(t)),xY(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function $Z(e,t){if(t.tagID===Y.P||t.tagID===Y.BR){ZZ(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===q.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}new Set([J.AREA,J.BASE,J.BASEFONT,J.BGSOUND,J.BR,J.COL,J.EMBED,J.FRAME,J.HR,J.IMG,J.INPUT,J.KEYGEN,J.LINK,J.META,J.PARAM,J.SOURCE,J.TRACK,J.WBR]);function eQ(e,t){return MY.parse(e,t)}function tQ(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=MY.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function nQ(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?iQ(e.position):`start`in e||`end`in e?iQ(e):`line`in e||`column`in e?rQ(e):``}function rQ(e){return aQ(e&&e.line)+`:`+aQ(e&&e.column)}function iQ(e){return rQ(e&&e.start)+`-`+rQ(e&&e.end)}function aQ(e){return e&&typeof e==`number`?e:1}var oQ=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=nQ(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual,this.expected,this.note,this.url}};oQ.prototype.file=``,oQ.prototype.name=``,oQ.prototype.reason=``,oQ.prototype.message=``,oQ.prototype.stack=``,oQ.prototype.column=void 0,oQ.prototype.line=void 0,oQ.prototype.ancestors=void 0,oQ.prototype.cause=void 0,oQ.prototype.fatal=void 0,oQ.prototype.place=void 0,oQ.prototype.ruleId=void 0,oQ.prototype.source=void 0;var sQ={basename:cQ,dirname:lQ,extname:uQ,join:dQ,sep:`/`};function cQ(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);mQ(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function lQ(e){if(mQ(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function uQ(e){mQ(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function dQ(...e){let t=-1,n;for(;++t<e.length;)mQ(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:fQ(n)}function fQ(e){mQ(e);let t=e.codePointAt(0)===47,n=pQ(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function pQ(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function mQ(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var hQ={cwd:gQ};function gQ(){return`/`}function _Q(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function vQ(e){if(typeof e==`string`)e=new URL(e);else if(!_Q(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return yQ(e)}function yQ(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var bQ=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],xQ=class{constructor(e){let t;t=e?_Q(e)?{path:e}:typeof e==`string`||TQ(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:hQ.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<bQ.length;){let e=bQ[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)bQ.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?sQ.basename(this.path):void 0}set basename(e){CQ(e,`basename`),SQ(e,`basename`),this.path=sQ.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?sQ.dirname(this.path):void 0}set dirname(e){wQ(this.basename,`dirname`),this.path=sQ.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?sQ.extname(this.path):void 0}set extname(e){if(SQ(e,`extname`),wQ(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=sQ.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){_Q(e)&&(e=vQ(e)),CQ(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?sQ.basename(this.path,this.extname):void 0}set stem(e){CQ(e,`stem`),SQ(e,`stem`),this.path=sQ.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new oQ(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function SQ(e,t){if(e&&e.includes(sQ.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+sQ.sep+"`")}function CQ(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function wQ(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function TQ(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var EQ={abandonedHeadElementChild:{reason:`Unexpected metadata element after head`,description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:`Unexpected abruptly closed empty comment`,description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:`Unexpected abruptly closed public identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:`Unexpected abruptly closed system identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:`Unexpected non-digit at start of numeric character reference`,description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:`Unexpected CDATA section in HTML`,description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:`Unexpected too big numeric character reference`,description:`Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)`},closingOfElementWithOpenChildElements:{reason:`Unexpected closing tag with open child elements`,description:`Unexpectedly closing tag. Expected other tags to be closed first`,url:!1},controlCharacterInInputStream:{reason:`Unexpected control character`,description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:`Unexpected control character reference`,description:`Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace`},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:`Unexpected duplicate attribute`,description:`Unexpectedly double attribute. Expected attributes to occur only once`},endTagWithAttributes:{reason:`Unexpected attribute on closing tag`,description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:`Unexpected slash at end of closing tag`,description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:`Unexpected unopened end tag`,description:`Unexpected end tag. Expected no end tag or another end tag`,url:!1},eofBeforeTagName:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected tag name instead`},eofInCdata:{reason:`Unexpected end of file in CDATA`,description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:`Unexpected end of file in comment`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:`Unexpected end of file in doctype`,description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:`Unexpected end of file in element that can only contain text`,description:`Unexpected end of file. Expected text or a closing tag`,url:!1},eofInScriptHtmlCommentLikeText:{reason:`Unexpected end of file in comment inside script`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:`Unexpected end of file in tag`,description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:`Incorrectly closed comment`,description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:`Incorrectly opened comment`,description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:`Invalid sequence after doctype name`,description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:`Invalid first character in tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:`Misplaced doctype`,description:`Unexpected doctype. Expected doctype before head`,url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:`Missing attribute value`,description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:`Missing doctype before other content`,description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:`Missing doctype name`,description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:`Missing public identifier in doctype`,description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:`Missing system identifier in doctype`,description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:`Missing name in end tag`,description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:`Missing quote before public identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:`Missing quote before system identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:`Missing semicolon after character reference`,description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:`Missing whitespace after public identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:`Missing whitespace after system identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:`Missing whitespace before doctype name`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:`Missing whitespace between attributes`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:`Missing whitespace between public and system identifiers in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:`Unexpected nested comment`,description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:`Unexpected non-conforming doctype declaration`,description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:`Unexpected trailing slash on start tag of non-void element`,description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:`Unexpected noncharacter code point referenced by character reference`,description:`Unexpected code point. Do not use noncharacters in HTML`},noncharacterInInputStream:{reason:`Unexpected noncharacter character`,description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:`Unexpected NULL character referenced by character reference`,description:`Unexpected code point. Do not use NULL characters in HTML`},openElementsLeftAfterEof:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected closing tag instead`,url:!1},surrogateCharacterReference:{reason:`Unexpected surrogate character referenced by character reference`,description:`Unexpected code point. Do not use lone surrogate characters in HTML`},surrogateInInputStream:{reason:`Unexpected surrogate character`,description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:`Invalid character after system identifier in doctype`,description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:`Unexpected character in attribute name`,description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:`Unexpected character in unquoted attribute value`,description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:`Unexpected equals sign before attribute name`,description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:`Unexpected NULL character`,description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:`Unexpected question mark instead of tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:`Unexpected slash in tag`,description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:`Unexpected unknown named character reference`,description:`Unexpected character reference. Expected known named character references`}},DQ=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,OQ=/-[a-z]/g,kQ=/%c(?:([-+])(\d+))?/g,AQ=/%x/g,jQ={2:!0,1:!1,0:null},MQ={};function NQ(e,t){let n=t||MQ,r=n.onerror,i=e instanceof xQ?e:new xQ(e),a=n.fragment?tQ:eQ,o=String(i);return Vq(a(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:i,space:n.space,verbose:n.verbose});function s(e){let t=e.code,a=PQ(t),s=n[a]??!0,c=typeof s==`number`?s:s?1:0;if(c){let n=EQ[a],o=new oQ(l(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:`hast-util-from-html`});i.path&&(o.file=i.path,o.name=i.path+`:`+o.name),o.fatal=jQ[c],o.note=l(n.description),o.url=n.url===!1?void 0:DQ+t,r(o)}function l(t){return t.replace(kQ,n).replace(AQ,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return IQ(o.charAt(e.startOffset+i))}function r(){return LQ(o.charCodeAt(e.startOffset))}}}}function PQ(e){return e.replace(OQ,FQ)}function FQ(e){return e.charAt(1).toUpperCase()}function IQ(e){return e==="`"?"` ` `":e}function LQ(e){return`0x`+e.toString(16).toUpperCase()}function RQ(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return NQ(e,{...r,onerror:n?function(e){t.path&&(e.name=t.path+`:`+e.name,e.file=t.path),t.messages.push(e)}:void 0})}}var zQ=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],BQ={}.hasOwnProperty;function VQ(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&BQ.call(t,e)){let n=String(t[e]);i=BQ.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var HQ=/["&'<>`]/g,UQ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WQ=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,GQ=/[|\\{}()[\]^$+*?.]/g,KQ=new WeakMap;function qQ(e,t){if(e=e.replace(t.subset?JQ(t.subset):HQ,r),t.subset||t.escapeOnly)return e;return e.replace(UQ,n).replace(WQ,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function JQ(e){let t=KQ.get(e);return t||(t=YQ(e),KQ.set(e,t)),t}function YQ(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(GQ,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var XQ=/[\dA-Fa-f]/;function ZQ(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!XQ.test(String.fromCharCode(t))?r:r+`;`}var QQ=/\d/;function $Q(e,t,n){let r=`&#`+String(e);return n&&t&&!QQ.test(String.fromCharCode(t))?r:r+`;`}var e$=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),t$={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},n$=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],r$={}.hasOwnProperty,i$={},a$;for(a$ in t$)r$.call(t$,a$)&&(i$[t$[a$]]=a$);var o$=/[^\dA-Za-z]/;function s$(e,t,n,r){let i=String.fromCharCode(e);if(r$.call(i$,i)){let e=i$[i],a=`&`+e;return n&&e$.includes(e)&&!n$.includes(e)&&(!r||t&&t!==61&&o$.test(String.fromCharCode(t)))?a:a+`;`}return``}function c$(e,t,n){let r=ZQ(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=s$(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=$Q(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function l$(e,t){return qQ(e,Object.assign({format:c$},t))}var u$=/^>|^->|<!--|-->|--!>|<!-$/g,d$=[`>`],f$=[`<`,`>`];function p$(e,t,n,r){return r.settings.bogusComments?`<?`+l$(e.value,Object.assign({},r.settings.characterReferences,{subset:d$}))+`>`:`<!--`+e.value.replace(u$,i)+`-->`;function i(e){return l$(e,Object.assign({},r.settings.characterReferences,{subset:f$}))}}function m$(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function h$(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var g$=/[ \t\n\f\r]/g;function _$(e){return typeof e==`object`?e.type===`text`?v$(e.value):!1:v$(e)}function v$(e){return e.replace(g$,``)===``}var y$=S$(1),b$=S$(-1),x$=[];function S$(e){return t;function t(t,n,r){let i=t?t.children:x$,a=(n||0)+e,o=i[a];if(!r)for(;o&&_$(o);)a+=e,o=i[a];return o}}var C$={}.hasOwnProperty;function w$(e){return t;function t(t,n,r){return C$.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var T$=w$({body:O$,caption:E$,colgroup:E$,dd:M$,dt:j$,head:E$,html:D$,li:A$,optgroup:P$,option:F$,p:k$,rp:N$,rt:N$,tbody:L$,td:B$,tfoot:R$,th:B$,thead:I$,tr:z$});function E$(e,t,n){let r=y$(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&_$(r.value.charAt(0)))}function D$(e,t,n){let r=y$(n,t);return!r||r.type!==`comment`}function O$(e,t,n){let r=y$(n,t);return!r||r.type!==`comment`}function k$(e,t,n){let r=y$(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||!(n.type===`element`&&(n.tagName===`a`||n.tagName===`audio`||n.tagName===`del`||n.tagName===`ins`||n.tagName===`map`||n.tagName===`noscript`||n.tagName===`video`))}function A$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&r.tagName===`li`}function j$(e,t,n){let r=y$(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function M$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function N$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function P$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function F$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function I$(e,t,n){let r=y$(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function L$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function R$(e,t,n){return!y$(n,t)}function z$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function B$(e,t,n){let r=y$(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var V$=w$({body:W$,colgroup:G$,head:U$,html:H$,tbody:K$});function H$(e){let t=y$(e,-1);return!t||t.type!==`comment`}function U$(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function W$(e){let t=y$(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&_$(t.value.charAt(0)))&&!(t.type===`element`&&(t.tagName===`meta`||t.tagName===`link`||t.tagName===`script`||t.tagName===`style`||t.tagName===`template`))}function G$(e,t,n){let r=b$(n,t),i=y$(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&T$(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function K$(e,t,n){let r=b$(n,t),i=y$(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&T$(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var q$={name:[[`
159
+ \f\r &/=>`.split(``),`
160
+ \f\r "&'/=>\``.split(``)],[`\0
161
+ \f\r "&'/<=>`.split(``),`\0
162
+ \f\r "&'/<=>\``.split(``)]],unquoted:[[`
163
+ \f\r &>`.split(``),`\0
164
+ \f\r "&'<=>\``.split(``)],[`\0
165
+ \f\r "&'<=>\``.split(``),`\0
166
+ \f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function J$(e,t,n,r){let i=r.schema,a=i.space===`svg`?!1:r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=_q);let l=Y$(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!V$(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!T$(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function Y$(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=X$(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function X$(e,t,n){let r=pq(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=e.settings.allowDangerousCharacters?0:1,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=l$(r.attribute,Object.assign({},e.settings.characterReferences,{subset:q$.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?yq:Cq)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=l$(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:q$.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&h$(n,o)>h$(n,e.alternative)&&(o=e.alternative),s=o+l$(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?q$.single:q$.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var Z$=[`<`,`&`];function Q$(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:l$(e.value,Object.assign({},r.settings.characterReferences,{subset:Z$}))}function $$(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Q$(e,t,n,r)}function e1(e,t,n,r){return r.all(e)}var t1=VQ(`type`,{invalid:n1,unknown:r1,handlers:{comment:p$,doctype:m$,element:J$,raw:$$,root:e1,text:Q$}});function n1(e){throw Error("Expected node, not `"+e+"`")}function r1(e){let t=e;throw Error("Cannot compile unknown node `"+t.type+"`")}var i1={},a1={},o1=[];function s1(e,t){let n=t||i1,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:c1,all:l1,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||zQ,characterReferences:n.characterReferences||a1,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?_q:gq,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function c1(e,t,n){return t1(e,t,n,this)}function l1(e){let t=[],n=e&&e.children||o1,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function u1(e){let t=this,n={...t.data(`settings`),...e};t.compiler=r;function r(e){return s1(e,n)}}function d1(e){if(e)throw e}var f1=eK(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function p1(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function m1(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?h1(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function h1(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var g1=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),_1=rK(f1(),1),v1={}.hasOwnProperty,y1=new class e extends g1{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=m1()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,_1.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(S1(`data`,this.frozen),this.namespace[e]=t,this):v1.call(this.namespace,e)&&this.namespace[e]||void 0:e?(S1(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=T1(e),n=this.parser||this.Parser;return b1(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),b1(`process`,this.parser||this.Parser),x1(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=T1(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);D1(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),b1(`processSync`,this.parser||this.Parser),x1(`processSync`,this.compiler||this.Compiler),this.process(e,r),w1(`processSync`,`process`,t),n;function r(e,r){t=!0,d1(e),n=r}}run(e,t,n){C1(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=T1(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),w1(`runSync`,`run`,n),r;function i(e,t){d1(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=T1(t),r=this.compiler||this.Compiler;return x1(`stringify`,r),C1(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(S1(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,_1.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];p1(o)&&p1(r)&&(r=(0,_1.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function b1(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function x1(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function S1(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function C1(e){if(!p1(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function w1(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function T1(e){return E1(e)?e:new xQ(e)}function E1(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function D1(e){return typeof e==`string`||O1(e)}function O1(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}function k1(e){let t=`[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*`,n=`def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord`,r={$pattern:t,built_in:n+` cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize`},i={begin:t,relevance:0},a={scope:`number`,relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},o={scope:`character`,variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},s={scope:`regex`,begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l={scope:`punctuation`,match:/,/,relevance:0},u=e.COMMENT(`;`,`$`,{relevance:0}),d={className:`literal`,begin:/\b(true|false|nil)\b/},f={begin:`\\[|(#::?`+t+`)?\\{`,end:`[\\]\\}]`,relevance:0},p={className:`symbol`,begin:`[:]{1,2}`+t},m={begin:`\\(`,end:`\\)`},h={endsWithParent:!0,relevance:0},g={keywords:r,className:`name`,begin:t,relevance:0,starts:h},_=[l,m,o,s,c,u,p,f,a,d,i];return m.contains=[{beginKeywords:n,keywords:{$pattern:t,keyword:n},end:`(\\[|#|\\d|"|:|\\{|\\)|\\(|$)`,contains:[{className:`title`,begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(_)},g,h],h.contains=_,f.contains=_,{name:`Clojure`,aliases:[`clj`,`edn`],illegal:/\S/,contains:[l,m,o,s,c,u,p,f,a,d]}}function A1(e){let t={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`}]},n={className:`subst`,variants:[{begin:/\$\{/,end:/\}/}],keywords:`true false null this is new super`},r={className:`number`,relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:`string`,variants:[{begin:`r'''`,end:`'''`},{begin:`r"""`,end:`"""`},{begin:`r'`,end:`'`,illegal:`\\n`},{begin:`r"`,end:`"`,illegal:`\\n`},{begin:`'''`,end:`'''`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`"""`,end:`"""`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`'`,end:`'`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,i];let a=`Comparable.DateTime.Duration.Function.Iterable.Iterator.List.Map.Match.Object.Pattern.RegExp.Set.Stopwatch.String.StringBuffer.StringSink.Symbol.Type.Uri.bool.double.int.num.Element.ElementList`.split(`.`),o=a.map(e=>`${e}?`);return{name:`Dart`,keywords:{keyword:`abstract.as.assert.async.await.base.break.case.catch.class.const.continue.covariant.default.deferred.do.dynamic.else.enum.export.extends.extension.external.factory.false.final.finally.for.Function.get.hide.if.implements.import.in.interface.is.late.library.mixin.new.null.on.operator.part.required.rethrow.return.sealed.set.show.static.super.switch.sync.this.throw.true.try.typedef.var.void.when.while.with.yield`.split(`.`),built_in:a.concat(o).concat([`Never`,`Null`,`dynamic`,`print`,`document`,`querySelector`,`querySelectorAll`,`window`]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:`markdown`,relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:`markdown`,begin:`.`,end:`$`,relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`class`,beginKeywords:`class interface`,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},r,{className:`meta`,begin:`@[A-Za-z]+`},{begin:`=>`}]}}function j1(e){return{name:`Dockerfile`,aliases:[`docker`],case_insensitive:!0,keywords:[`from`,`maintainer`,`expose`,`env`,`arg`,`user`,`onbuild`,`stopsignal`],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:`run cmd entrypoint volume add copy workdir label healthcheck shell`,starts:{end:/[^\\]$/,subLanguage:`bash`}}],illegal:`</`}}function M1(e){let t=e.regex,n=`[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?`,r={$pattern:n,keyword:`after.alias.and.case.catch.cond.defstruct.defguard.do.else.end.fn.for.if.import.in.not.or.quote.raise.receive.require.reraise.rescue.try.unless.unquote.unquote_splicing.use.when.with|0`.split(`.`),literal:[`false`,`nil`,`true`]},i={className:`subst`,begin:/#\{/,end:/\}/,keywords:r},a={className:`number`,begin:`(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)`,relevance:0},o={match:/\\[\s\S]/,scope:`char.escape`,relevance:0},s=`[/|([{<"']`,c=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:`char.escape`,begin:t.concat(/\\/,e),relevance:0}),u={className:`string`,begin:`~[a-z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end),o,i]}))},d={className:`string`,begin:`~[A-Z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end)]}))},f={className:`regex`,variants:[{begin:`~r(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),o,i]}))},{begin:`~R(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end)]}))}]},p={className:`string`,contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},m={className:`function`,beginKeywords:`def defp defmacro defmacrop`,end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},h=e.inherit(m,{className:`class`,beginKeywords:`defimpl defmodule defprotocol defrecord`,end:/\bdo\b|$|;/}),g=[p,f,d,u,e.HASH_COMMENT_MODE,h,m,{begin:`::`},{className:`symbol`,begin:`:(?![\\s:])`,contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:`symbol`,begin:n+`:(?!:)`,relevance:0},{className:`title.class`,begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))`}];return i.contains=g,{name:`Elixir`,aliases:[`ex`,`exs`],keywords:r,contains:g}}function N1(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`),`m`)}function P1(e){return e?typeof e==`string`?e:e.source:null}function F1(e){return I1(`(?=`,e,`)`)}function I1(...e){return e.map(e=>P1(e)).join(``)}function L1(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function R1(...e){return`(`+(L1(e).capture?``:`?:`)+e.map(e=>P1(e)).join(`|`)+`)`}function z1(e){let t=`abstract.and.as.assert.base.begin.class.default.delegate.do.done.downcast.downto.elif.else.end.exception.extern.finally.fixed.for.fun.function.global.if.in.inherit.inline.interface.internal.lazy.let.match.member.module.mutable.namespace.new.of.open.or.override.private.public.rec.return.static.struct.then.to.try.type.upcast.use.val.void.when.while.with.yield`.split(`.`),n={scope:`keyword`,match:/\b(yield|return|let|do|match|use)!/},r=[`if`,`else`,`endif`,`line`,`nowarn`,`light`,`r`,`i`,`I`,`load`,`time`,`help`,`quit`],i=[`true`,`false`,`null`,`Some`,`None`,`Ok`,`Error`,`infinity`,`infinityf`,`nan`,`nanf`],a=[`__LINE__`,`__SOURCE_DIRECTORY__`,`__SOURCE_FILE__`],o=`bool.byte.sbyte.int8.int16.int32.uint8.uint16.uint32.int.uint.int64.uint64.nativeint.unativeint.decimal.float.double.float32.single.char.string.unit.bigint.option.voption.list.array.seq.byref.exn.inref.nativeptr.obj.outref.voidptr.Result`.split(`.`),s={keyword:t,literal:i,built_in:`not.ref.raise.reraise.dict.readOnlyDict.set.get.enum.sizeof.typeof.typedefof.nameof.nullArg.invalidArg.invalidOp.id.fst.snd.ignore.lock.using.box.unbox.tryUnbox.printf.printfn.sprintf.eprintf.eprintfn.fprintf.fprintfn.failwith.failwithf`.split(`.`),"variable.constant":a},c={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:[`self`]}),e.C_LINE_COMMENT_MODE]},l=/[a-zA-Z_](\w|')*/,u={scope:`variable`,begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:`symbol`,variants:[{match:I1(d,/``.*?``/)},{match:I1(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?`!%&*+-/<=>@^|~?`:`!%&*+-/<>@^|~?`;let n=I1(`[`,...Array.from(t).map(N1),`]`),r=R1(n,/\./);return{scope:`operator`,match:R1(R1(I1(I1(r,F1(r)),r,`*`),I1(n,`+`)),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),h=p({includeEqual:!1}),g=function(t,n){return{begin:I1(t,F1(I1(/\s*/,R1(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:n,end:F1(R1(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[c,f,e.inherit(u,{scope:null}),h]}},_=g(/:/,`operator`),v=g(/\bof\b/,`keyword`),y={begin:[/(^|\s+)/,/type/,/\s+/,l],beginScope:{2:`keyword`,4:`title.class`},end:F1(/\(|=|$/),keywords:s,contains:[c,e.inherit(u,{scope:null}),f,{scope:`operator`,match:/<|>/},_]},b={scope:`computation-expression`,match:/\b[_a-z]\w*(?=\s*\{)/},ee={begin:[/^\s*/,I1(/#/,R1(...r)),/\b/],beginScope:{2:`meta`},end:F1(/\s|$/)},x={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},te={scope:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},S={scope:`string`,begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},ne={scope:`string`,begin:/"""/,end:/"""/,relevance:2},re={scope:`subst`,begin:/\{/,end:/\}/,keywords:s},ie={scope:`string`,begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,re]},ae={scope:`string`,begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,re]},oe={scope:`string`,begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},re],relevance:2},C={scope:`string`,match:I1(/'/,R1(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};re.contains=[ae,ie,S,te,C,n,c,u,_,b,ee,x,f,m];let se={variants:[oe,ae,ie,ne,S,te,C]};return{name:`F#`,aliases:[`fs`,`f#`],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":`keyword`},contains:[n,se,c,u,y,{scope:`meta`,begin:/\[</,end:/>\]/,relevance:2,contains:[u,ne,S,te,C,x]},v,_,b,ee,x,f,m]}}function B1(e){let t=`([0-9]_*)+`,n=`([0-9a-fA-F]_*)+`,r=`([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]\`|{}]|[_:"']))(\\p{S}|\\p{P}))`,i={variants:[e.COMMENT(`--+`,`$`),e.COMMENT(/\{-/,/-\}/,{contains:[`self`]})]},a={className:`meta`,begin:/\{-#/,end:/#-\}/},o={className:`meta`,begin:`^#`,end:`$`},s={className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},c={begin:`\\(`,end:`\\)`,illegal:`"`,contains:[a,o,{className:`type`,begin:`\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?`},e.inherit(e.TITLE_MODE,{begin:`[_a-z][\\w']*`}),i]},l={begin:/\{/,end:/\}/,contains:c.contains},u={className:`number`,relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](([0-7]_*)+)\\b`},{match:`\\b0[bB](([01]_*)+)\\b`}]};return{name:`Haskell`,aliases:[`hs`],keywords:`let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec`,unicodeRegex:!0,contains:[{beginKeywords:`module`,end:`where`,keywords:`module where`,contains:[c,i],illegal:`\\W\\.|;`},{begin:`\\bimport\\b`,end:`$`,keywords:`import qualified as hiding`,contains:[c,i],illegal:`\\W\\.|;`},{className:`class`,begin:`^(\\s*)?(class|instance)\\b`,end:`where`,keywords:`class family instance where`,contains:[s,c,i]},{className:`class`,begin:`\\b(data|(new)?type)\\b`,end:`$`,keywords:`data family type newtype deriving`,contains:[a,s,c,l,i]},{beginKeywords:`default`,end:`$`,contains:[s,c,i]},{beginKeywords:`infix infixl infixr`,end:`$`,contains:[e.C_NUMBER_MODE,i]},{begin:`\\bforeign\\b`,end:`$`,keywords:`foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe`,contains:[s,e.QUOTE_STRING_MODE,i]},{className:`meta`,begin:`#!\\/usr\\/bin\\/env runhaskell`,end:`$`},a,o,{scope:`string`,begin:/'(?=\\?.')/,end:/'/,contains:[{scope:`char.escape`,match:/\\./}]},e.QUOTE_STRING_MODE,u,s,e.inherit(e.TITLE_MODE,{begin:`^[_a-z][\\w']*`}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},i,{begin:`->|<-`}]}}function V1(e){let t=e.regex,n=`HTTP/([32]|1\\.[01])`,r={className:`attribute`,begin:t.concat(`^`,/[A-Za-z][A-Za-z0-9-]*/,`(?=\\:\\s)`),starts:{contains:[{className:`punctuation`,begin:/: /,relevance:0,starts:{end:`$`,relevance:0}}]}},i=[r,{begin:`\\n\\n`,starts:{subLanguage:[],endsWithParent:!0}}];return{name:`HTTP`,aliases:[`https`],illegal:/\S/,contains:[{begin:`^(?=`+n+` \\d{3})`,end:/$/,contains:[{className:`meta`,begin:n},{className:`number`,begin:`\\b\\d{3}\\b`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:`(?=^[A-Z]+ (.*?) `+n+`$)`,end:/$/,contains:[{className:`string`,begin:` `,end:` `,excludeBegin:!0,excludeEnd:!0},{className:`meta`,begin:n},{className:`keyword`,begin:`[A-Z]+`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(r,{relevance:0})]}}function H1(e){let t=`('|\\.')+`,n={relevance:0,contains:[{begin:t}]};return{name:`Matlab`,keywords:{keyword:`arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while`,built_in:`sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell `},illegal:`(//|"|#|/\\*|\\s+/\\w+)`,contains:[{className:`function`,beginKeywords:`function`,end:`$`,contains:[e.UNDERSCORE_TITLE_MODE,{className:`params`,variants:[{begin:`\\(`,end:`\\)`},{begin:`\\[`,end:`\\]`}]}]},{className:`built_in`,begin:/true|false/,relevance:0,starts:n},{begin:`[a-zA-Z][a-zA-Z_0-9]*`+t,relevance:0},{className:`number`,begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:`string`,begin:`'`,end:`'`,contains:[{begin:`''`}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:`string`,begin:`"`,end:`"`,contains:[{begin:`""`}],starts:n},e.COMMENT(`^\\s*%\\{\\s*$`,`^\\s*%\\}\\s*$`),e.COMMENT(`%`,`$`)]}}function U1(e){let t=e.regex,n={className:`variable`,variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:[`on`,`off`,`yes`,`no`,`true`,`false`,`none`,`blocked`,`debug`,`info`,`notice`,`warn`,`error`,`crit`,`select`,`break`,`last`,`permanent`,`redirect`,`kqueue`,`rtsig`,`epoll`,`poll`,`/dev/poll`]},relevance:0,illegal:`=>`,contains:[e.HASH_COMMENT_MODE,{className:`string`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:`([a-z]+):/`,end:`\\s`,endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:`\\s\\^`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`~\\*?\\s+`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`\\*(\\.[a-z\\-]+)+`},{begin:`([a-z\\-]+\\.)+\\*`}]},{className:`number`,begin:`\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b`},{className:`number`,begin:`\\b\\d+[kKmMgGdshdwy]?\\b`,relevance:0},n]};return{name:`Nginx config`,aliases:[`nginxconf`],contains:[e.HASH_COMMENT_MODE,{beginKeywords:`upstream location`,end:/;|\{/,contains:r.contains,keywords:{section:`upstream location`}},{className:`section`,begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+`\\s`),end:`;|\\{`,contains:[{className:`attribute`,begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:`[^\\s\\}\\{]`}}function W1(e){return{name:`OCaml`,aliases:[`ml`],keywords:{$pattern:`[a-z_]\\w*!?`,keyword:`and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value`,built_in:`array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref`,literal:`true false`},illegal:/\/\/|>>/,contains:[{className:`literal`,begin:`\\[(\\|\\|)?\\]|\\(\\)`,relevance:0},e.COMMENT(`\\(\\*`,`\\*\\)`,{contains:[`self`]}),{className:`symbol`,begin:`'[A-Za-z_](?!')[\\w']*`},{className:`type`,begin:"`[A-Z][\\w']*"},{className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},{begin:`[a-z_]\\w*'[\\w']*`,relevance:0},e.inherit(e.APOS_STRING_MODE,{className:`string`,relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:`number`,begin:`\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)`,relevance:0},{begin:/->/}]}}function G1(e){let t=[`string`,`char`,`byte`,`int`,`long`,`bool`,`decimal`,`single`,`double`,`DateTime`,`xml`,`array`,`hashtable`,`void`],n={$pattern:/-?[A-z\.\-]+\b/,keyword:`if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter`,built_in:`ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write`},r=/\w[\w\d]*((-)[\w\d]+)*/,i={begin:"`[\\s\\S]",relevance:0},a={className:`variable`,variants:[{begin:/\$\B/},{className:`keyword`,begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:`literal`,begin:/\$(null|true|false)\b/},s={className:`string`,variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[i,a,{className:`variable`,begin:/\$[A-z]/,end:/[^A-z]/}]},c={className:`string`,variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},l=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:`doctag`,variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),u={className:`built_in`,variants:[{begin:`(Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where)+(-)[\\w\\d]+`}]},d={className:`class`,beginKeywords:`class enum`,end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:`function`,begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:`function`,relevance:0,className:`keyword`},{className:`title`,begin:r,relevance:0},{begin:/\(/,end:/\)/,className:`params`,relevance:0,contains:[a]}]},p={begin:/using\s/,end:/$/,returnBegin:!0,contains:[s,c,{className:`keyword`,begin:/(using|assembly|command|module|namespace|type)/}]},m={variants:[{className:`operator`,begin:`(-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor)\\b`},{className:`literal`,begin:/(-){1,2}[\w\d-]+/,relevance:0}]},h={className:`selector-tag`,begin:/@\B/,relevance:0},g={className:`function`,begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:`keyword`,begin:`(${n.keyword.toString().replace(/\s/g,`|`)})\\b`,endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},_=[g,l,i,e.NUMBER_MODE,s,c,u,a,o,h],v={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[`self`].concat(_,{begin:`(`+t.join(`|`)+`)`,className:`built_in`,relevance:0},{className:`type`,begin:/[\.\w\d]+/,relevance:0})};return g.contains.unshift(v),{name:`PowerShell`,aliases:[`pwsh`,`ps`,`ps1`],case_insensitive:!0,keywords:n,contains:_.concat(d,f,p,m,v)}}function K1(e){let t=`[ \\t\\f]*`,n=t+`[:=][ \\t\\f]*`;``+n;let r=`([^\\\\:= \\t\\f\\n]|\\\\.)+`;return{name:`.properties`,disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(`^\\s*[!#]`,`$`),{returnBegin:!0,variants:[{begin:r+n},{begin:r+`[ \\t\\f]+`}],contains:[{className:`attr`,begin:r,endsParent:!0}],starts:{end:`([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)`,relevance:0,starts:{className:`string`,end:/$/,relevance:0,contains:[{begin:`\\\\\\\\`},{begin:`\\\\\\n`}]}}},{className:`attr`,begin:r+t+`$`}]}}function q1(e){let t=e.regex,n={className:`meta`,begin:`@[A-Za-z]+`},r={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`},{begin:/\$\{/,end:/\}/}]},i={className:`string`,variants:[{begin:`"""`,end:`"""`},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`[a-z]+"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,r]},{className:`string`,begin:`[a-z]+"""`,end:`"""`,contains:[r],relevance:10}]},a={className:`type`,begin:`\\b[A-Z][A-Za-z0-9_]*`,relevance:0},o={className:`title`,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:`class`,beginKeywords:`class object trait type`,end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:`extends with`,relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:`function`,beginKeywords:`def`,end:t.lookahead(/[:={\[(\n;]/),contains:[o]},l={begin:[/^\s*/,`extension`,/\s+(?=[[(])/],beginScope:{2:`keyword`}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:`keyword`,4:`keyword`}},d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:`inline`}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:`keyword`}},p={className:`string`,begin:/\S+/};return{name:`Scala`,keywords:{literal:`true false null`,keyword:`type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent`},contains:[{begin:[`//>`,/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:`comment`,3:`keyword`,5:`type`},end:/$/,contains:[p]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,c,s,e.C_NUMBER_MODE,l,u,...d,f,n]}}function J1(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}function Y1(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f={keyword:`asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma`.split(`.`),type:`float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary`.split(`.`),literal:`true false NULL`,built_in:`std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr`},p=[l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:f,contains:p.concat([{begin:/\(/,end:/\)/,keywords:f,contains:p.concat([`self`]),relevance:0}]),relevance:0},h={begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C`,aliases:[`h`],keywords:f,disableAutodetect:!0,illegal:`</`,contains:[].concat(m,h,p,[l,{begin:e.IDENT_RE+`::`,keywords:f},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:f}}}function X1(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(?!struct)(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{begin:`[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),p=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],m=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),h=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),g={type:p,keyword:f,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:m},_={className:`function.dispatch`,relevance:0,keywords:{_hint:h},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},v=[_,l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat([`self`]),relevance:0}]),relevance:0},b={className:`function`,begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:g,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(y,b,_,v,[l,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:g,contains:[`self`,o]},{begin:e.IDENT_RE+`::`,keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function Z1(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`public`,`private`,`protected`,`static`,`internal`,`protected`,`abstract`,`async`,`extern`,`override`,`unsafe`,`virtual`,`new`,`sealed`,`partial`],r={keyword:`abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).concat(`add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={className:`number`,variants:[{begin:`\\b(0b[01']+)`},{begin:`(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)`},{begin:`(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)`}],relevance:0},o={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{illegal:/\n/}),d={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={begin:`@`+e.IDENT_RE,relevance:0};return{name:`C#`,aliases:[`cs`,`c#`],keywords:r,illegal:/::/,contains:[e.COMMENT(`///`,`$`,{returnBegin:!0,contains:[{className:`doctag`,variants:[{begin:`///`,relevance:0},{begin:`<!--|-->`},{begin:`</?`,end:`>`}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`meta`,begin:`#`,end:`$`,keywords:{keyword:`if else elif endif define undef warning error line region endregion pragma checksum`}},m,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:`^\\s*\\[(?=[\\w])`,excludeBegin:!0,end:`\\]`,excludeEnd:!0,contains:[{className:`string`,begin:/"/,end:/"/}]},{beginKeywords:`new return throw await else`,relevance:0},{className:`function`,begin:`(`+g+`\\s+)+`+e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}var Q1=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),$1=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),e0=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),t0=[...$1,...e0],n0=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),r0=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),i0=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),a0=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function o0(e){let t=e.regex,n=Q1(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+r0.join(`|`)+`)`},{begin:`:(:)?(`+i0.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+a0.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:n0.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+t0.join(`|`)+`)\\b`}]}}function s0(e){let t=e.regex;return{name:`Diff`,aliases:[`patch`],contains:[{className:`meta`,relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:`comment`,variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:`addition`,begin:/^\+/,end:/$/},{className:`deletion`,begin:/^-/,end:/$/},{className:`addition`,begin:/^!/,end:/$/}]}}function c0(e){let t={keyword:[`break`,`case`,`chan`,`const`,`continue`,`default`,`defer`,`else`,`fallthrough`,`for`,`func`,`go`,`goto`,`if`,`import`,`interface`,`map`,`package`,`range`,`return`,`select`,`struct`,`switch`,`type`,`var`],type:[`bool`,`byte`,`complex64`,`complex128`,`error`,`float32`,`float64`,`int8`,`int16`,`int32`,`int64`,`string`,`uint8`,`uint16`,`uint32`,`uint64`,`int`,`uint`,`uintptr`,`rune`],literal:[`true`,`false`,`iota`,`nil`],built_in:[`append`,`cap`,`close`,`complex`,`copy`,`imag`,`len`,`make`,`new`,`panic`,`print`,`println`,`real`,`recover`,`delete`]};return{name:`Go`,aliases:[`golang`],keywords:t,illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`string`,variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:`number`,variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:`function`,beginKeywords:`func`,end:`\\s*(\\{|$)`,excludeEnd:!0,contains:[e.TITLE_MODE,{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function l0(e){let t=e.regex;return{name:`GraphQL`,aliases:[`gql`],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:[`query`,`mutation`,`subscription`,`type`,`input`,`schema`,`directive`,`interface`,`union`,`scalar`,`fragment`,`enum`,`on`],literal:[`true`,`false`,`null`]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:`punctuation`,match:/[.]{3}/,relevance:0},{scope:`punctuation`,begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:`variable`,begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:`meta`,match:/@\w+/,excludeEnd:!0},{scope:`symbol`,begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function u0(e){let t=e.regex,n={className:`number`,relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:`literal`,begin:/\bon|off|true|false|yes|no\b/},o={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:`'''`,end:`'''`,relevance:10},{begin:`"""`,end:`"""`,relevance:10},{begin:`"`,end:`"`},{begin:`'`,end:`'`}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,`self`],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:`TOML, also INI`,aliases:[`toml`],case_insensitive:!0,illegal:/\S/,contains:[r,{className:`section`,begin:/\[+/,end:/\]+/},{begin:t.concat(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}var d0=`[0-9](_*[0-9])*`,f0=`\\.(${d0})`,p0=`[0-9a-fA-F](_*[0-9a-fA-F])*`,m0={className:`number`,variants:[{begin:`(\\b(${d0})((${f0})|\\.)?|(${f0}))[eE][+-]?(${d0})[fFdD]?\\b`},{begin:`\\b(${d0})((${f0})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${f0})[fFdD]?\\b`},{begin:`\\b(${d0})[fFdD]\\b`},{begin:`\\b0[xX]((${p0})\\.?|(${p0})?\\.(${p0}))[pP][+-]?(${d0})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${p0})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function h0(e,t,n){return n===-1?``:e.replace(t,r=>h0(e,t,n-1))}function g0(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+h0(`(?:<`+n+`~~~(?:\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~)*>)?`,/~~~/g,2),i={keyword:`synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when`.split(`.`),literal:[`false`,`true`,`null`],type:[`char`,`boolean`,`long`,`float`,`int`,`byte`,`short`,`double`],built_in:[`super`,`this`]},a={className:`meta`,begin:`@`+n,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},o={className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:`doctag`,begin:`@[A-Za-z]+`}]}),{begin:/import java\.[a-z]+\./,keywords:`import`,relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:`string`,contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:`keyword`,3:`title.class`}},{match:/non-sealed/,scope:`keyword`},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:`type`,3:`variable`,5:`operator`}},{begin:[/record/,/\s+/,n],className:{1:`keyword`,3:`title.class`},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`new throw return else`,relevance:0},{begin:[`(?:`+r+`\\s+)`,e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:`title.function`},keywords:i,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m0,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},m0,a]}}var _0=`[A-Za-z$_][0-9A-Za-z$_]*`,v0=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),y0=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],b0=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),x0=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],S0=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],C0=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],w0=[].concat(S0,b0,x0);function T0(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=_0,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:_0,keyword:v0,literal:y0,built_in:w0,"variable.language":C0},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),ee={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},x={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...b0,...x0]}},S={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[ee],illegal:/%/},re={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ie(e){return t.concat(`(?!`,e.join(`|`),`)`)}let ae={match:t.concat(/\b/,ie([...S0,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},C={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},ee]},se=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,ce={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(se)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[ee]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),S,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,te,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},ce,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:se,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},ne,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[ee,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},oe,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[ee]},ae,re,x,C,{match:/\$[(.]/}]}}function E0(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}var D0=`[0-9](_*[0-9])*`,O0=`\\.(${D0})`,k0=`[0-9a-fA-F](_*[0-9a-fA-F])*`,A0={className:`number`,variants:[{begin:`(\\b(${D0})((${O0})|\\.)?|(${O0}))[eE][+-]?(${D0})[fFdD]?\\b`},{begin:`\\b(${D0})((${O0})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${O0})[fFdD]?\\b`},{begin:`\\b(${D0})[fFdD]\\b`},{begin:`\\b0[xX]((${k0})\\.?|(${k0})?\\.(${k0}))[pP][+-]?(${D0})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${k0})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function j0(e){let t={keyword:`abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual`,built_in:`Byte Short Char Int Long Boolean Float Double Void Unit Nothing`,literal:`true false null`},n={className:`keyword`,begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:`symbol`,begin:/@\w+/}]}},r={className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},o={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[a,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);let s={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},c={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:`string`}),`self`]}]},l=A0,u=e.COMMENT(`/\\*`,`\\*/`,{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:`type`,begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:`Kotlin`,aliases:[`kt`,`kts`],keywords:t,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,c,{className:`function`,beginKeywords:`fun`,end:`[(]|$`,returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+`\\s*\\(`,returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:`type`,begin:/</,end:/>/,keywords:`reified`,relevance:0},{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:`title.class`},keywords:`class interface trait`,end:/[:\{(]|$/,excludeEnd:!0,illegal:`extends implements`,contains:[{beginKeywords:`public protected internal private constructor`},e.UNDERSCORE_TITLE_MODE,{className:`type`,begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},o,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
167
+ `},l]}}var M0=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Ece=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),Dce=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),Oce=[...Ece,...Dce],kce=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),N0=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),P0=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),Ace=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),jce=N0.concat(P0).sort().reverse();function Mce(e){let t=M0(e),n=jce,r=`[\\w-]+`,i=`(`+r+`|@\\{[\\w-]+\\})`,a=[],o=[],s=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},c=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:kce.join(` `)},u={begin:`\\(`,end:`\\)`,contains:o,keywords:l,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s(`'`),s(`"`),t.CSS_NUMBER_MODE,{begin:`(url|data-uri)\\(`,starts:{className:`string`,end:`[\\)\\n]`,excludeEnd:!0}},t.HEXCOLOR,u,c(`variable`,`@@?`+r,10),c(`variable`,`@\\{`+r+`\\}`),c(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:r+`\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let d=o.concat({begin:/\{/,end:/\}/,contains:a}),f={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(o)},p={begin:i+`\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+Ace.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:o}}]},m={className:`keyword`,begin:`@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b`,starts:{end:`[;{}]`,keywords:l,returnEnd:!0,contains:o,relevance:0}},h={className:`variable`,variants:[{begin:`@`+r+`\\s*:`,relevance:15},{begin:`@`+r}],starts:{end:`[;}]`,returnEnd:!0,contains:d}},g={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:i,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,c(`keyword`,`all\\b`),c(`variable`,`@\\{`+r+`\\}`),{begin:`\\b(`+Oce.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,c(`selector-tag`,i,0),c(`selector-id`,`#`+i),c(`selector-class`,`\\.`+i,0),c(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+N0.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+P0.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:`!important`},t.FUNCTION_DISPATCH]},_={begin:`[\\w-]+:(:)?(${n.join(`|`)})`,returnBegin:!0,contains:[g]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,h,_,p,g,f,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}function Nce(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!`+t+`)`,`$`),e.COMMENT(`--`+t,n,{contains:[r],relevance:10})];return{name:`Lua`,aliases:[`pluto`],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:`true false nil`,keyword:`and break do else elseif end for goto if in local not or repeat return then until while`,built_in:`_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove`},contains:i.concat([{className:`function`,beginKeywords:`function`,end:`\\)`,contains:[e.inherit(e.TITLE_MODE,{begin:`([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*`}),{className:`params`,begin:`\\(`,endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}function Pce(e){let t={className:`variable`,variants:[{begin:`\\$\\(`+e.UNDERSCORE_IDENT_RE+`\\)`,contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:`variable`,begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:`subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value`},contains:[t,n]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={className:`meta`,begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:`.PHONY`}},o={className:`section`,begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:`Makefile`,aliases:[`mk`,`mak`,`make`],keywords:{$pattern:/[\w-]+/,keyword:`define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath`},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,o]}}function Fce(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={className:`code`,variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:`(~{3,})[^~](.|\\n)*?\\1~*[ ]*`},{begin:"```",end:"```+[ ]*$"},{begin:`~~~`,end:`~~~+[ ]*$`},{begin:"`.+?`"},{begin:`(?=^( {4}|\\t))`,contains:[{begin:`^( {4}|\\t)`,end:`(\\n)$`}],relevance:0}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:`link`,begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:`string`,relevance:0,begin:`\\[`,end:`\\]`,excludeBegin:!0,returnEnd:!0},{className:`link`,relevance:0,begin:`\\]\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0},{className:`symbol`,relevance:0,begin:`\\]\\[`,end:`\\]`,excludeBegin:!0,excludeEnd:!0}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Ice(e){let t={className:`built_in`,begin:`\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+`},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r=[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`],i=`while.export.sizeof.typedef.const.struct.for.union.volatile.static.mutable.if.do.return.goto.enum.else.break.extern.asm.case.default.register.explicit.typename.switch.continue.inline.readonly.assign.readwrite.self.@synchronized.id.typeof.nonatomic.IBOutlet.IBAction.strong.weak.copy.in.out.inout.bycopy.byref.oneway.__strong.__weak.__block.__autoreleasing.@private.@protected.@public.@try.@property.@end.@throw.@catch.@finally.@autoreleasepool.@synthesize.@dynamic.@selector.@optional.@required.@encode.@package.@import.@defs.@compatibility_alias.__bridge.__bridge_transfer.__bridge_retained.__bridge_retain.__covariant.__contravariant.__kindof._Nonnull._Nullable._Null_unspecified.__FUNCTION__.__PRETTY_FUNCTION__.__attribute__.getter.setter.retain.unsafe_unretained.nonnull.nullable.null_unspecified.null_resettable.class.instancetype.NS_DESIGNATED_INITIALIZER.NS_UNAVAILABLE.NS_REQUIRES_SUPER.NS_RETURNS_INNER_POINTER.NS_INLINE.NS_AVAILABLE.NS_DEPRECATED.NS_ENUM.NS_OPTIONS.NS_SWIFT_UNAVAILABLE.NS_ASSUME_NONNULL_BEGIN.NS_ASSUME_NONNULL_END.NS_REFINED_FOR_SWIFT.NS_SWIFT_NAME.NS_SWIFT_NOTHROW.NS_DURING.NS_HANDLER.NS_ENDHANDLER.NS_VALUERETURN.NS_VOIDRETURN`.split(`.`),a=[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],o=[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],s={"variable.language":[`this`,`super`],$pattern:n,keyword:i,literal:a,built_in:o,type:r},c={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:s,illegal:`</`,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:`string`,variants:[{begin:`@"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]}]},{className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),{className:`string`,begin:/<.*?>/,end:/$/,illegal:`\\n`},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`class`,begin:`(`+c.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Lce(e){let t=e.regex,n=`abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0`.split(`.`),r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:`variable`,variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,`(?![A-Za-z])(?![@$%])`)},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:`number`,variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:`string`,contains:u,variants:[{begin:`q[qwxr]?\\s*\\(`,end:`\\)`,relevance:5},{begin:`q[qwxr]?\\s*\\[`,end:`\\]`,relevance:5},{begin:`q[qwxr]?\\s*\\{`,end:`\\}`,relevance:5},{begin:`q[qwxr]?\\s*\\|`,end:`\\|`,relevance:5},{begin:`q[qwxr]?\\s*<`,end:`>`,relevance:5},{begin:`qw\\s+q`,end:`q`,relevance:5},{begin:`'`,end:`'`,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:`-?\\w+\\s*=>`,relevance:0}]},l,{begin:`(\\/\\/|`+e.RE_STARTERS_RE+`|\\b(split|return|print|reverse|grep)\\b)\\s*`,keywords:`split return print reverse grep`,relevance:0,contains:[e.HASH_COMMENT_MODE,{className:`regexp`,variants:[{begin:f(`s|tr|y`,t.either(...d,{capture:!0}))},{begin:f(`s|tr|y`,`\\(`,`\\)`)},{begin:f(`s|tr|y`,`\\[`,`\\]`)},{begin:f(`s|tr|y`,`\\{`,`\\}`)}],relevance:2},{className:`regexp`,variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p(`(?:m|qr)?`,/\//,/\//)},{begin:p(`m|qr`,t.either(...d,{capture:!0}),/\1/)},{begin:p(`m|qr`,/\(/,/\)/)},{begin:p(`m|qr`,/\[/,/\]/)},{begin:p(`m|qr`,/\{/,/\}/)}]}]},{className:`function`,beginKeywords:`sub method`,end:`(\\s*\\(.*?\\))?[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:`class`,beginKeywords:`class`,end:`[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}function Rce(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
168
+ ]`,m={scope:`string`,variants:[u,l,d,f]},h={scope:`number`,variants:[{begin:`\\b0[bB][01]+(?:_[01]+)*\\b`},{begin:`\\b0[oO][0-7]+(?:_[0-7]+)*\\b`},{begin:`\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b`},{begin:`(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?`}],relevance:0},g=[`false`,`null`,`true`],_=`__CLASS__.__DIR__.__FILE__.__FUNCTION__.__COMPILER_HALT_OFFSET__.__LINE__.__METHOD__.__NAMESPACE__.__TRAIT__.die.echo.exit.include.include_once.print.require.require_once.array.abstract.and.as.binary.bool.boolean.break.callable.case.catch.class.clone.const.continue.declare.default.do.double.else.elseif.empty.enddeclare.endfor.endforeach.endif.endswitch.endwhile.enum.eval.extends.final.finally.float.for.foreach.from.global.goto.if.implements.instanceof.insteadof.int.integer.interface.isset.iterable.list.match|0.mixed.new.never.object.or.private.protected.public.readonly.real.return.string.switch.throw.trait.try.unset.use.var.void.while.xor.yield`.split(`.`),v=`Error|0.AppendIterator.ArgumentCountError.ArithmeticError.ArrayIterator.ArrayObject.AssertionError.BadFunctionCallException.BadMethodCallException.CachingIterator.CallbackFilterIterator.CompileError.Countable.DirectoryIterator.DivisionByZeroError.DomainException.EmptyIterator.ErrorException.Exception.FilesystemIterator.FilterIterator.GlobIterator.InfiniteIterator.InvalidArgumentException.IteratorIterator.LengthException.LimitIterator.LogicException.MultipleIterator.NoRewindIterator.OutOfBoundsException.OutOfRangeException.OuterIterator.OverflowException.ParentIterator.ParseError.RangeException.RecursiveArrayIterator.RecursiveCachingIterator.RecursiveCallbackFilterIterator.RecursiveDirectoryIterator.RecursiveFilterIterator.RecursiveIterator.RecursiveIteratorIterator.RecursiveRegexIterator.RecursiveTreeIterator.RegexIterator.RuntimeException.SeekableIterator.SplDoublyLinkedList.SplFileInfo.SplFileObject.SplFixedArray.SplHeap.SplMaxHeap.SplMinHeap.SplObjectStorage.SplObserver.SplPriorityQueue.SplQueue.SplStack.SplSubject.SplTempFileObject.TypeError.UnderflowException.UnexpectedValueException.UnhandledMatchError.ArrayAccess.BackedEnum.Closure.Fiber.Generator.Iterator.IteratorAggregate.Serializable.Stringable.Throwable.Traversable.UnitEnum.WeakReference.WeakMap.Directory.__PHP_Incomplete_Class.parent.php_user_filter.self.static.stdClass`.split(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),ee={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},x=t.concat(r,`\\b(?!\\()`),te={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},S={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},ne={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[S,o,te,e.C_BLOCK_COMMENT_MODE,m,h,ee]},re={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[ne]};ne.contains.push(re);let ie=[S,te,e.C_BLOCK_COMMENT_MODE,m,h,ee],ae={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...ie]},...ie,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[ae,e.HASH_COMMENT_MODE,e.COMMENT(`//`,`$`),e.COMMENT(`/\\*`,`\\*/`,{contains:[{scope:`doctag`,match:`@[A-Za-z]+`}]}),{match:/__halt_compiler\(\);/,keywords:`__halt_compiler`,starts:{scope:`comment`,end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:`meta`,endsParent:!0}]}},s,{scope:`variable.language`,match:/\$this\b/},o,re,te,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},ee,{scope:`function`,relevance:0,beginKeywords:`fn function`,end:/[;{]/,excludeEnd:!0,illegal:`[$%\\[]`,contains:[{beginKeywords:`use`},e.UNDERSCORE_TITLE_MODE,{begin:`=>`,endsParent:!0},{scope:`params`,begin:`\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:[`self`,ae,o,te,e.C_BLOCK_COMMENT_MODE,m,h]}]},{scope:`class`,variants:[{beginKeywords:`enum`,illegal:/[($"]/},{beginKeywords:`class interface trait`,illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:`namespace`,relevance:0,end:`;`,illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:`title.class`})]},{beginKeywords:`use`,relevance:0,end:`;`,contains:[{match:/\b(as|const|function)\b/,scope:`keyword`},e.UNDERSCORE_TITLE_MODE]},m,h]}}function zce(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}function Bce(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=`and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield`.split(`.`),i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:`__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}function Vce(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:`R`,keywords:{$pattern:n,keyword:`function if in break next repeat else for while`,literal:`NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10`,built_in:`LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm`},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:`doctag`,match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:`doctag`,begin:`@param`,end:/$/,contains:[{scope:`variable`,variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:`doctag`,match:/@[a-zA-Z]+/},{scope:`keyword`,match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:`"`,end:`"`,relevance:0},{begin:`'`,end:`'`,relevance:0}]},{relevance:0,variants:[{scope:{1:`operator`,2:`number`},match:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function Hce(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a=[`include`,`extend`,`prepend`,`public`,`private`,`protected`,`raise`,`throw`],o={"variable.constant":[`__FILE__`,`__LINE__`,`__ENCODING__`],"variable.language":[`self`,`super`],keyword:[`alias`,`and`,`begin`,`BEGIN`,`break`,`case`,`class`,`defined`,`do`,`else`,`elsif`,`end`,`END`,`ensure`,`for`,`if`,`in`,`module`,`next`,`not`,`or`,`redo`,`require`,`rescue`,`retry`,`return`,`then`,`undef`,`unless`,`until`,`when`,`while`,`yield`,...a],built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},s={className:`doctag`,begin:`@[A-Za-z]+`},c={begin:`#<`,end:`>`},l=[e.COMMENT(`#`,`$`,{contains:[s]}),e.COMMENT(`^=begin`,`^=end`,{contains:[s],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],u={className:`subst`,begin:/#\{/,end:/\}/,keywords:o},d={className:`string`,contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},f=`[0-9](_?[0-9])*`,p={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:`\\b0[dD][0-9](_?[0-9])*r?i?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*r?i?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*r?i?\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b`},{begin:`\\b0(_?[0-7])+r?i?\\b`}]},m={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},h={match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:o},g={variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:o},_={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},v={match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},y=[d,g,h,{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},_,{relevance:0,match:r,scope:`title.class`},v,{begin:e.IDENT_RE+`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[d,{begin:n}],relevance:0},p,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`},{className:`params`,begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:`(`+e.RE_STARTERS_RE+`|unless)\\s*`,keywords:`unless`,contains:[{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:`/`,end:`/[a-z]*`},{begin:/%r\{/,end:/\}[a-z]*/},{begin:`%r\\(`,end:`\\)[a-z]*`},{begin:`%r!`,end:`![a-z]*`},{begin:`%r\\[`,end:`\\][a-z]*`}]}].concat(c,l),relevance:0}].concat(c,l);u.contains=y,m.contains=y;let b=[{begin:/^\s*=>/,starts:{end:`$`,contains:y}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:o,contains:y}}];return l.unshift(c),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(b,l,y)}}function Uce(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o=`([ui](8|16|32|64|128|size)|f(32|64))?`,s=`abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield`.split(`.`),c=[`true`,`false`,`Some`,`None`,`Ok`,`Err`],l=`drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!`.split(`.`),u=[`i8`,`i16`,`i32`,`i64`,`i128`,`isize`,`u8`,`u16`,`u32`,`u64`,`u128`,`usize`,`f32`,`f64`,`str`,`char`,`bool`,`Box`,`Option`,`Result`,`String`,`Vec`];return{name:`Rust`,aliases:[`rs`],keywords:{$pattern:e.IDENT_RE+`!?`,type:u,keyword:s,literal:c,built_in:l},illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:`symbol`,begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:`string`,variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:`char.escape`,match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:`number`,variants:[{begin:`\\b0b([01_]+)`+o},{begin:`\\b0o([0-7_]+)`+o},{begin:`\\b0x([A-Fa-f0-9_]+)`+o},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)`+o}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:`keyword`,3:`title.function`}},{className:`meta`,begin:`#!?\\[`,end:`\\]`,contains:[{className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:`keyword`,3:`keyword`,4:`variable`}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:`keyword`,3:`variable`,5:`keyword`}},{begin:[/type/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:e.IDENT_RE+`::`,keywords:{keyword:`Self`,built_in:l,type:u}},{className:`punctuation`,begin:`->`},a]}}var Wce=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Gce=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),Kce=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),qce=[...Gce,...Kce],Jce=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),Yce=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),Xce=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),Zce=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function Qce(e){let t=Wce(e),n=Xce,r=Yce,i=`@[a-z-]+`,a={className:`variable`,begin:`(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b`,relevance:0};return{name:`SCSS`,case_insensitive:!0,illegal:`[=/|']`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:`selector-id`,begin:`#[A-Za-z0-9_-]+`,relevance:0},{className:`selector-class`,begin:`\\.[A-Za-z0-9_-]+`,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-tag`,begin:`\\b(`+qce.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+r.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+n.join(`|`)+`)`},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+Zce.join(`|`)+`)\\b`},{begin:`\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b`},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:`@(page|font-face)`,keywords:{$pattern:i,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:Jce.join(` `)},contains:[{begin:i,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function $ce(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}function ele(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nchar.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),u=`abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket`.split(`.`),d=[`current_catalog`,`current_date`,`current_default_transform_group`,`current_path`,`current_role`,`current_schema`,`current_transform_group_for_type`,`current_user`,`session_user`,`system_time`,`system_user`,`current_time`,`localtime`,`current_timestamp`,`localtimestamp`],f=[`create table`,`insert into`,`primary key`,`foreign key`,`not null`,`alter table`,`add constraint`,`grouping sets`,`on overflow`,`character set`,`respect nulls`,`ignore nulls`,`nulls first`,`nulls last`,`depth first`,`breadth first`],p=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}function F0(e){return e?typeof e==`string`?e:e.source:null}function I0(e){return L0(`(?=`,e,`)`)}function L0(...e){return e.map(e=>F0(e)).join(``)}function tle(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function R0(...e){return`(`+(tle(e).capture?``:`?:`)+e.map(e=>F0(e)).join(`|`)+`)`}var z0=e=>L0(/\b/,e,/\w$/.test(e)?/\b/:/\B/),nle=[`Protocol`,`Type`].map(z0),B0=[`init`,`self`].map(z0),rle=[`Any`,`Self`],V0=[`actor`,`any`,`associatedtype`,`async`,`await`,/as\?/,/as!/,`as`,`borrowing`,`break`,`case`,`catch`,`class`,`consume`,`consuming`,`continue`,`convenience`,`copy`,`default`,`defer`,`deinit`,`didSet`,`distributed`,`do`,`dynamic`,`each`,`else`,`enum`,`extension`,`fallthrough`,/fileprivate\(set\)/,`fileprivate`,`final`,`for`,`func`,`get`,`guard`,`if`,`import`,`indirect`,`infix`,/init\?/,/init!/,`inout`,/internal\(set\)/,`internal`,`in`,`is`,`isolated`,`nonisolated`,`lazy`,`let`,`macro`,`mutating`,`nonmutating`,/open\(set\)/,`open`,`operator`,`optional`,`override`,`package`,`postfix`,`precedencegroup`,`prefix`,/private\(set\)/,`private`,`protocol`,/public\(set\)/,`public`,`repeat`,`required`,`rethrows`,`return`,`set`,`some`,`static`,`struct`,`subscript`,`super`,`switch`,`throws`,`throw`,/try\?/,/try!/,`try`,`typealias`,/unowned\(safe\)/,/unowned\(unsafe\)/,`unowned`,`var`,`weak`,`where`,`while`,`willSet`],H0=[`false`,`nil`,`true`],ile=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],ale=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],U0=`abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip`.split(`.`),W0=R0(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),G0=R0(W0,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),K0=L0(W0,G0,`*`),q0=R0(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),J0=R0(q0,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Y0=L0(q0,J0,`*`),X0=L0(/[A-Z]/,J0,`*`),ole=[`attached`,`autoclosure`,L0(/convention\(/,R0(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,L0(/objc\(/,Y0,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],sle=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`];function cle(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,R0(...nle,...B0)],className:{2:`keyword`}},a={match:L0(/\./,R0(...V0)),relevance:0},o=V0.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:R0(...V0.filter(e=>typeof e!=`string`).concat(rle).map(z0),...B0)}]},c={$pattern:R0(/\b\w+/,/#\w+/),keyword:o.concat(ale),literal:H0},l=[i,a,s],u=[{match:L0(/\./,R0(...U0)),relevance:0},{className:`built_in`,match:L0(/\b/,R0(...U0),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:K0},{match:`\\.(\\.|${G0})+`}]}],p=`([0-9]_*)+`,m=`([0-9a-fA-F]_*)+`,h={className:`number`,relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e=``)=>({className:`subst`,variants:[{match:L0(/\\/,e,/[0\\tnr"']/)},{match:L0(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:L0(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:L0(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:L0(e,/"""/),end:L0(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:L0(e,/"/),end:L0(/"/,e),contains:[g(e),v(e)]}),ee={className:`string`,variants:[y(),y(`#`),y(`##`),y(`###`),b(),b(`#`),b(`##`),b(`###`)]},x=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],te={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:x},S=e=>{let t=L0(e,/\//),n=L0(/\//,e);return{begin:t,end:n,contains:[...x,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},ne={scope:`regexp`,variants:[S(`###`),S(`##`),S(`#`),te]},re={match:L0(/`/,Y0,/`/)},ie=[re,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${J0}+`}],ae=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:sle,contains:[...f,h,ee]}]}},{scope:`keyword`,match:L0(/@/,R0(...ole),I0(R0(/\(/,/\s+/)))},{scope:`meta`,match:L0(/@/,Y0)}],oe={match:I0(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:L0(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,J0,`+`)},{className:`type`,match:X0,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:L0(/\s+&\s+/,I0(X0)),relevance:0}]},C={begin:/</,end:/>/,keywords:c,contains:[...r,...l,...ae,d,oe]};oe.contains.push(C);let se={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:[`self`,{match:L0(Y0,/\s*:/),keywords:`_|0`,relevance:0},...r,ne,...l,...u,...f,h,ee,...ie,...ae,oe]},ce={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,oe]},le={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:R0(I0(L0(Y0,/\s*:/)),I0(L0(Y0,/\s+/,Y0,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:Y0}]},...r,...l,...f,h,ee,...ae,oe,se],endsParent:!0,illegal:/["']/},ue={match:[/(func|macro)/,/\s+/,R0(re.match,Y0,K0)],className:{1:`keyword`,3:`title.function`},contains:[ce,le,t],illegal:[/\[/,/%/]},de={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[ce,le,t],illegal:/\[|%/},w={match:[/operator/,/\s+/,K0],className:{1:`keyword`,3:`title`}},fe={begin:[/precedencegroup/,/\s+/,X0],className:{1:`keyword`,3:`title`},contains:[oe],keywords:[...ile,...H0],end:/}/},T={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},pe={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},me={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Y0,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[ce,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:X0},...l],relevance:0}]};for(let e of ee.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=c;let n=[...l,...u,...f,h,ee,...ie];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:c,contains:[...r,ue,de,T,pe,me,w,fe,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},ne,...l,...u,...f,h,ee,...ie,...ae,oe,se]}}var Z0=`[A-Za-z$_][0-9A-Za-z$_]*`,Q0=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),$0=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],e2=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),t2=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],n2=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],r2=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],i2=[].concat(n2,e2,t2);function lle(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=Z0,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:Z0,keyword:Q0,literal:$0,built_in:i2,"variable.language":r2},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),ee={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},x={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...e2,...t2]}},S={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[ee],illegal:/%/},re={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ie(e){return t.concat(`(?!`,e.join(`|`),`)`)}let ae={match:t.concat(/\b/,ie([...n2,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},C={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},ee]},se=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,ce={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(se)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[ee]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),S,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,te,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},ce,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:se,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},ne,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[ee,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},oe,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[ee]},ae,re,x,C,{match:/\$[(.]/}]}}function ule(e){let t=e.regex,n=lle(e),r=Z0,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:Z0,keyword:Q0.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:$0,built_in:i2.concat(i),"variable.language":r2},l={className:`meta`,begin:`@`+r},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function a2(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function dle(e){let t=`true false yes no null`,n=`[\\w#;/?:@&=+$,.~*'()[\\]]+`,r={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:`string`,relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:`char.escape`,relevance:0}]},o={className:`string`,relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={className:`number`,begin:`\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b`},l={end:`,`,endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[l],illegal:`\\n`,relevance:0},d={begin:`\\[`,end:`\\]`,contains:[l],illegal:`\\n`,relevance:0},f=[r,{className:`meta`,begin:`^---\\s*$`,relevance:10},{className:`string`,begin:`[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*`},{begin:`<%[%=-]?`,end:`[%-]?%>`,subLanguage:`ruby`,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:`!\\w+!`+n},{className:`type`,begin:`!<`+n+`>`},{className:`type`,begin:`!`+n},{className:`type`,begin:`!!`+n},{className:`meta`,begin:`&`+e.UNDERSCORE_IDENT_RE+`$`},{className:`meta`,begin:`\\*`+e.UNDERSCORE_IDENT_RE+`$`},{className:`bullet`,begin:`-(?=[ ]|$)`,relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},c,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},u,d,a,o],p=[...f];return p.pop(),p.push(s),l.contains=p,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:f}}var o2={bash:J1,c:Y1,clojure:k1,cpp:X1,csharp:Z1,css:o0,curl:e=>{let t={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:`variable`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:`literal`,begin:/(--request|-X)\s/,contains:[{className:`symbol`,begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},r={className:`literal`,begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},i={className:`literal`,begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},a={className:`string`,begin:/\\"/,relevance:0},o={className:`string`,begin:/'/,end:/'/,relevance:0},s={className:`number`,variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:`curl`,aliases:[`curl`],keywords:`curl`,case_insensitive:!0,contains:[n,r,i,t,a,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}},dart:A1,diff:s0,docker:j1,dockerfile:j1,elixir:M1,fsharp:z1,go:c0,graphql:l0,haskell:B1,html:a2,http:V1,ini:u0,java:g0,javascript:T0,json:E0,kotlin:j0,less:Mce,lua:Nce,makefile:Pce,markdown:Fce,matlab:H1,nginx:U1,objectivec:Ice,ocaml:W1,perl:Lce,php:Rce,plaintext:zce,powershell:G1,properties:K1,python:e=>{let t=Bce(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[...i.keyword??[],...i.built_in??[],...i.literal??[],...i.type??[]].map(e=>e.replace(/\|\d+$/,``)),o=n.concat(`(?!(?:`,a.join(`|`),`)\\b)`),s={scope:`title.function`,relevance:0,match:n.concat(/\b/,o,r,n.lookahead(/\s*\(/))};return{...t,contains:[...t.contains??[],s]}},r:Vce,ruby:Hce,rust:Uce,scala:q1,scss:Qce,shell:$ce,sql:ele,swift:cle,toml:u0,typescript:ule,xml:a2,yaml:dle};function s2(e){return e?.type===`text`}function c2(e){return e?.type===`element`}function l2(e){return{type:`text`,value:e}}function fle(){return{type:`text`,value:`
169
+ `}}function ple(){return e=>{qG(e,`element`,(e,t,n)=>{if(n?.type===`element`&&n.tagName===`pre`&&e.tagName===`code`){let t=0;e.children=u2(e),e.children.forEach(e=>{if(e.type===`element`&&e.tagName===`span`){let n=e.children[e.children.length-1];n&&(!s2(n)||s2(n)&&!f2(n))&&(e.children.push(fle()),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function u2(e,t=[],n){let r=()=>t[t.length-1]??(t.push(d2())&&t[t.length-1]||void 0);return e.children.forEach(i=>{if(s2(i)&&f2(i)){let a=i.value.split(/\n/);a.forEach((i,o)=>{n?r()?.children.push({...e,children:[l2(i)]}):r()?.children.push(l2(i)),o!==a.length-1&&t.push(d2())})}else c2(i)&&i.children.some(f2)?u2(i,t,!0):r()?.children.push(i)}),t}function d2(...e){return{type:`element`,tagName:`span`,properties:{class:[`line`]},children:e}}function f2(e){return s2(e)&&/\r?\n/.test(e.value)||c2(e)&&e.children.some(f2)}function mle(e,t){let n=(typeof t?.maskCredentials==`string`?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${iK[t.lang]??t.lang}`,i=y1().use(RQ,{fragment:!0}).use(hle(e)).use(LK,{languages:t.languages}).use(t?.lineNumbers?ple:(()=>{})).use(u1).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),i):i}function hle(e){return()=>t=>{qG(t,`element`,t=>{t.tagName===`code`&&t.children.push({type:`text`,value:e})})}}var gle=[`note`,`tip`,`important`,`warning`,`caution`,`success`];function p2(e){return e.type===`text`&&typeof e.value==`string`&&/^\s*$/.test(e.value)}function _le(){return e=>{qG(e,`element`,(e,t,n)=>{if(e.tagName!==`blockquote`||typeof t!=`number`||!n||n.type!==`root`)return;let r=e.children.findIndex(e=>!p2(e));if(r===-1)return;let i=e.children[r];if(!i||i.type!==`element`||i.tagName!==`p`)return;let a=i.children[0];if(!a||a.type!==`text`||!a.value.startsWith(`[!`))return;let o=a.value.indexOf(`]`);if(o===-1)return;let s=a.value.slice(2,o).toLowerCase();if(!gle.includes(s))return;if(o+1===a.value.length){let t=i.children[1];if(t){if(t.type!==`element`||t.tagName!==`br`||!i.children[2])return;i.children=i.children.slice(2);let e=i.children[0];e&&e.type===`text`&&e.value.charAt(0)===`
170
+ `&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&p2(e.children[r+1])?r+2:r+1;if(t>=e.children.length||e.children[t]?.type!==`element`)return;e.children=e.children.slice(t)}}else a.value.charAt(o+1)===`
171
+ `&&(o+2===a.value.length||!/^\s*$/.test(a.value.slice(o+2)))?a.value=a.value.slice(o+2):a.value=a.value.replace(/^\s*\[!.*?\]\s*/,``);let c=[];for(let t=r;t<e.children.length;t++){let n=e.children[t];n?.type===`element`&&n.tagName===`p`&&n.children?c.push(...n.children):c.push(n)}n.children[t]={type:`element`,tagName:`div`,properties:{className:[`markdown-alert`,`markdown-alert-${s}`]},children:[{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-icon`]},children:[]},{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-content`]},children:[{type:`text`,value:` `},...c]}]}})}}var m2=typeof self==`object`?self:globalThis,vle=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new m2[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new m2[a](o),i)};return r},h2=e=>vle(new Map,e)(0),g2=``,{toString:yle}={},{keys:ble}=Object,_2=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=yle.call(e).slice(8,-1);switch(n){case`Array`:return[1,g2];case`Object`:return[2,g2];case`Date`:return[3,g2];case`RegExp`:return[4,g2];case`Map`:return[5,g2];case`Set`:return[6,g2]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},v2=([e,t])=>e===0&&(t===`function`||t===`symbol`),xle=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=_2(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of ble(r))(e||!v2(_2(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(v2(_2(n))||v2(_2(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!v2(_2(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},y2=(e,{json:t,lossy:n}={})=>{let r=[];return xle(!(t||n),!!t,new Map,r)(e),r},b2=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?h2(y2(e,t)):structuredClone(e):(e,t)=>h2(y2(e,t)),Sle=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Cle=/^[a-zA-Z]:\\/;function wle(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return Cle.test(e)?!1:Sle.test(e)}var Tle=[`http`,`https`],Ele=[`nofollow`],Dle={};function Ole(e){let t=e||Dle,n=t.protocols||Tle,r=sK(t.test);return function(e){qG(e,`element`,function(e,i,a){if(e.tagName===`a`&&typeof e.properties.href==`string`&&r(e,i,a)){let r=e.properties.href;if(wle(r)?n.includes(r.slice(0,r.indexOf(`:`))):r.startsWith(`//`)){let n=x2(t.content,e),r=n&&!Array.isArray(n)?[n]:n,i=x2(t.rel,e)||Ele,a=typeof i==`string`?Sq(i):i,o=x2(t.target,e),s=x2(t.properties,e);if(s&&Object.assign(e.properties,b2(s)),a.length>0&&(e.properties.rel=[...a]),o&&(e.properties.target=o),r){let n=x2(t.contentProperties,e)||{};e.children.push({type:`element`,tagName:`span`,properties:b2(n),children:b2(r)})}}}})}}function x2(e,t){return typeof e==`function`?e(t):e}var S2=sK(function(e){return e.tagName===`audio`||e.tagName===`canvas`||e.tagName===`embed`||e.tagName===`iframe`||e.tagName===`img`||e.tagName===`math`||e.tagName===`object`||e.tagName===`picture`||e.tagName===`svg`||e.tagName===`video`}),kle=`address.article.aside.blockquote.body.br.caption.center.col.colgroup.dd.dialog.dir.div.dl.dt.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.li.listing.main.menu.nav.ol.optgroup.option.p.plaintext.pre.section.summary.table.tbody.td.td.tfoot.th.th.thead.tr.ul.wbr.xmp`.split(`.`),Ale=[`button`,`input`,`select`,`textarea`],jle=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`],Mle={},C2=FG([`comment`,`doctype`]);function Nle(e,t){w2(e,{collapse:Ble((t||Mle).newlines?Rle:zle),whitespace:`normal`})}function w2(e,t){if(`children`in e){let n={...t};return(e.type===`root`||D2(e))&&(n.before=!0,n.after=!0),n.whitespace=Vle(e,t),Fle(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return Ple(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:C2(e),stripAtStart:!1,remove:!1}}function Ple(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&O2(n.charAt(0))&&i++,i!==a&&O2(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function Fle(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=w2(i[o],{...t,after:T2(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),E2(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function T2(e,t,n){for(;++t<e.length;){let n=e[t],r=Ile(n);if(r===void 0&&`children`in n&&!Lle(n)&&(r=T2(n.children,-1)),typeof r==`boolean`)return r}return n}function Ile(e){if(e.type===`element`){if(E2(e))return!1;if(D2(e))return!0}else if(e.type===`text`){if(!_$(e))return!1}else if(!C2(e))return!1}function E2(e){return S2(e)||oK(e,Ale)}function D2(e){return oK(e,kle)}function Lle(e){return!!(e.type===`element`&&e.properties.hidden)||C2(e)||oK(e,jle)}function O2(e){return e===` `||e===`
172
+ `}function Rle(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function zle(){return` `}function Ble(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function Vle(e,t){if(`tagName`in e&&e.properties)switch(e.tagName){case`listing`:case`plaintext`:case`script`:case`style`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return e.properties.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return e.properties.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}return t.whitespace}var Hle={}.hasOwnProperty;function Ule(e,t){let n=e.type===`element`&&Hle.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var Wle=new Set([`pingback`,`prefetch`,`stylesheet`]);function Gle(e){if(e.type!==`element`||e.tagName!==`link`)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!Wle.has(String(t[n])))return!1;return!0}var Kle=sK(`a.abbr.area.b.bdi.bdo.br.button.cite.code.data.datalist.del.dfn.em.i.input.ins.kbd.keygen.label.map.mark.meter.noscript.output.progress.q.ruby.s.samp.script.select.small.span.strong.sub.sup.template.textarea.time.u.var.wbr`.split(`.`)),qle=sK(`meta`);function Jle(e){return!!(e.type===`text`||Kle(e)||S2(e)||Gle(e)||qle(e)&&Ule(e,`itemProp`))}var Yle=[`pre`,`script`,`style`,`textarea`],Xle={};function Zle(e,t){let n=t||Xle,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent==`number`?` `.repeat(n.indent):typeof n.indent==`string`?n.indent:` `};Nle(e,{newlines:!0}),GG(e,i);function i(e,t){if(!(`children`in e))return;if(e.type===`element`&&e.tagName===`head`&&(r.head=!0),r.head&&e.type===`element`&&e.tagName===`body`&&(r.head=!1),e.type===`element`&&Yle.includes(e.tagName))return WG;if(e.children.length===0||!A2(r,e))return;let n=t.length;r.indentInitial||n--;let i=!1;for(let t of e.children)(t.type===`comment`||t.type===`text`)&&(t.value.includes(`
173
+ `)&&(i=!0),t.value=t.value.replace(/ *\n/g,`$&`+r.indent.repeat(n)));let o=[],s;for(let t of e.children)(A2(r,t)||i&&!s)&&(a(o,n,t),i=!0),s=t,o.push(t);s&&(i||A2(r,s))&&(_$(s)&&(o.pop(),s=o[o.length-1]),a(o,n-1)),e.children=o}function a(e,t,n){let i=e[e.length-1],a=(k2(r,i&&_$(i)?e[e.length-2]:i)&&k2(r,n)?`
174
+
175
+ `:`
176
+ `)+r.indent.repeat(Math.max(t,0));i&&i.type===`text`?i.value=_$(i)?a:i.value+a:e.push({type:`text`,value:a})}}function k2(e,t){return!!(t&&t.type===`element`&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function A2(e,t){return t.type===`root`||(t.type===`element`?e.head||t.tagName===`script`||S2(t)||!Jle(t):!1)}function Qle(e){return function(t){Zle(t,e)}}var $le={},eue={}.hasOwnProperty,j2=VQ(`type`,{handlers:{root:nue,element:sue,text:aue,comment:oue,doctype:iue}});function tue(e,t){let n=(t||$le).space;return j2(e,n===`svg`?_q:gq)}function nue(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=M2(e.children,n,t),N2(e,n),n}function rue(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=M2(e.children,n,t),N2(e,n),n}function iue(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return N2(e,t),t}function aue(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return N2(e,t),t}function oue(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return N2(e,t),t}function sue(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=_q);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&eue.call(e.properties,a)){let t=cue(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Rq[o],childNodes:[],parentNode:null};return s.childNodes=M2(e.children,s,r),N2(e,s),e.tagName===`template`&&e.content&&(s.content=rue(e.content,r)),s}function cue(e,t,n){let r=pq(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?yq(n):Cq(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=Rq[r.space]}return i}function M2(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=j2(e[r],n);a.parentNode=t,i.push(a)}return i}function N2(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var P2=I2(`end`),F2=I2(`start`);function I2(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function L2(e){let t=F2(e),n=P2(e);if(t&&n)return{start:t,end:n}}var lue=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),R2={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function z2(e,t){let n=yue(e),r=VQ(`type`,{handlers:{root:uue,element:due,text:fue,comment:V2,doctype:pue,raw:hue},unknown:gue}),i={parser:n?new MY(R2):MY.getFragmentParser(void 0,R2),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),H2(i,F2());let a=Vq(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&qG(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function B2(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function uue(e,t){B2(e.children,t)}function due(e,t){_ue(e,t),B2(e.children,t),vue(e,t)}function fue(e,t){let n={type:iJ.CHARACTER,chars:e.value,location:W2(e)};H2(t,F2(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function pue(e,t){let n={type:iJ.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:W2(e)};H2(t,F2(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function mue(e,t){t.stitches=!0;let n=bue(e);`children`in e&&`children`in n&&(n.children=z2({type:`root`,children:e.children},t.options).children),V2({type:`comment`,value:{stitch:n}},t)}function V2(e,t){let n=e.value,r={type:iJ.COMMENT,data:n,location:W2(e)};H2(t,F2(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function hue(e,t){if(t.parser.tokenizer.preprocessor.html=``,t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,U2(t,F2(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function gue(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))mue(n,t);else{let e=``;throw lue.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function H2(e,t){U2(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=EJ.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:``,value:``}}function U2(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function _ue(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===EJ.PLAINTEXT)return;H2(t,F2(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:Rq.html;i===Rq.html&&n===`svg`&&(i=Rq.svg);let a=tue({...e,children:[]},{space:i===Rq.svg?`svg`:`html`}),o={type:iJ.START_TAG,tagName:n,tagID:CJ(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:W2(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function vue(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&zQ.includes(n)||t.parser.tokenizer.state===EJ.PLAINTEXT)return;H2(t,P2(e));let r={type:iJ.END_TAG,tagName:n,tagID:CJ(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:W2(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===EJ.RCDATA||t.parser.tokenizer.state===EJ.RAWTEXT||t.parser.tokenizer.state===EJ.SCRIPT_DATA)&&(t.parser.tokenizer.state=EJ.DATA)}function yue(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function W2(e){let t=F2(e)||{line:void 0,column:void 0,offset:void 0},n=P2(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function bue(e){return`children`in e?b2({...e,children:[]}):b2(e)}function xue(e){return function(t,n){return z2(t,{...e,file:n})}}var G2=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],K2={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...G2,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...G2],h2:[[`className`,`sr-only`]],img:[...G2,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...G2,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...G2],table:[...G2],ul:[...G2,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)},q2={}.hasOwnProperty;function Sue(e,t){let n={type:`root`,children:[]},r=J2({schema:t?{...K2,...t}:K2,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function J2(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return Cue(e,n);case`doctype`:return wue(e,n);case`element`:return Tue(e,n);case`root`:return Eue(e,n);case`text`:return Due(e,n);default:}}}function Cue(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return Q2(r,t),r}}function wue(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return Q2(e,t),e}}function Tue(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=Y2(e,t.children),i=Oue(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&q2.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return Q2(o,t),o}function Eue(e,t){let n={type:`root`,children:Y2(e,t.children)};return Q2(n,t),n}function Due(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return Q2(n,t),n}function Y2(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=J2(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function Oue(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&q2.call(r,n)?r[n]:void 0,o=r&&q2.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(q2.call(s,l)){let t=s[l],n=X2(e,$2(a,l),l,t);n??=X2(e,$2(o,l),l,t),n!=null&&(c[l]=n)}if(i&&q2.call(i,n)){let e=i[n];for(l in e)q2.call(e,l)&&!q2.call(c,l)&&(c[l]=e[l])}return c}function X2(e,t,n,r){return t?Array.isArray(r)?kue(e,t,n,r):Z2(e,t,n,r):void 0}function kue(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=Z2(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function Z2(e,t,n,r){if(!(typeof r!=`boolean`&&typeof r!=`number`&&typeof r!=`string`)&&Aue(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function Aue(e,t,n){let r=e.schema.protocols&&q2.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function Q2(e,t){let n=L2(t);t.data&&(e.data=b2(t.data)),n&&(e.position=n)}function $2(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}function jue(e){return function(t){return Sue(t,e)}}var e4=l4(/[A-Za-z]/),t4=l4(/[\dA-Za-z]/),Mue=l4(/[#-'*+\--9=?A-Z^-~]/);function n4(e){return e!==null&&(e<32||e===127)}var r4=l4(/\d/),Nue=l4(/[\dA-Fa-f]/),Pue=l4(/[!-/:-@[-`{-~]/);function i4(e){return e!==null&&e<-2}function a4(e){return e!==null&&(e<0||e===32)}function o4(e){return e===-2||e===-1||e===32}var s4=l4(/\p{P}|\p{S}/u),c4=l4(/\s/);function l4(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Fue(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function Iue(e,t,n){let r=FG((n||{}).ignore||[]),i=Lue(t),a=-1;for(;++a<i.length;)GG(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function Lue(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([Rue(e[0]),zue(e[1])])}return t}function Rue(e){return typeof e==`string`?new RegExp(Fue(e),`g`):e}function zue(e){return typeof e==`function`?e:function(){return e}}var u4=`phrasing`,d4=[`autolink`,`link`,`image`,`label`];function Bue(){return{transforms:[que],enter:{literalAutolink:Hue,literalAutolinkEmail:f4,literalAutolinkHttp:f4,literalAutolinkWww:f4},exit:{literalAutolink:Kue,literalAutolinkEmail:Gue,literalAutolinkHttp:Uue,literalAutolinkWww:Wue}}}function Vue(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:u4,notInConstruct:d4},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:u4,notInConstruct:d4},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:u4,notInConstruct:d4}]}}function Hue(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function f4(e){this.config.enter.autolinkProtocol.call(this,e)}function Uue(e){this.config.exit.autolinkProtocol.call(this,e)}function Wue(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function Gue(e){this.config.exit.autolinkEmail.call(this,e)}function Kue(e){this.exit(e)}function que(e){Iue(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Jue],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Yue]],{ignore:[`link`,`linkReference`]})}function Jue(e,t,n,r,i){let a=``;if(!p4(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!Xue(n)))return!1;let o=Zue(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function Yue(e,t,n,r){return!p4(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function Xue(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Zue(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=h$(e,`(`),a=h$(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function p4(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||c4(n)||s4(n))&&(!t||n!==47)}function m4(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}h4.peek=cde;function Que(){return{enter:{gfmFootnoteDefinition:ede,gfmFootnoteDefinitionLabelString:tde,gfmFootnoteCall:ide,gfmFootnoteCallString:ade},exit:{gfmFootnoteDefinition:rde,gfmFootnoteDefinitionLabelString:nde,gfmFootnoteCall:sde,gfmFootnoteCallString:ode}}}function $ue(){return{unsafe:[{character:`[`,inConstruct:[`phrasing`,`label`,`reference`]}],handlers:{footnoteDefinition:lde,footnoteReference:h4}}}function ede(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function tde(){this.buffer()}function nde(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=m4(this.sliceSerialize(e)).toLowerCase()}function rde(e){this.exit(e)}function ide(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function ade(){this.buffer()}function ode(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=m4(this.sliceSerialize(e)).toLowerCase()}function sde(e){this.exit(e)}function h4(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),o(),a+=i.move(`]`),a}function cde(){return`[`}function lde(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteDefinition`),s=n.enter(`label`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),a+=i.move(`]:`+(e.children&&e.children.length>0?` `:``)),i.shift(4),a+=i.move(n.indentLines(n.containerFlow(e,i.current()),ude)),o(),a}function ude(e,t,n){return t===0?e:(n?``:` `)+e}var dde=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];g4.peek=gde;function fde(){return{canContainEols:[`delete`],enter:{strikethrough:mde},exit:{strikethrough:hde}}}function pde(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:dde}],handlers:{delete:g4}}}function mde(e){this.enter({type:`delete`,children:[]},e)}function hde(e){this.exit(e)}function g4(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function gde(){return`~`}function _de(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||yde,i=[],a=[],o=[],s=[],c=0,l=-1;for(;++l<e.length;){let n=[],i=[],u=-1;for(e[l].length>c&&(c=e[l].length);++u<e[l].length;){let a=vde(e[l][u]);if(t.alignDelimiters!==!1){let e=r(a);i[u]=e,(s[u]===void 0||e>s[u])&&(s[u]=e)}n.push(a)}a[l]=n,o[l]=i}let u=-1;if(typeof n==`object`&&`length`in n)for(;++u<c;)i[u]=_4(n[u]);else{let e=_4(n);for(;++u<c;)i[u]=e}u=-1;let d=[],f=[];for(;++u<c;){let e=i[u],n=``,r=``;e===99?(n=`:`,r=`:`):e===108?n=`:`:e===114&&(r=`:`);let a=t.alignDelimiters===!1?1:Math.max(1,s[u]-n.length-r.length),o=n+`-`.repeat(a)+r;t.alignDelimiters!==!1&&(a=n.length+a+r.length,a>s[u]&&(s[u]=a),f[u]=a),d[u]=o}a.splice(1,0,d),o.splice(1,0,f),l=-1;let p=[];for(;++l<a.length;){let e=a[l],n=o[l];u=-1;let r=[];for(;++u<c;){let a=e[u]||``,o=``,l=``;if(t.alignDelimiters!==!1){let e=s[u]-(n[u]||0),t=i[u];t===114?o=` `.repeat(e):t===99?e%2?(o=` `.repeat(e/2+.5),l=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),l=o):l=` `.repeat(e)}t.delimiterStart!==!1&&!u&&r.push(`|`),t.padding!==!1&&!(t.alignDelimiters===!1&&a===``)&&(t.delimiterStart!==!1||u)&&r.push(` `),t.alignDelimiters!==!1&&r.push(o),r.push(a),t.alignDelimiters!==!1&&r.push(l),t.padding!==!1&&r.push(` `),(t.delimiterEnd!==!1||u!==c-1)&&r.push(`|`)}p.push(t.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return p.join(`
177
+ `)}function vde(e){return e==null?``:String(e)}function yde(e){return e.length}function _4(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var bde={}.hasOwnProperty;function v4(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)v4(e,t.extensions[n]);for(r in t)if(bde.call(t,r))switch(r){case`extensions`:break;case`unsafe`:y4(e[r],t[r]);break;case`join`:y4(e[r],t[r]);break;case`handlers`:xde(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function y4(e,t){t&&e.push(...t)}function xde(e,t){t&&Object.assign(e,t)}function Sde(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),Cde);return i(),o}function Cde(e,t,n){return`>`+(n?``:` `)+e}function b4(e,t){return x4(e,t.inConstruct,!0)&&!x4(e,t.notInConstruct,!1)}function x4(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function S4(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
178
+ `&&b4(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
179
+ `}function wde(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function C4(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Tde(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Ede(e,t,n,r){let i=Tde(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(C4(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,Dde);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(wde(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
180
+ `,encode:["`"],...s.current()})),t()}return u+=s.move(`
181
+ `),a&&(u+=s.move(a+`
182
+ `)),u+=s.move(c),l(),u}function Dde(e,t,n){return(n?``:` `)+e}function w4(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Ode(e,t,n,r){let i=w4(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
183
+ `,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function kde(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}T4.peek=Ade;function T4(e,t,n,r){let i=kde(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i),a(),s}function Ade(e,t,n){return n.options.emphasis||`*`}var jde={};function E4(e,t){let n=t||jde;return D4(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function D4(e,t,n){if(Mde(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return O4(e.children,t,n)}return Array.isArray(e)?O4(e,t,n):``}function O4(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=D4(e[i],t,n);return r.join(``)}function Mde(e){return!!(e&&typeof e==`object`)}function k4(e,t){let n=!1;return qG(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&E4(e)&&(t.options.setext||n))}function Nde(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(k4(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
184
+ `,after:`
185
+ `});return r(),t(),o+`
186
+ `+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
187
+ `))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
188
+ `,...a.current()});return/^[\t ]/.test(l)&&(l=`&#x`+l.charCodeAt(0).toString(16).toUpperCase()+`;`+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}A4.peek=Pde;function A4(e){return e.value||``}function Pde(){return`<`}j4.peek=Fde;function j4(e,t,n,r){let i=w4(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function Fde(){return`!`}M4.peek=Ide;function M4(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function Ide(){return`!`}N4.peek=Lde;function N4(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function Lde(){return"`"}function P4(e,t){let n=E4(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}F4.peek=Rde;function F4(e,t,n,r){let i=w4(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(P4(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function Rde(e,t,n){return P4(e,n)?`<`:`[`}I4.peek=zde;function I4(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function zde(){return`[`}function L4(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Bde(e){let t=L4(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Vde(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function R4(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Hde(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?Vde(n):L4(n),s=e.ordered?o===`.`?`)`:`.`:Bde(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),R4(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function Ude(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Wde(e,t,n,r){let i=Ude(n),a=n.bulletCurrent||L4(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function Gde(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var Kde=FG([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function qde(e,t,n,r){return(e.children.some(function(e){return Kde(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Jde(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}z4.peek=Yde;function z4(e,t,n,r){let i=Jde(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i+i),a(),s}function Yde(e,t,n){return n.options.strong||`*`}function Xde(e,t,n,r){return n.safe(e.value,r)}function Zde(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Qde(e,t,n){let r=(R4(n)+(n.options.ruleSpaces?` `:``)).repeat(Zde(n));return n.options.ruleSpaces?r.slice(0,-1):r}var B4={blockquote:Sde,break:S4,code:Ede,definition:Ode,emphasis:T4,hardBreak:S4,heading:Nde,html:A4,image:j4,imageReference:M4,inlineCode:N4,link:F4,linkReference:I4,list:Hde,listItem:Wde,paragraph:Gde,root:qde,strong:z4,text:Xde,thematicBreak:Qde},$de=[efe];function efe(e,t,n,r){if(t.type===`code`&&C4(t,r)&&(e.type===`list`||e.type===t.type&&C4(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`)return e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&k4(t,r))?void 0:n.spread?1:0}var V4=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],tfe=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
189
+ `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:V4},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
190
+ ]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:V4},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
191
+ *])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:V4},{atBreak:!0,character:`+`,after:`(?:[ \r
192
+ ])`},{atBreak:!0,character:`-`,after:`(?:[ \r
193
+ -])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
194
+ ]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:V4},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:V4},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:V4},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:V4},{atBreak:!0,character:`~`}],H4={AElig:`Æ`,AMP:`&`,Aacute:`Á`,Abreve:`Ă`,Acirc:`Â`,Acy:`А`,Afr:`𝔄`,Agrave:`À`,Alpha:`Α`,Amacr:`Ā`,And:`⩓`,Aogon:`Ą`,Aopf:`𝔸`,ApplyFunction:`⁡`,Aring:`Å`,Ascr:`𝒜`,Assign:`≔`,Atilde:`Ã`,Auml:`Ä`,Backslash:`∖`,Barv:`⫧`,Barwed:`⌆`,Bcy:`Б`,Because:`∵`,Bernoullis:`ℬ`,Beta:`Β`,Bfr:`𝔅`,Bopf:`𝔹`,Breve:`˘`,Bscr:`ℬ`,Bumpeq:`≎`,CHcy:`Ч`,COPY:`©`,Cacute:`Ć`,Cap:`⋒`,CapitalDifferentialD:`ⅅ`,Cayleys:`ℭ`,Ccaron:`Č`,Ccedil:`Ç`,Ccirc:`Ĉ`,Cconint:`∰`,Cdot:`Ċ`,Cedilla:`¸`,CenterDot:`·`,Cfr:`ℭ`,Chi:`Χ`,CircleDot:`⊙`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,Colon:`∷`,Colone:`⩴`,Congruent:`≡`,Conint:`∯`,ContourIntegral:`∮`,Copf:`ℂ`,Coproduct:`∐`,CounterClockwiseContourIntegral:`∳`,Cross:`⨯`,Cscr:`𝒞`,Cup:`⋓`,CupCap:`≍`,DD:`ⅅ`,DDotrahd:`⤑`,DJcy:`Ђ`,DScy:`Ѕ`,DZcy:`Џ`,Dagger:`‡`,Darr:`↡`,Dashv:`⫤`,Dcaron:`Ď`,Dcy:`Д`,Del:`∇`,Delta:`Δ`,Dfr:`𝔇`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,Diamond:`⋄`,DifferentialD:`ⅆ`,Dopf:`𝔻`,Dot:`¨`,DotDot:`⃜`,DotEqual:`≐`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,Downarrow:`⇓`,Dscr:`𝒟`,Dstrok:`Đ`,ENG:`Ŋ`,ETH:`Ð`,Eacute:`É`,Ecaron:`Ě`,Ecirc:`Ê`,Ecy:`Э`,Edot:`Ė`,Efr:`𝔈`,Egrave:`È`,Element:`∈`,Emacr:`Ē`,EmptySmallSquare:`◻`,EmptyVerySmallSquare:`▫`,Eogon:`Ę`,Eopf:`𝔼`,Epsilon:`Ε`,Equal:`⩵`,EqualTilde:`≂`,Equilibrium:`⇌`,Escr:`ℰ`,Esim:`⩳`,Eta:`Η`,Euml:`Ë`,Exists:`∃`,ExponentialE:`ⅇ`,Fcy:`Ф`,Ffr:`𝔉`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,Fopf:`𝔽`,ForAll:`∀`,Fouriertrf:`ℱ`,Fscr:`ℱ`,GJcy:`Ѓ`,GT:`>`,Gamma:`Γ`,Gammad:`Ϝ`,Gbreve:`Ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,Gcy:`Г`,Gdot:`Ġ`,Gfr:`𝔊`,Gg:`⋙`,Gopf:`𝔾`,GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,Gt:`≫`,HARDcy:`Ъ`,Hacek:`ˇ`,Hat:`^`,Hcirc:`Ĥ`,Hfr:`ℌ`,HilbertSpace:`ℋ`,Hopf:`ℍ`,HorizontalLine:`─`,Hscr:`ℋ`,Hstrok:`Ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,IEcy:`Е`,IJlig:`IJ`,IOcy:`Ё`,Iacute:`Í`,Icirc:`Î`,Icy:`И`,Idot:`İ`,Ifr:`ℑ`,Igrave:`Ì`,Im:`ℑ`,Imacr:`Ī`,ImaginaryI:`ⅈ`,Implies:`⇒`,Int:`∬`,Integral:`∫`,Intersection:`⋂`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,Iogon:`Į`,Iopf:`𝕀`,Iota:`Ι`,Iscr:`ℐ`,Itilde:`Ĩ`,Iukcy:`І`,Iuml:`Ï`,Jcirc:`Ĵ`,Jcy:`Й`,Jfr:`𝔍`,Jopf:`𝕁`,Jscr:`𝒥`,Jsercy:`Ј`,Jukcy:`Є`,KHcy:`Х`,KJcy:`Ќ`,Kappa:`Κ`,Kcedil:`Ķ`,Kcy:`К`,Kfr:`𝔎`,Kopf:`𝕂`,Kscr:`𝒦`,LJcy:`Љ`,LT:`<`,Lacute:`Ĺ`,Lambda:`Λ`,Lang:`⟪`,Laplacetrf:`ℒ`,Larr:`↞`,Lcaron:`Ľ`,Lcedil:`Ļ`,Lcy:`Л`,LeftAngleBracket:`⟨`,LeftArrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,LeftRightArrow:`↔`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,Leftarrow:`⇐`,Leftrightarrow:`⇔`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,LessLess:`⪡`,LessSlantEqual:`⩽`,LessTilde:`≲`,Lfr:`𝔏`,Ll:`⋘`,Lleftarrow:`⇚`,Lmidot:`Ŀ`,LongLeftArrow:`⟵`,LongLeftRightArrow:`⟷`,LongRightArrow:`⟶`,Longleftarrow:`⟸`,Longleftrightarrow:`⟺`,Longrightarrow:`⟹`,Lopf:`𝕃`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,Lscr:`ℒ`,Lsh:`↰`,Lstrok:`Ł`,Lt:`≪`,Map:`⤅`,Mcy:`М`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,MinusPlus:`∓`,Mopf:`𝕄`,Mscr:`ℳ`,Mu:`Μ`,NJcy:`Њ`,Nacute:`Ń`,Ncaron:`Ň`,Ncedil:`Ņ`,Ncy:`Н`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
195
+ `,Nfr:`𝔑`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,Not:`⫬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,Nscr:`𝒩`,Ntilde:`Ñ`,Nu:`Ν`,OElig:`Œ`,Oacute:`Ó`,Ocirc:`Ô`,Ocy:`О`,Odblac:`Ő`,Ofr:`𝔒`,Ograve:`Ò`,Omacr:`Ō`,Omega:`Ω`,Omicron:`Ο`,Oopf:`𝕆`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,Or:`⩔`,Oscr:`𝒪`,Oslash:`Ø`,Otilde:`Õ`,Otimes:`⨷`,Ouml:`Ö`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,PartialD:`∂`,Pcy:`П`,Pfr:`𝔓`,Phi:`Φ`,Pi:`Π`,PlusMinus:`±`,Poincareplane:`ℌ`,Popf:`ℙ`,Pr:`⪻`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,Prime:`″`,Product:`∏`,Proportion:`∷`,Proportional:`∝`,Pscr:`𝒫`,Psi:`Ψ`,QUOT:`"`,Qfr:`𝔔`,Qopf:`ℚ`,Qscr:`𝒬`,RBarr:`⤐`,REG:`®`,Racute:`Ŕ`,Rang:`⟫`,Rarr:`↠`,Rarrtl:`⤖`,Rcaron:`Ř`,Rcedil:`Ŗ`,Rcy:`Р`,Re:`ℜ`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,Rfr:`ℜ`,Rho:`Ρ`,RightAngleBracket:`⟩`,RightArrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,Rightarrow:`⇒`,Ropf:`ℝ`,RoundImplies:`⥰`,Rrightarrow:`⇛`,Rscr:`ℛ`,Rsh:`↱`,RuleDelayed:`⧴`,SHCHcy:`Щ`,SHcy:`Ш`,SOFTcy:`Ь`,Sacute:`Ś`,Sc:`⪼`,Scaron:`Š`,Scedil:`Ş`,Scirc:`Ŝ`,Scy:`С`,Sfr:`𝔖`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,ShortRightArrow:`→`,ShortUpArrow:`↑`,Sigma:`Σ`,SmallCircle:`∘`,Sopf:`𝕊`,Sqrt:`√`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,Sscr:`𝒮`,Star:`⋆`,Sub:`⋐`,Subset:`⋐`,SubsetEqual:`⊆`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,SuchThat:`∋`,Sum:`∑`,Sup:`⋑`,Superset:`⊃`,SupersetEqual:`⊇`,Supset:`⋑`,THORN:`Þ`,TRADE:`™`,TSHcy:`Ћ`,TScy:`Ц`,Tab:` `,Tau:`Τ`,Tcaron:`Ť`,Tcedil:`Ţ`,Tcy:`Т`,Tfr:`𝔗`,Therefore:`∴`,Theta:`Θ`,ThickSpace:`  `,ThinSpace:` `,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,Topf:`𝕋`,TripleDot:`⃛`,Tscr:`𝒯`,Tstrok:`Ŧ`,Uacute:`Ú`,Uarr:`↟`,Uarrocir:`⥉`,Ubrcy:`Ў`,Ubreve:`Ŭ`,Ucirc:`Û`,Ucy:`У`,Udblac:`Ű`,Ufr:`𝔘`,Ugrave:`Ù`,Umacr:`Ū`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,Uopf:`𝕌`,UpArrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,UpEquilibrium:`⥮`,UpTee:`⊥`,UpTeeArrow:`↥`,Uparrow:`⇑`,Updownarrow:`⇕`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,Upsilon:`Υ`,Uring:`Ů`,Uscr:`𝒰`,Utilde:`Ũ`,Uuml:`Ü`,VDash:`⊫`,Vbar:`⫫`,Vcy:`В`,Vdash:`⊩`,Vdashl:`⫦`,Vee:`⋁`,Verbar:`‖`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,Vopf:`𝕍`,Vscr:`𝒱`,Vvdash:`⊪`,Wcirc:`Ŵ`,Wedge:`⋀`,Wfr:`𝔚`,Wopf:`𝕎`,Wscr:`𝒲`,Xfr:`𝔛`,Xi:`Ξ`,Xopf:`𝕏`,Xscr:`𝒳`,YAcy:`Я`,YIcy:`Ї`,YUcy:`Ю`,Yacute:`Ý`,Ycirc:`Ŷ`,Ycy:`Ы`,Yfr:`𝔜`,Yopf:`𝕐`,Yscr:`𝒴`,Yuml:`Ÿ`,ZHcy:`Ж`,Zacute:`Ź`,Zcaron:`Ž`,Zcy:`З`,Zdot:`Ż`,ZeroWidthSpace:`​`,Zeta:`Ζ`,Zfr:`ℨ`,Zopf:`ℤ`,Zscr:`𝒵`,aacute:`á`,abreve:`ă`,ac:`∾`,acE:`∾̳`,acd:`∿`,acirc:`â`,acute:`´`,acy:`а`,aelig:`æ`,af:`⁡`,afr:`𝔞`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,alpha:`α`,amacr:`ā`,amalg:`⨿`,amp:`&`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,aogon:`ą`,aopf:`𝕒`,ap:`≈`,apE:`⩰`,apacir:`⩯`,ape:`≊`,apid:`≋`,apos:`'`,approx:`≈`,approxeq:`≊`,aring:`å`,ascr:`𝒶`,ast:`*`,asymp:`≈`,asympeq:`≍`,atilde:`ã`,auml:`ä`,awconint:`∳`,awint:`⨑`,bNot:`⫭`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,barvee:`⊽`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,beta:`β`,beth:`ℶ`,between:`≬`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bnot:`⌐`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxDL:`╗`,boxDR:`╔`,boxDl:`╖`,boxDr:`╓`,boxH:`═`,boxHD:`╦`,boxHU:`╩`,boxHd:`╤`,boxHu:`╧`,boxUL:`╝`,boxUR:`╚`,boxUl:`╜`,boxUr:`╙`,boxV:`║`,boxVH:`╬`,boxVL:`╣`,boxVR:`╠`,boxVh:`╫`,boxVl:`╢`,boxVr:`╟`,boxbox:`⧉`,boxdL:`╕`,boxdR:`╒`,boxdl:`┐`,boxdr:`┌`,boxh:`─`,boxhD:`╥`,boxhU:`╨`,boxhd:`┬`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxuL:`╛`,boxuR:`╘`,boxul:`┘`,boxur:`└`,boxv:`│`,boxvH:`╪`,boxvL:`╡`,boxvR:`╞`,boxvh:`┼`,boxvl:`┤`,boxvr:`├`,bprime:`‵`,breve:`˘`,brvbar:`¦`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,bumpeq:`≏`,cacute:`ć`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,ccaps:`⩍`,ccaron:`č`,ccedil:`ç`,ccirc:`ĉ`,ccups:`⩌`,ccupssm:`⩐`,cdot:`ċ`,cedil:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,cfr:`𝔠`,chcy:`ч`,check:`✓`,checkmark:`✓`,chi:`χ`,cir:`○`,cirE:`⧃`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledR:`®`,circledS:`Ⓢ`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,clubs:`♣`,clubsuit:`♣`,colon:`:`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,conint:`∮`,copf:`𝕔`,coprod:`∐`,copy:`©`,copysr:`℗`,crarr:`↵`,cross:`✗`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cup:`∪`,cupbrcap:`⩈`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dArr:`⇓`,dHar:`⥥`,dagger:`†`,daleth:`ℸ`,darr:`↓`,dash:`‐`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,dcaron:`ď`,dcy:`д`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,ddotseq:`⩷`,deg:`°`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,dfr:`𝔡`,dharl:`⇃`,dharr:`⇂`,diam:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,dopf:`𝕕`,dot:`˙`,doteq:`≐`,doteqdot:`≑`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,downarrow:`↓`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,dscr:`𝒹`,dscy:`ѕ`,dsol:`⧶`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,dzcy:`џ`,dzigrarr:`⟿`,eDDot:`⩷`,eDot:`≑`,eacute:`é`,easter:`⩮`,ecaron:`ě`,ecir:`≖`,ecirc:`ê`,ecolon:`≕`,ecy:`э`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,efr:`𝔢`,eg:`⪚`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,emacr:`ē`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,emsp13:` `,emsp14:` `,emsp:` `,eng:`ŋ`,ensp:` `,eogon:`ę`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,equals:`=`,equest:`≟`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erDot:`≓`,erarr:`⥱`,escr:`ℯ`,esdot:`≐`,esim:`≂`,eta:`η`,eth:`ð`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,filig:`fi`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,fopf:`𝕗`,forall:`∀`,fork:`⋔`,forkv:`⫙`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,gE:`≧`,gEl:`⪌`,gacute:`ǵ`,gamma:`γ`,gammad:`ϝ`,gap:`⪆`,gbreve:`ğ`,gcirc:`ĝ`,gcy:`г`,gdot:`ġ`,ge:`≥`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,gfr:`𝔤`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,gjcy:`ѓ`,gl:`≷`,glE:`⪒`,gla:`⪥`,glj:`⪤`,gnE:`≩`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,gopf:`𝕘`,grave:"`",gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,hArr:`⇔`,hairsp:` `,half:`½`,hamilt:`ℋ`,hardcy:`ъ`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,hbar:`ℏ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,horbar:`―`,hscr:`𝒽`,hslash:`ℏ`,hstrok:`ħ`,hybull:`⁃`,hyphen:`‐`,iacute:`í`,ic:`⁣`,icirc:`î`,icy:`и`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,ijlig:`ij`,imacr:`ī`,image:`ℑ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,int:`∫`,intcal:`⊺`,integers:`ℤ`,intercal:`⊺`,intlarhk:`⨗`,intprod:`⨼`,iocy:`ё`,iogon:`į`,iopf:`𝕚`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,isin:`∈`,isinE:`⋹`,isindot:`⋵`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,itilde:`ĩ`,iukcy:`і`,iuml:`ï`,jcirc:`ĵ`,jcy:`й`,jfr:`𝔧`,jmath:`ȷ`,jopf:`𝕛`,jscr:`𝒿`,jsercy:`ј`,jukcy:`є`,kappa:`κ`,kappav:`ϰ`,kcedil:`ķ`,kcy:`к`,kfr:`𝔨`,kgreen:`ĸ`,khcy:`х`,kjcy:`ќ`,kopf:`𝕜`,kscr:`𝓀`,lAarr:`⇚`,lArr:`⇐`,lAtail:`⤛`,lBarr:`⤎`,lE:`≦`,lEg:`⪋`,lHar:`⥢`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,lambda:`λ`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,laquo:`«`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,lcaron:`ľ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,leftarrow:`←`,leftarrowtail:`↢`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,leftthreetimes:`⋋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,lessgtr:`≶`,lesssim:`≲`,lfisht:`⥼`,lfloor:`⌊`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,ljcy:`љ`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,llhard:`⥫`,lltri:`◺`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnE:`≨`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,longleftrightarrow:`⟷`,longmapsto:`⟼`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,lstrok:`ł`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltrPar:`⦖`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,mDDot:`∺`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,mcy:`м`,mdash:`—`,measuredangle:`∡`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,mstpos:`∾`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nGg:`⋙̸`,nGt:`≫⃒`,nGtv:`≫̸`,nLeftarrow:`⇍`,nLeftrightarrow:`⇎`,nLl:`⋘̸`,nLt:`≪⃒`,nLtv:`≪̸`,nRightarrow:`⇏`,nVDash:`⊯`,nVdash:`⊮`,nabla:`∇`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,ncaron:`ň`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,ncy:`н`,ndash:`–`,ne:`≠`,neArr:`⇗`,nearhk:`⤤`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,nexist:`∄`,nexists:`∄`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,ngsim:`≵`,ngt:`≯`,ngtr:`≯`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,njcy:`њ`,nlArr:`⇍`,nlE:`≦̸`,nlarr:`↚`,nldr:`‥`,nle:`≰`,nleftarrow:`↚`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nlsim:`≴`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nmid:`∤`,nopf:`𝕟`,not:`¬`,notin:`∉`,notinE:`⋹̸`,notindot:`⋵̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvDash:`⊭`,nvHarr:`⤄`,nvap:`≍⃒`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwArr:`⇖`,nwarhk:`⤣`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,oS:`Ⓢ`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,ocirc:`ô`,ocy:`о`,odash:`⊝`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,oelig:`œ`,ofcir:`⦿`,ofr:`𝔬`,ogon:`˛`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,omacr:`ō`,omega:`ω`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,oopf:`𝕠`,opar:`⦷`,operp:`⦹`,oplus:`⊕`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oscr:`ℴ`,oslash:`ø`,osol:`⊘`,otilde:`õ`,otimes:`⊗`,otimesas:`⨶`,ouml:`ö`,ovbar:`⌽`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,pfr:`𝔭`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,pointint:`⨕`,popf:`𝕡`,pound:`£`,pr:`≺`,prE:`⪳`,prap:`⪷`,prcue:`≼`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,prime:`′`,primes:`ℙ`,prnE:`⪵`,prnap:`⪹`,prnsim:`⋨`,prod:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,pscr:`𝓅`,psi:`ψ`,puncsp:` `,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,qprime:`⁗`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,rAarr:`⇛`,rArr:`⇒`,rAtail:`⤜`,rBarr:`⤏`,rHar:`⥤`,race:`∽̱`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,rcaron:`ř`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,reg:`®`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,rho:`ρ`,rhov:`ϱ`,rightarrow:`→`,rightarrowtail:`↣`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,rightthreetimes:`⋌`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,rsaquo:`›`,rscr:`𝓇`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,ruluhar:`⥨`,rx:`℞`,sacute:`ś`,sbquo:`‚`,sc:`≻`,scE:`⪴`,scap:`⪸`,scaron:`š`,sccue:`≽`,sce:`⪰`,scedil:`ş`,scirc:`ŝ`,scnE:`⪶`,scnap:`⪺`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,seArr:`⇘`,searhk:`⤥`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,shchcy:`щ`,shcy:`ш`,shortmid:`∣`,shortparallel:`∥`,shy:`­`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,square:`□`,squarf:`▪`,squf:`▪`,srarr:`→`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,subE:`⫅`,subdot:`⪽`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,supE:`⫆`,supdot:`⪾`,supdsub:`⫘`,supe:`⊇`,supedot:`⫄`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swArr:`⇙`,swarhk:`⤦`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,target:`⌖`,tau:`τ`,tbrk:`⎴`,tcaron:`ť`,tcedil:`ţ`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,thinsp:` `,thkap:`≈`,thksim:`∼`,thorn:`þ`,tilde:`˜`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,tscr:`𝓉`,tscy:`ц`,tshcy:`ћ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,uArr:`⇑`,uHar:`⥣`,uacute:`ú`,uarr:`↑`,ubrcy:`ў`,ubreve:`ŭ`,ucirc:`û`,ucy:`у`,udarr:`⇅`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,ufr:`𝔲`,ugrave:`ù`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,umacr:`ū`,uml:`¨`,uogon:`ų`,uopf:`𝕦`,uparrow:`↑`,updownarrow:`↕`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,upsi:`υ`,upsih:`ϒ`,upsilon:`υ`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,uring:`ů`,urtri:`◹`,uscr:`𝓊`,utdot:`⋰`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,uuml:`ü`,uwangle:`⦧`,vArr:`⇕`,vBar:`⫨`,vBarv:`⫩`,vDash:`⊨`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vcy:`в`,vdash:`⊢`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,vert:`|`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,vzigzag:`⦚`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,wfr:`𝔴`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,yacute:`ý`,yacy:`я`,ycirc:`ŷ`,ycy:`ы`,yen:`¥`,yfr:`𝔶`,yicy:`ї`,yopf:`𝕪`,yscr:`𝓎`,yucy:`ю`,yuml:`ÿ`,zacute:`ź`,zcaron:`ž`,zcy:`з`,zdot:`ż`,zeetrf:`ℨ`,zeta:`ζ`,zfr:`𝔷`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`},nfe={}.hasOwnProperty;function U4(e){return nfe.call(H4,e)?H4[e]:!1}function W4(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var rfe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function G4(e){return e.replace(rfe,ife)}function ife(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return W4(n.slice(t?2:1),t?16:10)}return U4(n)||e}function afe(e){return e.label||!e.identifier?e.label||``:G4(e.identifier)}function ofe(e){if(!e._compiled){let t=(e.atBreak?`[\\r\\n][\\t ]*`:``)+(e.before?`(?:`+e.before+`)`:``);e._compiled=RegExp((t?`(`+t+`)`:``)+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?`\\`:``)+e.character+(e.after?`(?:`+e.after+`)`:``),`g`)}return e._compiled}function sfe(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){let l=i[o],u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[o+1],e,t,{before:``,after:``,...c.current()}).charAt(0):``}else u=n.after;a.length>0&&(s===`\r`||s===`
196
+ `)&&l.type===`html`&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/,` `),s=` `,c=t.createTracker(n),c.move(a.join(``))),a.push(c.move(t.handle(l,e,t,{...c.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join(``)}function cfe(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
197
+ `,after:`
198
+ `,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(lfe(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function lfe(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
199
+ `.repeat(1+a);if(a===!1)return`
200
+
201
+ <!---->
202
+
203
+ `}return`
204
+
205
+ `}var ufe=/\r?\n|\r/g;function dfe(e,t){let n=[],r=0,i=0,a;for(;a=ufe.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}function ffe(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!b4(e.stack,t))continue;let n=e.compilePattern(t),a;for(;a=n.exec(r);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=a.index+(e?a[1].length:0);i.includes(r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(pfe);let c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];e<c||e>=l||e+1<l&&i[s+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[s-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after||(c!==e&&a.push(K4(r.slice(c,e),`\\`)),c=e,/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(`&#x`+r.charCodeAt(e).toString(16).toUpperCase()+`;`),c++))}return a.push(K4(r.slice(c,l),n.after)),a.join(``)}function pfe(e,t){return e-t}function K4(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}function mfe(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}function hfe(e,t={}){let n={enter:i,indentLines:dfe,associationId:afe,containerPhrasing:yfe,containerFlow:bfe,createTracker:mfe,compilePattern:ofe,safe:xfe,stack:[],unsafe:[...tfe],join:[...$de],handlers:{...B4},options:{},indexStack:[],handle:void 0};v4(n,t),n.options.tightDefinitions&&n.join.push(vfe),n.handle=VQ(`type`,{invalid:gfe,unknown:_fe,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
206
+ `,after:`
207
+ `,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
208
+ `),r;function i(e){return n.stack.push(e),t;function t(){n.stack.pop()}}}function gfe(e){throw Error("Cannot handle value `"+e+"`, expected node")}function _fe(e){let t=e;throw Error("Cannot handle unknown node `"+t.type+"`")}function vfe(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function yfe(e,t){return sfe(e,this,t)}function bfe(e,t){return cfe(e,this,t)}function xfe(e,t){return ffe(this,e,t)}function Sfe(){return{enter:{table:Cfe,tableData:J4,tableHeader:J4,tableRow:Tfe},exit:{codeText:Efe,table:wfe,tableData:q4,tableHeader:q4,tableRow:q4}}}function Cfe(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function wfe(e){this.exit(e),this.data.inTable=void 0}function Tfe(e){this.enter({type:`tableRow`,children:[]},e)}function q4(e){this.exit(e)}function J4(e){this.enter({type:`tableCell`,children:[]},e)}function Efe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Dfe));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Dfe(e,t){return t===`|`?t:e}function Ofe(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
209
+ `,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
210
+ `))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return _de(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=B4.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function kfe(){return{exit:{taskListCheckValueChecked:Y4,taskListCheckValueUnchecked:Y4,paragraph:jfe}}}function Afe(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Mfe}}}function Y4(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function jfe(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Mfe(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=B4.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function Nfe(){return[Bue(),Que(),fde(),Sfe(),kfe()]}function Pfe(e){return{extensions:[Vue(),$ue(),pde(),Ofe(e),Afe()]}}function X4(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Z4(e,t){return e.length>0?(X4(e,e.length,0,t),e):t}var Q4={}.hasOwnProperty;function $4(e){let t={},n=-1;for(;++n<e.length;)Ffe(t,e[n]);return t}function Ffe(e,t){let n;for(n in t){let r=(Q4.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){Q4.call(r,a)||(r[a]=[]);let e=i[a];Ife(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Ife(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);X4(e,0,0,r)}var Lfe={tokenize:Ufe,partial:!0},e3={tokenize:Wfe,partial:!0},t3={tokenize:Gfe,partial:!0},n3={tokenize:Kfe,partial:!0},Rfe={tokenize:qfe,partial:!0},r3={tokenize:Vfe,previous:c3},i3={tokenize:Hfe,previous:l3},a3={tokenize:Bfe,previous:u3},o3={};function zfe(){return{text:o3}}for(var s3=48;s3<123;)o3[s3]=a3,s3++,s3===58?s3=65:s3===91&&(s3=97);o3[43]=a3,o3[45]=a3,o3[46]=a3,o3[95]=a3,o3[72]=[a3,i3],o3[104]=[a3,i3],o3[87]=[a3,r3],o3[119]=[a3,r3];function Bfe(e,t,n){let r=this,i,a;return o;function o(t){return!d3(t)||!u3.call(r,r.previous)||f3(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return d3(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(Rfe,u,l)(t):t===45||t===95||t4(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&e4(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Vfe(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!c3.call(r,r.previous)||f3(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(Lfe,e.attempt(e3,e.attempt(t3,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Hfe(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&l3.call(r,r.previous)&&!f3(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(e4(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||n4(t)||a4(t)||c4(t)||s4(t)?n(t):e.attempt(e3,e.attempt(t3,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Ufe(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function Wfe(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(n3,c,s)(t):t===null||a4(t)||c4(t)||t!==45&&s4(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function Gfe(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(n3,t,a)(o):o===null||a4(o)||c4(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Kfe(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||a4(o)||c4(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||a4(e)||c4(e)?t(e):r(e)}function a(e){return e4(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):e4(t)?(e.consume(t),o):n(t)}}function qfe(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return t4(e)?n(e):t(e)}}function c3(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||a4(e)}function l3(e){return!e4(e)}function u3(e){return!(e===47||d3(e))}function d3(e){return e===43||e===45||e===46||e===95||t4(e)}function f3(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function p3(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&t4(e.charCodeAt(n+1))&&t4(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function m3(e){if(e===null||a4(e)||c4(e))return 1;if(s4(e))return 2}function h3(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var g3={name:`attention`,tokenize:Yfe,resolveAll:Jfe};function Jfe(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);_3(d,-c),_3(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:Object.assign({},e[r][1].end)},s={type:c>1?`strongSequence`:`emphasisSequence`,start:Object.assign({},e[n][1].start),end:f},a={type:c>1?`strongText`:`emphasisText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:c>1?`strong`:`emphasis`,start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Z4(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Z4(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=Z4(l,h3(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Z4(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Z4(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,X4(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function Yfe(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=m3(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=m3(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function _3(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Xfe={name:`autolink`,tokenize:Zfe};function Zfe(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return e4(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||t4(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||t4(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||n4(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):Mue(t)?(e.consume(t),l):n(t)}function u(e){return t4(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||t4(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}function v3(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return o4(r)?(e.enter(n),s(r)):t(r)}function s(r){return o4(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var y3={tokenize:Qfe,partial:!0};function Qfe(e,t,n){return r;function r(t){return o4(t)?v3(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||i4(e)?t(e):n(e)}}var b3={name:`blockQuote`,tokenize:$fe,continuation:{tokenize:epe},exit:tpe};function $fe(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return o4(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function epe(e,t,n){let r=this;return i;function i(t){return o4(t)?v3(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(b3,t,n)(r)}}function tpe(e){e.exit(`blockQuote`)}var x3={name:`characterEscape`,tokenize:npe};function npe(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return Pue(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var S3={name:`characterReference`,tokenize:rpe};function rpe(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=t4,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=Nue,u):(e.enter(`characterReferenceValue`),a=7,o=r4,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===t4&&!U4(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var C3={tokenize:ape,partial:!0},w3={name:`codeFenced`,tokenize:ipe,concrete:!0};function ipe(e,t,n){let r=this,i={tokenize:ee,partial:!0},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),o4(t)?v3(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||i4(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(C3,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||i4(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):o4(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),v3(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||i4(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||i4(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&o4(t)?v3(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||i4(t)?e.check(C3,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||i4(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function ee(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),o4(t)?v3(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),o4(t)?v3(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||i4(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function ape(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var T3={name:`codeIndented`,tokenize:spe},ope={tokenize:cpe,partial:!0};function spe(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),v3(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):i4(t)?e.attempt(ope,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||i4(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function cpe(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):i4(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):v3(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):i4(e)?i(e):n(e)}}var lpe={name:`codeText`,tokenize:fpe,resolve:upe,previous:dpe};function upe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function dpe(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function fpe(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):i4(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||i4(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var ppe=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&E3(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),E3(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),E3(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);E3(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);E3(this.left,t.reverse())}}};function E3(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function D3(e){let t={},n=-1,r,i,a,o,s,c,l,u=new ppe(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,mpe(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`);)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);i&&(r[1].end=Object.assign({},u.get(i)[1].start),s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return X4(e,0,1/0,u.slice(0)),!l}function mpe(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var hpe={tokenize:vpe,resolve:_pe},gpe={tokenize:ype,partial:!0};function _pe(e){return D3(e),e}function vpe(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):i4(t)?e.check(gpe,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function ype(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),v3(e,a,`linePrefix`)}function a(i){if(i===null||i4(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function O3(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||n4(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||i4(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||a4(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||n4(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function k3(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):i4(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||i4(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!o4(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function A3(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):i4(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),v3(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||i4(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function j3(e,t){let n;return r;function r(i){return i4(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):o4(i)?v3(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var bpe={name:`definition`,tokenize:Spe},xpe={tokenize:Cpe,partial:!0};function Spe(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return k3.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=m4(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return a4(t)?j3(e,l)(t):l(t)}function l(t){return O3(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(xpe,d,d)(t)}function d(t){return o4(t)?v3(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||i4(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function Cpe(e,t,n){return r;function r(t){return a4(t)?j3(e,i)(t):n(t)}function i(t){return A3(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return o4(t)?v3(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||i4(e)?t(e):n(e)}}var wpe={name:`hardBreakEscape`,tokenize:Tpe};function Tpe(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return i4(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var Epe={name:`headingAtx`,tokenize:Ope,resolve:Dpe};function Dpe(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},X4(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function Ope(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||a4(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||i4(n)?(e.exit(`atxHeading`),t(n)):o4(n)?v3(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||a4(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var kpe=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),M3=[`pre`,`script`,`style`,`textarea`],Ape={name:`htmlFlow`,tokenize:Ppe,resolveTo:Npe,concrete:!0},jpe={tokenize:Ipe,partial:!0},Mpe={tokenize:Fpe,partial:!0};function Npe(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ppe(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:w):e4(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):e4(a)?(e.consume(a),i=4,r.interrupt?t:w):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:w):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:ae:m):n(i)}function h(t){return e4(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||a4(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&M3.includes(l)?(i=1,r.interrupt?t(s):ae(s)):kpe.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):ae(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||t4(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:ae):n(i)}function v(t){return o4(t)?(e.consume(t),v):re(t)}function y(t){return t===47?(e.consume(t),re):t===58||t===95||e4(t)?(e.consume(t),b):o4(t)?(e.consume(t),y):re(t)}function b(t){return t===45||t===46||t===58||t===95||t4(t)?(e.consume(t),b):ee(t)}function ee(t){return t===61?(e.consume(t),x):o4(t)?(e.consume(t),ee):y(t)}function x(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,te):o4(t)?(e.consume(t),x):S(t)}function te(t){return t===c?(e.consume(t),c=null,ne):t===null||i4(t)?n(t):(e.consume(t),te)}function S(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||a4(t)?ee(t):(e.consume(t),S)}function ne(e){return e===47||e===62||o4(e)?y(e):n(e)}function re(t){return t===62?(e.consume(t),ie):n(t)}function ie(t){return t===null||i4(t)?ae(t):o4(t)?(e.consume(t),ie):n(t)}function ae(t){return t===45&&i===2?(e.consume(t),ce):t===60&&i===1?(e.consume(t),le):t===62&&i===4?(e.consume(t),fe):t===63&&i===3?(e.consume(t),w):t===93&&i===5?(e.consume(t),de):i4(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(jpe,T,oe)(t)):t===null||i4(t)?(e.exit(`htmlFlowData`),oe(t)):(e.consume(t),ae)}function oe(t){return e.check(Mpe,C,T)(t)}function C(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),se}function se(t){return t===null||i4(t)?oe(t):(e.enter(`htmlFlowData`),ae(t))}function ce(t){return t===45?(e.consume(t),w):ae(t)}function le(t){return t===47?(e.consume(t),o=``,ue):ae(t)}function ue(t){if(t===62){let n=o.toLowerCase();return M3.includes(n)?(e.consume(t),fe):ae(t)}return e4(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),ue):ae(t)}function de(t){return t===93?(e.consume(t),w):ae(t)}function w(t){return t===62?(e.consume(t),fe):t===45&&i===2?(e.consume(t),w):ae(t)}function fe(t){return t===null||i4(t)?(e.exit(`htmlFlowData`),T(t)):(e.consume(t),fe)}function T(n){return e.exit(`htmlFlow`),t(n)}}function Fpe(e,t,n){let r=this;return i;function i(t){return i4(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Ipe(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(y3,t,n)}}var Lpe={name:`htmlText`,tokenize:Rpe};function Rpe(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),ee):t===63?(e.consume(t),y):e4(t)?(e.consume(t),S):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):e4(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):i4(t)?(o=d,le(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?ce(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):i4(t)?(o=h,le(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?ce(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?ce(t):i4(t)?(o=v,le(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):i4(t)?(o=y,le(t)):(e.consume(t),y)}function b(e){return e===62?ce(e):y(e)}function ee(t){return e4(t)?(e.consume(t),x):n(t)}function x(t){return t===45||t4(t)?(e.consume(t),x):te(t)}function te(t){return i4(t)?(o=te,le(t)):o4(t)?(e.consume(t),te):ce(t)}function S(t){return t===45||t4(t)?(e.consume(t),S):t===47||t===62||a4(t)?ne(t):n(t)}function ne(t){return t===47?(e.consume(t),ce):t===58||t===95||e4(t)?(e.consume(t),re):i4(t)?(o=ne,le(t)):o4(t)?(e.consume(t),ne):ce(t)}function re(t){return t===45||t===46||t===58||t===95||t4(t)?(e.consume(t),re):ie(t)}function ie(t){return t===61?(e.consume(t),ae):i4(t)?(o=ie,le(t)):o4(t)?(e.consume(t),ie):ne(t)}function ae(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,oe):i4(t)?(o=ae,le(t)):o4(t)?(e.consume(t),ae):(e.consume(t),C)}function oe(t){return t===i?(e.consume(t),i=void 0,se):t===null?n(t):i4(t)?(o=oe,le(t)):(e.consume(t),oe)}function C(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||a4(t)?ne(t):(e.consume(t),C)}function se(e){return e===47||e===62||a4(e)?ne(e):n(e)}function ce(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function le(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ue}function ue(t){return o4(t)?v3(e,de,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):de(t)}function de(t){return e.enter(`htmlTextData`),o(t)}}var N3={name:`labelEnd`,tokenize:Wpe,resolveTo:Upe,resolveAll:Hpe},zpe={tokenize:Gpe},Bpe={tokenize:Kpe},Vpe={tokenize:qpe};function Hpe(e){let t=-1;for(;++t<e.length;){let n=e[t][1];(n.type===`labelImage`||n.type===`labelLink`||n.type===`labelEnd`)&&(e.splice(t+1,n.type===`labelImage`?4:2),n.type=`data`,t++)}return e}function Upe(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:`label`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},u={type:`labelText`,start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[[`enter`,c,t],[`enter`,l,t]],s=Z4(s,e.slice(a+1,a+r+3)),s=Z4(s,[[`enter`,u,t]]),s=Z4(s,h3(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Z4(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=Z4(s,e.slice(o+1)),s=Z4(s,[[`exit`,c,t]]),X4(e,a,e.length,s),e}function Wpe(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(m4(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(zpe,u,o?u:d)(t):t===91?e.attempt(Bpe,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Vpe,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function Gpe(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return a4(t)?j3(e,a)(t):a(t)}function a(t){return t===41?u(t):O3(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return a4(t)?j3(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?A3(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return a4(t)?j3(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function Kpe(e,t,n){let r=this;return i;function i(t){return k3.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(m4(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function qpe(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var Jpe={name:`labelStartImage`,tokenize:Ype,resolveAll:N3.resolveAll};function Ype(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Xpe={name:`labelStartLink`,tokenize:Zpe,resolveAll:N3.resolveAll};function Zpe(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var P3={name:`lineEnding`,tokenize:Qpe};function Qpe(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),v3(e,t,`linePrefix`)}}var F3={name:`thematicBreak`,tokenize:$pe};function $pe(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||i4(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),o4(t)?v3(e,s,`whitespace`)(t):s(t))}}var I3={name:`list`,tokenize:nme,continuation:{tokenize:rme},exit:ame},eme={tokenize:ome,partial:!0},tme={tokenize:ime,partial:!0};function nme(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:r4(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(F3,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return r4(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(y3,r.interrupt?n:u,e.attempt(eme,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return o4(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function rme(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(y3,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,v3(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!o4(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(tme,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,v3(e,e.attempt(I3,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function ime(e,t,n){let r=this;return v3(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function ame(e){e.exit(this.containerState.type)}function ome(e,t,n){let r=this;return v3(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!o4(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var L3={name:`setextUnderline`,tokenize:cme,resolveTo:sme};function sme(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push([`exit`,o,t]),e}function cme(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),o4(t)?v3(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||i4(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var lme={tokenize:_me,partial:!0};function ume(){return{document:{91:{tokenize:mme,continuation:{tokenize:hme},exit:gme}},text:{91:{tokenize:pme},93:{add:`after`,tokenize:dme,resolveTo:fme}}}}function dme(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=m4(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function fme(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function pme(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||a4(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(m4(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return a4(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function mme(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||a4(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=m4(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return a4(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),v3(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function hme(e,t,n){return e.check(y3,t,e.attempt(lme,t,n))}function gme(e){e.exit(`gfmFootnoteDefinition`)}function _me(e,t,n){let r=this;return v3(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function vme(e){let t=(e||{}).singleTilde,n={tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&X4(o,o.length,0,h3(s,e.slice(r+1,n),t)),X4(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),X4(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=m3(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=m3(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var yme=class{constructor(){this.map=[]}add(e,t,n){bme(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}};function bme(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function xme(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function Sme(){return{flow:{null:{tokenize:Cme,resolveAll:wme}}}}function Cme(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?x:c;return a===x&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):i4(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):o4(t)?v3(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||a4(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,o4(t)?v3(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):ee(t)}function h(t){return o4(t)?v3(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||i4(t)?b(t):ee(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):ee(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return o4(t)?v3(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||i4(n)?!o||i!==a?ee(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):ee(n)}function ee(e){return n(e)}function x(t){return e.enter(`tableRow`),te(t)}function te(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),te):n===null||i4(n)?(e.exit(`tableRow`),t(n)):o4(n)?v3(e,te,`whitespace`)(n):(e.enter(`data`),S(n))}function S(t){return t===null||t===124||a4(t)?(e.exit(`data`),te(t)):(e.consume(t),t===92?ne:S)}function ne(t){return t===92||t===124?(e.consume(t),S):S(t)}}function wme(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new yme;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(z3(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=R3(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=R3(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=R3(f,t,o,i,n,d)):(o[0]=o[1],d=R3(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&z3(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=xme(t.events,n))}return e}function R3(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},B3(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=B3(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=B3(t.events,n[2]),a=B3(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},B3(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function z3(e,t,n,r,i){let a=[],o=B3(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function B3(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var Tme={tokenize:Dme};function Eme(){return{text:{91:Tme}}}function Dme(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return a4(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return i4(r)?t(r):o4(r)?e.check({tokenize:Ome},t,n)(r):n(r)}}function Ome(e,t,n){return v3(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function kme(e){return $4([zfe(),ume(),vme(e),Sme(),Eme()])}var Ame={};function V3(e){let t=this,n=e||Ame,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(kme(n)),a.push(Nfe()),o.push(Pfe(n))}var jme={tokenize:Mme};function Mme(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),v3(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return i4(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var Nme={tokenize:Pme},H3={tokenize:Fme};function Pme(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return X4(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(H3,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(H3,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{contentType:`flow`,previous:a,_tokenizer:i}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return i4(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},c),e++;X4(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Fme(e,t,n){return v3(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}var Ime={tokenize:Lme};function Lme(e){let t=this,n=e.attempt(y3,r,e.attempt(this.parser.constructs.flowInitial,i,v3(e,e.attempt(this.parser.constructs.flow,i,e.attempt(hpe,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var Rme={resolveAll:W3()},zme=U3(`string`),Bme=U3(`text`);function U3(e){return{tokenize:t,resolveAll:W3(e===`text`?Vme:void 0)};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function W3(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function Vme(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}function Hme(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},a=[],o=[],s=[],c={consume:v,enter:y,exit:b,attempt:te(ee),check:te(x),interrupt:te(x,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:m,defineSkip:h,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=Z4(o,e),g(),o[o.length-1]===null?(S(t,0),l.events=h3(a,l.events,l),l.events):[]}function f(e,t){return Wme(p(e),t)}function p(e){return Ume(o,e)}function m(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:a}}function h(e){i[e.line]=e.column,re()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){i4(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,re()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function ee(e,t){S(e,t.from)}function x(e,t){t.restore()}function te(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=ne(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function S(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&X4(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function ne(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{restore:o,from:i};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,re()}}function re(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Ume(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Wme(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
211
+ `;break;case-3:o=`\r
212
+ `;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}var Gme=tK({attentionMarkers:()=>$me,contentInitial:()=>qme,disable:()=>ehe,document:()=>Kme,flow:()=>Yme,flowInitial:()=>Jme,insideSpan:()=>Qme,string:()=>Xme,text:()=>Zme}),Kme={42:I3,43:I3,45:I3,48:I3,49:I3,50:I3,51:I3,52:I3,53:I3,54:I3,55:I3,56:I3,57:I3,62:b3},qme={91:bpe},Jme={[-2]:T3,[-1]:T3,32:T3},Yme={35:Epe,42:F3,45:[L3,F3],60:Ape,61:L3,95:F3,96:w3,126:w3},Xme={38:S3,92:x3},Zme={[-5]:P3,[-4]:P3,[-3]:P3,33:Jpe,38:S3,42:g3,60:[Xfe,Lpe],91:Xpe,92:[wpe,x3],93:N3,95:g3,96:lpe},Qme={null:[g3,Rme]},$me={null:[42,95]},ehe={null:[]};function the(e){let t={defined:[],lazy:{},constructs:$4([Gme,...(e||{}).extensions||[]]),content:n(jme),document:n(Nme),flow:n(Ime),string:n(zme),text:n(Bme)};return t;function n(e){return n;function n(n){return Hme(t,e,n)}}}function nhe(e){for(;!D3(e););return e}var G3=/[\0\t\n\r]/g;function rhe(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(G3.lastIndex=u,c=G3.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var K3={}.hasOwnProperty;function ihe(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),ahe(n)(nhe(the(n).document().write(rhe()(e,t,!0))))}function ahe(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(De),autolinkProtocol:ne,autolinkEmail:ne,atxHeading:a(Te),blockQuote:a(be),characterEscape:ne,characterReference:ne,codeFenced:a(xe),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(xe,o),codeText:a(Se,o),codeTextData:ne,data:ne,codeFlowValue:ne,definition:a(Ce),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(we),hardBreakEscape:a(E),hardBreakTrailing:a(E),htmlFlow:a(D,o),htmlFlowData:ne,htmlText:a(D,o),htmlTextData:ne,image:a(Ee),label:o,link:a(De),listItem:a(Oe),listItemValue:f,listOrdered:a(O,d),listUnordered:a(O),paragraph:a(k),reference:pe,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Te),strong:a(ke),thematicBreak:a(A)},exit:{atxHeading:c(),atxHeadingSequence:ee,autolink:c(),autolinkEmail:ye,autolinkProtocol:ve,blockQuote:c(),characterEscapeValue:re,characterReferenceMarkerHexadecimal:he,characterReferenceMarkerNumeric:he,characterReferenceValue:ge,characterReference:_e,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:re,codeIndented:c(_),codeText:c(se),codeTextData:re,data:re,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(ae),hardBreakTrailing:c(ae),htmlFlow:c(oe),htmlFlowData:re,htmlText:c(C),htmlTextData:re,image:c(le),label:de,labelText:ue,lineEnding:ie,link:c(ce),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:me,resourceDestinationString:w,resourceTitleString:fe,resource:T,setextHeading:c(S),setextHeadingLineSequence:te,setextHeadingText:x,strong:c(),thematicBreak:c()}};J3(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];K3.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||Y3).call(a,void 0,e[0])}for(r.position={start:q3(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:q3(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:q3(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Y3).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+nQ({start:e.start,end:e.end})+`): it’s not open`);n.position.end=q3(e.end)}function u(){return E4(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=m4(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function ee(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function x(){this.data.setextHeadingSlurpLineEnding=!0}function te(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function ne(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Ae(),n.position={start:q3(e.start),end:void 0},t.push(n)),this.stack.push(n)}function re(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=q3(e.end)}function ie(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=q3(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(ne.call(this,e),re.call(this,e))}function ae(){this.data.atHardBreak=!0}function oe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function C(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function se(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ce(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function le(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ue(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=G4(t),n.identifier=m4(t).toLowerCase()}function de(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function w(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function fe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function T(){this.data.inReference=void 0}function pe(){this.data.referenceType=`collapsed`}function me(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=m4(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function he(e){this.data.characterReferenceType=e.type}function ge(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=W4(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=U4(t);let i=this.stack[this.stack.length-1];i.value+=r}function _e(e){let t=this.stack.pop();t.position.end=q3(e.end)}function ve(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ye(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function be(){return{type:`blockquote`,children:[]}}function xe(){return{type:`code`,lang:null,meta:null,value:``}}function Se(){return{type:`inlineCode`,value:``}}function Ce(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function we(){return{type:`emphasis`,children:[]}}function Te(){return{type:`heading`,depth:0,children:[]}}function E(){return{type:`break`}}function D(){return{type:`html`,value:``}}function Ee(){return{type:`image`,title:null,url:``,alt:null}}function De(){return{type:`link`,title:null,url:``,children:[]}}function O(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Oe(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function k(){return{type:`paragraph`,children:[]}}function ke(){return{type:`strong`,children:[]}}function Ae(){return{type:`text`,value:``}}function A(){return{type:`thematicBreak`}}}function q3(e){return{line:e.line,column:e.column,offset:e.offset}}function J3(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?J3(e,r):ohe(e,r)}}function ohe(e,t){let n;for(n in t)if(K3.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function Y3(e,t){throw e?Error("Cannot close `"+e.type+"` ("+nQ({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+nQ({start:t.start,end:t.end})+`) is open`):Error("Cannot close document, a token (`"+t.type+"`, "+nQ({start:t.start,end:t.end})+`) is still open`)}function X3(e){let t=this;t.parser=n;function n(n){return ihe(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function she(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function che(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
213
+ `}]}function lhe(e,t){let n=t.value?t.value+`
214
+ `:``,r={};t.lang&&(r.className=[`language-`+t.lang]);let i={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:`element`,tagName:`pre`,properties:{},children:[i]},e.patch(t,i),i}function uhe(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function dhe(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fhe(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=p3(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function phe(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mhe(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Z3(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function hhe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Z3(e,t);let i={src:p3(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function ghe(e,t){let n={src:p3(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function _he(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function vhe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Z3(e,t);let i={href:p3(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function yhe(e,t){let n={href:p3(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function bhe(e,t,n){let r=e.all(t),i=n?xhe(n):Q3(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
215
+ `}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
216
+ `});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function xhe(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=Q3(n[r])}return t}function Q3(e){return e.spread??e.children.length>1}function She(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function Che(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function whe(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function The(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ehe(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=F2(t.children[1]),o=P2(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function Dhe(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function Ohe(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var $3=9,e6=32;function khe(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(t6(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(t6(t.slice(i),i>0,!1)),a.join(``)}function t6(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===$3||t===e6;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===$3||t===e6;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function Ahe(e,t){let n={type:`text`,value:khe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function jhe(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var Mhe={blockquote:she,break:che,code:lhe,delete:uhe,emphasis:dhe,footnoteReference:fhe,heading:phe,html:mhe,imageReference:hhe,image:ghe,inlineCode:_he,linkReference:vhe,link:yhe,listItem:bhe,list:She,paragraph:Che,root:whe,strong:The,table:Ehe,tableCell:Ohe,tableRow:Dhe,text:Ahe,thematicBreak:jhe,toml:n6,yaml:n6,definition:n6,footnoteDefinition:n6};function n6(){}function Nhe(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function Phe(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function Fhe(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||Nhe,r=e.options.footnoteBackLabel||Phe,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=p3(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...b2(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
217
+ `},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
218
+ `}]}}var r6={}.hasOwnProperty,Ihe={};function Lhe(e,t){let n=t||Ihe,r=new Map,i=new Map,a={all:s,applyData:zhe,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...Mhe,...n.handlers},one:o,options:n,patch:Rhe,wrap:Vhe};return qG(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(r6.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=b2(n);return r.children=a.all(e),r}return b2(e)}return(a.options.unknownHandler||Bhe)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=i6(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=i6(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function Rhe(e,t){e.position&&(t.position=L2(e))}function zhe(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,b2(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function Bhe(e,t){let n=t.data||{},r=`value`in t&&!(r6.call(n,`hProperties`)||r6.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Vhe(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
219
+ `});++r<e.length;)r&&n.push({type:`text`,value:`
220
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
221
+ `}),n}function i6(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function a6(e,t){let n=Lhe(e,t),r=n.one(e,void 0),i=Fhe(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
222
+ `},i)),a}function o6(e,t){return e&&`run`in e?async function(n,r){let i=a6(n,{file:r,...t});await e.run(i,r)}:function(n,r){return a6(n,{file:r,...e||t})}}function Hhe(e){let t=this;t.compiler=n;function n(n){return hfe(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}var s6=e=>e.type===`heading`&&`depth`in e&&`children`in e,Uhe=(e,...t)=>t=>{!e?.transform||!e?.type||qG(t,e?.type,t=>(e?.transform&&e?.transform(t),WG))},Whe=new Set([`dd`,`dt`,`li`,`p`,`summary`,`td`,`th`]),c6=/[`*_\[~]/,l6=y1().use(X3).use(V3).use(()=>e=>{qG(e,`html`,(e,t,n)=>{typeof t!=`number`||!n||!(`children`in n)||!Array.isArray(n.children)||(n.children[t]={type:`text`,value:e.value??``})})}).use(o6),Ghe=y1().use(RQ,{fragment:!0}),Khe=y1().use(u1),qhe=e=>{let t=l6.runSync(l6.parse(e));if(t.children.length!==1)return[];let n=t.children.at(0);return!n||n.type!==`element`||n.tagName!==`p`?[]:n.children},Jhe=()=>e=>{qG(e,`element`,e=>{Whe.has(e.tagName)&&(e.children=e.children.flatMap(e=>{if(e.type!==`text`||!c6.test(e.value))return[e];let t=qhe(e.value);return t.length?t:[e]}))})},Yhe=()=>e=>{qG(e,`raw`,e=>{if(typeof e.value!=`string`||!c6.test(e.value))return;let t=Ghe.parse(e.value);Jhe()(t),e.value=Khe.stringify(t)})};function Xhe(e,t){let n=t?.removeTags??[],r=[...K2.tagNames??[],...t?.allowTags??[]].filter(e=>!n.includes(e));return y1().use(X3).use(V3).use(Uhe,{transform:t?.transform,type:t?.transformType}).use(o6,{allowDangerousHtml:!0}).use(_le).use(Yhe).use(xue).use(jue,{...K2,clobberPrefix:``,tagNames:r,attributes:{...K2.attributes,abbr:[`title`],"*":[...K2.attributes?.[`*`]??[],`className`]},strip:[`script`,`style`,`object`,`embed`,`form`]}).use(LK,{languages:o2,detect:!0,className:`custom-scroll`}).use(Ole,{target:`_blank`}).use(Qle).use(u1).processSync(e).toString()}function u6(e){return y1().use(X3).use(V3).parse(e)}function Zhe(e,t=1){let n=u6(e),r=[];return qG(n,`heading`,e=>{let n=d6(e);n&&r.push({depth:e.depth??t,value:n})}),r}function d6(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>d6(e)).join(``):``}function Qhe(e){let t=u6(e),n=[],r=[];return t.children?.forEach(e=>{e.type===`heading`?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>$he(e))}function $he(e){return y1().use(Hhe).use(V3).stringify({type:`root`,children:e}).trim()}var ege=[`innerHTML`],f6=w({inheritAttrs:!1,__name:`ScalarMarkdown`,props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){let{cx:n}=ac();t({el:Oe(`div`)});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!s6(t))return t;let n=d6(t).toLowerCase().replace(/\s+/g,`-`);return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform?e.transform(t):t},i=j(()=>Xhe(e.value??``,{removeTags:e.withImages?[]:[`img`,`picture`],transform:e.withAnchors&&e.transformType===`heading`?r:e.transform,transformType:e.transformType}));return(t,r)=>(y(),M(`div`,o({ref:`div`},T(n)(`markdown`,{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:i.value}),null,16,ege))}}),tge=[`aria-controls`,`aria-expanded`],p6=w({inheritAttrs:!1,__name:`ScalarMarkdownSummary`,props:Ie({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{},truncated:{type:Boolean,default:!1},truncatedModifiers:{}}),emits:[`update:modelValue`,`update:truncated`],setup(e){let t=je(e,[`clamp`]),n=xe(),r=le(e,`modelValue`),i=le(e,`truncated`),a=Oe(`scalar-markdown`);ZH(()=>a.value?.el,s);function s(){let e=a.value?.el;e&&(i.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}ue(s);let{cx:c}=ac();return(a,s)=>(y(),M(`div`,qe($e(T(c)(`group/summary flex gap-0.5`,r.value?`flex-col`:`flex-row items-baseline`))),[D(f6,o(t,{id:T(n),ref:`scalar-markdown`,clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,[`id`,`clamp`,`class`]),!e.controlled&&(i.value||r.value)?(y(),M(`button`,{key:0,"aria-controls":T(n),"aria-expanded":r.value,class:v([`whitespace-nowrap font-medium hover:underline`,{"self-end":r.value}]),type:`button`,onClick:s[0]||=e=>r.value=!r.value},[S(a.$slots,`button`,{open:r.value},()=>[tt(be(r.value?` Show Less`:`More`),1)])],10,tge)):k(``,!0)],16))}}),nge=w({inheritAttrs:!1,__name:`ScalarPopover`,props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){let{cx:t}=ac();return(n,r)=>(y(),O(T(ba),{as:`template`},{default:E(({open:r})=>[D(T(sH),qe($e(n.$props)),{floating:E(({width:i,height:a})=>[D(T(Sa),o({focus:e.focus,style:{width:i,height:a}},T(t)(`relative flex flex-col p-0.75`)),{default:E(({close:e})=>[S(n.$slots,`popover`,{close:()=>e(),open:r}),S(n.$slots,`backdrop`,{open:r},()=>[D(T(cH))])]),_:2},1040,[`focus`,`style`])]),default:E(()=>[D(T(xa),{as:`template`},{default:E(()=>[S(n.$slots,`default`,{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}}),rge=[`aria-disabled`],ige={key:0,class:`sr-only`},m6=w({inheritAttrs:!1,__name:`ScalarIconButton`,props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:`ghost`},size:{default:`md`},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){let t=rc({base:`scalar-icon-button grid aspect-square cursor-pointer rounded`,variants:{size:{xxs:`size-3.5 p-0.5`,xs:`size-5 p-1`,sm:`size-6 p-1`,md:`size-10 p-3`,full:`size-full`},disabled:{true:`cursor-not-allowed shadow-none`},variant:kz},compoundVariants:[{size:`md`,variant:`ghost`,class:`size-8 p-2 m-1 -outline-offset-2 rounded-lg`}]}),{cx:n}=ac(),r=Oe(`ref`);return cG({content:j(()=>e.label),offset:j(()=>e.variant===`ghost`?0:4),placement:j(()=>typeof e.tooltip==`boolean`?void 0:e.tooltip),targetRef:j(()=>e.tooltip?r.value:void 0)}),(r,i)=>(y(),M(`button`,o({ref:`ref`,"aria-disabled":e.disabled,type:`button`},T(n)(T(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[D(T(Ez),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,[`icon`,`thickness`,`weight`]),e.tooltip?k(``,!0):(y(),M(`span`,ige,be(e.label),1))],16,rge))}}),h6=w({name:`ValueEmitter`,props:{value:{}},emits:[`change`,`unmount`],setup(e,{emit:t}){let n=t;return Xe(()=>e.value,e=>n(`change`,e),{immediate:!0}),se(()=>n(`unmount`)),(e,t)=>null}}),age=[`aria-labelledby`],oge={class:`text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]`},sge=[`id`],cge={key:0,class:`sr-only`},lge={key:0,class:`bg-b-2 text-c-2 inline-flex h-5 w-5 items-center justify-center rounded-full border text-xs font-semibold`},uge={class:`sr-only`},dge={key:0,class:`ui-not-open:hidden flex items-center gap-2 pr-0.75`},g6=w({name:`CollapsibleSection`,props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=xe();return(t,i)=>(y(),O(T(Ji),{as:`div`,class:v([`group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0`,{"last-of-type:first-of-type:border-b-0":e.isStatic,"border-b":!e.isStatic}]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:E(({open:a})=>[D(h6,{value:a,onChange:i[0]||=e=>n(`update:modelValue`,e)},null,8,[`value`]),N(`section`,{"aria-labelledby":T(r),class:`contents`},[N(`div`,{class:v([`bg-b-2 flex items-center`,e.isStatic&&`rounded-t-xl border-x border-t`])},[D(T(Yi),{class:v([`hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2`,e.isStatic&&`!pl-3`]),disabled:e.isStatic},{default:E(()=>[e.isStatic?k(``,!0):(y(),O(T(Tz),{key:0,class:`text-c-3 group-hover:text-c-1 rounded-px ui-open:rotate-90 ui-not-open:rotate-0 outline-offset-2 group-focus-visible:outline`,icon:`ChevronRight`,size:`md`})),N(`h2`,oge,[N(`span`,{id:T(r),class:`contents`},[S(t.$slots,`title`,{open:a}),a?k(``,!0):(y(),M(`span`,cge,` (Collapsed) `))],8,sge),!a&&e.itemCount?(y(),M(`span`,lge,[tt(be(e.itemCount)+` `,1),N(`span`,uge,`Item`+be(e.itemCount===1?``:`s`),1)])):k(``,!0)])]),_:2},1032,[`class`,`disabled`]),t.$slots.actions?(y(),M(`div`,dge,[S(t.$slots,`actions`,{open:a})])):k(``,!0)],2),D(T(Xi),o(t.$attrs,{class:`diclosure-panel h-full max-h-fit rounded-b`}),{default:E(()=>[S(t.$slots,`default`,{open:a})]),_:2},1040)],8,age)]),_:3},8,[`class`,`defaultOpen`,`static`]))}}),fge=w({__name:`ScalarListboxItem`,props:{option:{},multiselect:{type:Boolean}},setup(e){let t=rc({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`},disabled:{true:`pointer-events-none opacity-50`}}});return(n,r)=>(y(),O(T(fa),{as:`template`,disabled:e.option.disabled,value:e.option},{default:E(({active:n,selected:r})=>[N(`li`,{class:v(T(ic)(T(t)({active:n,selected:r,disabled:e.option.disabled})))},[D(Fz,{multiselect:e.multiselect,selected:r},null,8,[`multiselect`,`selected`]),N(`span`,{class:v([`inline-block min-w-0 flex-1 truncate`,e.option.color?e.option.color:`text-c-1`])},be(e.option.label),3)],2)]),_:1},8,[`disabled`,`value`]))}}),pge={class:`custom-scroll min-h-0 flex-1`},_6=w({inheritAttrs:!1,__name:`ScalarListbox`,props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:[`update:modelValue`],setup(e){let{cx:t}=ac();return(n,r)=>(y(),O(T(ca),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>n.$emit(`update:modelValue`,e)},{default:E(({open:r})=>[e.label?(y(),O(T(la),{key:0,class:`sr-only`},{default:E(()=>[tt(be(e.label),1)]),_:1})):k(``,!0),D(T(sH),o(n.$props,{placement:e.placement??`bottom-start`}),{floating:E(({width:n})=>[r?(y(),M(`div`,o({key:0,style:{width:n}},T(t)(`relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm`)),[N(`div`,pge,[D(T(da),{class:`flex flex-col gap-0.75 p-0.75 -outline-offset-1`},{default:E(()=>[(y(!0),M(Ne,null,_(e.options,t=>(y(),O(fge,{key:t.id,multiselect:e.multiple,option:t},null,8,[`multiselect`,`option`]))),128))]),_:1})]),D(T(cH))],16)):k(``,!0)]),default:E(()=>[D(T(ua),{id:e.id,as:`template`},{default:E(()=>[S(n.$slots,`default`,{open:r})]),_:2},1032,[`id`])]),_:2},1040,[`placement`])]),_:3},8,[`modelValue`,`multiple`]))}}),mge=`shell/curl`,v6=e=>gT.includes(e),hge=e=>v6(e)||typeof e==`string`&&e.startsWith(`custom/`),gge=(e,t)=>{let n=t=>{for(let n of e){let e=n.options.find(e=>e.id===t);if(e)return e}},r=e.find(e=>e.key===`custom`)?.options[0];if(t?.startsWith(`custom`))return n(t)??r??n(`shell/curl`)??e[0]?.options[0];if(t){let e=n(t);if(e)return e}return r||(n(`shell/curl`)??e[0]?.options[0])},y6=(e,t)=>Object.entries(e??{}).map(([e,n])=>({lang:e,source:n,...t?{label:t}:{}})),_ge=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>y6(e.request,e.title)):[],vge=e=>(e??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}})),b6=`SDK`,x6=`Code Examples`,yge=e=>{let t=e[`x-scalar-examples`]??[];if(t.length)return{label:b6,samples:t};let n=y6(e[`x-stainless-snippets`]);if(n.length)return{label:b6,samples:n};let r=_ge(e[`x-stainless-examples`]);if(r.length)return{label:b6,samples:r};let i=vge(e[`x-readme`]?.[`code-samples`]);return i.length?{label:x6,samples:i}:{label:x6,samples:[`x-custom-examples`,`x-codeSamples`,`x-code-samples`].flatMap(t=>e[t]??[])}},bge=(e=``)=>(e[0]?.toUpperCase()??``)+e.slice(1),xge={c:`C`,clojure:`Clojure`,cpp:`C++`,"c++":`C++`,csharp:`C#`,"c#":`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,fsharp:`F#`,"f#":`F#`,go:`Go`,golang:`Go`,graphql:`GraphQL`,html:`HTML`,http:`HTTP`,java:`Java`,javascript:`JavaScript`,js:`JavaScript`,json:`JSON`,kotlin:`Kotlin`,node:`Node.js`,nodejs:`Node.js`,objc:`Objective-C`,"objective-c":`Objective-C`,ocaml:`OCaml`,php:`PHP`,powershell:`PowerShell`,py:`Python`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,sh:`Shell`,shell:`Shell`,bash:`Shell`,sql:`SQL`,swift:`Swift`,ts:`TypeScript`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`,yml:`YAML`},Sge=e=>{if(e)return xge[e.toLowerCase()]??bge(e)},Cge=(e,t,n=x6)=>{if(e.length){let r=ck(e);return[{label:n,key:`custom`,options:e.map((e,t)=>{let n=r[t]??`custom/${t}`,i=e.label||Sge(e.lang)||n;return{id:n,lang:e.lang||`plaintext`,title:i,label:i,clientKey:`custom`}})},...t]}return t},wge=e=>e.flatMap(e=>e.type===`apiKey`?e[`x-scalar-secret-token`]:e?.type===`http`?[e[`x-scalar-secret-token`],e[`x-scalar-secret-username`],e[`x-scalar-secret-password`],pw(`${e[`x-scalar-secret-username`]}:${e[`x-scalar-secret-password`]}`)]:e.type===`oauth2`?Object.values(e.flows).map(e=>e[`x-scalar-secret-token`]):[]).filter(Boolean),S6=typeof OVERRIDE_PACKAGE_VERSION<`u`?OVERRIDE_PACKAGE_VERSION:`3.11.0`,C6=e=>{let t=new WeakSet,n=new WeakMap,r=e=>{if(!uc(e)&&!Array.isArray(e))return e;let i=Lc(e,{depth:1});if(n.has(i))return n.get(i);if(t.has(i))return`[circular]`;if(t.add(i),`$ref`in e){let t=r(L(e));return n.set(i,t),t}if(Array.isArray(e)){let t=e.map(r);return n.set(i,t),t}let a=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return n.set(i,a),a};return r(e)},Tge={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&apos;`};function w6(e){return e.replace(/[&<>"']/g,e=>Tge[e]??e)}function T6(e,t={}){let{indent:n=` `,format:r=!0,xmlDeclaration:i=!0}=t,a=(e,t,r)=>{let i=``;if(Array.isArray(e))for(let n=0,o=e.length;n<o;n++)i+=a(e[n],t,r);else if(typeof e==`object`&&e){let o=!1,s=``,c=``;for(let t in e)t.charAt(0)===`@`&&(s+=` `+t.substr(1)+`="`+w6(e[t].toString())+`"`);for(let t in e)if(t===`#text`)c+=w6(e[t]?.toString()??``);else if(t===`#cdata`){let n=e[t]?.toString()??``;c+=`<![CDATA[`+n.replace(/]]>/g,`]]]]><![CDATA[>`)+`]]>`}else t.charAt(0)!==`@`&&(o=!0,c+=a(e[t],t,r+n));o||c?(i+=r+`<`+t+s+`>
223
+ `,i+=c,i+=r+`</`+t+`>
224
+ `):i+=r+`<`+t+s+`/>
225
+ `}else i+=r+`<`+t+`>`+w6(e?.toString()||``)+`</`+t+`>
226
+ `;return i},o=``;i&&(o+=`<?xml version="1.0" encoding="UTF-8"?>`,r&&(o+=`
227
+ `));for(let t in e)Object.hasOwn(e,t)&&(o+=a(e[t],t,``));return r?o.trim():o.replace(/\n/g,``).replace(/>\s+</g,`><`).trim()}var E6=(e,t,n,r=!1)=>{let i=[],a=Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[String(e.name),e.value]):Object.entries(e);for(let[e,o]of a){if(o==null)continue;let a=n?void 0:t?.[e],s=a&&(a.style!==void 0||a.explode!==void 0||a.allowReserved!==void 0),c=s||!r?void 0:a?.contentType,l=n?null:qC(e,o,a);if(l)for(let e of l)i.push({name:e.key,value:e.value});else if(o instanceof File){let t=Lc(o);i.push({name:e,value:`@${t.name}`,...c?{contentType:c}:{}})}else if(c&&typeof o==`object`)i.push({name:e,value:JSON.stringify(Lc(o)),contentType:c});else if(r&&!n&&!s&&typeof o==`object`&&!Array.isArray(o))i.push({name:e,value:JSON.stringify(Lc(o)),contentType:`application/json`});else if(Array.isArray(o))for(let t of o)if(t instanceof File){let n=Lc(t);i.push({name:e,value:`@${n.name}`})}else r&&!n&&!s&&typeof t==`object`&&t?i.push({name:e,value:JSON.stringify(Lc(t)),contentType:`application/json`}):i.push({name:e,value:String(t)});else if(typeof o==`object`){let t=E6(o,void 0,e);for(let n of t)i.push({name:`${e}.${n.name}`,value:n.value})}else i.push({name:e,value:String(o),...c?{contentType:c}:{}})}return i},Ege=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{let i=t||Object.keys(e.content)[0]||``,a=i===`other`?``:i,o=e=>`@${Lc(e).name||`filename`}`,s=e.content[i]?.encoding,c=i===`multipart/form-data`||i===`application/x-www-form-urlencoded`,l=i===`application/xml`,u=zc(e,n,t)?.value;if(u!==void 0){let e=typeof u==`object`&&u?Lc(u):u;return c&&typeof e==`object`&&e?{mimeType:a,params:E6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:T6(e)}:e instanceof File?{mimeType:a,text:o(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}let d=L(e.content[i]?.schema);if(d!==void 0){let e=RC(C6(d),{compositionSelection:r,mode:`write`,xml:l},{schemaPath:[`requestBody`]});if(e!==void 0)return c&&typeof e==`object`&&e?{mimeType:a,params:E6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:T6(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}},Dge=e=>(e??[]).map(e=>L(e)),Oge=e=>`allowReserved`in e&&e.allowReserved!==void 0?e.allowReserved:`schema`in e&&e.schema&&typeof e.schema==`object`&&`allowReserved`in e.schema?e.schema.allowReserved===!0:!1,D6=(e,t)=>Oge(t)?e:encodeURIComponent(e),kge=e=>{if(e.in===`header`)return{style:`simple`,explode:`explode`in e&&e.explode!==void 0?e.explode:!1};if(e.in===`cookie`)return{style:`form`,explode:`explode`in e&&e.explode!==void 0?e.explode:!0};let t={path:`simple`,query:`form`,header:`simple`,cookie:`form`}[e.in],n=`style`in e&&e.style?e.style:t;return{style:n,explode:`explode`in e&&e.explode!==void 0?e.explode:n===`form`}},Age=(e,t,n,r)=>{let i=zc(e,t,n);if(sc(e,i,r))return;if(i?.value!==void 0)return zw(i.value,e);if(!(`schema`in e)||!e.schema)return;let a=e.in===`path`?{emptyString:`{${e.name}}`}:{};return RC(L(e.schema),a)},jge=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let i=[...e.headers],a=[...e.queryString],o=e.url,s=Dge(t);for(let t of s){if(!t.in||!t.name)continue;let s=Age(t,n,void 0,r);if(s===void 0)continue;let{style:c,explode:l}=kge(t);switch(t.in){case`path`:o=Mge(o,t,s,c,l);break;case`query`:if(`content`in t&&t.content){let e=zC(s,Object.keys(t.content)[0]??`application/json`);a.push({name:t.name,value:D6(e,t)});break}switch(c){case`form`:{let e=VC(s,l);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:D6(String(n.value),t)})}else a.push({name:t.name,value:D6(String(e),t)});break}case`spaceDelimited`:{let e=UC(s);a.push({name:t.name,value:D6(e,t)});break}case`pipeDelimited`:{let e=WC(s);a.push({name:t.name,value:D6(e,t)});break}case`deepObject`:if(Array.isArray(s)){let e=VC(s,!0);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:D6(String(n.value),t)})}else a.push({name:t.name,value:D6(String(e),t)})}else{let e=GC(t.name,s);for(let n of e)a.push({name:n.key,value:D6(n.value,t)})}break;default:a.push({name:t.name,value:D6(String(s),t)})}break;case`header`:{let e=BC(s,l);i.push({name:t.name,value:String(e)});break}case`cookie`:{let n=HC(s,l);if(Array.isArray(n))for(let r of n){let n=r.key||t.name,i=r.value===null?`null`:String(r.value);e.cookies.push({name:n,value:i})}else{let r=n===null?`null`:String(n);e.cookies.push({name:t.name,value:r})}break}}}return{url:o,headers:i,queryString:a,cookies:e.cookies}},Mge=(e,t,n,r,i)=>{switch(r){case`matrix`:if(i){if(Array.isArray(n)){let r=n.map(e=>`${t.name}=${e}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case`label`:if(i){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`.`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`.`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`);case`simple`:{let r=BC(n,i);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(n))}},Nge=e=>{let t={headers:[],queryString:[],cookies:[]};for(let n of e){if(n.type===`apiKey`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;if(!n.name)continue;let r={name:n.name,value:e};switch(n.in){case`header`:t.headers.push(r);break;case`query`:t.queryString.push(r);break;case`cookie`:t.cookies.push(r);break}continue}if(n.type===`http`){if(n.scheme===`basic`){let e=`${n[`x-scalar-secret-username`]||``}:${n[`x-scalar-secret-password`]||``}`,r=e===`:`?`username:password`:pw(e);t.headers.push({name:`Authorization`,value:`Basic ${r}`})}else if(n.scheme===`bearer`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}continue}if(n.type===`oauth2`&&n.flows){let e=Object.values(n.flows).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}}return t},Pge=(e,t)=>{if(!e?.url)return t;let n=e.url;return e.variables?mo(JC(n,Object.entries(e.variables).reduce((e,[t,n])=>(n.default!==void 0&&(e[t]=n.default),e),{})),t):mo(n,t)},O6=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:i,server:a=null,example:o,securitySchemes:s,globalCookies:c,requestBodyCompositionSelection:l,defaultDisabledParameters:u=!1})=>{let d=Rse(e?Kw({method:r,operation:t,exampleName:o??`default`,hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:yo(),appVersion:S6}}):{}),f=t[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[o??`default`]??{},p={method:r,url:Pge(a,i),headers:Object.entries(d).map(([e,t])=>({name:e,value:t})),queryString:[],postData:void 0,httpVersion:`HTTP/1.1`,cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:e,headers:n,queryString:r,cookies:i}=jge({harRequest:p,parameters:t.parameters,example:o,defaultDisabled:u}),a=c?.filter(t=>mw({cookie:t,url:e,disabledGlobalCookies:f}))?.map(e=>({name:e.name,value:e.value}))??[];p.url=e,p.headers=n,p.queryString=r,p.cookies=[...a,...i]}let m=L(t.requestBody);if(m?.content){let e=Ege({requestBody:m,contentType:n,example:o,requestBodyCompositionSelection:l});if(e&&(p.postData=e,p.bodySize=e.text?.length??-1,e.mimeType)){let t=p.headers.find(e=>e.name.toLowerCase()===`content-type`);t&&!t.value?t.value=e.mimeType:t||p.headers.push({name:`Content-Type`,value:e.mimeType})}}if(s){let{headers:e,queryString:t,cookies:n}=Nge(s);p.headers.push(...e),p.queryString.push(...t),p.cookies.push(...n)}let h=0;for(let e of p.headers)h+=(e.name?.length??0)+2+(e.value?.length??0)+2;return p.headersSize=h,p},k6=`ws://replace.me`,Fge=(e,t,n)=>{try{if(!n.url)return[Error(`Please enter a URL to see a code snippet`),null];let r=n.url.startsWith(`/`)?``:`/`;try{new URL(n.url)}catch{n.url=`${k6}${r}${n.url}`}if(n.postData?.mimeType===`application/json`)try{JSON.parse(n.postData.text||`{}`)}catch(e){return console.error(`[getSnippet] Invalid JSON body`,e),[Error(`Invalid JSON body`),null]}let i=e.replace(`javascript`,`js`);if(sk().hasPlugin(i,t)){let e=sk().print(i,t,n);return e?[null,e.replace(`${k6}${r}`,``)]:[Error(`Error generating snippet`),null]}}catch(e){return console.error(`[getSnippet] Error generating snippet`,e),[Error(`Error generating snippet`),null]}return[Error(`No snippet found`),null]},Ige=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:i,path:a,example:o,contentType:s,server:c,securitySchemes:l,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:f})=>{try{if(!e)return``;if(e.startsWith(`custom`))return t[ck(t).indexOf(e)]?.source??`Custom example not found`;let p=O6({operation:r,contentType:s,method:i,path:a,server:c,securitySchemes:l,example:o,globalCookies:u,includeDefaultHeaders:n,requestBodyCompositionSelection:d,defaultDisabledParameters:f}),[m,h]=e.split(`/`),[g,_]=Fge(m,h,p);return g?(console.error(`[generateCodeSnippet]`,g),g.message??`Error generating code snippet`):_}catch(e){return console.error(`[generateCodeSnippet]`,e),`Error generating code snippet`}},A6=w({inheritAttrs:!1,__name:`ScalarCopyBackdrop`,setup(e){let{cx:t}=ac();return(e,n)=>(y(),M(`div`,qe($e(T(t)(`absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded`))),null,16))}}),Lge={"aria-hidden":`true`,class:`flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%`},Rge={key:0,class:`whitespace-nowrap px-1.5`},zge={key:0,class:`sr-only`,role:`alert`},Bge={key:1,class:`sr-only`},j6=w({inheritAttrs:!1,__name:`ScalarCopyButton`,props:Ie({showLabel:{type:Boolean},placement:{default:`right`}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=le(e,`copied`),{cx:n}=ac(),r=j(()=>t.value?to:no);return(i,a)=>(y(),M(`button`,o({type:`button`},T(n)(`group/copy-button relative z-0 flex items-center justify-center`,`size-6 p-1.25 -m-1 rounded text-xs bg-b-2`,t.value?`text-c-1`:`text-c-2 hover:text-c-1`)),[D(At,{enterActiveClass:`transition-transform`,enterFromClass:`scale-0`,enterToClass:`scale-100`,leaveActiveClass:`transition-transform`,leaveFromClass:`scale-100`,leaveToClass:`scale-0`,mode:`out-in`},{default:E(()=>[(y(),O(x(r.value),{class:`size-full`}))]),_:1}),a[4]||=N(`div`,{class:`bg-inherit rounded-[inherit] absolute inset-0 -z-1`},null,-1),N(`div`,{class:v([`group/copy-label absolute flex items-center -inset-y-0.5 rounded`,{"left-0 pl-[100%]":e.placement===`right`,"right-0 pr-[100%]":e.placement===`left`}])},[N(`div`,Lge,[D(At,{enterActiveClass:`transition-transform ease-out`,enterFromClass:`translate-y-1.5`,enterToClass:`translate-y-0`,leaveActiveClass:`transition-transform ease-in`,leaveFromClass:`translate-y-0`,leaveToClass:`-translate-y-1.5`,mode:`out-in`},{default:E(()=>[t.value?(y(),M(`div`,Rge,[S(i.$slots,`copied`,{},()=>[a[0]||=tt(`Copied`,-1)])])):(y(),M(`div`,{key:1,class:v([`whitespace-nowrap px-1.5`,{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[S(i.$slots,`copy`,{},()=>[a[1]||=tt(`Copy`,-1)])],2))]),_:3})]),t.value?(y(),M(`div`,zge,[S(i.$slots,`copied`,{},()=>[a[2]||=tt(`Copied`,-1)])])):(y(),M(`div`,Bge,[S(i.$slots,`copy`,{},()=>[a[3]||=tt(`Copy`,-1)])])),S(i.$slots,`backdrop`,{},()=>[D(A6)])],2)],16))}}),Vge=w({__name:`ScalarCopy`,props:Ie({content:{default:``},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=le(e,`copied`);ue(()=>{e.immediate&&n(e.content)});let{copy:n,copied:r}=XH({legacy:!0,copiedDuring:e.duration});return Xe(r,e=>t.value=e),(i,a)=>(y(),O(j6,{copied:t.value||T(r),placement:e.placement,showLabel:e.showLabel,onClick:a[0]||=t=>T(n)(e.content)},Ce({_:2},[i.$slots.copy?{name:`copy`,fn:E(()=>[S(i.$slots,`copy`)]),key:`0`}:void 0,i.$slots.copied?{name:`copied`,fn:E(()=>[S(i.$slots,`copied`)]),key:`1`}:void 0,i.$slots.backdrop?{name:`backdrop`,fn:E(()=>[S(i.$slots,`backdrop`)]),key:`2`}:void 0]),1032,[`copied`,`placement`,`showLabel`]))}}),M6={bash:`Bash`,c:`C`,clojure:`Clojure`,cpp:`C++`,csharp:`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,diff:`Diff`,docker:`Docker`,dockerfile:`Dockerfile`,elixir:`Elixir`,fsharp:`F#`,go:`Go`,graphql:`GraphQL`,haskell:`Haskell`,html:`HTML`,http:`HTTP`,ini:`INI`,java:`Java`,javascript:`JavaScript`,json:`JSON`,kotlin:`Kotlin`,less:`Less`,lua:`Lua`,makefile:`Makefile`,markdown:`Markdown`,matlab:`MATLAB`,nginx:`Nginx`,objectivec:`Objective-C`,ocaml:`OCaml`,perl:`Perl`,php:`PHP`,plaintext:`Plain Text`,powershell:`PowerShell`,properties:`Properties`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,scss:`SCSS`,shell:`Shell`,sql:`SQL`,swift:`Swift`,toml:`TOML`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`},Hge={class:`hidden group-hocus-within/code-block:inline`},N6=w({inheritAttrs:!1,__name:`ScalarCodeBlockCopy`,props:Ie({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=le(e,`copied`),n=j(()=>typeof e.content==`string`?e.content:JSON.stringify(e.content,null,2)),r=e=>e in M6,{cx:i}=ac();return(a,s)=>(y(),O(T(Vge),o({content:n.value,showLabel:``,copied:t.value,"onUpdate:copied":s[0]||=e=>t.value=e,placement:`left`},{...T(i)(t.value?`opacity-100`:`opacity-0 group-hocus-within/code-block:opacity-100`)}),Ce({backdrop:E(()=>[S(a.$slots,`backdrop`)]),_:2},[e.lang?{name:`copy`,fn:E(()=>[N(`span`,Hge,[e.showLang?(y(),M(`span`,{key:0,class:v([`group-hocus/copy-button:sr-only`,{capitalize:!r(e.lang)}])},be(r(e.lang)?T(M6)[e.lang]:e.lang),3)):k(``,!0),N(`span`,{class:v({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},`Copy`,2)])]),key:`0`}:void 0]),1040,[`content`,`copied`]))}}),P6=e=>{if(typeof e==`string`)try{let t=JSON.parse(e);return typeof t==`object`&&t?JSON.stringify(t,null,2):e}catch{return e}return typeof e==`object`?Uge(e):e?.toString()??``};function Uge(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(typeof n==`object`&&n){if(t.has(n))return`[Circular]`;t.add(n)}return n},2)}var Wge={tabindex:`0`,class:`custom-scroll overflow-x-auto p-2 -outline-offset-2 min-h-0 min-w-0 flex-1`},Gge=[`id`,`innerHTML`],Kge=w({inheritAttrs:!1,__name:`ScalarCodeBlock`,props:{content:{},prettyPrintedContent:{},lang:{default:`plaintext`},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:`hover`}},setup(e){let t=xe(),n=j(()=>e.prettyPrintedContent||P6(e.content??``)),r=j(()=>mle(n.value,{lang:e.lang.trim(),languages:o2,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),i=j(()=>!n.value.includes(`
228
+ `)),a=j(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),{cx:o}=ac();return(s,c)=>(y(),M(`div`,qe($e(T(o)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[N(`div`,Wge,[N(`pre`,{id:T(t),class:`m-0 bg-transparent text-nowrap whitespace-pre w-fit`,innerHTML:r.value},null,8,Gge)]),e.copy&&a.value?(y(),O(T(N6),{key:0,class:v([`scalar-code-copy absolute`,[i.value?`top-1/2 -translate-y-1/2 m-0 right-1`:`top-2.5 right-2.5`,{"opacity-100":e.copy===`always`}]]),content:n.value,showLang:!i.value,lang:e.lang,"aria-controls":T(t)},{backdrop:E(()=>[D(A6,{class:v([`scalar-code-copy-backdrop`,[i.value?`-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3`:`-right-1.5 -top-1`]])},null,8,[`class`])]),_:1},8,[`class`,`content`,`showLang`,`lang`,`aria-controls`])):k(``,!0)],16))}}),qge={key:1,class:`rounded border bg-b-2 p-3 text-sm`},Jge={key:0,class:`mt-2 rounded border bg-b-1 p-2 font-code text-c-2`},Yge=w({__name:`ScalarErrorBoundary`,setup(e){let t=A(!1),n=A();return re((e,r,i)=>(console.error(`[ERROR]`,e,i),t.value=!0,n.value=e,!1)),(e,r)=>t.value?(y(),M(`div`,qge,[r[0]||=N(`div`,{class:`p-2`},`Oops, something went wrong here.`,-1),n.value?(y(),M(`div`,Jge,be(n.value?.name)+`: `+be(n.value?.message),1)):k(``,!0)])):S(e.$slots,`default`,{key:0})}});function Xge(e,t){return t.reduce((e,t)=>{if(e!=null)return e[t]},e)}var Zge={key:0,class:`close-button z-10 fixed right-2 top-2`},Qge={};function F6(){return Be({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var I6=uk(w({...Qge,__name:`ScalarModal`,props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:`md`},variant:{}},emits:[`close`],setup(e,{emit:t}){let n=t,r=rc({base:[`scalar-modal`,`flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]`].join(` `),variants:{size:{xxs:`mt-[20svh] max-h-[60svh] max-w-[360px]`,xs:`mt-[20svh] max-h-[60svh] max-w-[480px]`,sm:`mt-[20svh] max-h-[60svh] max-w-[540px]`,md:`mt-[20svh] max-h-[60svh] max-w-[640px]`,lg:`m-auto max-h-[80svh] max-w-[800px]`,xl:`m-auto max-h-[90svh] max-w-[1000px]`,full:`full-size-styles max-h-dvh mt-0 lg:w-full`},variant:{form:`scalar-modal-form`,search:`scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]`,error:`scalar-modal-error`}}}),i=rc({base:[`scalar-modal-body`,`relative flex-1 min-h-0 p-3`].join(` `),variants:{variant:{form:`overflow-visible`,search:`flex flex-col !m-0 overflow-hidden p-0`,error:`overflow-y-scroll`},size:{xxs:``,xs:``,sm:``,md:``,lg:``,xl:`m-0 p-0`,full:` rounded-none`}}});return(t,a)=>(y(),O(T(Bi),{open:e.state.open,onClose:a[1]||=()=>{e.state.hide(),n(`close`)}},{default:E(()=>[N(`div`,{class:v(T(ic)(e.size===`full`?`scalar-modal-layout-full`:`scalar-modal-layout`,`fixed left-0 top-0 flex items-start justify-center`,`z-overlay h-dvh w-dvw`,`bg-backdrop opacity-0 dark:bg-backdrop-dark`,e.size===`full`&&`flex`))},[D(T(Vi),{class:v(T(r)({size:e.size,variant:e.variant})),style:te({maxWidth:e.maxWidth})},{default:E(()=>[e.title?(y(),O(T(Hi),{key:0,class:`scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1`},{default:E(()=>[tt(be(e.title),1)]),_:1})):k(``,!0),e.size===`full`?(y(),M(`div`,{key:1,class:v(e.bodyClass)},[S(t.$slots,`default`,{},void 0,!0)],2)):(y(),M(`div`,{key:2,class:v(T(ic)(T(i)({size:e.size,variant:e.variant}),e.bodyClass))},[S(t.$slots,`default`,{},void 0,!0)],2))]),_:3},8,[`class`,`style`]),e.size===`full`?(y(),M(`div`,Zge,[D(T(m6),{class:`hover:bg-b-3 focus:outline-none`,icon:T(co),label:`Close modal`,onClick:a[0]||=t=>e.state.hide()},null,8,[`icon`])])):k(``,!0)],2)]),_:3},8,[`open`]))}}),[[`__scopeId`,`data-v-5bb1dcc2`]]),$ge={class:`text-c-2 mb-4 text-sm leading-normal`},e_e={class:`flex justify-between gap-2`},t_e=w({__name:`DeleteRequestAuthModal`,props:{state:{},label:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=t,r=()=>{n(`delete`)};return(t,i)=>(y(),O(T(I6),{size:`xxs`,state:e.state,title:`Delete Security Scheme`},{default:E(()=>[N(`p`,$ge,` This cannot be undone. You're about to delete the `+be(e.label)+` security scheme from the collection. `,1),N(`div`,e_e,[D(T(jz),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`button`,variant:`outlined`,onClick:i[0]||=e=>n(`close`)},{default:E(()=>[...i[1]||=[tt(` Cancel `,-1)]]),_:1}),D(T(jz),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`submit`,onClick:r},{default:E(()=>[tt(` Delete `+be(e.label),1)]),_:1})])]),_:1},8,[`state`]))}}),n_e={apiKeyCookie:{label:`API Key in Cookies`,payload:{type:`apiKey`,in:`cookie`,name:`apiKeyCookie`}},apiKeyHeader:{label:`API Key in Headers`,payload:{type:`apiKey`,in:`header`,name:`apiKeyHeader`}},apiKeyQuery:{label:`API Key in Query Params`,payload:{type:`apiKey`,in:`query`,name:`apiKeyQuery`}},httpBasic:{label:`HTTP Basic`,payload:{type:`http`,scheme:`basic`}},httpBearer:{label:`HTTP Bearer`,payload:{type:`http`,scheme:`bearer`}},oauth2Implicit:{label:`Oauth2 Implicit Flow`,payload:{type:`oauth2`,flows:{implicit:{authorizationUrl:``,refreshUrl:``,scopes:{}}}}},oauth2Password:{label:`Oauth2 Password Flow`,payload:{type:`oauth2`,flows:{password:{tokenUrl:``,refreshUrl:``,scopes:{}}}}},oauth2ClientCredentials:{label:`Oauth2 Client Credentials`,payload:{type:`oauth2`,flows:{clientCredentials:{tokenUrl:``,refreshUrl:``,scopes:{}}}}},oauth2AuthorizationFlow:{label:`Oauth2 Authorization Code`,payload:{type:`oauth2`,flows:{authorizationCode:{authorizationUrl:``,tokenUrl:``,refreshUrl:``,"x-usePkce":`no`,scopes:{}}}}}},L6=e=>{let t=0,n=0,r=e.length,i=r&15,a=r-i,o=2277735313,s=1291169091,c=1390208809,l=944331445;for(let r=0;r<a;r+=16){let i=e.charCodeAt(r)&255|(e.charCodeAt(r+1)&255)<<8|(e.charCodeAt(r+2)&255)<<16|(e.charCodeAt(r+3)&255)<<24,a=e.charCodeAt(r+4)&255|(e.charCodeAt(r+5)&255)<<8|(e.charCodeAt(r+6)&255)<<16|(e.charCodeAt(r+7)&255)<<24,u=e.charCodeAt(r+8)&255|(e.charCodeAt(r+9)&255)<<8|(e.charCodeAt(r+10)&255)<<16|(e.charCodeAt(r+11)&255)<<24,d=e.charCodeAt(r+12)&255|(e.charCodeAt(r+13)&255)<<8|(e.charCodeAt(r+14)&255)<<16|(e.charCodeAt(r+15)&255)<<24;i=Math.imul(i,o),i=i<<15|i>>>17,i=Math.imul(i,s),t^=i,t=t<<13|t>>>19,t=Math.imul(t,5)+3864292196,a=Math.imul(a,s),a=a<<16|a>>>16,a=Math.imul(a,c),n^=a,n=n<<17|n>>>15,n=Math.imul(n,5)+461845907,u=Math.imul(u,c),u=u<<17|u>>>15,u=Math.imul(u,l),t^=u,t=t<<15|t>>>17,t=Math.imul(t,5)+1390208809,d=Math.imul(d,l),d=d<<18|d>>>14,d=Math.imul(d,o),n^=d,n=n<<13|n>>>19,n=Math.imul(n,5)+944331445}if(i>0){let r=0,u=0,d=0,f=0;i>=15&&(f^=(e.charCodeAt(a+14)&255)<<16),i>=14&&(f^=(e.charCodeAt(a+13)&255)<<8),i>=13&&(f^=e.charCodeAt(a+12)&255,f=Math.imul(f,l),f=f<<18|f>>>14,f=Math.imul(f,o),n^=f),i>=12&&(d^=(e.charCodeAt(a+11)&255)<<24),i>=11&&(d^=(e.charCodeAt(a+10)&255)<<16),i>=10&&(d^=(e.charCodeAt(a+9)&255)<<8),i>=9&&(d^=e.charCodeAt(a+8)&255,d=Math.imul(d,c),d=d<<17|d>>>15,d=Math.imul(d,l),t^=d),i>=8&&(u^=(e.charCodeAt(a+7)&255)<<24),i>=7&&(u^=(e.charCodeAt(a+6)&255)<<16),i>=6&&(u^=(e.charCodeAt(a+5)&255)<<8),i>=5&&(u^=e.charCodeAt(a+4)&255,u=Math.imul(u,s),u=u<<16|u>>>16,u=Math.imul(u,c),n^=u),i>=4&&(r^=(e.charCodeAt(a+3)&255)<<24),i>=3&&(r^=(e.charCodeAt(a+2)&255)<<16),i>=2&&(r^=(e.charCodeAt(a+1)&255)<<8),i>=1&&(r^=e.charCodeAt(a)&255,r=Math.imul(r,o),r=r<<15|r>>>17,r=Math.imul(r,s),t^=r)}return t^=r,n^=r,t+=n,n+=t,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,t+=n,n+=t,(t>>>0).toString(16).padStart(8,`0`)+(n>>>0).toString(16).padStart(8,`0`)},R6=e=>JSON.stringify(Object.keys(e)),z6=({name:e,value:t})=>({id:L6(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),B6=e=>z6({name:Object.keys(e).join(` & `),value:e}),V6=(e,t)=>{let n=Object.keys(e);if(n.length>1)return B6(e);if(n[0])return L(t[n[0]])?z6({name:n[0],value:e}):void 0},r_e=(e,t,n,r=!1)=>{let i=new Map(n.map(e=>[R6(e),e])),{requiredFormatted:a,requiredSchemeNames:o,existingIds:s}=e.reduce((e,n)=>{let r=V6(i.get(R6(n))??n,t);r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id));for(let t of Object.keys(n))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),c=[];for(let[e,n]of Object.entries(t))if(!o.has(e)&&L(n)){let t=z6({name:e,value:{[e]:[]}});c.push(t),s.add(t.id)}for(let e of n){let n=V6(e,t);n&&!s.has(n.id)&&(c.push(n),s.add(n.id))}let l=[{label:`Required authentication`,options:a},{label:`Available authentication`,options:c}];return r?(l.push({label:`Add new authentication`,options:Object.entries(n_e).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),l):a.length?l:c},i_e=[`for`],a_e={class:`relative flex min-w-0 flex-1`},o_e=[`readOnly`,`type`,`value`],s_e={key:1,class:`centered-y text-orange absolute right-7 text-xs`},c_e=Ca(w({inheritAttrs:!1,__name:`DataTableInput`,props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},environment:{},description:{},withFakeData:{type:Boolean,default:!0}},emits:[`update:modelValue`,`inputFocus`,`inputBlur`,`selectVariable`],setup(e,{emit:t}){let n=e,r=t,i=A(!0),a=A(!1),s=Oe(`codeInput`),c=()=>!a.value&&r(`inputBlur`),l=j(()=>n.type===`password`?`text`:n.type??`text`),u=()=>{!n.enum?.length&&!n.readOnly&&s.value?.focus()};return(t,a)=>(y(),O(_G,{class:v([`relative flex`,e.containerClass])},{default:E(()=>[t.$slots.default?(y(),M(`div`,{key:0,class:`text-c-1 flex items-center pr-0 pl-3`,for:e.id??``,onClick:u},[S(t.$slots,`default`,{},void 0,!0),a[6]||=tt(`: `,-1)],8,i_e)):k(``,!0),N(`div`,a_e,[n.enum&&n.enum.length?(y(),O(CU,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,value:n.enum,"onUpdate:modelValue":a[0]||=e=>r(`update:modelValue`,e)},null,8,[`canAddCustomValue`,`modelValue`,`value`])):(y(),M(Ne,{key:1},[i.value&&e.type===`password`?(y(),M(`input`,o({key:0},e.id?{...t.$attrs,id:e.id}:t.$attrs,{autocomplete:`off`,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1`,{"scalar-password-input":e.type===`password`}],"data-1p-ignore":``,readOnly:e.readOnly,spellcheck:`false`,type:l.value,value:e.modelValue,onInput:a[1]||=e=>r(`update:modelValue`,e.target.value??``)}),null,16,o_e)):(y(),O(T(MG),o({key:1},t.$attrs,{id:e.id,ref_key:`codeInput`,ref:s,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1`,[e.type===`password`&&e.description&&`pr-12`,e.description&&`pr-8`,e.type===`password`&&`scalar-password-input`]],environment:e.environment,modelValue:e.modelValue??``,readOnly:e.readOnly,required:!!e.required,type:l.value,withFakeData:e.withFakeData,onBlur:c,onFocus:a[2]||=e=>r(`inputFocus`),"onUpdate:modelValue":a[3]||=e=>r(`update:modelValue`,e)}),null,16,[`id`,`class`,`environment`,`modelValue`,`readOnly`,`required`,`type`,`withFakeData`]))],64))]),t.$slots.warning?(y(),M(`div`,s_e,[S(t.$slots,`warning`,{},void 0,!0)])):k(``,!0),S(t.$slots,`icon`,{},void 0,!0),e.modelValue?(y(),O(T(m6),{key:2,class:`-ml-.25 h-6 w-6 self-center p-1.25`,icon:T(co),label:`Clear Value`,onClick:a[4]||=e=>r(`update:modelValue`,``)},null,8,[`icon`])):k(``,!0),e.type===`password`?(y(),O(T(m6),{key:3,class:`-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25`,"data-testid":`data-table-password-toggle`,icon:i.value?T(ete):T(ste),label:i.value?`Show Password`:`Hide Password`,onClick:a[5]||=e=>i.value=!i.value},null,8,[`icon`,`label`])):k(``,!0)]),_:3},8,[`class`]))}}),[[`__scopeId`,`data-v-a6f4752a`]]),l_e=[`for`],H6=w({__name:`RequestAuthDataTableInput`,props:Ie({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:``,required:!0},modelModifiers:{}}),emits:Ie([`inputFocus`,`inputBlur`,`selectVariable`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=le(e,`modelValue`),i=xe();return(t,a)=>(y(),O(T(c_e),o({id:T(i)},t.$attrs,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:a[1]||=e=>n(`inputBlur`),onInputFocus:a[2]||=e=>n(`inputFocus`),onSelectVariable:a[3]||=e=>n(`selectVariable`,e)}),{default:E(()=>[N(`label`,{for:T(i)},[S(t.$slots,`default`)],8,l_e)]),icon:E(()=>[S(t.$slots,`icon`)]),_:3},16,[`id`,`modelValue`,`canAddCustomEnumValue`,`containerClass`,`environment`,`readOnly`,`required`,`type`]))}}),u_e={class:`flex gap-2`},d_e={class:`flex max-h-8 flex-1`},f_e=w({name:`CommandActionForm`,props:{loader:{},disabled:{type:Boolean,default:!1}},emits:[`submit`,`cancel`,`back`],setup(e,{emit:t}){let n=t,{cx:r}=ac(),i=()=>{e.disabled||n(`submit`)};return(t,n)=>(y(),M(`form`,{class:`flex w-full flex-col gap-3`,onKeydown:n[0]||=zn(Ln(()=>{},[`stop`]),[`enter`]),onSubmit:Ln(i,[`prevent`,`stop`])},[N(`div`,qe($e(T(r)(`relative flex min-h-20 flex-col rounded`))),[S(t.$slots,`default`)],16),N(`div`,u_e,[N(`div`,d_e,[S(t.$slots,`options`)]),D(T(jz),{class:`max-h-8 px-3 text-xs`,disabled:e.disabled,loader:e.loader,type:`submit`},{default:E(()=>[S(t.$slots,`submit`,{},()=>[n[1]||=tt(`Continue`,-1)])]),_:3},8,[`disabled`,`loader`])])],32))}}),p_e=[`placeholder`],U6=w({name:`CommandActionInput`,inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:[`update:modelValue`,`delete`],setup(e,{emit:t}){let n=t,r=A(null),i=j({get:()=>e.modelValue??``,set:e=>n(`update:modelValue`,e)});ue(()=>{Pe(()=>{e.autofocus&&r.value?.focus()})});let a=e=>{if(e.shiftKey||!e.target)return;e.preventDefault();let t=e.target,n=new Event(`submit`,{cancelable:!0});t.form?.dispatchEvent(n)},s=e=>{i.value===``&&(e.preventDefault(),e.stopPropagation(),n(`delete`,e))};return(t,n)=>We((y(),M(`textarea`,o({id:`command-action-input`,ref_key:`input`,ref:r,"onUpdate:modelValue":n[0]||=e=>i.value=e,class:`min-h-8 w-full flex-1 resize-none border border-transparent py-1.5 pl-8.5 text-sm outline-none focus:border-b-1`,placeholder:e.placeholder??``,wrap:`hard`},t.$attrs,{onKeydown:[zn(s,[`delete`]),zn(a,[`enter`])]}),null,16,p_e)),[[wn,i.value]])}}),m_e={class:`flex min-h-8 items-start gap-2 text-sm`},h_e={class:`flex min-h-8 items-start gap-2 text-sm`},g_e={key:0,class:`text-red text-xs`,role:`alert`},__e=w({__name:`OAuthScopesAddModal`,props:{state:{},scopes:{},scope:{default:null}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=t,r=j(()=>e.scope!==null),i=j(()=>r.value?`Edit Scope`:`Add Scope`),a=j(()=>r.value?`Save`:`Add Scope`),o=A({name:``,description:``}),s=A(!1);Xe(()=>o.value.name,()=>{s.value=!0});let c=j(()=>o.value.name.trim()),l=j(()=>!c.value||r.value&&c.value===e.scope?.name?!1:e.scopes.includes(c.value)),u=j(()=>l.value?`A scope named "${c.value}" already exists.`:s.value&&!c.value?`Scope name is required.`:null),d=j(()=>!c.value||l.value),f=()=>{d.value||(n(`submit`,{name:c.value,description:o.value.description,...r.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return Xe(()=>e.state.open,t=>{t&&(o.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:``,description:``},Pe(()=>{s.value=!1}))}),(t,r)=>(y(),O(T(I6),{bodyClass:`overflow-y-auto`,size:`xs`,state:e.state,title:i.value},{default:E(()=>[D(T(f_e),{disabled:d.value,onCancel:r[2]||=e=>n(`cancel`),onSubmit:f},{submit:E(()=>[tt(be(a.value),1)]),default:E(()=>[N(`div`,m_e,[r[3]||=tt(` Name: `,-1),D(T(U6),{modelValue:o.value.name,"onUpdate:modelValue":r[0]||=e=>o.value.name=e,autofocus:``,class:`field-sizing-content !p-0`,placeholder:`read:user`},null,8,[`modelValue`])]),N(`div`,h_e,[r[4]||=tt(` Description: `,-1),D(T(U6),{modelValue:o.value.description,"onUpdate:modelValue":r[1]||=e=>o.value.description=e,autofocus:!1,class:`field-sizing-content !p-0`,placeholder:`Read user data`},null,8,[`modelValue`])]),u.value?(y(),M(`div`,g_e,be(u.value),1)):k(``,!0)]),_:1},8,[`disabled`])]),_:1},8,[`state`,`title`]))}}),v_e=[`aria-label`],W6=w({inheritAttrs:!1,__name:`ScalarSearchInput`,props:Ie({loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=le(e,`modelValue`),n=A(null);function r(){t.value=``,n.value&&n.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=ac();return(s,c)=>(y(),M(`label`,qe($e(T(i)(`flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25`))),[D(T(ro),{class:`text-sidebar-c-search size-4`}),We(N(`input`,o({ref_key:`inputRef`,ref:n},T(a),{"onUpdate:modelValue":c[0]||=e=>t.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:`Search...`,spellcheck:`false`,type:`search`}),null,16,v_e),[[wn,t.value]]),e.loader&&e.loader.isActive?(y(),O(T(Oz),{key:0,class:`mr-1`,loader:e.loader,size:`lg`},null,8,[`loader`])):t.value?(y(),O(T(m6),{key:1,class:`-my-1`,icon:T(co),label:`Clear Search`,size:`sm`,weight:`bold`,onClick:Ln(r,[`stop`,`prevent`])},null,8,[`icon`])):k(``,!0)],16))}}),y_e={class:`flex h-fit w-full`},b_e={class:`group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left`},x_e={class:`flex shrink-0 items-center gap-1.75`},S_e={class:`grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto`,style:{gridTemplateColumns:`1fr auto`}},C_e={class:`no-scrollbar text-c-2 group-hover/scope-row:text-c-1 flex min-h-8 min-w-0 flex-1 items-center gap-1 overflow-x-auto px-3 py-1.5 pr-20 text-xs text-nowrap`},w_e={class:`font-code shrink-0 text-xs`},T_e={class:`whitespace-nowrap`},E_e=w({__name:`OAuthScopesInput`,props:{flowType:{},flow:{},selectedScopes:{}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=A(``),i=A(null),a=j(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),o=j(()=>Object.keys(e.flow?.scopes??{}).length),s=j(()=>o.value>=10),c=j(()=>{let e=s.value?r.value:``;if(!e)return a.value;let t=new RegExp(e.split(``).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`.*`),`i`);return a.value.filter(({label:e,description:n})=>t.test(`${e} ${n}`))}),l=j(()=>Object.keys(e.flow?.scopes??{}).length>0),u=j(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),d=(t,r)=>{if(r)return n(`update:selectedScopes`,{scopes:Array.from(new Set([...e.selectedScopes,t]))});n(`update:selectedScopes`,{scopes:e.selectedScopes.filter(e=>e!==t)})},f=()=>n(`update:selectedScopes`,{scopes:Object.keys(e.flow?.scopes??{})}),p=()=>n(`update:selectedScopes`,{scopes:[]}),m=F6(),h=A(0),g=A(!1);Xe(l,(e,t)=>{t&&!e&&(g.value=!1,h.value+=1)});let b=()=>{i.value=null,m.show()},ee=e=>{i.value={name:e.id,description:e.description??``},m.show()},x=async t=>{let r=!t.oldName;n(`upsert:scope`,{scope:t.name,description:t.description,flowType:e.flowType,...t.oldName?{oldScope:t.oldName}:{},...r?{enable:!0}:{}}),r&&(g.value=!0,h.value+=1,await Pe(),g.value=!1)},te=t=>{n(`delete:scope`,{scope:t,flowType:e.flowType})};return(t,n)=>(y(),O(T(_G),{class:`h-auto !max-h-[initial] min-h-8 items-center`},{default:E(()=>[N(`div`,y_e,[n[6]||=N(`div`,{class:`text-c-1 h-full items-center`},null,-1),(y(),O(T(Ji),{key:h.value,as:`div`,class:`bl flex w-full flex-col`,defaultOpen:g.value},{default:E(()=>[N(`div`,b_e,[D(T(Yi),{class:v([`min-w-0 flex-1 text-left`,l.value?`hover:text-c-1 cursor-pointer`:`cursor-default`,(e.selectedScopes.length||0)>0?`text-c-1`:`text-c-3`]),disabled:!l.value},{default:E(()=>[l.value?(y(),M(Ne,{key:0},[tt(` Scopes Selected `+be(e.selectedScopes.length||0)+` / `+be(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):(y(),M(Ne,{key:1},[tt(` No Scopes Defined `)],64))]),_:1},8,[`class`,`disabled`]),N(`div`,x_e,[D(T(jz),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ln(b,[`stop`])},{default:E(()=>[...n[2]||=[tt(` Add Scope `,-1)]]),_:1}),l.value&&u.value?(y(),O(T(jz),{key:0,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ln(p,[`stop`])},{default:E(()=>[...n[3]||=[tt(` Deselect All `,-1)]]),_:1})):k(``,!0),l.value&&!u.value?(y(),O(T(jz),{key:1,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ln(f,[`stop`])},{default:E(()=>[...n[4]||=[tt(` Select All `,-1)]]),_:1})):k(``,!0),l.value?(y(),O(T(Yi),{key:2,class:`text-c-3 hover:text-c-2 -m-0.5 flex shrink-0 items-center justify-center rounded p-0.5 focus-visible:outline-offset-2`},{default:E(({open:e})=>[D(T(Tz),{class:`group-hover/scopes-accordion:text-c-2`,icon:e?`ChevronDown`:`ChevronRight`,size:`md`},null,8,[`icon`])]),_:1})):k(``,!0)])]),D(T(Xi),{as:`template`},{default:E(()=>[N(`div`,null,[s.value?(y(),O(T(W6),{key:0,modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,class:`flex items-center text-xs`},null,8,[`modelValue`])):k(``,!0),N(`table`,S_e,[(y(!0),M(Ne,null,_(c.value,({id:t,label:r,description:i})=>(y(),O(T(xG),{key:t,class:`text-c-2 group/scope-row`,onClick:n=>d(t,!e.selectedScopes.includes(t))},{default:E(()=>[D(T(_G),{class:`box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0`},{default:E(()=>[N(`div`,C_e,[N(`span`,w_e,be(r),1),String(i??``).trim()?(y(),M(Ne,{key:0},[n[5]||=N(`span`,{class:`shrink-0`},`–`,-1),N(`span`,T_e,be(i),1)],64)):k(``,!0)]),N(`div`,{class:`oauth-scope-row-action-rail absolute top-0 right-0 z-[1] flex h-full min-w-[4.5rem] items-center justify-end gap-0.5 py-1 pr-2 pl-4 opacity-0 transition-opacity group-focus-within/scope-row:opacity-100 group-hover/scope-row:opacity-100`,onClick:n[1]||=Ln(()=>{},[`stop`])},[D(T(m6),{icon:T(io),label:`Edit ${r}`,size:`sm`,onClick:Ln(e=>ee({id:t,description:i??``}),[`stop`])},null,8,[`icon`,`label`,`onClick`]),D(T(m6),{icon:T(oo),label:`Delete ${r}`,size:`sm`,onClick:Ln(e=>te(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])])]),_:2},1024),D(T(PG),{modelValue:e.selectedScopes.includes(t),"onUpdate:modelValue":e=>d(t,e)},null,8,[`modelValue`,`onUpdate:modelValue`])]),_:2},1032,[`onClick`]))),128))])])]),_:1})]),_:1},8,[`defaultOpen`]))]),D(__e,{scope:i.value,scopes:Object.keys(e.flow.scopes??{}),state:T(m),onSubmit:x},null,8,[`scope`,`scopes`,`state`])]),_:1}))}}),D_e=e=>{let t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},G6=(e,t,n)=>{let r=e.get(n);if(r!==null)return{params:e,value:r};let i=t.get(n);return i===null?{params:null,value:null}:{params:t,value:i}},O_e=(e,t=`access_token`)=>{try{let{searchParams:n,hashParams:r}=D_e(e()),i=G6(n,r,t),a=G6(n,r,`code`);return{accessToken:i.value,accessTokenParams:i.params,code:a.value,codeParams:a.params,error:n.get(`error`)??r.get(`error`),errorDescription:n.get(`error_description`)??r.get(`error_description`),refreshToken:n.get(`refresh_token`)??r.get(`refresh_token`)}}catch{return{accessToken:null,accessTokenParams:null,code:null,codeParams:null,error:null,errorDescription:null,refreshToken:null}}},K6=(e,t)=>{if(e!==`authorizationCode`)return!1;let n=t;if(!n)return!1;let r=n[`x-usePkce`];return r===`SHA-256`||r===`plain`},q6=(e,t={})=>XC(YC(e?.url??``,Uw(e)),t),J6=(e,t={})=>{let n=q6(e,t);return n?uo(n)?typeof window>`u`?{}:{basePath:n}:{baseUrl:n}:{}},k_e=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),dw(e,!0)},A_e=async(e,t)=>{if(t===`plain`)return e;if(typeof crypto?.subtle?.digest!=`function`)return console.warn(`SHA-256 is only supported when using https, using a plain text code challenge instead.`),e;let n=new TextEncoder().encode(e),r=await crypto.subtle.digest(`SHA-256`,n);return dw(new Uint8Array(r),!0)},j_e=async(e,t,n,r,i,a={},o)=>{let s=e[t];try{if(!s)return[Error(`Flow not found`),null];let c=n.join(` `);if(t===`clientCredentials`||t===`password`)return Y6(e,t,c,{proxyUrl:i,customFetch:o},r,a);let l=(Math.random()+1).toString(36).substring(2,10),u=ho(e[t][`x-scalar-secret-auth-url`]??e[t].authorizationUrl,J6(r,a)),d=new URL(u),f=null;if(t===`implicit`)d.searchParams.set(`response_type`,`token`);else if(t===`authorizationCode`){let n=e[t];if(d.searchParams.set(`response_type`,`code`),n[`x-usePkce`]!==`no`){let e=k_e(),t=await A_e(e,n[`x-usePkce`]);f={codeVerifier:e,codeChallenge:t,codeChallengeMethod:n[`x-usePkce`]===`SHA-256`?`S256`:`plain`},d.searchParams.set(`code_challenge`,t),d.searchParams.set(`code_challenge_method`,f.codeChallengeMethod)}}let p=e[t];if(p[`x-scalar-secret-redirect-uri`].startsWith(`/`)){let e=q6(r,a)||window.location.origin+window.location.pathname,t=new URL(p[`x-scalar-secret-redirect-uri`],e).toString();d.searchParams.set(`redirect_uri`,t)}else d.searchParams.set(`redirect_uri`,p[`x-scalar-secret-redirect-uri`]);s[`x-scalar-security-query`]&&Object.keys(s[`x-scalar-security-query`]).forEach(e=>{let t=s[`x-scalar-security-query`]?.[e];t&&d.searchParams.set(e,t)}),d.searchParams.set(`client_id`,s[`x-scalar-secret-client-id`]),d.searchParams.set(`state`,l),c&&d.searchParams.set(`scope`,c);let m=window.open(d,`openAuth2Window`,`left=100,top=100,width=800,height=600`);return m?new Promise(n=>{let u=setInterval(()=>{let{accessToken:d,accessTokenParams:p,code:h,codeParams:g,error:_,errorDescription:v,refreshToken:y}=O_e(()=>m.location.href,s[`x-tokenName`]||`access_token`);if(m.closed||d||h||_){if(clearInterval(u),m.close(),_){n([Error(`OAuth error: ${_}${v?` (${v})`:``}`),null]);return}if(d){(p?.get(`state`)??null)===l?n([null,{accessToken:d,...y?{refreshToken:y}:{}}]):n([Error(`State mismatch`),null]);return}if(h&&t===`authorizationCode`){(g?.get(`state`)??null)===l?Y6(e,t,c,{code:h,pkce:f,proxyUrl:i,customFetch:o},r,a).then(n).catch(e=>{n([e instanceof Error?e:Error(`Failed to get an access token`,{cause:e}),null])}):n([Error(`State mismatch`),null]);return}n([Error(`Window was closed without granting authorization`),null])}},200)}):[Error(`Failed to open auth window`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to authorize oauth2 flow`,{cause:e}),null]}},Y6=async(e,t,n,{code:r,pkce:i,proxyUrl:a,customFetch:o=fetch}={},s,c={})=>{let l=e[t];if(!l)return[Error(`OAuth2 flow was not defined`),null];let u=new URLSearchParams;n&&(t===`clientCredentials`||t===`password`)&&u.set(`scope`,n);let d=l[`x-scalar-credentials-location`]===`body`,f=K6(t,l),p=!!l[`x-scalar-secret-client-secret`]&&!f;if((d||t===`authorizationCode`&&!p)&&u.set(`client_id`,l[`x-scalar-secret-client-id`]),d&&p&&u.set(`client_secret`,l[`x-scalar-secret-client-secret`]),`x-scalar-secret-redirect-uri`in l&&l[`x-scalar-secret-redirect-uri`]&&u.set(`redirect_uri`,l[`x-scalar-secret-redirect-uri`]),r)u.set(`code`,r),u.set(`grant_type`,`authorization_code`),i&&u.set(`code_verifier`,i.codeVerifier);else if(t===`password`){let n=e[t];u.set(`grant_type`,`password`),u.set(`username`,n[`x-scalar-secret-username`]),u.set(`password`,n[`x-scalar-secret-password`])}else u.set(`grant_type`,`client_credentials`);l[`x-scalar-security-body`]&&Object.entries(l[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&u.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!d&&p&&(e.Authorization=`Basic ${pw(`${l[`x-scalar-secret-client-id`]}:${l[`x-scalar-secret-client-secret`]}`)}`);let t=ho(l[`x-scalar-secret-token-url`]??l.tokenUrl,J6(s,c)),n=await(await o(rw(a,t)?`${a}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:u})).json(),r=n[l[`x-tokenName`]||`access_token`],i=n.refresh_token;return r?[null,{accessToken:r,...typeof i==`string`?{refreshToken:i}:{}}]:[Error(n.error_description??n.error??`Failed to get an access token`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to get an access token. Please check your credentials.`,{cause:e}),null]}},M_e=async(e,t,n,r,i={},a=fetch)=>{let o=e[t];if(!o)return[Error(`OAuth2 flow was not defined`),null];let s=o[`x-scalar-secret-refresh-token`];if(!s)return[Error(`No refresh token available`),null];let c=new URLSearchParams;c.set(`grant_type`,`refresh_token`),c.set(`refresh_token`,s);let l=o[`x-scalar-credentials-location`]===`body`,u=K6(t,o),d=!!o[`x-scalar-secret-client-secret`]&&!u;(l||t===`authorizationCode`&&!d)&&c.set(`client_id`,o[`x-scalar-secret-client-id`]),l&&d&&c.set(`client_secret`,o[`x-scalar-secret-client-secret`]),o[`x-scalar-security-body`]&&Object.entries(o[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&c.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!l&&d&&(e.Authorization=`Basic ${pw(`${o[`x-scalar-secret-client-id`]}:${o[`x-scalar-secret-client-secret`]}`)}`);let t=ho(o.refreshUrl||o[`x-scalar-secret-token-url`]||o.tokenUrl,J6(r,i)),u=await(await a(rw(n,t)?`${n}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:c})).json(),f=u[o[`x-tokenName`]||`access_token`],p=u.refresh_token;return f?[null,{accessToken:f,...typeof p==`string`?{refreshToken:p}:{refreshToken:s}}]:[Error(u.error_description??u.error??`Token refresh failed`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to refresh the access token. Please re-authorize.`,{cause:e}),null]}},N_e=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>`u`||window.location.protocol===`file:`?``:window.location.origin+window.location.pathname,P_e=Object.defineProperty,F_e=(e,t,n)=>t in e?P_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,X6=(e,t,n)=>F_e(e,typeof t==`symbol`?t:t+``,n);function I_e(e){if(!e||typeof document>`u`)return;function t(){let t=document.head||document.getElementsByTagName(`head`)[0];if(!t)return;let n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,t):t()}I_e(`:where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}`);var Z6=0,Q6=new class{constructor(){X6(this,`subscribers`),X6(this,`toasts`),X6(this,`subscribe`,e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),X6(this,`publish`,e=>{this.subscribers.forEach(t=>t(e))}),X6(this,`addToast`,e=>{this.publish(e),this.toasts=[...this.toasts,e]}),X6(this,`create`,e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:Z6++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r}),X6(this,`dismiss`,e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e)),X6(this,`message`,(e,t)=>this.create({...t,message:e,type:`default`})),X6(this,`error`,(e,t)=>this.create({...t,type:`error`,message:e})),X6(this,`success`,(e,t)=>this.create({...t,type:`success`,message:e})),X6(this,`info`,(e,t)=>this.create({...t,type:`info`,message:e})),X6(this,`warning`,(e,t)=>this.create({...t,type:`warning`,message:e})),X6(this,`loading`,(e,t)=>this.create({...t,type:`loading`,message:e})),X6(this,`promise`,(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=e instanceof Promise?e:e(),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],R_e(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:`error`,message:r,description:a})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description;this.create({id:n,type:`success`,message:r,description:a})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description;this.create({id:n,type:`error`,message:r,description:a})}}).finally(()=>{var e;i&&(this.dismiss(n),n=void 0),(e=t.finally)==null||e.call(t)}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})}),X6(this,`custom`,(e,t)=>{let n=t?.id||Z6++;return this.publish({component:e,id:n,...t}),n}),this.subscribers=[],this.toasts=[]}};function L_e(e,t){let n=t?.id||Z6++;return Q6.create({message:e,id:n,type:`default`,...t}),n}var R_e=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,z_e=L_e,$6=Object.assign(z_e,{success:Q6.success,info:Q6.info,warning:Q6.warning,error:Q6.error,custom:Q6.custom,message:Q6.message,promise:Q6.promise,dismiss:Q6.dismiss,loading:Q6.loading},{getHistory:()=>Q6.toasts});function e8(e){return e.label!==void 0}function B_e(){let e=A(!1);return He(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}var V_e=[`aria-live`,`data-rich-colors`,`data-styled`,`data-mounted`,`data-promise`,`data-removed`,`data-visible`,`data-y-position`,`data-x-position`,`data-index`,`data-front`,`data-swiping`,`data-dismissible`,`data-type`,`data-invert`,`data-swipe-out`,`data-expanded`],H_e=[`aria-label`,`data-disabled`],t8=4e3,U_e=20,W_e=200,G_e=w({__name:`Toast`,props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:[`update:heights`,`removeToast`],setup(e,{emit:t}){let n=e,r=t,i=A(!1),a=A(!1),s=A(!1),c=A(!1),l=A(!1),u=A(0),d=A(0),f=A(n.toast.duration||n.duration||t8),p=A(null),m=A(null),h=j(()=>n.index===0),g=j(()=>n.index+1<=n.visibleToasts),_=j(()=>n.toast.type),b=j(()=>n.toast.dismissible!==!1),ee=j(()=>n.toast.class||``),ne=j(()=>n.descriptionClass||``),re=n.toast.style||{},ie=j(()=>n.heights.findIndex(e=>e.toastId===n.toast.id)||0),ae=j(()=>n.toast.closeButton??n.closeButton);j(()=>n.toast.duration||n.duration||t8);let oe=A(0),C=A(0),ce=A(null),le=j(()=>n.position.split(`-`)),de=j(()=>le.value[0]),w=j(()=>le.value[1]),fe=j(()=>typeof n.toast.title!=`string`),pe=j(()=>typeof n.toast.description!=`string`),me=j(()=>n.heights.reduce((e,t,n)=>n>=ie.value?e:e+t.height,0)),he=B_e(),ge=j(()=>n.toast.invert||n.invert),_e=j(()=>_.value===`loading`),ve=j(()=>ie.value*n.gap+me.value||0);ue(()=>{if(!i.value)return;let e=m.value,t=e?.style.height;e.style.height=`auto`;let a=e.getBoundingClientRect().height;e.style.height=t,d.value=a;let o;o=n.heights.find(e=>e.toastId===n.toast.id)?n.heights.map(e=>e.toastId===n.toast.id?{...e,height:a}:e):[{toastId:n.toast.id,height:a,position:n.toast.position},...n.heights],r(`update:heights`,o)});function ye(){a.value=!0,u.value=ve.value,r(`update:heights`,n.heights.filter(e=>e.toastId!==n.toast.id)),setTimeout(()=>{r(`removeToast`,n.toast)},W_e)}function xe(){var e,t;if(_e.value||!b.value)return{};ye(),(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast)}function Se(e){_e.value||!b.value||(p.value=new Date,u.value=ve.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(s.value=!0,ce.value={x:e.clientX,y:e.clientY}))}function Ce(){var e,t,r;if(c.value||!b)return;ce.value=null;let i=Number(m.value?.style.getPropertyValue(`--swipe-amount`).replace(`px`,``)||0),a=new Date().getTime()-p.value?.getTime(),o=Math.abs(i)/a;if(Math.abs(i)>=U_e||o>.11){u.value=ve.value,(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast),ye(),c.value=!0,l.value=!1;return}(r=m.value)==null||r.style.setProperty(`--swipe-amount`,`0px`),s.value=!1}function we(e){var t;if(!ce.value||!b.value)return;let n=e.clientY-ce.value.y,r=window.getSelection()?.toString().length>0,i=de.value===`top`?Math.min(0,n):Math.max(0,n);Math.abs(i)>0&&(l.value=!0),!r&&((t=m.value)==null||t.style.setProperty(`--swipe-amount`,`${i}px`))}return He(e=>{if(n.toast.promise&&_.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||n.pauseWhenPageIsHidden&&he?(()=>{if(C.value<oe.value){let e=new Date().getTime()-oe.value;f.value-=e}C.value=new Date().getTime()})():f.value!==1/0&&(oe.value=new Date().getTime(),t=setTimeout(()=>{var e,t;(t=(e=n.toast).onAutoClose)==null||t.call(e,n.toast),ye()},f.value)),e(()=>{clearTimeout(t)})}),Xe(()=>n.toast.delete,()=>{n.toast.delete&&ye()},{deep:!0}),ue(()=>{if(i.value=!0,m.value){let e=m.value.getBoundingClientRect().height;d.value=e,r(`update:heights`,[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights])}}),se(()=>{m.value&&r(`update:heights`,n.heights.filter(e=>e.toastId!==n.toast.id))}),(e,t)=>{var r,l;return y(),M(`li`,{ref_key:`toastRef`,ref:m,"aria-live":e.toast.important?`assertive`:`polite`,"aria-atomic":`true`,role:`status`,tabindex:`0`,"data-sonner-toast":`true`,class:v(e.cn(n.class,ee.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[_.value],e.toast?.classes?.[_.value])),"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||(r=e.toast)!=null&&r.unstyled||e.unstyled),"data-mounted":i.value,"data-promise":!!e.toast.promise,"data-removed":a.value,"data-visible":g.value,"data-y-position":de.value,"data-x-position":w.value,"data-index":e.index,"data-front":h.value,"data-swiping":s.value,"data-dismissible":b.value,"data-type":_.value,"data-invert":ge.value,"data-swipe-out":c.value,"data-expanded":!!(e.expanded||e.expandByDefault&&i.value),style:te({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${a.value?u.value:ve.value}px`,"--initial-height":e.expandByDefault?`auto`:`${d.value}px`,...e.style,...T(re)}),onPointerdown:Se,onPointerup:Ce,onPointermove:we},[ae.value&&!e.toast.component?(y(),M(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":_e.value,"data-close-button":`true`,class:v(e.cn(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:xe},[(l=e.icons)!=null&&l.close?(y(),O(x(e.icons?.close),{key:0})):S(e.$slots,`close-icon`,{key:1})],10,H_e)):k(``,!0),e.toast.component?(y(),O(x(e.toast.component),o({key:1},e.toast.componentProps,{onCloseToast:xe}),null,16)):(y(),M(Ne,{key:2},[_.value!==`default`||e.toast.icon||e.toast.promise?(y(),M(`div`,{key:0,"data-icon":``,class:v(e.cn(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?(y(),O(x(e.toast.icon),{key:0})):(y(),M(Ne,{key:1},[_.value===`loading`?S(e.$slots,`loading-icon`,{key:0}):_.value===`success`?S(e.$slots,`success-icon`,{key:1}):_.value===`error`?S(e.$slots,`error-icon`,{key:2}):_.value===`warning`?S(e.$slots,`warning-icon`,{key:3}):_.value===`info`?S(e.$slots,`info-icon`,{key:4}):k(``,!0)],64))],2)):k(``,!0),N(`div`,{"data-content":``,class:v(e.cn(e.classes?.content,e.toast?.classes?.content))},[N(`div`,{"data-title":``,class:v(e.cn(e.classes?.title,e.toast.classes?.title))},[fe.value?(y(),O(x(e.toast.title),qe(o({key:0},e.toast.componentProps)),null,16)):(y(),M(Ne,{key:1},[tt(be(e.toast.title),1)],64))],2),e.toast.description?(y(),M(`div`,{key:0,"data-description":``,class:v(e.cn(e.descriptionClass,ne.value,e.classes?.description,e.toast.classes?.description))},[pe.value?(y(),O(x(e.toast.description),qe(o({key:0},e.toast.componentProps)),null,16)):(y(),M(Ne,{key:1},[tt(be(e.toast.description),1)],64))],2)):k(``,!0)],2),e.toast.cancel?(y(),M(`button`,{key:1,style:te(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:v(e.cn(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{var n,r;T(e8)(e.toast.cancel)&&b.value&&((r=(n=e.toast.cancel).onClick)==null||r.call(n,t),ye())}},be(T(e8)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):k(``,!0),e.toast.action?(y(),M(`button`,{key:2,style:te(e.toast.actionButtonStyle||e.actionButtonStyle),class:v(e.cn(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{var n,r;T(e8)(e.toast.action)&&(t.defaultPrevented||((r=(n=e.toast.action).onClick)==null||r.call(n,t),!t.defaultPrevented&&ye()))}},be(T(e8)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):k(``,!0)],64))],46,V_e)}}}),n8=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},K_e={},q_e={xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stoke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function J_e(e,t){return y(),M(`svg`,q_e,t[0]||=[N(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),N(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var Y_e=n8(K_e,[[`render`,J_e]]),X_e=[`data-visible`],Z_e={class:`sonner-spinner`},Q_e=w({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>(y(),M(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[N(`div`,Z_e,[(y(!0),M(Ne,null,_(T(t),e=>(y(),M(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,X_e))}}),$_e={},eve={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function tve(e,t){return y(),M(`svg`,eve,t[0]||=[N(`path`,{"fill-rule":`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,"clip-rule":`evenodd`},null,-1)])}var nve=n8($_e,[[`render`,tve]]),rve={},ive={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function ave(e,t){return y(),M(`svg`,ive,t[0]||=[N(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,"clip-rule":`evenodd`},null,-1)])}var ove=n8(rve,[[`render`,ave]]),sve={},cve={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function lve(e,t){return y(),M(`svg`,cve,t[0]||=[N(`path`,{"fill-rule":`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,"clip-rule":`evenodd`},null,-1)])}var uve=n8(sve,[[`render`,lve]]),dve={},fve={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function pve(e,t){return y(),M(`svg`,fve,t[0]||=[N(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,"clip-rule":`evenodd`},null,-1)])}var mve=n8(dve,[[`render`,pve]]),hve=[`aria-label`],gve=[`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`,`data-lifted`],_ve=3,r8=`32px`,vve=356,yve=14,bve=typeof window<`u`&&typeof document<`u`;function xve(...e){return e.filter(Boolean).join(` `)}var Sve=w({name:`Toaster`,inheritAttrs:!1,__name:`Toaster`,props:{invert:{type:Boolean,default:!1},theme:{default:`light`},position:{default:`bottom-right`},hotkey:{default:()=>[`altKey`,`KeyT`]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:yve},visibleToasts:{default:_ve},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{default:()=>({})},offset:{default:r8},dir:{default:`auto`},icons:{},containerAriaLabel:{default:`Notifications`},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:xve}},setup(e){let t=e;function n(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}let r=ve(),i=A([]),a=j(()=>(e,t)=>i.value.filter(n=>!n.position&&t===0||n.position===e)),s=j(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),c=A([]),l=A(!1),u=A(!1),d=A(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),f=A(null),p=A(null),m=A(!1),h=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function g(e){var t;(t=i.value.find(t=>t.id===e.id))!=null&&t.delete||Q6.dismiss(e.id),i.value=i.value.filter(({id:t})=>t!==e.id)}function b(e){var t,n;m.value&&!((n=(t=e.currentTarget)?.contains)!=null&&n.call(t,e.relatedTarget))&&(m.value=!1,p.value&&=(p.value.focus({preventScroll:!0}),null))}function ee(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||m.value||(m.value=!0,p.value=e.relatedTarget)}function x(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}return He(e=>{e(Q6.subscribe(e=>{if(e.dismiss){i.value=i.value.map(t=>t.id===e.id?{...t,delete:!0}:t);return}Pe(()=>{let t=i.value.findIndex(t=>t.id===e.id);t===-1?i.value=[e,...i.value]:i.value=[...i.value.slice(0,t),{...i.value[t],...e},...i.value.slice(t+1)]})}))}),Xe(()=>t.theme,e=>{if(e!==`system`){d.value=e;return}if(e===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?d.value=`dark`:d.value=`light`),typeof window>`u`)return;let t=window.matchMedia(`(prefers-color-scheme: dark)`);try{t.addEventListener(`change`,({matches:e})=>{e?d.value=`dark`:d.value=`light`})}catch{t.addListener(({matches:e})=>{try{e?d.value=`dark`:d.value=`light`}catch(e){console.error(e)}})}}),He(()=>{f.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,m.value=!1)}),He(()=>{i.value.length<=1&&(l.value=!1)}),He(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(f.value)?f.value[0]:f.value;n&&(l.value=!0,r?.focus());let i=document.activeElement===f.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&(l.value=!1)}bve&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))}),(e,d)=>(y(),M(`section`,{"aria-label":`${e.containerAriaLabel} ${T(h)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[(y(!0),M(Ne,null,_(s.value,(s,p)=>(y(),M(`ol`,o({key:s,ref_for:!0,ref_key:`listRef`,ref:f,"data-sonner-toaster":``,class:t.class,dir:e.dir===`auto`?n():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":s.split(`-`)[0],"data-x-position":s.split(`-`)[1],"data-lifted":l.value&&i.value.length>1&&!e.expand,style:{"--front-toast-height":`${c.value[0]?.height}px`,"--offset":typeof e.offset==`number`?`${e.offset}px`:e.offset||r8,"--width":`${vve}px`,"--gap":`${e.gap}px`,...e.style,...T(r).style}},e.$attrs,{onBlur:b,onFocus:ee,onMouseenter:d[1]||=()=>l.value=!0,onMousemove:d[2]||=()=>l.value=!0,onMouseleave:d[3]||=()=>{u.value||(l.value=!1)},onPointerdown:x,onPointerup:d[4]||=()=>u.value=!1}),[(y(!0),M(Ne,null,_(a.value(s,p),(t,n)=>(y(),O(G_e,{key:t.id,heights:c.value.filter(e=>e.position===t.position),icons:e.icons,index:n,toast:t,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:v(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:s,style:te(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,toasts:i.value.filter(e=>e.position===t.position),expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:e.cn,"onUpdate:heights":d[0]||=e=>{c.value=e},onRemoveToast:g},{"close-icon":E(()=>[S(e.$slots,`close-icon`,{},()=>[D(Y_e)])]),"loading-icon":E(()=>[S(e.$slots,`loading-icon`,{},()=>[D(Q_e,{visible:t.type===`loading`},null,8,[`visible`])])]),"success-icon":E(()=>[S(e.$slots,`success-icon`,{},()=>[D(nve)])]),"error-icon":E(()=>[S(e.$slots,`error-icon`,{},()=>[D(mve)])]),"warning-icon":E(()=>[S(e.$slots,`warning-icon`,{},()=>[D(uve)])]),"info-icon":E(()=>[S(e.$slots,`info-icon`,{},()=>[D(ove)])]),_:2},1032,[`heights`,`icons`,`index`,`toast`,`defaultRichColors`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`toasts`,`expandByDefault`,`gap`,`expanded`,`pauseWhenPageIsHidden`,`cn`]))),128))],16,gve))),128))],8,hve))}});(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`/**
229
+ * We need to be explicit to avoid !important. :)
230
+ *
231
+ * Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103
232
+ */
233
+ .scalar-toaster [data-sonner-toast][data-styled='true'] {
234
+ background: var(--scalar-background-1);
235
+ color: var(--scalar-color-1);
236
+ padding: 18px;
237
+ border: none;
238
+ border-radius: var(--scalar-radius-lg);
239
+ font-size: var(--scalar-font-size-3);
240
+ font-weight: var(--scalar-font-medium);
241
+ box-shadow: var(--scalar-shadow-2);
242
+ }
243
+ .scalar-toaster [data-sonner-toast] [data-icon] {
244
+ align-self: flex-start;
245
+ position: relative;
246
+ top: 2px;
247
+ }
248
+ .scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {
249
+ height: auto;
250
+ }
251
+ .scalar-toaster [data-sonner-toast][data-type='error'] {
252
+ background: var(--scalar-background-1);
253
+ }
254
+ .scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {
255
+ color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));
256
+ }
257
+ .scalar-toaster [data-sonner-toast][data-type='warning'] {
258
+ background: var(--scalar-background-1);
259
+ }
260
+ .scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {
261
+ color: color-mix(
262
+ in srgb,
263
+ var(--scalar-color-orange) 90%,
264
+ var(--scalar-color-1)
265
+ );
266
+ }
267
+ /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();var i8={toast:()=>null};function Cve(e){i8.toast=e}function a8(){return{initializeToasts:Cve,toast:(e,t=`info`,n={timeout:3e3})=>{i8.toast(e,t,n)}}}var wve=w({__name:`ScalarToasts`,setup(e){let t=A(!1);ue(()=>t.value=!0);let n={success:$6.success,error:$6.error,warn:$6.warning,info:$6},{initializeToasts:r}=a8();return r((e,t=`info`,r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,n)=>t.value?(y(),O(T(Sve),{key:0,class:`scalar-toaster`})):k(``,!0)}});function o8(){return Be({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},validate(e={}){let{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}Object.freeze({status:`aborted`});function $(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,`_zod`,{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,`name`,{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,`init`,{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,`name`,{value:e}),o}var s8=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},c8=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},l8={};function u8(e){return e&&Object.assign(l8,e),l8}function d8(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function f8(e,t){return typeof t==`bigint`?t.toString():t}function p8(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function m8(e){return e==null}function h8(e){let t=e.startsWith(`^`)?1:0,n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function Tve(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=t.toString(),i=(r.split(`.`)[1]||``).length;if(i===0&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}var g8=Symbol(`evaluating`);function _8(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==g8)return r===void 0&&(r=g8,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function v8(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function y8(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function b8(e){return JSON.stringify(e)}function Eve(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var x8=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function S8(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Dve=p8(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function C8(e){if(S8(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(S8(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function w8(e){return C8(e)?{...e}:Array.isArray(e)?[...e]:e}var Ove=new Set([`string`,`number`,`symbol`]);function T8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function E8(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function D8(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function kve(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var Ave={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function jve(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return E8(e,y8(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return v8(this,`shape`,e),e},checks:[]}))}function Mve(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return E8(e,y8(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return v8(this,`shape`,r),r},checks:[]}))}function Nve(e,t){if(!C8(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return E8(e,y8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return v8(this,`shape`,n),n}}))}function Pve(e,t){if(!C8(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return E8(e,y8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return v8(this,`shape`,n),n}}))}function Fve(e,t){return E8(e,y8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return v8(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function Ive(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return E8(t,y8(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return v8(this,`shape`,i),i},checks:[]}))}function Lve(e,t,n){return E8(t,y8(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return v8(this,`shape`,i),i}}))}function O8(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function k8(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function A8(e){return typeof e==`string`?e:e?.message}function j8(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=A8(e.inst?._zod.def?.error?.(e))??A8(t?.error?.(e))??A8(n.customError?.(e))??A8(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function M8(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function N8(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var P8=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,`_zod`,{value:e._zod,enumerable:!1}),Object.defineProperty(e,`issues`,{value:t,enumerable:!1}),e.message=JSON.stringify(t,f8,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},F8=$(`$ZodError`,P8),I8=$(`$ZodError`,P8,{Parent:Error});function Rve(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function zve(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`&&i.errors.length)i.errors.map(e=>r({issues:e}));else if(i.code===`invalid_key`)r({issues:i.issues});else if(i.code===`invalid_element`)r({issues:i.issues});else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}var L8=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new s8;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>j8(e,a,u8())));throw x8(t,i?.callee),t}return o.value},R8=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>j8(e,a,u8())));throw x8(t,i?.callee),t}return o.value},z8=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new s8;return a.issues.length?{success:!1,error:new(e??F8)(a.issues.map(e=>j8(e,i,u8())))}:{success:!0,data:a.value}},Bve=z8(I8),B8=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>j8(e,i,u8())))}:{success:!0,data:a.value}},Vve=B8(I8),Hve=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return L8(e)(t,n,i)},Uve=e=>(t,n,r)=>L8(e)(t,n,r),Wve=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return R8(e)(t,n,i)},Gve=e=>async(t,n,r)=>R8(e)(t,n,r),Kve=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return z8(e)(t,n,i)},qve=e=>(t,n,r)=>z8(e)(t,n,r),Jve=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return B8(e)(t,n,i)},Yve=e=>async(t,n,r)=>B8(e)(t,n,r),Xve=/^[cC][^\s-]{8,}$/,Zve=/^[0-9a-z]+$/,Qve=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$ve=/^[0-9a-vA-V]{20}$/,eye=/^[A-Za-z0-9]{27}$/,tye=/^[a-zA-Z0-9_-]{21}$/,nye=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,rye=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,V8=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,iye=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,aye=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function oye(){return new RegExp(aye,`u`)}var sye=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,cye=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,lye=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,uye=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,dye=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,H8=/^[A-Za-z0-9_-]*$/,fye=/^\+[1-9]\d{6,14}$/,U8=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,pye=RegExp(`^${U8}$`);function W8(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function mye(e){return RegExp(`^${W8(e)}$`)}function hye(e){let t=W8({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${U8}T(?:${r})$`)}var gye=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},_ye=/^-?\d+$/,G8=/^-?\d+(?:\.\d+)?$/,vye=/^(?:true|false)$/i,yye=/^null$/i,bye=/^[^A-Z]*$/,xye=/^[^a-z]*$/,K8=$(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),q8={number:`number`,bigint:`bigint`,object:`date`},J8=$(`$ZodCheckLessThan`,(e,t)=>{K8.init(e,t);let n=q8[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Y8=$(`$ZodCheckGreaterThan`,(e,t)=>{K8.init(e,t);let n=q8[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Sye=$(`$ZodCheckMultipleOf`,(e,t)=>{K8.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):Tve(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Cye=$(`$ZodCheckNumberFormat`,(e,t)=>{K8.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=Ave[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=_ye)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),wye=$(`$ZodCheckMaxLength`,(e,t)=>{var n;K8.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!m8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=M8(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Tye=$(`$ZodCheckMinLength`,(e,t)=>{var n;K8.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!m8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=M8(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Eye=$(`$ZodCheckLengthEquals`,(e,t)=>{var n;K8.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!m8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=M8(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),X8=$(`$ZodCheckStringFormat`,(e,t)=>{var n,r;K8.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Dye=$(`$ZodCheckRegex`,(e,t)=>{X8.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Oye=$(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=bye,X8.init(e,t)}),kye=$(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=xye,X8.init(e,t)}),Aye=$(`$ZodCheckIncludes`,(e,t)=>{K8.init(e,t);let n=T8(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),jye=$(`$ZodCheckStartsWith`,(e,t)=>{K8.init(e,t);let n=RegExp(`^${T8(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Mye=$(`$ZodCheckEndsWith`,(e,t)=>{K8.init(e,t);let n=RegExp(`.*${T8(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Nye=$(`$ZodCheckOverwrite`,(e,t)=>{K8.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Pye=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
268
+ `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`
269
+ `))}},Fye={major:4,minor:3,patch:5},Z8=$(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Fye;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=O8(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new s8;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=O8(e,t))});else{if(e.issues.length===t)continue;r||=O8(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(O8(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new s8;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new s8;return o.then(e=>t(e,r,a))}return t(o,r,a)}}_8(e,`~standard`,()=>({validate:t=>{try{let n=Bve(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Vve(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Q8=$(`$ZodString`,(e,t)=>{Z8.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??gye(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),$8=$(`$ZodStringFormat`,(e,t)=>{X8.init(e,t),Q8.init(e,t)}),Iye=$(`$ZodGUID`,(e,t)=>{t.pattern??=rye,$8.init(e,t)}),Lye=$(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=V8(e)}else t.pattern??=V8();$8.init(e,t)}),Rye=$(`$ZodEmail`,(e,t)=>{t.pattern??=iye,$8.init(e,t)}),zye=$(`$ZodURL`,(e,t)=>{$8.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),Bye=$(`$ZodEmoji`,(e,t)=>{t.pattern??=oye(),$8.init(e,t)}),Vye=$(`$ZodNanoID`,(e,t)=>{t.pattern??=tye,$8.init(e,t)}),Hye=$(`$ZodCUID`,(e,t)=>{t.pattern??=Xve,$8.init(e,t)}),Uye=$(`$ZodCUID2`,(e,t)=>{t.pattern??=Zve,$8.init(e,t)}),Wye=$(`$ZodULID`,(e,t)=>{t.pattern??=Qve,$8.init(e,t)}),Gye=$(`$ZodXID`,(e,t)=>{t.pattern??=$ve,$8.init(e,t)}),Kye=$(`$ZodKSUID`,(e,t)=>{t.pattern??=eye,$8.init(e,t)}),qye=$(`$ZodISODateTime`,(e,t)=>{t.pattern??=hye(t),$8.init(e,t)}),Jye=$(`$ZodISODate`,(e,t)=>{t.pattern??=pye,$8.init(e,t)}),Yye=$(`$ZodISOTime`,(e,t)=>{t.pattern??=mye(t),$8.init(e,t)}),Xye=$(`$ZodISODuration`,(e,t)=>{t.pattern??=nye,$8.init(e,t)}),Zye=$(`$ZodIPv4`,(e,t)=>{t.pattern??=sye,$8.init(e,t),e._zod.bag.format=`ipv4`}),Qye=$(`$ZodIPv6`,(e,t)=>{t.pattern??=cye,$8.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),$ye=$(`$ZodCIDRv4`,(e,t)=>{t.pattern??=lye,$8.init(e,t)}),ebe=$(`$ZodCIDRv6`,(e,t)=>{t.pattern??=uye,$8.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function e5(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var tbe=$(`$ZodBase64`,(e,t)=>{t.pattern??=dye,$8.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{e5(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function nbe(e){if(!H8.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return e5(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var rbe=$(`$ZodBase64URL`,(e,t)=>{t.pattern??=H8,$8.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{nbe(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),ibe=$(`$ZodE164`,(e,t)=>{t.pattern??=fye,$8.init(e,t)});function abe(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var obe=$(`$ZodJWT`,(e,t)=>{$8.init(e,t),e._zod.check=n=>{abe(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),t5=$(`$ZodNumber`,(e,t)=>{Z8.init(e,t),e._zod.pattern=e._zod.bag.pattern??G8,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),sbe=$(`$ZodNumberFormat`,(e,t)=>{Cye.init(e,t),t5.init(e,t)}),cbe=$(`$ZodBoolean`,(e,t)=>{Z8.init(e,t),e._zod.pattern=vye,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),lbe=$(`$ZodNull`,(e,t)=>{Z8.init(e,t),e._zod.pattern=yye,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),ube=$(`$ZodUnknown`,(e,t)=>{Z8.init(e,t),e._zod.parse=e=>e}),dbe=$(`$ZodNever`,(e,t)=>{Z8.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function n5(e,t,n){e.issues.length&&t.issues.push(...k8(n,e.issues)),t.value[n]=e.value}var fbe=$(`$ZodArray`,(e,t)=>{Z8.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>n5(t,n,e))):n5(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function r5(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...k8(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function i5(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=kve(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function a5(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optout===`optional`;for(let i in t){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>r5(e,n,i,t,u))):r5(a,n,i,t,u)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var pbe=$(`$ZodObject`,(e,t)=>{if(Z8.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,`shape`,{get:()=>{let n={...e};return Object.defineProperty(t,`shape`,{value:n}),n}})}let n=p8(()=>i5(t));_8(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=S8,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optout===`optional`,i=n._zod.run({value:s[e],issues:[]},o);i instanceof Promise?c.push(i.then(n=>r5(n,t,e,s,r))):r5(i,t,e,s,r)}return i?a5(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),mbe=$(`$ZodObjectJIT`,(e,t)=>{pbe.init(e,t);let n=e._zod.parse,r=p8(()=>i5(t)),i=e=>{let t=new Pye([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=b8(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=b8(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(`
270
+ if (${n}.issues.length) {
271
+ if (${o} in input) {
272
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
273
+ ...iss,
274
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
275
+ })));
276
+ }
277
+ }
278
+
279
+ if (${n}.value === undefined) {
280
+ if (${o} in input) {
281
+ newResult[${o}] = undefined;
282
+ }
283
+ } else {
284
+ newResult[${o}] = ${n}.value;
285
+ }
286
+
287
+ `):t.write(`
288
+ if (${n}.issues.length) {
289
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
290
+ ...iss,
291
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
292
+ })));
293
+ }
294
+
295
+ if (${n}.value === undefined) {
296
+ if (${o} in input) {
297
+ newResult[${o}] = undefined;
298
+ }
299
+ } else {
300
+ newResult[${o}] = ${n}.value;
301
+ }
302
+
303
+ `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=S8,s=!l8.jitless,c=s&&Dve.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?a5([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function o5(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!O8(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>j8(e,r,u8())))}),t)}var s5=$(`$ZodUnion`,(e,t)=>{Z8.init(e,t),_8(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),_8(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),_8(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),_8(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>h8(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>o5(t,i,e,a)):o5(s,i,e,a)}}),hbe=$(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,s5.init(e,t);let n=e._zod.parse;_8(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=p8(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!S8(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),gbe=$(`$ZodIntersection`,(e,t)=>{Z8.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>l5(e,t,n)):l5(e,i,a)}});function c5(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(C8(e)&&C8(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=c5(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=c5(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function l5(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),O8(e))return e;let o=c5(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var _be=$(`$ZodRecord`,(e,t)=>{Z8.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!C8(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let e of o)if(typeof e==`string`||typeof e==`number`||typeof e==`symbol`){s.add(typeof e==`number`?e.toString():e);let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...k8(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...k8(e,o.issues)),n.value[e]=o.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&G8.test(o)&&s.issues.length&&s.issues.some(e=>e.code===`invalid_type`&&e.expected===`number`)){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>j8(e,r,u8())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...k8(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...k8(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),vbe=$(`$ZodEnum`,(e,t)=>{Z8.init(e,t);let n=d8(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Ove.has(typeof e)).map(e=>typeof e==`string`?T8(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),ybe=$(`$ZodLiteral`,(e,t)=>{if(Z8.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?T8(e):e?T8(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),bbe=$(`$ZodTransform`,(e,t)=>{Z8.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new c8(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new s8;return n.value=i,n}});function u5(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var d5=$(`$ZodOptional`,(e,t)=>{Z8.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,_8(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),_8(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${h8(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>u5(t,e.value)):u5(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),xbe=$(`$ZodExactOptional`,(e,t)=>{d5.init(e,t),_8(e._zod,`values`,()=>t.innerType._zod.values),_8(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Sbe=$(`$ZodNullable`,(e,t)=>{Z8.init(e,t),_8(e._zod,`optin`,()=>t.innerType._zod.optin),_8(e._zod,`optout`,()=>t.innerType._zod.optout),_8(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${h8(e.source)}|null)$`):void 0}),_8(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Cbe=$(`$ZodDefault`,(e,t)=>{Z8.init(e,t),e._zod.optin=`optional`,_8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>f5(e,t)):f5(r,t)}});function f5(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var wbe=$(`$ZodPrefault`,(e,t)=>{Z8.init(e,t),e._zod.optin=`optional`,_8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Tbe=$(`$ZodNonOptional`,(e,t)=>{Z8.init(e,t),_8(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>p5(t,e)):p5(i,e)}});function p5(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var Ebe=$(`$ZodCatch`,(e,t)=>{Z8.init(e,t),_8(e._zod,`optin`,()=>t.innerType._zod.optin),_8(e._zod,`optout`,()=>t.innerType._zod.optout),_8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>j8(e,n,u8()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>j8(e,n,u8()))},input:e.value}),e.issues=[]),e)}}),Dbe=$(`$ZodPipe`,(e,t)=>{Z8.init(e,t),_8(e._zod,`values`,()=>t.in._zod.values),_8(e._zod,`optin`,()=>t.in._zod.optin),_8(e._zod,`optout`,()=>t.out._zod.optout),_8(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>m5(e,t.in,n)):m5(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>m5(e,t.out,n)):m5(r,t.out,n)}});function m5(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Obe=$(`$ZodReadonly`,(e,t)=>{Z8.init(e,t),_8(e._zod,`propValues`,()=>t.innerType._zod.propValues),_8(e._zod,`values`,()=>t.innerType._zod.values),_8(e._zod,`optin`,()=>t.innerType?._zod?.optin),_8(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(h5):h5(r)}});function h5(e){return e.value=Object.freeze(e.value),e}var kbe=$(`$ZodLazy`,(e,t)=>{Z8.init(e,t),_8(e._zod,`innerType`,()=>t.getter()),_8(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),_8(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),_8(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),_8(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),Abe=$(`$ZodCustom`,(e,t)=>{K8.init(e,t),Z8.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>g5(t,n,r,e));g5(i,n,r,e)}});function g5(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(N8(e))}}var _5,jbe=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function Mbe(){return new jbe}(_5=globalThis).__zod_globalRegistry??(_5.__zod_globalRegistry=Mbe());var v5=globalThis.__zod_globalRegistry;function Nbe(e,t){return new e({type:`string`,...D8(t)})}function Pbe(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...D8(t)})}function y5(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...D8(t)})}function Fbe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...D8(t)})}function Ibe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...D8(t)})}function Lbe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...D8(t)})}function Rbe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...D8(t)})}function zbe(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...D8(t)})}function Bbe(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...D8(t)})}function Vbe(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...D8(t)})}function Hbe(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...D8(t)})}function Ube(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...D8(t)})}function Wbe(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...D8(t)})}function Gbe(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...D8(t)})}function Kbe(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...D8(t)})}function qbe(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...D8(t)})}function Jbe(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...D8(t)})}function Ybe(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...D8(t)})}function Xbe(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...D8(t)})}function Zbe(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...D8(t)})}function Qbe(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...D8(t)})}function $be(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...D8(t)})}function exe(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...D8(t)})}function txe(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...D8(t)})}function nxe(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...D8(t)})}function rxe(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...D8(t)})}function ixe(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...D8(t)})}function axe(e,t){return new e({type:`number`,checks:[],...D8(t)})}function oxe(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...D8(t)})}function sxe(e,t){return new e({type:`boolean`,...D8(t)})}function cxe(e,t){return new e({type:`null`,...D8(t)})}function lxe(e){return new e({type:`unknown`})}function uxe(e,t){return new e({type:`never`,...D8(t)})}function b5(e,t){return new J8({check:`less_than`,...D8(t),value:e,inclusive:!1})}function x5(e,t){return new J8({check:`less_than`,...D8(t),value:e,inclusive:!0})}function S5(e,t){return new Y8({check:`greater_than`,...D8(t),value:e,inclusive:!1})}function C5(e,t){return new Y8({check:`greater_than`,...D8(t),value:e,inclusive:!0})}function w5(e,t){return new Sye({check:`multiple_of`,...D8(t),value:e})}function T5(e,t){return new wye({check:`max_length`,...D8(t),maximum:e})}function E5(e,t){return new Tye({check:`min_length`,...D8(t),minimum:e})}function D5(e,t){return new Eye({check:`length_equals`,...D8(t),length:e})}function dxe(e,t){return new Dye({check:`string_format`,format:`regex`,...D8(t),pattern:e})}function fxe(e){return new Oye({check:`string_format`,format:`lowercase`,...D8(e)})}function pxe(e){return new kye({check:`string_format`,format:`uppercase`,...D8(e)})}function mxe(e,t){return new Aye({check:`string_format`,format:`includes`,...D8(t),includes:e})}function hxe(e,t){return new jye({check:`string_format`,format:`starts_with`,...D8(t),prefix:e})}function gxe(e,t){return new Mye({check:`string_format`,format:`ends_with`,...D8(t),suffix:e})}function O5(e){return new Nye({check:`overwrite`,tx:e})}function _xe(e){return O5(t=>t.normalize(e))}function vxe(){return O5(e=>e.trim())}function yxe(){return O5(e=>e.toLowerCase())}function bxe(){return O5(e=>e.toUpperCase())}function xxe(){return O5(e=>Eve(e))}function Sxe(e,t,n){return new e({type:`array`,element:t,...D8(n)})}function Cxe(e,t,n){let r=D8(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function wxe(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...D8(n)})}function Txe(e){let t=Exe(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(N8(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(N8(r))}},e(n.value,n)));return t}function Exe(e,t){let n=new K8({check:`custom`,...D8(t)});return n._zod.check=e,n}function k5(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??v5,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function A5(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,A5(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&N5(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function j5(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
304
+
305
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function M5(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&(e.target===`draft-2020-12`?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:P5(t,`input`,e.processors),output:P5(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function N5(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return N5(r.element,n);if(r.type===`set`)return N5(r.valueType,n);if(r.type===`lazy`)return N5(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===`default`||r.type===`prefault`)return N5(r.innerType,n);if(r.type===`intersection`)return N5(r.left,n)||N5(r.right,n);if(r.type===`record`||r.type===`map`)return N5(r.keyType,n)||N5(r.valueType,n);if(r.type===`pipe`)return N5(r.in,n)||N5(r.out,n);if(r.type===`object`){for(let e in r.shape)if(N5(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(N5(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(N5(e,n))return!0;return!!(r.rest&&N5(r.rest,n))}return!1}var Dxe=(e,t={})=>n=>{let r=k5({...n,processors:t});return A5(e,r),j5(r,e),M5(r,e)},P5=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=k5({...i??{},target:a,io:t,processors:n});return A5(e,o),j5(o,e),M5(o,e)},Oxe={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},F5=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Oxe[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},I5=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`,typeof u==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof a==`number`&&(i.minimum=a,typeof u==`number`&&t.target!==`draft-04`&&(u>=a?delete i.minimum:delete i.exclusiveMinimum)),typeof l==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l),typeof o==`number`&&(i.maximum=o,typeof l==`number`&&t.target!==`draft-04`&&(l<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof c==`number`&&(i.multipleOf=c)},L5=(e,t,n,r)=>{n.type=`boolean`},kxe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},Axe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},R5=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},jxe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},Mxe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},z5=(e,t,n,r)=>{n.not={}},Nxe=(e,t,n,r)=>{},Pxe=(e,t,n,r)=>{},Fxe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},B5=(e,t,n,r)=>{let i=e._zod.def,a=d8(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},V5=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},Ixe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},Lxe=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},Rxe=(e,t,n,r)=>{let i=n,a={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:o,maximum:s,mime:c}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),c?c.length===1?(a.contentMediaType=c[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=c.map(e=>({contentMediaType:e}))):Object.assign(i,a)},zxe=(e,t,n,r)=>{n.type=`boolean`},H5=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},Bxe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},U5=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},Vxe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},Hxe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},W5=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=A5(a.element,t,{...r,path:[...r.path,`items`]})},G5=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=A5(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=A5(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},K5=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>A5(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},q5=(e,t,n,r)=>{let i=e._zod.def,a=A5(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=A5(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},Uxe=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>A5(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?A5(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},J5=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=A5(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else (t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=A5(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=A5(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},Y5=(e,t,n,r)=>{let i=e._zod.def,a=A5(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},X5=(e,t,n,r)=>{let i=e._zod.def;A5(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Z5=(e,t,n,r)=>{let i=e._zod.def;A5(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},Q5=(e,t,n,r)=>{let i=e._zod.def;A5(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},$5=(e,t,n,r)=>{let i=e._zod.def;A5(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},e7=(e,t,n,r)=>{let i=e._zod.def,a=t.io===`input`?i.in._zod.def.type===`transform`?i.out:i.in:i.out;A5(a,t,r);let o=t.seen.get(e);o.ref=a},t7=(e,t,n,r)=>{let i=e._zod.def;A5(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Wxe=(e,t,n,r)=>{let i=e._zod.def;A5(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},n7=(e,t,n,r)=>{let i=e._zod.def;A5(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},r7=(e,t,n,r)=>{let i=e._zod.innerType;A5(i,t,r);let a=t.seen.get(e);a.ref=i},i7={string:F5,number:I5,boolean:L5,bigint:kxe,symbol:Axe,null:R5,undefined:jxe,void:Mxe,never:z5,any:Nxe,unknown:Pxe,date:Fxe,enum:B5,literal:V5,nan:Ixe,template_literal:Lxe,file:Rxe,success:zxe,custom:H5,function:Bxe,transform:U5,map:Vxe,set:Hxe,array:W5,object:G5,union:K5,intersection:q5,tuple:Uxe,record:J5,nullable:Y5,nonoptional:X5,default:Z5,prefault:Q5,catch:$5,pipe:e7,readonly:t7,promise:Wxe,optional:n7,lazy:r7};function Gxe(e,t){if(`_idmap`in e){let n=e,r=k5({...t,processors:i7}),i={};for(let e of n._idmap.entries()){let[t,n]=e;A5(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;j5(r,n),a[t]=M5(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=k5({...t,processors:i7});return A5(e,n),j5(n,e),M5(n,e)}var Kxe=$(`ZodISODateTime`,(e,t)=>{qye.init(e,t),d7.init(e,t)});function qxe(e){return txe(Kxe,e)}var Jxe=$(`ZodISODate`,(e,t)=>{Jye.init(e,t),d7.init(e,t)});function Yxe(e){return nxe(Jxe,e)}var Xxe=$(`ZodISOTime`,(e,t)=>{Yye.init(e,t),d7.init(e,t)});function Zxe(e){return rxe(Xxe,e)}var Qxe=$(`ZodISODuration`,(e,t)=>{Xye.init(e,t),d7.init(e,t)});function $xe(e){return ixe(Qxe,e)}var a7=(e,t)=>{F8.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>zve(e,t)},flatten:{value:t=>Rve(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,f8,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,f8,2)}},isEmpty:{get(){return e.issues.length===0}}})};$(`ZodError`,a7);var o7=$(`ZodError`,a7,{Parent:Error}),eSe=L8(o7),tSe=R8(o7),nSe=z8(o7),s7=B8(o7),rSe=Hve(o7),iSe=Uve(o7),aSe=Wve(o7),oSe=Gve(o7),sSe=Kve(o7),cSe=qve(o7),lSe=Jve(o7),uSe=Yve(o7),c7=$(`ZodType`,(e,t)=>(Z8.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:P5(e,`input`),output:P5(e,`output`)}}),e.toJSONSchema=Dxe(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.check=(...n)=>e.clone(y8(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>E8(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>eSe(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>nSe(e,t,n),e.parseAsync=async(t,n)=>tSe(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>s7(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>rSe(e,t,n),e.decode=(t,n)=>iSe(e,t,n),e.encodeAsync=async(t,n)=>aSe(e,t,n),e.decodeAsync=async(t,n)=>oSe(e,t,n),e.safeEncode=(t,n)=>sSe(e,t,n),e.safeDecode=(t,n)=>cSe(e,t,n),e.safeEncodeAsync=async(t,n)=>lSe(e,t,n),e.safeDecodeAsync=async(t,n)=>uSe(e,t,n),e.refine=(t,n)=>e.check(sCe(t,n)),e.superRefine=t=>e.check(cCe(t)),e.overwrite=t=>e.check(O5(t)),e.optional=()=>k7(e),e.exactOptional=()=>qSe(e),e.nullable=()=>A7(e),e.nullish=()=>k7(A7(e)),e.nonoptional=t=>$Se(e,t),e.array=()=>v7(e),e.or=t=>S7([e,t]),e.and=t=>VSe(e,t),e.transform=t=>N7(e,GSe(t)),e.default=t=>XSe(e,t),e.prefault=t=>QSe(e,t),e.catch=t=>M7(e,t),e.pipe=t=>N7(e,t),e.readonly=()=>rCe(e),e.describe=t=>{let n=e.clone();return v5.add(n,{description:t}),n},Object.defineProperty(e,`description`,{get(){return v5.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return v5.get(e);let n=e.clone();return v5.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),l7=$(`_ZodString`,(e,t)=>{Q8.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>F5(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(dxe(...t)),e.includes=(...t)=>e.check(mxe(...t)),e.startsWith=(...t)=>e.check(hxe(...t)),e.endsWith=(...t)=>e.check(gxe(...t)),e.min=(...t)=>e.check(E5(...t)),e.max=(...t)=>e.check(T5(...t)),e.length=(...t)=>e.check(D5(...t)),e.nonempty=(...t)=>e.check(E5(1,...t)),e.lowercase=t=>e.check(fxe(t)),e.uppercase=t=>e.check(pxe(t)),e.trim=()=>e.check(vxe()),e.normalize=(...t)=>e.check(_xe(...t)),e.toLowerCase=()=>e.check(yxe()),e.toUpperCase=()=>e.check(bxe()),e.slugify=()=>e.check(xxe())}),dSe=$(`ZodString`,(e,t)=>{Q8.init(e,t),l7.init(e,t),e.email=t=>e.check(Pbe(fSe,t)),e.url=t=>e.check(zbe(pSe,t)),e.jwt=t=>e.check(exe(OSe,t)),e.emoji=t=>e.check(Bbe(mSe,t)),e.guid=t=>e.check(y5(f7,t)),e.uuid=t=>e.check(Fbe(p7,t)),e.uuidv4=t=>e.check(Ibe(p7,t)),e.uuidv6=t=>e.check(Lbe(p7,t)),e.uuidv7=t=>e.check(Rbe(p7,t)),e.nanoid=t=>e.check(Vbe(hSe,t)),e.guid=t=>e.check(y5(f7,t)),e.cuid=t=>e.check(Hbe(gSe,t)),e.cuid2=t=>e.check(Ube(_Se,t)),e.ulid=t=>e.check(Wbe(vSe,t)),e.base64=t=>e.check(Zbe(TSe,t)),e.base64url=t=>e.check(Qbe(ESe,t)),e.xid=t=>e.check(Gbe(ySe,t)),e.ksuid=t=>e.check(Kbe(bSe,t)),e.ipv4=t=>e.check(qbe(xSe,t)),e.ipv6=t=>e.check(Jbe(SSe,t)),e.cidrv4=t=>e.check(Ybe(CSe,t)),e.cidrv6=t=>e.check(Xbe(wSe,t)),e.e164=t=>e.check($be(DSe,t)),e.datetime=t=>e.check(qxe(t)),e.date=t=>e.check(Yxe(t)),e.time=t=>e.check(Zxe(t)),e.duration=t=>e.check($xe(t))});function u7(e){return Nbe(dSe,e)}var d7=$(`ZodStringFormat`,(e,t)=>{$8.init(e,t),l7.init(e,t)}),fSe=$(`ZodEmail`,(e,t)=>{Rye.init(e,t),d7.init(e,t)}),f7=$(`ZodGUID`,(e,t)=>{Iye.init(e,t),d7.init(e,t)}),p7=$(`ZodUUID`,(e,t)=>{Lye.init(e,t),d7.init(e,t)}),pSe=$(`ZodURL`,(e,t)=>{zye.init(e,t),d7.init(e,t)}),mSe=$(`ZodEmoji`,(e,t)=>{Bye.init(e,t),d7.init(e,t)}),hSe=$(`ZodNanoID`,(e,t)=>{Vye.init(e,t),d7.init(e,t)}),gSe=$(`ZodCUID`,(e,t)=>{Hye.init(e,t),d7.init(e,t)}),_Se=$(`ZodCUID2`,(e,t)=>{Uye.init(e,t),d7.init(e,t)}),vSe=$(`ZodULID`,(e,t)=>{Wye.init(e,t),d7.init(e,t)}),ySe=$(`ZodXID`,(e,t)=>{Gye.init(e,t),d7.init(e,t)}),bSe=$(`ZodKSUID`,(e,t)=>{Kye.init(e,t),d7.init(e,t)}),xSe=$(`ZodIPv4`,(e,t)=>{Zye.init(e,t),d7.init(e,t)}),SSe=$(`ZodIPv6`,(e,t)=>{Qye.init(e,t),d7.init(e,t)}),CSe=$(`ZodCIDRv4`,(e,t)=>{$ye.init(e,t),d7.init(e,t)}),wSe=$(`ZodCIDRv6`,(e,t)=>{ebe.init(e,t),d7.init(e,t)}),TSe=$(`ZodBase64`,(e,t)=>{tbe.init(e,t),d7.init(e,t)}),ESe=$(`ZodBase64URL`,(e,t)=>{rbe.init(e,t),d7.init(e,t)}),DSe=$(`ZodE164`,(e,t)=>{ibe.init(e,t),d7.init(e,t)}),OSe=$(`ZodJWT`,(e,t)=>{obe.init(e,t),d7.init(e,t)}),m7=$(`ZodNumber`,(e,t)=>{t5.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>I5(e,t,n,r),e.gt=(t,n)=>e.check(S5(t,n)),e.gte=(t,n)=>e.check(C5(t,n)),e.min=(t,n)=>e.check(C5(t,n)),e.lt=(t,n)=>e.check(b5(t,n)),e.lte=(t,n)=>e.check(x5(t,n)),e.max=(t,n)=>e.check(x5(t,n)),e.int=t=>e.check(h7(t)),e.safe=t=>e.check(h7(t)),e.positive=t=>e.check(S5(0,t)),e.nonnegative=t=>e.check(C5(0,t)),e.negative=t=>e.check(b5(0,t)),e.nonpositive=t=>e.check(x5(0,t)),e.multipleOf=(t,n)=>e.check(w5(t,n)),e.step=(t,n)=>e.check(w5(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function kSe(e){return axe(m7,e)}var ASe=$(`ZodNumberFormat`,(e,t)=>{sbe.init(e,t),m7.init(e,t)});function h7(e){return oxe(ASe,e)}var jSe=$(`ZodBoolean`,(e,t)=>{cbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>L5(e,t,n,r)});function MSe(e){return sxe(jSe,e)}var NSe=$(`ZodNull`,(e,t)=>{lbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>R5(e,t,n,r)});function PSe(e){return cxe(NSe,e)}var FSe=$(`ZodUnknown`,(e,t)=>{ube.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function g7(){return lxe(FSe)}var ISe=$(`ZodNever`,(e,t)=>{dbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>z5(e,t,n,r)});function _7(e){return uxe(ISe,e)}var LSe=$(`ZodArray`,(e,t)=>{fbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>W5(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(E5(t,n)),e.nonempty=t=>e.check(E5(1,t)),e.max=(t,n)=>e.check(T5(t,n)),e.length=(t,n)=>e.check(D5(t,n)),e.unwrap=()=>e.element});function v7(e,t){return Sxe(LSe,e,t)}var y7=$(`ZodObject`,(e,t)=>{mbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>G5(e,t,n,r),_8(e,`shape`,()=>t.shape),e.keyof=()=>E7(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:g7()}),e.loose=()=>e.clone({...e._zod.def,catchall:g7()}),e.strict=()=>e.clone({...e._zod.def,catchall:_7()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>Nve(e,t),e.safeExtend=t=>Pve(e,t),e.merge=t=>Fve(e,t),e.pick=t=>jve(e,t),e.omit=t=>Mve(e,t),e.partial=(...t)=>Ive(O7,e,t[0]),e.required=(...t)=>Lve(j7,e,t[0])});function b7(e,t){return new y7({type:`object`,shape:e??{},...D8(t)})}function RSe(e,t){return new y7({type:`object`,shape:e,catchall:_7(),...D8(t)})}var x7=$(`ZodUnion`,(e,t)=>{s5.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>K5(e,t,n,r),e.options=t.options});function S7(e,t){return new x7({type:`union`,options:e,...D8(t)})}var zSe=$(`ZodDiscriminatedUnion`,(e,t)=>{x7.init(e,t),hbe.init(e,t)});function C7(e,t,n){return new zSe({type:`union`,options:t,discriminator:e,...D8(n)})}var BSe=$(`ZodIntersection`,(e,t)=>{gbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>q5(e,t,n,r)});function VSe(e,t){return new BSe({type:`intersection`,left:e,right:t})}var HSe=$(`ZodRecord`,(e,t)=>{_be.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>J5(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function w7(e,t,n){return new HSe({type:`record`,keyType:e,valueType:t,...D8(n)})}var T7=$(`ZodEnum`,(e,t)=>{vbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>B5(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new T7({...t,checks:[],...D8(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new T7({...t,checks:[],...D8(r),entries:i})}});function E7(e,t){return new T7({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...D8(t)})}var USe=$(`ZodLiteral`,(e,t)=>{ybe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>V5(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,`value`,{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function D7(e,t){return new USe({type:`literal`,values:Array.isArray(e)?e:[e],...D8(t)})}var WSe=$(`ZodTransform`,(e,t)=>{bbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>U5(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new c8(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(N8(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(N8(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function GSe(e){return new WSe({type:`transform`,transform:e})}var O7=$(`ZodOptional`,(e,t)=>{d5.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>n7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function k7(e){return new O7({type:`optional`,innerType:e})}var KSe=$(`ZodExactOptional`,(e,t)=>{xbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>n7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function qSe(e){return new KSe({type:`optional`,innerType:e})}var JSe=$(`ZodNullable`,(e,t)=>{Sbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Y5(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function A7(e){return new JSe({type:`nullable`,innerType:e})}var YSe=$(`ZodDefault`,(e,t)=>{Cbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Z5(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function XSe(e,t){return new YSe({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():w8(t)}})}var ZSe=$(`ZodPrefault`,(e,t)=>{wbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Q5(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function QSe(e,t){return new ZSe({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():w8(t)}})}var j7=$(`ZodNonOptional`,(e,t)=>{Tbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>X5(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function $Se(e,t){return new j7({type:`nonoptional`,innerType:e,...D8(t)})}var eCe=$(`ZodCatch`,(e,t)=>{Ebe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$5(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function M7(e,t){return new eCe({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var tCe=$(`ZodPipe`,(e,t)=>{Dbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>e7(e,t,n,r),e.in=t.in,e.out=t.out});function N7(e,t){return new tCe({type:`pipe`,in:e,out:t})}var nCe=$(`ZodReadonly`,(e,t)=>{Obe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>t7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function rCe(e){return new nCe({type:`readonly`,innerType:e})}var iCe=$(`ZodLazy`,(e,t)=>{kbe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r7(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function aCe(e){return new iCe({type:`lazy`,getter:e})}var P7=$(`ZodCustom`,(e,t)=>{Abe.init(e,t),c7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>H5(e,t,n,r)});function oCe(e,t){return Cxe(P7,e??(()=>!0),t)}function sCe(e,t={}){return wxe(P7,e,t)}function cCe(e){return Txe(e)}function lCe(e,t={}){let n=new P7({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...D8(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}var uCe=u7().min(7).default(()=>pG()),F7=b7({description:u7().optional()}),I7=b7({uid:uCe.brand(),nameKey:u7().optional().default(``)}),L7=F7.extend({type:D7(`apiKey`),name:u7().optional().default(``),in:E7([`query`,`header`,`cookie`]).optional().default(`header`).catch(`header`)}),dCe=b7({value:u7().default(``)}),fCe=L7.merge(I7).merge(dCe),R7=F7.extend({type:D7(`http`),scheme:u7().toLowerCase().pipe(E7([`basic`,`bearer`])).optional().default(`basic`),bearerFormat:S7([D7(`JWT`),u7()]).optional().default(`JWT`)}),pCe=b7({username:u7().default(``),password:u7().default(``),token:u7().default(``)}),mCe=R7.merge(I7).merge(pCe),z7=F7.extend({type:D7(`openIdConnect`),openIdConnectUrl:u7().optional().default(``)}),hCe=z7.merge(I7),B7=u7().default(``),V7=u7().default(``),H7=b7({refreshUrl:u7().optional().default(``),scopes:w7(u7(),u7().optional().default(``)).optional().default({}).catch({}),selectedScopes:v7(u7()).optional().default([]),"x-scalar-client-id":u7().optional().default(``),token:u7().default(``),"x-scalar-security-query":w7(u7(),u7()).optional(),"x-scalar-security-body":w7(u7(),u7()).optional(),"x-tokenName":u7().optional()}),U7=typeof window<`u`?window.location.origin+window.location.pathname:``,W7=[`SHA-256`,`plain`,`no`],G7=E7([`header`,`body`]).optional(),K7=F7.extend({type:D7(`oauth2`),"x-default-scopes":v7(u7()).optional(),flows:b7({implicit:H7.extend({type:D7(`implicit`).default(`implicit`),authorizationUrl:B7,"x-scalar-redirect-uri":u7().optional().default(U7)}),password:H7.extend({type:D7(`password`).default(`password`),tokenUrl:V7,clientSecret:u7().default(``),username:u7().default(``),password:u7().default(``),"x-scalar-credentials-location":G7}),clientCredentials:H7.extend({type:D7(`clientCredentials`).default(`clientCredentials`),tokenUrl:V7,clientSecret:u7().default(``),"x-scalar-credentials-location":G7}),authorizationCode:H7.extend({type:D7(`authorizationCode`).default(`authorizationCode`),authorizationUrl:B7,"x-usePkce":E7(W7).optional().default(`no`),"x-scalar-redirect-uri":u7().optional().default(U7),tokenUrl:V7,clientSecret:u7().default(``),"x-scalar-credentials-location":G7})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":``,refreshUrl:``,token:``,type:`implicit`,authorizationUrl:`http://localhost:8080`,"x-scalar-redirect-uri":U7}})}),gCe=K7.merge(I7);w7(u7(),v7(u7()).optional().default([])),S7([L7,R7,K7,z7]),C7(`type`,[fCe,mCe,hCe,gCe]).transform(e=>(e.type===`oauth2`&&e[`x-default-scopes`]?.length&&Object.keys(e.flows).forEach(t=>{e.flows[t]?.selectedScopes&&e[`x-default-scopes`]&&(e.flows[t].selectedScopes=[e[`x-default-scopes`]].flat())}),e));var _Ce={class:`flex h-8 items-center justify-end gap-2 border-t`},vCe={class:`flex h-8 w-full items-center justify-end border-t`},yCe=w({__name:`OAuth2`,props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=o8(),{toast:i}=a8(),a=j(()=>e.flows[e.type]),o=j(()=>{let t=a.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),s=j(()=>{if(!(`x-scalar-secret-client-secret`in a.value))return!1;let e=`x-usePkce`in a.value?a.value[`x-usePkce`]:void 0;return e!==`SHA-256`&&e!==`plain`}),c=j(()=>a.value[`x-scalar-secret-client-secret`]??``),l=t=>{if(e.scheme.type===`openIdConnect`)return u(t);e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},u=t=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:e.scheme.type,[e.type]:t},name:e.name}),d=()=>{r.isLoading||e.eventBus.emit(`auth:clear:security-scheme-secrets`,{name:e.name})},f=()=>{r.isLoading||u({"x-scalar-secret-token":``,"x-scalar-secret-refresh-token":``})},p=A(null),m=A(!1),h=t=>JSON.stringify({type:e.type,authorizationUrl:t&&`authorizationUrl`in t?t.authorizationUrl:``,tokenUrl:t&&`tokenUrl`in t?t.tokenUrl:``,refreshUrl:t?.refreshUrl??``,scopes:Object.keys(t?.scopes??{})});Xe(()=>a.value,t=>{if(!t||!(`x-scalar-secret-redirect-uri`in t))return;let n=h(t);if(p.value!==n&&(p.value=n,m.value=!1),m.value)return;let r=t[`x-scalar-secret-redirect-uri`],i=N_e(e.options);m.value=!0,!(r||!i)&&u({"x-scalar-secret-redirect-uri":i})},{immediate:!0});let g=async()=>{if(r.isLoading)return;r.start();let[t,n]=await j_e(e.flows,e.type,o.value,e.server,e.proxyUrl,Vw(e.environment),e.options.customFetch);await r.clear(),n?.accessToken?u({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),i(t?.message??`Failed to authorize`,`error`))},_=j(()=>e.type!==`implicit`),v=j(()=>`tokenUrl`in a.value&&a.value.tokenUrl?a.value.tokenUrl:`https://galaxy.scalar.com/oauth/refresh`),b=async()=>{if(r.isLoading||e.type===`implicit`)return;r.start();let[t,n]=await M_e(e.flows,e.type,e.proxyUrl,e.server,Vw(e.environment),e.options.customFetch);await r.clear(),n?.accessToken?u({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),i(t?.message??`Failed to refresh token`,`error`))},ee=t=>{let n=t===`body`?`body`:`header`;e.scheme.type!==`openIdConnect`&&l({"x-scalar-credentials-location":n}),u({"x-scalar-credentials-location":n})};return(t,i)=>a.value[`x-scalar-secret-token`]?(y(),M(Ne,{key:0},[D(T(xG),null,{default:E(()=>[D(H6,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":i[0]||=e=>u({"x-scalar-secret-token":e})},{default:E(()=>[...i[14]||=[tt(` Access Token `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),_.value?(y(),O(T(xG),{key:0},{default:E(()=>[D(H6,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value.refreshUrl??``,placeholder:v.value,"onUpdate:modelValue":i[1]||=e=>l({refreshUrl:e})},{default:E(()=>[...i[15]||=[tt(` Refresh URL `,-1)]]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):k(``,!0),D(T(xG),{class:`min-w-full`},{default:E(()=>[N(`div`,_Ce,[_.value?(y(),O(T(jz),{key:0,class:`p-0 px-2 py-0.5`,loader:T(r),size:`sm`,variant:`outlined`,onClick:b},{default:E(()=>[...i[16]||=[tt(` Refresh `,-1)]]),_:1},8,[`loader`])):k(``,!0),D(T(jz),{class:`mr-1 p-0 px-2 py-0.5`,disabled:T(r).isLoading,size:`sm`,variant:`outlined`,onClick:f},{default:E(()=>[...i[17]||=[tt(` Clear `,-1)]]),_:1},8,[`disabled`])])]),_:1})],64)):(y(),M(Ne,{key:1},[D(T(xG),null,{default:E(()=>[`authorizationUrl`in a.value?(y(),O(H6,{key:0,containerClass:`border-r-0`,environment:e.environment,modelValue:a.value[`x-scalar-secret-auth-url`]??``,placeholder:`https://galaxy.scalar.com/authorize`,"onUpdate:modelValue":i[2]||=e=>{u({"x-scalar-secret-auth-url":e}),l({authorizationUrl:e})}},{default:E(()=>[...i[18]||=[tt(` Auth URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):k(``,!0),`tokenUrl`in a.value?(y(),O(H6,{key:1,environment:e.environment,modelValue:a.value[`x-scalar-secret-token-url`]??``,placeholder:`https://galaxy.scalar.com/token`,"onUpdate:modelValue":i[3]||=e=>{u({"x-scalar-secret-token-url":e}),l({tokenUrl:e})}},{default:E(()=>[...i[19]||=[tt(` Token URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):k(``,!0)]),_:1}),`x-scalar-secret-redirect-uri`in a.value?(y(),O(T(xG),{key:0},{default:E(()=>[D(H6,{environment:e.environment,modelValue:a.value[`x-scalar-secret-redirect-uri`],placeholder:`Optional redirect URL`,"onUpdate:modelValue":i[4]||=e=>{m.value=!0,u({"x-scalar-secret-redirect-uri":e})}},{default:E(()=>[...i[20]||=[tt(` Redirect URL `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})):k(``,!0),`x-scalar-secret-username`in a.value&&`x-scalar-secret-password`in a.value?(y(),M(Ne,{key:1},[D(T(xG),null,{default:E(()=>[D(H6,{class:`text-c-2`,environment:e.environment,modelValue:a.value[`x-scalar-secret-username`],placeholder:`janedoe`,"onUpdate:modelValue":i[5]||=e=>u({"x-scalar-secret-username":e})},{default:E(()=>[...i[21]||=[tt(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),D(T(xG),null,{default:E(()=>[D(H6,{environment:e.environment,modelValue:a.value[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":i[6]||=e=>u({"x-scalar-secret-password":e})},{default:E(()=>[...i[22]||=[tt(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})],64)):k(``,!0),D(T(xG),null,{default:E(()=>[D(H6,{environment:e.environment,modelValue:a.value[`x-scalar-secret-client-id`],placeholder:`12345`,"onUpdate:modelValue":i[7]||=e=>u({"x-scalar-secret-client-id":e})},{default:E(()=>[...i[23]||=[tt(` Client ID `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),s.value?(y(),O(T(xG),{key:2},{default:E(()=>[D(H6,{environment:e.environment,modelValue:c.value,placeholder:`XYZ123`,type:`password`,"onUpdate:modelValue":i[8]||=e=>u({"x-scalar-secret-client-secret":e})},{default:E(()=>[...i[24]||=[tt(` Client Secret `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})):k(``,!0),`x-usePkce`in a.value?(y(),O(T(xG),{key:3},{default:E(()=>[D(H6,{enum:T(W7),environment:e.environment,modelValue:a.value[`x-usePkce`],readOnly:``,"onUpdate:modelValue":i[9]||=e=>l({"x-usePkce":e})},{default:E(()=>[...i[25]||=[tt(` Use PKCE `,-1)]]),_:1},8,[`enum`,`environment`,`modelValue`])]),_:1})):k(``,!0),e.type===`implicit`?k(``,!0):(y(),O(T(xG),{key:4},{default:E(()=>[D(H6,{enum:[`header`,`body`],environment:e.environment,modelValue:a.value[`x-scalar-credentials-location`]||`header`,placeholder:`header`,readOnly:``,"onUpdate:modelValue":i[10]||=e=>ee(e)},{default:E(()=>[...i[26]||=[tt(` Credentials Location `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})),D(T(xG),null,{default:E(()=>[D(E_e,{flow:a.value,flowType:e.type,selectedScopes:o.value,"onUpdate:selectedScopes":i[11]||=e=>n(`update:selectedScopes`,e),"onUpsert:scope":i[12]||=e=>n(`upsert:scope`,e),"onDelete:scope":i[13]||=e=>n(`delete:scope`,e)},null,8,[`flow`,`flowType`,`selectedScopes`])]),_:1}),D(T(xG),{class:`min-w-full`},{default:E(()=>[N(`div`,vCe,[e.scheme.type===`openIdConnect`?(y(),O(T(jz),{key:0,class:`mr-1 p-0 px-2 py-0.5`,disabled:T(r).isLoading,size:`sm`,variant:`outlined`,onClick:d},{default:E(()=>[...i[27]||=[tt(` Clear `,-1)]]),_:1},8,[`disabled`])):k(``,!0),D(T(jz),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:T(r),size:`sm`,variant:`outlined`,onClick:g},{default:E(()=>[...i[28]||=[tt(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1})],64))}}),bCe=V.Object({authorization_endpoint:V.Optional(V.String()),token_endpoint:V.Optional(V.String()),scopes_supported:V.Optional(V.Array(V.String())),grant_types_supported:V.Optional(V.Array(V.String())),code_challenge_methods_supported:V.Optional(V.Array(V.String()))}),xCe=async(e,t,n=fetch)=>{try{let r=e.trim();if(!r)return[Error(`URL cannot be empty`),null];r.endsWith(`/`)&&(r=r.slice(0,-1)),r.includes(`/.well-known/openid-configuration`)||(r=`${r}/.well-known/openid-configuration`);let i=await n(nw(t,r));if(!i.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${i.status} ${i.statusText}`),null];let a=px(bCe,await i.json());return!a.authorization_endpoint&&!a.token_endpoint?[Error(`Invalid OpenID Connect discovery document: missing required endpoints`),null]:[null,a]}catch(e){return e instanceof Error?[e,null]:[Error(`Failed to fetch OpenID Connect discovery document`),null]}},SCe=Rv(V.Object({type:V.Literal(`apiKey`)}),qS),CCe=Rv(V.Object({type:V.Literal(`http`)}),qS,JS),q7=Rv(Nre,qS,Ore),wCe=V.Object({implicit:V.Optional(Rv(q7,XS)),password:V.Optional(Rv(q7,JS,YS,KS)),clientCredentials:V.Optional(Rv(q7,YS,KS)),authorizationCode:V.Optional(Rv(q7,YS,XS,KS))}),TCe=Rv(V.Object({type:V.Literal(`oauth2`)}),wCe),J7=V.Object({type:V.Literal(`openIdConnect`),implicit:V.Optional(Rv(QS,q7,XS)),password:V.Optional(Rv($S,q7,JS,YS,KS)),clientCredentials:V.Optional(Rv(eC,q7,YS,KS)),authorizationCode:V.Optional(Rv(tC,q7,YS,XS,KS))}),Y7=V.Union([SCe,CCe,TCe,J7]),ECe=V.Record(V.String(),Y7),X7=V.Object({selectedIndex:V.Number(),selectedSchemes:V.Array(sae)}),Z7=V.Object({secrets:ECe,selected:V.Object({document:V.Optional(X7),path:V.Optional(V.Record(V.String(),V.Record(V.String(),V.Optional(X7))))})}),DCe=V.Record(V.String(),Z7);function OCe(e){return e.startsWith(`#`)}var Q7=(e,t)=>{Object.assign(e,t)},kCe=({hooks:e}={})=>{let t=Be({});return{clearAuthSelectedSchemas:n=>{let r=t[n.documentName];if(!r)return;if(n.type===`document`){delete r.selected.document,e?.onAuthChange?.(n.documentName);return}qw(n.method),qw(n.path);let i=r.selected.path?.[n.path];i&&(delete i[n.method],e?.onAuthChange?.(n.documentName))},getAuthSecrets:(e,n)=>t[e]?.secrets?.[n],setAuthSecrets:(n,r,i)=>{t[n]||={secrets:{},selected:{document:void 0,path:void 0}},t[n].secrets[r]=px(Y7,i),e?.onAuthChange?.(n)},clearAuthSecrets:(n,r)=>{delete t[n]?.secrets?.[r],e?.onAuthChange?.(n)},getAuthSelectedSchemas:e=>e.type===`document`?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],setAuthSelectedSchemas:(n,r)=>{t[n.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};let i=t[n.documentName];if(n.type===`document`)i.selected.document=r;else{qw(n.path),qw(n.method),i.selected.path||={},i.selected.path[n.path]||={};let e=i.selected.path[n.path];e[n.method]=r}e?.onAuthChange?.(n.documentName)},clearDocumentAuth:n=>{delete t[n],e?.onAuthChange?.(n)},load:n=>{Q7(t,px(DCe,n)),Object.keys(n).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>Lc(t)}},ACe=e=>{let t=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,``])),n=new Set(e.grant_types_supported??[`authorization_code`,`implicit`]),r=e.authorization_endpoint,i=e.token_endpoint,a=e.code_challenge_methods_supported?.includes(`S256`)?`SHA-256`:e.code_challenge_methods_supported?.includes(`plain`)?`plain`:`no`,o={};return n.has(`implicit`)&&r&&(o.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),n.has(`password`)&&i&&(o.password={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`client_credentials`)&&i&&(o.clientCredentials={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`authorization_code`)&&r&&i&&(o.authorizationCode={authorizationUrl:r,tokenUrl:i,refreshUrl:i,"x-usePkce":a,scopes:t}),px(J7,o)},jCe={class:`flex h-8 w-full items-center justify-end border-t`},MCe=w({__name:`OpenIDConnect`,props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){let t=o8(),{toast:n}=a8(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,i]=await xCe(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await t.clear(),r){console.error(r),n(r?.message??`Failed to fetch OpenID Connect configuration`,`error`);return}let a=ACe(i);e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:a,name:e.name,overwrite:!0})},i=t=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`openIdConnect`,openIdConnectUrl:t},name:e.name});return(n,a)=>(y(),M(Ne,null,[D(T(xG),null,{default:E(()=>[D(H6,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:`https://example.com/.well-known/openid-configuration`,required:``,"onUpdate:modelValue":i},{default:E(()=>[...a[0]||=[tt(` Discovery URL `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`])]),_:1}),D(T(xG),{class:`min-w-full`},{default:E(()=>[N(`div`,jCe,[D(T(jz),{class:`mr-0.75 p-0 px-2 py-0.5`,disabled:!e.scheme.openIdConnectUrl,loader:T(t),size:`sm`,variant:`outlined`,onClick:r},{default:E(()=>[...a[1]||=[tt(` Fetch Configuration `,-1)]]),_:1},8,[`disabled`,`loader`])])]),_:1})],64))}}),NCe={class:`bg-b-1 min-w-0 flex-1 px-3 py-1.25`},PCe={class:`text-c-1 leading-5.5 font-medium`},FCe={class:`flex min-h-8 border-t text-base`},ICe={class:`flex h-8 max-w-full gap-2.5 overflow-x-auto px-3`},LCe=[`onClick`],RCe={class:`relative z-10`},zCe={key:5,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},BCe=w({__name:`RequestAuthTab`,props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=j(()=>Object.entries(e.selectedSecuritySchemas).map(([t,n=[]])=>({scheme:L(e.securitySchemes[t]),name:t,scopes:n}))),i=A(``),a=j(()=>r.value.flatMap(({scheme:e})=>e?.type!==`oauth2`&&e?.type!==`openIdConnect`?[]:Object.keys(e.flows??{})).includes(i.value)?i.value:``),o=e=>{i.value=e},s=j(()=>r.value.length>1),c=(e,t)=>{let n=C(e);switch(t.type){case`apiKey`:return`${n}: ${t.in}`;case`openIdConnect`:case`oauth2`:{let e=Object.keys(t.flows??{})[0],r=a.value||e;return r?`${n}: ${r}`:n}case`http`:return`${n}: ${t.scheme}`;default:return n}},l=(e,t)=>a.value===e||t===0&&!a.value,u=()=>e.isStatic&&`border-t`,d=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,...t},name:n}),f=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`apiKey`,...t},name:n}),p=(t,n)=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`apiKey`,...t},name:n}),m=(t,r)=>{n(`update:selectedScopes`,{id:Object.keys(e.selectedSecuritySchemas),name:t,...r})},h=(e,t)=>{n(`upsert:scope`,{...t,name:e})},g=(e,t)=>{n(`delete:scope`,{...t,name:e})},b=(t,n)=>{let r=`floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium`;return l(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?`opacity-100`:``}`:r};return(t,n)=>(y(!0),M(Ne,null,_(r.value,({scheme:t,name:r,scopes:i})=>(y(),M(Ne,{key:r},[s.value&&t?(y(),O(T(xG),{key:0},{default:E(()=>[D(T(_G),{"aria-label":c(r,t),class:`max-h-[auto]`},{default:E(()=>[N(`div`,NCe,[N(`p`,PCe,be(c(r,t)),1),t.description?(y(),O(T(p6),{key:0,class:`auth-description text-c-2 w-full`,value:t.description},null,8,[`value`])):k(``,!0)])]),_:2},1032,[`aria-label`])]),_:2},1024)):k(``,!0),t?.description&&!s.value?(y(),O(T(xG),{key:1},{default:E(()=>[D(T(_G),{"aria-label":t.description,class:`max-h-[auto]`},{default:E(()=>[D(T(p6),{class:`auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25`,value:t.description},null,8,[`value`])]),_:2},1032,[`aria-label`])]),_:2},1024)):k(``,!0),t?.type===`http`?(y(),M(Ne,{key:2},[t.scheme===`bearer`?(y(),O(T(xG),{key:0},{default:E(()=>[D(H6,{containerClass:u(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`Token`,type:`password`,"onUpdate:modelValue":e=>d({"x-scalar-secret-token":e},r)},{default:E(()=>[...n[0]||=[tt(` Bearer Token `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):t?.scheme===`basic`?(y(),M(Ne,{key:1},[D(T(xG),null,{default:E(()=>[D(H6,{class:`text-c-2`,environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>d({"x-scalar-secret-username":e},r)},{default:E(()=>[...n[1]||=[tt(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),D(T(xG),null,{default:E(()=>[D(H6,{environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>d({"x-scalar-secret-password":e},r)},{default:E(()=>[...n[2]||=[tt(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):k(``,!0)],64)):t?.type===`apiKey`?(y(),M(Ne,{key:3},[D(T(xG),null,{default:E(()=>[D(H6,{containerClass:u(),environment:e.environment,modelValue:t.name,placeholder:`api-key`,"onUpdate:modelValue":e=>p({name:e},r)},{default:E(()=>[...n[3]||=[tt(` Name `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),D(T(xG),null,{default:E(()=>[D(H6,{environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":e=>f({"x-scalar-secret-token":e},r)},{default:E(()=>[...n[4]||=[tt(` Value `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):t?.type===`oauth2`||t?.type===`openIdConnect`?(y(),M(Ne,{key:4},[t?.type===`openIdConnect`&&!Object.keys(t.flows??{}).length?(y(),O(MCe,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:u,name:r,proxyUrl:e.proxyUrl,scheme:t},null,8,[`customFetch`,`environment`,`eventBus`,`name`,`proxyUrl`,`scheme`])):k(``,!0),Object.keys(t.flows??{}).length>1?(y(),O(T(xG),{key:1},{default:E(()=>[N(`div`,FCe,[N(`div`,ICe,[(y(!0),M(Ne,null,_(t.flows,(e,t,n)=>(y(),M(`button`,{key:t,class:v(b(t,n)),type:`button`,onClick:e=>o(t)},[N(`span`,RCe,be(t),1)],10,LCe))),128))])])]),_:2},1024)):k(``,!0),(y(!0),M(Ne,null,_(t.flows,(n,a,o)=>(y(),M(Ne,{key:a},[t.flows&&l(a,o)?(y(),O(yCe,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:r,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:i,server:e.server,type:a,"onDelete:scope":e=>g(r,e),"onUpdate:selectedScopes":e=>m(r,e),"onUpsert:scope":e=>h(r,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`,`onDelete:scope`,`onUpdate:selectedScopes`,`onUpsert:scope`])):k(``,!0)],64))),128))],64)):(y(),M(`div`,zCe,` The security scheme is missing a type, please double check your OpenAPI document or Authentication Configuration `))],64))),128))}}),VCe=[`onClick`],HCe={class:`relative z-10 font-medium whitespace-nowrap`},UCe={key:0,class:`absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current`},WCe=w({__name:`RequestAuthDataTable`,props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{}},setup(e,{expose:t}){let n=j(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=j(()=>e.selectedSchemeOptions.length>1),i=t=>e.eventBus.emit(`auth:update:active-index`,{index:t,meta:e.meta}),a=t=>e.eventBus.emit(`auth:update:selected-scopes`,{...t,meta:e.meta}),o=t=>e.eventBus.emit(`auth:upsert:scopes`,t),s=t=>e.eventBus.emit(`auth:delete:scopes`,t),c=t=>e.activeAuthIndex===t;return t({activeScheme:n}),(t,l)=>(y(),M(`form`,{onSubmit:l[0]||=Ln(()=>{},[`prevent`])},[r.value?(y(),M(`div`,{key:0,class:v([`box-content flex flex-wrap gap-x-2.5 overflow-hidden border-x border-t px-3`,{"border-x-0":!e.isStatic}]),"data-testid":`auth-tabs`},[(y(!0),M(Ne,null,_(e.selectedSchemeOptions,(e,t)=>(y(),M(`div`,{key:e.id,class:`relative z-1 -mb-[var(--scalar-border-width)] flex h-8`},[N(`button`,{class:v([`floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors`,c(t)?`text-c-1`:`text-c-3`]),type:`button`,onClick:e=>i(t)},[N(`span`,HCe,be(e.label),1)],10,VCe),c(t)?(y(),M(`div`,UCe)):k(``,!0)]))),128))],2)):k(``,!0),n.value?(y(),O(T(gG),{key:1,class:v([`flex-1`,{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[``],presentational:``},{default:E(()=>[D(BCe,{environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:n.value.value,server:e.server,"onDelete:scope":s,"onUpdate:selectedScopes":a,"onUpsert:scope":o},null,8,[`environment`,`eventBus`,`isStatic`,`options`,`proxyUrl`,`securitySchemes`,`selectedSecuritySchemas`,`server`])]),_:1},8,[`class`])):(y(),M(`div`,{key:2,class:v([`bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm`,{"min-h-[calc(4rem+0.5px)] rounded-b-lg border":e.isStatic}])},` No authentication selected `,2))],32))}}),GCe=[`id`],KCe={class:`min-w-0 flex-1 truncate`},qCe=w({__name:`AuthSelector`,props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{}},setup(e,{expose:t}){let n=xe(),r=A(null),i=A(!1),a=F6(),o=A(null),s=j(()=>{if(!e.securityRequirements?.length)return null;let t=aT(e.securityRequirements);return{icon:t?`Unlock`:`Lock`,text:t?`Optional`:`Required`}}),c=j(()=>r_e(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),l=j(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let n=Object.keys(t);if(n.length===0)return[];if(n.length>1)return B6(t);let r=n[0];return!r||!L(e.securitySchemes?.[r])?[]:z6({name:r,value:t})}):[]}),u=e=>{i.value&&e.stopPropagation(),r.value?.$el.click()},d=t=>{let n=t.filter(e=>e.payload===void 0).map(e=>Lc(e.value,{depth:2})),r=t.filter(e=>e.payload!==void 0).map(e=>({name:e.label,scheme:e.payload}));e.eventBus.emit(`auth:update:selected-security-schemes`,{selectedRequirements:n,newSchemes:r,meta:e.meta})},f=e=>{o.value={label:e.label,payload:e.value},a.show()},p=()=>{o.value&&(e.eventBus.emit(`auth:delete:security-scheme`,{names:Object.keys(o.value.payload)}),o.value=null,a.hide())};return t({authIndicator:s,selectedSchemeOptions:l,schemeOptions:c}),(t,m)=>(y(),O(T(g6),{class:`group/params relative`,defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:l.value.length,"onUpdate:modelValue":m[1]||=e=>i.value=e},{title:E(()=>[N(`div`,{id:T(n),class:`inline-flex items-center gap-0.5 leading-[20px]`},[N(`span`,null,be(e.title),1),s.value?(y(),M(`span`,{key:0,class:v([`text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal`,{"text-c-1":s.value.text===`Required`}]),"data-testid":`auth-indicator`,onClick:u},be(s.value.text),3)):k(``,!0)],8,GCe)]),actions:E(()=>[D(T(dH),{class:`w-72 text-xs`,modelValue:l.value,multiple:``,options:c.value,placement:`bottom-end`,teleport:``,onDelete:f,"onUpdate:modelValue":d},{option:E(({option:e,selected:t})=>[D(T(Fz),{multiselect:``,selected:t},null,8,[`selected`]),N(`div`,KCe,be(e.label),1),e.isDeletable?(y(),O(T(m6),{key:0,class:`-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100`,icon:T(oo),label:`Delete ${e.label}`,size:`xs`,onClick:Ln(t=>f(e),[`stop`])},null,8,[`icon`,`label`,`onClick`])):k(``,!0)]),default:E(()=>[D(T(jz),{ref_key:`comboboxButtonRef`,ref:r,"aria-describedby":T(n),class:`group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal`,variant:`ghost`},{default:E(()=>[l.value.length===1?(y(),M(Ne,{key:0},[m[2]||=N(`span`,{class:`sr-only`},`Selected Auth Type:`,-1),tt(` `+be(l.value[0]?.label),1)],64)):l.value.length>1?(y(),M(Ne,{key:1},[m[3]||=tt(` Multiple `,-1),m[4]||=N(`span`,{class:`sr-only`},`Auth Types Selected`,-1)],64)):(y(),M(Ne,{key:2},[m[5]||=N(`span`,{class:`sr-only`},`Select`,-1),m[6]||=tt(` Auth Type `,-1)],64)),D(T(Ka),{class:`size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180`,weight:`bold`})]),_:1},8,[`aria-describedby`])]),_:1},8,[`modelValue`,`options`])]),default:E(()=>[D(WCe,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:l.value,server:e.server},null,8,[`activeAuthIndex`,`environment`,`eventBus`,`isStatic`,`meta`,`options`,`proxyUrl`,`securitySchemes`,`selectedSchemeOptions`,`server`]),o.value?(y(),O(t_e,{key:0,label:o.value.label,scheme:o.value,state:T(a),onClose:m[0]||=e=>T(a).hide(),onDelete:p},null,8,[`label`,`scheme`,`state`])):k(``,!0)]),_:1},8,[`defaultOpen`,`isStatic`,`itemCount`]))}}),$7={parse:e=>{let t=r(e,{merge:!0,maxAliasCount:1e4});if(typeof t!=`object`)throw Error(`Invalid YAML object`);return t},parseSafe(e,t){try{return $7.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:t},e9={parse:e=>{let t=JSON.parse(e);if(typeof t!=`object`)throw Error(`Invalid JSON object`);return t},parseSafe(e,t){try{return e9.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:e=>JSON.stringify(e)};function JCe(e){let t=e.trim();if(t[0]!==`{`&&t[0]!==`[`)return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}var YCe=e=>{if(typeof e!=`string`)return e;let t=e9.parseSafe(e,null);if(t)return t;if(e.length>0&&[`{`,`[`].includes(e[0]??``))throw Error(`Invalid JSON or YAML`);return $7.parseSafe(e,e=>{throw Error(e)})},XCe={key:0,class:`shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3`},ZCe=[`disabled`],QCe=[`disabled`],$Ce=uk(w({__name:`ScalarVirtualTextSearch`,props:{query:{},matchCount:{},activeMatchIndex:{}},emits:[`update:query`,`next`,`prev`,`close`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=A(null),o=A(r.query);Xe(()=>r.query,e=>{o.value=e}),Xe(o,e=>{i(`update:query`,e)});let s=()=>{Pe(()=>a.value?.focus())},c=e=>{e.key===`Enter`&&(e.preventDefault(),e.shiftKey?i(`prev`):i(`next`)),e.key===`Escape`&&(e.preventDefault(),i(`close`))};return t({focus:s}),(t,n)=>(y(),M(`div`,{class:`scalar-virtual-text-search ml-auto mr-2 mt-2 flex h-fit w-fit items-center gap-1 overflow-visible rounded-lg bg-b-2 px-2 py-1 shadow-md`,onClick:n[4]||=Ln(()=>{},[`stop`])},[D(T(ro),{class:`pointer-events-none size-3.5 shrink-0 text-c-3`}),We(N(`input`,{ref_key:`searchInputRef`,ref:a,"onUpdate:modelValue":n[0]||=e=>o.value=e,"aria-label":`Search in text`,autocomplete:`off`,class:`scalar-virtual-text-search-input min-w-0 w-36 appearance-none border-none bg-transparent px-1 py-0.5 text-xs text-c-1 outline-none`,placeholder:`Find...`,spellcheck:`false`,type:`search`,onKeydown:c},null,544),[[wn,o.value]]),o.value?(y(),M(`span`,XCe,be(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:`No results`),1)):k(``,!0),n[5]||=N(`span`,{class:`mx-0.5 h-3.5 w-px bg-b-3`},null,-1),N(`button`,{"aria-label":`Previous match`,class:`flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30`,disabled:e.matchCount===0,title:`Previous match (Shift+Enter)`,type:`button`,onClick:n[1]||=e=>i(`prev`)},[D(T(Oee),{class:`size-3`})],8,ZCe),N(`button`,{"aria-label":`Next match`,class:`flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30`,disabled:e.matchCount===0,title:`Next match (Enter)`,type:`button`,onClick:n[2]||=e=>i(`next`)},[D(T(Ka),{class:`size-3`})],8,QCe),N(`button`,{"aria-label":`Close search`,class:`flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1`,title:`Close (Escape)`,type:`button`,onClick:n[3]||=e=>i(`close`)},[D(T(co),{class:`size-3`})])]))}}),[[`__scopeId`,`data-v-95edadbb`]]),ewe={key:0,class:`sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible`},twe=uk(w({__name:`ScalarVirtualText`,props:{text:{},lineHeight:{default:20},containerClass:{default:``},contentClass:{default:``},lineClass:{default:``},searchable:{type:Boolean,default:!1}},setup(e){let t=e,n=A(null),r=A(null),i=A(0),a=A(0),o=A(``),s=A(!1),c=A(0),l=j(()=>t.text.split(`
306
+ `)),u=j(()=>l.value.length*t.lineHeight),d=j(()=>Math.floor(i.value/t.lineHeight)),f=j(()=>Math.min(Math.ceil((i.value+a.value)/t.lineHeight),l.value.length)),p=j(()=>Math.max(0,d.value-10)),m=j(()=>{let e=Math.min(l.value.length,f.value+10);return l.value.slice(p.value,e)}),h=j(()=>p.value*t.lineHeight),g=j(()=>{let e=o.value;if(!e)return[];let t=e.toLowerCase(),n=[];for(let r=0;r<l.value.length;r++){let i=l.value[r];if(!i)continue;let a=i.toLowerCase(),o=0;for(;o<a.length;){let i=a.indexOf(t,o);if(i===-1)break;n.push({line:r,start:i,end:i+e.length}),o=i+t.length}}return n}),b=j(()=>{let e=new Set;for(let t of g.value)e.add(t.line);return e});Xe(()=>g.value.length,e=>{e===0?c.value=0:c.value>=e&&(c.value=e-1)});let ee=e=>{if(!n.value)return;let r=e.line*t.lineHeight,i=n.value.scrollTop,a=i+n.value.clientHeight;(r<i||r+t.lineHeight>a)&&(n.value.scrollTop=r-n.value.clientHeight/2)},x=e=>{let t=g.value[e];t&&(c.value=e,ee(t))},S=()=>{g.value.length!==0&&x((c.value+1)%g.value.length)},ne=()=>{g.value.length!==0&&x((c.value-1+g.value.length)%g.value.length)},re=()=>{s.value=!0,Pe(()=>r.value?.focus())},ie=()=>{s.value=!1,o.value=``,c.value=0},ae=e=>{t.searchable&&((e.metaKey||e.ctrlKey)&&e.key===`f`&&(e.preventDefault(),e.stopPropagation(),re()),e.key===`Escape`&&s.value&&(e.preventDefault(),ie()))};Xe(o,()=>{c.value=0;let e=g.value[0];e&&ee(e)});let oe=()=>n.value&&(i.value=n.value.scrollTop),C=()=>n.value&&(a.value=n.value.clientHeight);ue(()=>{C(),window.addEventListener(`resize`,C)}),se(()=>{window.removeEventListener(`resize`,C)});let ce=e=>{let t=l.value[e]??``;if(!o.value||!b.value.has(e))return[{text:t,highlight:!1,active:!1}];let n=g.value.filter(t=>t.line===e),r=[],i=0;for(let e of n){e.start>i&&r.push({text:t.slice(i,e.start),highlight:!1,active:!1});let n=g.value.indexOf(e)===c.value;r.push({text:t.slice(e.start,e.end),highlight:!0,active:n}),i=e.end}return i<t.length&&r.push({text:t.slice(i),highlight:!1,active:!1}),r},le=e=>p.value+e;return(i,a)=>(y(),M(`div`,{ref_key:`containerRef`,ref:n,class:v([`scalar-virtual-text relative overflow-auto`,e.containerClass]),tabindex:`0`,onKeydown:ae,onScroll:oe},[e.searchable&&s.value?(y(),M(`div`,ewe,[D($Ce,{ref_key:`searchRef`,ref:r,query:o.value,"onUpdate:query":a[0]||=e=>o.value=e,activeMatchIndex:c.value,matchCount:g.value.length,onClose:ie,onNext:S,onPrev:ne},null,8,[`query`,`activeMatchIndex`,`matchCount`])])):k(``,!0),N(`div`,{style:te({height:`${u.value}px`})},null,4),N(`code`,{class:v([`scalar-virtual-text-content absolute left-0 right-0 top-0`,e.contentClass]),style:te({transform:`translateY(${h.value}px)`})},[(y(!0),M(Ne,null,_(m.value,(n,r)=>(y(),M(`div`,{key:p.value+r,class:v([`scalar-virtual-text-line`,e.lineClass]),style:te({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},[o.value&&b.value.has(le(r))?(y(!0),M(Ne,{key:0},_(ce(le(r)),(e,t)=>(y(),M(Ne,{key:t},[e.highlight?(y(),M(`mark`,{key:0,class:v([`scalar-virtual-text-highlight`,e.active?`scalar-virtual-text-highlight-active`:``])},be(e.text),3)):(y(),M(Ne,{key:1},[tt(be(e.text),1)],64))],64))),128)):(y(),M(Ne,{key:1},[tt(be(n),1)],64))],6))),128))],6)],34))}}),[[`__scopeId`,`data-v-b50a85e1`]]),t9={get:{short:`GET`,colorClass:`text-blue`,colorVar:`var(--scalar-color-blue)`,backgroundColor:`bg-blue/10`},post:{short:`POST`,colorClass:`text-green`,colorVar:`var(--scalar-color-green)`,backgroundColor:`bg-green/10`},put:{short:`PUT`,colorClass:`text-orange`,colorVar:`var(--scalar-color-orange)`,backgroundColor:`bg-orange/10`},patch:{short:`PATCH`,colorClass:`text-yellow`,colorVar:`var(--scalar-color-yellow)`,backgroundColor:`bg-yellow/10`},delete:{short:`DEL`,colorClass:`text-red`,colorVar:`var(--scalar-color-red)`,backgroundColor:`bg-red/10`},options:{short:`OPTS`,colorClass:`text-purple`,colorVar:`var(--scalar-color-purple)`,backgroundColor:`bg-purple/10`},head:{short:`HEAD`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`},trace:{short:`TRACE`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`}},n9=e=>{let t=e.trim().toLowerCase();return t9[t]??{short:t,color:`text-c-2`,backgroundColor:`bg-c-2`}},nwe={key:0,class:`sr-only`},rwe=w({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=j(()=>n.enum.map(e=>({id:e,label:e}))),a=j({get:()=>i.value.find(e=>e.id===n.value),set:e=>r(`change`,e?.id??``)});return(t,n)=>(y(),O(T(_6),{modelValue:a.value,"onUpdate:modelValue":n[0]||=e=>a.value=e,options:i.value},{default:E(()=>[D(T(jz),{"aria-controls":e.controls,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:E(()=>[N(`span`,{class:v({"text-c-1":e.value})},[e.value?(y(),M(`span`,nwe,` Selected: `)):k(``,!0),tt(` `+be(e.value||`Select value`),1)],2),D(T(Ka),{weight:`bold`,class:`mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180`})]),_:1},8,[`aria-controls`])]),_:1},8,[`modelValue`,`options`]))}}),iwe=w({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=j({get:()=>n.value,set:e=>r(`change`,e)});return(t,n)=>We((y(),M(`input`,o({"onUpdate:modelValue":n[0]||=e=>i.value=e},e.controls?{...t.$attrs,"aria-controls":e.controls}:{},{autocomplete:`off`,class:`text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg`,placeholder:`value`,spellcheck:`false`,type:`text`}),null,16)),[[wn,i.value]])}}),awe=[`for`],owe=w({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(e,{emit:t}){let n=t,r=xe();function i(e,t){n(`update:variable`,e,t)}let a=t=>(e.values?.[t]??e.variables?.[t]?.default??``).toString();return(t,n)=>e.variables&&Object.keys(e.variables??{}).length?(y(!0),M(Ne,{key:0},_(Object.keys(e.variables),t=>(y(),M(`div`,{key:t,class:v([`group/label flex h-8 w-full`,e.layout===`reference`&&`items-center border-x border-b last:rounded-b-lg`])},[N(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${T(r)}-${t}`},be(t),9,awe),e.variables?.[t]?.enum?.length?(y(),O(rwe,{key:0,id:`${T(r)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map(e=>`${e}`)??[],value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`enum`,`value`,`onChange`])):(y(),O(iwe,{key:1,id:`${T(r)}-${t}`,controls:e.controls,value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`value`,`onChange`]))],2))),128)):k(``,!0)}}),swe={path:/[\/\.-]/,property:/[A-Z\_\.-]/},cwe={key:0},r9=w({inheritAttrs:!1,__name:`ScalarWrappingText`,props:{text:{default:``},preset:{default:`path`},regex:{}},setup(e){let t=j(()=>{let t=new RegExp(e.regex??swe[e.preset],`g`);return e.text.replace(t,`⁠$&`).split(`⁠`).filter(Boolean)});return(e,n)=>(y(!0),M(Ne,null,_(t.value,(e,t)=>(y(),M(Ne,{key:t},[t===0?k(``,!0):(y(),M(`wbr`,cwe)),tt(be(e),1)],64))),128))}}),lwe=e=>e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e);function uwe(e={}){let{notify:t=e=>n(e,`info`)}=e,{toast:n}=a8();async function r(e){try{let n=lwe(e);await navigator.clipboard.writeText(n),t(`Copied to the clipboard`)}catch(e){let n=e;console.error(n.message),t(`Failed to copy to clipboard`)}}return{copyToClipboard:r}}var i9=`scalar-app`,a9=`headlessui-portal-root`,dwe=e=>e!==null&&e instanceof HTMLElement,o9=e=>{!e||e.classList.contains(i9)||e.classList.add(i9)},fwe=()=>{o9(document.getElementById(a9));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{dwe(e)&&e.id===a9&&o9(e)})));return e.observe(document.body,{childList:!0}),e},pwe=w({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=ac();return(e,n)=>(y(),M(`aside`,qe($e(T(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[S(e.$slots,`default`)],16))}}),s9=uk(w({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=j(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=ac();return(r,i)=>(y(),M(`div`,qe($e(T(n)(`scalar-sidebar-indent flex justify-center`,{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(y(!0),M(Ne,null,_(t.value,(n,r)=>(y(),M(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[i[0]||=N(`div`,{class:`scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border`},null,-1),r===t.value.length-1?(y(),M(`div`,{key:0,class:v([`absolute left-2 inset-y-0 w-border`,e.disabled?``:e.selected?`bg-sidebar-indent-border-active`:`group-hover/button:bg-sidebar-indent-border-hover`])},null,2)):k(``,!0)]))),128))],16))}}),[[`__scopeId`,`data-v-3e080c68`]]),mwe={key:0,class:`h-lh *:size-4 mr-1 flex items-center`},hwe={class:`group/button-label flex-1 min-w-0`},c9=w({inheritAttrs:!1,__name:`ScalarSidebarButton`,props:{is:{default:`a`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){let t=rc({base:[`group/button peer/button flex items-stretch rounded p-2`,`font-sidebar text-base/4 text-sidebar-c-2 no-underline wrap-break-word`],variants:{active:{true:`text-sidebar-c-active font-sidebar-active`},disabled:{true:`cursor-auto`},selected:{true:`cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active`}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`},{selected:!1,disabled:!1,active:!0,class:`hover:bg-sidebar-b-hover`}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=ac();return(r,i)=>(y(),O(x(e.is),o({"aria-selected":e.selected,type:e.is===`button`?`button`:void 0},T(n)(T(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:E(()=>[S(r.$slots,`indent`,{},()=>[D(s9,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||r.$slots.icon?(y(),M(`div`,mwe,[S(r.$slots,`icon`,{},()=>[e.icon?(y(),O(T(Ez),{key:0,icon:e.icon},null,8,[`icon`])):k(``,!0)])])):k(``,!0),N(`div`,hwe,[S(r.$slots,`default`)]),S(r.$slots,`aside`)]),_:3},16,[`aria-selected`,`type`]))}}),gwe={class:`sr-only`},l9=w({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=rc({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=ac();return(r,i)=>(y(),O(x(e.is),o({type:e.is===`button`?`button`:void 0},T(n)(T(t)({open:e.open}))),{default:E(()=>[S(r.$slots,`default`,{open:e.open},()=>[e.icon?(y(),O(T(Ez),{key:0,icon:e.icon},null,8,[`icon`])):(y(),O(T($a),{key:1,class:`size-3`,weight:`bold`}))]),N(`span`,gwe,[S(r.$slots,`label`,{open:e.open},()=>[tt(be(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}}),u9=Symbol(),d9=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=f(u9,0);return n?pe(u9,0):t&&r<6?pe(u9,r+1):pe(u9,r),{level:r}},f9=w({inheritAttrs:!1,__name:`ScalarSidebarItem`,props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let t=e,{level:n}=d9(),{cx:r}=ac();return(i,a)=>(y(),M(`li`,qe($e(T(r)(`group/item flex flex-col text-base`))),[S(i.$slots,`before`),S(i.$slots,`button`,{level:T(n)},()=>[D(c9,o(t,{indent:e.indent??T(n)}),Ce({_:2},[i.$slots.default?{name:`default`,fn:E(()=>[S(i.$slots,`default`)]),key:`0`}:void 0,i.$slots.icon?{name:`icon`,fn:E(()=>[S(i.$slots,`icon`)]),key:`1`}:void 0,i.$slots.aside?{name:`aside`,fn:E(()=>[S(i.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),S(i.$slots,`after`)],16))}}),p9=w({__name:`ScalarSidebarLoading`,props:{items:{default:4}},setup(e){return(t,n)=>(y(!0),M(Ne,null,_(e.items,e=>(y(),O(f9,{key:e,class:`pointer-events-none`},{default:E(()=>[...n[0]||=[N(`div`,{class:`group/button-loading bg-sidebar-c-2/15 rounded-lg animate-pulse h-lh w-full box-content py-px -my-px`},null,-1)]]),_:1}))),128))}}),_we={class:`group/group-button relative flex flex-col text-base`},vwe={key:0,class:`size-4`},ywe=[`aria-expanded`],bwe={key:0,class:`group/items flex flex-col gap-px`},xwe=w({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:Ie({is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:Ie([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,r=le(e,`open`),{level:i}=d9({increment:!0}),{cx:a}=ac(),o=t=>{n(`click`,t),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=t=>{n(`toggle`,t),!e.controlled&&e.discrete&&(r.value=!r.value)};return(t,n)=>(y(),O(x(e.is),qe($e(T(a)(`group/item flex flex-col gap-px`))),{default:E(()=>[N(`div`,_we,[S(t.$slots,`before`,{open:r.value}),S(t.$slots,`button`,{level:T(i),open:r.value},()=>[D(c9,{is:`button`,active:e.active,"aria-expanded":r.value,disabled:e.disabled,icon:e.icon,indent:T(i),selected:e.selected,onClick:o},Ce({indent:E(()=>[D(s9,{class:`mr-0 -my-2`,indent:T(i),selected:e.selected},null,8,[`indent`,`selected`])]),aside:E(()=>[S(t.$slots,`aside`,{open:r.value}),e.discrete?(y(),M(`div`,vwe)):S(t.$slots,`toggle`,{key:1,open:r.value},()=>[D(l9,{class:`text-sidebar-c-2`,open:r.value},null,8,[`open`])])]),default:E(()=>[S(t.$slots,`default`,{open:r.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:E(()=>[S(t.$slots,`icon`,{open:r.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(y(),M(`button`,{key:0,"aria-expanded":r.value,class:v([`absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2`,e.selected?`hover:bg-sidebar-b-1 hover:text-sidebar-c-1`:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`]),type:`button`,onClick:s},[S(t.$slots,`toggle`,{open:r.value},()=>[D(l9,{open:r.value},{label:E(()=>[tt(be(r.value?`Close`:`Open`)+` `,1),S(t.$slots,`default`,{open:r.value})]),_:3},8,[`open`])])],10,ywe)):k(``,!0)]),S(t.$slots,`after`,{open:r.value})]),r.value?(y(),M(`ul`,bwe,[e.loading?(y(),O(p9,{key:0})):S(t.$slots,`items`,{key:1,open:r.value})])):k(``,!0)]),_:3},16))}}),Swe=Symbol(),Cwe=()=>{let e=we(new Set),t=j(()=>{for(let t of e)if(t())return!0;return!1});return pe(Swe,e),{open:t}},wwe=w({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=Cwe(),{cx:n}=ac();return(r,i)=>(y(),O(x(e.is),qe($e(T(n)(`group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300`,T(t)?`-translate-x-full`:`translate-x-0`))),{default:E(()=>[S(r.$slots,`default`)]),_:3},16))}}),m9=w({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=ac();return(n,r)=>(y(),M(`div`,qe($e(T(t)(`flex px-2 h-1`))),[D(s9,{indent:e.indent},null,8,[`indent`])],16))}}),Twe={class:`flex flex-col gap-px`},Ewe=w({inheritAttrs:!1,__name:`ScalarSidebarSection`,props:{is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){let{level:t}=d9({increment:!1}),{cx:n}=ac();return(r,i)=>(y(),O(x(e.is),qe($e(T(n)(`group/item group/sidebar-section contents`))),{default:E(()=>[D(m9,{class:`group/spacer-before h-3`,indent:T(t)},null,8,[`indent`]),r.$slots.default?(y(),O(c9,{key:0,is:`div`,class:`text-sm/4 py-1.75 font-bold`,disabled:``,icon:e.icon,indent:T(t)},{default:E(()=>[S(r.$slots,`default`)]),_:3},8,[`icon`,`indent`])):k(``,!0),N(`ul`,Twe,[e.loading?(y(),O(p9,{key:0})):S(r.$slots,`items`,{key:1})]),D(m9,{class:`group/spacer-after h-3`,indent:T(t)},null,8,[`indent`])]),_:3},16))}}),Dwe=/[^\p{L}\p{M}\p{N}\s_-]/gu,Owe=/[\s_-]+/g,kwe=/^-+|-+$/g,Awe=/\p{M}/gu,h9=new Map,g9=(e,t={})=>{let{allowedSpecialChars:n=``,preserveCase:r=!1,normalizationForm:i=`NFC`,stripAccents:a=!1}=t,o=(()=>{if(n.length===0)return Dwe;let e=h9.get(n);if(e)return e;let t=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),r=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,`gu`);return h9.set(n,r),r})(),s=e.slice(0,255).trim(),c=a?s.normalize(`NFD`).replace(Awe,``):s.normalize(i);return(r?c:c.toLowerCase()).replace(o,``).replace(Owe,`-`).replace(kwe,``)},_9=`get`,v9=e=>{if(typeof e!=`string`)return console.warn(`Request method is not a string. Using ${_9} as the default.`),_9;let t=e.trim().toLowerCase();return Zw(t)?t:(console.warn(`${e||`Request method`} is not a valid request method. Using ${_9} as the default.`),_9)},y9=w({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=j(()=>n9(String(t.method||``))),r=j(()=>v9(t.method));return(t,i)=>(y(),O(x(e.as??`span`),{class:`uppercase`,style:te({[e.property||`color`]:n.value.colorVar})},{default:E(()=>[S(t.$slots,`default`),tt(` `+be(e.short?n.value.short:r.value),1)]),_:3},8,[`style`]))}}),jwe=new Set([`document`,`operation`,`example`,`tag`]),b9=(e,t,n)=>n&&t.length===1&&t[0]?.type===`example`&&t[0]?.name===`default`?[]:e===`reference`?t:t.filter(e=>jwe.has(e.type)),Mwe=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},Nwe=rc({base:`relative after:absolute after:inset-x-0 after:block after:bg-blue after:opacity-15 after:pointer-events-none after:rounded`,variants:{position:{before:`after:-top-0.5 after:h-0.75`,after:`after:-bottom-0.5 after:h-0.75`,into:`after:inset-0`}}}),x9=A(null),S9=A(null);function Pwe(e){let{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:i=!0,parentIds:a=[],id:o,onDragStart:s,onDragEnd:c}=e,l=j(()=>a.at(-1)??null),u=e=>typeof i==`function`?i(x9.value,{id:o,parentId:l.value,offset:e}):d(i),f=e=>{if(!d(r)||!e.dataTransfer||!(e.target instanceof HTMLElement))return;e.target.setAttribute(`data-dragging`,`true`),e.dataTransfer.dropEffect=`move`,e.dataTransfer.effectAllowed=`move`;let t={id:o,parentId:l.value};x9.value=t,s?.(t)},p=Mwe(e=>{if(!x9.value||x9.value.id===o||a.includes(x9.value?.id??``))return;let r=S9.value?.offset,i=e.target.offsetHeight,s=n*i,c=t*i,d=null;e.offsetY<=0&&r&&r!==`after`?d=r:e.offsetY<=s?d=`before`:e.offsetY>=c?d=`after`:e.offsetY>s&&e.offsetY<c&&(d=`into`),u(d)&&(S9.value={id:o,parentId:l.value,offset:d})},25),m=()=>{if(!S9.value||!x9.value)return;let e={...x9.value},t={...S9.value};x9.value=null,S9.value=null,document.querySelectorAll(`[data-dragging]`).forEach(e=>e.removeAttribute(`data-dragging`)),e.id!==t.id&&c?.(e,t)},h=j(()=>{let e=o===S9.value?.id?S9.value.offset:void 0;return e?Nwe({position:e}):``});return{draggableAttrs:j(()=>({class:h.value||void 0,draggable:d(r)?!0:void 0})),draggableEvents:{dragend:m,dragover:e=>{e.preventDefault(),e.stopPropagation(),p(e)},dragstart:e=>{e.stopPropagation(),f(e)}},draggingItem:x9,hoveredItem:S9}}var C9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},w9=C9(w({__name:`SidebarHttpBadge`,props:{method:{},active:{type:Boolean},webhook:{type:Boolean}},setup(e){return(t,n)=>(y(),O(y9,{class:v([`sidebar-heading-type`,`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:`--method-color`,short:``},{default:E(()=>[n[0]||=N(`span`,{class:`sr-only`},`HTTP Method:\xA0`,-1),S(t.$slots,`default`,{},()=>[e.webhook?(y(),O(T(so),{key:0,style:te({color:T(n9)(e.method).colorVar}),weight:`bold`},null,8,[`style`])):k(``,!0)],!0)]),_:3},8,[`class`,`method`]))}}),[[`__scopeId`,`data-v-1857170e`]]),Fwe={},Iwe={class:`absolute top-[1lh] right-0.75 flex -translate-y-1/2 opacity-0 peer-hover/button:opacity-100 peer-focus-visible/button:opacity-100 focus-within:opacity-100 hover:opacity-100 has-[&[aria-expanded=true]]:opacity-100`};function Lwe(e,t){return y(),M(`div`,Iwe,[S(e.$slots,`default`)])}var T9=C9(Fwe,[[`render`,Lwe]]),E9=e=>`children`in e&&Array.isArray(e.children)&&e.children.length>0,Rwe=(e,t,n,r)=>E9(t)?r&&t.type===`operation`&&t.children?.length===1&&t.children[0]?.type===`example`&&t.children[0]?.name===`default`?!1:e===`client`?!0:e===`reference`?t.type!==`operation`&&t.type!==`webhook`:!1:e===`client`&&n?t.type===`document`||t.type===`tag`:!1,D9=w({__name:`SidebarItemLabel`,props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type===`model`||e.item.type===`example`?(y(),O(T(r9),{key:0,preset:`property`,text:e.item.title},null,8,[`text`])):(y(),O(T(r9),{key:1,text:e.operationTitleSource===`path`&&`path`in e.item?e.item.path:e.item.title},null,8,[`text`]))}}),O9=Object.assign({"./icons/basic-shape-diamond.svg":()=>import(`./basic-shape-diamond.svg-BTEOT1FL.js`),"./icons/basic-shape-hexagon.svg":()=>import(`./basic-shape-hexagon.svg-BSPzaCgF.js`),"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>import(`./basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js`),"./icons/basic-shape-primary-square-rectangle.svg":()=>import(`./basic-shape-primary-square-rectangle.svg-n2YRykHD.js`),"./icons/basic-shape-shield.svg":()=>import(`./basic-shape-shield.svg-Bec9cJDA.js`),"./icons/computer-device-desktop-monitor.svg":()=>import(`./computer-device-desktop-monitor.svg-m6j893Hb.js`),"./icons/computer-device-desktop.svg":()=>import(`./computer-device-desktop.svg-Dk1VVO7k.js`),"./icons/computer-device-laptop.svg":()=>import(`./computer-device-laptop.svg-BNGVUCYS.js`),"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>import(`./computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js`),"./icons/computer-device-mobile-phone-android-samsung.svg":()=>import(`./computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js`),"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>import(`./computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js`),"./icons/computer-device-mobile-phone-iphone-x.svg":()=>import(`./computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js`),"./icons/computer-device-mobile-tablet-touch.svg":()=>import(`./computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js`),"./icons/computer-device-mobile-tablet.svg":()=>import(`./computer-device-mobile-tablet.svg-DCr0XlRc.js`),"./icons/computer-device-network-ethernet-cat6.svg":()=>import(`./computer-device-network-ethernet-cat6.svg-AK9l0iOl.js`),"./icons/computer-device-network-lan-www.svg":()=>import(`./computer-device-network-lan-www.svg-gUIdFBlE.js`),"./icons/computer-device-network-wifi-connection.svg":()=>import(`./computer-device-network-wifi-connection.svg-Be-EMm4e.js`),"./icons/computer-device-network-wifi-router.svg":()=>import(`./computer-device-network-wifi-router.svg-Dc2VzyqK.js`),"./icons/ecology-science-erlenmeyer-flask.svg":()=>import(`./ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js`),"./icons/image-flash-lightning.svg":()=>import(`./image-flash-lightning.svg-EETR_y1q.js`),"./icons/image-picture-flower.svg":()=>import(`./image-picture-flower.svg-DN1AYzJU.js`),"./icons/interface-alert-exclamation-diamond.svg":()=>import(`./interface-alert-exclamation-diamond.svg-C5NozMV_.js`),"./icons/interface-alert-exclamation-triangle-warning.svg":()=>import(`./interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js`),"./icons/interface-alert-information-circle.svg":()=>import(`./interface-alert-information-circle.svg-ckkkt9Mv.js`),"./icons/interface-award-crown.svg":()=>import(`./interface-award-crown.svg-pjvn9hY-.js`),"./icons/interface-bookmark-tag.svg":()=>import(`./interface-bookmark-tag.svg-r2r-lQq4.js`),"./icons/interface-bookmark.svg":()=>import(`./interface-bookmark.svg-BK9HKQBT.js`),"./icons/interface-calendar-date-one.svg":()=>import(`./interface-calendar-date-one.svg-DNnF0M1I.js`),"./icons/interface-content-book-open-pages.svg":()=>import(`./interface-content-book-open-pages.svg-CQj_w9Vp.js`),"./icons/interface-content-book-page.svg":()=>import(`./interface-content-book-page.svg-DppoeJRe.js`),"./icons/interface-content-file.svg":()=>import(`./interface-content-file.svg-CvcD7OiY.js`),"./icons/interface-content-folder.svg":()=>import(`./interface-content-folder.svg-BmtS5I9A.js`).then(e=>e.n),"./icons/interface-copy-clipboard.svg":()=>import(`./interface-copy-clipboard.svg-Be6EI50X.js`),"./icons/interface-edit-attachment.svg":()=>import(`./interface-edit-attachment.svg-G5TKzpWX.js`),"./icons/interface-edit-binocular.svg":()=>import(`./interface-edit-binocular.svg-jzL-DvGB.js`),"./icons/interface-edit-magic-wand.svg":()=>import(`./interface-edit-magic-wand.svg-BOTlymvp.js`),"./icons/interface-edit-tool-paint-roller.svg":()=>import(`./interface-edit-tool-paint-roller.svg-s9dwryx7.js`),"./icons/interface-edit-tool-pencil.svg":()=>import(`./interface-edit-tool-pencil.svg-C7v0dbB3.js`),"./icons/interface-favorite-award.svg":()=>import(`./interface-favorite-award.svg-CYHUgUG0.js`),"./icons/interface-favorite-flag.svg":()=>import(`./interface-favorite-flag.svg-C10zlKOb.js`),"./icons/interface-favorite-heart.svg":()=>import(`./interface-favorite-heart.svg-eoduXxlz.js`),"./icons/interface-favorite-star.svg":()=>import(`./interface-favorite-star.svg-BSmxJetr.js`),"./icons/interface-favorite-stars-sparkles.svg":()=>import(`./interface-favorite-stars-sparkles.svg-JTFLj3Ls.js`),"./icons/interface-hierarchy-flowchart.svg":()=>import(`./interface-hierarchy-flowchart.svg-Cg_Wy0kN.js`),"./icons/interface-home-house.svg":()=>import(`./interface-home-house.svg-DytoGRnv.js`),"./icons/interface-hyperlink.svg":()=>import(`./interface-hyperlink.svg-CuEfmmQI.js`),"./icons/interface-lighting-brightness.svg":()=>import(`./interface-lighting-brightness.svg-DSK0h_Pa.js`),"./icons/interface-lock-closed.svg":()=>import(`./interface-lock-closed.svg-Cn6TaLYv.js`),"./icons/interface-lock-open-unlock.svg":()=>import(`./interface-lock-open-unlock.svg-CVkG5-9W.js`),"./icons/interface-login-key.svg":()=>import(`./interface-login-key.svg-y-cwwXjN.js`),"./icons/interface-search.svg":()=>import(`./interface-search.svg-S-puVFJB.js`),"./icons/interface-setting-cog.svg":()=>import(`./interface-setting-cog.svg-CTH4_lLg.js`),"./icons/interface-share-megaphone-bullhorn.svg":()=>import(`./interface-share-megaphone-bullhorn.svg-Pbp39MyC.js`),"./icons/interface-share-rocket.svg":()=>import(`./interface-share-rocket.svg-BgCsIRZO.js`),"./icons/interface-share-satellite.svg":()=>import(`./interface-share-satellite.svg-DAMN9d5G.js`),"./icons/interface-share-space-ship.svg":()=>import(`./interface-share-space-ship.svg-Dt-Mejxk.js`),"./icons/interface-share.svg":()=>import(`./interface-share.svg-vFYTXSti.js`),"./icons/interface-signal-square.svg":()=>import(`./interface-signal-square.svg-DNG4LpAe.js`),"./icons/interface-time-clock-circle.svg":()=>import(`./interface-time-clock-circle.svg-Bpz-nLxo.js`),"./icons/interface-time-hour-glass.svg":()=>import(`./interface-time-hour-glass.svg-D7agfKsH.js`),"./icons/interface-users-multiple.svg":()=>import(`./interface-users-multiple.svg-CkPJBBnG.js`),"./icons/interface-weather-moon.svg":()=>import(`./interface-weather-moon.svg-CaTZFMPO.js`),"./icons/mail-chat-bubble-square.svg":()=>import(`./mail-chat-bubble-square.svg-DC8RIihp.js`),"./icons/mail-send-email-paper-airplane.svg":()=>import(`./mail-send-email-paper-airplane.svg-D8OLs9jz.js`),"./icons/mail-send-envelope.svg":()=>import(`./mail-send-envelope.svg-CV33h5Sx.js`),"./icons/money-cashier-receipt.svg":()=>import(`./money-cashier-receipt.svg-CJL8C2gs.js`),"./icons/money-currency-dollar-pay.svg":()=>import(`./money-currency-dollar-pay.svg-VdBplCTx.js`),"./icons/money-graph-arrow-increase.svg":()=>import(`./money-graph-arrow-increase.svg-DcRov3zk.js`),"./icons/money-graph-bar-chart-increase.svg":()=>import(`./money-graph-bar-chart-increase.svg-Cc7KxjX-.js`),"./icons/nature-ecology-leaf.svg":()=>import(`./nature-ecology-leaf.svg-DR3cTZxt.js`),"./icons/phone-telephone.svg":()=>import(`./phone-telephone.svg-DyY0gUlk.js`),"./icons/programming-bug.svg":()=>import(`./programming-bug.svg-BHLT-Qhp.js`),"./icons/programming-cloud.svg":()=>import(`./programming-cloud.svg-B6YW33ba.js`),"./icons/programming-computer-database-server.svg":()=>import(`./programming-computer-database-server.svg-B6o5Sdn-.js`),"./icons/programming-computer-database.svg":()=>import(`./programming-computer-database.svg-Cl7OVtpJ.js`),"./icons/programming-module-four-layout.svg":()=>import(`./programming-module-four-layout.svg-BQrerL1x.js`),"./icons/programming-module-three.svg":()=>import(`./programming-module-three.svg-B2KTQzBM.js`),"./icons/programming-module.svg":()=>import(`./programming-module.svg-CiID7kPm.js`),"./icons/programming-script-code.svg":()=>import(`./programming-script-code.svg-D1M5rtkN.js`),"./icons/shopping-cart.svg":()=>import(`./shopping-cart.svg-BEegiIR9.js`),"./icons/shopping-gift-present.svg":()=>import(`./shopping-gift-present.svg-BUHwuLix.js`),"./icons/shopping-shipping-box-parcel-package.svg":()=>import(`./shopping-shipping-box-parcel-package.svg-D6fxWdYx.js`),"./icons/tag-new-circle.svg":()=>import(`./tag-new-circle.svg-jsg1bGs0.js`),"./icons/travel-map-earth-globe.svg":()=>import(`./travel-map-earth-globe.svg-ClbMiU-f.js`)}),k9=Object.assign({"./icons/interface-content-folder.svg":rt})[`./icons/interface-content-folder.svg`];Object.keys(O9).map(e=>e.replace(`./icons/`,``).replace(`.svg`,``)).map(e=>({src:e,title:e.replaceAll(`-`,` `),tags:[]}));var A9=new Map;k9?.default&&A9.set(`interface-content-folder`,ke(k9.default));async function zwe(e){let t=A9.get(e);if(t)return t;let n=O9[`./icons/${e}.svg`];if(!n)return;let r=await n(),i=ke(r.default??r);return A9.set(e,i),i}var Bwe=w({__name:`LibraryIcon`,props:{src:{}},setup(e){let t=e,n=nt();return He(async()=>{n.value=await zwe(t.src)}),(e,t)=>n.value?(y(),O(x(n.value),{key:0})):k(``,!0)}}),Vwe={key:0,class:`line-through`},Hwe={key:0,class:`line-through`},Uwe=w({__name:`SidebarItem`,props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},isDraggable:{},isDroppable:{type:Function}},emits:[`selectItem`,`onDragEnd`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=a(),i=e=>`isGroup`in e&&e.isGroup,s=e=>(`isDeprecated`in e&&e.isDeprecated)??!1,c=(e,t)=>{n(`onDragEnd`,e,t)},{draggableAttrs:l,draggableEvents:u}=Pwe({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:c}),d=j(()=>E9(e.item)?b9(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]);return(t,a)=>{let f=Ke(`SidebarItem`,!0);return d.value.length>0&&i(e.item)?(y(),O(T(Ewe),o({key:0,"data-sidebar-id":e.item.id},T(l),ye(T(u))),{items:E(()=>[(y(!0),M(Ne,null,_(d.value,i=>(y(),O(f,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,onOnDragEnd:c,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},Ce({_:2},[r.decorator?{name:`decorator`,fn:E(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:E(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:E(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),default:E(()=>[tt(be(e.item.title)+` `,1)]),_:3},16,[`data-sidebar-id`])):T(Rwe)(e.layout,e.item,r.empty!==void 0,e.options?.hideOperationDefaultExamples??!1)?(y(),O(T(xwe),o({key:1,active:e.isSelected(e.item.id),class:`relative`,controlled:``,"data-sidebar-id":e.item.id},T(l),{discrete:e.layout===`reference`&&e.item.type===`text`,open:e.isExpanded(e.item.id)},ye(T(u)),{onClick:a[4]||=()=>n(`selectItem`,e.item.id),onToggle:a[5]||=()=>n(`toggleGroup`,e.item.id)}),Ce({items:E(()=>[(y(!0),M(Ne,null,_(d.value,i=>(y(),O(f,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:c,onSelectItem:a[2]||=e=>n(`selectItem`,e),onToggleGroup:a[3]||=e=>n(`toggleGroup`,e)},Ce({_:2},[r.decorator?{name:`decorator`,fn:E(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:E(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:E(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128)),r.empty&&(e.item.children?.length??0)===0?S(t.$slots,`empty`,{key:0,item:e.item}):k(``,!0)]),default:E(()=>[s(e.item)?(y(),M(`span`,Vwe,[D(D9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),O(D9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[e.item.type===`document`?{name:`icon`,fn:E(({open:n})=>[S(t.$slots,`icon`,{item:e.item,open:n},()=>[D(T(Bwe),{class:`block`,src:`icon`in e.item&&e.item.icon||`interface-content-folder`},null,8,[`src`])])]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:E(()=>[D(w9,{active:e.isSelected(e.item.id),class:v([`ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`method`,`webhook`])]),key:`1`}:void 0,`method`in e.item?{name:`toggle`,fn:E(()=>[a[7]||=N(`span`,{class:`hidden`},null,-1)]),key:`2`}:void 0,r.decorator?{name:`after`,fn:E(()=>[D(T9,null,{default:E(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`3`}:void 0]),1040,[`active`,`data-sidebar-id`,`discrete`,`open`])):(y(),O(T(f9),o({key:2,is:`button`},T(l),{class:`relative`,"data-sidebar-id":e.item.id,selected:e.isSelected(e.item.id)},ye(T(u)),{onClick:a[6]||=()=>n(`selectItem`,e.item.id)}),Ce({default:E(()=>[s(e.item)?(y(),M(`span`,Hwe,[D(D9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),O(D9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[r.icon?{name:`icon`,fn:E(()=>[S(t.$slots,`icon`,{item:e.item,open:!0})]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:E(()=>[`method`in e.item?(y(),O(w9,{key:0,active:e.isSelected(e.item.id),class:v([`ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`method`,`webhook`])):k(``,!0)]),key:`1`}:void 0,r.decorator?{name:`after`,fn:E(()=>[D(T9,null,{default:E(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`2`}:void 0]),1040,[`data-sidebar-id`,`selected`]))}}}),Wwe=w({__name:`ScalarSidebar`,props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},isDraggable:{},isDroppable:{type:Function}},emits:[`reorder`,`selectItem`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=a(),i=(e,t)=>{n(`reorder`,e,t)};return(t,a)=>(y(),O(T(pwe),{class:`flex min-h-0 flex-col`,style:te({"--scalar-sidebar-indent":e.indent+`px`})},{default:E(()=>[S(t.$slots,`header`),S(t.$slots,`default`,{},()=>[D(T(wwe),{class:`custom-scroll`},{default:E(()=>[S(t.$slots,`before`),(y(!0),M(Ne,null,_(T(b9)(e.layout,e.items),s=>(y(),O(Uwe,{key:s.id,isDraggable:e.isDraggable??e.layout===`client`,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:s,layout:e.layout,options:e.options,onOnDragEnd:i,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},Ce({_:2},[r.decorator?{name:`decorator`,fn:E(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:E(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:E(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),_:3}),S(t.$slots,`spacer`,{},()=>[a[2]||=N(`div`,{class:`flex-1`},null,-1)])]),S(t.$slots,`footer`)]),_:3},8,[`style`]))}}),j9=({items:e,nestedKey:t=`children`,filter:n=()=>!0,getId:r=e=>e.id})=>{let i=new Map,a=e=>{n(e)&&i.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>a({...t,parent:e}))};return e.forEach(a),i},Gwe=(e,t)=>{let n=j(()=>j9({items:d(e),nestedKey:t?.key??`children`})),r=A({}),i=A({}),a=A(null);return{items:j(()=>d(e)),index:n,selectedItems:r,expandedItems:i,selectedItem:a,setSelected:e=>{let i=e=>{e&&(r.value[e.id]=!0,`parent`in e&&e.parent&&i(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),r.value={},a.value=e,e!==null&&i(n.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let a=e=>{e&&(i.value[e.id]=!0,`parent`in e&&e.parent&&a(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),r===!1?i.value[e]=!1:a(n.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>i.value[e]??!1,isSelected:e=>r.value[e]??!1,getEntryById:e=>n.value.get(e),reset:()=>{r.value={},i.value={}}}},M9=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&lo.PATH,n&&lo.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>e!==void 0):[]),N9=(e,t)=>{if(t)return t.type===e?t:N9(e,t.parent)},Kwe=e=>e.type===`document`||e.type===`tag`||e.type===`operation`,qwe=({store:e,entry:t})=>{let n=N9(`document`,t);if(!n)return null;let r=e.workspace.documents[n.name];return r?t.type===`document`?r:Yw(r)?t.type===`tag`?r.tags?.find(e=>e.name===t.name)??null:t.type===`operation`?L($w(r.paths?.[t.path],t.method))??null:null:null:null},P9=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)i.type===`operation`?n(`${i.path}|${i.method}`,{...i,parent:t}):i.type===`webhook`?n(`${i.name}|${i.method}`,{...i,parent:t}):`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t},Jwe=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)i.type===`tag`?(n(i.name,{...i,parent:t}),r(i.children,{...i,parent:t})):`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t},F9=(e,t)=>{let n=t?.modelsSectionLabel??`Models`,r=g9(n),i=n=>{let a=g9(e);if(n.type===`text`)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:n.slug}):n.slug?`${a}/description/${n.slug}`:`${a}/`;if(n.type===`tag`){let e=n.isGroup?`tag-group`:`tag`;return t?.generateTagSlug?`${a}/${e}/${t.generateTagSlug(n.tag)}`:`${a}/${e}/${g9(n.tag.name??``)}`}if(n.type===`asyncapi-channel`)return`${n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`}asyncapi-channel/${g9(n.channelName)}`;if(n.type===`asyncapi-message`)return`${n.parentId}/asyncapi-message/${g9(n.messageName)}`;if(n.type===`asyncapi-operation`)return`${n.parentId}/asyncapi-operation/${g9(n.operationName)}`;if(n.type===`operation`){let e=n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`;return t?.generateOperationSlug?`${e}${t.generateOperationSlug({path:n.path,operationId:n.operation.operationId,method:n.method.toUpperCase(),summary:n.operation.summary})}`:`${e}${n.method.toUpperCase()}${n.path}`}if(n.type===`webhook`){let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:n.name,method:n.method?.toUpperCase()})}`:`${e}webhook/${n.method?.toUpperCase()}/${g9(n.name)}`}if(n.type===`model`){if(!n.name)return`${a}/${r}`;let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateModelSlug?`${e}${r}/${t.generateModelSlug({name:n.name})}`:`${e}${r}/${g9(n.name,{preserveCase:!0})}`}return n.type===`example`?`${n.parentId}/example/${g9(n.name)}`:n.type===`document`?a:(console.warn(`[WARNING]: unhandled id generation for navigation item:`,n),`unknown-id`)};return{hideModels:t?.hideModels??!1,modelsSectionLabel:n,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,operationTitleSource:t?.operationTitleSource,generateId:i}},I9=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},L9=(e,t,n,r)=>{let i=M9(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=M9(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),o=I9(t,i),s=I9(e,a),c=Object.create(null);for(let e of n){let t=r(e);t?.in===`path`&&(c[t.name]=e)}let l=new Set,u=new Set,d=[];for(let e of a){if(c[e]){l.add(e),u.add(c[e]);continue}let t=s[e],n=i.find(e=>o[e]===t&&!l.has(e));if(n&&c[n]!==void 0){let t=c[n];t&&(r(t).name=e,u.add(t)),l.add(n);continue}d.push({in:`path`,name:e})}let f=[];for(let e of n){let t=r(e),n=Lc(e,{depth:1});if(t?.in!==`path`){f.push(n);continue}u.has(e)&&f.push(n)}return f.concat(d)};async function Ywe({defaultValue:e,validation:t,transformation:n,maxRetries:r=5}){let i=n?.(e)??e;return await t(i)?i:R9({value:[i,1],validation:t,maxRetries:r,transformation:n})}async function R9({value:e,validation:t,maxRetries:n,attempts:r=0,transformation:i}){if(r>=n)return;let a=e.join(` `),o=i?.(a)??a;return await t(o)?o:R9({value:[e[0],e[1]+1],validation:t,maxRetries:n,transformation:i,attempts:r+1})}var z9=e=>e!==void 0&&Object.keys(e).length>0,Xwe=async(e,t,{selectedRequirements:n,newSchemes:r,meta:i})=>{if(!Yw(t))return;let a=t[`x-scalar-navigation`]?.name;if(!a)return;let o=()=>i.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:a}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method}),s=(await Promise.all(r.map(async e=>{let n=await Ywe({defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],maxRetries:100});if(n)return t.components||={},t.components.securitySchemes||(t.components.securitySchemes={}),t.components.securitySchemes[n]=e.scheme,{[n]:[]}}))).filter(Boolean),c=o(),l=[...n,...s],u=()=>c?.selectedIndex?c.selectedIndex>=l.length?l.length-1:c.selectedIndex:0;return i.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:a},{selectedIndex:u(),selectedSchemes:l}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method},{selectedIndex:u(),selectedSchemes:l})},Zwe=(e,t,{meta:n})=>{if(!Yw(t))return;let r=t[`x-scalar-navigation`]?.name;if(r)return n.type===`document`?e?.auth.clearAuthSelectedSchemas({type:`document`,documentName:r}):e?.auth.clearAuthSelectedSchemas({type:`operation`,documentName:r,path:n.path,method:n.method})},Qwe=(e,{payload:t,name:n})=>{if(!Yw(e))return;let r=L(e.components?.securitySchemes?.[n]);if(!r){console.error(`Security scheme ${n} not found`);return}return r.type===t.type&&lT(r,t),r},$we=(e,t,{payload:n,name:r,overwrite:i=!1})=>{if(!Yw(t))return;let a=t[`x-scalar-navigation`]?.name;if(!a)return;if(i){e?.auth.setAuthSecrets(a,r,n);return}let o=e?.auth.getAuthSecrets(a,r),s=lT(Lc(o,{depth:1})??{},n);e?.auth.setAuthSecrets(a,r,s)},eTe=(e,t,{name:n})=>{if(!Yw(t))return;let r=t[`x-scalar-navigation`]?.name;r&&e?.auth.clearAuthSecrets(r,n)},tTe=(e,t,{index:n,meta:r})=>{if(!Yw(t))return;let i=t[`x-scalar-navigation`]?.name;if(!i||r.type===`operation`&&$w(t.paths?.[r.path],r.method)===void 0)return;let a=r.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:i}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method});if(!a)return r.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:i},{selectedIndex:n,selectedSchemes:[]}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:[]});e?.auth.setAuthSelectedSchemas(r.type===`document`?{type:`document`,documentName:i}:{type:`operation`,documentName:i,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:Lc(a.selectedSchemes,{depth:null})??[]})},nTe=(e,t)=>{let n=[...Object.keys(e)].sort((e,t)=>e.localeCompare(t)),r=[...t].sort((e,t)=>e.localeCompare(t));return JSON.stringify(n)===JSON.stringify(r)},rTe=(e,t,{id:n,name:r,scopes:i,meta:a})=>{if(!Yw(t))return;let o=t[`x-scalar-navigation`]?.name;if(!o)return;let s=(a.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:o}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:o,path:a.path,method:a.method}))??sT(void 0,void 0,[],t.components?.securitySchemes??{},n.length===1?n[0]:n),c=Lc(s.selectedSchemes,{depth:1})??[],l=c.find(e=>nTe(e,n));z9(l)&&(l[r]=i,e?.auth.setAuthSelectedSchemas(a.type===`document`?{type:`document`,documentName:o}:{type:`operation`,documentName:o,path:a.path,method:a.method},{selectedIndex:s.selectedIndex,selectedSchemes:c}))},B9=(e,t,n)=>{if(!Yw(e))return null;let r=L(e.components?.securitySchemes?.[t]);return!r||r.type!==`oauth2`&&r.type!==`openIdConnect`?null:r.flows?.[n]??null},V9=(e,t,n)=>{if(!Yw(t)||!e)return;let r=t[`x-scalar-navigation`]?.name;if(!r)return;let i=t=>{let r=e.auth.getAuthSelectedSchemas(t);if(!r)return;let i=Lc(r.selectedSchemes,{depth:1})??[];n(i),e.auth.setAuthSelectedSchemas(t,{selectedIndex:r.selectedIndex,selectedSchemes:i})};i({type:`document`,documentName:r}),Object.entries(t.paths??{}).forEach(([e,t])=>{nT(t,t=>{i({type:`operation`,documentName:r,path:e,method:t})})})},iTe=(e,t,{name:n,flowType:r,scope:i,description:a,oldScope:o,enable:s})=>{if(!Yw(t))return;let c=B9(t,n,r);if(!c)return;c.scopes||={};let l=!!o&&o!==i;if(l){if(!(o in c.scopes))return;delete c.scopes[o]}c.scopes[i]=a,!(!l&&!s)&&V9(e,t,e=>{e.forEach(e=>{if(!z9(e))return;let t=e[n];if(!Array.isArray(t))return;let r=t;l&&r.includes(o)&&(r=r.map(e=>e===o?i:e)),s&&!r.includes(i)&&(r=[...r,i]),r!==t&&(e[n]=r)})})},aTe=(e,t,{name:n,flowType:r,scope:i})=>{if(!Yw(t))return;let a=B9(t,n,r);a?.scopes&&(delete a.scopes[i],V9(e,t,e=>{e.forEach(e=>{if(!z9(e))return;let t=e[n];!Array.isArray(t)||!t.includes(i)||(e[n]=t.filter(e=>e!==i))})}))},oTe=(e,t,{names:n})=>{if(!Yw(t))return;let r=t[`x-scalar-navigation`]?.name;if(!r)return;let i=L(t.components?.securitySchemes);if(!i)return;n.forEach(e=>{delete i[e]});let a=(e,t)=>Math.max(0,Math.min(e,t-1)),o=e=>(Lc(e,{depth:1})??[]).filter(e=>!n.some(t=>Object.keys(e).includes(t))),s=e?.auth.getAuthSelectedSchemas({type:`document`,documentName:r});if(s){let t=o(s.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:`document`,documentName:r},{selectedIndex:a(s.selectedIndex,t.length),selectedSchemes:t})}t.security&&=o(t.security),Object.entries(t.paths??{}).forEach(([t,n])=>{nT(n,(n,i)=>{let s=L(i);`security`in s&&s.security&&(s.security=o(s.security));let c=e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:r,path:t,method:n});if(c){let i=o(c.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:r,path:t,method:n},{selectedIndex:a(c.selectedIndex,i.length),selectedSchemes:i})}})})},sTe=({document:e,store:t})=>({updateSelectedSecuritySchemes:n=>Xwe(t,e,n),clearSelectedSecuritySchemes:n=>Zwe(t,e,n),updateSecurityScheme:t=>Qwe(e,t),updateSecuritySchemeSecrets:n=>$we(t,e,n),clearSecuritySchemeSecrets:n=>eTe(t,e,n),updateSelectedAuthTab:n=>tTe(t,e,n),updateSelectedScopes:n=>rTe(t,e,n),upsertScope:n=>iTe(t,e,n),deleteScope:n=>aTe(t,e,n),deleteSecurityScheme:n=>oTe(t,e,n)}),cTe=(e,{payload:t,index:n})=>{if(!e||Xw(e))return;if(e[`x-scalar-cookies`]||=[],n!==void 0){if(n<0||n>=e[`x-scalar-cookies`].length)return;let r=px(Vx,{...e[`x-scalar-cookies`][n],...t});return e[`x-scalar-cookies`][n]=r,r}let r=px(Vx,t);return e[`x-scalar-cookies`].push(r),r},lTe=(e,{index:t})=>!e||Xw(e)||!e[`x-scalar-cookies`]||t<0||t>=e[`x-scalar-cookies`].length?!1:(e[`x-scalar-cookies`].splice(t,1),!0),H9=({collection:e})=>({upsertCookie:t=>cTe(e,t),deleteCookie:t=>lTe(e,t)}),uTe=(e,t)=>{Yw(e)&&lT(e,t)},dTe=(e,t)=>{Yw(e)&&(e[`x-scalar-watch-mode`]=t)},fTe=(e,t)=>{Yw(e)&&(lT(e.info,t),e[`x-scalar-navigation`]&&t.title!==void 0&&(e[`x-scalar-navigation`].title=t.title?.trim()||`Untitled Document`))},pTe=(e,t)=>{!Yw(e)||!e[`x-scalar-navigation`]||(e[`x-scalar-icon`]=t,e[`x-scalar-navigation`].icon=t)},mTe=async(e,t)=>{if(e){if(e.workspace.documents[t.name]){t.callback?.(!1);return}await e.addDocument({name:t.name,document:{openapi:`3.1.0`,info:{title:t.name,version:`1.0.0`},paths:{"/":{get:{}}},"x-scalar-icon":t.icon}}),t.callback?.(!0)}},hTe=(e,t)=>{e&&e.deleteDocument(t.name)},gTe=({document:e,store:t})=>({updateDocumentExtension:t=>uTe(e,t),updateDocumentInfo:t=>fTe(e,t),updateWatchMode:t=>dTe(e,t),updateDocumentIcon:t=>pTe(e,t),createEmptyDocument:e=>mTe(t,e),deleteDocument:e=>hTe(t,e)}),_Te=(e,t,{environmentName:n,payload:r,oldEnvironmentName:i})=>{if(!t||!e||Xw(t))return;t[`x-scalar-environments`]||={};let a=!t[`x-scalar-environments`][i??n],o=px(_x,{...Lc(t[`x-scalar-environments`][i??n],{depth:1}),...r});return t[`x-scalar-environments`][n]=o,i&&i!==n&&(delete t[`x-scalar-environments`][i],e[`x-scalar-active-environment`]===i&&(e[`x-scalar-active-environment`]=n)),a&&(e[`x-scalar-active-environment`]=n),o},vTe=(e,t,{environmentName:n})=>{!t||!e||Xw(t)||delete t[`x-scalar-environments`]?.[n]},yTe=(e,{environmentName:t,variable:n,index:r})=>{if(!e||Xw(e))return;if(!e[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}let i=px(hx,n);if(r!==void 0){if(i.name===``){e[`x-scalar-environments`][t].variables.splice(r,1);return}e[`x-scalar-environments`][t].variables[r]=i}else e[`x-scalar-environments`][t].variables.push(i);return i},bTe=(e,{environmentName:t,index:n})=>{if(!(!e||Xw(e))){if(!e[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}e[`x-scalar-environments`][t]?.variables?.splice(n,1)}},U9=({workspace:e,collection:t})=>({upsertEnvironment:n=>_Te(e,t,n),deleteEnvironment:n=>vTe(e,t,n),upsertEnvironmentVariable:e=>yTe(t,e),deleteEnvironmentVariable:e=>bTe(t,e)}),xTe=(e,t)=>e&&e.workspace.documents[t]||null,W9=(e,t,n)=>{if(!Yw(e))return null;let r=L($w(e.paths?.[n.path],n.method));if(!r)return null;let i=L(r.requestBody);return i||=(r.requestBody={content:{}},L(r.requestBody)),i.content[t]||={},i.content[t].examples||={},i.content[t].examples[n.exampleKey]||={},L(i.content[t].examples?.[n.exampleKey])??null},STe=(e,{meta:t,payload:n})=>{if(!Yw(e))return;let r=L($w(e.paths?.[t.path],t.method));if(!r)return;let i=L(r.requestBody);i||=(r.requestBody={content:{}},L(r.requestBody)),i[`x-scalar-selected-content-type`]||={},i[`x-scalar-selected-content-type`][t.exampleKey]=n.contentType},CTe=(e,{meta:t,payload:n,contentType:r})=>{let i=W9(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=n},wTe=(e,{meta:t,payload:n,contentType:r})=>{let i=W9(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=Lc(n,{depth:3})},TTe=(e,{meta:t,payload:n})=>{if(!Yw(e))return;let r=L($w(e.paths?.[t.path],t.method));r&&lT(r,n)},ETe=async({requestPayload:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let[i,a]=e,o=new URL(i),s=Array.from(o.searchParams.entries()).map(([e,t])=>({name:e,value:t})),c=new Headers(a.headers),l=c.get(`content-type`)?.split(`;`)[0]?.trim()??`text/plain`,{headers:u,headersSize:d,cookies:f}=ATe(c),p=await(async()=>{if(t&&a.body!=null){let e=await DTe(a.body,l);if(e.size<=r)return e}return{text:``,size:-1}})();return{method:a.method??`GET`,url:i,httpVersion:n,headers:u,cookies:f,queryString:s,headersSize:d,bodySize:p.size,postData:`params`in p?{mimeType:l,params:p.params}:{mimeType:l,text:p.text}}},DTe=async(e,t)=>e instanceof FormData?OTe(e):e instanceof URLSearchParams?kTe(e):t.includes(`application/octet-stream`)?{text:``,size:-1}:typeof e==`string`?{text:e,size:new TextEncoder().encode(e).byteLength}:e instanceof Blob?{text:await e.text(),size:e.size}:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?{text:new TextDecoder().decode(e),size:e.byteLength}:{text:``,size:-1},OTe=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(n instanceof File){let r=`@${n.name}`;return e.params.push({name:t,value:r}),e.size+=r.length,e}return e.params.push({name:t,value:n}),e.size+=n.length,e},{params:[],size:0}),kTe=e=>Array.from(e.entries()).reduce((e,[t,n])=>(e.params.push({name:t,value:n}),e.size+=t.length+n.length,e),{params:[],size:0}),ATe=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(t.toLowerCase()===`cookie`){let t=jTe(n);e.cookies.push(...t.cookies)}else e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2;return e},{headers:[],headersSize:0,cookies:[]}),jTe=e=>e.split(`;`).reduce((e,t)=>{let n=t.trim(),r=n.indexOf(`=`);if(r===-1)return e;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();return e.cookies.push({name:i,value:a}),e.size+=i.length+2+a.length+2,e},{cookies:[],size:0}),MTe=async({response:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let{headers:i,headersSize:a,cookies:o}=NTe(e),s=e.headers.get(`location`)||``,c=e.headers.get(`content-type`)??`text/plain`,l=await(async()=>{if(t&&e.body){let t=await PTe(e.clone());if(t.size<=r)return t}return{text:``,size:-1,encoding:void 0}})();return{status:e.status,statusText:e.statusText,httpVersion:n,headers:i,cookies:o,content:{size:l.size,mimeType:c,text:l.text,encoding:l.encoding},redirectURL:s,headersSize:a,bodySize:l.size}},NTe=e=>Array.from(e.headers.entries()).reduce((e,[t,n])=>{if(e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2,t.toLowerCase()===`set-cookie`){let t=ITe(n);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),PTe=async e=>{let t=e.headers.get(`content-type`);if(!t||!FTe(t))return{text:``,size:-1,encoding:void 0};try{let t=await e.arrayBuffer(),n=t.byteLength;return{text:new TextDecoder(`utf-8`).decode(t),size:n,encoding:void 0}}catch{return{text:``,size:-1,encoding:void 0}}},FTe=e=>{let t=e.toLowerCase();return!!(t.startsWith(`text/`)||t.includes(`application/json`)||t.includes(`+json`)||t.includes(`application/xml`)||t.includes(`text/xml`)||t.includes(`+xml`)||t.includes(`application/javascript`)||t.includes(`application/x-javascript`)||t.includes(`application/x-www-form-urlencoded`)||t.includes(`application/graphql`))},ITe=e=>{let t=e.split(`;`);if(t.length===0||!t[0])return null;let n=t[0].trim(),r=n.indexOf(`=`);return r===-1?null:{name:n.substring(0,r).trim(),value:n.substring(r+1).trim()}},LTe=(e,t,n)=>{e.forEach(e=>{let r=L(e);Jw(r)||(zTe(L(e),n,!0),r.in===`path`&&(r.examples||={},r.examples[n]={value:t[r.name]??``,"x-disabled":!1}))})},RTe=({harRequest:e,exampleKey:t,baseOperation:n={},pathVariables:r={}})=>{if(n.parameters||=[],LTe(n.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=G9(n.parameters,r.name,`query`);!e||Jw(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.headers&&e.headers.length>0)for(let r of e.headers){let e=G9(n.parameters,r.name,`header`);!e||Jw(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.cookies&&e.cookies.length>0)for(let r of e.cookies){let e=G9(n.parameters,r.name,`cookie`);!e||Jw(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.postData){let{mimeType:r,text:i,params:a}=e.postData;n.requestBody||={content:{}};let o=L(n.requestBody);o.content[r]||(o.content[r]={schema:{type:`object`}});let s=o.content[r];if(!s)return n;s.examples||={};let c;if(a&&a.length>0){c=[];for(let e of a)c.push({name:e.name,value:e.value,"x-disabled":!1})}else c=i;s.examples[t]={value:c,"x-disabled":!1},o[`x-scalar-selected-content-type`]||={},o[`x-scalar-selected-content-type`][t]=r}return n},zTe=(e,t,n)=>{Jw(e)||e.examples?.[t]&&(L(e.examples[t])[`x-disabled`]=n)},G9=(e,t,n)=>{for(let r of e){let e=L(r);if(!Jw(e)&&e.in===n&&(n===`header`?e.name.toLowerCase()===t.toLowerCase():e.name===t))return e}let r={name:t,in:n,schema:{type:`string`}};return e.push(r),r},BTe=async(e,t,{payload:n,meta:r})=>{if(!Yw(t))return;let i=t[`x-scalar-navigation`]?.name;if(!i||!n)return;let a=L($w(t.paths?.[r.path],r.method));if(!a)return;let o=(a.parameters??[]).reduce((e,t)=>{let n=L(t);return Jw(n)||n.in===`path`&&(e[n.name]=L(n.examples?.[r.exampleKey])?.value??``),e},{}),s=await ETe({requestPayload:n.requestPayload}),c=await MTe({response:n.response});e?.history.addHistory(i,r.path,r.method,{response:c,request:s,meta:{example:r.exampleKey},time:n.duration,timestamp:n.timestamp,requestMetadata:{variables:o}})},VTe=(e,t,{meta:n,index:r,callback:i})=>{if(!Yw(t)){console.error(`Document not found`,n.path,n.method);return}let a=L($w(t.paths?.[n.path],n.method));if(!a){console.error(`Operation not found`,n.path,n.method);return}let o=e?.history.getHistory(t[`x-scalar-navigation`]?.name??``,n.path,n.method)?.[r];if(!o){console.error(`History item not found`,r);return}RTe({harRequest:o.request,exampleKey:`draft`,baseOperation:a,pathVariables:o.requestMetadata.variables}),i(`success`)},K9=({store:e,generateId:t,...n})=>{n.entries?.forEach(r=>{if(!Kwe(r.parent))return;let i=qwe({store:e,entry:r.parent});if(!i||!(`x-scalar-order`in i))return;let a=i[`x-scalar-order`],o=a?.indexOf(r.id);if(!Array.isArray(a)||typeof o!=`number`||o<0)return;if(`tag`in n){let i=r.id,s=t({type:`tag`,parentId:r.parent.id,tag:n.tag});if(a[o]=s,i!==s){let t=N9(`document`,r),a=t?e.workspace.documents[t.name]:null,o=Yw(a)?a.tags?.find(e=>e.name===n.tag.name):void 0,c=o?.[`x-scalar-order`];if(o&&Array.isArray(c)){let e=`${i}/`,t=`${s}/`;o[`x-scalar-order`]=c.map(n=>n.startsWith(e)?t+n.slice(e.length):n)}}return}let s=r.parent.type===`tag`&&`name`in i?{tag:i,id:r.parent.id}:void 0;a[o]=t({type:`operation`,path:n.path,method:n.method,operation:n.operation,parentId:r.parent.id,parentTag:s})})},HTe=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!Yw(n)){t.callback?.(!1);return}let{path:r,method:i,operation:a}=t,o=r.startsWith(`/`)?r:`/${r}`;n.paths||={},n.paths[o]||(n.paths[o]={}),qw(o),qw(i),eT(n.paths[o],i,a);let{servers:s}=a,c=Lc(s?.[0]);for(let e of s??[])n.servers?.some(t=>t.url===e.url)||(n.servers||=[],n.servers.push(Lc(e)));c&&(n[`x-scalar-selected-server`]=c.url);let l=a.parameters,u=L9(o,o,l??[],L);return(l!==void 0||u.length>0)&&(a.parameters=u),t.callback?.(!0),o},UTe=(e,t,{meta:n,payload:r})=>{if(!e||!Yw(t))return;let i=t[`x-scalar-navigation`]?.name;if(i===void 0)return;let a=L($w(t.paths?.[n.path],n.method));if(!a){console.error(`Operation not found`,{meta:n,document:t});return}Object.assign(a,r),e.buildSidebar(i)},WTe=(e,t,{meta:n,payload:{method:r,path:i},blurTargetSelector:a,callback:o})=>{let s=n.method!==r,c=n.path!==i;if(!s&&!c){o(`no-change`,a);return}let l=s?r:n.method,u=c?i:n.path;if(!t||!Yw(e)){console.error(`Document or workspace not found`,{document:e});return}if($w(e.paths?.[u],l)){o(`conflict`,a);return}let d=e[`x-scalar-navigation`];if(!d){console.error(`Document navigation missing`,{document:e});return}let f=L($w(e.paths?.[n.path],n.method));if(!f){console.error(`Operation not found`,{meta:n,document:e});return}if(c){let e=M9(n.path,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),t=M9(u,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0);if(e.length>0||t.length>0){let e=f.parameters??[];f.parameters=L9(u,n.path,e,L)}}let{generateId:p}=F9(d.name),m=P9(d).get(`${n.path}|${n.method}`);m&&K9({store:t,operation:f,generateId:p,method:l,path:u,entries:m}),e.paths||={},e.paths[u]||(e.paths[u]={}),qw(u),qw(n.path),qw(l),eT(e.paths[u],l,Lc(f)),Zw(n.method)&&(tT(e.paths[n.path],n.method),rT(e.paths[n.path])&&delete e.paths[n.path]),t.history.clearOperationHistory(e[`x-scalar-navigation`]?.name??``,n.path,n.method),o(`success`,a)},GTe=(e,{meta:t,documentName:n})=>{let r=e?.workspace.documents[n];Yw(r)&&(qw(t.path),qw(t.method),tT(r.paths?.[t.path],t.method),rT(r.paths?.[t.path])&&delete r.paths?.[t.path])},KTe=(e,{meta:{path:t,method:n},documentName:r,exampleName:i})=>{let a=e?.workspace.documents[r];if(!Yw(a)){console.error(`Document not found`,{documentName:r});return}let o=L($w(a.paths?.[t],n));if(!o){console.error(`Operation not found`,{path:t,method:n});return}o[`x-draft-examples`]??=[];let s=new Set(o[`x-draft-examples`]);s.add(i),o[`x-draft-examples`]=Array.from(s)},qTe=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i})=>{let a=e?.workspace.documents[i];if(!Yw(a))return;let o=L($w(a.paths?.[t],n));if(!o)return;let s=new Set(o[`x-draft-examples`]??[]);s.delete(r),o[`x-draft-examples`]!==void 0&&(o[`x-draft-examples`]=Array.from(s)),o.parameters?.forEach(e=>{let t=L(e);`content`in t&&t.content&&Object.values(t.content).forEach(e=>{delete e.examples?.[r]}),`examples`in t&&t.examples&&delete t.examples?.[r]});let c=L(o.requestBody);c&&Object.values(c.content??{}).forEach(e=>{delete e.examples?.[r]})},JTe=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i,payload:a})=>{let o=e?.workspace.documents[i];if(!Yw(o))return;let s=L($w(o.paths?.[t],n));if(!s)return;let c=a.name.trim();if(!c||c===r)return;qw(c);let l=[];s.parameters?.forEach(e=>{let t=L(e);`examples`in t&&t.examples&&l.push(t.examples),`content`in t&&t.content&&Object.values(t.content).forEach(e=>{e.examples&&l.push(e.examples)})});let u=L(s.requestBody);u&&(Object.values(u.content??{}).forEach(e=>{e.examples&&l.push(e.examples)}),u[`x-scalar-selected-content-type`]&&l.push(u[`x-scalar-selected-content-type`])),!(s[`x-draft-examples`]?.includes(c)||l.some(e=>Object.hasOwn(e,c)))&&(s[`x-draft-examples`]&&=s[`x-draft-examples`].map(e=>e===r?c:e),l.forEach(e=>{Object.hasOwn(e,r)&&(e[c]=Lc(e[r]),delete e[r])}))},YTe=e=>{if(!e||typeof e!=`object`)return[];if(`$ref`in e){let t=[],n=e;n.parameters!==void 0&&t.push(n);let r=L(e);return r&&t.push(r),t}return[e]},XTe=(e,{meta:t,type:n,payload:r,originalParameter:i})=>{if(i){let e=i;e.name=r.name,e.examples||={},e.examples[t.exampleKey]||(e.examples[t.exampleKey]={});let n=L(e.examples[t.exampleKey]);n.value=r.value,n[`x-disabled`]=r.isDisabled;return}if(!Yw(e))return;let a=L($w(e.paths?.[t.path],t.method));if(!a){console.error(`Operation not found`,{meta:t,document:e});return}a.parameters||=[],a.parameters.push({name:r.name,in:n,required:n===`path`,examples:{[t.exampleKey]:{value:r.value,"x-disabled":!1}}})},ZTe=(e,{type:t,meta:n,payload:r,in:i})=>{if(!Yw(e))return;let a=L($w(e.paths?.[n.path],n.method));if(!a)return;a[`x-scalar-disable-parameters`]||={};let o={global:{cookie:`global-cookies`},default:{header:`default-headers`}}[t]?.[i];o&&(a[`x-scalar-disable-parameters`][o]||(a[`x-scalar-disable-parameters`][o]={}),a[`x-scalar-disable-parameters`][o][n.exampleKey]={...a[`x-scalar-disable-parameters`][o][n.exampleKey]??{},[n.name]:r.isDisabled??!1})},QTe=(e,{meta:t,originalParameter:n})=>{if(!Yw(e))return;let r=L($w(e.paths?.[t.path],t.method)),i=r?.parameters?.findIndex(e=>L(e)===n)??-1;if(r&&i>=0){r.parameters=Lc(r.parameters?.filter((e,t)=>t!==i),{depth:1});return}for(let r of YTe(e.paths?.[t.path])){let e=r.parameters?.findIndex(e=>L(e)===n)??-1;if(e>=0){r.parameters=Lc(r.parameters?.filter((t,n)=>n!==e),{depth:1});return}}},$Te=(e,{meta:t,type:n})=>{if(!Yw(e))return;let r=L($w(e.paths?.[t.path],t.method));r&&(r.parameters=r.parameters?.filter(e=>L(e).in!==n)??[])},eEe=({document:e,store:t})=>({createOperation:e=>HTe(t,e),updateOperationMeta:n=>UTe(t,e,n),updateOperationPathMethod:n=>WTe(e,t,n),deleteOperation:e=>GTe(t,e),createOperationDraftExample:e=>KTe(t,e),deleteOperationExample:e=>qTe(t,e),renameOperationExample:e=>JTe(t,e),updateOperationExtension:t=>TTe(e,t),updateOperationExtraParameters:t=>ZTe(e,t),upsertOperationParameter:t=>XTe(e,t),deleteOperationParameter:t=>QTe(e,t),deleteAllOperationParameters:t=>$Te(e,t),updateOperationRequestBodyContentType:t=>STe(e,t),updateOperationRequestBodyExample:t=>CTe(e,t),updateOperationRequestBodyFormValue:t=>wTe(e,t),addResponseToHistory:n=>BTe(t,e,n),reloadOperationHistory:n=>VTe(t,e,n)}),q9=(e,t)=>Yw(e)?t.type===`document`?e:L($w(e.paths?.[t.path],t.method))??null:null,tEe=(e,{meta:t})=>{let n=q9(e,t);if(!n){console.error(`Target not found`,t);return}return n.servers=[],n.servers},nEe=(e,{url:t,select:n,meta:r})=>{let i=q9(e,r);if(!i){console.error(`Target not found`,r);return}let a=px(xC,{url:t});return i.servers||=[],i.servers.push(a),n&&(i[`x-scalar-selected-server`]=a.url),a},J9=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},rEe=(e,t,n)=>{let r=M9(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),i=M9(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=J9(t,r),o=J9(e,i),s=new Set,c={};for(let e of i){if(n[e]){c[e]=n[e],s.add(e);continue}let t=o[e],i=r.find(e=>a[e]===t&&!s.has(e));if(i&&n[i]){c[e]=n[i],s.add(i);continue}c[e]={default:``}}return c},iEe=(e,{index:t,server:n,meta:r})=>{let i=q9(e,r);if(!i)return;let a=Lc(i.servers?.[t],{depth:1});if(!a){console.error(`Server not found at index:`,t);return}let o=a.url,s=px(xC,{...a,...n});if(o&&o!==s.url){let e=s.variables??{};s.variables=rEe(s.url,o,e),i[`x-scalar-selected-server`]===o&&(i[`x-scalar-selected-server`]=s.url)}return i.servers?i.servers[t]=s:i.servers=[s],s},aEe=(e,{index:t,meta:n})=>{let r=q9(e,n);if(!r?.servers)return;let i=r.servers[t]?.url;r.servers.splice(t,1),r[`x-scalar-selected-server`]===i&&(r[`x-scalar-selected-server`]=r.servers[0]?.url??void 0)},oEe=(e,{meta:t})=>{let n=q9(e,t);n&&(n.servers=void 0,n[`x-scalar-selected-server`]=void 0)},sEe=(e,{index:t,key:n,value:r,meta:i})=>{let a=q9(e,i)?.servers?.[t]?.variables?.[n];if(!a){console.error(`Variable not found`,n,t);return}return a.default=r,a},cEe=(e,{url:t,meta:n})=>{let r=q9(e,n);if(r)return t===``?(r[`x-scalar-selected-server`]=``,``):(r[`x-scalar-selected-server`]=r[`x-scalar-selected-server`]===t?``:t,r[`x-scalar-selected-server`])},lEe=(e,{name:t})=>{if(Xw(e))return e[`x-scalar-selected-server`]=t,e[`x-scalar-selected-server`]},uEe=(e,{name:t,key:n,value:r})=>{if(!Xw(e))return;let i=L(e.servers?.[t]),a=i?.variables?.[n]?L(i.variables[n]):void 0;if(!a){console.error(`Variable not found`,n,t);return}return a.default=r,a},dEe=({document:e})=>({initializeServers:t=>tEe(e,t),addServer:t=>nEe(e,t),updateServer:t=>iEe(e,t),deleteServer:t=>aEe(e,t),clearServers:t=>oEe(e,t),updateServerVariables:t=>sEe(e,t),updateSelectedServer:t=>cEe(e,t),updateSelectedAsyncApiServer:t=>lEe(e,t),updateAsyncApiServerVariables:t=>uEe(e,t)}),fEe=1,Y9=e=>e!==null&&e[`x-scalar-tabs`]!==void 0,X9=e=>Lc(e[`x-scalar-tabs`],{depth:fEe}),Z9=e=>e[`x-scalar-active-tab`]??0,pEe=(e,t)=>{e&&(t[`x-scalar-tabs`]&&(e[`x-scalar-tabs`]=t[`x-scalar-tabs`]),t[`x-scalar-active-tab`]!==void 0&&(e[`x-scalar-active-tab`]=t[`x-scalar-active-tab`]))},mEe=(e,t)=>{if(!Y9(e))return!1;let n=X9(e),r=n[Z9(e)];if(!r)return!1;let i=[...n,{...r}];return e[`x-scalar-tabs`]=i,e[`x-scalar-active-tab`]=i.length-1,!0},hEe=(e,t)=>{let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index;if(!Y9(e))return!1;let r=n(),i=Z9(e),a=X9(e).filter((e,t)=>t!==r);return a.length<=0?!1:(e[`x-scalar-tabs`]=a,e[`x-scalar-active-tab`]=r<i?i-1:Math.min(i,a.length-1),!0)},gEe=(e,t)=>{if(!Y9(e))return!1;let n=X9(e);return n.length<=1?!1:(e[`x-scalar-tabs`]=n.filter((e,n)=>n===t.index),e[`x-scalar-active-tab`]=0,!0)},_Ee=(e,t)=>{if(!Y9(e))return!1;let n=Z9(e);return n<=0?!1:(e[`x-scalar-active-tab`]=n-1,!0)},vEe=(e,t)=>{if(!Y9(e))return!1;let n=X9(e),r=Z9(e);return r>=n.length-1?!1:(e[`x-scalar-active-tab`]=r+1,!0)},yEe=(e,t)=>{if(!Y9(e))return!1;let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=X9(e),i=n();return Number.isNaN(i)||i<0||i>=r.length?!1:(e[`x-scalar-active-tab`]=i,!0)},bEe=(e,t)=>{if(!Y9(e))return!1;let n=X9(e);return n.length<=1?!1:(e[`x-scalar-active-tab`]=n.length-1,!0)},xEe=({workspace:e})=>({updateTabs:t=>pEe(e,t),addTab:t=>mEe(e,t),closeTab:t=>hEe(e,t),closeOtherTabs:t=>gEe(e,t),navigatePreviousTab:t=>_Ee(e,t),navigateNextTab:t=>vEe(e,t),focusTab:t=>yEe(e,t),focusLastTab:t=>bEe(e,t)}),SEe=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!Yw(n)){console.error(`Document not found`,{payload:t,store:e});return}n.tags||=[],n.tags.push({name:t.name})},CEe=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!e||!Yw(n)){console.error(`Document not found`,{payload:t,store:e});return}let r=n[`x-scalar-navigation`];if(!r){console.error(`Document navigation missing`,{payload:t,store:e});return}let i=t.tag.name,a=t.newName;n.tags?.length&&(n.tags=n.tags.map(e=>{let t=Lc(e);return t.name===i?{...t,name:a}:t})),t.tag.children?.forEach(e=>{if(e.type===`operation`){let t=L($w(n.paths?.[e.path],e.method));t&&`tags`in t&&(t.tags=Lc(t.tags,{depth:null})?.map(e=>e===i?a:e))}else if(e.type===`webhook`){let t=L($w(n.webhooks?.[e.name],e.method));t&&`tags`in t&&(t.tags=Lc(t.tags,{depth:null})?.map(e=>e===i?a:e))}}),n[`x-tagGroups`]&&=Lc(n[`x-tagGroups`],{depth:null}).map(e=>({...e,tags:e.tags.map(e=>e===i?a:e)}));let{generateId:o}=F9(r.name),s=Jwe(r).get(i);s&&K9({store:e,tag:{name:a},generateId:o,entries:s})},wEe=(e,t)=>{let n=e?.workspace.documents[t.documentName];Yw(n)&&(Object.values(n.paths??{}).forEach(e=>{nT(e,(e,n)=>{let r=L(n);`tags`in r&&(r.tags=Lc(r.tags,{depth:1})?.filter(e=>e!==t.name))})}),Object.values(n.webhooks??{}).forEach(e=>{nT(e,(e,n)=>{let r=L(n);r.tags=Lc(r.tags,{depth:1})?.filter(e=>e!==t.name)})}),n.tags=Lc(n.tags,{depth:null})?.filter(e=>e.name!==t.name))},TEe=({store:e})=>({createTag:t=>SEe(e,t),editTag:t=>CEe(e,t),deleteTag:t=>wEe(e,t)}),EEe=(e,t)=>{e&&(e[`x-scalar-active-proxy`]=t)},DEe=(e,t)=>{e&&(e[`x-scalar-color-mode`]=t)},OEe=(e,t)=>{e&&(e[`x-scalar-theme`]=t)},kEe=(e,t)=>{e&&(e[`x-scalar-active-environment`]=t??void 0)},AEe=(e,t)=>{e&&(e[`x-scalar-default-client`]=t)},jEe=({workspace:e})=>({updateActiveProxy:t=>EEe(e,t),updateColorMode:t=>DEe(e,t),updateTheme:t=>OEe(e,t),updateSelectedClient:t=>AEe(e,t),updateActiveEnvironment:t=>kEe(e,t)});function MEe(e){let t=t=>({auth:sTe({store:e,document:t}),cookie:H9({collection:t}),document:gTe({document:t,store:e}),operation:eEe({document:t,store:e}),server:dEe({document:t}),tag:TEe({store:e}),environment:U9({workspace:e?.workspace??null,collection:t})}),n=()=>({cookie:H9({collection:e?.workspace??null}),tabs:xEe({workspace:e?.workspace??null}),workspace:jEe({workspace:e?.workspace??null}),environment:U9({workspace:e?.workspace??null,collection:e?.workspace??null})});return{workspace:()=>n(),active:()=>t(e?.workspace.activeDocument??null),doc:n=>t(xTe(e,n))}}var Q9=(e={})=>{let{delay:t=328,maxWait:n}=e,r=new Map,i=new Map,a=new Map,o=()=>{r.forEach(clearTimeout),i.forEach(clearTimeout),r.clear(),i.clear(),a.clear()},s=e=>{let t=a.get(e),n=r.get(e);n!==void 0&&(clearTimeout(n),r.delete(e));let o=i.get(e);if(o!==void 0&&(clearTimeout(o),i.delete(e)),a.delete(e),t!==void 0)try{t()}catch{}};return{execute:(e,o)=>{a.set(e,o);let c=r.get(e);c!==void 0&&clearTimeout(c),r.set(e,setTimeout(()=>s(e),t)),n!==void 0&&!i.has(e)&&i.set(e,setTimeout(()=>s(e),n))},cleanup:o,flush:e=>{a.has(e)&&s(e)},flushAll:()=>{let e=[...a.keys()];for(let t of e)s(t)}}},NEe=(e={})=>{let{debug:t=!1}=e,n=new Map,r=new Set,i=[],a=null,{execute:o,flushAll:s}=Q9({delay:328}),c=e=>{let t=n.get(e)??new Set;return n.set(e,t),t},l=()=>{if(i.length!==0){if(t)if(i.length===1){let e=i[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{console.groupCollapsed(`[EventBus] ${i.length} operations`);for(let{message:e,args:t}of i)console.log(e,...t);console.groupEnd()}i.length=0,a=null}},u=(e,...n)=>{t&&(i.push({message:e,args:n}),a&&clearTimeout(a),a=setTimeout(l,500))},d=(e,t)=>{let n=r=>{p(e,n),t(r)};return f(e,n)},f=(e,t)=>{let n=c(e);return n.add(t),u(`Added listener for "${String(e)}" (${n.size} total)`),()=>p(e,t)},p=(e,t)=>{let r=n.get(e);r&&(r.delete(t),u(`Removed listener for "${String(e)}" (${r.size} remaining)`),r.size===0&&n.delete(e))},m=e=>(r.add(e),u(`Added wildcard listener (${r.size} total)`),()=>h(e)),h=e=>{r.delete(e),u(`Removed wildcard listener (${r.size} remaining)`)},g=(e,t,i)=>{let a=i?.skipUnpackProxy?t:Lc(t,{depth:5}),o=n.get(e),s=o!==void 0&&o.size>0;if(!s&&r.size===0){u(`🛑 No listeners for "${String(e)}"`);return}if(s&&o){u(`Emitting "${String(e)}" to ${o.size} listener(s)`,t);let n=Array.from(o);for(let t of n)try{t(a)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}}if(r.size>0){u(`Emitting "${String(e)}" to ${r.size} wildcard listener(s)`,t);let n={event:e,payload:a},i=Array.from(r);for(let t of i)try{t(n)}catch(t){console.error(`[EventBus] Error in wildcard listener for "${String(e)}":`,t)}}};return{on:f,once:d,off:p,onAny:m,offAny:h,emit:(...e)=>{let[t,n,r]=e;if(!r?.debounceKey){g(t,n,r);return}o(`${t}-${r.debounceKey}`,()=>g(t,n,r))},flushDebouncedEmits:()=>{s()}}},$9=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return gT;let t=new Set(gT);if(Array.isArray(e))for(let n of e){let e=hT[n];if(e)for(let r of e)t.delete(`${n}/${r}`);else if(n.includes(`/`))t.delete(n);else for(let e of iT(hT))t.delete(`${e}/${n}`)}else if(typeof e==`object`){for(let[n,r]of Object.entries(e))if(r===!0){let e=hT[n];if(e)for(let r of e)t.delete(`${n}/${r}`)}else if(Array.isArray(r))for(let e of r)t.delete(e),t.delete(`${n}/${e}`)}return Array.from(t)};export{L6 as $,jr as $a,kc as $i,Kw as $n,Tre as $r,lU as $t,E7 as A,ro as Aa,bd as Ai,tce as An,dt as Ao,Kie as Ar,d6 as At,kSe as B,Ca as Ba,Nl as Bi,Qw as Bn,F as Bo,cie as Br,JW as Bt,JCe as C,mo as Ca,Hv as Ci,Tz as Cn,Mn as Co,WC as Cr,m6 as Ct,OCe as D,oo as Da,kd as Di,gT as Dn,zn as Do,SC as Dr,Zhe as Dt,kCe as E,so as Ea,Jp as Ei,ck as En,Wt as Eo,RC as Er,f6 as Et,oCe as F,$a as Fa,Tl as Fi,iT as Fn,_t as Fo,Die as Fr,gG as Ft,S7 as G,Kr as Ga,_l as Gi,Yw as Gn,it as Go,Wre as Gr,fU as Gt,w7 as H,Ji as Ha,gl as Hi,Jse as Hn,P as Ho,aie as Hr,CU as Ht,C7 as I,Ka as Ia,hl as Ii,Xse as In,gt as Io,Tie as Ir,pG as It,Gxe as J,Vr as Ja,Sl as Ji,Hse as Jn,Lre as Jr,XH as Jt,g7 as K,qr as Ka,Ml as Ki,Use as Kn,at as Ko,Bre as Kr,dU as Kt,aCe as L,za as La,jl as Li,Yse as Ln,ct as Lo,Cie as Lr,dG as Lt,PSe as M,qee as Ma,z as Mi,cT as Mn,vt as Mo,Nie as Mr,MG as Mt,v7 as N,no as Na,Ll as Ni,sT as Nn,nee as No,jie as Nr,xG as Nt,Q7 as O,ao as Oa,Cd as Oi,sce as On,Ln as Oo,oae as Or,s6 as Ot,MSe as P,to as Pa,Fl as Pi,Zse as Pn,ht as Po,kie as Pr,_G as Pt,W6 as Q,Rr as Qa,Pc as Qi,Bse as Qn,Dre as Qr,$H as Qt,D7 as R,Ma as Ra,Ol as Ri,nT as Rn,ot as Ro,vie as Rr,uG as Rt,twe as S,po as Sa,fy as Si,Ez as Sn,Tn as So,HC as Sr,h6 as St,qCe as T,co as Ta,Kh as Ti,lk as Tn,wn as To,UC as Tr,p6 as Tt,RSe as U,Yi as Ua,Dl as Ui,qse as Un,mt as Uo,eie as Ur,_U as Ut,b7 as V,ea as Va,Al as Vi,Zw as Vn,ft as Vo,oie as Vr,VW as Vt,u7 as W,Xi as Wa,kl as Wi,Xw as Wn,ut as Wo,Qre as Wr,gU as Wt,wve as X,Ur as Xa,zc as Xi,Wse as Xn,Are as Xr,eU as Xt,o8 as Y,Hr as Ya,El as Yi,Kse as Yn,Fre as Yr,QH as Yt,a8 as Z,zr as Za,Lc as Zi,qw as Zn,Mre as Zr,iU as Zt,uwe as _,rne as _a,Sx as _i,YV as _n,Zn as _o,JC as _r,gge as _t,z9 as a,mc as aa,Jx as ai,mH as an,ar as ao,Ase as ar,P6 as at,t9 as b,vo as ba,px as bi,jz as bn,Wn as bo,GC as br,_6 as bt,P9 as c,dc as ca,Vx as ci,sH as cn,or as co,Pw as cr,A6 as ct,j9 as d,sc as da,Ix as di,GV as dn,_r as do,pw as dr,C6 as dt,wc as ea,Cre as ei,bH as en,kr as eo,Ww as er,I6 as et,Wwe as f,oc as fa,Px as fi,JV as fn,ur as fo,nw as fr,S6 as ft,fwe as g,ane as ga,wx as gi,qV as gn,Xn as go,YC as gr,mge as gt,g9 as h,ic as ha,Ex as hi,KV as hn,I as ho,XC as hr,yge as ht,MEe as i,_c as ia,Qx as ii,FH as in,wr as io,zw as ir,Kge as it,lCe as j,mte as ja,yd as ji,lT as jn,st as jo,Fie as jr,PG as jt,Z7 as k,io as ka,Sd as ki,nce as kn,lt as ko,tae as kr,Qhe as kt,N9 as l,L as la,Bx as li,rH as ln,dr as lo,Iw as lr,Ige as lt,v9 as m,rc as ma,Ox as mi,QV as mn,Qn as mo,ew as mr,Cge as mt,NEe as n,vc as na,ure as ni,vH as nn,Or as no,Hw as nr,Xge as nt,L9 as o,pc as oa,Kx as oi,uH as on,gr as oo,Ose as or,N6 as ot,y9 as p,ac as pa,Mx as pi,XV as pn,rr as po,tw as pr,wge as pt,s7 as q,Wr as qa,Pl as qi,Gse as qn,zre as qr,BH as qt,Q9 as r,hc as ra,$x as ri,MH as rn,Er as ro,Vw as rr,Yge as rt,F9 as s,uc as sa,Wx as si,cH as sn,vr as so,Fw as sr,j6 as st,$9 as t,Ec as ta,vre as ti,jH as tn,Ir as to,Uw as tr,F6 as tt,Gwe as u,lc as ua,Rx as ui,oH as un,lr as uo,mw as ur,O6 as ut,r9 as v,bo as va,bx as vi,Jz as vn,qn as vo,qC as vr,v6 as vt,YCe as w,lo as wa,V as wi,uk as wn,On as wo,BC as wr,nge as wt,n9 as x,$te as xa,Qy as xi,Oz as xn,mee as xo,VC as xr,g6 as xt,owe as y,yo as ya,mx as yi,Fz as yn,At as yo,zC as yr,hge as yt,_7 as z,Ta as za,vl as zi,$w as zn,pt as zo,die as zr,cG as zt};