@scalar/api-reference 1.62.9 → 1.64.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 (261) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +1 -1
  3. package/dist/blocks/index.d.ts +1 -0
  4. package/dist/blocks/index.d.ts.map +1 -1
  5. package/dist/blocks/index.js +3 -1
  6. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
  7. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  8. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js.map +1 -1
  9. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js.map +1 -1
  10. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts.map +1 -1
  11. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
  12. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js.map +1 -1
  13. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.script.js.map +1 -1
  14. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.d.ts.map +1 -1
  15. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js +1 -1
  16. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js.map +1 -1
  17. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js +4 -4
  18. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js.map +1 -1
  19. package/dist/browser/chunks/AgentScalarChatInterface-C8lX3RCo.js +27 -0
  20. package/dist/browser/chunks/ScalarTextInput.vue-Xf60Nwf-.js +27 -0
  21. package/dist/browser/chunks/basic-shape-diamond.svg-BTEOT1FL.js +1 -1
  22. package/dist/browser/chunks/basic-shape-hexagon.svg-BSPzaCgF.js +1 -1
  23. package/dist/browser/chunks/basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js +1 -1
  24. package/dist/browser/chunks/basic-shape-primary-square-rectangle.svg-n2YRykHD.js +1 -1
  25. package/dist/browser/chunks/basic-shape-shield.svg-Bec9cJDA.js +1 -1
  26. package/dist/browser/chunks/browser-67K6wmG9.js +1 -1
  27. package/dist/browser/chunks/computer-device-desktop-monitor.svg-m6j893Hb.js +1 -1
  28. package/dist/browser/chunks/computer-device-desktop.svg-Dk1VVO7k.js +1 -1
  29. package/dist/browser/chunks/computer-device-laptop.svg-BNGVUCYS.js +1 -1
  30. package/dist/browser/chunks/computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js +1 -1
  31. package/dist/browser/chunks/computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js +1 -1
  32. package/dist/browser/chunks/computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js +1 -1
  33. package/dist/browser/chunks/computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js +1 -1
  34. package/dist/browser/chunks/computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js +1 -1
  35. package/dist/browser/chunks/computer-device-mobile-tablet.svg-DCr0XlRc.js +1 -1
  36. package/dist/browser/chunks/computer-device-network-ethernet-cat6.svg-AK9l0iOl.js +1 -1
  37. package/dist/browser/chunks/computer-device-network-lan-www.svg-gUIdFBlE.js +1 -1
  38. package/dist/browser/chunks/computer-device-network-wifi-connection.svg-Be-EMm4e.js +1 -1
  39. package/dist/browser/chunks/computer-device-network-wifi-router.svg-Dc2VzyqK.js +1 -1
  40. package/dist/browser/chunks/ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js +1 -1
  41. package/dist/browser/chunks/image-flash-lightning.svg-EETR_y1q.js +1 -1
  42. package/dist/browser/chunks/image-picture-flower.svg-DN1AYzJU.js +1 -1
  43. package/dist/browser/chunks/interface-alert-exclamation-diamond.svg-C5NozMV_.js +1 -1
  44. package/dist/browser/chunks/interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js +1 -1
  45. package/dist/browser/chunks/interface-alert-information-circle.svg-ckkkt9Mv.js +1 -1
  46. package/dist/browser/chunks/interface-award-crown.svg-pjvn9hY-.js +1 -1
  47. package/dist/browser/chunks/interface-bookmark-tag.svg-r2r-lQq4.js +1 -1
  48. package/dist/browser/chunks/interface-bookmark.svg-BK9HKQBT.js +1 -1
  49. package/dist/browser/chunks/interface-calendar-date-one.svg-DNnF0M1I.js +1 -1
  50. package/dist/browser/chunks/interface-content-book-open-pages.svg-CQj_w9Vp.js +1 -1
  51. package/dist/browser/chunks/interface-content-book-page.svg-DppoeJRe.js +1 -1
  52. package/dist/browser/chunks/interface-content-file.svg-CvcD7OiY.js +1 -1
  53. package/dist/browser/chunks/interface-content-folder.svg-BmtS5I9A.js +1 -1
  54. package/dist/browser/chunks/interface-copy-clipboard.svg-Be6EI50X.js +1 -1
  55. package/dist/browser/chunks/interface-edit-attachment.svg-G5TKzpWX.js +1 -1
  56. package/dist/browser/chunks/interface-edit-binocular.svg-jzL-DvGB.js +1 -1
  57. package/dist/browser/chunks/interface-edit-magic-wand.svg-BOTlymvp.js +1 -1
  58. package/dist/browser/chunks/interface-edit-tool-paint-roller.svg-s9dwryx7.js +1 -1
  59. package/dist/browser/chunks/interface-edit-tool-pencil.svg-C7v0dbB3.js +1 -1
  60. package/dist/browser/chunks/interface-favorite-award.svg-CYHUgUG0.js +1 -1
  61. package/dist/browser/chunks/interface-favorite-flag.svg-C10zlKOb.js +1 -1
  62. package/dist/browser/chunks/interface-favorite-heart.svg-eoduXxlz.js +1 -1
  63. package/dist/browser/chunks/interface-favorite-star.svg-BSmxJetr.js +1 -1
  64. package/dist/browser/chunks/interface-favorite-stars-sparkles.svg-JTFLj3Ls.js +1 -1
  65. package/dist/browser/chunks/interface-hierarchy-flowchart.svg-Cg_Wy0kN.js +1 -1
  66. package/dist/browser/chunks/interface-home-house.svg-DytoGRnv.js +1 -1
  67. package/dist/browser/chunks/interface-hyperlink.svg-CuEfmmQI.js +1 -1
  68. package/dist/browser/chunks/interface-lighting-brightness.svg-DSK0h_Pa.js +1 -1
  69. package/dist/browser/chunks/interface-lock-closed.svg-Cn6TaLYv.js +1 -1
  70. package/dist/browser/chunks/interface-lock-open-unlock.svg-CVkG5-9W.js +1 -1
  71. package/dist/browser/chunks/interface-login-key.svg-y-cwwXjN.js +1 -1
  72. package/dist/browser/chunks/interface-search.svg-S-puVFJB.js +1 -1
  73. package/dist/browser/chunks/interface-setting-cog.svg-CTH4_lLg.js +1 -1
  74. package/dist/browser/chunks/interface-share-megaphone-bullhorn.svg-Pbp39MyC.js +1 -1
  75. package/dist/browser/chunks/interface-share-rocket.svg-BgCsIRZO.js +1 -1
  76. package/dist/browser/chunks/interface-share-satellite.svg-DAMN9d5G.js +1 -1
  77. package/dist/browser/chunks/interface-share-space-ship.svg-Dt-Mejxk.js +1 -1
  78. package/dist/browser/chunks/interface-share.svg-vFYTXSti.js +1 -1
  79. package/dist/browser/chunks/interface-signal-square.svg-DNG4LpAe.js +1 -1
  80. package/dist/browser/chunks/interface-time-clock-circle.svg-Bpz-nLxo.js +1 -1
  81. package/dist/browser/chunks/interface-time-hour-glass.svg-D7agfKsH.js +1 -1
  82. package/dist/browser/chunks/interface-users-multiple.svg-CkPJBBnG.js +1 -1
  83. package/dist/browser/chunks/interface-weather-moon.svg-CaTZFMPO.js +1 -1
  84. package/dist/browser/chunks/mail-chat-bubble-square.svg-DC8RIihp.js +1 -1
  85. package/dist/browser/chunks/mail-send-email-paper-airplane.svg-D8OLs9jz.js +1 -1
  86. package/dist/browser/chunks/mail-send-envelope.svg-CV33h5Sx.js +1 -1
  87. package/dist/browser/chunks/{modal-BVUfMpuv.js → modal-B8Opb61-.js} +2 -2
  88. package/dist/browser/chunks/modal-Dcl-Y2Zk.js +99 -0
  89. package/dist/browser/chunks/money-cashier-receipt.svg-CJL8C2gs.js +1 -1
  90. package/dist/browser/chunks/money-currency-dollar-pay.svg-VdBplCTx.js +1 -1
  91. package/dist/browser/chunks/money-graph-arrow-increase.svg-DcRov3zk.js +1 -1
  92. package/dist/browser/chunks/money-graph-bar-chart-increase.svg-Cc7KxjX-.js +1 -1
  93. package/dist/browser/chunks/nature-ecology-leaf.svg-DR3cTZxt.js +1 -1
  94. package/dist/browser/chunks/phone-telephone.svg-DyY0gUlk.js +1 -1
  95. package/dist/browser/chunks/programming-bug.svg-BHLT-Qhp.js +1 -1
  96. package/dist/browser/chunks/programming-cloud.svg-B6YW33ba.js +1 -1
  97. package/dist/browser/chunks/programming-computer-database-server.svg-B6o5Sdn-.js +1 -1
  98. package/dist/browser/chunks/programming-computer-database.svg-Cl7OVtpJ.js +1 -1
  99. package/dist/browser/chunks/programming-module-four-layout.svg-BQrerL1x.js +1 -1
  100. package/dist/browser/chunks/programming-module-three.svg-B2KTQzBM.js +1 -1
  101. package/dist/browser/chunks/programming-module.svg-CiID7kPm.js +1 -1
  102. package/dist/browser/chunks/programming-script-code.svg-D1M5rtkN.js +1 -1
  103. package/dist/browser/chunks/runtime-core.esm-bundler-Byrbbu5Q.js +1 -1
  104. package/dist/browser/chunks/shopping-cart.svg-BEegiIR9.js +1 -1
  105. package/dist/browser/chunks/shopping-gift-present.svg-BUHwuLix.js +1 -1
  106. package/dist/browser/chunks/shopping-shipping-box-parcel-package.svg-D6fxWdYx.js +1 -1
  107. package/dist/browser/chunks/tag-new-circle.svg-jsg1bGs0.js +1 -1
  108. package/dist/browser/chunks/travel-map-earth-globe.svg-ClbMiU-f.js +1 -1
  109. package/dist/browser/chunks/vendor-CBP43oHJ.js +306 -0
  110. package/dist/browser/standalone.esm.js +24 -24
  111. package/dist/browser/standalone.js +308 -308
  112. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  113. package/dist/components/ApiReference.vue.js +1 -1
  114. package/dist/components/ApiReference.vue.js.map +1 -1
  115. package/dist/components/ApiReference.vue.script.js +94 -19
  116. package/dist/components/ApiReference.vue.script.js.map +1 -1
  117. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  118. package/dist/components/Badge/Badge.vue.js +1 -1
  119. package/dist/components/Badge/Badge.vue.js.map +1 -1
  120. package/dist/components/Badge/Badge.vue.script.js +8 -8
  121. package/dist/components/Badge/Badge.vue.script.js.map +1 -1
  122. package/dist/components/Content/AsyncApi/Operation.vue.d.ts.map +1 -1
  123. package/dist/components/Content/AsyncApi/Operation.vue.js +1 -1
  124. package/dist/components/Content/AsyncApi/Operation.vue.js.map +1 -1
  125. package/dist/components/Content/AsyncApi/Operation.vue.script.js +5 -0
  126. package/dist/components/Content/AsyncApi/Operation.vue.script.js.map +1 -1
  127. package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.d.ts +17 -0
  128. package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.d.ts.map +1 -0
  129. package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.js +21 -0
  130. package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.js.map +1 -0
  131. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  132. package/dist/components/Content/Schema/SchemaComposition.vue.js.map +1 -1
  133. package/dist/components/Content/Schema/SchemaComposition.vue.script.js +68 -33
  134. package/dist/components/Content/Schema/SchemaComposition.vue.script.js.map +1 -1
  135. package/dist/components/Content/Schema/SchemaEnums.vue.d.ts.map +1 -1
  136. package/dist/components/Content/Schema/SchemaEnums.vue.js +1 -1
  137. package/dist/components/Content/Schema/SchemaEnums.vue.js.map +1 -1
  138. package/dist/components/Content/Schema/SchemaEnums.vue.script.js +15 -7
  139. package/dist/components/Content/Schema/SchemaEnums.vue.script.js.map +1 -1
  140. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  141. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  142. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js.map +1 -1
  143. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js +30 -20
  144. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js.map +1 -1
  145. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
  146. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +1 -4
  147. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js.map +1 -1
  148. package/dist/components/Content/Schema/helpers/partition-all-of-compositions.d.ts +32 -0
  149. package/dist/components/Content/Schema/helpers/partition-all-of-compositions.d.ts.map +1 -0
  150. package/dist/components/Content/Schema/helpers/partition-all-of-compositions.js +97 -0
  151. package/dist/components/Content/Schema/helpers/partition-all-of-compositions.js.map +1 -0
  152. package/dist/components/LinkList/LinkList.vue.js +1 -1
  153. package/dist/components/LinkList/LinkList.vue.js.map +1 -1
  154. package/dist/components/LinkList/LinkList.vue.script.js +1 -1
  155. package/dist/components/LinkList/LinkList.vue.script.js.map +1 -1
  156. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  157. package/dist/components/Section/CompactSection.vue.js +1 -1
  158. package/dist/components/Section/CompactSection.vue.js.map +1 -1
  159. package/dist/components/Section/CompactSection.vue.script.js +21 -5
  160. package/dist/components/Section/CompactSection.vue.script.js.map +1 -1
  161. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  162. package/dist/components/Section/SectionHeader.vue.js +1 -1
  163. package/dist/components/Section/SectionHeader.vue.js.map +1 -1
  164. package/dist/components/Section/SectionHeader.vue.script.js +1 -1
  165. package/dist/components/Section/SectionHeader.vue.script.js.map +1 -1
  166. package/dist/features/Operation/Operation.vue.script.js +1 -1
  167. package/dist/features/Operation/components/OperationScopes.vue.d.ts +8 -0
  168. package/dist/features/Operation/components/OperationScopes.vue.d.ts.map +1 -0
  169. package/dist/features/Operation/components/OperationScopes.vue.js +7 -0
  170. package/dist/features/Operation/components/OperationScopes.vue.js.map +1 -0
  171. package/dist/features/Operation/components/OperationScopes.vue.script.js +60 -0
  172. package/dist/features/Operation/components/OperationScopes.vue.script.js.map +1 -0
  173. package/dist/features/Operation/components/SecurityRequirementBadge.vue.d.ts.map +1 -1
  174. package/dist/features/Operation/components/SecurityRequirementBadge.vue.js.map +1 -1
  175. package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js +89 -16
  176. package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js.map +1 -1
  177. package/dist/features/Operation/helpers/get-required-security.d.ts +13 -0
  178. package/dist/features/Operation/helpers/get-required-security.d.ts.map +1 -1
  179. package/dist/features/Operation/helpers/get-required-security.js +22 -1
  180. package/dist/features/Operation/helpers/get-required-security.js.map +1 -1
  181. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +1 -1
  182. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  183. package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
  184. package/dist/features/Operation/layouts/ClassicLayout.vue.js.map +1 -1
  185. package/dist/features/Operation/layouts/ClassicLayout.vue.script.js +15 -6
  186. package/dist/features/Operation/layouts/ClassicLayout.vue.script.js.map +1 -1
  187. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  188. package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
  189. package/dist/features/Operation/layouts/ModernLayout.vue.js.map +1 -1
  190. package/dist/features/Operation/layouts/ModernLayout.vue.script.js +2 -0
  191. package/dist/features/Operation/layouts/ModernLayout.vue.script.js.map +1 -1
  192. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.d.ts +2 -2
  193. package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js +1 -1
  194. package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -1
  195. package/dist/features/external-docs/ExternalDocs.vue.js.map +1 -1
  196. package/dist/features/external-docs/ExternalDocs.vue.script.js +6 -6
  197. package/dist/features/external-docs/ExternalDocs.vue.script.js.map +1 -1
  198. package/dist/features/info-object/Contact.vue.d.ts.map +1 -1
  199. package/dist/features/info-object/Contact.vue.js.map +1 -1
  200. package/dist/features/info-object/Contact.vue.script.js +8 -8
  201. package/dist/features/info-object/Contact.vue.script.js.map +1 -1
  202. package/dist/features/info-object/InfoLink.vue.d.ts.map +1 -1
  203. package/dist/features/info-object/InfoLink.vue.js.map +1 -1
  204. package/dist/features/info-object/InfoLink.vue.script.js +6 -6
  205. package/dist/features/info-object/InfoLink.vue.script.js.map +1 -1
  206. package/dist/features/info-object/License.vue.d.ts.map +1 -1
  207. package/dist/features/info-object/License.vue.js.map +1 -1
  208. package/dist/features/info-object/License.vue.script.js +2 -2
  209. package/dist/features/info-object/License.vue.script.js.map +1 -1
  210. package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -1
  211. package/dist/features/info-object/TermsOfService.vue.js.map +1 -1
  212. package/dist/features/info-object/TermsOfService.vue.script.js +2 -2
  213. package/dist/features/info-object/TermsOfService.vue.script.js.map +1 -1
  214. package/dist/features/localization/locales/ar.d.ts +1 -0
  215. package/dist/features/localization/locales/ar.d.ts.map +1 -1
  216. package/dist/features/localization/locales/ar.js +2 -1
  217. package/dist/features/localization/locales/ar.js.map +1 -1
  218. package/dist/features/localization/locales/de.d.ts +1 -0
  219. package/dist/features/localization/locales/de.d.ts.map +1 -1
  220. package/dist/features/localization/locales/de.js +2 -1
  221. package/dist/features/localization/locales/de.js.map +1 -1
  222. package/dist/features/localization/locales/en.d.ts +1 -0
  223. package/dist/features/localization/locales/en.d.ts.map +1 -1
  224. package/dist/features/localization/locales/en.js +2 -1
  225. package/dist/features/localization/locales/en.js.map +1 -1
  226. package/dist/features/localization/locales/es.d.ts +1 -0
  227. package/dist/features/localization/locales/es.d.ts.map +1 -1
  228. package/dist/features/localization/locales/es.js +2 -1
  229. package/dist/features/localization/locales/es.js.map +1 -1
  230. package/dist/features/localization/locales/fr.d.ts +1 -0
  231. package/dist/features/localization/locales/fr.d.ts.map +1 -1
  232. package/dist/features/localization/locales/fr.js +2 -1
  233. package/dist/features/localization/locales/fr.js.map +1 -1
  234. package/dist/features/localization/locales/ru.d.ts +1 -0
  235. package/dist/features/localization/locales/ru.d.ts.map +1 -1
  236. package/dist/features/localization/locales/ru.js +2 -1
  237. package/dist/features/localization/locales/ru.js.map +1 -1
  238. package/dist/features/localization/locales/zh-cn.d.ts +1 -0
  239. package/dist/features/localization/locales/zh-cn.d.ts.map +1 -1
  240. package/dist/features/localization/locales/zh-cn.js +2 -1
  241. package/dist/features/localization/locales/zh-cn.js.map +1 -1
  242. package/dist/features/localization/translations.d.ts +7 -0
  243. package/dist/features/localization/translations.d.ts.map +1 -1
  244. package/dist/helpers/storage.d.ts +21 -2
  245. package/dist/helpers/storage.d.ts.map +1 -1
  246. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  247. package/dist/standalone/lib/html-api.js +11 -4
  248. package/dist/standalone/lib/html-api.js.map +1 -1
  249. package/dist/standalone/lib/load-plugins-from-urls.d.ts +13 -0
  250. package/dist/standalone/lib/load-plugins-from-urls.d.ts.map +1 -0
  251. package/dist/standalone/lib/load-plugins-from-urls.js +60 -0
  252. package/dist/standalone/lib/load-plugins-from-urls.js.map +1 -0
  253. package/dist/style.css +389 -351
  254. package/dist/styles/print.css +118 -0
  255. package/dist/styles/tailwind.config.css +16 -0
  256. package/dist/vue-styles.css +198 -224
  257. package/package.json +15 -15
  258. package/dist/browser/chunks/AgentScalarChatInterface-YU9KKgvZ.js +0 -27
  259. package/dist/browser/chunks/ScalarTextInput.vue-B-Nhpn0q.js +0 -27
  260. package/dist/browser/chunks/modal-WJ4Gcv8N.js +0 -99
  261. package/dist/browser/chunks/vendor-BqFs9NIb.js +0 -306
@@ -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 w,Q as ce,R as le,Rt as ue,S as T,T as de,Tt as E,U as fe,Ut as pe,Vt as me,W as he,Wt as ge,X as _e,Y as ve,Yt as ye,Z as be,Zt as xe,_ as Se,_t as Ce,a as we,at as D,b as O,bt as Te,c as Ee,d as k,et as De,f as A,ft as Oe,g as ke,gt as j,h as Ae,ht as je,i as Me,j as Ne,jt as Pe,k as Fe,kt as Ie,l as M,lt as Le,m as Re,mt as ze,n as Be,nt as Ve,o as He,ot as Ue,p as N,pt as We,q as Ge,qt as Ke,s as qe,st as Je,t as Ye,tt as Xe,u as P,v as Ze,vt as Qe,w as $e,xt as et,y as tt,yt as nt,zt as rt}from"./runtime-core.esm-bundler-Byrbbu5Q.js";import{t as it}from"./interface-content-folder.svg-BmtS5I9A.js";var at=`Models`,eee=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}),F=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}),dt=e=>({type:`function`,typeName:e?.typeName,typeComment:e?.typeComment}),ft=(e,t)=>({type:`array`,items:e,typeName:t?.typeName,typeComment:t?.typeComment}),pt=(e,t,n)=>({type:`record`,key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),mt=(e,t)=>({type:`object`,properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),ht=(e,t)=>({type:`union`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),gt=(e,t)=>({type:`intersection`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),I=(e,t)=>({type:`optional`,schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),_t=e=>({type:`literal`,value:e}),vt=e=>({type:`lazy`,schema:e}),yt=(e,t)=>({type:`evaluate`,expression:e,schema:t}),bt=void 0,xt=typeof window<`u`&&window.trustedTypes;if(xt)try{bt=xt.createPolicy(`vue`,{createHTML:e=>e})}catch{}var St=bt?e=>bt.createHTML(e):e=>e,tee=`http://www.w3.org/2000/svg`,nee=`http://www.w3.org/1998/Math/MathML`,Ct=typeof document<`u`?document:null,wt=Ct&&Ct.createElement(`template`),Tt={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`?Ct.createElementNS(tee,e):t===`mathml`?Ct.createElementNS(nee,e):n?Ct.createElement(e,{is:n}):Ct.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Ct.createTextNode(e),createComment:e=>Ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ct.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{wt.innerHTML=St(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=wt.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]}},Et=`transition`,Dt=`animation`,Ot=Symbol(`_vtc`),kt={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},At=Ie({},Be,kt),jt=(e=>(e.displayName=`Transition`,e.props=At,e))((e,{slots:t})=>de(Ye,Pt(e),t)),Mt=(e,t=[])=>{oe(e)?e.forEach(e=>e(...t)):e&&e(...t)},Nt=e=>e?oe(e)?e.some(e=>e.length>1):e.length>1:!1;function Pt(e){let t={};for(let n in e)n in kt||(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=Ft(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,Rt(e,t?u:s),Rt(e,t?l:o),n&&n()},re=(e,t)=>{e._isLeaving=!1,Rt(e,d),Rt(e,p),Rt(e,f),t&&t()},ie=e=>(t,n)=>{let i=e?te:v,o=()=>ne(t,e,n);Mt(i,[t,o]),zt(()=>{Rt(t,e?c:a),Lt(t,e?u:s),Nt(i)||Vt(t,r,h,o)})};return Ie(t,{onBeforeEnter(e){Mt(_,[e]),Lt(e,a),Lt(e,o)},onBeforeAppear(e){Mt(x,[e]),Lt(e,c),Lt(e,l)},onEnter:ie(!1),onAppear:ie(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>re(e,t);Lt(e,d),e._enterCancelled?(Lt(e,f),Gt(e)):(Gt(e),Lt(e,f)),zt(()=>{e._isLeaving&&(Rt(e,d),Lt(e,p),Nt(b)||Vt(e,r,g,n))}),Mt(b,[e,n])},onEnterCancelled(e){ne(e,!1,void 0,!0),Mt(y,[e])},onAppearCancelled(e){ne(e,!0,void 0,!0),Mt(S,[e])},onLeaveCancelled(e){re(e),Mt(ee,[e])}})}function Ft(e){if(e==null)return null;if(ee(e))return[It(e.enter),It(e.leave)];{let t=It(e);return[t,t]}}function It(e){return xe(e)}function Lt(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Ot]||(e[Ot]=new Set)).add(t)}function Rt(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[Ot];n&&(n.delete(t),n.size||(e[Ot]=void 0))}function zt(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Bt=0;function Vt(e,t,n,r){let i=e._endId=++Bt,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Ht(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 Ht(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${Et}Delay`),a=r(`${Et}Duration`),o=Ut(i,a),s=r(`${Dt}Delay`),c=r(`${Dt}Duration`),l=Ut(s,c),u=null,d=0,f=0;t===Et?o>0&&(u=Et,d=o,f=a.length):t===Dt?l>0&&(u=Dt,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?Et:Dt:null,f=u?u===Et?a.length:c.length:0);let p=u===Et&&/\b(?:transform|all)(?:,|$)/.test(r(`${Et}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Ut(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Wt(t)+Wt(e[n])))}function Wt(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Gt(e){return(e?e.ownerDocument:document).body.offsetHeight}function Kt(e,t,n){let r=e[Ot];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var qt=Symbol(`_vod`),Jt=Symbol(`_vsh`),Yt={name:`show`,beforeMount(e,{value:t},{transition:n}){e[qt]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Xt(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),Xt(e,!0),r.enter(e)):r.leave(e,()=>{Xt(e,!1)}):Xt(e,t))},beforeUnmount(e,{value:t}){Xt(e,t)}};function Xt(e,t){e.style.display=t?e[qt]:`none`,e[Jt]=!t}var Zt=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=>en(e,n))},r=()=>{let r=e(t.proxy);t.ce?en(t.ce,r):$t(t.subTree,r),n(r)};h(()=>{he(r)}),le(()=>{Xe(r,m,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),c(()=>e.disconnect())})}function $t(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{$t(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)en(e.el,t);else if(e.type===Me)e.children.forEach(e=>$t(e,t));else if(e.type===we){let{el:n,anchor:r}=e;for(;n&&(en(n,t),n!==r);)n=n.nextSibling}}function en(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[Zt]=r}}var tn=/(?:^|;)\s*display\s*:/;function nn(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]??an(r,t,``)}else for(let e in t)n[e]??an(r,e,``);for(let e in n)e===`display`&&(a=!0),an(r,e,n[e])}else if(i){if(t!==n){let e=r[Zt];e&&(n+=`;`+e),r.cssText=n,a=tn.test(n)}}else t&&e.removeAttribute(`style`);qt in e&&(e[qt]=a?r.display:``,e[Jt]&&(r.display=`none`))}var rn=/\s*!important$/;function an(e,t,n){if(oe(n))n.forEach(n=>an(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=cn(e,t);rn.test(n)?e.setProperty(s(r),n.replace(rn,``),`important`):e[r]=n}}var on=[`Webkit`,`Moz`,`ms`],sn={};function cn(e,t){let n=sn[t];if(n)return n;let r=p(t);if(r!==`filter`&&r in e)return sn[t]=r;r=C(r);for(let n=0;n<on.length;n++){let i=on[n]+r;if(i in e)return sn[t]=i}return t}var ln=`http://www.w3.org/1999/xlink`;function un(e,t,n,r,i,a=rt(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(ln,t.slice(6,t.length)):e.setAttributeNS(ln,t,n):n==null||a&&!Pe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:me(n)?String(n):n)}function dn(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?St(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=Pe(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 fn(e,t,n,r){e.addEventListener(t,n,r)}function pn(e,t,n,r){e.removeEventListener(t,n,r)}var mn=Symbol(`_vei`);function hn(e,t,n,r,i=null){let a=e[mn]||(e[mn]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=_n(t);r?fn(e,n,a[t]=xn(r,i),s):o&&(pn(e,n,o,s),a[t]=void 0)}}var gn=/(?:Once|Passive|Capture)$/;function _n(e){let t;if(gn.test(e)){t={};let n;for(;n=e.match(gn);)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 vn=0,yn=Promise.resolve(),bn=()=>vn||=(yn.then(()=>vn=0),Date.now());function xn(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;qe(Sn(e,n.value),t,5,[e])};return n.value=e,n.attached=bn(),n}function Sn(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 Cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ree=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?Kt(e,r,o):t===`style`?nn(e,n,r):ie(t)?g(t)||hn(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):iee(e,t,r,o))?(dn(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&un(e,t,r,o,a,t!==`value`)):e._isVueCE&&(aee(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!l(r)))?dn(e,p(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),un(e,t,r,o))};function iee(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Cn(t)&&w(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 Cn(t)&&l(n)?!1:t in e}function aee(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 wn=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return oe(t)?e=>ae(t,e):t};function oee(e){e.target.composing=!0}function Tn(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var En=Symbol(`_assign`);function Dn(e,t,n){return t&&(e=e.trim()),n&&(e=ge(e)),e}var On={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[En]=wn(i);let a=r||i.props&&i.props.type===`number`;fn(e,t?`change`:`input`,t=>{t.target.composing||e[En](Dn(e.value,n,a))}),(n||a)&&fn(e,`change`,()=>{e.value=Dn(e.value,n,a)}),t||(fn(e,`compositionstart`,oee),fn(e,`compositionend`,Tn),fn(e,`change`,Tn))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[En]=wn(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ge(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))}},kn={deep:!0,created(e,t,n){e[En]=wn(n),fn(e,`change`,()=>{let t=e._modelValue,n=Nn(e),r=e.checked,i=e[En];if(oe(t)){let e=pe(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(ue(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Pn(e,r))})},mounted:An,beforeUpdate(e,t,n){e[En]=wn(n),An(e,t,n)}};function An(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(oe(t))i=pe(t,r.props.value)>-1;else if(ue(t))i=t.has(r.props.value);else{if(t===n)return;i=b(t,Pn(e,!0))}e.checked!==i&&(e.checked=i)}var see={created(e,{value:t},n){e.checked=b(t,n.props.value),e[En]=wn(n),fn(e,`change`,()=>{e[En](Nn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[En]=wn(r),t!==n&&(e.checked=b(t,r.props.value))}},jn={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i=ue(t);fn(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?ge(Nn(e)):Nn(e));e[En](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,Ne(()=>{e._assigning=!1})}),e[En]=wn(r)},mounted(e,{value:t}){Mn(e,t)},beforeUpdate(e,t,n){e[En]=wn(n)},updated(e,{value:t}){e._assigning||Mn(e,t)}};function Mn(e,t){let n=e.multiple,r=oe(t);if(!(n&&!r&&!ue(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=Nn(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=pe(t,o)>-1}else a.selected=t.has(o);else if(b(Nn(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Nn(e){return`_value`in e?e._value:e.value}function Pn(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var cee={created(e,t,n){Fn(e,t,n,null,`created`)},mounted(e,t,n){Fn(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){Fn(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){Fn(e,t,n,r,`updated`)}};function lee(e,t){switch(e){case`SELECT`:return jn;case`TEXTAREA`:return On;default:switch(t){case`checkbox`:return kn;case`radio`:return see;default:return On}}}function Fn(e,t,n,r,i){let a=lee(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}var uee=[`ctrl`,`shift`,`alt`,`meta`],dee={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)=>uee.some(n=>e[`${n}Key`]&&!t.includes(n))},In=(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=dee[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Ln={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},Rn=(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||Ln[e]===r))return e(n)}))},zn=Ie({patchProp:ree},Tt),Bn,Vn=!1;function Hn(){return Bn||=ke(zn)}function Un(){return Bn=Vn?Bn:Re(zn),Vn=!0,Bn}var Wn=((...e)=>{Hn().render(...e)}),Gn=((...e)=>{let t=Hn().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Jn(e);if(!r)return;let i=t._component;!w(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,qn(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Kn=((...e)=>{let t=Un().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Jn(e);if(t)return n(t,!0,qn(t))},t});function qn(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Jn(e){return l(e)?document.querySelector(e):e}function Yn(e,t,n){let r=j(n?.value),i=M(()=>e.value!==void 0);return[M(()=>i.value?e.value:r.value),function(e){return i.value||(r.value=e),t?.(e)}]}function Xn(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function Zn(){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 Xn(()=>{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=Zn();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 Qn=Symbol(`headlessui.useid`),$n=0,er=be??function(){return f(Qn,()=>`${++$n}`)()};function tr(e){fe(Qn,e)}function L(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}function nr(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,nr),r}var rr=Object.defineProperty,ir=(e,t,n)=>t in e?rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ar=(e,t,n)=>(ir(e,typeof t==`symbol`?t:t+``,n),n),or=new class{constructor(){ar(this,`current`,this.detect()),ar(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 sr(e){if(or.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=L(e);if(t)return t.ownerDocument}return document}var cr=[`[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(`,`),lr=(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))(lr||{}),ur=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(ur||{}),dr=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(dr||{});function fr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(cr)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var pr=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(pr||{});function mr(e,t=0){return e===sr(e)?.body?!1:nr(t,{0(){return e.matches(cr)},1(){let t=e;for(;t!==null;){if(t.matches(cr))return!0;t=t.parentElement}return!1}})}function hr(e){let t=sr(e);Ne(()=>{t&&!mr(t.activeElement,0)&&_r(e)})}var gr=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(gr||{});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 _r(e){e?.focus({preventScroll:!0})}var vr=[`textarea`,`input`].join(`,`);function yr(e){return(e?.matches)?.call(e,vr)??!1}function br(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 xr(e,t){return Sr(fr(),t,{relativeTo:e})}function Sr(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?br(e):e:fr(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&&yr(f)&&f.select(),2}function Cr(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function wr(){return/Android/gi.test(window.navigator.userAgent)}function Tr(){return Cr()||wr()}function Er(e,t,n){or.isServer||Ve(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Dr(e,t,n){or.isServer||Ve(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Or(e,t,n=M(()=>!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:L(e);if(t!=null&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}return!mr(a,pr.Loose)&&a.tabIndex!==-1&&r.preventDefault(),t(r,a)}let i=j(null);Er(`pointerdown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Er(`mousedown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Er(`click`,e=>{Tr()||(i.value&&=(r(e,()=>i.value),null))},!0),Er(`touchend`,e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),Dr(`blur`,e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function kr(e,t){if(e)return e;let n=t??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`)return`button`}function Ar(e,t){let n=j(kr(e.value.type,e.value.as));return le(()=>{n.value=kr(e.value.type,e.value.as)}),Ve(()=>{var e;n.value||L(t)&&L(t)instanceof HTMLButtonElement&&!((e=L(t))!=null&&e.hasAttribute(`type`))&&(n.value=`button`)}),n}function jr(e){return[e.screenX,e.screenY]}function Mr(){let e=j([-1,-1]);return{wasMoved(t){let n=jr(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=jr(t)}}}var Nr=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(Nr||{}),Pr=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(Pr||{});function Fr({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=Rr(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?Ir(s):t&1?nr((a=o.unmount)==null||a?0:1,{0(){return null},1(){return Ir({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):Ir(s)}function Ir({props:e,attrs:t,slots:n,slot:r,name:i}){let{as:a,...o}=Br(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=Lr(s??[]),Object.keys(o).length>0||Object.keys(t).length>0){let[e,...n]=s??[];if(!Vr(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=Rr(e.props??{},o,c),a=Ee(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 de(a,Object.assign({},o,c),{default:()=>s})}function Lr(e){return e.flatMap(e=>e.type===Me?Lr(e.children):[e])}function Rr(...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 zr(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function Br(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function Vr(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}var Hr=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(Hr||{}),Ur=T({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 Fr({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`})}}}),Wr=Symbol(`Context`),Gr=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(Gr||{});function Kr(){return f(Wr,null)}function qr(e){fe(Wr,e)}var Jr=(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))(Jr||{});function Yr(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Xr=[];Yr(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Xr[0]!==e.target&&(Xr.unshift(e.target),Xr=Xr.filter(e=>e!=null&&e.isConnected),Xr.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 Zr(e){throw Error(`Unexpected object: `+e)}var Qr=(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))(Qr||{});function $r(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:Zr(e)}}function ei(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))ni(n,ti(t,r),i);return n}function ti(e,t){return e?e+`[`+t+`]`:t}function ni(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())ni(e,ti(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,``]):ei(n,t,e)}function ri(e,t,n,r){or.isServer||Ve(i=>{e??=window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var ii=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(ii||{});function ai(){let e=j(0);return Dr(`keydown`,t=>{t.key===`Tab`&&(e.value=t.shiftKey?1:0)}),e}function oi(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=L(n);e instanceof HTMLElement&&t.add(e)}return t}var si=(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))(si||{}),ci=Object.assign(T({name:`FocusTrap`,props:{as:{type:[Object,String],default:`div`},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:j(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=j(null);r({el:i,$el:i});let a=M(()=>sr(i)),o=j(!1);le(()=>o.value=!0),c(()=>o.value=!1),ui({ownerDocument:a},M(()=>o.value&&!!(e.features&16)));let s=di({ownerDocument:a,container:i,initialFocus:M(()=>e.initialFocus)},M(()=>o.value&&!!(e.features&2)));fi({ownerDocument:a,container:i,containers:e.containers,previousActiveElement:s},M(()=>o.value&&!!(e.features&8)));let l=ai();function u(e){let t=L(i);t&&(e=>e())(()=>{nr(l.value,{[ii.Forwards]:()=>{Sr(t,lr.First,{skipElements:[e.relatedTarget]})},[ii.Backwards]:()=>{Sr(t,lr.Last,{skipElements:[e.relatedTarget]})}})})}let d=j(!1);function f(e){e.key===`Tab`&&(d.value=!0,requestAnimationFrame(()=>{d.value=!1}))}function p(t){if(!o.value)return;let n=oi(e.containers);L(i)instanceof HTMLElement&&n.add(L(i));let r=t.relatedTarget;r instanceof HTMLElement&&r.dataset.headlessuiFocusGuard!==`true`&&(pi(n,r)||(d.value?Sr(L(i),nr(l.value,{[ii.Forwards]:()=>lr.Next,[ii.Backwards]:()=>lr.Previous})|lr.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&_r(t.target)))}return()=>{let r={},a={ref:i,onKeydown:f,onFocusout:p},{features:o,initialFocus:s,containers:c,...l}=e;return de(Me,[!!(o&4)&&de(Ur,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Hr.Focusable}),Fr({ourProps:a,theirProps:{...t,...l},slot:r,attrs:t,slots:n,name:`FocusTrap`}),!!(o&4)&&de(Ur,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Hr.Focusable})])}}}),{features:si});function li(e){let t=j(Xr.slice());return Xe([e],([e],[n])=>{n===!0&&e===!1?Xn(()=>{t.value.splice(0)}):n===!1&&e===!0&&(t.value=Xr.slice())},{flush:`post`}),()=>t.value.find(e=>e!=null&&e.isConnected)??null}function ui({ownerDocument:e},t){let n=li(t);le(()=>{Ve(()=>{t.value||e.value?.activeElement===e.value?.body&&_r(n())},{flush:`post`})}),c(()=>{t.value&&_r(n())})}function di({ownerDocument:e,container:t,initialFocus:n},r){let i=j(null),a=j(!1);return le(()=>a.value=!0),c(()=>a.value=!1),le(()=>{Xe([t,n,r],(o,s)=>{if(o.every((e,t)=>s?.[t]===e)||!r.value)return;let c=L(t);c&&Xn(()=>{if(!a.value)return;let t=L(n),r=e.value?.activeElement;if(t){if(t===r){i.value=r;return}}else if(c.contains(r)){i.value=r;return}t?_r(t):Sr(c,lr.First|lr.NoScroll)===ur.Error&&console.warn(`There are no focusable elements inside the <FocusTrap />`),i.value=e.value?.activeElement})},{immediate:!0,flush:`post`})}),i}function fi({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){ri(e.value?.defaultView,`focus`,e=>{if(!i.value)return;let a=oi(n);L(t)instanceof HTMLElement&&a.add(L(t));let o=r.value;if(!o)return;let s=e.target;s&&s instanceof HTMLElement?pi(a,s)?(r.value=s,_r(s)):(e.preventDefault(),e.stopPropagation(),_r(o)):_r(r.value)},!0)}function pi(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function mi(e){let t=nt(e.getSnapshot());return c(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function hi(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 gi(){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 _i(){return Cr()?{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=Zn();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 vi(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}function yi(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var bi=hi(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:Zn(),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:yi(n)},i=[_i(),gi(),vi()];i.forEach(({before:e})=>e?.(r)),i.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});bi.subscribe(()=>{let e=bi.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)&&bi.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&bi.dispatch(`TEARDOWN`,n)}});function xi(e,t,n){let r=mi(bi),i=M(()=>{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;bi.dispatch(`PUSH`,e,n);let a=!1;i(()=>{a||=(bi.dispatch(`POP`,r??e,n),!0)})},{immediate:!0}),i}var Si=new Map,Ci=new Map;function wi(e,t=j(!0)){Ve(n=>{if(!t.value)return;let r=L(e);if(!r)return;n(function(){if(!r)return;let e=Ci.get(r)??1;if(e===1?Ci.delete(r):Ci.set(r,e-1),e!==1)return;let t=Si.get(r);t&&(t[`aria-hidden`]===null?r.removeAttribute(`aria-hidden`):r.setAttribute(`aria-hidden`,t[`aria-hidden`]),r.inert=t.inert,Si.delete(r))});let i=Ci.get(r)??0;Ci.set(r,i+1),i===0&&(Si.set(r,{"aria-hidden":r.getAttribute(`aria-hidden`),inert:r.inert}),r.setAttribute(`aria-hidden`,`true`),r.inert=!0)})}function Ti({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=j(null),i=sr(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(L(r))||e.contains(L(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?de(Ur,{features:Hr.Hidden,ref:r}):null}}}function Ei(){let e=j(null);return{mainTreeNodeRef:e,MainTreeNode(){return de(Ur,{features:Hr.Hidden,ref:e})}}}var Di=Symbol(`ForcePortalRootContext`);function Oi(){return f(Di,!1)}var ki=T({name:`ForcePortalRoot`,props:{as:{type:[Object,String],default:`template`},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return fe(Di,e.force),()=>{let{force:r,...i}=e;return Fr({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:`ForcePortalRoot`})}}}),Ai=Symbol(`StackContext`),ji=(e=>(e[e.Add=0]=`Add`,e[e.Remove=1]=`Remove`,e))(ji||{});function Mi(){return f(Ai,()=>{})}function Ni({type:e,enabled:t,element:n,onUpdate:r}){let i=Mi();function a(...e){r?.(...e),i(...e)}le(()=>{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)}),fe(Ai,a)}var Pi=Symbol(`DescriptionContext`);function Fi(){let e=f(Pi,null);if(e===null)throw Error(`Missing parent`);return e}function Ii({slot:e=j({}),name:t=`Description`,props:n={}}={}){let r=j([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return fe(Pi,{register:i,slot:e,name:t,props:n}),M(()=>r.value.length>0?r.value.join(` `):void 0)}T({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-${er()}`,i=Fi();return le(()=>c(i.register(r))),()=>{let{name:a=`Description`,slot:o=j({}),props:s={}}=i,{...c}=e;return Fr({ourProps:{...Object.entries(s).reduce((e,[t,n])=>Object.assign(e,{[t]:E(n)}),{}),id:r},theirProps:c,slot:o.value,attrs:t,slots:n,name:a})}}});function Li(e){let t=sr(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 Ri=new WeakMap;function zi(e){return Ri.get(e)??0}function Bi(e,t){let n=t(zi(e));return n<=0?Ri.delete(e):Ri.set(e,n),n}var Vi=T({name:`Portal`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=j(null),i=M(()=>sr(r)),a=Oi(),o=f(Wi,null),s=j(a===!0||o==null?Li(r.value):o.resolveTarget());s.value&&Bi(s.value,e=>e+1);let l=j(!1);le(()=>{l.value=!0}),Ve(()=>{a||o!=null&&(s.value=o.resolveTarget())});let d=f(Hi,null),p=!1,m=u();return Xe(r,()=>{if(p||!d)return;let e=L(r);e&&(c(d.register(e),m),p=!0)}),c(()=>{var e;let t=i.value?.getElementById(`headlessui-portal-root`);!t||s.value!==t||Bi(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 de(He,{to:s.value},Fr({ourProps:i,theirProps:e,slot:{},attrs:n,slots:t,name:`Portal`}))}}}),Hi=Symbol(`PortalParentContext`);function Ui(){let e=f(Hi,null),t=j([]);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,T({name:`PortalWrapper`,setup(e,{slots:t}){return fe(Hi,i),()=>t.default?.call(t)}})]}var Wi=Symbol(`PortalGroupContext`),Gi=T({name:`PortalGroup`,props:{as:{type:[Object,String],default:`template`},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return fe(Wi,ze({resolveTarget(){return e.target}})),()=>{let{target:r,...i}=e;return Fr({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:`PortalGroup`})}}}),Ki=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Ki||{}),qi=Symbol(`DialogContext`);function Ji(e){let t=f(qi,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ji),t}return t}var Yi=`DC8F892D-2EBD-447C-A4C8-A03058436FF4`,Xi=T({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:Yi},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-${er()}`,o=j(!1);le(()=>{o.value=!0});let s=!1,c=M(()=>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=j(0),u=Kr(),d=M(()=>e.open===Yi&&u!==null?(u.value&Gr.Open)===Gr.Open:e.open),p=j(null),m=M(()=>sr(p));if(i({el:p,$el:p}),!(e.open!==Yi||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===Yi?void 0:e.open}`);let h=M(()=>o.value&&d.value?0:1),g=M(()=>h.value===0),_=M(()=>l.value>1),v=f(qi,null)!==null,[y,b]=Ui(),{resolveContainers:ee,mainTreeNodeRef:x,MainTreeNode:te}=Ti({portals:y,defaultContainers:[M(()=>C.panelRef.value??p.value)]}),S=M(()=>_.value?`parent`:`leaf`),ne=M(()=>u===null?!1:(u.value&Gr.Closing)===Gr.Closing),re=M(()=>v||ne.value?!1:g.value);wi(M(()=>Array.from(m.value?.querySelectorAll(`body > *`)??[]).find(e=>e.id===`headlessui-portal-root`?!1:e.contains(L(x))&&e instanceof HTMLElement)??null),re);let ie=M(()=>_.value?!0:g.value);wi(M(()=>Array.from(m.value?.querySelectorAll(`[data-headlessui-portal]`)??[]).find(e=>e.contains(L(x))&&e instanceof HTMLElement)??null),ie),Ni({type:`Dialog`,enabled:M(()=>h.value===0),element:p,onUpdate:(e,t)=>{if(t===`Dialog`)return nr(e,{[ji.Add]:()=>l.value+=1,[ji.Remove]:()=>--l.value})}});let ae=Ii({name:`DialogDescription`,slot:M(()=>({open:d.value}))}),oe=j(null),C={titleId:oe,panelRef:j(null),dialogState:h,setTitleId(e){oe.value!==e&&(oe.value=e)},close(){t(`close`,!1)}};fe(qi,C),Or(ee,(e,t)=>{e.preventDefault(),C.close(),Ne(()=>t?.focus())},M(()=>!(!g.value||_.value)));let se=M(()=>!(_.value||h.value!==0));return ri(m.value?.defaultView,`keydown`,e=>{se.value&&(e.defaultPrevented||e.key===Jr.Escape&&(e.preventDefault(),e.stopPropagation(),C.close()))}),xi(m,M(()=>!(ne.value||h.value!==0||v)),e=>({containers:[...e.containers??[],ee]})),Ve(e=>{if(h.value!==0)return;let t=L(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 de(ki,{force:!0},()=>[de(Vi,()=>de(Gi,{target:p.value},()=>de(ki,{force:!1},()=>de(ci,{initialFocus:i,containers:ee,features:g.value?nr(S.value,{parent:ci.features.RestoreFocus,leaf:ci.features.All&~ci.features.FocusLock}):ci.features.None},()=>de(b,{},()=>Fr({ourProps:s,theirProps:{...o,...n},slot:l,attrs:n,slots:r,visible:h.value===0,features:Nr.RenderStrategy|Nr.Static,name:`Dialog`})))))),de(te)])}}});T({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-${er()}`,i=Ji(`DialogOverlay`);function a(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),i.close())}return()=>{let{...o}=e;return Fr({ourProps:{id:r,"aria-hidden":!0,onClick:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogOverlay`})}}}),T({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-${er()}`,a=Ji(`DialogBackdrop`),o=j(null);return r({el:o,$el:o}),le(()=>{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 de(ki,{force:!0},()=>de(Vi,()=>Fr({ourProps:s,theirProps:{...t,...r},slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogBackdrop`})))}}});var Zi=T({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-${er()}`,a=Ji(`DialogPanel`);r({el:a.panelRef,$el:a.panelRef});function o(e){e.stopPropagation()}return()=>{let{...r}=e;return Fr({ourProps:{id:i,ref:a.panelRef,onClick:o},theirProps:r,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogPanel`})}}}),Qi=T({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-${er()}`,i=Ji(`DialogTitle`);return le(()=>{i.setTitleId(r),c(()=>i.setTitleId(null))}),()=>{let{...a}=e;return Fr({ourProps:{id:r},theirProps:a,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogTitle`})}}}),$i=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))($i||{}),ea=Symbol(`DisclosureContext`);function ta(e){let t=f(ea,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ta),t}return t}var na=Symbol(`DisclosurePanelContext`);function ra(){return f(na,null)}var ia=T({name:`Disclosure`,props:{as:{type:[Object,String],default:`template`},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=j(e.defaultOpen?0:1),i=j(null),a=j(null),o={buttonId:j(`headlessui-disclosure-button-${er()}`),panelId:j(`headlessui-disclosure-panel-${er()}`),disclosureState:r,panel:i,button:a,toggleDisclosure(){r.value=nr(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?L(e):L(o.button):L(o.button))?.focus()}};return fe(ea,o),qr(M(()=>nr(r.value,{0:Gr.Open,1:Gr.Closed}))),()=>{let{defaultOpen:i,...a}=e;return Fr({theirProps:a,ourProps:{},slot:{open:r.value===0,close:o.close},slots:t,attrs:n,name:`Disclosure`})}}}),aa=T({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=ta(`DisclosureButton`),a=ra(),o=M(()=>a===null?!1:a.value===i.panelId.value);le(()=>{o.value||e.id!==null&&(i.buttonId.value=e.id)}),c(()=>{o.value||(i.buttonId.value=null)});let s=j(null);r({el:s,$el:s}),o.value||Ve(()=>{i.button.value=s.value});let l=Ar(M(()=>({as:e.as,type:t.type})),s);function u(){var t;e.disabled||(o.value?(i.toggleDisclosure(),(t=L(i.button))==null||t.focus()):i.toggleDisclosure())}function d(t){var n;if(!e.disabled)if(o.value)switch(t.key){case Jr.Space:case Jr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure(),(n=L(i.button))==null||n.focus();break}else switch(t.key){case Jr.Space:case Jr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure();break}}function f(e){switch(e.key){case Jr.Space:e.preventDefault();break}}return()=>{let r={open:i.disclosureState.value===0},{id:a,...c}=e;return Fr({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||L(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`})}}}),oa=T({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=ta(`DisclosurePanel`);le(()=>{e.id!==null&&(i.panelId.value=e.id)}),c(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),fe(na,i.panelId);let a=Kr(),o=M(()=>a===null?i.disclosureState.value===0:(a.value&Gr.Open)===Gr.Open);return()=>{let r={open:i.disclosureState.value===0,close:i.close},{id:a,...s}=e;return Fr({ourProps:{id:i.panelId.value??a,ref:i.panel},theirProps:s,slot:r,attrs:t,slots:n,features:Nr.RenderStrategy|Nr.Static,visible:o.value,name:`DisclosurePanel`})}}}),sa=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function ca(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 sa.test(i)&&(i=i.replace(sa,``)),i}function la(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():ca(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return ca(e).trim()}function ua(e){let t=j(``),n=j(``);return()=>{let r=L(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=la(r).trim().toLowerCase();return t.value=i,n.value=a,a}}function da(e,t){return e===t}var fa=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(fa||{}),pa=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(pa||{}),ma=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(ma||{});function ha(e){requestAnimationFrame(()=>requestAnimationFrame(e))}var ga=Symbol(`ListboxContext`);function _a(e){let t=f(ga,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_a),t}return t}var fee=T({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>da},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=j(1),a=j(null),o=j(null),s=j(null),c=j([]),l=j(``),u=j(null),d=j(1);function f(e=e=>e){let t=u.value===null?null:c.value[u.value],n=br(e(c.value.slice()),e=>L(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let p=M(()=>e.multiple?1:0),[m,h]=Yn(M(()=>e.modelValue),e=>r(`update:modelValue`,e),M(()=>e.defaultValue)),g=M(()=>m.value===void 0?nr(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:M(()=>e.horizontal?`horizontal`:`vertical`),labelRef:a,buttonRef:o,optionsRef:s,disabled:M(()=>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=$r(t===Qr.Specific?{focus:Qr.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(nr(p.value,{0:()=>t,1:()=>{let e=Te(_.value.value).slice(),n=Te(t),r=e.findIndex(e=>_.compare(n,Te(e)));return r===-1?e.push(n):e.splice(r,1),e}}))}};Or([o,s],(e,t)=>{var n;_.closeListbox(),mr(t,pr.Loose)||(e.preventDefault(),(n=L(o))==null||n.focus())},M(()=>i.value===0)),fe(ga,_),qr(M(()=>nr(i.value,{0:Gr.Open,1:Gr.Closed})));let v=M(()=>L(o)?.closest(`form`));return le(()=>{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 de(Me,[...r!=null&&g.value!=null?ei({[r]:g.value}).map(([e,t])=>de(Ur,zr({features:Hr.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],Fr({ourProps:{},theirProps:{...n,...Br(c,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:l,slots:t,attrs:n,name:`Listbox`})])}}}),pee=T({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-${er()}`,i=_a(`ListboxLabel`);function a(){var e;(e=L(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e;return Fr({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}}),mee=T({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-${er()}`,a=_a(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Jr.Space:case Jr.Enter:case Jr.ArrowDown:e.preventDefault(),a.openListbox(),Ne(()=>{var e;(e=L(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Qr.First)});break;case Jr.ArrowUp:e.preventDefault(),a.openListbox(),Ne(()=>{var e;(e=L(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Qr.Last)});break}}function s(e){switch(e.key){case Jr.Space:e.preventDefault();break}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),Ne(()=>L(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),ha(()=>L(a.optionsRef)?.focus({preventScroll:!0}))))}let l=Ar(M(()=>({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 Fr({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":L(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[L(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`})}}}),hee=T({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-${er()}`,a=_a(`ListboxOptions`),o=j(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case Jr.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Jr.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(),Ne(()=>L(a.buttonRef)?.focus({preventScroll:!0})));break;case nr(a.orientation.value,{vertical:Jr.ArrowDown,horizontal:Jr.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Qr.Next);case nr(a.orientation.value,{vertical:Jr.ArrowUp,horizontal:Jr.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Qr.Previous);case Jr.Home:case Jr.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(Qr.First);case Jr.End:case Jr.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(Qr.Last);case Jr.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),Ne(()=>L(a.buttonRef)?.focus({preventScroll:!0}));break;case Jr.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350));break}}let c=Kr(),l=M(()=>c===null?a.listboxState.value===0:(c.value&Gr.Open)===Gr.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e;return Fr({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":L(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:Nr.RenderStrategy|Nr.Static,visible:l.value,name:`ListboxOptions`})}}}),gee=T({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-${er()}`,a=_a(`ListboxOption`),o=j(null);r({el:o,$el:o});let s=M(()=>a.activeOptionIndex.value===null?!1:a.options.value[a.activeOptionIndex.value].id===i),l=M(()=>nr(a.mode.value,{0:()=>a.compare(Te(a.value.value),Te(e.value)),1:()=>Te(a.value.value).some(t=>a.compare(Te(t),Te(e.value)))})),u=M(()=>nr(a.mode.value,{1:()=>{let e=Te(a.value.value);return a.options.value.find(t=>e.some(e=>a.compare(Te(e),Te(t.dataRef.value))))?.id===i},0:()=>l.value})),d=ua(o),f=M(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:o}));le(()=>a.registerOption(i,f)),c(()=>a.unregisterOption(i)),le(()=>{Xe([a.listboxState,l],()=>{a.listboxState.value===0&&l.value&&nr(a.mode.value,{1:()=>{u.value&&a.goToOption(Qr.Specific,i)},0:()=>{a.goToOption(Qr.Specific,i)}})},{immediate:!0})}),Ve(()=>{a.listboxState.value===0&&s.value&&a.activationTrigger.value!==0&&Ne(()=>{var e;return((e=L(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(),Ne(()=>L(a.buttonRef)?.focus({preventScroll:!0})))}function m(){if(e.disabled)return a.goToOption(Qr.Nothing);a.goToOption(Qr.Specific,i)}let h=Mr();function g(e){h.update(e)}function _(t){h.wasMoved(t)&&(e.disabled||s.value||a.goToOption(Qr.Specific,i,0))}function v(t){h.wasMoved(t)&&(e.disabled||s.value&&a.goToOption(Qr.Nothing))}return()=>{let{disabled:r}=e,a={active:s.value,selected:l.value,disabled:r},{value:c,disabled:u,...d}=e;return Fr({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`})}}}),_ee=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(_ee||{}),va=Symbol(`PopoverContext`);function ya(e){let t=f(va,null);if(t===null){let t=Error(`<${e} /> is missing a parent <${Ca.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ya),t}return t}var ba=Symbol(`PopoverGroupContext`);function xa(){return f(ba,null)}var Sa=Symbol(`PopoverPanelContext`);function vee(){return f(Sa,null)}var Ca=T({name:`Popover`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n,expose:r}){let i=j(null);r({el:i,$el:i});let a=j(1),o=j(null),s=j(null),c=j(null),l=j(null),u=M(()=>sr(i)),d=M(()=>{var e,t;if(!L(o)||!L(l))return!1;for(let e of document.querySelectorAll(`body > *`))if(Number(e?.contains(L(o)))^Number(e?.contains(L(l))))return!0;let n=fr(),r=n.indexOf(L(o)),i=(r+n.length-1)%n.length,a=(r+1)%n.length,s=n[i],c=n[a];return!((e=L(l))!=null&&e.contains(s))&&!((t=L(l))!=null&&t.contains(c))}),f={popoverState:a,buttonId:j(null),panelId:j(null),panel:l,button:o,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:c,togglePopover(){a.value=nr(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?L(e):L(f.button):L(f.button))?.focus()}};fe(va,f),qr(M(()=>nr(a.value,{0:Gr.Open,1:Gr.Closed})));let p={buttonId:f.buttonId,panelId:f.panelId,close(){f.closePopover()}},m=xa(),h=m?.registerPopover,[g,_]=Ui(),v=Ti({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[o,l]});function y(){return m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(L(o)?.contains(u.value.activeElement)||L(l)?.contains(u.value.activeElement)))}return Ve(()=>h?.(p)),ri(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=L(f.beforePanelSentinel))!=null&&t.contains(e.target)||(n=L(f.afterPanelSentinel))!=null&&n.contains(e.target)||f.closePopover()))},!0),Or(v.resolveContainers,(e,t)=>{var n;f.closePopover(),mr(t,pr.Loose)||(e.preventDefault(),(n=L(o))==null||n.focus())},M(()=>a.value===0)),()=>{let r={open:a.value===0,close:f.close};return de(Me,[de(_,{},()=>Fr({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:`Popover`})),de(v.MainTreeNode)])}}}),wa=T({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-${er()}`,a=ya(`PopoverButton`),o=M(()=>sr(a.button));r({el:a.button,$el:a.button}),le(()=>{a.buttonId.value=i}),c(()=>{a.buttonId.value=null});let s=xa()?.closeOthers,l=vee(),u=M(()=>l===null?!1:l.value===a.panelId.value),d=j(null),f=`headlessui-focus-sentinel-${er()}`;u.value||Ve(()=>{a.button.value=L(d)});let p=Ar(M(()=>({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 Jr.Space:case Jr.Enter:e.preventDefault(),(n=(t=e.target).click)==null||n.call(t),a.closePopover(),(r=L(a.button))==null||r.focus();break}}else switch(e.key){case Jr.Space:case Jr.Enter:e.preventDefault(),e.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover();break;case Jr.Escape:if(a.popoverState.value!==0)return s?.(a.buttonId.value);if(!L(a.button)||(i=o.value)!=null&&i.activeElement&&!((c=L(a.button))!=null&&c.contains(o.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),a.closePopover();break}}function h(e){u.value||e.key===Jr.Space&&e.preventDefault()}function g(t){var n,r;e.disabled||(u.value?(a.closePopover(),(n=L(a.button))==null||n.focus()):(t.preventDefault(),t.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover(),(r=L(a.button))==null||r.focus()))}function _(e){e.preventDefault(),e.stopPropagation()}let v=ai();function y(){let e=L(a.panel);if(!e)return;function t(){nr(v.value,{[ii.Forwards]:()=>Sr(e,lr.First),[ii.Backwards]:()=>Sr(e,lr.Last)})===ur.Error&&Sr(fr().filter(e=>e.dataset.headlessuiFocusGuard!==`true`),nr(v.value,{[ii.Forwards]:lr.Next,[ii.Backwards]:lr.Previous}),{relativeTo:L(a.button)})}t()}return()=>{let r=a.popoverState.value===0,o={open:r},{...s}=e;return de(Me,[Fr({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":L(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&&de(Ur,{id:f,features:Hr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:y})])}}});T({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=ya(`PopoverOverlay`),i=`headlessui-popover-overlay-${er()}`,a=Kr(),o=M(()=>a===null?r.popoverState.value===0:(a.value&Gr.Open)===Gr.Open);function s(){r.closePopover()}return()=>{let a={open:r.popoverState.value===0};return Fr({ourProps:{id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,attrs:t,slots:n,features:Nr.RenderStrategy|Nr.Static,visible:o.value,name:`PopoverOverlay`})}}});var Ta=T({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-${er()}`,{focus:a}=e,o=ya(`PopoverPanel`),s=M(()=>sr(o.panel)),l=`headlessui-focus-sentinel-before-${er()}`,u=`headlessui-focus-sentinel-after-${er()}`;r({el:o.panel,$el:o.panel}),le(()=>{o.panelId.value=i}),c(()=>{o.panelId.value=null}),fe(Sa,o.panelId),Ve(()=>{var e;if(!a||o.popoverState.value!==0||!o.panel)return;let t=s.value?.activeElement;(e=L(o.panel))!=null&&e.contains(t)||Sr(L(o.panel),lr.First)});let d=Kr(),f=M(()=>d===null?o.popoverState.value===0:(d.value&Gr.Open)===Gr.Open);function p(e){var t,n;switch(e.key){case Jr.Escape:if(o.popoverState.value!==0||!L(o.panel)||s.value&&!((t=L(o.panel))!=null&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover(),(n=L(o.button))==null||n.focus();break}}function m(e){var t,n,r,i,a;let s=e.relatedTarget;s&&L(o.panel)&&((t=L(o.panel))!=null&&t.contains(s)||(o.closePopover(),((r=(n=L(o.beforePanelSentinel))?.contains)!=null&&r.call(n,s)||(a=(i=L(o.afterPanelSentinel))?.contains)!=null&&a.call(i,s))&&s.focus({preventScroll:!0})))}let h=ai();function g(){let e=L(o.panel);if(!e)return;function t(){nr(h.value,{[ii.Forwards]:()=>{var t;Sr(e,lr.First)===ur.Error&&((t=L(o.afterPanelSentinel))==null||t.focus())},[ii.Backwards]:()=>{var e;(e=L(o.button))==null||e.focus({preventScroll:!0})}})}t()}function _(){let e=L(o.panel);if(!e)return;function t(){nr(h.value,{[ii.Forwards]:()=>{let e=L(o.button),t=L(o.panel);if(!e)return;let n=fr(),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)}Sr(a,lr.First,{sorted:!1})},[ii.Backwards]:()=>{var t;Sr(e,lr.Previous)===ur.Error&&((t=L(o.button))==null||t.focus())}})}t()}return()=>{let r={open:o.popoverState.value===0,close:o.close},{focus:s,...c}=e;return Fr({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)=>[de(Me,[f.value&&o.isPortalled.value&&de(Ur,{id:l,ref:o.beforePanelSentinel,features:Hr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:g}),n.default?.call(n,...e),f.value&&o.isPortalled.value&&de(Ur,{id:u,ref:o.afterPanelSentinel,features:Hr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:_})])]},features:Nr.RenderStrategy|Nr.Static,visible:f.value,name:`PopoverPanel`})}}});T({name:`PopoverGroup`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n,expose:r}){let i=j(null),a=nt([]),o=M(()=>sr(i)),s=Ei();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=L(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 fe(ba,{registerPopover:l,unregisterPopover:c,isFocusWithinPopoverGroup:u,closeOthers:d,mainTreeNodeRef:s.mainTreeNodeRef}),()=>de(Me,[Fr({ourProps:{ref:i},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:`PopoverGroup`}),de(s.MainTreeNode)])}});var Ea=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},yee=`regular`;function Da(e={}){let t=M(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:`presentation`});return{bind:M(()=>({width:`1em`,height:`1em`,...t.value})),weight:M(()=>e.weight??yee)}}var bee={key:0},xee={key:1},See={key:2},Cee={key:3},wee={key:4},Tee={key:5},Oa=T({name:`ScalarIconArrowUpRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,bee,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,xee,[...r[1]||=[P(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,See,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Cee,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,wee,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Tee,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Eee={key:0},Dee={key:1},Oee={key:2},kee={key:3},Aee={key:4},jee={key:5},Mee=T({name:`ScalarIconBook`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Eee,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Dee,[...r[1]||=[P(`path`,{d:`M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Oee,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,kee,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Aee,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,jee,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Nee={key:0},Pee={key:1},Fee={key:2},Iee={key:3},Lee={key:4},Ree={key:5},ka=T({name:`ScalarIconCaretDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Nee,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Pee,[...r[1]||=[P(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Fee,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Iee,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Lee,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Ree,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),zee={key:0},Bee={key:1},Vee={key:2},Hee={key:3},Uee={key:4},Wee={key:5},Aa=T({name:`ScalarIconCaretRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,zee,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Bee,[...r[1]||=[P(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Vee,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Hee,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Uee,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Wee,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Gee={key:0},Kee={key:1},qee={key:2},Jee={key:3},Yee={key:4},Xee={key:5},Zee=T({name:`ScalarIconCaretUp`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Gee,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Kee,[...r[1]||=[P(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,qee,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Jee,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Yee,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Xee,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Qee={key:0},$ee={key:1},ete={key:2},tte={key:3},nte={key:4},ja={key:5},Ma=T({name:`ScalarIconCheck`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Qee,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,$ee,[...r[1]||=[P(`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),P(`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)]])):E(n)===`fill`?(y(),N(`g`,ete,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,tte,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,nte,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,ja,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Na={key:0},Pa={key:1},Fa={key:2},Ia={key:3},La={key:4},Ra={key:5},za=T({name:`ScalarIconCopy`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Na,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Pa,[...r[1]||=[P(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Fa,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Ia,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,La,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Ra,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Ba={key:0},Va={key:1},Ha={key:2},Ua={key:3},Wa={key:4},rte={key:5},ite=T({name:`ScalarIconEnvelopeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Ba,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Va,[...r[1]||=[P(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Ha,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Ua,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Wa,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,rte,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),ate={key:0},ote={key:1},ste={key:2},cte={key:3},lte={key:4},ute={key:5},Ga=T({name:`ScalarIconEye`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,ate,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,ote,[...r[1]||=[P(`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),P(`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)]])):E(n)===`fill`?(y(),N(`g`,ste,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,cte,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,lte,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,ute,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Ka={key:0},qa={key:1},Ja={key:2},Ya={key:3},Xa={key:4},Za={key:5},Qa=T({name:`ScalarIconEyeSlash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Ka,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,qa,[...r[1]||=[P(`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),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Ja,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Ya,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Xa,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Za,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),$a={key:0},eo={key:1},to={key:2},no={key:3},ro={key:4},io={key:5},ao=T({name:`ScalarIconGear`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,$a,[...r[0]||=[P(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,eo,[...r[1]||=[P(`path`,{d:`M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,80a48,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,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,to,[...r[2]||=[P(`path`,{d:`M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,no,[...r[3]||=[P(`path`,{d:`M128,82a46,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,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,ro,[...r[4]||=[P(`path`,{d:`M128,80a48,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,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,io,[...r[5]||=[P(`path`,{d:`M128,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,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z`},null,-1)]])):A(``,!0)],16))}}),oo={key:0},so={key:1},co={key:2},lo={key:3},uo={key:4},fo={key:5},po=T({name:`ScalarIconInfo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,oo,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,so,[...r[1]||=[P(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,co,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,lo,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,uo,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,fo,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),mo={key:0},ho={key:1},go={key:2},_o={key:3},vo={key:4},yo={key:5},bo=T({name:`ScalarIconMagnifyingGlass`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,mo,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,ho,[...r[1]||=[P(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,go,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,_o,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,vo,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,yo,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),xo={key:0},So={key:1},Co={key:2},wo={key:3},To={key:4},Eo={key:5},Do=T({name:`ScalarIconPencilSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,xo,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,So,[...r[1]||=[P(`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),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Co,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,wo,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,To,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Eo,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Oo={key:0},ko={key:1},Ao={key:2},jo={key:3},Mo={key:4},No={key:5},Po=T({name:`ScalarIconPlus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Oo,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,ko,[...r[1]||=[P(`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),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Ao,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,jo,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Mo,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,No,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Fo={key:0},Io={key:1},Lo={key:2},Ro={key:3},zo={key:4},Bo={key:5},Vo=T({name:`ScalarIconTrash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Fo,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Io,[...r[1]||=[P(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`},null,-1),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Lo,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Ro,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,zo,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,Bo,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Ho={key:0},Uo={key:1},Wo={key:2},Go={key:3},Ko={key:4},qo={key:5},Jo=T({name:`ScalarIconWebhooksLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Ho,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Uo,[...r[1]||=[P(`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),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Wo,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Go,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,Ko,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,qo,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),Yo={key:0},Xo={key:1},Zo={key:2},Qo={key:3},$o={key:4},es={key:5},ts=T({name:`ScalarIconX`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Da(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Yo,[...r[0]||=[P(`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)]])):E(n)===`duotone`?(y(),N(`g`,Xo,[...r[1]||=[P(`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),P(`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)]])):E(n)===`fill`?(y(),N(`g`,Zo,[...r[2]||=[P(`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)]])):E(n)===`light`?(y(),N(`g`,Qo,[...r[3]||=[P(`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)]])):E(n)===`regular`?(y(),N(`g`,$o,[...r[4]||=[P(`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)]])):E(n)===`thin`?(y(),N(`g`,es,[...r[5]||=[P(`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)]])):A(``,!0)],16))}}),ns={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},rs=e=>!(ns.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e));function dte(e){return ns.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,``)}`}var is=(...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},as=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(ns.MULTIPLE_SLASHES,`/`):t.trim(),os=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!rs(e)||typeof window<`u`)){let[i=``,a]=(r?e:rs(e)?as(window.location.origin,e):dte(e)).split(`?`),o=new URLSearchParams(a||``),[s=``,c]=t.split(`?`),l=new URLSearchParams(c||``),u=e===t?i:as(i,s),d=is(o,l,n).toString();return d?`${u}?${d}`:u}return t?as(e,t):``},ss=(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=as(t?new URL(t).origin:window.location.origin,n+`/`)),new URL(e,r).toString()}catch{return e}},fte=[`href`],pte=Ea(T({__name:`OpenApiClientButton`,props:{buttonSource:{},source:{default:`api-reference`},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let t=M(()=>{let t=e.url??(typeof window<`u`?window.location.href:void 0);if(!t)return;let n=ss(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(),N(`a`,{key:0,class:`open-api-client-button`,href:t.value,target:`_blank`},[O(E(Oa),{class:`size-3`,weight:`regular`}),n[0]||=tt(` Open API Client `,-1)],8,fte)):A(``,!0)}}),[[`__scopeId`,`data-v-cd067f84`]]),cs=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,mte=e=>`"${e.replaceAll(/(["\\])/g,`\\$1`)}"`,hte=e=>{let t=e.indexOf(`=`);if(t===-1)return null;let n=e.slice(0,t).trim().toLowerCase();if(!n||!cs.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},ls=e=>{let[t=``,n=``]=e.split(`/`,2),r=t.trim().toLowerCase(),i=n.trim().toLowerCase();if(!r||!i||!cs.test(r)||!cs.test(i))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${i}`,type:r,subtype:i}},us=(e=`text/plain`)=>{let[t=``,...n]=e.split(`;`),r;try{r=ls(t)}catch{r=ls(`text/plain`)}let{essence:i,type:a,subtype:o}=r,s=new Map;return n.forEach(e=>{let t=hte(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}=${cs.test(t)?t:mte(t)}`);return e.length?`${i}; ${e.join(`; `)}`:i}}},ds=()=>typeof window<`u`&&`electron`in window,gte=new Set([`post`,`put`,`patch`,`delete`]),fs=(e,t=!1)=>{let n=e.toLowerCase();return ds()&&!t?!0:gte.has(n)},_te=(e,t)=>new Request(e,{...t,body:fs(t.method??`GET`,!0)?t.body:null}),vte=`x-scalar-cookie`,yte=`x-scalar-set-cookie`,bte=`x-scalar-user-agent`,xte=`x-scalar-date`,Ste=`x-scalar-dnt`,Cte=`x-scalar-referer`;function ps(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=ps(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function ms(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ps(e))&&(r&&(r+=` `),r+=t);return r}var hs=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,gs=e=>{let t=function(){var t=[...arguments];return e?.hooks?.[`cx:done`]===void 0?e?.hooks?.onComplete===void 0?ms(t):e?.hooks.onComplete(ms(t)):e?.hooks[`cx:done`](ms(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=hs(t)||hs(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:wte,cva:Tte,cx:Ete}=gs(),Dte=(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},Ote=(e,t)=>({classGroupId:e,validator:t}),_s=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),vs=`-`,ys=[],kte=`arbitrary..`,Ate=e=>{let t=Mte(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return jte(e);let n=e.split(vs);return bs(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Dte(i,t):t:i||ys}return n[e]||ys}}},bs=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=bs(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(vs):e.slice(t).join(vs),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},jte=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?kte+r:void 0})(),Mte=e=>{let{theme:t,classGroups:n}=e;return Nte(n,t)},Nte=(e,t)=>{let n=_s();for(let r in e){let i=e[r];xs(i,n,r,t)}return n},xs=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Pte(i,t,n,r)}},Pte=(e,t,n,r)=>{if(typeof e==`string`){Fte(e,t,n);return}if(typeof e==`function`){Ite(e,t,n,r);return}Lte(e,t,n,r)},Fte=(e,t,n)=>{let r=e===``?t:Ss(t,e);r.classGroupId=n},Ite=(e,t,n,r)=>{if(Rte(e)){xs(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ote(n,e))},Lte=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];xs(o,Ss(t,a),n,r)}},Ss=(e,t)=>{let n=e,r=t.split(vs),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=_s(),n.nextPart.set(t,i)),n=i}return n},Rte=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,zte=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)}}},Cs=`!`,ws=`:`,Bte=[],Ts=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Vte=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===ws){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(Cs)?(c=s.slice(0,-1),l=!0):s.startsWith(Cs)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Ts(t,l,c,u)};if(t){let e=t+ws,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Ts(Bte,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Hte=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}},Es=e=>({cache:zte(e.cacheSize),parseClassName:Vte(e),sortModifiers:Hte(e),...Ate(e)}),Ds=/\s+/,Os=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(Ds),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+Cs: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},ks=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=As(n))&&(i&&(i+=` `),i+=r);return i},As=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=As(e[r]))&&(n&&(n+=` `),n+=t);return n},js=(e,...t)=>{let n,r,i,a,o=o=>(n=Es(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=Os(e,n);return i(e,a),a};return a=o,(...e)=>a(ks(...e))},Ms=[],Ns=e=>{let t=t=>t[e]||Ms;return t.isThemeGetter=!0,t},Ps=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fs=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Is=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ls=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rs=/\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$/,zs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Bs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Vs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Hs=e=>Is.test(e),Us=e=>!!e&&!Number.isNaN(Number(e)),Ws=e=>!!e&&Number.isInteger(Number(e)),Gs=e=>e.endsWith(`%`)&&Us(e.slice(0,-1)),Ks=e=>Ls.test(e),qs=()=>!0,Js=e=>Rs.test(e)&&!zs.test(e),Ys=()=>!1,Xs=e=>Bs.test(e),Zs=e=>Vs.test(e),Qs=e=>!ec(e)&&!cc(e),$s=e=>gc(e,bc,Ys),ec=e=>Ps.test(e),tc=e=>gc(e,xc,Js),nc=e=>gc(e,Sc,Us),rc=e=>gc(e,wc,qs),ic=e=>gc(e,Cc,Ys),ac=e=>gc(e,vc,Ys),oc=e=>gc(e,yc,Zs),sc=e=>gc(e,Tc,Xs),cc=e=>Fs.test(e),lc=e=>_c(e,xc),uc=e=>_c(e,Cc),dc=e=>_c(e,vc),fc=e=>_c(e,bc),pc=e=>_c(e,yc),mc=e=>_c(e,Tc,!0),hc=e=>_c(e,wc,!0),gc=(e,t,n)=>{let r=Ps.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},_c=(e,t,n=!1)=>{let r=Fs.exec(e);return r?r[1]?t(r[1]):n:!1},vc=e=>e===`position`||e===`percentage`,yc=e=>e===`image`||e===`url`,bc=e=>e===`length`||e===`size`||e===`bg-size`,xc=e=>e===`length`,Sc=e=>e===`number`,Cc=e=>e===`family-name`,wc=e=>e===`number`||e===`weight`,Tc=e=>e===`shadow`,Ec=()=>{let e=Ns(`color`),t=Ns(`font`),n=Ns(`text`),r=Ns(`font-weight`),i=Ns(`tracking`),a=Ns(`leading`),o=Ns(`breakpoint`),s=Ns(`container`),c=Ns(`spacing`),l=Ns(`radius`),u=Ns(`shadow`),d=Ns(`inset-shadow`),f=Ns(`text-shadow`),p=Ns(`drop-shadow`),m=Ns(`blur`),h=Ns(`perspective`),g=Ns(`aspect`),_=Ns(`ease`),v=Ns(`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(),cc,ec],x=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],te=()=>[`auto`,`contain`,`none`],S=()=>[cc,ec,c],ne=()=>[Hs,`full`,`auto`,...S()],re=()=>[Ws,`none`,`subgrid`,cc,ec],ie=()=>[`auto`,{span:[`full`,Ws,cc,ec]},Ws,cc,ec],ae=()=>[Ws,`auto`,cc,ec],oe=()=>[`auto`,`min`,`max`,`fr`,cc,ec],C=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],se=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],w=()=>[`auto`,...S()],ce=()=>[Hs,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...S()],le=()=>[Hs,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...S()],ue=()=>[Hs,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...S()],T=()=>[e,cc,ec],de=()=>[...b(),dc,ac,{position:[cc,ec]}],E=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],fe=()=>[`auto`,`cover`,`contain`,fc,$s,{size:[cc,ec]}],pe=()=>[Gs,lc,tc],me=()=>[``,`none`,`full`,l,cc,ec],he=()=>[``,Us,lc,tc],ge=()=>[`solid`,`dashed`,`dotted`,`double`],_e=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ve=()=>[Us,Gs,dc,ac],ye=()=>[``,`none`,m,cc,ec],be=()=>[`none`,Us,cc,ec],xe=()=>[`none`,Us,cc,ec],Se=()=>[Us,cc,ec],Ce=()=>[Hs,`full`,...S()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Ks],breakpoint:[Ks],color:[qs],container:[Ks],"drop-shadow":[Ks],ease:[`in`,`out`,`in-out`],font:[Qs],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Ks],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Ks],shadow:[Ks],spacing:[`px`,Us],text:[Ks],"text-shadow":[Ks],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Hs,ec,cc,g]}],container:[`container`],columns:[{columns:[Us,ec,cc,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:[Ws,`auto`,cc,ec]}],basis:[{basis:[Hs,`full`,`auto`,s,...S()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[Us,Hs,`auto`,`initial`,`none`,ec]}],grow:[{grow:[``,Us,cc,ec]}],shrink:[{shrink:[``,Us,cc,ec]}],order:[{order:[Ws,`first`,`last`,`none`,cc,ec]}],"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:w()}],mx:[{mx:w()}],my:[{my:w()}],ms:[{ms:w()}],me:[{me:w()}],mbs:[{mbs:w()}],mbe:[{mbe:w()}],mt:[{mt:w()}],mr:[{mr:w()}],mb:[{mb:w()}],ml:[{ml:w()}],"space-x":[{"space-x":S()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":S()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ce()}],"inline-size":[{inline:[`auto`,...le()]}],"min-inline-size":[{"min-inline":[`auto`,...le()]}],"max-inline-size":[{"max-inline":[`none`,...le()]}],"block-size":[{block:[`auto`,...ue()]}],"min-block-size":[{"min-block":[`auto`,...ue()]}],"max-block-size":[{"max-block":[`none`,...ue()]}],w:[{w:[s,`screen`,...ce()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ce()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ce()]}],h:[{h:[`screen`,`lh`,...ce()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ce()]}],"max-h":[{"max-h":[`screen`,`lh`,...ce()]}],"font-size":[{text:[`base`,n,lc,tc]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,hc,rc]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Gs,ec]}],"font-family":[{font:[uc,ic,t]}],"font-features":[{"font-features":[ec]}],"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,cc,ec]}],"line-clamp":[{"line-clamp":[Us,`none`,cc,nc]}],leading:[{leading:[a,...S()]}],"list-image":[{"list-image":[`none`,cc,ec]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,cc,ec]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ge(),`wavy`]}],"text-decoration-thickness":[{decoration:[Us,`from-font`,`auto`,cc,tc]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[Us,`auto`,cc,ec]}],"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`,cc,ec]}],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`,cc,ec]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:E()}],"bg-size":[{bg:fe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Ws,cc,ec],radial:[``,cc,ec],conic:[Ws,cc,ec]},pc,oc]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:pe()}],"gradient-via-pos":[{via:pe()}],"gradient-to-pos":[{to:pe()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-bs":[{"border-bs":he()}],"border-w-be":[{"border-be":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":he()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ge(),`hidden`,`none`]}],"divide-style":[{divide:[...ge(),`hidden`,`none`]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...ge(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[Us,cc,ec]}],"outline-w":[{outline:[``,Us,lc,tc]}],"outline-color":[{outline:T()}],shadow:[{shadow:[``,`none`,u,mc,sc]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":[`none`,d,mc,sc]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:he()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[Us,tc]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":[`none`,f,mc,sc]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[Us,cc,ec]}],"mix-blend":[{"mix-blend":[..._e(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":_e()}],"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":[Us]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[cc,ec]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":[Us]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:E()}],"mask-size":[{mask:fe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,cc,ec]}],filter:[{filter:[``,`none`,cc,ec]}],blur:[{blur:ye()}],brightness:[{brightness:[Us,cc,ec]}],contrast:[{contrast:[Us,cc,ec]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,mc,sc]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:[``,Us,cc,ec]}],"hue-rotate":[{"hue-rotate":[Us,cc,ec]}],invert:[{invert:[``,Us,cc,ec]}],saturate:[{saturate:[Us,cc,ec]}],sepia:[{sepia:[``,Us,cc,ec]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,cc,ec]}],"backdrop-blur":[{"backdrop-blur":ye()}],"backdrop-brightness":[{"backdrop-brightness":[Us,cc,ec]}],"backdrop-contrast":[{"backdrop-contrast":[Us,cc,ec]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,Us,cc,ec]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Us,cc,ec]}],"backdrop-invert":[{"backdrop-invert":[``,Us,cc,ec]}],"backdrop-opacity":[{"backdrop-opacity":[Us,cc,ec]}],"backdrop-saturate":[{"backdrop-saturate":[Us,cc,ec]}],"backdrop-sepia":[{"backdrop-sepia":[``,Us,cc,ec]}],"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`,cc,ec]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[Us,`initial`,cc,ec]}],ease:[{ease:[`linear`,`initial`,_,cc,ec]}],delay:[{delay:[Us,cc,ec]}],animate:[{animate:[`none`,v,cc,ec]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,cc,ec]}],"perspective-origin":[{"perspective-origin":ee()}],rotate:[{rotate:be()}],"rotate-x":[{"rotate-x":be()}],"rotate-y":[{"rotate-y":be()}],"rotate-z":[{"rotate-z":be()}],scale:[{scale:xe()}],"scale-x":[{"scale-x":xe()}],"scale-y":[{"scale-y":xe()}],"scale-z":[{"scale-z":xe()}],"scale-3d":[`scale-3d`],skew:[{skew:Se()}],"skew-x":[{"skew-x":Se()}],"skew-y":[{"skew-y":Se()}],transform:[{transform:[cc,ec,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:ee()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":[`translate-none`],accent:[{accent:T()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:T()}],"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`,cc,ec]}],"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`,cc,ec]}],fill:[{fill:[`none`,...T()]}],"stroke-w":[{stroke:[Us,lc,tc,nc]}],stroke:[{stroke:[`none`,...T()]}],"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`]}},Dc=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(Oc(e,`cacheSize`,t),Oc(e,`prefix`,n),Oc(e,`experimentalParseClassName`,r),kc(e.theme,a.theme),kc(e.classGroups,a.classGroups),kc(e.conflictingClassGroups,a.conflictingClassGroups),kc(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),Oc(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),Ac(e.theme,i.theme),Ac(e.classGroups,i.classGroups),Ac(e.conflictingClassGroups,i.conflictingClassGroups),Ac(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),jc(e,i,`orderSensitiveModifiers`),e),Oc=(e,t,n)=>{n!==void 0&&(e[t]=n)},kc=(e,t)=>{if(t)for(let n in t)Oc(e,n,t[n])},Ac=(e,t)=>{if(t)for(let n in t)jc(e,t,n)},jc=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},Mc=((e,...t)=>typeof e==`function`?js(Ec,e,...t):js(()=>Dc(Ec(),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:Nc,cx:Pc,compose:Ute}=gs({hooks:{onComplete:e=>Mc(e)}});function Fc(){let e=_e(),t=M(()=>{let{class:t,style:n,...r}=e;return{class:t||``,style:n,rest:r}});function n(...e){return{class:Pc(...e,t.value.class),style:t.value.style,...t.value.rest}}function r(...e){return{class:Pc(...e,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:M(()=>t.value.rest)}}var Ic=e=>e!=null,Lc=e=>e[`$ref-value`],Rc=e=>{let{"$ref-value":t,...n}=e;return{...t,...n}},R=(e,t=Lc)=>typeof e==`object`&&e&&`$ref`in e?t(e):e,zc=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},Bc=e=>typeof e==`object`&&!!e,Vc=e=>decodeURI(e.replace(/~1/g,`/`).replace(/~0/g,`~`)),Hc=e=>e.split(`/`).slice(1).map(Vc),Uc=(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}`)},Wc=e=>{if(e&&typeof e==`object`&&e.$id&&typeof e.$id==`string`)return e.$id},Gc=e=>e.join(`/`),Kc=(e,t=``,n=[],r=new Map,i=new WeakSet)=>{if(typeof e!=`object`||!e||i.has(e))return r;i.add(e);let a=Wc(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&&Kc(e[t],o,[...n,t],r,i);return r};function qc(e,t){return t.reduce((e,t)=>e.value===void 0||typeof e.value!=`object`||e.value===null?{context:``,value:void 0}:{context:Wc(e.value)??e.context,value:e.value?.[t]},{context:``,value:e})}function Jc(e,t){return t.reduce((e,t)=>(e[t]===void 0&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t]),e)}var Yc=Symbol(`isMagicProxy`),Xc=Symbol(`magicProxyTarget`),Zc=`$ref-value`,Qc=`$ref`,$c=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:Kc(e),currentContext:``})=>{if(!zc(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===Yc)return!0;if(r===Xc)return e;if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return;let a=Reflect.get(e,Qc,i),o=Wc(e);if(r===Zc&&typeof a==`string`){if(n.cache.has(a))return n.cache.get(a);let e=Uc(a,o??n.currentContext,n.schemas);if(e===void 0)return;let r=qc(n.root,Hc(`/${e}`));if(el(r.value))return r.value;let i=$c(r.value,t,{...n,currentContext:r.context});return n.cache.set(a,i),i}let s=Reflect.get(e,r,i);return el(s)?s:$c(s,t,{...n,currentContext:o??n.currentContext})},set(e,r,i,a){let o=Reflect.get(e,Qc,a);if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return!0;if(r===Zc&&typeof o==`string`){let t=Uc(o,Wc(e)??n.currentContext,n.schemas);if(t===void 0)return;let r=Hc(`/${t}`);if(r.length===0)return!1;let a=()=>qc(n.root,r.slice(0,-1)).value;return a()===void 0&&(Jc(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===Zc&&Qc 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 Qc in e&&!n.includes(Zc)&&n.push(Zc),n},getOwnPropertyDescriptor(e,n){if(typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal)return;let r=Reflect.get(e,Qc);return n===Zc&&typeof r==`string`?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}});return n.proxyCache.set(e,r),r},el=e=>typeof e==`object`&&!!e&&e[Yc]===!0;function tl(e){return typeof e!=`object`||!e?e:e[Yc]?e[Xc]:e}var nl=Symbol(`isDetectChangesProxy`),rl=Symbol(`detectChangesProxyTarget`),il=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!zc(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===nl)return!0;if(r===rl)return e;let a=Reflect.get(e,r,i);return al(a)?a:il(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},al=e=>typeof e==`object`&&!!e&&e[nl]===!0,ol=e=>typeof e!=`object`||!e?e:e[nl]?e[rl]:e,sl=Symbol(`isOverridesProxy`),cl=Symbol(`getOverridesTarget`),ll=(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===sl)return!0;if(t===cl)return e;let a=Reflect.get(e,t,i);return ul(a)?a:zc(a)?ll(a,{overrides:Reflect.get(r??{},t)},n):Reflect.get(r??{},t)??a},set(e,t,n,i){return t===sl||t===cl?!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},ul=e=>typeof e==`object`&&!!e&&e[sl]===!0;function dl(e){return typeof e==`object`&&e&&e[sl]?e[cl]:e}var fl=(e,{depth:t=0}={})=>{let n=(r,i=0)=>{if(typeof r!=`object`||!r)return r;let a=ol(Te(tl(dl(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)},pl=e=>{let t=new WeakSet,n=new WeakMap,r=e=>{if(!zc(e)&&!Array.isArray(e))return e;let i=fl(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(R(e)),a=Object.entries(e).filter(([e])=>e!==`$ref`&&e!==`$ref-value`);if(a.length>0&&zc(t)){let e={...t};for(let[t,n]of a)e[t]=r(n);return n.set(i,e),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)},ml=(e,t,n)=>{if(!e&&!t)return;let r=!!e&&Object.keys(e).length>0,i=n||Object.keys(e??{})[0]||``,a=R(e?.[i]);if(a!==void 0)return a;if((!r||!n)&&t!==void 0)return{value:R(t)}},hl=(e,t,n)=>{if(`content`in e){let r=e.content?.[n??Object.keys(e.content)[0]??``],i=ml(r?.examples,r?.example,t);if(i!==void 0)return i}if(`examples`in e||`example`in e){let n=ml(e.examples,e.example,t);if(n!==void 0)return n}let r=R(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}}},gl=e=>typeof e==`object`&&!!e&&`$dynamicRef`in e&&typeof e.$dynamicRef==`string`,_l=e=>`$dynamicAnchor`in e||`$id`in e||`$defs`in e,vl=new WeakMap,yl=e=>{let t=fl(e,{depth:1}),n=vl.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,R(e,Rc))};i(e);let a=e.$defs;if(a&&typeof a==`object`)for(let e of Object.keys(a))i(a[e]);return vl.set(t,r),r},bl=(e,t)=>_l(t)?[...e,t]:e,xl=(e,t)=>{let n=e.startsWith(`#`)?e.slice(1):void 0;if(!(!n||n.startsWith(`/`)))for(let e of t){let t=yl(e).get(n);if(t)return t}};function Sl(e){return jl(e)&&!Cl(e)&&!Fl(e)&&Symbol.asyncIterator in e}function Cl(e){return Array.isArray(e)}function wl(e){return typeof e==`bigint`}function Tl(e){return typeof e==`boolean`}function El(e){return e instanceof globalThis.Date}function Dl(e){return typeof e==`function`}function Ol(e){return jl(e)&&!Cl(e)&&!Fl(e)&&Symbol.iterator in e}function kl(e){return e===null}function Al(e){return typeof e==`number`}function jl(e){return typeof e==`object`&&!!e}function Ml(e){return e instanceof globalThis.RegExp}function Nl(e){return typeof e==`string`}function Pl(e){return typeof e==`symbol`}function Fl(e){return e instanceof globalThis.Uint8Array}function Il(e){return e===void 0}function Ll(e){return e.map(e=>Hl(e))}function Rl(e){return new Date(e.getTime())}function zl(e){return new Uint8Array(e)}function Bl(e){return new RegExp(e.source,e.flags)}function Vl(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=Hl(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=Hl(e[n]);return t}function Hl(e){return Cl(e)?Ll(e):El(e)?Rl(e):Fl(e)?zl(e):Ml(e)?Bl(e):jl(e)?Vl(e):e}function Ul(e){return Hl(e)}function Wl(e,t){return Ul(t===void 0?e:{...t,...e})}function Gl(e){return eu(e)&&globalThis.Symbol.asyncIterator in e}function Kl(e){return eu(e)&&globalThis.Symbol.iterator in e}function ql(e){return e instanceof globalThis.Promise}function Jl(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function Yl(e){return e instanceof globalThis.Map}function Xl(e){return e instanceof globalThis.Set}function Zl(e){return globalThis.ArrayBuffer.isView(e)}function Ql(e){return e instanceof globalThis.Uint8Array}function $l(e,t){return t in e}function eu(e){return typeof e==`object`&&!!e}function tu(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function nu(e){return e===void 0}function ru(e){return e===null}function iu(e){return typeof e==`boolean`}function au(e){return typeof e==`number`}function ou(e){return globalThis.Number.isInteger(e)}function su(e){return typeof e==`bigint`}function cu(e){return typeof e==`string`}function lu(e){return typeof e==`function`}function uu(e){return typeof e==`symbol`}function du(e){return su(e)||iu(e)||ru(e)||au(e)||cu(e)||uu(e)||nu(e)}var fu;(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=eu(t);return e.AllowArrayObject?n:n&&!tu(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?au(t):Number.isFinite(t)}e.IsNumberLike=i;function a(t){let n=nu(t);return e.AllowNullVoid?n||t===null:n}e.IsVoidLike=a})(fu||={});function pu(e){return globalThis.Object.freeze(e).map(e=>vu(e))}function mu(e){return e}function hu(e){return e}function gu(e){return e}function _u(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=vu(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=vu(e[n]);return globalThis.Object.freeze(t)}function vu(e){return Cl(e)?pu(e):El(e)?mu(e):Fl(e)?hu(e):Ml(e)?gu(e):jl(e)?_u(e):e}function z(e,t){let n=t===void 0?e:{...t,...e};switch(fu.InstanceMode){case`freeze`:return vu(n);case`clone`:return Ul(n);default:return n}}var yu=class extends Error{constructor(e){super(e)}},bu=Symbol.for(`TypeBox.Transform`),xu=Symbol.for(`TypeBox.Readonly`),Su=Symbol.for(`TypeBox.Optional`),Cu=Symbol.for(`TypeBox.Hint`),wu=Symbol.for(`TypeBox.Kind`);function Tu(e){return jl(e)&&e[xu]===`Readonly`}function Eu(e){return jl(e)&&e[Su]===`Optional`}function Du(e){return Bu(e,`Any`)}function Ou(e){return Bu(e,`Argument`)}function ku(e){return Bu(e,`Array`)}function Au(e){return Bu(e,`AsyncIterator`)}function ju(e){return Bu(e,`BigInt`)}function Mu(e){return Bu(e,`Boolean`)}function Nu(e){return Bu(e,`Computed`)}function Pu(e){return Bu(e,`Constructor`)}function Fu(e){return Bu(e,`Date`)}function Iu(e){return Bu(e,`Function`)}function Lu(e){return Bu(e,`Integer`)}function Ru(e){return Bu(e,`Intersect`)}function zu(e){return Bu(e,`Iterator`)}function Bu(e,t){return jl(e)&&wu in e&&e[wu]===t}function Vu(e){return Tl(e)||Al(e)||Nl(e)}function Hu(e){return Bu(e,`Literal`)}function Uu(e){return Bu(e,`MappedKey`)}function Wu(e){return Bu(e,`MappedResult`)}function Gu(e){return Bu(e,`Never`)}function Ku(e){return Bu(e,`Not`)}function qu(e){return Bu(e,`Null`)}function Ju(e){return Bu(e,`Number`)}function Yu(e){return Bu(e,`Object`)}function Xu(e){return Bu(e,`Promise`)}function Zu(e){return Bu(e,`Record`)}function Qu(e){return Bu(e,`Ref`)}function $u(e){return Bu(e,`RegExp`)}function ed(e){return Bu(e,`String`)}function td(e){return Bu(e,`Symbol`)}function nd(e){return Bu(e,`TemplateLiteral`)}function rd(e){return Bu(e,`This`)}function id(e){return jl(e)&&bu in e}function ad(e){return Bu(e,`Tuple`)}function od(e){return Bu(e,`Undefined`)}function sd(e){return Bu(e,`Union`)}function cd(e){return Bu(e,`Uint8Array`)}function ld(e){return Bu(e,`Unknown`)}function ud(e){return Bu(e,`Unsafe`)}function dd(e){return Bu(e,`Void`)}function fd(e){return jl(e)&&wu in e&&Nl(e[wu])}function pd(e){return Du(e)||Ou(e)||ku(e)||Mu(e)||ju(e)||Au(e)||Nu(e)||Pu(e)||Fu(e)||Iu(e)||Lu(e)||Ru(e)||zu(e)||Hu(e)||Uu(e)||Wu(e)||Gu(e)||Ku(e)||qu(e)||Ju(e)||Yu(e)||Xu(e)||Zu(e)||Qu(e)||$u(e)||ed(e)||td(e)||nd(e)||rd(e)||ad(e)||od(e)||sd(e)||cd(e)||ld(e)||ud(e)||dd(e)||fd(e)}var md=`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 hd(e){try{return new RegExp(e),!0}catch{return!1}}function gd(e){if(!Nl(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 _d(e){return bd(e)||_f(e)}function vd(e){return Il(e)||wl(e)}function yd(e){return Il(e)||Al(e)}function bd(e){return Il(e)||Tl(e)}function xd(e){return Il(e)||Nl(e)}function Sd(e){return Il(e)||Nl(e)&&gd(e)&&hd(e)}function Cd(e){return Il(e)||Nl(e)&&gd(e)}function wd(e){return Il(e)||_f(e)}function Td(e){return jl(e)&&e[Su]===`Optional`}function Ed(e){return Bd(e,`Any`)&&xd(e.$id)}function Dd(e){return Bd(e,`Argument`)&&Al(e.index)}function Od(e){return Bd(e,`Array`)&&e.type===`array`&&xd(e.$id)&&_f(e.items)&&yd(e.minItems)&&yd(e.maxItems)&&bd(e.uniqueItems)&&wd(e.contains)&&yd(e.minContains)&&yd(e.maxContains)}function kd(e){return Bd(e,`AsyncIterator`)&&e.type===`AsyncIterator`&&xd(e.$id)&&_f(e.items)}function Ad(e){return Bd(e,`BigInt`)&&e.type===`bigint`&&xd(e.$id)&&vd(e.exclusiveMaximum)&&vd(e.exclusiveMinimum)&&vd(e.maximum)&&vd(e.minimum)&&vd(e.multipleOf)}function jd(e){return Bd(e,`Boolean`)&&e.type===`boolean`&&xd(e.$id)}function Md(e){return Bd(e,`Computed`)&&Nl(e.target)&&Cl(e.parameters)&&e.parameters.every(e=>_f(e))}function Nd(e){return Bd(e,`Constructor`)&&e.type===`Constructor`&&xd(e.$id)&&Cl(e.parameters)&&e.parameters.every(e=>_f(e))&&_f(e.returns)}function Pd(e){return Bd(e,`Date`)&&e.type===`Date`&&xd(e.$id)&&yd(e.exclusiveMaximumTimestamp)&&yd(e.exclusiveMinimumTimestamp)&&yd(e.maximumTimestamp)&&yd(e.minimumTimestamp)&&yd(e.multipleOfTimestamp)}function Fd(e){return Bd(e,`Function`)&&e.type===`Function`&&xd(e.$id)&&Cl(e.parameters)&&e.parameters.every(e=>_f(e))&&_f(e.returns)}function Id(e){return Bd(e,`Integer`)&&e.type===`integer`&&xd(e.$id)&&yd(e.exclusiveMaximum)&&yd(e.exclusiveMinimum)&&yd(e.maximum)&&yd(e.minimum)&&yd(e.multipleOf)}function Ld(e){return jl(e)&&Object.entries(e).every(([e,t])=>gd(e)&&_f(t))}function Rd(e){return Bd(e,`Intersect`)&&!(Nl(e.type)&&e.type!==`object`)&&Cl(e.allOf)&&e.allOf.every(e=>_f(e)&&!cf(e))&&xd(e.type)&&(bd(e.unevaluatedProperties)||wd(e.unevaluatedProperties))&&xd(e.$id)}function zd(e){return Bd(e,`Iterator`)&&e.type===`Iterator`&&xd(e.$id)&&_f(e.items)}function Bd(e,t){return jl(e)&&wu in e&&e[wu]===t}function Vd(e){return Wd(e)&&Nl(e.const)}function Hd(e){return Wd(e)&&Al(e.const)}function Ud(e){return Wd(e)&&Tl(e.const)}function Wd(e){return Bd(e,`Literal`)&&xd(e.$id)&&Gd(e.const)}function Gd(e){return Tl(e)||Al(e)||Nl(e)}function Kd(e){return Bd(e,`MappedKey`)&&Cl(e.keys)&&e.keys.every(e=>Al(e)||Nl(e))}function qd(e){return Bd(e,`MappedResult`)&&Ld(e.properties)}function Jd(e){return Bd(e,`Never`)&&jl(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function Yd(e){return Bd(e,`Not`)&&_f(e.not)}function Xd(e){return Bd(e,`Null`)&&e.type===`null`&&xd(e.$id)}function Zd(e){return Bd(e,`Number`)&&e.type===`number`&&xd(e.$id)&&yd(e.exclusiveMaximum)&&yd(e.exclusiveMinimum)&&yd(e.maximum)&&yd(e.minimum)&&yd(e.multipleOf)}function Qd(e){return Bd(e,`Object`)&&e.type===`object`&&xd(e.$id)&&Ld(e.properties)&&_d(e.additionalProperties)&&yd(e.minProperties)&&yd(e.maxProperties)}function $d(e){return Bd(e,`Promise`)&&e.type===`Promise`&&xd(e.$id)&&_f(e.item)}function ef(e){return Bd(e,`Record`)&&e.type===`object`&&xd(e.$id)&&_d(e.additionalProperties)&&jl(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&hd(t[0])&&jl(e.patternProperties)&&_f(e.patternProperties[t[0]])})(e)}function tf(e){return Bd(e,`Ref`)&&xd(e.$id)&&Nl(e.$ref)}function nf(e){return Bd(e,`RegExp`)&&xd(e.$id)&&Nl(e.source)&&Nl(e.flags)&&yd(e.maxLength)&&yd(e.minLength)}function rf(e){return Bd(e,`String`)&&e.type===`string`&&xd(e.$id)&&yd(e.minLength)&&yd(e.maxLength)&&Sd(e.pattern)&&Cd(e.format)}function af(e){return Bd(e,`Symbol`)&&e.type===`symbol`&&xd(e.$id)}function of(e){return Bd(e,`TemplateLiteral`)&&e.type===`string`&&Nl(e.pattern)&&e.pattern[0]===`^`&&e.pattern[e.pattern.length-1]===`$`}function sf(e){return Bd(e,`This`)&&xd(e.$id)&&Nl(e.$ref)}function cf(e){return jl(e)&&bu in e}function lf(e){return Bd(e,`Tuple`)&&e.type===`array`&&xd(e.$id)&&Al(e.minItems)&&Al(e.maxItems)&&e.minItems===e.maxItems&&(Il(e.items)&&Il(e.additionalItems)&&e.minItems===0||Cl(e.items)&&e.items.every(e=>_f(e)))}function uf(e){return Bd(e,`Undefined`)&&e.type===`undefined`&&xd(e.$id)}function df(e){return Bd(e,`Union`)&&xd(e.$id)&&jl(e)&&Cl(e.anyOf)&&e.anyOf.every(e=>_f(e))}function ff(e){return Bd(e,`Uint8Array`)&&e.type===`Uint8Array`&&xd(e.$id)&&yd(e.minByteLength)&&yd(e.maxByteLength)}function pf(e){return Bd(e,`Unknown`)&&xd(e.$id)}function mf(e){return Bd(e,`Unsafe`)}function hf(e){return Bd(e,`Void`)&&e.type===`void`&&xd(e.$id)}function gf(e){return jl(e)&&wu in e&&Nl(e[wu])&&!md.includes(e[wu])}function _f(e){return jl(e)&&(Ed(e)||Dd(e)||Od(e)||jd(e)||Ad(e)||kd(e)||Md(e)||Nd(e)||Pd(e)||Fd(e)||Id(e)||Rd(e)||zd(e)||Wd(e)||Kd(e)||qd(e)||Jd(e)||Yd(e)||Xd(e)||Zd(e)||Qd(e)||$d(e)||ef(e)||tf(e)||nf(e)||rf(e)||af(e)||of(e)||sf(e)||lf(e)||uf(e)||df(e)||ff(e)||pf(e)||mf(e)||hf(e)||gf(e))}var vf=`(true|false)`,yf=`(0|[1-9][0-9]*)`,bf=`(.*)`,xf=`(?!.*)`;`${vf}`;var Sf=`^${yf}$`,Cf=`^${bf}$`,Wte=`^${xf}$`,wf=new Map;function Tf(e){return wf.has(e)}function Ef(e){return wf.get(e)}var Df=new Map;function Of(e){return Df.has(e)}function kf(e){return Df.get(e)}function Gte(e,t){return e.includes(t)}function Kte(e){return[...new Set(e)]}function qte(e,t){return e.filter(e=>t.includes(e))}function Jte(e,t){return e.reduce((e,t)=>qte(e,t),t)}function Yte(e){return e.length===1?e[0]:e.length>1?Jte(e.slice(1),e[0]):[]}function Xte(e){let t=[];for(let n of e)t.push(...n);return t}function Af(e){return z({[wu]:`Any`},e)}function jf(e,t){return z({[wu]:`Array`,type:`array`,items:e},t)}function Zte(e){return z({[wu]:`Argument`,index:e})}function Mf(e,t){return z({[wu]:`AsyncIterator`,type:`AsyncIterator`,items:e},t)}function Nf(e,t,n){return z({[wu]:`Computed`,target:e,parameters:t},n)}function Qte(e,t){let{[t]:n,...r}=e;return r}function Pf(e,t){return t.reduce((e,t)=>Qte(e,t),e)}function Ff(e){return z({[wu]:`Never`,not:{}},e)}function If(e){return z({[wu]:`MappedResult`,properties:e})}function Lf(e,t,n){return z({[wu]:`Constructor`,type:`Constructor`,parameters:e,returns:t},n)}function Rf(e,t,n){return z({[wu]:`Function`,type:`Function`,parameters:e,returns:t},n)}function zf(e,t){return z({[wu]:`Union`,anyOf:e},t)}function $te(e){return e.some(e=>Eu(e))}function Bf(e){return e.map(e=>Eu(e)?ene(e):e)}function ene(e){return Pf(e,[Su])}function tne(e,t){return $te(e)?Tp(zf(Bf(e),t)):zf(Bf(e),t)}function Vf(e,t){return e.length===1?z(e[0],t):e.length===0?Ff(t):tne(e,t)}function Hf(e,t){return e.length===0?Ff(t):e.length===1?z(e[0],t):zf(e,t)}var Uf=class extends yu{};function nne(e){return e.replace(/\\\$/g,`$`).replace(/\\\*/g,`*`).replace(/\\\^/g,`^`).replace(/\\\|/g,`|`).replace(/\\\(/g,`(`).replace(/\\\)/g,`)`)}function Wf(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function Gf(e,t){return Wf(e,t,`(`)}function Kf(e,t){return Wf(e,t,`)`)}function qf(e,t){return Wf(e,t,`|`)}function rne(e){if(!(Gf(e,0)&&Kf(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(Gf(e,n)&&(t+=1),Kf(e,n)&&--t,t===0&&n!==e.length-1)return!1;return!0}function ine(e){return e.slice(1,e.length-1)}function ane(e){let t=0;for(let n=0;n<e.length;n++)if(Gf(e,n)&&(t+=1),Kf(e,n)&&--t,qf(e,n)&&t===0)return!0;return!1}function one(e){for(let t=0;t<e.length;t++)if(Gf(e,t))return!0;return!1}function sne(e){let[t,n]=[0,0],r=[];for(let i=0;i<e.length;i++)if(Gf(e,i)&&(t+=1),Kf(e,i)&&--t,qf(e,i)&&t===0){let t=e.slice(n,i);t.length>0&&r.push(Jf(t)),n=i+1}let i=e.slice(n);return i.length>0&&r.push(Jf(i)),r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`or`,expr:r}}function cne(e){function t(e,t){if(!Gf(e,t))throw new Uf(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let r=t;r<e.length;r++)if(Gf(e,r)&&(n+=1),Kf(e,r)&&--n,n===0)return[t,r];throw new Uf(`TemplateLiteralParser: Unclosed group parens in expression`)}function n(e,t){for(let n=t;n<e.length;n++)if(Gf(e,n))return[t,n];return[t,e.length]}let r=[];for(let i=0;i<e.length;i++)if(Gf(e,i)){let[n,a]=t(e,i),o=e.slice(n,a+1);r.push(Jf(o)),i=a}else{let[t,a]=n(e,i),o=e.slice(t,a);o.length>0&&r.push(Jf(o)),i=a-1}return r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`and`,expr:r}}function Jf(e){return rne(e)?Jf(ine(e)):ane(e)?sne(e):one(e)?cne(e):{type:`const`,const:nne(e)}}function Yf(e){return Jf(e.slice(1,e.length-1))}var lne=class extends yu{};function une(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 dne(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 fne(e){return e.type===`const`&&e.const===`.*`}function Xf(e){return une(e)||fne(e)?!1:dne(e)?!0:e.type===`and`||e.type===`or`?e.expr.every(e=>Xf(e)):e.type===`const`?!0:(()=>{throw new lne(`Unknown expression type`)})()}function Zf(e){return Xf(Yf(e.pattern))}var pne=class extends yu{};function*Qf(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let n of Qf(e.slice(1)))yield`${t}${n}`}function*mne(e){return yield*Qf(e.expr.map(e=>[...$f(e)]))}function*hne(e){for(let t of e.expr)yield*$f(t)}function*gne(e){return yield e.const}function*$f(e){return e.type===`and`?yield*mne(e):e.type===`or`?yield*hne(e):e.type===`const`?yield*gne(e):(()=>{throw new pne(`Unknown expression`)})()}function ep(e){let t=Yf(e.pattern);return Xf(t)?[...$f(t)]:[]}function tp(e,t){return z({[wu]:`Literal`,const:e,type:typeof e},t)}function np(e){return z({[wu]:`Boolean`,type:`boolean`},e)}function rp(e){return z({[wu]:`BigInt`,type:`bigint`},e)}function ip(e){return z({[wu]:`Number`,type:`number`},e)}function ap(e){return z({[wu]:`String`,type:`string`},e)}function*_ne(e){let t=e.trim().replace(/"|'/g,``);return t===`boolean`?yield np():t===`number`?yield ip():t===`bigint`?yield rp():t===`string`?yield ap():yield(()=>{let e=t.split(`|`).map(e=>tp(e.trim()));return e.length===0?Ff():e.length===1?e[0]:Vf(e)})()}function*vne(e){if(e[1]!==`{`)return yield*[tp(`$`),...op(e.slice(1))];for(let t=2;t<e.length;t++)if(e[t]===`}`){let n=_ne(e.slice(2,t)),r=op(e.slice(t+1));return yield*[...n,...r]}yield tp(e)}function*op(e){for(let t=0;t<e.length;t++)if(e[t]===`$`)return yield*[tp(e.slice(0,t)),...vne(e.slice(t))];yield tp(e)}function yne(e){return[...op(e)]}var bne=class extends yu{};function xne(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function sp(e,t){return nd(e)?e.pattern.slice(1,e.pattern.length-1):sd(e)?`(${e.anyOf.map(e=>sp(e,t)).join(`|`)})`:Ju(e)||Lu(e)||ju(e)?`${t}${yf}`:ed(e)?`${t}${bf}`:Hu(e)?`${t}${xne(e.const.toString())}`:Mu(e)?`${t}${vf}`:(()=>{throw new bne(`Unexpected Kind '${e[wu]}'`)})()}function cp(e){return`^${e.map(e=>sp(e,``)).join(``)}\$`}function lp(e){return Vf(ep(e).map(e=>tp(e)))}function up(e,t){let n=Nl(e)?cp(yne(e)):cp(e);return z({[wu]:`TemplateLiteral`,type:`string`,pattern:n},t)}function Sne(e){return ep(e).map(e=>e.toString())}function Cne(e){let t=[];for(let n of e)t.push(...dp(n));return t}function wne(e){return[e.toString()]}function dp(e){return[...new Set(nd(e)?Sne(e):sd(e)?Cne(e.anyOf):Hu(e)?wne(e.const):Ju(e)||Lu(e)?[`[number]`]:[])]}function Tne(e,t,n){let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=gp(e,dp(t[i]),n);return r}function Ene(e,t,n){return Tne(e,t.properties,n)}function Dne(e,t,n){return If(Ene(e,t,n))}function fp(e,t){return e.map(e=>pp(e,t))}function One(e){return e.filter(e=>!Gu(e))}function kne(e,t){return Op(One(fp(e,t)))}function Ane(e){return e.some(e=>Gu(e))?[]:e}function jne(e,t){return Vf(Ane(fp(e,t)))}function Mne(e,t){return t in e?e[t]:t===`[number]`?Vf(e):Ff()}function Nne(e,t){return t===`[number]`?e:Ff()}function Pne(e,t){return t in e?e[t]:Ff()}function pp(e,t){return Ru(e)?kne(e.allOf,t):sd(e)?jne(e.anyOf,t):ad(e)?Mne(e.items??[],t):ku(e)?Nne(e.items,t):Yu(e)?Pne(e.properties,t):Ff()}function mp(e,t){return t.map(t=>pp(e,t))}function hp(e,t){return Vf(mp(e,t))}function gp(e,t,n){if(Qu(e)||Qu(t)){if(!pd(e)||!pd(t))throw new yu(`Index types using Ref parameters require both Type and Key to be of TSchema`);return Nf(`Index`,[e,t])}return Wu(t)?Dne(e,t,n):Uu(t)?Rne(e,t,n):z(pd(t)?hp(e,dp(t)):hp(e,t),n)}function Fne(e,t,n){return{[t]:gp(e,[t],Ul(n))}}function Ine(e,t,n){return t.reduce((t,r)=>({...t,...Fne(e,r,n)}),{})}function Lne(e,t,n){return Ine(e,t.keys,n)}function Rne(e,t,n){return If(Lne(e,t,n))}function _p(e,t){return z({[wu]:`Iterator`,type:`Iterator`,items:e},t)}function zne(e){let t=[];for(let n in e)Eu(e[n])||t.push(n);return t}function Bne(e,t){let n=zne(e);return z(n.length>0?{[wu]:`Object`,type:`object`,properties:e,required:n}:{[wu]:`Object`,type:`object`,properties:e},t)}var vp=Bne;function yp(e,t){return z({[wu]:`Promise`,type:`Promise`,item:e},t)}function Vne(e){return z(Pf(e,[xu]))}function Hne(e){return z({...e,[xu]:`Readonly`})}function Une(e,t){return t===!1?Vne(e):Hne(e)}function bp(e,t){let n=t??!0;return Wu(e)?Kne(e,n):Une(e,n)}function Wne(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=bp(e[r],t);return n}function Gne(e,t){return Wne(e.properties,t)}function Kne(e,t){return If(Gne(e,t))}function xp(e,t){return z(e.length>0?{[wu]:`Tuple`,type:`array`,items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[wu]:`Tuple`,type:`array`,minItems:e.length,maxItems:e.length},t)}function Sp(e,t){return e in t?wp(e,t[e]):If(t)}function qne(e){return{[e]:tp(e)}}function Jne(e){let t={};for(let n of e)t[n]=tp(n);return t}function Yne(e,t){return Gte(t,e)?qne(e):Jne(t)}function Xne(e,t){return Sp(e,Yne(e,t))}function Cp(e,t){return t.map(t=>wp(e,t))}function Zne(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=wp(e,t[r]);return n}function wp(e,t){let n={...t};return Eu(t)?Tp(wp(e,Pf(t,[Su]))):Tu(t)?bp(wp(e,Pf(t,[xu]))):Wu(t)?Sp(e,t.properties):Uu(t)?Xne(e,t.keys):Pu(t)?Lf(Cp(e,t.parameters),wp(e,t.returns),n):Iu(t)?Rf(Cp(e,t.parameters),wp(e,t.returns),n):Au(t)?Mf(wp(e,t.items),n):zu(t)?_p(wp(e,t.items),n):Ru(t)?kp(Cp(e,t.allOf),n):sd(t)?Hf(Cp(e,t.anyOf),n):ad(t)?xp(Cp(e,t.items??[]),n):Yu(t)?vp(Zne(e,t.properties),n):ku(t)?jf(wp(e,t.items),n):Xu(t)?yp(wp(e,t.item),n):t}function Qne(e,t){let n={};for(let r of e)n[r]=wp(r,t);return n}function $ne(e,t,n){let r=pd(e)?dp(e):e;return vp(Qne(r,t({[wu]:`MappedKey`,keys:r})),n)}function ere(e){return z(Pf(e,[Su]))}function tre(e){return z({...e,[Su]:`Optional`})}function nre(e,t){return t===!1?ere(e):tre(e)}function Tp(e,t){let n=t??!0;return Wu(e)?are(e,n):nre(e,n)}function rre(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Tp(e[r],t);return n}function ire(e,t){return rre(e.properties,t)}function are(e,t){return If(ire(e,t))}function Ep(e,t={}){let n=e.every(e=>Yu(e)),r=pd(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return z(t.unevaluatedProperties===!1||pd(t.unevaluatedProperties)||n?{...r,[wu]:`Intersect`,type:`object`,allOf:e}:{...r,[wu]:`Intersect`,allOf:e},t)}function ore(e){return e.every(e=>Eu(e))}function sre(e){return Pf(e,[Su])}function Dp(e){return e.map(e=>Eu(e)?sre(e):e)}function cre(e,t){return ore(e)?Tp(Ep(Dp(e),t)):Ep(Dp(e),t)}function Op(e,t={}){if(e.length===1)return z(e[0],t);if(e.length===0)return Ff(t);if(e.some(e=>id(e)))throw Error(`Cannot intersect transform types`);return cre(e,t)}function kp(e,t){if(e.length===1)return z(e[0],t);if(e.length===0)return Ff(t);if(e.some(e=>id(e)))throw Error(`Cannot intersect transform types`);return Ep(e,t)}function Ap(...e){let[t,n]=typeof e[0]==`string`?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!=`string`)throw new yu(`Ref: $ref must be a string`);return z({[wu]:`Ref`,$ref:t},n)}function lre(e,t){return Nf(`Awaited`,[Nf(e,t)])}function ure(e){return Nf(`Awaited`,[Ap(e)])}function dre(e){return kp(jp(e))}function fre(e){return Hf(jp(e))}function pre(e){return Mp(e)}function jp(e){return e.map(e=>Mp(e))}function Mp(e,t){return z(Nu(e)?lre(e.target,e.parameters):Ru(e)?dre(e.allOf):sd(e)?fre(e.anyOf):Xu(e)?pre(e.item):Qu(e)?ure(e.$ref):e,t)}function Np(e){let t=[];for(let n of e)t.push(Pp(n));return t}function mre(e){return Xte(Np(e))}function hre(e){return Yte(Np(e))}function gre(e){return e.map((e,t)=>t.toString())}function _re(e){return[`[number]`]}function vre(e){return globalThis.Object.getOwnPropertyNames(e)}function yre(e){return Fp?globalThis.Object.getOwnPropertyNames(e).map(e=>e[0]===`^`&&e[e.length-1]===`$`?e.slice(1,e.length-1):e):[]}function Pp(e){return Ru(e)?mre(e.allOf):sd(e)?hre(e.anyOf):ad(e)?gre(e.items??[]):ku(e)?_re(e.items):Yu(e)?vre(e.properties):Zu(e)?yre(e.patternProperties):[]}var Fp=!1;function Ip(e){Fp=!0;let t=Pp(e);return Fp=!1,`^(${t.map(e=>`(${e})`).join(`|`)})$`}function bre(e,t){return Nf(`KeyOf`,[Nf(e,t)])}function xre(e){return Nf(`KeyOf`,[Ap(e)])}function Sre(e,t){return z(Vf(Cre(Pp(e))),t)}function Cre(e){return e.map(e=>e===`[number]`?ip():tp(e))}function Lp(e,t){return Nu(e)?bre(e.target,e.parameters):Qu(e)?xre(e.$ref):Wu(e)?Ere(e,t):Sre(e,t)}function wre(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Lp(e[r],Ul(t));return n}function Tre(e,t){return wre(e.properties,t)}function Ere(e,t){return If(Tre(e,t))}function Dre(e){let t=[];for(let n of e)t.push(...Pp(n));return Kte(t)}function Ore(e){return e.filter(e=>!Gu(e))}function kre(e,t){let n=[];for(let r of e)n.push(...mp(r,[t]));return Ore(n)}function Are(e,t){let n={};for(let r of t)n[r]=Op(kre(e,r));return n}function jre(e,t){return vp(Are(e,Dre(e)),t)}function Rp(e){return z({[wu]:`Date`,type:`Date`},e)}function zp(e){return z({[wu]:`Null`,type:`null`},e)}function Bp(e){return z({[wu]:`Symbol`,type:`symbol`},e)}function Vp(e){return z({[wu]:`Undefined`,type:`undefined`},e)}function Hp(e){return z({[wu]:`Uint8Array`,type:`Uint8Array`},e)}function Up(e){return z({[wu]:`Unknown`},e)}function Mre(e){return e.map(e=>Gp(e,!1))}function Nre(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=bp(Gp(e[n],!1));return t}function Wp(e,t){return t===!0?e:bp(e)}function Gp(e,t){return Sl(e)||Ol(e)?Wp(Af(),t):Cl(e)?bp(xp(Mre(e))):Fl(e)?Hp():El(e)?Rp():jl(e)?Wp(vp(Nre(e)),t):Dl(e)?Wp(Rf([],Up()),t):Il(e)?Vp():kl(e)?zp():Pl(e)?Bp():wl(e)?rp():Al(e)||Tl(e)||Nl(e)?tp(e):vp({})}function Pre(e,t){return z(Gp(e,!0),t)}function Fre(e,t){return Pu(e)?xp(e.parameters,t):Ff(t)}function Ire(e,t){if(Il(e))throw Error(`Enum undefined or empty`);let n=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return Hf([...new Set(n)].map(e=>tp(e)),{...t,[Cu]:`Enum`})}var Lre=class extends yu{},B;(function(e){e[e.Union=0]=`Union`,e[e.True=1]=`True`,e[e.False=2]=`False`})(B||={});function Kp(e){return e===B.False?e:B.True}function qp(e){throw new Lre(e)}function Jp(e){return Jd(e)||Rd(e)||df(e)||pf(e)||Ed(e)}function Yp(e,t){return Jd(t)?em(e,t):Rd(t)?$p(e,t):df(t)?km(e,t):pf(t)?jm(e,t):Ed(t)?Xp(e,t):qp(`StructuralRight`)}function Xp(e,t){return B.True}function Rre(e,t){return Rd(t)?$p(e,t):df(t)&&t.anyOf.some(e=>Ed(e)||pf(e))?B.True:df(t)?B.Union:pf(t)||Ed(t)?B.True:B.Union}function zre(e,t){return pf(e)?B.False:Ed(e)?B.Union:Jd(e)?B.True:B.False}function Bre(e,t){return Qd(t)&&dm(t)?B.True:Jp(t)?Yp(e,t):Od(t)?Kp(Fm(e.items,t.items)):B.False}function Vre(e,t){return Jp(t)?Yp(e,t):kd(t)?Kp(Fm(e.items,t.items)):B.False}function Hre(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):Ad(t)?B.True:B.False}function Zp(e,t){return Ud(e)||jd(e)?B.True:B.False}function Ure(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):jd(t)?B.True:B.False}function Wre(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):Nd(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Kp(Fm(t.parameters[n],e))===B.True)?Kp(Fm(e.returns,t.returns)):B.False:B.False}function Gre(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):Pd(t)?B.True:B.False}function Kre(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):Fd(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Kp(Fm(t.parameters[n],e))===B.True)?Kp(Fm(e.returns,t.returns)):B.False:B.False}function Qp(e,t){return Wd(e)&&Al(e.const)||Zd(e)||Id(e)?B.True:B.False}function qre(e,t){return Id(t)||Zd(t)?B.True:Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):B.False}function $p(e,t){return t.allOf.every(t=>Fm(e,t)===B.True)?B.True:B.False}function Jre(e,t){return e.allOf.some(e=>Fm(e,t)===B.True)?B.True:B.False}function Yre(e,t){return Jp(t)?Yp(e,t):zd(t)?Kp(Fm(e.items,t.items)):B.False}function Xre(e,t){return Wd(t)&&t.const===e.const?B.True:Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):rf(t)?bm(e,t):Zd(t)?nm(e,t):Id(t)?Qp(e,t):jd(t)?Zp(e,t):B.False}function em(e,t){return B.False}function Zre(e,t){return B.True}function tm(e){let[t,n]=[e,0];for(;Yd(t);)t=t.not,n+=1;return n%2==0?t:Up()}function Qre(e,t){return Yd(e)?Fm(tm(e),t):Yd(t)?Fm(e,tm(t)):qp(`Invalid fallthrough for Not`)}function $re(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):Xd(t)?B.True:B.False}function nm(e,t){return Hd(e)||Zd(e)||Id(e)?B.True:B.False}function eie(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):Id(t)||Zd(t)?B.True:B.False}function rm(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function im(e){return dm(e)}function am(e){return rm(e,0)||rm(e,1)&&`description`in e.properties&&df(e.properties.description)&&e.properties.description.anyOf.length===2&&(rf(e.properties.description.anyOf[0])&&uf(e.properties.description.anyOf[1])||rf(e.properties.description.anyOf[1])&&uf(e.properties.description.anyOf[0]))}function om(e){return rm(e,0)}function sm(e){return rm(e,0)}function cm(e){return rm(e,0)}function tie(e){return rm(e,0)}function nie(e){return dm(e)}function lm(e){let t=ip();return rm(e,0)||rm(e,1)&&`length`in e.properties&&Kp(Fm(e.properties.length,t))===B.True}function um(e){return rm(e,0)}function dm(e){let t=ip();return rm(e,0)||rm(e,1)&&`length`in e.properties&&Kp(Fm(e.properties.length,t))===B.True}function fm(e){let t=Rf([Af()],Af());return rm(e,0)||rm(e,1)&&`then`in e.properties&&Kp(Fm(e.properties.then,t))===B.True}function pm(e,t){return Fm(e,t)===B.False||Td(e)&&!Td(t)?B.False:B.True}function mm(e,t){return pf(e)?B.False:Ed(e)?B.Union:Jd(e)||Vd(e)&&im(t)||Hd(e)&&om(t)||Ud(e)&&sm(t)||af(e)&&am(t)||Ad(e)&&cm(t)||rf(e)&&im(t)||af(e)&&am(t)||Zd(e)&&om(t)||Id(e)&&om(t)||jd(e)&&sm(t)||ff(e)&&nie(t)||Pd(e)&&tie(t)||Nd(e)&&um(t)||Fd(e)&&lm(t)?B.True:ef(e)&&rf(hm(e))?t[Cu]===`Record`?B.True:B.False:ef(e)&&Zd(hm(e))&&rm(t,0)?B.True:B.False}function rie(e,t){return Jp(t)?Yp(e,t):ef(t)?_m(e,t):Qd(t)?(()=>{for(let n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!Td(t.properties[n]))return B.False;if(Td(t.properties[n]))return B.True;if(pm(e.properties[n],t.properties[n])===B.False)return B.False}return B.True})():B.False}function iie(e,t){return Jp(t)?Yp(e,t):Qd(t)&&fm(t)?B.True:$d(t)?Kp(Fm(e.item,t.item)):B.False}function hm(e){return Sf in e.patternProperties?ip():Cf in e.patternProperties?ap():qp(`Unknown record key pattern`)}function gm(e){return Sf in e.patternProperties?e.patternProperties[Sf]:Cf in e.patternProperties?e.patternProperties[Cf]:qp(`Unable to get record value schema`)}function _m(e,t){let[n,r]=[hm(t),gm(t)];return Vd(e)&&Zd(n)&&Kp(Fm(e,r))===B.True?B.True:ff(e)&&Zd(n)||rf(e)&&Zd(n)||Od(e)&&Zd(n)?Fm(e,r):Qd(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(pm(r,e.properties[t])===B.False)return B.False;return B.True})():B.False}function vm(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?Fm(gm(e),gm(t)):B.False}function ym(e,t){return Fm(nf(e)?ap():e,nf(t)?ap():t)}function bm(e,t){return Wd(e)&&Nl(e.const)||rf(e)?B.True:B.False}function xm(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):rf(t)?B.True:B.False}function Sm(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):af(t)?B.True:B.False}function Cm(e,t){return of(e)?Fm(lp(e),t):of(t)?Fm(e,lp(t)):qp(`Invalid fallthrough for TemplateLiteral`)}function wm(e,t){return Od(t)&&e.items!==void 0&&e.items.every(e=>Fm(e,t.items)===B.True)}function Tm(e,t){return Jd(e)?B.True:pf(e)?B.False:Ed(e)?B.Union:B.False}function Em(e,t){return Jp(t)?Yp(e,t):Qd(t)&&dm(t)||Od(t)&&wm(e,t)?B.True:lf(t)?Il(e.items)&&!Il(t.items)||!Il(e.items)&&Il(t.items)?B.False:Il(e.items)&&!Il(t.items)||e.items.every((e,n)=>Fm(e,t.items[n])===B.True)?B.True:B.False:B.False}function Dm(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):ff(t)?B.True:B.False}function Om(e,t){return Jp(t)?Yp(e,t):Qd(t)?mm(e,t):ef(t)?_m(e,t):hf(t)?Nm(e,t):uf(t)?B.True:B.False}function km(e,t){return t.anyOf.some(t=>Fm(e,t)===B.True)?B.True:B.False}function Am(e,t){return e.anyOf.every(e=>Fm(e,t)===B.True)?B.True:B.False}function jm(e,t){return B.True}function Mm(e,t){return Jd(t)?em(e,t):Rd(t)?$p(e,t):df(t)?km(e,t):Ed(t)?Xp(e,t):rf(t)?bm(e,t):Zd(t)?nm(e,t):Id(t)?Qp(e,t):jd(t)?Zp(e,t):Od(t)?zre(e,t):lf(t)?Tm(e,t):Qd(t)?mm(e,t):pf(t)?B.True:B.False}function Nm(e,t){return uf(e)||uf(e)?B.True:B.False}function Pm(e,t){return Rd(t)?$p(e,t):df(t)?km(e,t):pf(t)?jm(e,t):Ed(t)?Xp(e,t):Qd(t)?mm(e,t):hf(t)?B.True:B.False}function Fm(e,t){return of(e)||of(t)?Cm(e,t):nf(e)||nf(t)?ym(e,t):Yd(e)||Yd(t)?Qre(e,t):Ed(e)?Rre(e,t):Od(e)?Bre(e,t):Ad(e)?Hre(e,t):jd(e)?Ure(e,t):kd(e)?Vre(e,t):Nd(e)?Wre(e,t):Pd(e)?Gre(e,t):Fd(e)?Kre(e,t):Id(e)?qre(e,t):Rd(e)?Jre(e,t):zd(e)?Yre(e,t):Wd(e)?Xre(e,t):Jd(e)?Zre(e,t):Xd(e)?$re(e,t):Zd(e)?eie(e,t):Qd(e)?rie(e,t):ef(e)?vm(e,t):rf(e)?xm(e,t):af(e)?Sm(e,t):lf(e)?Em(e,t):$d(e)?iie(e,t):ff(e)?Dm(e,t):uf(e)?Om(e,t):df(e)?Am(e,t):pf(e)?Mm(e,t):hf(e)?Pm(e,t):qp(`Unknown left type operand '${e[wu]}'`)}function Im(e,t){return Fm(e,t)}function Lm(e,t,n,r,i){let a={};for(let o of globalThis.Object.getOwnPropertyNames(e))a[o]=Vm(e[o],t,n,r,Ul(i));return a}function Rm(e,t,n,r,i){return Lm(e.properties,t,n,r,i)}function zm(e,t,n,r,i){return If(Rm(e,t,n,r,i))}function Bm(e,t,n,r){let i=Im(e,t);return i===B.Union?Hf([n,r]):i===B.True?n:r}function Vm(e,t,n,r,i){return Wu(e)?zm(e,t,n,r,i):Uu(e)?z(Gm(e,t,n,r,i)):z(Bm(e,t,n,r),i)}function Hm(e,t,n,r,i){return{[e]:Vm(tp(e),t,n,r,Ul(i))}}function Um(e,t,n,r,i){return e.reduce((e,a)=>({...e,...Hm(a,t,n,r,i)}),{})}function Wm(e,t,n,r,i){return Um(e.keys,t,n,r,i)}function Gm(e,t,n,r,i){return If(Wm(e,t,n,r,i))}function Km(e){return e.allOf.every(e=>Ym(e))}function qm(e){return e.anyOf.some(e=>Ym(e))}function Jm(e){return!Ym(e.not)}function Ym(e){return e[wu]===`Intersect`?Km(e):e[wu]===`Union`?qm(e):e[wu]===`Not`?Jm(e):e[wu]===`Undefined`}function Xm(e,t){return Qm(lp(e),t)}function Zm(e,t){let n=e.filter(e=>Im(e,t)===B.False);return n.length===1?n[0]:Hf(n)}function Qm(e,t,n={}){return nd(e)?z(Xm(e,t),n):Wu(e)?z(th(e,t),n):z(sd(e)?Zm(e.anyOf,t):Im(e,t)===B.False?e:Ff(),n)}function $m(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Qm(e[r],t);return n}function eh(e,t){return $m(e.properties,t)}function th(e,t){return If(eh(e,t))}function nh(e,t){return ih(lp(e),t)}function rh(e,t){let n=e.filter(e=>Im(e,t)!==B.False);return n.length===1?n[0]:Hf(n)}function ih(e,t,n){return nd(e)?z(nh(e,t),n):Wu(e)?z(sh(e,t),n):z(sd(e)?rh(e.anyOf,t):Im(e,t)===B.False?Ff():e,n)}function ah(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=ih(e[r],t);return n}function oh(e,t){return ah(e.properties,t)}function sh(e,t){return If(oh(e,t))}function ch(e,t){return Pu(e)?z(e.returns,t):Ff(t)}function lh(e){return bp(Tp(e))}function uh(e,t,n){return z({[wu]:`Record`,type:`object`,patternProperties:{[e]:t}},n)}function dh(e,t,n){let r={};for(let n of e)r[n]=t;return vp(r,{...n,[Cu]:`Record`})}function fh(e,t,n){return Zf(e)?dh(dp(e),t,n):uh(e.pattern,t,n)}function ph(e,t,n){return dh(dp(Hf(e)),t,n)}function mh(e,t,n){return dh([e.toString()],t,n)}function hh(e,t,n){return uh(e.source,t,n)}function gh(e,t,n){return uh(Il(e.pattern)?Cf:e.pattern,t,n)}function _h(e,t,n){return uh(Cf,t,n)}function vh(e,t,n){return uh(Wte,t,n)}function yh(e,t,n){return vp({true:t,false:t},n)}function bh(e,t,n){return uh(Sf,t,n)}function xh(e,t,n){return uh(Sf,t,n)}function Sh(e,t,n={}){return sd(e)?ph(e.anyOf,t,n):nd(e)?fh(e,t,n):Hu(e)?mh(e.const,t,n):Mu(e)?yh(e,t,n):Lu(e)?bh(e,t,n):Ju(e)?xh(e,t,n):$u(e)?hh(e,t,n):ed(e)?gh(e,t,n):Du(e)?_h(e,t,n):Gu(e)?vh(e,t,n):Ff(n)}function Ch(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function aie(e){let t=Ch(e);return t===Cf?ap():t===Sf?ip():ap({pattern:t})}function wh(e){return e.patternProperties[Ch(e)]}function oie(e,t){return t.parameters=Th(e,t.parameters),t.returns=Eh(e,t.returns),t}function sie(e,t){return t.parameters=Th(e,t.parameters),t.returns=Eh(e,t.returns),t}function cie(e,t){return t.allOf=Th(e,t.allOf),t}function lie(e,t){return t.anyOf=Th(e,t.anyOf),t}function uie(e,t){return Il(t.items)||(t.items=Th(e,t.items)),t}function die(e,t){return t.items=Eh(e,t.items),t}function fie(e,t){return t.items=Eh(e,t.items),t}function pie(e,t){return t.items=Eh(e,t.items),t}function mie(e,t){return t.item=Eh(e,t.item),t}function hie(e,t){let n=yie(e,t.properties);return{...t,...vp(n)}}function gie(e,t){let n=Sh(Eh(e,aie(t)),Eh(e,wh(t)));return{...t,...n}}function _ie(e,t){return t.index in e?e[t.index]:Up()}function vie(e,t){let n=Tu(t),r=Eu(t),i=Eh(e,t);return n&&r?lh(i):n&&!r?bp(i):!n&&r?Tp(i):i}function yie(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:vie(e,t[r])}),{})}function Th(e,t){return t.map(t=>Eh(e,t))}function Eh(e,t){return Pu(t)?oie(e,t):Iu(t)?sie(e,t):Ru(t)?cie(e,t):sd(t)?lie(e,t):ad(t)?uie(e,t):ku(t)?die(e,t):Au(t)?fie(e,t):zu(t)?pie(e,t):Xu(t)?mie(e,t):Yu(t)?hie(e,t):Zu(t)?gie(e,t):Ou(t)?_ie(e,t):t}function bie(e,t){return Eh(t,Wl(e))}function xie(e){return z({[wu]:`Integer`,type:`integer`},e)}function Sie(e,t,n){return{[e]:kh(tp(e),t,Ul(n))}}function Cie(e,t,n){return e.reduce((e,r)=>({...e,...Sie(r,t,n)}),{})}function wie(e,t,n){return Cie(e.keys,t,n)}function Tie(e,t,n){return If(wie(e,t,n))}function Eie(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join(``)}function Die(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join(``)}function Oie(e){return e.toUpperCase()}function kie(e){return e.toLowerCase()}function Aie(e,t,n){let r=Yf(e.pattern);return Xf(r)?up([Hf(Oh([...$f(r)].map(e=>tp(e)),t))],n):{...e,pattern:Dh(e.pattern,t)}}function Dh(e,t){return typeof e==`string`?t===`Uncapitalize`?Eie(e):t===`Capitalize`?Die(e):t===`Uppercase`?Oie(e):t===`Lowercase`?kie(e):e:e.toString()}function Oh(e,t){return e.map(e=>kh(e,t))}function kh(e,t,n={}){return Uu(e)?Tie(e,t,n):nd(e)?Aie(e,t,n):sd(e)?Hf(Oh(e.anyOf,t),n):Hu(e)?tp(Dh(e.const,t),n):z(e,n)}function jie(e,t={}){return kh(e,`Capitalize`,t)}function Mie(e,t={}){return kh(e,`Lowercase`,t)}function Nie(e,t={}){return kh(e,`Uncapitalize`,t)}function Pie(e,t={}){return kh(e,`Uppercase`,t)}function Fie(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=jh(e[i],t,Ul(n));return r}function Iie(e,t,n){return Fie(e.properties,t,n)}function Lie(e,t,n){return If(Iie(e,t,n))}function Rie(e,t){return e.map(e=>Ah(e,t))}function zie(e,t){return e.map(e=>Ah(e,t))}function Bie(e,t){let{[t]:n,...r}=e;return r}function Vie(e,t){return t.reduce((e,t)=>Bie(e,t),e)}function Hie(e,t){let n=Pf(e,[bu,`$id`,`required`,`properties`]);return vp(Vie(e.properties,t),n)}function Uie(e){return Hf(e.reduce((e,t)=>Vu(t)?[...e,tp(t)]:e,[]))}function Ah(e,t){return Ru(e)?kp(Rie(e.allOf,t)):sd(e)?Hf(zie(e.anyOf,t)):Yu(e)?Hie(e,t):vp({})}function jh(e,t,n){let r=Cl(t)?Uie(t):t,i=pd(t)?dp(t):t,a=Qu(e),o=Qu(t);return Wu(e)?Lie(e,i,n):Uu(t)?qie(e,t,n):a&&o||!a&&o||a&&!o?Nf(`Omit`,[e,r],n):z({...Ah(e,i),...n})}function Wie(e,t,n){return{[t]:jh(e,[t],Ul(n))}}function Gie(e,t,n){return t.reduce((t,r)=>({...t,...Wie(e,r,n)}),{})}function Kie(e,t,n){return Gie(e,t.keys,n)}function qie(e,t,n){return If(Kie(e,t,n))}function Jie(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=Nh(e[i],t,Ul(n));return r}function Yie(e,t,n){return Jie(e.properties,t,n)}function Xie(e,t,n){return If(Yie(e,t,n))}function Zie(e,t){return e.map(e=>Mh(e,t))}function Qie(e,t){return e.map(e=>Mh(e,t))}function $ie(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function eae(e,t){let n=Pf(e,[bu,`$id`,`required`,`properties`]);return vp($ie(e.properties,t),n)}function tae(e){return Hf(e.reduce((e,t)=>Vu(t)?[...e,tp(t)]:e,[]))}function Mh(e,t){return Ru(e)?kp(Zie(e.allOf,t)):sd(e)?Hf(Qie(e.anyOf,t)):Yu(e)?eae(e,t):vp({})}function Nh(e,t,n){let r=Cl(t)?tae(t):t,i=pd(t)?dp(t):t,a=Qu(e),o=Qu(t);return Wu(e)?Xie(e,i,n):Uu(t)?aae(e,t,n):a&&o||!a&&o||a&&!o?Nf(`Pick`,[e,r],n):z({...Mh(e,i),...n})}function nae(e,t,n){return{[t]:Nh(e,[t],Ul(n))}}function rae(e,t,n){return t.reduce((t,r)=>({...t,...nae(e,r,n)}),{})}function iae(e,t,n){return rae(e,t.keys,n)}function aae(e,t,n){return If(iae(e,t,n))}function oae(e,t){return Nf(`Partial`,[Nf(e,t)])}function sae(e){return Nf(`Partial`,[Ap(e)])}function cae(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Tp(e[n]);return t}function lae(e){let t=Pf(e,[bu,`$id`,`required`,`properties`]);return vp(cae(e.properties),t)}function Ph(e){return e.map(e=>Fh(e))}function Fh(e){return Nu(e)?oae(e.target,e.parameters):Qu(e)?sae(e.$ref):Ru(e)?kp(Ph(e.allOf)):sd(e)?Hf(Ph(e.anyOf)):Yu(e)?lae(e):ju(e)||Mu(e)||Lu(e)||Hu(e)||qu(e)||Ju(e)||ed(e)||td(e)||od(e)?e:vp({})}function Ih(e,t){return Wu(e)?zh(e,t):z({...Fh(e),...t})}function Lh(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Ih(e[r],Ul(t));return n}function Rh(e,t){return Lh(e.properties,t)}function zh(e,t){return If(Rh(e,t))}function Bh(e,t){return Nf(`Required`,[Nf(e,t)])}function Vh(e){return Nf(`Required`,[Ap(e)])}function Hh(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Pf(e[n],[Su]);return t}function Uh(e){let t=Pf(e,[bu,`$id`,`required`,`properties`]);return vp(Hh(e.properties),t)}function Wh(e){return e.map(e=>Gh(e))}function Gh(e){return Nu(e)?Bh(e.target,e.parameters):Qu(e)?Vh(e.$ref):Ru(e)?kp(Wh(e.allOf)):sd(e)?Hf(Wh(e.anyOf)):Yu(e)?Uh(e):ju(e)||Mu(e)||Lu(e)||Hu(e)||qu(e)||Ju(e)||ed(e)||td(e)||od(e)?e:vp({})}function Kh(e,t){return Wu(e)?Yh(e,t):z({...Gh(e),...t})}function qh(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Kh(e[r],t);return n}function Jh(e,t){return qh(e.properties,t)}function Yh(e,t){return If(Jh(e,t))}function Xh(e,t){return t.map(t=>Qu(t)?Zh(e,t.$ref):vg(e,t))}function Zh(e,t){return t in e?Qu(e[t])?Zh(e,e[t].$ref):vg(e,e[t]):Ff()}function Qh(e){return Mp(e[0])}function $h(e){return gp(e[0],e[1])}function eg(e){return Lp(e[0])}function tg(e){return Ih(e[0])}function ng(e){return jh(e[0],e[1])}function rg(e){return Nh(e[0],e[1])}function ig(e){return Kh(e[0])}function ag(e,t,n){let r=Xh(e,n);return t===`Awaited`?Qh(r):t===`Index`?$h(r):t===`KeyOf`?eg(r):t===`Partial`?tg(r):t===`Omit`?ng(r):t===`Pick`?rg(r):t===`Required`?ig(r):Ff()}function og(e,t){return jf(vg(e,t))}function sg(e,t){return Mf(vg(e,t))}function cg(e,t,n){return Lf(_g(e,t),vg(e,n))}function lg(e,t,n){return Rf(_g(e,t),vg(e,n))}function ug(e,t){return kp(_g(e,t))}function dg(e,t){return _p(vg(e,t))}function fg(e,t){return vp(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:vg(e,t[r])}),{}))}function pg(e,t){let[n,r]=[vg(e,wh(t)),Ch(t)],i=Wl(t);return i.patternProperties[r]=n,i}function mg(e,t){return Qu(t)?{...Zh(e,t.$ref),[bu]:t[bu]}:t}function hg(e,t){return xp(_g(e,t))}function gg(e,t){return Hf(_g(e,t))}function _g(e,t){return t.map(t=>vg(e,t))}function vg(e,t){return Eu(t)?z(vg(e,Pf(t,[Su])),t):Tu(t)?z(vg(e,Pf(t,[xu])),t):id(t)?z(mg(e,t),t):ku(t)?z(og(e,t.items),t):Au(t)?z(sg(e,t.items),t):Nu(t)?z(ag(e,t.target,t.parameters)):Pu(t)?z(cg(e,t.parameters,t.returns),t):Iu(t)?z(lg(e,t.parameters,t.returns),t):Ru(t)?z(ug(e,t.allOf),t):zu(t)?z(dg(e,t.items),t):Yu(t)?z(fg(e,t.properties),t):Zu(t)?z(pg(e,t)):ad(t)?z(hg(e,t.items||[]),t):sd(t)?z(gg(e,t.anyOf),t):t}function yg(e,t){return t in e?vg(e,e[t]):Ff()}function bg(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:yg(e,n)}),{})}var xg=class{constructor(e){let t=bg(e);this.$defs=this.WithIdentifiers(t)}Import(e,t){let n={...this.$defs,[e]:z(this.$defs[e],t)};return z({[wu]:`Import`,$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}};function Sg(e){return new xg(e)}function Cg(e,t){return z({[wu]:`Not`,not:e},t)}function wg(e,t){return Iu(e)?xp(e.parameters,t):Ff()}var Tg=0;function Eg(e,t={}){Il(t.$id)&&(t.$id=`T${Tg++}`);let n=Wl(e({[wu]:`This`,$ref:`${t.$id}`}));return n.$id=t.$id,z({[Cu]:`Recursive`,...n},t)}function Dg(e,t){let n=Nl(e)?new globalThis.RegExp(e):e;return z({[wu]:`RegExp`,type:`RegExp`,source:n.source,flags:n.flags},t)}function Og(e){return Ru(e)?e.allOf:sd(e)?e.anyOf:ad(e)?e.items??[]:[]}function kg(e){return Og(e)}function Ag(e,t){return Iu(e)?z(e.returns,t):Ff(t)}var jg=class{constructor(e){this.schema=e}Decode(e){return new Mg(this.schema,e)}},Mg=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let n={Encode:n=>t[bu].Encode(e(n)),Decode:e=>this.decode(t[bu].Decode(e))};return{...t,[bu]:n}}EncodeSchema(e,t){let n={Decode:this.decode,Encode:e};return{...t,[bu]:n}}Encode(e){return id(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}};function Ng(e){return new jg(e)}function Pg(e={}){return z({[wu]:e[wu]??`Unsafe`},e)}function Fg(e){return z({[wu]:`Void`,type:`void`},e)}var V=n({Any:()=>Af,Argument:()=>Zte,Array:()=>jf,AsyncIterator:()=>Mf,Awaited:()=>Mp,BigInt:()=>rp,Boolean:()=>np,Capitalize:()=>jie,Composite:()=>jre,Const:()=>Pre,Constructor:()=>Lf,ConstructorParameters:()=>Fre,Date:()=>Rp,Enum:()=>Ire,Exclude:()=>Qm,Extends:()=>Vm,Extract:()=>ih,Function:()=>Rf,Index:()=>gp,InstanceType:()=>ch,Instantiate:()=>bie,Integer:()=>xie,Intersect:()=>kp,Iterator:()=>_p,KeyOf:()=>Lp,Literal:()=>tp,Lowercase:()=>Mie,Mapped:()=>$ne,Module:()=>Sg,Never:()=>Ff,Not:()=>Cg,Null:()=>zp,Number:()=>ip,Object:()=>vp,Omit:()=>jh,Optional:()=>Tp,Parameters:()=>wg,Partial:()=>Ih,Pick:()=>Nh,Promise:()=>yp,Readonly:()=>bp,ReadonlyOptional:()=>lh,Record:()=>Sh,Recursive:()=>Eg,Ref:()=>Ap,RegExp:()=>Dg,Required:()=>Kh,Rest:()=>kg,ReturnType:()=>Ag,String:()=>ap,Symbol:()=>Bp,TemplateLiteral:()=>up,Transform:()=>Ng,Tuple:()=>xp,Uint8Array:()=>Hp,Uncapitalize:()=>Nie,Undefined:()=>Vp,Union:()=>Hf,Unknown:()=>Up,Unsafe:()=>Pg,Uppercase:()=>Pie,Void:()=>Fg}),Ig=(...e)=>V.Composite(e),Lg=class extends yu{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}};function Rg(e,t){let n=t.find(t=>t.$id===e.$ref);if(n===void 0)throw new Lg(e);return Bg(n,t)}function zg(e,t){return!cu(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function Bg(e,t){return e[wu]===`This`||e[wu]===`Ref`?Rg(e,t):e}var Vg=class extends yu{constructor(e){super(`Unable to hash value`),this.value=e}},Hg;(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`})(Hg||={});var Ug=BigInt(`14695981039346656037`),[Wg,Gg]=[BigInt(`1099511628211`),BigInt(`18446744073709551616`)],Kg=Array.from({length:256}).map((e,t)=>BigInt(t)),qg=new Float64Array(1),Jg=new DataView(qg.buffer),Yg=new Uint8Array(qg.buffer);function*Xg(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 Zg(e){l_(Hg.Array);for(let t of e)c_(t)}function Qg(e){l_(Hg.Boolean),l_(e?1:0)}function $g(e){l_(Hg.BigInt),Jg.setBigInt64(0,e);for(let e of Yg)l_(e)}function e_(e){l_(Hg.Date),c_(e.getTime())}function t_(e){l_(Hg.Null)}function n_(e){l_(Hg.Number),Jg.setFloat64(0,e);for(let e of Yg)l_(e)}function r_(e){l_(Hg.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())c_(t),c_(e[t])}function i_(e){l_(Hg.String);for(let t=0;t<e.length;t++)for(let n of Xg(e.charCodeAt(t)))l_(n)}function a_(e){l_(Hg.Symbol),c_(e.description)}function o_(e){l_(Hg.Uint8Array);for(let t=0;t<e.length;t++)l_(e[t])}function s_(e){return l_(Hg.Undefined)}function c_(e){if(tu(e))return Zg(e);if(iu(e))return Qg(e);if(su(e))return $g(e);if(Jl(e))return e_(e);if(ru(e))return t_(e);if(au(e))return n_(e);if(eu(e))return r_(e);if(cu(e))return i_(e);if(uu(e))return a_(e);if(Ql(e))return o_(e);if(nu(e))return s_(e);throw new Vg(e)}function l_(e){Ug^=Kg[e],Ug=Ug*Wg%Gg}function u_(e){return Ug=BigInt(`14695981039346656037`),c_(e),Ug}var d_=class extends yu{constructor(e){super(`Unknown type`),this.schema=e}};function f_(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 p_(e){return e[wu]===`Any`||e[wu]===`Unknown`}function m_(e){return e!==void 0}function h_(e,t,n){return!0}function g_(e,t,n){return!0}function __(e,t,n,r){if(!tu(n)||m_(e.minItems)&&!(n.length>=e.minItems)||m_(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(f_(r,n,e)===!1)return!0;if(!n.every(n=>Y_(e.items,t,n,r))||e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of n){let n=u_(t);if(e.has(n))return!1;e.add(n)}return!0})())return!1;if(!(m_(e.contains)||au(e.minContains)||au(e.maxContains)))return!0;let i=m_(e.contains)?e.contains:Ff(),a=n.reduce((e,n)=>Y_(i,t,n,r)?e+1:e,0);return!(a===0||au(e.minContains)&&a<e.minContains||au(e.maxContains)&&a>e.maxContains)}function v_(e,t,n){return Gl(n)}function y_(e,t,n){return!(!su(n)||m_(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m_(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m_(e.maximum)&&!(n<=e.maximum)||m_(e.minimum)&&!(n>=e.minimum)||m_(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function b_(e,t,n){return iu(n)}function x_(e,t,n,r){return Y_(e.returns,t,n.prototype,r)}function S_(e,t,n){return!(!Jl(n)||m_(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||m_(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||m_(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||m_(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||m_(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function C_(e,t,n){return lu(n)}function w_(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return Y_(a,[...t,...i],n,r)}function T_(e,t,n){return!(!ou(n)||m_(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m_(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m_(e.maximum)&&!(n<=e.maximum)||m_(e.minimum)&&!(n>=e.minimum)||m_(e.multipleOf)&&n%e.multipleOf!==0)}function E_(e,t,n,r){let i=e.allOf.every(e=>Y_(e,t,n,r));if(e.unevaluatedProperties===!1){let t=new RegExp(Ip(e)),r=Object.getOwnPropertyNames(n).every(e=>t.test(e));return i&&r}else if(pd(e.unevaluatedProperties)){let a=new RegExp(Ip(e)),o=Object.getOwnPropertyNames(n).every(i=>a.test(i)||Y_(e.unevaluatedProperties,t,n[i],r));return i&&o}else return i}function D_(e,t,n){return Kl(n)}function O_(e,t,n){return n===e.const}function k_(e,t,n){return!1}function A_(e,t,n,r){return!Y_(e.not,t,n,r)}function j_(e,t,n){return ru(n)}function M_(e,t,n){return!(!fu.IsNumberLike(n)||m_(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m_(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m_(e.minimum)&&!(n>=e.minimum)||m_(e.maximum)&&!(n<=e.maximum)||m_(e.multipleOf)&&n%e.multipleOf!==0)}function N_(e,t,n,r){if(!fu.IsObjectLike(n)||m_(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||m_(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(f_(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(!Y_(i,t,n[a],r)||(Ym(i)||p_(i))&&!(a in n))return!1}else if(fu.IsExactOptionalProperty(n,a)&&!Y_(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)||Y_(e.additionalProperties,t,n[a],r));else return!0}function P_(e,t,n){return ql(n)}function F_(e,t,n,r){if(!fu.IsRecordLike(n)||m_(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||m_(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)?Y_(a,t,n,r):!0),c=typeof e.additionalProperties==`object`?Object.entries(n).every(([n,i])=>o.test(n)?!0:Y_(e.additionalProperties,t,i,r)):!0,l=e.additionalProperties===!1?Object.getOwnPropertyNames(n).every(e=>o.test(e)):!0;return s&&c&&l}function I_(e,t,n,r){return Y_(Bg(e,t),t,n,r)}function L_(e,t,n){let r=new RegExp(e.source,e.flags);return m_(e.minLength)&&!(n.length>=e.minLength)||m_(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function R_(e,t,n){return!cu(n)||m_(e.minLength)&&!(n.length>=e.minLength)||m_(e.maxLength)&&!(n.length<=e.maxLength)||m_(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:m_(e.format)?Tf(e.format)?Ef(e.format)(n):!1:!0}function z_(e,t,n){return uu(n)}function B_(e,t,n){return cu(n)&&new RegExp(e.pattern).test(n)}function V_(e,t,n,r){return Y_(Bg(e,t),t,n,r)}function H_(e,t,n,r){if(!tu(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(!Y_(e.items[i],t,n[i],r))return!1;return!0}function U_(e,t,n){return nu(n)}function W_(e,t,n,r){return e.anyOf.some(e=>Y_(e,t,n,r))}function G_(e,t,n){return!(!Ql(n)||m_(e.maxByteLength)&&!(n.length<=e.maxByteLength)||m_(e.minByteLength)&&!(n.length>=e.minByteLength))}function K_(e,t,n){return!0}function q_(e,t,n){return fu.IsVoidLike(n)}function J_(e,t,n){return Of(e[wu])?kf(e[wu])(e,n):!1}function Y_(e,t,n,r){let i=m_(e.$id)?zg(e,t):t,a=e;switch(a[wu]){case`Any`:return h_(a,i,n);case`Argument`:return g_(a,i,n);case`Array`:return __(a,i,n,r);case`AsyncIterator`:return v_(a,i,n);case`BigInt`:return y_(a,i,n);case`Boolean`:return b_(a,i,n);case`Constructor`:return x_(a,i,n,r);case`Date`:return S_(a,i,n);case`Function`:return C_(a,i,n);case`Import`:return w_(a,i,n,r);case`Integer`:return T_(a,i,n);case`Intersect`:return E_(a,i,n,r);case`Iterator`:return D_(a,i,n);case`Literal`:return O_(a,i,n);case`Never`:return k_(a,i,n);case`Not`:return A_(a,i,n,r);case`Null`:return j_(a,i,n);case`Number`:return M_(a,i,n);case`Object`:return N_(a,i,n,r);case`Promise`:return P_(a,i,n);case`Record`:return F_(a,i,n,r);case`Ref`:return I_(a,i,n,r);case`RegExp`:return L_(a,i,n);case`String`:return R_(a,i,n);case`Symbol`:return z_(a,i,n);case`TemplateLiteral`:return B_(a,i,n);case`This`:return V_(a,i,n,r);case`Tuple`:return H_(a,i,n,r);case`Undefined`:return U_(a,i,n);case`Union`:return W_(a,i,n,r);case`Uint8Array`:return G_(a,i,n);case`Unknown`:return K_(a,i,n);case`Void`:return q_(a,i,n);default:if(!Of(a[wu]))throw new d_(a);return J_(a,i,n)}}function X_(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Y_(e[0],[],e[1],e[2]??new WeakMap):Y_(e[0],e[1],e[2],e[3]??new WeakMap)}function Z_(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]=iv(e[r],t);for(let r of Object.getOwnPropertySymbols(e))n[r]=iv(e[r],t);return n}function Q_(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(iv(e[r],t));return n}function $_(e){return e.slice()}function ev(e){return new Map(iv([...e.entries()]))}function tv(e){return new Set(iv([...e.entries()]))}function nv(e){return new Date(e.toISOString())}function rv(e){return e}function iv(e,t=new WeakMap){if(tu(e))return Q_(e,t);if(Jl(e))return nv(e);if(Zl(e))return $_(e);if(Yl(e))return ev(e);if(Xl(e))return tv(e);if(eu(e))return Z_(e,t);if(du(e))return rv(e);throw Error(`ValueClone: Unable to clone value`)}var av=class extends yu{constructor(e,t){super(t),this.schema=e}};function ov(e){return lu(e)?e():iv(e)}function sv(e,t){return $l(e,`default`)?ov(e.default):{}}function cv(e,t){return{}}function lv(e,t){if(e.uniqueItems===!0&&!$l(e,`default`))throw new av(e,`Array with the uniqueItems constraint requires a default value`);if(`contains`in e&&!$l(e,`default`))throw new av(e,`Array with the contains constraint requires a default value`);return`default`in e?ov(e.default):e.minItems===void 0?[]:Array.from({length:e.minItems}).map(n=>Vv(e.items,t))}function uv(e,t){return $l(e,`default`)?ov(e.default):(async function*(){})()}function dv(e,t){return $l(e,`default`)?ov(e.default):BigInt(0)}function fv(e,t){return $l(e,`default`)?ov(e.default):!1}function pv(e,t){if($l(e,`default`))return ov(e.default);{let n=Vv(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 mv(e,t){return $l(e,`default`)?ov(e.default):e.minimumTimestamp===void 0?new Date:new Date(e.minimumTimestamp)}function hv(e,t){return $l(e,`default`)?ov(e.default):()=>Vv(e.returns,t)}function gv(e,t){let n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return Vv(r,[...t,...n])}function _v(e,t){return $l(e,`default`)?ov(e.default):e.minimum===void 0?0:e.minimum}function vv(e,t){if($l(e,`default`))return ov(e.default);{let n=e.allOf.reduce((e,n)=>{let r=Vv(n,t);return typeof r==`object`?{...e,...r}:r},{});if(!X_(e,t,n))throw new av(e,`Intersect produced invalid value. Consider using a default value.`);return n}}function yv(e,t){return $l(e,`default`)?ov(e.default):(function*(){})()}function bv(e,t){return $l(e,`default`)?ov(e.default):e.const}function xv(e,t){if($l(e,`default`))return ov(e.default);throw new av(e,`Never types cannot be created. Consider using a default value.`)}function Sv(e,t){if($l(e,`default`))return ov(e.default);throw new av(e,`Not types must have a default value`)}function Cv(e,t){return $l(e,`default`)?ov(e.default):null}function wv(e,t){return $l(e,`default`)?ov(e.default):e.minimum===void 0?0:e.minimum}function Tv(e,t){if($l(e,`default`))return ov(e.default);{let n=new Set(e.required),r={};for(let[i,a]of Object.entries(e.properties))n.has(i)&&(r[i]=Vv(a,t));return r}}function Ev(e,t){return $l(e,`default`)?ov(e.default):Promise.resolve(Vv(e.item,t))}function Dv(e,t){return $l(e,`default`)?ov(e.default):{}}function Ov(e,t){return $l(e,`default`)?ov(e.default):Vv(Bg(e,t),t)}function kv(e,t){if($l(e,`default`))return ov(e.default);throw new av(e,`RegExp types cannot be created. Consider using a default value.`)}function Av(e,t){if(e.pattern!==void 0){if($l(e,`default`))return ov(e.default);throw new av(e,`String types with patterns must specify a default value`)}else if(e.format!==void 0){if($l(e,`default`))return ov(e.default);throw new av(e,`String types with formats must specify a default value`)}else if($l(e,`default`))return ov(e.default);else if(e.minLength!==void 0)return Array.from({length:e.minLength}).map(()=>` `).join(``);else return``}function jv(e,t){return $l(e,`default`)?ov(e.default):`value`in e?Symbol.for(e.value):Symbol()}function Mv(e,t){if($l(e,`default`))return ov(e.default);if(!Zf(e))throw new av(e,`Can only create template literals that produce a finite variants. Consider using a default value.`);return ep(e)[0]}function Nv(e,t){if(Uv++>Hv)throw new av(e,`Cannot create recursive type as it appears possibly infinite. Consider using a default.`);return $l(e,`default`)?ov(e.default):Vv(Bg(e,t),t)}function Pv(e,t){return $l(e,`default`)?ov(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>Vv(e.items[r],t))}function Fv(e,t){if($l(e,`default`))return ov(e.default)}function Iv(e,t){if($l(e,`default`))return ov(e.default);if(e.anyOf.length===0)throw Error(`ValueCreate.Union: Cannot create Union with zero variants`);return Vv(e.anyOf[0],t)}function Lv(e,t){return $l(e,`default`)?ov(e.default):e.minByteLength===void 0?new Uint8Array:new Uint8Array(e.minByteLength)}function Rv(e,t){return $l(e,`default`)?ov(e.default):{}}function zv(e,t){if($l(e,`default`))return ov(e.default)}function Bv(e,t){if($l(e,`default`))return ov(e.default);throw Error(`User defined types must specify a default value`)}function Vv(e,t){let n=zg(e,t),r=e;switch(r[wu]){case`Any`:return sv(r,n);case`Argument`:return cv(r,n);case`Array`:return lv(r,n);case`AsyncIterator`:return uv(r,n);case`BigInt`:return dv(r,n);case`Boolean`:return fv(r,n);case`Constructor`:return pv(r,n);case`Date`:return mv(r,n);case`Function`:return hv(r,n);case`Import`:return gv(r,n);case`Integer`:return _v(r,n);case`Intersect`:return vv(r,n);case`Iterator`:return yv(r,n);case`Literal`:return bv(r,n);case`Never`:return xv(r,n);case`Not`:return Sv(r,n);case`Null`:return Cv(r,n);case`Number`:return wv(r,n);case`Object`:return Tv(r,n);case`Promise`:return Ev(r,n);case`Record`:return Dv(r,n);case`Ref`:return Ov(r,n);case`RegExp`:return kv(r,n);case`String`:return Av(r,n);case`Symbol`:return jv(r,n);case`TemplateLiteral`:return Mv(r,n);case`This`:return Nv(r,n);case`Tuple`:return Pv(r,n);case`Undefined`:return Fv(r,n);case`Union`:return Iv(r,n);case`Uint8Array`:return Lv(r,n);case`Unknown`:return Rv(r,n);case`Void`:return zv(r,n);default:if(!Of(r[wu]))throw new av(r,`Unknown type`);return Bv(r,n)}}var Hv=512,Uv=0;function Wv(...e){return Uv=0,e.length===2?Vv(e[0],e[1]):Vv(e[0],[])}var Gv=class extends yu{constructor(e,t){super(t),this.schema=e}};function Kv(e,t,n){if(e[wu]===`Object`&&typeof n==`object`&&!ru(n)){let r=e,i=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((e,[r,a])=>{let o=a[wu]===`Literal`&&a.const===n[r]?100:0,s=X_(a,t,n[r])?10:0,c=i.includes(r)?1:0;return e+(o+s+c)},0)}else if(e[wu]===`Union`){let r=e.anyOf.map(e=>Bg(e,t)).map(e=>Kv(e,t,n));return Math.max(...r)}else return X_(e,t,n)?1:0}function qv(e,t,n){let r=e.anyOf.map(e=>Bg(e,t)),[i,a]=[r[0],0];for(let e of r){let r=Kv(e,t,n);r>a&&(i=e,a=r)}return i}function Jv(e,t,n,r){return`default`in e?typeof n==`function`?e.default:iv(e.default):uy(qv(e,t,n),t,n,r)}function Yv(e,t,n){return X_(e,t,n)?iv(n):Wv(e,t)}function Xv(e,t,n){return X_(e,t,n)?n:Wv(e,t)}function Zv(e,t,n,r){if(X_(e,t,n))return iv(n);let i=tu(n)?n:Wv(e,t),a=au(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},()=>null)]:i,o=(au(e.maxItems)&&a.length>e.maxItems?a.slice(0,e.maxItems):a).map(n=>ly(e.items,t,n,r));if(e.uniqueItems!==!0)return o;let s=[...new Set(o)];if(!X_(e,t,s))throw new Gv(e,`Array cast produced invalid data due to uniqueItems constraint`);return s}function Qv(e,t,n,r){if(X_(e,t,n))return Wv(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]=ly(s,t,n.prototype[o],r));return a}function $v(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return ly(a,[...t,...i],n,r)}function ey(e,t){return eu(e)&&!eu(t)||!eu(e)&&eu(t)?e:!eu(e)||!eu(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{let i=r in t?ey(e[r],t[r]):e[r];return{...n,[r]:i}},{})}function ty(e,t,n){if(X_(e,t,n))return n;let r=Wv(e,t),i=ey(r,n);return X_(e,t,i)?i:r}function ny(e,t,n){throw new Gv(e,`Never types cannot be cast`)}function ry(e,t,n,r){if(r.has(n))return r.get(n);if(X_(e,t,n))return n;if(typeof n!=`object`||!n)return Wv(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]=ly(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]=ly(e.additionalProperties,t,n[o],r))}return a}function iy(e,t,n,r){if(X_(e,t,n))return iv(n);if(typeof n!=`object`||!n||Array.isArray(n)||n instanceof Date)return Wv(e,t);let i=Object.getOwnPropertyNames(e.patternProperties)[0],a=e.patternProperties[i],o={};for(let[e,i]of Object.entries(n))o[e]=ly(a,t,i,r);return o}function ay(e,t,n,r){return ly(Bg(e,t),t,n,r)}function oy(e,t,n,r){return ly(Bg(e,t),t,n,r)}function sy(e,t,n,r){return X_(e,t,n)?iv(n):tu(n)?e.items===void 0?[]:e.items.map((e,i)=>ly(e,t,n[i],r)):Wv(e,t)}function cy(e,t,n,r){return X_(e,t,n)?iv(n):Jv(e,t,n,r)}function ly(e,t,n,r){let i=cu(e.$id)?zg(e,t):t,a=e;switch(e[wu]){case`Array`:return Zv(a,i,n,r);case`Constructor`:return Qv(a,i,n,r);case`Import`:return $v(a,i,n,r);case`Intersect`:return ty(a,i,n);case`Never`:return ny(a,i,n);case`Object`:return ry(a,i,n,r);case`Record`:return iy(a,i,n,r);case`Ref`:return ay(a,i,n,r);case`This`:return oy(a,i,n,r);case`Tuple`:return sy(a,i,n,r);case`Union`:return cy(a,i,n,r);case`Date`:case`Symbol`:case`Uint8Array`:return Yv(e,t,n);default:return Xv(a,i,n)}}function uy(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?ly(e[0],[],e[1],e[2]??new WeakMap):ly(e[0],e[1],e[2],e[3]??new WeakMap)}var dy=(e,t)=>uy(e,t),fy={document:{navigation:`x-scalar-navigation`},workspace:{colorMode:`x-scalar-color-mode`,sidebarWidth:`x-scalar-sidebar-width`,defaultClient:`x-scalar-default-client`,defaultExample:`x-scalar-default-example`,activeDocument:`x-scalar-active-document`,theme:`x-scalar-theme`}},py=V.Object({name:V.String(),value:V.Union([V.Object({description:V.Optional(V.String()),default:V.String({default:``})}),V.String()])}),my=mt({name:F(),value:ht([mt({description:I(F()),default:F()}),F()])},{typeName:`XScalarEnvVar`}),hy=V.Object({description:V.Optional(V.String()),color:V.String({default:`#FFFFFF`}),variables:V.Array(py)}),gy=mt({description:I(F()),color:F({typeComment:`Color for the environment`}),variables:ft(my,{typeComment:`An array of variables`})},{typeName:`XScalarEnvironment`,typeComment:`A map of environments by name`}),_y=V.Object({"x-scalar-environments":V.Optional(V.Record(V.String(),hy))}),vy=mt({"x-scalar-environments":I(pt(F(),gy))},{typeName:`XScalarEnvironments`,typeComment:`A record of environments by name`}),yy=V.Object({"x-scalar-icon":V.Optional(V.String())}),by=mt({"x-scalar-icon":I(F())},{typeName:`XScalarIcon`,typeComment:`A custom icon representing the collection`}),xy=V.Object({"x-scalar-is-dirty":V.Optional(V.Boolean())}),Sy=mt({"x-scalar-is-dirty":I(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`}),Cy=V.Object({"x-scalar-original-document-hash":V.String()}),wy=mt({"x-scalar-original-document-hash":F({typeComment:`Original input document hash`})},{typeName:`XScalarOriginalDocumentHash`,typeComment:`Original input document hash`}),Ty=V.Partial(V.Object({"x-scalar-original-source-url":V.String()})),Ey=mt({"x-scalar-original-source-url":I(F({typeComment:`Original document source URL when loaded from an external source`}))},{typeName:`XScalarOriginalSourceUrl`,typeComment:`Original document source URL when loaded from an external source.`}),Dy=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())}),Oy=V.Object({"x-scalar-registry-meta":V.Optional(Dy)}),ky=mt({namespace:F({typeComment:`The namespace under which this registry meta is scoped.`}),slug:F({typeComment:`A unique slug identifier for this registry meta within the namespace.`}),version:F({typeComment:`The version of the registry meta.`}),commitHash:I(F({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:I(F({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:I(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`}),Ay=mt({"x-scalar-registry-meta":I(ky)},{typeName:`XScalarRegistryMeta`,typeComment:`The registry meta for the document`}),jy=V.Object({"x-scalar-watch-mode":V.Optional(V.Boolean())}),My=mt({"x-scalar-watch-mode":I(st({typeComment:`Whether the document is in watch mode`}))},{typeName:`XScalarWatchMode`,typeComment:`Whether the document is in watch mode`}),Ny=V.Object({"x-post-response":V.Optional(V.String())}),Py=mt({"x-post-response":I(F({typeComment:`Script to run after a response is received`}))},{typeName:`XPostResponse`,typeComment:`Post-response script for an operation`}),Fy=V.Object({"x-pre-request":V.Optional(V.String())}),Iy=mt({"x-pre-request":I(F())},{typeName:`XPreRequest`,typeComment:`Pre-request script to run before the request is sent.`}),Ly=V.Object({"x-scalar-active-environment":V.Optional(V.String())}),Ry=mt({"x-scalar-active-environment":I(F({typeComment:`The currently selected environment`}))},{typeName:`XScalarActiveEnvironment`,typeComment:`The currently selected environment`}),zy=V.Object({name:V.String(),value:V.String(),domain:V.Optional(V.String()),path:V.Optional(V.String()),isDisabled:V.Optional(V.Boolean())}),By=mt({name:F({typeComment:`Defines the cookie name and its value.`}),value:F({typeComment:`Defines the cookie value.`}),domain:I(F({typeComment:`Allows this domain and all subdomains.`})),path:I(F({typeComment:`Restricts this cookie to requests that contain this path.`})),isDisabled:I(st({typeComment:`Indicates if the cookie is disabled.`}))},{typeName:`XScalarCookie`,typeComment:`A persisted cookie definition for the workspace`}),Vy=V.Object({"x-scalar-cookies":V.Optional(V.Array(zy))}),Hy=mt({"x-scalar-cookies":I(ft(By,{typeComment:`Cookies persisted for the workspace`}))},{typeName:`XScalarCookies`,typeComment:`Persisted workspace cookies`}),Uy=V.Object({"x-scalar-order":V.Optional(V.Array(V.String()))}),Wy=mt({"x-scalar-order":I(ft(F()))},{typeName:`XScalarOrder`,typeComment:`Custom order for elements in the Scalar UI`}),Gy=V.Object({"x-scalar-selected-server":V.Optional(V.String())}),Ky=mt({"x-scalar-selected-server":I(F({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`)."}),qy=Ig(V.Object({name:V.String(),tags:V.Array(V.String())}),Uy),Jy=gt([mt({name:F({typeComment:`The group name.`}),tags:ft(F(),{typeComment:`List of tags to include in this group.`})},{typeName:`XTagGroupBase`}),Wy],{typeName:`XTagGroup`,typeComment:`A tag group with optional custom ordering`}),Yy=V.Object({"x-tagGroups":V.Optional(V.Array(qy))}),Xy=mt({"x-tagGroups":I(ft(Jy,{typeComment:`Tag groups for organizing tags in the UI`}))},{typeName:`XTagGroups`,typeComment:`Groups of tags for the OpenAPI document`}),Zy=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`trace`],Qy=Object.freeze(new Set(Zy)),$y={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`},eb=V.Ref($y.ComponentsObject),tb=V.Ref($y.SecurityRequirementObject),nb=V.Ref($y.TagObject),rb=V.Ref($y.CallbackObject),ib=V.Ref($y.PathItemObject),ab=V.Ref($y.PathsObject),ob=V.Ref($y.OperationObject),sb=V.Ref($y.SchemaObject),cb=V.Ref($y.EncodingObject),lb=V.Ref($y.HeaderObject),ub=V.Ref($y.MediaTypeObject),db=V.Ref($y.ServerObject),fb=V.Ref($y.ExternalDocumentationObject),pb=V.Ref($y.InfoObject),mb=V.Ref($y.ContactObject),hb=V.Ref($y.LicenseObject),gb=V.Ref($y.ResponseObject),_b=V.Ref($y.ResponsesObject),vb=V.Ref($y.ParameterObject),yb=V.Ref($y.ExampleObject),bb=V.Ref($y.RequestBodyObject),xb=V.Ref($y.SecuritySchemeObject),Sb=V.Ref($y.LinkObject),Cb=V.Ref($y.XMLObject),wb=V.Ref($y.DiscriminatorObject),Tb=V.Ref($y.OAuthFlowsObject),Eb=V.Ref($y.ServerVariableObject),Db=V.Ref($y.TraversedEntryObject),Ob=V.Ref($y.TraversedDocumentObject),kb=V.Object({id:V.String(),title:V.String()}),Ab=Ig(kb,V.Object({type:V.Literal(`document`),name:V.String(),children:V.Optional(V.Array(Db)),icon:V.Optional(V.String())})),jb=Ig(kb,V.Object({type:V.Literal(`text`),children:V.Optional(V.Array(Db))})),Mb=Ig(kb,V.Object({type:V.Literal(`example`),name:V.String()})),Nb=Ig(kb,V.Object({type:V.Literal(`operation`),ref:V.String(),method:V.Union(Zy.map(e=>V.Literal(e))),path:V.String(),isDeprecated:V.Optional(V.Boolean()),children:V.Optional(V.Array(Db))})),Pb=Ig(kb,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(Db))})),Fb=Ig(kb,V.Object({type:V.Literal(`asyncapi-channel`),channelName:V.String(),channelAddress:V.String(),children:V.Optional(V.Array(Db))})),Ib=Ig(kb,V.Object({type:V.Literal(`asyncapi-message`),messageName:V.String(),channelName:V.String()})),Lb=Ig(kb,V.Object({type:V.Literal(`model`),ref:V.String(),name:V.String()})),Rb=Ig(kb,V.Object({type:V.Literal(`webhook`),ref:V.String(),method:V.Union(Zy.map(e=>V.Literal(e))),name:V.String(),isDeprecated:V.Optional(V.Boolean())})),zb=Ig(kb,V.Object({type:V.Literal(`tag`),name:V.String(),description:V.Optional(V.String()),children:V.Optional(V.Array(Db)),isGroup:V.Boolean(),isWebhooks:V.Optional(V.Boolean()),xKeys:V.Optional(V.Record(V.String(),V.Unknown()))})),Bb=Ig(kb,V.Object({type:V.Literal(`models`),name:V.String(),children:V.Optional(V.Array(Db))})),Vb=V.Union([jb,Nb,Pb,Fb,Ib,Lb,zb,Rb,Mb,Ab,Bb]),Hb=V.Object({$status:V.Optional(V.Union([V.Literal(`loading`),V.Literal(`error`)])),$global:V.Optional(V.Boolean())}),Ub=Ig(V.Object({$ref:V.String(),summary:V.Optional(V.String()),description:V.Optional(V.String())}),Hb),Wb=e=>Ig(Ub,V.Object({"$ref-value":e})),Gb=V.Record(V.String(),V.Union([ib,Wb(ib)])),Kb=V.Record(V.String(),V.Union([xb,Wb(xb)])),qb=V.Object({schemas:V.Optional(V.Record(V.String(),V.Union([sb,Wb(sb)]))),responses:V.Optional(V.Record(V.String(),V.Union([gb,Wb(gb)]))),parameters:V.Optional(V.Record(V.String(),V.Union([vb,Wb(vb)]))),examples:V.Optional(V.Record(V.String(),V.Union([yb,Wb(yb)]))),requestBodies:V.Optional(V.Record(V.String(),V.Union([bb,Wb(bb)]))),headers:V.Optional(V.Record(V.String(),V.Union([lb,Wb(lb)]))),securitySchemes:V.Optional(Kb),links:V.Optional(V.Record(V.String(),V.Union([Sb,Wb(Sb)]))),callbacks:V.Optional(V.Record(V.String(),V.Union([rb,Wb(rb)]))),pathItems:V.Optional(V.Record(V.String(),V.Union([ib,Wb(ib)])))}),Jb=V.Object({name:V.Optional(V.String()),url:V.Optional(V.String()),email:V.Optional(V.String())}),Yb=V.Object({propertyName:V.String(),mapping:V.Optional(V.Record(V.String(),V.String()))}),Xb=V.Object({contentType:V.Optional(V.String()),headers:V.Optional(V.Record(V.String(),V.Union([lb,Wb(lb)]))),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())}),Zb=V.Object({"x-disabled":V.Optional(V.Boolean())}),Qb=mt({"x-disabled":I(st())},{typeName:`XDisabled`,typeComment:`Whether a parameter example is disabled in the API client`}),$b=Ig(V.Object({summary:V.Optional(V.String()),description:V.Optional(V.String()),value:V.Optional(V.Any()),externalValue:V.Optional(V.String())}),Zb),ex=V.Object({url:V.String(),description:V.Optional(V.String())}),tx=V.Object({description:V.Optional(V.String()),required:V.Optional(V.Boolean()),deprecated:V.Optional(V.Boolean())}),nx=Ig(tx,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([sb,Wb(sb)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([yb,Wb(yb)])))})),rx=V.Union([nx,Ig(tx,V.Object({content:V.Optional(V.Record(V.String(),ub))}))]),ix=V.Object({name:V.String(),url:V.String()}),ax=V.Object({"x-scalar-links":V.Optional(V.Array(ix))}),ox=mt({name:F(),url:F()},{typeName:`XScalarLinkItem`,typeComment:`A named link to display alongside the API info`}),sx=mt({"x-scalar-links":I(ft(ox,{typeComment:`Additional named links to display alongside the API info (e.g. privacy policy, imprint)`}))},{typeName:`XScalarLinks`,typeComment:`Additional named links to display alongside the API info`}),cx=V.Object({lang:V.String(),description:V.Optional(V.String()),source:V.Optional(V.String())}),lx=V.Object({"x-scalar-sdk-installation":V.Optional(V.Array(cx))}),ux=mt({lang:F(),description:I(F()),source:I(F())},{typeName:`XScalarSdkInstallationItem`,typeComment:`Scalar SDK installation entry`}),dx=mt({"x-scalar-sdk-installation":I(ft(ux,{typeComment:`Scalar SDK installation information`}))},{typeName:`XScalarSdkInstallation`,typeComment:`Scalar SDK installation information`}),fx=Ig(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(mb),license:V.Optional(hb)}),lx,ax),px=V.Object({name:V.Optional(V.String()),identifier:V.Optional(V.String()),url:V.Optional(V.String())}),mx=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(db)}),hx=V.Object({schema:V.Optional(V.Union([sb,Wb(sb)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([yb,Wb(yb)]))),encoding:V.Optional(V.Record(V.String(),cb))}),gx=V.Object({"x-scalar-credentials-location":V.Optional(V.Union([V.Literal(`header`),V.Literal(`body`)]))}),_x=mt({"x-scalar-credentials-location":I(ht([_t(`header`),_t(`body`)]))},{typeName:`XScalarCredentialsLocation`,typeComment:`Where OAuth2 credentials are sent`}),vx=V.Object({"x-scalar-security-body":V.Optional(V.Record(V.String(),V.String()))}),yx=mt({"x-scalar-security-body":I(pt(F(),F()))},{typeName:`XScalarSecurityBody`,typeComment:`Additional OAuth token request body parameters`}),bx=V.Object({"x-scalar-security-query":V.Optional(V.Record(V.String(),V.String()))}),xx=mt({"x-scalar-security-query":I(pt(F(),F()))},{typeName:`XScalarSecurityQuery`,typeComment:`Additional OAuth authorize query parameters`}),Sx=V.Object({"x-scalar-secret-token":V.String()});mt({"x-scalar-secret-token":F()},{typeName:`XScalarSecretToken`,typeComment:`Persisted OAuth access token (sensitive)`});var Cx=V.Object({"x-scalar-secret-refresh-token":V.Optional(V.String())});mt({"x-scalar-secret-refresh-token":I(F())},{typeName:`XScalarSecretRefreshToken`,typeComment:`Persisted OAuth refresh token (sensitive)`});var wx=V.Object({"x-scalar-secret-auth-url":V.Optional(V.String())}),Tx=mt({"x-scalar-secret-auth-url":I(F())},{typeName:`XScalarAuthUrl`,typeComment:`Persisted OAuth authorization URL override`}),Ex=V.Object({"x-scalar-secret-token-url":V.Optional(V.String())}),Dx=mt({"x-scalar-secret-token-url":I(F())},{typeName:`XScalarTokenUrl`,typeComment:`Persisted OAuth token URL override`}),Ox=V.Object({"x-scalar-secret-username":V.String(),"x-scalar-secret-password":V.String()});mt({"x-scalar-secret-username":F(),"x-scalar-secret-password":F()},{typeName:`XScalarSecretHTTP`,typeComment:`Persisted HTTP basic credentials (sensitive)`});var kx=V.Object({"x-scalar-secret-client-secret":V.String()});mt({"x-scalar-secret-client-secret":F()},{typeName:`XScalarSecretClientSecret`,typeComment:`Persisted OAuth client secret (sensitive)`});var Ax=V.Object({"x-scalar-secret-client-id":V.String()});mt({"x-scalar-secret-client-id":F()},{typeName:`XScalarSecretClientId`,typeComment:`Persisted OAuth client ID`});var jx=V.Object({"x-scalar-secret-redirect-uri":V.String()});mt({"x-scalar-secret-redirect-uri":F()},{typeName:`XScalarSecretRedirectUri`,typeComment:`Persisted OAuth redirect URI`});var Mx=V.Object({"x-scalar-secret-client-certificate":V.String()}),Nx=V.Object({"x-scalar-secret-private-key":V.String()}),Px=V.Object({"x-scalar-secret-service-name":V.String()}),Fx=V.Object({"x-tokenName":V.Optional(V.String())}),Ix=mt({"x-tokenName":I(F())},{typeName:`XTokenName`,typeComment:`Custom OAuth2 access token field name`}),Lx=V.Object({"x-usePkce":V.Union([V.Literal(`SHA-256`),V.Literal(`plain`),V.Literal(`no`)],{default:`no`})}),Rx=mt({"x-usePkce":ht([_t(`SHA-256`),_t(`plain`),_t(`no`)],{typeComment:`PKCE mode for the OAuth2 authorization code flow`})},{typeName:`XusePkce`,typeComment:`PKCE setting for OAuth2`}),zx=Ig(V.Object({refreshUrl:V.String(),scopes:V.Record(V.String(),V.String())}),bx,vx,Fx,wx,Ex),Bx=Ig(zx,V.Object({authorizationUrl:V.String()})),Vx=Ig(zx,V.Object({tokenUrl:V.String()}),gx),Hx=Ig(zx,V.Object({tokenUrl:V.String()}),gx),Ux=Ig(zx,V.Object({authorizationUrl:V.String(),tokenUrl:V.String()}),Lx,gx),Wx=V.Object({implicit:V.Optional(Bx),password:V.Optional(Vx),clientCredentials:V.Optional(Hx),authorizationCode:V.Optional(Ux)}),Gx=V.Object({"x-internal":V.Optional(V.Boolean())}),Kx=mt({"x-internal":I(st({typeComment:`Extension to mark an entity as internal`}))},{typeName:`XInternal`,typeComment:`Extension to mark an entity as internal`}),qx=V.Object({"x-scalar-ignore":V.Optional(V.Boolean())}),Jx=mt({"x-scalar-ignore":I(st())},{typeName:`XScalarIgnore`,typeComment:`Internal extension to mark an entity as ignored`}),Yx=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`}),Xx=mt({name:F({typeComment:`The text that displays in the badge. This is required for all badges.`}),position:I(ht([_t(`before`),_t(`after`)],{typeComment:`The position of the badge in relation to the header`})),color:I(F({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`}),Zx=V.Object({"x-badges":V.Optional(V.Array(Yx))}),Qx=mt({"x-badges":I(ft(Xx,{typeComment:`Badges displayed for this operation in documentation`}))},{typeName:`XBadges`,typeComment:`Badges for an operation in the Scalar UI`}),$x=V.Object({lang:V.Optional(V.String()),label:V.Optional(V.String()),source:V.String()}),eS=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())}),tS=V.Object({"code-samples":V.Optional(V.Array(eS)),"samples-languages":V.Optional(V.Array(V.String()))}),nS=V.Object({title:V.Optional(V.String()),request:V.Optional(V.Record(V.String(),V.String())),response:V.Optional(V.Unknown())}),rS=V.Union([nS,V.Array(nS)]),iS=V.Object({"x-codeSamples":V.Optional(V.Array($x)),"x-code-samples":V.Optional(V.Array($x)),"x-custom-examples":V.Optional(V.Array($x)),"x-readme":V.Optional(tS),"x-stainless-snippets":V.Optional(V.Record(V.String(),V.String())),"x-stainless-examples":V.Optional(rS),"x-scalar-examples":V.Optional(V.Array($x))}),aS=mt({lang:I(F()),label:I(F()),source:F()}),oS=mt({language:I(F()),code:F(),name:I(F()),install:I(F()),correspondingExample:I(F())}),sS=mt({"code-samples":I(ft(oS)),"samples-languages":I(ft(F()))}),cS=mt({title:I(F()),request:I(pt(F(),F())),response:I(ut())}),lS=ht([cS,ft(cS)]),uS=mt({"x-codeSamples":I(ft(aS)),"x-code-samples":I(ft(aS)),"x-custom-examples":I(ft(aS)),"x-readme":I(sS),"x-stainless-snippets":I(pt(F(),F())),"x-stainless-examples":I(lS),"x-scalar-examples":I(ft(aS))}),dS=V.Object({"x-draft-examples":V.Optional(V.Array(V.String()))}),fS=mt({"x-draft-examples":I(ft(F()))},{typeName:`XDraftExamples`,typeComment:`Draft example identifiers for an operation`}),pS=V.Record(V.String(),V.Boolean()),mS=V.Record(V.String(),pS),hS=V.Object({"x-scalar-disable-parameters":V.Optional(V.Object({"global-cookies":V.Optional(mS),"global-headers":V.Optional(mS),"default-headers":V.Optional(mS)}))}),gS=pt(F(),st()),_S=pt(F(),gS),vS=mt({"global-cookies":I(_S),"global-headers":I(_S),"default-headers":I(_S)},{typeName:`DisableParametersConfig`,typeComment:`Disabled parameter state by category and example`}),yS=mt({"x-scalar-disable-parameters":I(vS)},{typeName:`XScalarDisableParameters`,typeComment:`Tracks which parameters are disabled across examples`}),bS={Deprecated:`deprecated`,Experimental:`experimental`,Stable:`stable`},xS=V.Object({"x-scalar-stability":V.Optional(V.Union([V.Literal(`deprecated`),V.Literal(`experimental`),V.Literal(`stable`)]))}),SS=mt({"x-scalar-stability":I(ht([_t(`deprecated`),_t(`experimental`),_t(`stable`)],{typeComment:`Stability level of the operation`}))},{typeName:`XScalarStability`,typeComment:`Stability of the operation in the Scalar UI`}),CS=Ig(V.Object({tags:V.Optional(V.Array(V.String())),summary:V.Optional(V.String()),description:V.Optional(V.String()),externalDocs:V.Optional(fb),operationId:V.Optional(V.String()),parameters:V.Optional(V.Array(V.Union([vb,Wb(vb)]))),requestBody:V.Optional(V.Union([bb,Wb(bb)])),responses:V.Optional(_b),deprecated:V.Optional(V.Boolean()),security:V.Optional(V.Array(tb)),servers:V.Optional(V.Array(db)),callbacks:V.Optional(V.Record(V.String(),V.Union([rb,Wb(rb)])))}),Zx,Gx,qx,iS,xS,hS,Ny,Fy,dS,Gy),wS=V.Object({"x-global":V.Optional(V.Boolean())}),TS=mt({"x-global":I(st())},{typeName:`XGlobal`,typeComment:`When true, the parameter is injected into every request for the workspace`}),ES=Ig(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())}),wS,Gx,qx),DS=Ig(ES,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([sb,Wb(sb)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([yb,Wb(yb)])))})),OS=Ig(ES,V.Object({content:V.Optional(V.Record(V.String(),ub))})),kS=V.Union([DS,OS]),AS=V.Object({$ref:V.Optional(V.String()),summary:V.Optional(V.String()),description:V.Optional(V.String()),get:V.Optional(V.Union([ob,Wb(ob)])),put:V.Optional(V.Union([ob,Wb(ob)])),post:V.Optional(V.Union([ob,Wb(ob)])),delete:V.Optional(V.Union([ob,Wb(ob)])),patch:V.Optional(V.Union([ob,Wb(ob)])),connect:V.Optional(V.Union([ob,Wb(ob)])),options:V.Optional(V.Union([ob,Wb(ob)])),head:V.Optional(V.Union([ob,Wb(ob)])),trace:V.Optional(V.Union([ob,Wb(ob)])),servers:V.Optional(V.Array(db)),parameters:V.Optional(V.Array(V.Union([vb,Wb(vb)])))}),jS=V.Record(V.String(),V.Union([ib,Wb(ib)])),MS=V.Object({"x-scalar-selected-content-type":V.Optional(V.Record(V.String(),V.String()))}),NS=mt({"x-scalar-selected-content-type":I(pt(F(),F(),{typeComment:`Selected content type per example name`}))},{typeName:`XScalarSelectedContentType`,typeComment:`Selected content type per example for request or response bodies`}),PS=Ig(V.Object({description:V.Optional(V.String()),content:V.Record(V.String(),ub),required:V.Optional(V.Boolean())}),MS),FS=V.Object({description:V.String(),headers:V.Optional(V.Record(V.String(),V.Union([lb,Wb(lb)]))),content:V.Optional(V.Record(V.String(),ub)),links:V.Optional(V.Record(V.String(),V.Union([Sb,Wb(Sb)])))}),IS=V.Record(V.String(),V.Union([gb,Wb(gb)])),LS=V.Object({"x-tags":V.Optional(V.Array(V.String()))}),RS=mt({"x-tags":I(ft(F()))},{typeName:`XTags`,typeComment:`Custom tag ordering or grouping hints for schema objects`}),zS=V.Object({"x-additionalPropertiesName":V.Optional(V.String())}),BS=mt({"x-additionalPropertiesName":I(F())},{typeName:`XAdditionalPropertiesName`,typeComment:`Display name for additional properties on a schema`}),VS=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())]))}),HS=ht([pt(F(),F()),ft(F())]),US=mt({"x-enumDescriptions":I(HS),"x-enum-descriptions":I(HS)},{typeName:`XEnumDescriptions`,typeComment:`Descriptions for enum values`}),WS=V.Object({"x-enum-varnames":V.Optional(V.Array(V.String())),"x-enumNames":V.Optional(V.Array(V.String()))}),GS=mt({"x-enum-varnames":I(ft(F())),"x-enumNames":I(ft(F()))},{typeName:`XEnumVarNames`,typeComment:`Display names for enum values`}),KS=V.Object({"x-examples":V.Optional(V.Record(V.String(),V.Unknown()))}),qS=mt({"x-examples":I(pt(F(),lt()))},{typeName:`XExamples`,typeComment:`Named examples attached to a schema`}),JS=V.Object({"x-order":V.Optional(V.Number())}),YS=mt({"x-order":I(ot())},{typeName:`XOrder`,typeComment:`Display order for a schema property`}),XS=V.Object({"x-variable":V.Optional(V.String())}),ZS=mt({"x-variable":I(F())},{typeName:`XVariable`,typeComment:`Variable reference for a schema property`}),QS=V.Union([sb,Ig(Ub,V.Object({"$ref-value":V.Optional(V.Unknown())}))]),$S=V.Union([V.Literal(`null`),V.Literal(`boolean`),V.Literal(`string`),V.Literal(`number`),V.Literal(`integer`),V.Literal(`object`),V.Literal(`array`)]),eC=V.Object({type:V.Union([V.Literal(`null`),V.Literal(`boolean`)])}),tC=Ig(qx,Gx,XS,KS,VS,WS,zS,JS,LS),nC=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(QS),deprecated:V.Optional(V.Boolean()),discriminator:V.Optional(wb),readOnly:V.Optional(V.Boolean()),writeOnly:V.Optional(V.Boolean()),xml:V.Optional(Cb),externalDocs:V.Optional(fb),example:V.Optional(V.Unknown()),examples:V.Optional(V.Array(V.Unknown())),allOf:V.Optional(V.Array(QS)),oneOf:V.Optional(V.Array(QS)),anyOf:V.Optional(V.Array(QS)),not:V.Optional(QS)}),rC=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}))}),iC=Ig(V.Object({type:V.Union([V.Literal(`number`),V.Literal(`integer`)]),format:V.Optional(V.String())}),rC),aC=V.Object({maxLength:V.Optional(V.Integer({minimum:0})),minLength:V.Optional(V.Integer({minimum:0})),pattern:V.Optional(V.String())}),oC=Ig(V.Object({type:V.Literal(`string`),format:V.Optional(V.String())}),aC),sC=V.Object({maxItems:V.Optional(V.Integer({minimum:0})),minItems:V.Optional(V.Integer({minimum:0})),uniqueItems:V.Optional(V.Boolean()),items:V.Optional(QS),prefixItems:V.Optional(V.Array(QS))}),cC=Ig(V.Object({type:V.Literal(`array`)}),sC),lC=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(),QS)),additionalProperties:V.Optional(V.Union([V.Boolean(),QS])),patternProperties:V.Optional(V.Record(V.String(),QS)),propertyNames:V.Optional(QS)}),uC=Ig(V.Object({type:V.Literal(`object`)}),lC),dC=Ig(V.Object({type:V.Array($S),format:V.Optional(V.String())}),rC,aC,sC,lC),fC=V.Union([Ig(V.Object({__scalar_:V.String()}),nC,tC),Ig(eC,nC,tC),Ig(iC,nC,tC),Ig(oC,nC,tC),Ig(uC,nC,tC),Ig(cC,nC,tC),Ig(dC,nC,tC)]),pC=V.Partial(V.Record(V.String(),V.Array(V.String()))),mC=V.Object({"x-default-scopes":V.Optional(V.Array(V.String()))}),hC=mt({"x-default-scopes":I(ft(F()))},{typeName:`XDefaultScopes`,typeComment:`Default selected OAuth scopes`}),gC=V.Object({description:V.Optional(V.String())}),_C=Ig(gC,V.Object({type:V.Literal(`apiKey`),name:V.String(),in:V.Union([V.Literal(`query`),V.Literal(`header`),V.Literal(`cookie`)])})),vC=Ig(gC,V.Object({type:V.Literal(`http`),scheme:V.Union([V.Literal(`basic`),V.Literal(`bearer`)]),bearerFormat:V.Optional(V.String())})),yC=Ig(gC,V.Object({type:V.Literal(`oauth2`),flows:Tb}),mC),bC=Ig(gC,V.Object({type:V.Literal(`openIdConnect`),openIdConnectUrl:V.String()})),xC=V.Union([_C,vC,yC,bC]),SC=V.Object({url:V.String(),description:V.Optional(V.String()),variables:V.Optional(V.Record(V.String(),Eb))}),CC=V.Object({enum:V.Optional(V.Array(V.String())),default:V.Optional(V.String()),description:V.Optional(V.String())}),wC=V.Object({"x-displayName":V.Optional(V.String())}),TC=mt({"x-displayName":I(F())},{typeName:`XDisplayName`,typeComment:`Display-friendly name for a tag`}),EC=Ig(V.Object({name:V.String(),description:V.Optional(V.String()),externalDocs:V.Optional(fb)}),wC,Gx,qx,Uy),DC=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())}),OC=Ig(V.Partial(V.Object({"x-original-oas-version":V.String(),[fy.document.navigation]:Ob})),Ty,Yy,_y,Gy,yy,Uy,Vy,Cy,xy,Ly,jy,Oy,Fy,Ny),kC=Ig(V.Object({openapi:V.String(),info:pb,jsonSchemaDialect:V.Optional(V.String()),servers:V.Optional(V.Array(db)),paths:V.Optional(ab),webhooks:V.Optional(ab),components:V.Optional(eb),security:V.Optional(V.Array(tb)),tags:V.Optional(V.Array(nb)),externalDocs:V.Optional(fb)}),OC),AC=V.Module({[$y.ComponentsObject]:qb,[$y.SecurityRequirementObject]:pC,[$y.TagObject]:EC,[$y.CallbackObject]:Gb,[$y.PathItemObject]:AS,[$y.PathsObject]:jS,[$y.OperationObject]:CS,[$y.SchemaObject]:fC,[$y.EncodingObject]:Xb,[$y.MediaTypeObject]:hx,[$y.HeaderObject]:rx,[$y.ServerObject]:SC,[$y.ExternalDocumentationObject]:ex,[$y.InfoObject]:fx,[$y.ContactObject]:Jb,[$y.LicenseObject]:px,[$y.ResponseObject]:FS,[$y.ResponsesObject]:IS,[$y.ParameterObject]:kS,[$y.ExampleObject]:$b,[$y.RequestBodyObject]:PS,[$y.SecuritySchemes]:Kb,[$y.SecuritySchemeObject]:xC,[$y.LinkObject]:mx,[$y.XMLObject]:DC,[$y.DiscriminatorObject]:Yb,[$y.OAuthFlowsObject]:Wx,[$y.ServerVariableObject]:CC,OpenApiDocument:kC,[$y.TraversedDescriptionObject]:jb,[$y.TraversedOperationObject]:Nb,[$y.TraversedAsyncApiOperationObject]:Pb,[$y.TraversedAsyncApiChannelObject]:Fb,[$y.TraversedAsyncApiMessageObject]:Ib,[$y.TraversedSchemaObject]:Lb,[$y.TraversedWebhookObject]:Rb,[$y.TraversedTagObject]:zb,[$y.TraversedEntryObject]:Vb,[$y.TraversedDocumentObject]:Ab}),jC=AC.Import(`OpenApiDocument`);AC.Import(`ComponentsObject`);var MC=AC.Import(`SecurityRequirementObject`);AC.Import(`TagObject`),AC.Import(`CallbackObject`),AC.Import(`PathItemObject`),AC.Import(`PathsObject`),AC.Import(`OperationObject`);var NC=AC.Import(`SchemaObject`);AC.Import(`EncodingObject`),AC.Import(`MediaTypeObject`),AC.Import(`HeaderObject`);var PC=AC.Import(`ServerObject`);AC.Import(`ExternalDocumentationObject`),AC.Import(`InfoObject`),AC.Import(`ContactObject`),AC.Import(`LicenseObject`),AC.Import(`ResponseObject`),AC.Import(`ResponsesObject`),AC.Import(`ParameterObject`),AC.Import(`ExampleObject`),AC.Import(`RequestBodyObject`),AC.Import(`SecuritySchemes`);var FC=AC.Import(`SecuritySchemeObject`);AC.Import(`LinkObject`),AC.Import(`XMLObject`),AC.Import(`DiscriminatorObject`),AC.Import(`OAuthFlowsObject`),AC.Import(`ServerVariableObject`),AC.Import(`TraversedDescriptionObject`),AC.Import(`TraversedEntryObject`),AC.Import(`TraversedTagObject`),AC.Import(`TraversedOperationObject`),AC.Import(`TraversedSchemaObject`),AC.Import(`TraversedWebhookObject`);var IC={schema:e=>{if(e===void 0)return;let t=R(e,Rc);return dy(Ig(NC,V.Object({$ref:V.Optional(V.String())})),t)}},LC=10,RC=`additionalProperty`,zC=new Date().toISOString(),BC=zC.split(`T`)[0],VC=zC.split(`T`)[1].split(`.`)[0],HC={"date-time":zC,date:BC,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:VC,"uri-reference":`../folder`,"uri-template":`https://example.com/{id}`,uri:`https://example.com`,uuid:`123e4567-e89b-12d3-a456-426614174000`,"object-id":`6592008029c8c3e4dc76256c`},UC=e=>{if(!(`propertyNames`in e)||!e.propertyNames)return;let t=IC.schema(e.propertyNames);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},WC=(e,t=!1,n=``)=>`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`?`@filename`:t&&`format`in e&&e.format?HC[e.format]??n:n,GC=new WeakMap,KC=new WeakMap,qC=e=>fl(e,{depth:1}),JC=e=>{if(!e)return;let t=KC.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 KC.set(e,n),n}}},YC=(e,t,n,r=!1)=>{if(r||typeof t!=`object`||!t)return t;let i=qC(e),a=GC.get(i)??new Map;return a&&a.set(n,t),GC.set(i,a),t},XC=e=>!!(e.allOf||e.oneOf||e.anyOf),ZC=(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`)||XC(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=JC(t);return!(a&&a.has(i))},QC=(e,t)=>t==null?e:e==null?t:Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e==`object`&&t&&typeof t==`object`?{...e,...t}:t,uae=LC*5,$C=new WeakMap,ew=(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}},tw=e=>{let t=qC(e);if($C.has(t))return $C.get(t);let n=`$ref`in e?IC.schema(e):e;return $C.set(t,n),n},nw=(e,t,n=new Set,r=0)=>{if(r>uae)return!0;let i=qC(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`&&ew(t,`integer`)?!0:ew(t,e)))return n.delete(i),!1;let a=e.anyOf;if(Array.isArray(a)&&a.length>0&&!a.some(e=>{let i=tw(e);return!!i&&nw(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=tw(e);return!!i&&nw(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=tw(e);return!i||nw(i,t,n,r+1)})?(n.delete(i),!1):(n.delete(i),!0)},rw=Symbol(`INVALID_DEFAULT`),dae=e=>{let t=e.default;return nw(e,t)?t:rw},fae=(e,t)=>[...e,t].join(`.`),iw=(e,t,n,r)=>{let i=n?.compositionSelection?.[fae(e,t)];if(!(typeof i!=`number`||Number.isNaN(i)))return Math.max(0,Math.min(i,r-1))},aw=e=>{if(e&&typeof e==`object`&&`x-order`in e){let t=Number(e[`x-order`]);return Number.isNaN(t)?void 0:t}},pae=e=>Object.keys(e).sort((t,n)=>{let r=aw(e[t]),i=aw(e[n]);return r!==void 0&&i!==void 0?r-i:r===void 0?i===void 0?0:1:-1}),mae=(e,t,n,r,i,a,o)=>{let s={},c=bl(o,e),l=o.length>0;if(`properties`in e&&e.properties){let i=e.properties,o=pae(i),l=o.length;for(let u=0;u<l;u++){let l=o[u],d=IC.schema(i[l]);if(!d)continue;let f=t?.xml&&`xml`in d?d.xml?.name:void 0,p=ow(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=IC.schema(e.patternProperties[i]);o&&(s[i]=ow(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:IC.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:UC(e),d=l?i[`x-additionalPropertiesName`].trim():RC,f=o?`anything`:typeof i==`object`?ow(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=iw(a,u,t,d.length)??0,i=IC.schema(d[e]);i&&Object.assign(s,ow(i,t,{level:n+1,schemaPath:a,seen:r,dynamicScope:c}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let i=s,o=0;for(let s of e.allOf){let l=IC.schema(s),u=l&&(Array.isArray(l.oneOf)||Array.isArray(l.anyOf))?[...a,String(o++)]:a,d=ow(l,t,{level:n+1,parentSchema:e,seen:r,dynamicScope:c,schemaPath:u});i=QC(i,d)}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,YC(e,t,i,l)}return YC(e,s,i,l)},hae=(e,t,n,r,i,a,o)=>{let s=bl(o,e),c=o.length>0,l=`items`in e?IC.schema(e.items):void 0,u=r;if(l&&gl(l)){let e=xl(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 YC(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(Ic),a=IC.schema(r[0]);if(a&&typeof a==`object`&&`type`in a&&a.type===`object`){let a=ow({type:`object`,allOf:r},t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return YC(e,p?[{[f]:a}]:[a],i,c)}let o=r.map(r=>ow(IC.schema(r),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(Ic);return YC(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[iw(d,r,t,a.length)??0],l=ow(IC.schema(o),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return YC(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=ow(l,t,{level:n+1,schemaPath:d,seen:u,dynamicScope:s});return YC(e,p?[{[f]:r}]:[r],i,c)}return YC(e,[],i,c)},gae=(e,t,n)=>{if(`type`in e&&e.type&&!Array.isArray(e.type))switch(e.type){case`string`:return WC(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}},_ae=(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 WC(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}}},vae=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}),ow=(e,t,{level:n=0,parentSchema:r,name:i,seen:a=new WeakSet,schemaPath:o=[],dynamicScope:s=[]}={})=>{let c=IC.schema(e);if(!Ic(c))return;if(gl(c)){let e=xl(c.$dynamicRef,s);if(e)return ow(e,t,{level:n+1,parentSchema:r,name:i,seen:new WeakSet,schemaPath:o,dynamicScope:s})}let l=bl(s,c),u=s.length>0,d=qC(c);if(a.has(d))return;a.add(d);let f=vae(t)+(o.length>0?`:path:${o.join(`.`)}`:``);if(!u){let e=GC.get(d)?.get(f);if(e!==void 0)return a.delete(d),e}if(n>LC)return a.delete(d),`[Max Depth Exceeded]`;let p=!!t?.emptyString;if(ZC(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),YC(c,Number(e),f,u)):(a.delete(d),YC(c,e,f,u))}if(Array.isArray(c.examples)&&c.examples.length>0)return a.delete(d),YC(c,c.examples[0],f,u);if(c.example!==void 0)return a.delete(d),YC(c,c.example,f,u);if(c.default!==void 0){let e=dae(c);if(e!==rw)return a.delete(d),YC(c,e,f,u)}if(c.const!==void 0)return a.delete(d),YC(c,c.const,f,u);if(Array.isArray(c.enum)&&c.enum.length>0)return a.delete(d),YC(c,c.enum[0],f,u);if(`properties`in c||`type`in c&&c.type===`object`){let e=mae(c,t,n,a,f,o,s);return a.delete(d),e}if(`type`in c&&c.type===`array`||`items`in c){let e=hae(c,t,n,a,f,o,s);return a.delete(d),e}let m=gae(c,p,t?.emptyString);if(m!==void 0)return a.delete(d),YC(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=iw(o,h,t,g.length),r=e===void 0?g.find(e=>{let t=IC.schema(e);return t&&(!(`type`in t)||t.type!==`null`)}):g[e];if(r){let e=IC.schema(r);if(e)return a.delete(d),YC(c,ow(e,t,{level:n+1,schemaPath:o,seen:a,dynamicScope:l}),f,u)}return a.delete(d),YC(c,null,f,u)}if(Array.isArray(c.allOf)&&c.allOf.length>0){let e,r=c.allOf,i=0;for(let s of r){let r=IC.schema(s),u=r&&(Array.isArray(r.oneOf)||Array.isArray(r.anyOf))?[...o,String(i++)]:o,d=ow(s,t,{level:n+1,parentSchema:c,schemaPath:u,seen:a,dynamicScope:l});e===void 0?e=d:e&&typeof e==`object`&&d&&typeof d==`object`?e=QC(e,d):d!=null&&(e=d)}return a.delete(d),YC(c,e??null,f,u)}let _=_ae(c,p,t?.emptyString);return _===void 0?(a.delete(d),YC(c,null,f,u)):(a.delete(d),YC(c,_,f,u))},yae=e=>`type`in e&&(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)),bae=e=>`type`in e&&(e.type===`array`||Array.isArray(e.type)&&e.type.includes(`array`)),xae=e=>`type`in e&&(e.type===`string`||Array.isArray(e.type)&&e.type.includes(`string`)),Sae=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`)),Cae=e=>e!==void 0&&`type`in e,sw=e=>`content`in e&&e.content!==void 0,cw=(e,t)=>typeof e==`string`?e:t.includes(`json`)||typeof e==`object`&&e&&!Array.isArray(e)?JSON.stringify(e):String(e),lw=(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},uw=(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,dw=(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},fw=e=>Array.isArray(e)?e.join(` `):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(` `):String(e),pw=e=>Array.isArray(e)?e.join(`|`):typeof e==`object`&&e?Object.entries(e).flat().join(`|`):String(e),mw=(e,t)=>{let n=[],r=(e,t)=>{if(Array.isArray(t))for(let n of t)r(`${e}[]`,n);else typeof t==`object`&&t?i(t,e):n.push({key:e,value:String(t)})},i=(e,t)=>{for(let[n,i]of Object.entries(e))r(`${t}[${n}]`,i)};return typeof t==`object`&&t&&!Array.isArray(t)&&i(t,e),n},hw=e=>typeof e==`object`&&e?JSON.stringify(e):String(e),gw=(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=fl(t),i=n?.style??`form`,a=n?.explode??i===`form`,o=[];if(i===`deepObject`)if(Array.isArray(r)){let t=uw(r,!0);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:hw(n.value)});else o.push({key:e,value:String(t)})}else for(let t of mw(e,r))o.push({key:t.key,value:String(t.value)});else if(i===`spaceDelimited`)o.push({key:e,value:String(fw(r))});else if(i===`pipeDelimited`)o.push({key:e,value:String(pw(r))});else{let t=uw(r,a);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:hw(n.value)});else o.push({key:e,value:String(t)})}return o};function _w(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 vw=(e,t={})=>e.replace(ns.PATH,(e,n)=>t[n]??e),yw=(e,t={})=>e.replace(ns.VARIABLES,(e,n)=>typeof t==`function`?t(n)??e:t[n]??e),bw=e=>({ok:!0,data:e}),xw=(e,t)=>({ok:!1,error:e,message:t}),Sw=e=>e instanceof Error?e.message:String(e);function Cw(e){try{let t=e();return t instanceof Promise?t.then(e=>bw(e),e=>(console.error(e),xw(Sw(e)))):bw(t)}catch(e){return console.error(e),xw(Sw(e))}}var wae=[`localhost`,`127.0.0.1`,`[::1]`,`0.0.0.0`],Tae=[`test`,`example`,`invalid`,`localhost`];function ww(e){try{let{hostname:t}=new URL(e);if(wae.includes(t))return!0;let n=t.split(`.`).pop();return!!(n&&Tae.includes(n))}catch{return!0}}var Tw=(e,t)=>{try{if(!Ew(e,t))return t??``;let n=new URL(t);return n.href=rs(e)?`http://localhost${e}`:e,n.searchParams.append(`scalar_url`,t),rs(e)?n.toString().replace(/^http:\/\/localhost/,``):n.toString()}catch{return t??``}},Ew=(e,t)=>{try{return!e||!t||rs(t)?!1:rs(e)||ww(e)?!0:!ww(t)}catch{return!1}},Dw=typeof Buffer==`function`;typeof TextDecoder==`function`&&new TextDecoder;var Ow=typeof TextEncoder==`function`?new TextEncoder:void 0,kw=Array.prototype.slice.call(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`);(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(kw);var Aw=String.fromCharCode.bind(String);typeof Uint8Array.from==`function`&&Uint8Array.from.bind(Uint8Array);var jw=e=>e.replace(/=/g,``).replace(/[+\/]/g,e=>e==`+`?`-`:`_`),Mw=typeof btoa==`function`?e=>btoa(e):Dw?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+=kw[t>>18&63]+kw[t>>12&63]+kw[t>>6&63]+kw[t&63]}return o?a.slice(0,o-3)+`===`.substring(o):a},Nw=Dw?e=>Buffer.from(e).toString(`base64`):e=>{let t=4096,n=[];for(let r=0,i=e.length;r<i;r+=t)n.push(Aw.apply(null,e.subarray(r,r+t)));return Mw(n.join(``))},Pw=(e,t=!1)=>t?jw(Nw(e)):Nw(e),Eae=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Aw(192|t>>>6)+Aw(128|t&63):Aw(224|t>>>12&15)+Aw(128|t>>>6&63)+Aw(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Aw(240|t>>>18&7)+Aw(128|t>>>12&63)+Aw(128|t>>>6&63)+Aw(128|t&63)}},Dae=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Oae=e=>e.replace(Dae,Eae),Fw=Dw?e=>Buffer.from(e,`utf8`).toString(`base64`):Ow?e=>Nw(Ow.encode(e)):e=>Mw(Oae(e)),Iw=(e,t=!1)=>t?jw(Fw(e)):Fw(e),kae=(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}},Lw=({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&&!kae(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))},Aae="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.",jae=`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
+ `,Mae=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join(`; `);return t&&n?`${t}; ${n}`:t||n||``},Nae=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{let i=Mae(e.filter(e=>Lw({url:n,cookie:e,disabledGlobalCookies:{}})),t??void 0);return i?r?(console.warn(Aae),{name:vte,value:i}):(console.warn(jae),{name:`Cookie`,value:i}):null},Pae={21:`!`,24:`$`,27:`'`,28:`(`,29:`)`,"2A":`*`,"2C":`,`,"2F":`/`,"3A":`:`,"3B":`;`,40:`@`},Fae=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>Pae[t.toUpperCase()]??e),Iae=e=>{try{return decodeURIComponent(e.replaceAll(`+`,`%20`))}catch{return e}},Rw=(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=Iae(r);return!t.has(i)||n===-1?e:`${r}=${Fae(e.slice(n+1))}`}).join(`&`)}${o}`:e},Lae=`MISSING_REQUEST_SERVER_BASE`,zw=`INVALID_REQUEST_FACTORY_URL`,Rae=`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.`,Bw=(e,t)=>{let n=t.envVariables,r=Cw(()=>Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent(yw(t,n))])));if(!r.ok)return xw(zw,`The request URL contains invalid characters in path parameters.`);let i=r.data,a=os(yw(e.baseUrl,n),vw(yw(e.path.raw,n),i));if(!t.allowMissingRequestServerBase&&rs(a))return xw(Lae,Rae);let o=globalThis.window?.location?.origin,s=o&&o!==`null`?o:`http://localhost:3000`,c=Cw(()=>new URL(a,s));if(!c.ok)return xw(zw,`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(yw(t,n),yw(r,n));let d=new URLSearchParams;for(let[e,n]of t.securityQueryParams.entries())d.append(e,n);return l.search=is(l.searchParams,u,d).toString(),bw(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`],Hw=`abcdefghijklmnopqrstuvwxyz0123456789`,Uw=[`#e34f26`,`#3498db`,`#2ecc71`,`#9b59b6`,`#f1c40f`,`#1abc9c`,`#e74c3c`,`#2c3e50`,`#d35400`,`#8e44ad`,`#27ae60`,`#c0392b`,`#16a085`,`#f39c12`,`#7f8c8d`],zae=[`HTTP`,`SQL`,`TCP`,`JSON`,`XML`,`API`,`SSL`,`CSS`,`HTML`,`RAM`,`FTP`,`SSH`,`DNS`,`URL`,`USB`],Bae=[`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`],Vae=[`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`],Hae=[`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`],Uae=[`en`,`es`,`fr`,`de`,`it`,`pt`,`ja`,`zh`,`ko`,`ar`,`ru`,`nl`,`sv`,`pl`,`da`,`fi`,`nb`,`tr`,`hi`,`th`],Wae=[`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`],Gae=[`http`,`https`],Kae=[`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`],Ww=[`Emma`,`Liam`,`Olivia`,`Noah`,`Ava`,`James`,`Sophia`,`Oliver`,`Isabella`,`Lucas`,`Mia`,`Ethan`,`Charlotte`,`Mason`,`Amelia`],Gw=[`Smith`,`Johnson`,`Williams`,`Brown`,`Jones`,`Garcia`,`Miller`,`Davis`,`Rodriguez`,`Martinez`,`Hernandez`,`Lopez`,`Gonzalez`,`Wilson`,`Anderson`],qae=[`Mr.`,`Mrs.`,`Ms.`,`Dr.`,`Prof.`,`Rev.`,`Sir`,`Mx.`],Jae=[`Jr.`,`Sr.`,`II`,`III`,`IV`,`PhD`,`MD`,`DDS`,`Esq.`],Yae=[`Marketing`,`Engineering`,`Finance`,`Operations`,`Human Resources`,`Sales`,`Research`,`Design`,`Legal`,`Product`,`Data`,`Support`,`Quality`,`Security`,`Communications`],Xae=[`Senior`,`Lead`,`Junior`,`Principal`,`Chief`,`Associate`,`Global`,`Regional`,`Internal`,`Dynamic`,`Staff`,`Executive`,`National`,`Strategic`,`Corporate`],Zae=[`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`],Qae=[`Full-time`,`Part-time`,`Contract`,`Freelance`,`Internship`,`Temporary`,`Remote`,`Hybrid`,`Consultant`,`Seasonal`],Kw=[`(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`],$ae=[`New York`,`London`,`Tokyo`,`Paris`,`Sydney`,`Toronto`,`Berlin`,`Singapore`,`Mumbai`,`São Paulo`,`Amsterdam`,`Seoul`,`Dublin`,`Barcelona`,`Melbourne`],eoe=[`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`],toe=[`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`],noe=[`United States`,`United Kingdom`,`Canada`,`Australia`,`Germany`,`France`,`Japan`,`Brazil`,`India`,`Netherlands`,`South Korea`,`Singapore`,`Ireland`,`Spain`,`Sweden`],roe=[`US`,`GB`,`CA`,`AU`,`DE`,`FR`,`JP`,`BR`,`IN`,`NL`,`KR`,`SG`,`IE`,`ES`,`SE`,`IT`,`NO`,`DK`,`FI`,`CH`],ioe=[`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`],aoe=[`-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`],ooe=[`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`],soe=[`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`],qw=`https://loremflickr.com/640/480`,coe=Array.from({length:10},(e,t)=>`${qw}/abstract?lock=${t+1}`),loe=Array.from({length:10},(e,t)=>`${qw}/animals?lock=${t+1}`),uoe=Array.from({length:10},(e,t)=>`${qw}/business?lock=${t+1}`),doe=Array.from({length:10},(e,t)=>`${qw}/cat?lock=${t+1}`),foe=Array.from({length:10},(e,t)=>`${qw}/city?lock=${t+1}`),poe=Array.from({length:10},(e,t)=>`${qw}/food?lock=${t+1}`),moe=Array.from({length:10},(e,t)=>`${qw}/nightlife?lock=${t+1}`),hoe=Array.from({length:10},(e,t)=>`${qw}/fashion?lock=${t+1}`),goe=Array.from({length:10},(e,t)=>`${qw}/people?lock=${t+1}`),_oe=Array.from({length:10},(e,t)=>`${qw}/nature?lock=${t+1}`),voe=Array.from({length:10},(e,t)=>`${qw}/sports?lock=${t+1}`),yoe=Array.from({length:10},(e,t)=>`${qw}/transport?lock=${t+1}`),boe=[`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`],xoe=[`34042448`,`34102758`,`02997566`,`52631809`,`75412296`,`37762776`,`44117882`,`13865687`,`44377086`,`74440091`],Soe=[`Personal Checking`,`Savings Account`,`Money Market`,`Home Loan`,`Auto Loan`,`Investment Account`,`Business Checking`,`Credit Card`,`Retirement Fund`,`College Savings`],Coe=[`DEUTDEFF`,`BNPAFRPP`,`CHASUS33`,`HSBCGB2L`,`COBADEFF`,`SCBLSGSG`,`ANZBAU3M`,`CITIUS33`,`BOFAUS3N`,`NWBKGB2L`],woe=[`GB29NWBK60161331926819`,`DE89370400440532013000`,`FR7630006000011234567890189`,`ES9121000418450200051332`,`IT60X0542811101000000123456`,`NL91ABNA0417164300`,`CH9300762011623852957`,`BE68539007547034`,`AT611904300234573201`,`FI2112345600000785`],Toe=[`deposit`,`withdrawal`,`payment`,`invoice`,`transfer`],Eoe=[`USD`,`EUR`,`GBP`,`JPY`,`AUD`,`CAD`,`CHF`,`CNY`,`INR`,`BRL`,`SEK`,`NOK`,`DKK`,`SGD`,`HKD`],Doe=[`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`],Ooe=[`$`,`€`,`£`,`¥`,`A$`,`C$`,`CHF`,`¥`,`₹`,`R$`],koe=[`1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa`,`3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy`,`bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4`,`1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`,`3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS`,`1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF`,`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,`3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5`,`1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ`,`bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux`],Aoe=[`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`],joe=[`Inc`,`LLC`,`Group`,`Ltd`,`PLC`,`Corp`],Jw=[`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`],Moe=[`innovative`,`scalable`,`seamless`,`cutting-edge`,`robust`,`synergistic`,`dynamic`,`holistic`,`strategic`,`disruptive`,`frictionless`,`proactive`,`world-class`,`collaborative`,`granular`],Noe=[`leverage`,`iterate`,`synergize`,`monetize`,`orchestrate`,`disintermediate`,`harness`,`incentivize`,`optimize`,`streamline`,`revolutionize`,`cultivate`,`empower`,`facilitate`,`aggregate`],Poe=[`frameworks`,`paradigms`,`synergies`,`platforms`,`infrastructures`,`bandwidth`,`channels`,`communities`,`convergence`,`deliverables`,`e-markets`,`experiences`,`initiatives`,`interfaces`,`methodologies`],Foe=[`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`],Ioe=[`Adaptive`,`Advanced`,`Automated`,`Balanced`,`Business-focused`,`Centralized`,`Cloned`,`Configurable`,`Cross-group`,`Customizable`,`De-engineered`,`Decentralized`,`Digitized`,`Distributed`,`Enhanced`],Loe=[`24 hour`,`actuating`,`analyzing`,`asymmetric`,`asynchronous`,`background`,`bandwidth-monitored`,`bi-directional`,`bifurcated`,`bottom-line`,`clear-thinking`,`client-driven`,`client-server`,`coherent`,`cohesive`],Roe=[`ability`,`access`,`algorithm`,`alliance`,`analyzer`,`application`,`approach`,`architecture`,`array`,`attitude`,`benchmark`,`budgetary management`,`capability`,`capacity`,`challenge`],zoe=[`id`,`name`,`email`,`status`,`created_at`,`updated_at`,`description`,`amount`,`category`,`token`,`avatar`,`phone`,`address`,`comment`,`title`],Boe=[`int`,`varchar`,`text`,`boolean`,`date`,`timestamp`,`float`,`bigint`,`json`,`uuid`,`decimal`,`enum`,`blob`,`char`,`smallint`],Voe=[`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`],Hoe=[`InnoDB`,`MyISAM`,`MEMORY`,`CSV`,`ARCHIVE`,`FEDERATED`,`NDB`,`MERGE`,`BLACKHOLE`,`EXAMPLE`],Uoe=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],Woe=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Goe=[`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`],Koe=[`com`,`org`,`net`,`io`,`dev`,`co`,`info`,`app`,`me`,`xyz`],qoe=[`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`],Joe=[`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`],Yoe=[`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`],Xoe=[`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`],Zoe=[`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`],Qoe=[`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`],$oe=[`application`,`text`,`image`,`audio`,`video`,`font`,`model`,`multipart`,`message`,`chemical`],ese=[`pdf`,`csv`,`png`,`json`,`md`,`yml`,`html`,`txt`,`xml`,`sql`,`tar`,`gz`,`wasm`,`webp`],tse=[`report.pdf`,`photo.jpg`,`document.docx`,`spreadsheet.xlsx`,`presentation.pptx`,`image.png`,`video.mp4`,`audio.mp3`,`archive.zip`,`readme.txt`],nse=[`text`,`application`,`image`,`audio`,`video`],rse=[`pdf`,`jpg`,`png`,`gif`,`mp3`,`mp4`,`doc`,`xls`,`ppt`,`txt`,`zip`,`html`,`css`,`js`,`json`],ise=[`/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`],ase=[`/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`],ose=[`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`],sse=[`Chair`,`Computer`,`Keyboard`,`Mouse`,`Table`,`Phone`,`Shoes`,`Shirt`,`Pants`,`Hat`,`Bike`,`Towels`,`Gloves`,`Soap`,`Tuna`],cse=[`Refined`,`Elegant`,`Rustic`,`Gorgeous`,`Practical`,`Fantastic`,`Handcrafted`,`Incredible`,`Licensed`,`Sleek`,`Intelligent`,`Recycled`,`Modern`,`Bespoke`,`Ergonomic`],lse=[`Cotton`,`Steel`,`Wooden`,`Concrete`,`Rubber`,`Granite`,`Plastic`,`Frozen`,`Soft`,`Metal`,`Bronze`,`Silk`,`Leather`,`Ceramic`,`Bamboo`],use=[`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`],dse=[`Electronics`,`Clothing`,`Books`,`Home`,`Garden`,`Sports`,`Toys`,`Automotive`,`Grocery`,`Health`,`Beauty`,`Music`,`Movies`,`Games`,`Outdoors`],fse=[`server`,`database`,`network`,`protocol`,`system`,`algorithm`,`interface`,`module`,`component`,`function`,`framework`,`library`,`instance`,`variable`,`endpoint`],pse=[`run`,`build`,`deploy`,`parse`,`fetch`,`render`,`compile`,`stream`,`cache`,`merge`,`sync`,`push`,`pull`,`test`,`debug`],mse=[`running`,`building`,`deploying`,`parsing`,`fetching`,`rendering`,`compiling`,`streaming`,`caching`,`merging`,`syncing`,`pushing`,`pulling`,`testing`,`debugging`],hse=[`fast`,`secure`,`scalable`,`robust`,`dynamic`,`modular`,`stable`,`lightweight`,`portable`,`resilient`,`efficient`,`responsive`,`concurrent`,`stateless`,`distributed`],Yw=[`pixel`,`quantum`,`cipher`,`matrix`,`vector`,`nexus`,`pulse`,`flux`,`forge`,`prism`,`vortex`,`helix`,`orbit`,`spark`,`nebula`],Xw=[`lorem`,`ipsum`,`dolor`,`sit`,`amet`,`consectetur`,`adipiscing`,`elit`,`sed`,`do`,`eiusmod`,`tempor`,`incididunt`,`ut`,`labore`,`et`,`dolore`,`magna`,`aliqua`,`enim`],Zw=[`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.`],Qw=[`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.`],gse=[`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)],$w=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,_se=e=>Array.from({length:e},()=>Math.floor(Math.random()*10)).join(``),vse=e=>Array.from({length:e},()=>Hw[Math.floor(Math.random()*Hw.length)]).join(``),yse=()=>{let e=Date.now()+$w(1,365)*864e5;return new Date(e).toISOString()},bse=()=>{let e=Date.now()-$w(1,365)*864e5;return new Date(e).toISOString()},xse=()=>{let e=Date.now()-$w(1,3)*864e5;return new Date(e).toISOString()},eT=(e,t,n)=>{let r=$w(t,n);return Array.from({length:r},()=>H(e)).join(` `)},tT=(e,t,n)=>{let r=$w(t,n);return Array.from({length:r},()=>H(e)).join(` `)},Sse=(e,t,n)=>{let r=$w(t,n);return Array.from({length:r},()=>H(e)).join(`
13
+ `)},nT={$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:()=>$w(0,1e3).toString(),comment:`A random integer between 0 and 1000`},$randomColor:{fn:()=>H(Uw),comment:`A random color in hex format`},$randomHexColor:{fn:()=>H(Uw),comment:`A random hex value`},$randomAbbreviation:{fn:()=>H(zae),comment:`A random abbreviation`},$randomIP:{fn:()=>H(Bae),comment:`A random IPv4 address`},$randomIPV6:{fn:()=>H(Vae),comment:`A random IPv6 address`},$randomMACAddress:{fn:()=>H(Hae),comment:`A random MAC address`},$randomPassword:{fn:()=>vse(15),comment:`A random 15-character alpha-numeric password`},$randomLocale:{fn:()=>H(Uae),comment:`A random two-letter language code (ISO 639-1)`},$randomUserAgent:{fn:()=>H(Wae),comment:`A random user agent`},$randomProtocol:{fn:()=>H(Gae),comment:`A random internet protocol`},$randomSemver:{fn:()=>H(Kae),comment:`A random semantic version number`},$randomFirstName:{fn:()=>H(Ww),comment:`A random first name`},$randomLastName:{fn:()=>H(Gw),comment:`A random last name`},$randomFullName:{fn:()=>`${H(Ww)} ${H(Gw)}`,comment:`A random first and last name`},$randomNamePrefix:{fn:()=>H(qae),comment:`A random name prefix`},$randomNameSuffix:{fn:()=>H(Jae),comment:`A random name suffix`},$randomJobArea:{fn:()=>H(Yae),comment:`A random job area`},$randomJobDescriptor:{fn:()=>H(Xae),comment:`A random job descriptor`},$randomJobTitle:{fn:()=>H(Zae),comment:`A random job title`},$randomJobType:{fn:()=>H(Qae),comment:`A random job type`},$randomPhoneNumber:{fn:()=>H(Kw),comment:`A random ten-digit phone number`},$randomPhoneNumberExt:{fn:()=>`${$w(10,99)}-${H(Kw)}`,comment:`A random phone number prefixed with a two-digit extension (10–99)`},$randomCity:{fn:()=>H($ae),comment:`A random city name`},$randomStreetName:{fn:()=>H(eoe),comment:`A random street name`},$randomStreetAddress:{fn:()=>H(toe),comment:`A random street address`},$randomCountry:{fn:()=>H(noe),comment:`A random country`},$randomCountryCode:{fn:()=>H(roe),comment:`A random two-letter country code (ISO 3166-1 alpha-2)`},$randomLatitude:{fn:()=>H(ioe),comment:`A random latitude coordinate`},$randomLongitude:{fn:()=>H(aoe),comment:`A random longitude coordinate`},$randomAvatarImage:{fn:()=>H(ooe),comment:`A random avatar image`},$randomImageUrl:{fn:()=>H(soe),comment:`A URL of a random image`},$randomAbstractImage:{fn:()=>H(coe),comment:`A URL of a random abstract image`},$randomAnimalsImage:{fn:()=>H(loe),comment:`A URL of a random animal image`},$randomBusinessImage:{fn:()=>H(uoe),comment:`A URL of a random stock business image`},$randomCatsImage:{fn:()=>H(doe),comment:`A URL of a random cat image`},$randomCityImage:{fn:()=>H(foe),comment:`A URL of a random city image`},$randomFoodImage:{fn:()=>H(poe),comment:`A URL of a random food image`},$randomNightlifeImage:{fn:()=>H(moe),comment:`A URL of a random nightlife image`},$randomFashionImage:{fn:()=>H(hoe),comment:`A URL of a random fashion image`},$randomPeopleImage:{fn:()=>H(goe),comment:`A URL of a random image of a person`},$randomNatureImage:{fn:()=>H(_oe),comment:`A URL of a random nature image`},$randomSportsImage:{fn:()=>H(voe),comment:`A URL of a random sports image`},$randomTransportImage:{fn:()=>H(yoe),comment:`A URL of a random transportation image`},$randomImageDataUri:{fn:()=>H(boe),comment:`A random image data URI`},$randomBankAccount:{fn:()=>H(xoe),comment:`A random 8-digit bank account number`},$randomBankAccountName:{fn:()=>H(Soe),comment:`A random bank account name`},$randomCreditCardMask:{fn:()=>`**** **** **** ${_se(4)}`,comment:`A random masked credit card number`},$randomBankAccountBic:{fn:()=>H(Coe),comment:`A random BIC (Bank Identifier Code)`},$randomBankAccountIban:{fn:()=>H(woe),comment:`A random 15-31 character IBAN (International Bank Account Number)`},$randomTransactionType:{fn:()=>H(Toe),comment:`A random transaction type`},$randomCurrencyCode:{fn:()=>H(Eoe),comment:`A random 3-letter currency code (ISO-4217)`},$randomCurrencyName:{fn:()=>H(Doe),comment:`A random currency name`},$randomCurrencySymbol:{fn:()=>H(Ooe),comment:`A random currency symbol`},$randomBitcoin:{fn:()=>H(koe),comment:`A random bitcoin address`},$randomCompanyName:{fn:()=>H(Aoe),comment:`A random company name`},$randomCompanySuffix:{fn:()=>H(joe),comment:`A random company suffix`},$randomBs:{fn:()=>H(Jw),comment:`A random phrase of business-speak`},$randomBsAdjective:{fn:()=>H(Moe),comment:`A random business-speak adjective`},$randomBsBuzz:{fn:()=>H(Noe),comment:`A random business-speak buzzword`},$randomBsNoun:{fn:()=>H(Poe),comment:`A random business-speak noun`},$randomCatchPhrase:{fn:()=>H(Foe),comment:`A random catchphrase`},$randomCatchPhraseAdjective:{fn:()=>H(Ioe),comment:`A random catchphrase adjective`},$randomCatchPhraseDescriptor:{fn:()=>H(Loe),comment:`A random catchphrase descriptor`},$randomCatchPhraseNoun:{fn:()=>H(Roe),comment:`Randomly generates a catchphrase noun`},$randomDatabaseColumn:{fn:()=>H(zoe),comment:`A random database column name`},$randomDatabaseType:{fn:()=>H(Boe),comment:`A random database type`},$randomDatabaseCollation:{fn:()=>H(Voe),comment:`A random database collation`},$randomDatabaseEngine:{fn:()=>H(Hoe),comment:`A random database engine`},$randomDateFuture:{fn:yse,comment:`A random future datetime`},$randomDatePast:{fn:bse,comment:`A random past datetime`},$randomDateRecent:{fn:xse,comment:`A random recent datetime`},$randomWeekday:{fn:()=>H(Uoe),comment:`A random weekday`},$randomMonth:{fn:()=>H(Woe),comment:`A random month`},$randomDomainName:{fn:()=>H(Goe),comment:`A random domain name`},$randomDomainSuffix:{fn:()=>H(Koe),comment:`A random domain suffix`},$randomDomainWord:{fn:()=>H(qoe),comment:`A random unqualified domain name`},$randomEmail:{fn:()=>H(Joe),comment:`A random email address`},$randomExampleEmail:{fn:()=>H(Yoe),comment:`A random email address from an example domain`},$randomUserName:{fn:()=>H(Xoe),comment:`A random username`},$randomUrl:{fn:()=>H(Zoe),comment:`A random URL`},$randomFileName:{fn:()=>H(Qoe),comment:`A random file name (includes uncommon extensions)`},$randomFileType:{fn:()=>H($oe),comment:`A random file type (includes uncommon file types)`},$randomFileExt:{fn:()=>H(ese),comment:`A random file extension (includes uncommon extensions)`},$randomCommonFileName:{fn:()=>H(tse),comment:`A random file name`},$randomCommonFileType:{fn:()=>H(nse),comment:`A random, common file type`},$randomCommonFileExt:{fn:()=>H(rse),comment:`A random, common file extension`},$randomFilePath:{fn:()=>H(ise),comment:`A random file path`},$randomDirectoryPath:{fn:()=>H(ase),comment:`A random directory path`},$randomMimeType:{fn:()=>H(ose),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(sse),comment:`A random product`},$randomProductAdjective:{fn:()=>H(cse),comment:`A random product adjective`},$randomProductMaterial:{fn:()=>H(lse),comment:`A random product material`},$randomProductName:{fn:()=>H(use),comment:`A random product name`},$randomDepartment:{fn:()=>H(dse),comment:`A random commerce department`},$randomNoun:{fn:()=>H(fse),comment:`A random noun`},$randomVerb:{fn:()=>H(pse),comment:`A random verb`},$randomIngverb:{fn:()=>H(mse),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>H(hse),comment:`A random adjective`},$randomWord:{fn:()=>H(Yw),comment:`A random word`},$randomWords:{fn:()=>eT(Yw,2,5),comment:`Some random words`},$randomPhrase:{fn:()=>H(Jw),comment:`A random phrase`},$randomLoremWord:{fn:()=>H(Xw),comment:`A random word of lorem ipsum text`},$randomLoremWords:{fn:()=>eT(Xw,3,3),comment:`Some random words of lorem ipsum text`},$randomLoremSentence:{fn:()=>H(Zw),comment:`A random sentence of lorem ipsum text`},$randomLoremSentences:{fn:()=>tT(Zw,2,6),comment:`A random 2 to 6 sentences of lorem ipsum text`},$randomLoremParagraph:{fn:()=>H(Qw),comment:`A random paragraph of lorem ipsum text`},$randomLoremParagraphs:{fn:()=>tT(Qw,3,3),comment:`3 random paragraphs of lorem ipsum text`},$randomLoremText:{fn:()=>tT(Qw,1,3),comment:`A random amount of lorem ipsum text`},$randomLoremSlug:{fn:()=>H(gse),comment:`A random lorem ipsum URL slug`},$randomLoremLines:{fn:()=>Sse(Zw,1,5),comment:`1 to 5 random lines of lorem ipsum`}},rT=e=>nT[e].comment,Cse=[`$guid`,`$timestamp`,`$isoTimestamp`,`$randomUUID`,`$randomEmail`,`$randomInt`,`$randomFirstName`,`$randomLastName`],iT=Object.keys(nT),aT=e=>Object.hasOwn(nT,e),wse=[{header:`date`,scalarHeader:xte},{header:`dnt`,scalarHeader:Ste},{header:`referer`,scalarHeader:Cte},{header:`user-agent`,scalarHeader:bte}],oT=(e,t)=>{let n=yw(e.value,t);return e.format===`basic`?`Basic ${Iw(n)}`:e.format===`bearer`?`Bearer ${n}`:n},sT=e=>t=>aT(t)?nT[t].fn()??null:e[t]??null,Tse=(e,t,n)=>{let r=sT(t),i=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if(e.in!==`query`)return;let t=yw(e.name,r);i.append(t,oT(e,r))});let a=Bw(e,{envVariables:r,securityQueryParams:i,allowMissingRequestServerBase:n?.allowMissingRequestServerBase??!0});if(!a.ok)throw Error(a.message??a.error);return Rw(a.data,e.allowedReservedQueryParameters??new Set)},Ese=`BUILD_REQUEST_FAILED`,Dse=(e,t)=>{let n=Cw(()=>Ose(e,t));return n.ok?n.data:xw(Ese,n.error)},Ose=(e,t)=>{let n=sT(t.envVariables),r=new AbortController,i=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set(yw(r,n),yw(e,n))}),t})(),a=(()=>{if(e.body?.mode===`raw`)return typeof e.body.value==`string`?yw(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(yw(e.key,n),yw(e.value,n));return}t.append(yw(e.key,n),e.value)}),t}return e.body?.mode===`urlencoded`?new URLSearchParams(e.body.value.map(e=>[yw(e.key,n),yw(e.value,n)])):null})(),o=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=yw(e.name,n),r=oT(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=Bw(e,{envVariables:n,securityQueryParams:o,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!c.ok)return xw(c.error,c.message);let l=c.data,u=Ew(e.proxyUrl,l),d=Nae({cookies:[...e.cookies,...s].map(e=>({...e,name:yw(e.name,n),value:yw(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)&&wse.forEach(({header:e,scalarHeader:t})=>{let n=i.get(e);n&&(i.set(t,n),i.delete(e))});let f=Rw(l,e.allowedReservedQueryParameters??new Set);return bw({requestPayload:[u?Tw(e.proxyUrl,f):f,{method:e.method.toUpperCase(),headers:i,body:a,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})},cT=(e,t)=>`content`in t?kse(e,Object.keys(t.content??{})[0]??``):`schema`in t?uT(e,t.schema):e,kse=(e,t)=>{if(typeof e==`string`&&t.includes(`json`))try{return JSON.parse(e)}catch{return e}return e},Ase=new Set([`array`,`object`]),lT=e=>{let t=R(e);if(!(!t||typeof t!=`object`)){if(`type`in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>Ase.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=lT(e);if(t)return t}}}},uT=(e,t)=>{if(typeof e==`string`){let n=lT(t);if(n)try{return JSON.parse(e)}catch{if(n===`array`)return e.split(/,\s?/).filter(e=>e!==``)}}return e},dT=(e,t,n=!0)=>{let r=t?.[`x-disabled`];return typeof r==`boolean`?r:n?!e.required&&e.in!==`path`:!1},fT=e=>e.variables.reduce((e,t)=>(e[t.name]=typeof t.value==`string`?t.value:t.value.default,e),{}),pT=e=>Object.entries(e),mT=e=>e?pT(e?.variables??{}).reduce((e,[t,n])=>(n.default&&(e[t]=n.default),e),{}):{},jse=`*/*`,Mse={accept:`Accept`,"content-type":`Content-Type`,"user-agent":`User-Agent`},Nse=e=>Mse[e.toLowerCase()]??e,Pse=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[Nse(e),t])),Fse=(e,t)=>{let n=new Set;for(let r of e.parameters??[]){let e=R(r);if(e.in!==`header`)continue;let i=`examples`in e&&e.examples?.[t]?e.examples[t]:void 0;dT(e,i?R(i):void 0)||n.add(e.name.toLowerCase())}return n},hT=(e,t,n,r)=>{let i=r.hideOverriddenHeaders?Fse(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)}))},Ise=(e,t,n)=>hT(e,t,n,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),gT=({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=R(t.requestBody);if(fs(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?R(t.responses[c]):null,u=Object.keys(l?.content??{}).join(`, `)||jse;o.set(`Accept`,u),a.isElectron&&a.appVersion&&o.set(`User-Agent`,`Scalar/${a.appVersion}`);let d=Object.fromEntries(o.entries());return i||r?hT(t,n,d,{hideOverriddenHeaders:i,hideDisabledHeaders:r}):d},Lse=new Set([`__proto__`,`prototype`,`constructor`]),_T=(e,t)=>{if(Lse.has(e)){let n=t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`;throw Error(n)}},Rse=[`userPassword`,`plain`,`scramSha256`,`scramSha512`],vT=e=>!!e&&Rse.includes(e),zse=[`symmetricEncryption`,`asymmetricEncryption`],yT=e=>!!e&&zse.includes(e),bT=e=>zc(e)&&`openapi`in e&&typeof e.openapi==`string`,xT=e=>zc(e)&&`asyncapi`in e&&typeof e.asyncapi==`string`,Bse=e=>{if(bT(e))return`openapi`;if(xT(e))return`asyncapi`},ST=e=>e===`asyncapi`?`AsyncAPI`:`OpenAPI`,Vse=(e,t)=>{if(e===null)return{name:null,environment:dy(hy,{})};let n=e.workspace[`x-scalar-active-environment`];if(!n)return{name:null,environment:dy(hy,{})};let r=e.workspace[`x-scalar-environments`]?.[n]??{variables:[]},i=(bT(t)?t[`x-scalar-environments`]?.[n]:void 0)??{variables:[]};return{name:n,environment:dy(hy,{...r,...i,variables:[...r.variables,...i.variables]})}},CT=e=>e&&typeof e==`string`?Qy.has(e.toLowerCase()):!1,wT=e=>{if(!(!e||typeof e!=`object`))return R(e,Rc)},TT=(e,t)=>{let n=wT(e);if(n)return n[t]},ET=(e,t,n)=>{if(!(!e||typeof e!=`object`)){if(`$ref`in e&&`$ref-value`in e){let r=e[`$ref-value`];if(r){r[t]=n;return}}e[t]=n}},DT=(e,t)=>{if(!(!e||typeof e!=`object`)){if(`$ref`in e&&`$ref-value`in e){let n=e[`$ref-value`];n&&delete n[t]}delete e[t]}},OT=(e,t)=>{let n=wT(e);if(n)for(let[e,r]of Object.entries(n))!CT(e)||r===void 0||t(e,r)},kT=e=>{let t=wT(e);return!t||Object.keys(t).length===0},Hse=(e=[],t=[])=>{let n=t.flatMap(e=>{let t=R(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(n);return[...e.filter(e=>{let t=R(e);return t?!r.has(`${t.in}:${t.name}`):!1}),...t]},Use=(e,t)=>JSON.stringify(t)===`[{}]`&&e?.length?e.find(e=>JSON.stringify(e)===`{}`)?e:[...e,{}]:t??e??[],AT=e=>Object.keys(e),Wse=(e,t)=>AT(t).flatMap(t=>R(e?.[t])||[]),jT=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>Object.keys(e).length===0)&&!t},MT=e=>!e||e.type!==`oauth2`?[]:e[`x-default-scopes`]??[],Gse=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,n])=>{if(Array.isArray(n)&&n.length>0)return[e,[...n]];let r=R(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]})),Kse=(e,t)=>{if(!Array.isArray(e)){let n=R(t[e]);return{[e]:MT(n)}}let n={};for(let r of e)if(Array.isArray(r))for(let e of r)n[e]=MT(R(t[e]));else n[r]=MT(R(t[r]));return n},NT=(e,t,n=[],r={},i)=>{if(t)return t;if(e)return e;if(jT(n)&&!i)return{selectedIndex:-1,selectedSchemes:[]};if(i)return{selectedIndex:0,selectedSchemes:[Kse(i,r)]};let a=n[0];return a?{selectedIndex:0,selectedSchemes:[Gse(a,r)]}:{selectedIndex:-1,selectedSchemes:[]}},PT=(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]=PT(e[r],t)}),n},FT=(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=tl(a),t=tl(o);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),FT(a,o,n,r)}else try{e[i]=o}catch(e){console.warn(`Issue setting ${i} on object`),console.warn(e)}}return e},IT={"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`},LT=(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[IT[e]]==`string`?t[IT[e]]:void 0;return[e,e===`x-scalar-secret-redirect-uri`?i??a??o??r??``:i||a||o||``]})),RT=(e,t)=>{let n=e[t];return typeof n==`string`?n:``},zT=(e={})=>{let t=e[`x-scalar-secret-refresh-token`];return typeof t==`string`?{"x-scalar-secret-refresh-token":t}:{}},BT=(e,t={})=>{let n=t[`x-scalar-credentials-location`]??e[`x-scalar-credentials-location`];return n?{"x-scalar-credentials-location":n}:{}},VT=(e,t,n)=>{let r=new Set;return{flows:pT(e??{}).reduce((e,[i,a])=>{if(!zc(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,...LT([`x-scalar-secret-client-id`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`],a,t?.implicit,n),...zT(t?.implicit)}),i===`password`&&(e[i]={...a,...LT([`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),...BT(a,t?.password),...zT(t?.password)}),i===`clientCredentials`&&(e[i]={...a,...LT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],a,t?.clientCredentials),...BT(a,t?.clientCredentials),...zT(t?.clientCredentials)}),i===`authorizationCode`&&(e[i]={...a,...LT([`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),...BT(a,t?.authorizationCode),...zT(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(r)}},qse=(e,t,n,r,i)=>{let a=t.getAuthSecrets(r,n),o=e;if(e.type===`apiKey`){let t=a?.type===`apiKey`?a:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||RT(e,`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`]||RT(e,`x-scalar-secret-token`)||e.token||``,"x-scalar-secret-username":t?.[`x-scalar-secret-username`]||RT(e,`x-scalar-secret-username`)||e.username||``,"x-scalar-secret-password":t?.[`x-scalar-secret-password`]||RT(e,`x-scalar-secret-password`)||e.password||``}}if(e.type===`oauth2`){let t=a?.type===`oauth2`?a:void 0,n=VT(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=VT({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t,i);return{...e,...pT(n.flows).length?{flows:n.flows}:{}}}if(vT(o.type)){let e=a?.type===o.type?a:void 0;return{...o,"x-scalar-secret-username":e?.[`x-scalar-secret-username`]||o.username||``,"x-scalar-secret-password":e?.[`x-scalar-secret-password`]||o.password||``}}if(o.type===`X509`){let e=a?.type===`X509`?a:void 0;return{...o,"x-scalar-secret-client-certificate":e?.[`x-scalar-secret-client-certificate`]||``,"x-scalar-secret-private-key":e?.[`x-scalar-secret-private-key`]||``}}if(yT(o.type)){let e=a?.type===o.type?a:void 0;return{...o,"x-scalar-secret-token":e?.[`x-scalar-secret-token`]||o.token||``}}if(o.type===`gssapi`){let e=a?.type===`gssapi`?a:void 0;return{...o,"x-scalar-secret-service-name":e?.[`x-scalar-secret-service-name`]||``}}return e},HT=e=>{let t=R(e);return!!t&&typeof t==`object`&&`availableScopes`in t},Jse=e=>{let t=R(e);if(!t||typeof t!=`object`)return e;let n=Object.entries(t);return n.some(([,e])=>HT(e))?Object.fromEntries(n.map(([e,t])=>{if(!HT(t))return[e,t];let{availableScopes:n,scopes:r,...i}=R(t);return[e,{...i,scopes:r??n??{}}]})):e},Yse=e=>{if(!(e&&typeof e==`object`&&`type`in e))return e;if(e.type===`httpApiKey`)return{...e,type:`apiKey`};if(e.type===`oauth2`&&`flows`in e&&e.flows){let t=Jse(e.flows);if(t!==e.flows)return{...e,flows:t}}return e},Xse=(e={},t={},n,r,i)=>pT(FT(pT(e).reduce((e,[t,n])=>{let r=PT(R(n));return r&&(e[t]=r),e},{}),t)??{}).reduce((e,[t,a])=>{let o=Yse(a);return e[t]=qse({...dy(FC,o),...o},n,t,r,i),e},{});function Zse(e,t={}){return Array.isArray(e)?e.map(e=>tce(e,t)):[]}function Qse(e){try{let t=new URL(e),n=t.port?`:${t.port}`:``;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function $se(){if(!(typeof window>`u`||typeof window?.location?.origin!=`string`))return window.location.origin}function ece(e,t){let{baseServerUrl:n,documentUrl:r}=t;if(n)return as(n,e);if(r){let t=Qse(r);if(t)return as(t,e)}let i=$se();return i?as(i,e):e}function tce(e,t){return e.url?.startsWith(`/`)&&(e.url=ece(e.url,t)),e}var nce=(e,t,n,r)=>{let i=bT(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},UT=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},WT=Object.defineProperty,U=(e,t)=>{let n={};for(var r in e)WT(n,r,{get:e[r],enumerable:!0});return t||WT(n,Symbol.toStringTag,{value:`Module`}),n},rce=U({default:()=>ace,render:()=>GT}),ice={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function GT(e,t){return y(),N(`svg`,ice,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5 11.988h14M12.006 5v14`},null,-1)]])}var ace={render:GT},oce=U({default:()=>cce,render:()=>KT}),sce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function KT(e,t){return y(),N(`svg`,sce,[...t[0]||=[P(`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 cce={render:KT},lce=U({default:()=>dce,render:()=>qT}),uce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function qT(e,t){return y(),N(`svg`,uce,[...t[0]||=[P(`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 dce={render:qT},fce=U({default:()=>mce,render:()=>JT}),pce={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function JT(e,t){return y(),N(`svg`,pce,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12H2m9.3-9.3L2 12l9.3 9.3`},null,-1)]])}var mce={render:JT},hce=U({default:()=>_ce,render:()=>YT}),gce={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function YT(e,t){return y(),N(`svg`,gce,[...t[0]||=[P(`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 _ce={render:YT},vce=U({default:()=>bce,render:()=>XT}),yce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function XT(e,t){return y(),N(`svg`,yce,[...t[0]||=[P(`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 bce={render:XT},xce=U({default:()=>Cce,render:()=>ZT}),Sce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function ZT(e,t){return y(),N(`svg`,Sce,[...t[0]||=[P(`path`,{d:`M16.4 6.8v5.6H7.6m0-5.6v10.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`4.4`,r:`2.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`19.6`,r:`2.4`},null,-1),P(`circle`,{cx:`16.4`,cy:`4.4`,r:`2.4`},null,-1)]])}var Cce={render:ZT},wce=U({default:()=>$T,render:()=>QT}),Tce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function QT(e,t){return y(),N(`svg`,Tce,[...t[0]||=[P(`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),P(`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),P(`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 $T={render:QT},eE=U({default:()=>rE,render:()=>nE}),tE={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function nE(e,t){return y(),N(`svg`,tE,[...t[0]||=[P(`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 rE={render:nE},iE=U({default:()=>sE,render:()=>oE}),aE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function oE(e,t){return y(),N(`svg`,aE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 10-6 6-6-6`},null,-1)]])}var sE={render:oE},cE=U({default:()=>dE,render:()=>uE}),lE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function uE(e,t){return y(),N(`svg`,lE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m14 18-6-6 6-6`},null,-1)]])}var dE={render:uE},fE=U({default:()=>hE,render:()=>mE}),pE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mE(e,t){return y(),N(`svg`,pE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9 18 6-6-6-6`},null,-1)]])}var hE={render:mE},gE=U({default:()=>yE,render:()=>vE}),_E={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vE(e,t){return y(),N(`svg`,_E,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 15-6-6-6 6`},null,-1)]])}var yE={render:vE},bE=U({default:()=>CE,render:()=>SE}),xE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function SE(e,t){return y(),N(`svg`,xE,[...t[0]||=[P(`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 CE={render:SE},wE=U({default:()=>DE,render:()=>EE}),TE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function EE(e,t){return y(),N(`svg`,TE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M18 6 6 18M6 6l12 12`},null,-1)]])}var DE={render:EE},OE=U({default:()=>jE,render:()=>AE}),kE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function AE(e,t){return y(),N(`svg`,kE,[...t[0]||=[P(`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 jE={render:AE},ME=U({default:()=>FE,render:()=>PE}),NE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function PE(e,t){return y(),N(`svg`,NE,[...t[0]||=[P(`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 FE={render:PE},IE=U({default:()=>zE,render:()=>RE}),LE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function RE(e,t){return y(),N(`svg`,LE,[...t[0]||=[P(`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 zE={render:RE},BE=U({default:()=>UE,render:()=>HE}),VE={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function HE(e,t){return y(),N(`svg`,VE,[...t[0]||=[P(`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),P(`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 UE={render:HE},WE=U({default:()=>qE,render:()=>KE}),GE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function KE(e,t){return y(),N(`svg`,GE,[...t[0]||=[P(`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),P(`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 qE={render:KE},JE=U({default:()=>ZE,render:()=>XE}),YE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function XE(e,t){return y(),N(`svg`,YE,[...t[0]||=[P(`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 ZE={render:XE},QE=U({default:()=>tD,render:()=>eD}),$E={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function eD(e,t){return y(),N(`svg`,$E,[...t[0]||=[P(`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),P(`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 tD={render:eD},nD=U({default:()=>aD,render:()=>iD}),rD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function iD(e,t){return y(),N(`svg`,rD,[...t[0]||=[P(`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 aD={render:iD},oD=U({default:()=>lD,render:()=>cD}),sD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cD(e,t){return y(),N(`svg`,sD,[...t[0]||=[P(`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 lD={render:cD},uD=U({default:()=>pD,render:()=>fD}),dD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function fD(e,t){return y(),N(`svg`,dD,[...t[0]||=[P(`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),P(`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 pD={render:fD},mD=U({default:()=>_D,render:()=>gD}),hD={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function gD(e,t){return y(),N(`svg`,hD,[...t[0]||=[P(`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),P(`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 _D={render:gD},vD=U({default:()=>xD,render:()=>bD}),yD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function bD(e,t){return y(),N(`svg`,yD,[...t[0]||=[P(`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 xD={render:bD},SD=U({default:()=>TD,render:()=>wD}),CD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wD(e,t){return y(),N(`svg`,CD,[...t[0]||=[P(`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),P(`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 TD={render:wD},ED=U({default:()=>kD,render:()=>OD}),DD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function OD(e,t){return y(),N(`svg`,DD,[...t[0]||=[P(`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 kD={render:OD},AD=U({default:()=>ND,render:()=>MD}),jD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function MD(e,t){return y(),N(`svg`,jD,[...t[0]||=[P(`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 ND={render:MD},PD=U({default:()=>LD,render:()=>ID}),FD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function ID(e,t){return y(),N(`svg`,FD,[...t[0]||=[P(`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),P(`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 LD={render:ID},RD=U({default:()=>VD,render:()=>BD}),zD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function BD(e,t){return y(),N(`svg`,zD,[...t[0]||=[P(`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),P(`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 VD={render:BD},HD=U({default:()=>GD,render:()=>WD}),UD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function WD(e,t){return y(),N(`svg`,UD,[...t[0]||=[P(`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 GD={render:WD},KD=U({default:()=>YD,render:()=>JD}),qD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function JD(e,t){return y(),N(`svg`,qD,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.4 4H20v13.59M4 20 20 4`},null,-1)]])}var YD={render:JD},XD=U({default:()=>$D,render:()=>QD}),ZD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function QD(e,t){return y(),N(`svg`,ZD,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M7.556 12h8.888m-6.222 6h3.556`},null,-1)]])}var $D={render:QD},eO=U({default:()=>rO,render:()=>nO}),tO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function nO(e,t){return y(),N(`svg`,tO,[...t[0]||=[P(`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 rO={render:nO},iO=U({default:()=>sO,render:()=>oO}),aO={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 1024 1024`};function oO(e,t){return y(),N(`svg`,aO,[...t[0]||=[P(`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 sO={render:oO},cO=U({default:()=>dO,render:()=>uO}),lO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function uO(e,t){return y(),N(`svg`,lO,[...t[0]||=[P(`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 dO={render:uO},fO=U({default:()=>hO,render:()=>mO}),pO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mO(e,t){return y(),N(`svg`,pO,[...t[0]||=[P(`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 hO={render:mO},gO=U({default:()=>yO,render:()=>vO}),_O={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function vO(e,t){return y(),N(`svg`,_O,[...t[0]||=[P(`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 yO={render:vO},bO=U({default:()=>CO,render:()=>SO}),xO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function SO(e,t){return y(),N(`svg`,xO,[...t[0]||=[P(`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),P(`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 CO={render:SO},wO=U({default:()=>DO,render:()=>EO}),TO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function EO(e,t){return y(),N(`svg`,TO,[...t[0]||=[P(`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 DO={render:EO},OO=U({default:()=>jO,render:()=>AO}),kO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function AO(e,t){return y(),N(`svg`,kO,[...t[0]||=[P(`path`,{d:`M12.9 6.8v6.1h4.7`},null,-1),P(`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 jO={render:AO},MO=U({default:()=>FO,render:()=>PO}),NO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function PO(e,t){return y(),N(`svg`,NO,[...t[0]||=[P(`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 FO={render:PO},IO=U({default:()=>zO,render:()=>RO}),LO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function RO(e,t){return y(),N(`svg`,LO,[...t[0]||=[P(`path`,{d:`M12 10.67v7.98M14.66 16 12 18.64 9.34 16`},null,-1),P(`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),P(`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 zO={render:RO},BO=U({default:()=>UO,render:()=>HO}),VO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function HO(e,t){return y(),N(`svg`,VO,[...t[0]||=[P(`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),P(`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),P(`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 UO={render:HO},WO=U({default:()=>qO,render:()=>KO}),GO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function KO(e,t){return y(),N(`svg`,GO,[...t[0]||=[P(`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),P(`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 qO={render:KO},JO=U({default:()=>ZO,render:()=>XO}),YO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function XO(e,t){return y(),N(`svg`,YO,[...t[0]||=[P(`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 ZO={render:XO},QO=U({default:()=>tk,render:()=>ek}),$O={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ek(e,t){return y(),N(`svg`,$O,[...t[0]||=[P(`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 tk={render:ek},nk=U({default:()=>ak,render:()=>ik}),rk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function ik(e,t){return y(),N(`svg`,rk,[...t[0]||=[P(`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 ak={render:ik},ok=U({default:()=>lk,render:()=>ck}),sk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function ck(e,t){return y(),N(`svg`,sk,[...t[0]||=[P(`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 lk={render:ck},uk=U({default:()=>pk,render:()=>fk}),dk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function fk(e,t){return y(),N(`svg`,dk,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`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 pk={render:fk},mk=U({default:()=>_k,render:()=>gk}),hk={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 593 593`};function gk(e,t){return y(),N(`svg`,hk,[...t[0]||=[P(`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 _k={render:gk},vk=U({default:()=>xk,render:()=>bk}),yk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function bk(e,t){return y(),N(`svg`,yk,[...t[0]||=[P(`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 xk={render:bk},Sk=U({default:()=>Tk,render:()=>wk}),Ck={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wk(e,t){return y(),N(`svg`,Ck,[...t[0]||=[P(`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 Tk={render:wk},Ek=U({default:()=>kk,render:()=>Ok}),Dk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Ok(e,t){return y(),N(`svg`,Dk,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 6.8H2m20 10.4H2`},null,-1)]])}var kk={render:Ok},Ak=U({default:()=>Nk,render:()=>Mk}),jk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Mk(e,t){return y(),N(`svg`,jk,[...t[0]||=[P(`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 Nk={render:Mk},Pk=U({default:()=>Lk,render:()=>Ik}),Fk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Ik(e,t){return y(),N(`svg`,Fk,[...t[0]||=[P(`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),P(`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 Lk={render:Ik},Rk=U({default:()=>Vk,render:()=>Bk}),zk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Bk(e,t){return y(),N(`svg`,zk,[...t[0]||=[P(`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 Vk={render:Bk},Hk=U({default:()=>Gk,render:()=>Wk}),Uk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Wk(e,t){return y(),N(`svg`,Uk,[...t[0]||=[P(`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 Gk={render:Wk},Kk=U({default:()=>Yk,render:()=>Jk}),qk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Jk(e,t){return y(),N(`svg`,qk,[...t[0]||=[P(`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 Yk={render:Jk},Xk=U({default:()=>$k,render:()=>Qk}),Zk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Qk(e,t){return y(),N(`svg`,Zk,[...t[0]||=[P(`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 $k={render:Qk},eA=U({default:()=>rA,render:()=>nA}),tA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function nA(e,t){return y(),N(`svg`,tA,[...t[0]||=[P(`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 rA={render:nA},iA=U({default:()=>sA,render:()=>oA}),aA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function oA(e,t){return y(),N(`svg`,aA,[...t[0]||=[P(`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 sA={render:oA},cA=U({default:()=>dA,render:()=>uA}),lA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function uA(e,t){return y(),N(`svg`,lA,[...t[0]||=[P(`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),P(`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),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 8h4m-4 8h4`},null,-1)]])}var dA={render:uA},fA=U({default:()=>hA,render:()=>mA}),pA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mA(e,t){return y(),N(`svg`,pA,[...t[0]||=[P(`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 hA={render:mA},gA=U({default:()=>yA,render:()=>vA}),_A={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vA(e,t){return y(),N(`svg`,_A,[...t[0]||=[P(`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),P(`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 yA={render:vA},bA=U({default:()=>CA,render:()=>SA}),xA={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function SA(e,t){return y(),N(`svg`,xA,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 5.4h20M2 12h20M2 18.6h13.3`},null,-1)]])}var CA={render:SA},wA=U({default:()=>DA,render:()=>EA}),TA={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function EA(e,t){return y(),N(`svg`,TA,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M13 15h5M6 9l4 3-4 3`},null,-1),P(`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 DA={render:EA},OA=U({default:()=>jA,render:()=>AA}),kA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function AA(e,t){return y(),N(`svg`,kA,[...t[0]||=[P(`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 jA={render:AA},MA=U({default:()=>FA,render:()=>PA}),NA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function PA(e,t){return y(),N(`svg`,NA,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`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 FA={render:PA},IA=U({default:()=>zA,render:()=>RA}),LA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function RA(e,t){return y(),N(`svg`,LA,[...t[0]||=[P(`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 zA={render:RA},BA=U({default:()=>UA,render:()=>HA}),VA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function HA(e,t){return y(),N(`svg`,VA,[...t[0]||=[P(`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 UA={render:HA},WA=U({default:()=>qA,render:()=>KA}),GA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function KA(e,t){return y(),N(`svg`,GA,[...t[0]||=[P(`path`,{d:`M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z`},null,-1),P(`circle`,{cx:`12`,cy:`6.2`,r:`4.5`},null,-1)]])}var qA={render:KA},JA=U({default:()=>ZA,render:()=>XA}),YA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function XA(e,t){return y(),N(`svg`,YA,[...t[0]||=[P(`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),P(`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 ZA={render:XA},QA=U({default:()=>tj,render:()=>ej}),$A={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(),N(`svg`,$A,[...t[0]||=[P(`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 tj={render:ej},nj=U({default:()=>aj,render:()=>ij}),rj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ij(e,t){return y(),N(`svg`,rj,[...t[0]||=[P(`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 aj={render:ij},oj=U({default:()=>lj,render:()=>cj}),sj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function cj(e,t){return y(),N(`svg`,sj,[...t[0]||=[P(`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),P(`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 lj={render:cj},uj=U({default:()=>pj,render:()=>fj}),dj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function fj(e,t){return y(),N(`svg`,dj,[...t[0]||=[P(`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 pj={render:fj},mj=U({default:()=>_j,render:()=>gj}),hj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function gj(e,t){return y(),N(`svg`,hj,[...t[0]||=[P(`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 _j={render:gj},vj=U({default:()=>xj,render:()=>bj}),yj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function bj(e,t){return y(),N(`svg`,yj,[...t[0]||=[P(`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 xj={render:bj},Sj=U({default:()=>Tj,render:()=>wj}),Cj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function wj(e,t){return y(),N(`svg`,Cj,[...t[0]||=[P(`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 Tj={render:wj},Ej=U({default:()=>kj,render:()=>Oj}),Dj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Oj(e,t){return y(),N(`svg`,Dj,[...t[0]||=[P(`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 kj={render:Oj},Aj=U({default:()=>Nj,render:()=>Mj}),jj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Mj(e,t){return y(),N(`svg`,jj,[...t[0]||=[P(`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 Nj={render:Mj},Pj=U({default:()=>Lj,render:()=>Ij}),Fj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Ij(e,t){return y(),N(`svg`,Fj,[...t[0]||=[P(`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 Lj={render:Ij},Rj=U({default:()=>Vj,render:()=>Bj}),zj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Bj(e,t){return y(),N(`svg`,zj,[...t[0]||=[P(`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),P(`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 Vj={render:Bj},Hj=U({default:()=>Gj,render:()=>Wj}),Uj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function Wj(e,t){return y(),N(`svg`,Uj,[...t[0]||=[P(`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 Gj={render:Wj},Kj=U({default:()=>Yj,render:()=>Jj}),qj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function Jj(e,t){return y(),N(`svg`,qj,[...t[0]||=[P(`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 Yj={render:Jj},Xj=U({default:()=>$j,render:()=>Qj}),Zj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function Qj(e,t){return y(),N(`svg`,Zj,[...t[0]||=[P(`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 $j={render:Qj},eM=U({default:()=>rM,render:()=>nM}),tM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function nM(e,t){return y(),N(`svg`,tM,[...t[0]||=[P(`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 rM={render:nM},iM=U({default:()=>sM,render:()=>oM}),aM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 50 50`};function oM(e,t){return y(),N(`svg`,aM,[...t[0]||=[P(`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 sM={render:oM},cM=U({default:()=>dM,render:()=>uM}),lM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function uM(e,t){return y(),N(`svg`,lM,[...t[0]||=[P(`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 dM={render:uM},fM=U({default:()=>hM,render:()=>mM}),pM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function mM(e,t){return y(),N(`svg`,pM,[...t[0]||=[P(`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 hM={render:mM},gM=U({default:()=>yM,render:()=>vM}),_M={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function vM(e,t){return y(),N(`svg`,_M,[...t[0]||=[P(`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 yM={render:vM},bM=U({default:()=>CM,render:()=>SM}),xM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function SM(e,t){return y(),N(`svg`,xM,[...t[0]||=[P(`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 CM={render:SM},wM=U({default:()=>DM,render:()=>EM}),TM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function EM(e,t){return y(),N(`svg`,TM,[...t[0]||=[P(`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),P(`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),P(`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 DM={render:EM},OM=U({default:()=>jM,render:()=>AM}),kM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function AM(e,t){return y(),N(`svg`,kM,[...t[0]||=[P(`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 jM={render:AM},MM=U({default:()=>FM,render:()=>PM}),NM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function PM(e,t){return y(),N(`svg`,NM,[...t[0]||=[P(`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),P(`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 FM={render:PM},IM=U({default:()=>zM,render:()=>RM}),LM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function RM(e,t){return y(),N(`svg`,LM,[...t[0]||=[P(`path`,{d:`M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z`},null,-1)]])}var zM={render:RM},BM=U({default:()=>UM,render:()=>HM}),VM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function HM(e,t){return y(),N(`svg`,VM,[...t[0]||=[P(`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),P(`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 UM={render:HM},WM=U({default:()=>qM,render:()=>KM}),GM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function KM(e,t){return y(),N(`svg`,GM,[...t[0]||=[P(`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),P(`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 qM={render:KM},JM=U({default:()=>ZM,render:()=>XM}),YM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function XM(e,t){return y(),N(`svg`,YM,[...t[0]||=[P(`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 ZM={render:XM},QM=U({default:()=>tN,render:()=>eN}),$M={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function eN(e,t){return y(),N(`svg`,$M,[...t[0]||=[P(`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 tN={render:eN},nN=U({default:()=>aN,render:()=>iN}),rN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 121 121`};function iN(e,t){return y(),N(`svg`,rN,[...t[0]||=[P(`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 aN={render:iN},oN=U({default:()=>lN,render:()=>cN}),sN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function cN(e,t){return y(),N(`svg`,sN,[...t[0]||=[P(`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 lN={render:cN},uN=U({default:()=>pN,render:()=>fN}),dN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function fN(e,t){return y(),N(`svg`,dN,[...t[0]||=[P(`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),P(`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 pN={render:fN},mN=U({default:()=>_N,render:()=>gN}),hN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function gN(e,t){return y(),N(`svg`,hN,[...t[0]||=[P(`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 _N={render:gN},vN=U({default:()=>xN,render:()=>bN}),yN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bN(e,t){return y(),N(`svg`,yN,[...t[0]||=[P(`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 xN={render:bN},SN=U({default:()=>TN,render:()=>wN}),CN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function wN(e,t){return y(),N(`svg`,CN,[...t[0]||=[P(`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 TN={render:wN},EN=U({default:()=>kN,render:()=>ON}),DN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 17 17`};function ON(e,t){return y(),N(`svg`,DN,[...t[0]||=[P(`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 kN={render:ON},AN=U({default:()=>NN,render:()=>MN}),jN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function MN(e,t){return y(),N(`svg`,jN,[...t[0]||=[P(`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 NN={render:MN},PN=U({default:()=>LN,render:()=>IN}),FN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function IN(e,t){return y(),N(`svg`,FN,[...t[0]||=[P(`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 LN={render:IN},RN=U({default:()=>VN,render:()=>BN}),zN={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function BN(e,t){return y(),N(`svg`,zN,[...t[0]||=[P(`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 VN={render:BN},HN=U({default:()=>GN,render:()=>WN}),UN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function WN(e,t){return y(),N(`svg`,UN,[...t[0]||=[P(`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 GN={render:WN},KN=U({default:()=>YN,render:()=>JN}),qN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function JN(e,t){return y(),N(`svg`,qN,[...t[0]||=[P(`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 YN={render:JN},XN=U({default:()=>$N,render:()=>QN}),ZN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function QN(e,t){return y(),N(`svg`,ZN,[...t[0]||=[P(`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 $N={render:QN},eP=U({default:()=>rP,render:()=>nP}),tP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function nP(e,t){return y(),N(`svg`,tP)}var rP={render:nP},iP=U({default:()=>sP,render:()=>oP}),aP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function oP(e,t){return y(),N(`svg`,aP,[...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 sP={render:oP},cP=U({default:()=>dP,render:()=>uP}),lP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function uP(e,t){return y(),N(`svg`,lP,[...t[0]||=[P(`path`,{fill:`#512BD4`,d:`M22 2H2v20h20z`},null,-1),P(`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 dP={render:uP},fP=U({default:()=>hP,render:()=>mP}),pP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mP(e,t){return y(),N(`svg`,pP,[...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 hP={render:mP},gP=U({default:()=>yP,render:()=>vP}),_P={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vP(e,t){return y(),N(`svg`,_P,[...t[0]||=[P(`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 yP={render:vP},bP=U({default:()=>CP,render:()=>SP}),xP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function SP(e,t){return y(),N(`svg`,xP,[...t[0]||=[P(`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 CP={render:SP},wP=U({default:()=>DP,render:()=>EP}),TP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function EP(e,t){return y(),N(`svg`,TP,[...t[0]||=[P(`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 DP={render:EP},OP=U({default:()=>jP,render:()=>AP}),kP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function AP(e,t){return y(),N(`svg`,kP,[...t[0]||=[P(`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),P(`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 jP={render:AP},MP=U({default:()=>FP,render:()=>PP}),NP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function PP(e,t){return y(),N(`svg`,NP,[...t[0]||=[P(`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),P(`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 FP={render:PP},IP=U({default:()=>zP,render:()=>RP}),LP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function RP(e,t){return y(),N(`svg`,LP,[...t[0]||=[P(`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 zP={render:RP},BP=U({default:()=>UP,render:()=>HP}),VP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function HP(e,t){return y(),N(`svg`,VP,[...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 UP={render:HP},WP=U({default:()=>qP,render:()=>KP}),GP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function KP(e,t){return y(),N(`svg`,GP,[...t[0]||=[P(`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 qP={render:KP},JP=U({default:()=>ZP,render:()=>XP}),YP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function XP(e,t){return y(),N(`svg`,YP,[...t[0]||=[P(`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 ZP={render:XP},QP=U({default:()=>tF,render:()=>eF}),$P={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function eF(e,t){return y(),N(`svg`,$P,[...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 tF={render:eF},nF=U({default:()=>aF,render:()=>iF}),rF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function iF(e,t){return y(),N(`svg`,rF,[...t[0]||=[P(`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 aF={render:iF},oF=U({default:()=>lF,render:()=>cF}),sF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cF(e,t){return y(),N(`svg`,sF,[...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 lF={render:cF},uF=U({default:()=>pF,render:()=>fF}),dF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function fF(e,t){return y(),N(`svg`,dF,[...t[0]||=[P(`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),P(`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 pF={render:fF},mF=U({default:()=>_F,render:()=>gF}),hF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function gF(e,t){return y(),N(`svg`,hF,[...t[0]||=[P(`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),P(`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),P(`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),P(`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 _F={render:gF},vF=U({default:()=>xF,render:()=>bF}),yF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bF(e,t){return y(),N(`svg`,yF,[...t[0]||=[P(`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 xF={render:bF},SF=U({default:()=>TF,render:()=>wF}),CF={xmlns:`http://www.w3.org/2000/svg`,fill:`green`,viewBox:`-2 0 24 24`};function wF(e,t){return y(),N(`svg`,CF,[...t[0]||=[P(`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),P(`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 TF={render:wF},EF=U({default:()=>kF,render:()=>OF}),DF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function OF(e,t){return y(),N(`svg`,DF,[...t[0]||=[P(`path`,{fill:`#41B883`,d:`m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z`},null,-1),P(`path`,{fill:`#34495E`,d:`m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z`},null,-1)]])}var kF={render:OF},AF=Object.assign({"../icons/Add.svg":rce,"../icons/AddTab.svg":oce,"../icons/Alert.svg":lce,"../icons/ArrowLeft.svg":fce,"../icons/ArrowRight.svg":hce,"../icons/Brackets.svg":vce,"../icons/Branch.svg":xce,"../icons/Changelog.svg":wce,"../icons/Checkmark.svg":eE,"../icons/ChevronDown.svg":iE,"../icons/ChevronLeft.svg":cE,"../icons/ChevronRight.svg":fE,"../icons/ChevronUp.svg":gE,"../icons/Clipboard.svg":bE,"../icons/Close.svg":wE,"../icons/CloseTab.svg":OE,"../icons/CloseTabs.svg":ME,"../icons/Cloud.svg":IE,"../icons/CodeFolder.svg":BE,"../icons/Cog.svg":WE,"../icons/Collection.svg":JE,"../icons/Cookie.svg":QE,"../icons/DarkMode.svg":nD,"../icons/Delete.svg":oD,"../icons/Discord.svg":uD,"../icons/DocsPage.svg":mD,"../icons/Download.svg":vD,"../icons/Duplicate.svg":SD,"../icons/Edit.svg":ED,"../icons/Ellipses.svg":AD,"../icons/Email.svg":PD,"../icons/Error.svg":RD,"../icons/Example.svg":HD,"../icons/ExternalLink.svg":KD,"../icons/FilterList.svg":XD,"../icons/Folder.svg":eO,"../icons/GitHub.svg":iO,"../icons/GitHubLine.svg":cO,"../icons/Globe.svg":fO,"../icons/Google.svg":gO,"../icons/Help.svg":bO,"../icons/Hide.svg":wO,"../icons/History.svg":OO,"../icons/House.svg":MO,"../icons/Import.svg":IO,"../icons/Info.svg":BO,"../icons/Key.svg":WO,"../icons/Leave.svg":JO,"../icons/LightDarkModeToggle.svg":QO,"../icons/LightMode.svg":nk,"../icons/Link.svg":ok,"../icons/Lock.svg":uk,"../icons/Logo.svg":mk,"../icons/Magic.svg":vk,"../icons/Markdown.svg":Sk,"../icons/Menu.svg":Ek,"../icons/NotAllowed.svg":Ak,"../icons/Page.svg":Pk,"../icons/Pencil.svg":Rk,"../icons/Play.svg":Hk,"../icons/Refresh.svg":Kk,"../icons/Roadmap.svg":Xk,"../icons/Scribble.svg":eA,"../icons/Search.svg":iA,"../icons/Server.svg":cA,"../icons/Settings.svg":fA,"../icons/Show.svg":gA,"../icons/Sort.svg":bA,"../icons/Terminal.svg":wA,"../icons/Trash.svg":OA,"../icons/Unlock.svg":MA,"../icons/Unwatch.svg":IA,"../icons/Upload.svg":BA,"../icons/User.svg":WA,"../icons/UserSwitch.svg":JA,"../icons/Users.svg":QA,"../icons/Versions.svg":nj,"../icons/Wallet.svg":oj,"../icons/Watch.svg":uj,"../icons/Workspace.svg":mj,"../icons/programming-framework-angular.svg":vj,"../icons/programming-framework-astro.svg":Sj,"../icons/programming-framework-laravel.svg":Ej,"../icons/programming-framework-nextdotjs.svg":Aj,"../icons/programming-framework-react.svg":Pj,"../icons/programming-framework-vuedotjs.svg":Rj,"../icons/programming-language-c.svg":Hj,"../icons/programming-language-clojure.svg":Kj,"../icons/programming-language-csharp.svg":Xj,"../icons/programming-language-css3.svg":eM,"../icons/programming-language-dart.svg":iM,"../icons/programming-language-fsharp.svg":cM,"../icons/programming-language-go.svg":fM,"../icons/programming-language-html5.svg":gM,"../icons/programming-language-http.svg":bM,"../icons/programming-language-java.svg":wM,"../icons/programming-language-javascript.svg":OM,"../icons/programming-language-json.svg":MM,"../icons/programming-language-kotlin.svg":IM,"../icons/programming-language-node.svg":BM,"../icons/programming-language-objc.svg":WM,"../icons/programming-language-ocaml.svg":JM,"../icons/programming-language-php.svg":QM,"../icons/programming-language-powershell.svg":nN,"../icons/programming-language-python.svg":oN,"../icons/programming-language-r.svg":uN,"../icons/programming-language-ruby.svg":mN,"../icons/programming-language-rust.svg":vN,"../icons/programming-language-scala.svg":SN,"../icons/programming-language-shell.svg":EN,"../icons/programming-language-swift.svg":AN,"../icons/programming-language-typescript.svg":PN,"../icons/programming-script-code.svg":RN,"../icons/programming-tool-git.svg":HN,"../icons/programming-tool-tailwindcss.svg":KN}),jF=Object.assign({"../logos/Adonisjs.svg":XN,"../logos/Astro.svg":eP,"../logos/Docusaurus.svg":iP,"../logos/Dotnet.svg":cP,"../logos/Elysiajs.svg":fP,"../logos/Express.svg":gP,"../logos/Fastapi.svg":bP,"../logos/Fastify.svg":wP,"../logos/Go.svg":OP,"../logos/Hono.svg":MP,"../logos/Laravel.svg":IP,"../logos/Litestar.svg":BP,"../logos/Nestjs.svg":WP,"../logos/Nextjs.svg":JP,"../logos/Nitro.svg":QP,"../logos/Nuxt.svg":nF,"../logos/Openapi.svg":oF,"../logos/Platformatic.svg":uF,"../logos/React.svg":mF,"../logos/Rust.svg":vF,"../logos/Svelte.svg":SF,"../logos/Vue.svg":EF}),MF=e=>{let t=`../icons/${e}.svg`;return AF[t]?AF[t]:(console.warn(`Could not find icon: ${e}`),null)},NF=e=>{let t=`../logos/${e}.svg`;return jF[t]?jF[t]:(console.warn(`Could not find icon: ${e}`),null)},PF=Nc({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`}}),FF=UT(T({inheritAttrs:!1,__name:`ScalarIcon`,props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){Qt(e=>({c07589c2:r.value}));let t=e,{cx:n}=Fc(),r=M(()=>t.thickness??`2`),i=M(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:`presentation`}),a=M(()=>{if(t.icon)return MF(t.icon);if(t.logo)return NF(t.logo)});return(t,r)=>(y(),k(x(a.value),Ke($e({...E(n)(`scalar-icon`,E(PF)({size:e.size})),...i.value})),null,16))}}),[[`__scopeId`,`data-v-b651bb23`]]),IF=T({inheritAttrs:!1,__name:`ScalarIconLegacyAdapter`,props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=Fc();return(n,r)=>typeof e.icon==`string`?(y(),k(FF,o({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,[`icon`])):(y(),k(x(e.icon),o({key:1,label:e.label,weight:e.weight},E(t)(E(PF)({size:e.size}))),null,16,[`label`,`weight`]))}}),LF={class:`circular-loader`},RF=UT(T({inheritAttrs:!1,__name:`ScalarLoading`,props:{loader:{},size:{}},setup(e){let{cx:t}=Fc(),n=Nc({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(),N(`div`,Ke(o({key:0},E(t)(`loader-wrapper`,E(n)({size:e.size})))),[(y(),N(`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),P(`g`,LF,[P(`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)):A(``,!0)}}),[[`__scopeId`,`data-v-27df5cd8`]]),zF={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`]},BF={key:3,class:`centered`},VF=T({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=Nc({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:zF},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=Nc({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=Nc({variants:{size:{xs:`size-4`,sm:`size-5`,md:`size-6`}}}),{cx:i}=Fc();return(a,s)=>(y(),k(x(e.is),o({"aria-disabled":e.disabled||void 0,type:e.is===`button`?`button`:void 0},E(i)(E(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:D(()=>[a.$slots.icon||e.icon?(y(),N(`div`,{key:0,class:v([E(n)({size:e.size}),{invisible:e.loader?.isActive}])},[S(a.$slots,`icon`,{},()=>[(y(),k(x(e.icon),{class:`size-full`}))])],2)):A(``,!0),e.loader?(y(),N(`span`,{key:1,class:v({invisible:e.loader?.isActive})},[S(a.$slots,`default`)],2)):S(a.$slots,`default`,{key:2}),e.loader?.isActive?(y(),N(`div`,BF,[O(E(RF),{class:v(E(r)({size:e.size})),loader:e.loader},null,8,[`class`,`loader`])])):A(``,!0)]),_:3},16,[`aria-disabled`,`type`]))}});function HF(e){return e?.options!==void 0}function UF(e){return e[0]?HF(e[0]):!1}var WF=((e,t)=>e===``?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()))),GF=T({__name:`ScalarListboxCheckbox`,props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(y(),N(`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(),k(E(Ma),{key:0,class:`size-3`,weight:`bold`})):A(``,!0)],2))}}),KF=[`aria-selected`],qF=T({__name:`ScalarComboboxOption`,props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=Nc({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(),N(`li`,{"aria-selected":e.selected,class:v(E(Pc)(E(t)({active:e.active,selected:e.selected}))),role:`option`,tabindex:`-1`},[S(n.$slots,`default`,{active:e.active,selected:e.selected})],10,KF))}}),JF=[`id`,`aria-labelledby`,`role`],YF=[`id`],XF=T({__name:`ScalarComboboxOptionGroup`,props:{id:{default:()=>be()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(y(),N(`div`,{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:`contents`,role:e.hidden?void 0:`group`},[e.hidden?A(``,!0):(y(),N(`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,YF)),S(t.$slots,`default`)],8,JF))}}),ZF={class:`relative flex`},QF=[`aria-activedescendant`,`placeholder`],$F=[`aria-multiselectable`],eI={class:`inline-block min-w-0 flex-1 truncate text-c-1`},tI=T({inheritAttrs:!1,__name:`ScalarComboboxOptions`,props:Fe({options:{},placeholder:{},filterFn:{type:Function,default:WF},multiselect:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:Fe([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=ce(e,`modelValue`),i=a(),o=`scalar-combobox-items-${be()}`,s={id:`${be()}-add`,label:`Add a new option`};function c(e){return`${o}-${e.id}`}let l=M(()=>UF(e.options)?e.options.flatMap(e=>e.options):e.options),u=M(()=>UF(e.options)?e.options:[{label:``,options:e.options}]),d=j(``),f=j(r.value?.[0]??l.value[0]);le(()=>{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=M(()=>e.filterFn(d.value,l.value,u.value)),m=M(()=>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=j(null);return le(()=>setTimeout(()=>b.value?.focus(),0)),(t,n)=>(y(),N(Me,null,[P(`div`,ZF,[O(E(bo),{class:`pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4`}),Ue(P(`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]||=Rn(In(e=>g(1),[`prevent`]),[`down`]),n[2]||=Rn(In(e=>f.value&&h(f.value),[`prevent`]),[`enter`]),n[3]||=Rn(In(e=>g(-1),[`prevent`]),[`up`])]},null,40,QF),[[On,d.value]])]),Ue(P(`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),N(Me,null,_(u.value,(i,a)=>(y(),k(XF,{id:`${o}-group-${a}`,key:a,hidden:!i.options.some(e=>p.value.some(t=>t.id===e.id))||!i.label},{label:D(()=>[t.$slots.group?S(t.$slots,`group`,{key:0,group:i}):(y(),N(Me,{key:1},[tt(ye(i.label),1)],64))]),default:D(()=>[(y(!0),N(Me,null,_(p.value,a=>(y(),N(Me,{key:a.id},[i.options.some(e=>e.id===a.id)?(y(),k(qF,{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]||=In(()=>{},[`prevent`]),onMouseenter:e=>f.value=a},{default:D(({active:n,selected:i})=>[t.$slots.option?S(t.$slots,`option`,{key:0,active:n,option:a,selected:i}):(y(),N(Me,{key:1},[O(E(GF),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===a.id)},null,8,[`multiselect`,`selected`]),P(`span`,eI,ye(a.label),1)],64))]),_:2},1032,[`id`,`active`,`selected`,`onClick`,`onMouseenter`])):A(``,!0)],64))),128))]),_:2},1032,[`id`,`hidden`]))),128)),i.add?(y(),k(qF,{key:0,id:c(s),active:f.value?.id===s.id,onClick:v,onMousedown:n[5]||=In(()=>{},[`prevent`]),onMouseenter:n[6]||=e=>f.value=s},{default:D(({active:e})=>[O(E(Po),{class:`size-4 p-px`}),S(t.$slots,`add`,{active:e})]),_:3},8,[`id`,`active`])):A(``,!0)],8,$F),[[Yt,p.value.length||i.add]])],64))}}),nI=Symbol(),rI=()=>f(nI,`body`),iI=e=>{let t=e??`scalar-teleport-${be()}`;return fe(nI,`#${t}`),t},aI=T({inheritAttrs:!1,__name:`ScalarTeleport`,props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=rI();return(n,r)=>(y(),k(He,{defer:!e.immediate,disabled:e.disabled,to:e.to||E(t)},[P(`div`,o({class:`scalar-app`,style:{display:`contents`}},n.$attrs),[S(n.$slots,`default`)],16)],8,[`defer`,`disabled`,`to`]))}});function oI(e,t={enabled:j(!0)}){let n=j(0),r=j(0),i=j();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:M(()=>d(t.enabled)?`${n.value}px`:void 0),height:M(()=>d(t.enabled)?`${r.value}px`:void 0)}}var sI=[`top`,`right`,`bottom`,`left`],cI=Math.min,lI=Math.max,uI=Math.round,dI=Math.floor,fI=e=>({x:e,y:e}),pI={left:`right`,right:`left`,bottom:`top`,top:`bottom`},mI={start:`end`,end:`start`};function hI(e,t,n){return lI(e,cI(t,n))}function gI(e,t){return typeof e==`function`?e(t):e}function _I(e){return e.split(`-`)[0]}function vI(e){return e.split(`-`)[1]}function yI(e){return e===`x`?`y`:`x`}function bI(e){return e===`y`?`height`:`width`}var xI=new Set([`top`,`bottom`]);function SI(e){return xI.has(_I(e))?`y`:`x`}function CI(e){return yI(SI(e))}function wI(e,t,n){n===void 0&&(n=!1);let r=vI(e),i=CI(e),a=bI(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=NI(o)),[o,NI(o)]}function TI(e){let t=NI(e);return[EI(e),t,EI(t)]}function EI(e){return e.replace(/start|end/g,e=>mI[e])}var DI=[`left`,`right`],OI=[`right`,`left`],kI=[`top`,`bottom`],AI=[`bottom`,`top`];function jI(e,t,n){switch(e){case`top`:case`bottom`:return n?t?OI:DI:t?DI:OI;case`left`:case`right`:return t?kI:AI;default:return[]}}function MI(e,t,n,r){let i=vI(e),a=jI(_I(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(EI)))),a}function NI(e){return e.replace(/left|right|bottom|top/g,e=>pI[e])}function PI(e){return{top:0,right:0,bottom:0,left:0,...e}}function FI(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:PI(e)}function II(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 LI(e,t,n){let{reference:r,floating:i}=e,a=SI(t),o=CI(t),s=bI(o),c=_I(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(vI(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var RI=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}=LI(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}=LI(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function zI(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}=gI(t,e),p=FI(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=II(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=II(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 BI=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}=gI(e,t)||{};if(l==null)return{};let d=FI(u),f={x:n,y:r},p=CI(i),m=bI(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=cI(d[_],ne),ie=cI(d[v],ne),ae=re,oe=te-h[m]-ie,C=te/2-h[m]/2+S,se=hI(ae,C,oe),w=!c.arrow&&vI(i)!=null&&C!==se&&a.reference[m]/2-(C<ae?re:ie)-h[m]/2<0,ce=w?C<ae?C-ae:C-oe:0;return{[p]:f[p]+ce,data:{[p]:se,centerOffset:C-se-ce,...w&&{alignmentOffset:ce}},reset:w}}}),VI=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}=gI(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=_I(r),_=SI(o),v=_I(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[NI(o)]:TI(o)),ee=p!==`none`;!d&&ee&&b.push(...MI(o,m,p,y));let x=[o,...b],te=await zI(t,h),S=[],ne=i.flip?.overflows||[];if(l&&S.push(te[g]),u){let e=wI(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`&&_!==SI(t))||ne.every(e=>SI(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=SI(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 HI(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function UI(e){return sI.some(t=>e[t]>=0)}var WI=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=gI(e,t);switch(r){case`referenceHidden`:{let e=HI(await zI(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:UI(e)}}}case`escaped`:{let e=HI(await zI(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:UI(e)}}}default:return{}}}}},GI=new Set([`left`,`top`]);async function KI(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=_I(n),s=vI(n),c=SI(n)===`y`,l=GI.has(o)?-1:1,u=a&&c?-1:1,d=gI(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 qI=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 KI(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}}}}},JI=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}=gI(e,t),l={x:n,y:r},u=await zI(t,c),d=SI(_I(i)),f=yI(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=hI(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=hI(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}}}}}},YI=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}=gI(e,t),u={x:n,y:r},d=SI(i),f=yI(d),p=u[f],m=u[d],h=gI(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=GI.has(_I(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}}}},XI=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}=gI(e,t),u=await zI(t,l),d=_I(i),f=vI(i),p=SI(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=cI(h-u[g],v),ee=cI(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=lI(u.left,0),t=lI(u.right,0),n=lI(u.top,0),r=lI(u.bottom,0);p?S=m-2*(e!==0||t!==0?e+t:lI(u.left,u.right)):te=h-2*(n!==0||r!==0?n+r:lI(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 ZI(){return typeof window<`u`}function QI(e){return tL(e)?(e.nodeName||``).toLowerCase():`#document`}function $I(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function eL(e){return((tL(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function tL(e){return ZI()?e instanceof Node||e instanceof $I(e).Node:!1}function nL(e){return ZI()?e instanceof Element||e instanceof $I(e).Element:!1}function rL(e){return ZI()?e instanceof HTMLElement||e instanceof $I(e).HTMLElement:!1}function iL(e){return!ZI()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof $I(e).ShadowRoot}var aL=new Set([`inline`,`contents`]);function oL(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=yL(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!aL.has(i)}var sL=new Set([`table`,`td`,`th`]);function cL(e){return sL.has(QI(e))}var lL=[`:popover-open`,`:modal`];function uL(e){return lL.some(t=>{try{return e.matches(t)}catch{return!1}})}var dL=[`transform`,`translate`,`scale`,`rotate`,`perspective`],fL=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],pL=[`paint`,`layout`,`strict`,`content`];function mL(e){let t=gL(),n=nL(e)?yL(e):e;return dL.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)||fL.some(e=>(n.willChange||``).includes(e))||pL.some(e=>(n.contain||``).includes(e))}function hL(e){let t=xL(e);for(;rL(t)&&!vL(t);){if(mL(t))return t;if(uL(t))return null;t=xL(t)}return null}function gL(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var _L=new Set([`html`,`body`,`#document`]);function vL(e){return _L.has(QI(e))}function yL(e){return $I(e).getComputedStyle(e)}function bL(e){return nL(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xL(e){if(QI(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||iL(e)&&e.host||eL(e);return iL(t)?t.host:t}function SL(e){let t=xL(e);return vL(t)?e.ownerDocument?e.ownerDocument.body:e.body:rL(t)&&oL(t)?t:SL(t)}function CL(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=SL(e),i=r===e.ownerDocument?.body,a=$I(r);if(i){let e=wL(a);return t.concat(a,a.visualViewport||[],oL(r)?r:[],e&&n?CL(e):[])}return t.concat(r,CL(r,[],n))}function wL(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function TL(e){let t=yL(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=rL(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=uI(n)!==a||uI(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function EL(e){return nL(e)?e:e.contextElement}function DL(e){let t=EL(e);if(!rL(t))return fI(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=TL(t),o=(a?uI(n.width):n.width)/r,s=(a?uI(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var OL=fI(0);function kL(e){let t=$I(e);return!gL()||!t.visualViewport?OL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AL(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==$I(e)?!1:t}function jL(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=EL(e),o=fI(1);t&&(r?nL(r)&&(o=DL(r)):o=DL(e));let s=AL(a,n,r)?kL(a):fI(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=$I(a),t=r&&nL(r)?$I(r):r,n=e,i=wL(n);for(;i&&r&&t!==n;){let e=DL(i),t=i.getBoundingClientRect(),r=yL(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=$I(i),i=wL(n)}}return II({width:u,height:d,x:c,y:l})}function ML(e,t){let n=bL(e).scrollLeft;return t?t.left+n:jL(eL(e)).left+n}function NL(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ML(e,n),y:n.top+t.scrollTop}}function PL(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=eL(r),s=t?uL(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=fI(1),u=fI(0),d=rL(r);if((d||!d&&!a)&&((QI(r)!==`body`||oL(o))&&(c=bL(r)),rL(r))){let e=jL(r);l=DL(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?NL(o,c):fI(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 FL(e){return Array.from(e.getClientRects())}function IL(e){let t=eL(e),n=bL(e),r=e.ownerDocument.body,i=lI(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=lI(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+ML(e),s=-n.scrollTop;return yL(r).direction===`rtl`&&(o+=lI(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var LL=25;function RL(e,t){let n=$I(e),r=eL(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=gL();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=ML(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<=LL&&(a-=o)}else l<=LL&&(a+=l);return{width:a,height:o,x:s,y:c}}var zL=new Set([`absolute`,`fixed`]);function BL(e,t){let n=jL(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=rL(e)?DL(e):fI(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function VL(e,t,n){let r;if(t===`viewport`)r=RL(e,n);else if(t===`document`)r=IL(eL(e));else if(nL(t))r=BL(t,n);else{let n=kL(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return II(r)}function HL(e,t){let n=xL(e);return n===t||!nL(n)||vL(n)?!1:yL(n).position===`fixed`||HL(n,t)}function UL(e,t){let n=t.get(e);if(n)return n;let r=CL(e,[],!1).filter(e=>nL(e)&&QI(e)!==`body`),i=null,a=yL(e).position===`fixed`,o=a?xL(e):e;for(;nL(o)&&!vL(o);){let t=yL(o),n=mL(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&zL.has(i.position)||oL(o)&&!n&&HL(e,o))?r=r.filter(e=>e!==o):i=t,o=xL(o)}return t.set(e,r),r}function WL(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?uL(t)?[]:UL(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=VL(t,n,i);return e.top=lI(r.top,e.top),e.right=cI(r.right,e.right),e.bottom=cI(r.bottom,e.bottom),e.left=lI(r.left,e.left),e},VL(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function GL(e){let{width:t,height:n}=TL(e);return{width:t,height:n}}function KL(e,t,n){let r=rL(t),i=eL(t),a=n===`fixed`,o=jL(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=fI(0);function l(){c.x=ML(i)}if(r||!r&&!a)if((QI(t)!==`body`||oL(i))&&(s=bL(t)),r){let e=jL(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?NL(i,s):fI(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 qL(e){return yL(e).position===`static`}function JL(e,t){if(!rL(e)||yL(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return eL(e)===n&&(n=n.ownerDocument.body),n}function YL(e,t){let n=$I(e);if(uL(e))return n;if(!rL(e)){let t=xL(e);for(;t&&!vL(t);){if(nL(t)&&!qL(t))return t;t=xL(t)}return n}let r=JL(e,t);for(;r&&cL(r)&&qL(r);)r=JL(r,t);return r&&vL(r)&&qL(r)&&!mL(r)?n:r||hL(e)||n}var XL=async function(e){let t=this.getOffsetParent||YL,n=this.getDimensions,r=await n(e.floating);return{reference:KL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ZL(e){return yL(e).direction===`rtl`}var QL={convertOffsetParentRelativeRectToViewportRelativeRect:PL,getDocumentElement:eL,getClippingRect:WL,getOffsetParent:YL,getElementRects:XL,getClientRects:FL,getDimensions:GL,getScale:DL,isElement:nL,isRTL:ZL};function $L(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eR(e,t){let n=null,r,i=eL(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=dI(d),h=dI(i.clientWidth-(u+f)),g=dI(i.clientHeight-(d+p)),_=dI(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:lI(0,cI(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&&!$L(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 tR(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=EL(e),u=i||a?[...l?CL(l):[],...CL(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?eR(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?jL(e):null;c&&g();function g(){let t=jL(e);h&&!$L(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 nR=qI,rR=JI,iR=VI,aR=XI,oR=WI,sR=BI,cR=YI,lR=(e,t,n)=>{let r=new Map,i={platform:QL,...n},a={...i.platform,_c:r};return RI(e,t,{...i,platform:a})};function uR(e){return typeof e==`object`&&!!e&&`$el`in e}function dR(e){if(uR(e)){let t=e.$el;return tL(t)&&QI(t)===`#comment`?null:t}return e}function fR(e){return typeof e==`function`?e():E(e)}function pR(e){return{name:`arrow`,options:e,fn(t){let n=dR(fR(e.element));return n==null?{}:sR({element:n,padding:e.padding}).fn(t)}}}function mR(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hR(e,t){let n=mR(e);return Math.round(t*n)/n}function gR(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=M(()=>fR(n.open)??!0),a=M(()=>fR(n.middleware)),o=M(()=>fR(n.placement)??`bottom`),s=M(()=>fR(n.strategy)??`absolute`),c=M(()=>fR(n.transform)??!0),l=M(()=>dR(e.value)),u=M(()=>dR(t.value)),d=j(0),f=j(0),p=j(s.value),m=j(o.value),h=nt({}),g=j(!1),_=M(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=hR(u.value,d.value),n=hR(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...mR(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;lR(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`}),Le()&&We(b),{x:Qe(d),y:Qe(f),strategy:Qe(p),placement:Qe(m),middlewareData:Qe(h),isPositioned:Qe(g),floatingStyles:_,update:y}}var _R=T({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=j(null),r=j(null),i=M(()=>{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=oI(i,{enabled:M(()=>e.resize)}),o=M(()=>SI(e.placement??`bottom`)===`y`?a.width.value:void 0),s=M(()=>SI(e.placement??`bottom`)===`x`?a.height.value:void 0),{floatingStyles:c,middlewareData:l}=gR(i,n,{placement:M(()=>e.placement??`bottom`),whileElementsMounted:tR,middleware:M(()=>[nR(e.offset),iR({padding:48}),rR({padding:8}),aR({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(),N(Me,null,[P(`div`,{ref_key:`wrapperRef`,ref:r,class:v({contents:!!t.$slots.default})},[S(t.$slots,`default`)],2),t.$slots.floating?(y(),k(E(aI),{key:0,disabled:!e.teleport,to:typeof e.teleport==`string`?e.teleport:void 0},{default:D(()=>[P(`div`,{ref_key:`floatingRef`,ref:n,class:`relative z-context`,style:te(E(c))},[S(t.$slots,`floating`,{data:E(l),height:s.value,width:o.value})],4)]),_:3},8,[`disabled`,`to`])):A(``,!0)],64))}}),vR=T({inheritAttrs:!1,__name:`ScalarFloatingBackdrop`,setup(e){let{cx:t}=Fc();return(e,n)=>(y(),N(`div`,Ke($e(E(t)(`absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted`))),[S(e.$slots,`default`)],16))}}),yR=T({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}=Fc(),r=j(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(),k(E(Ca),{as:`template`},{default:D(({open:t})=>[O(E(_R),Ke($e(e.$props)),Se({default:D(()=>[O(E(wa),{ref_key:`popoverButtonRef`,ref:r,as:`template`,onKeydown:i},{default:D(()=>[S(e.$slots,`default`,{open:t})]),_:2},1536)]),_:2},[t?{name:`floating`,fn:D(({width:r})=>[O(E(Ta),o({style:{width:r}},E(n)(`relative flex flex-col max-h-[inherit] w-40 rounded text-sm`)),{default:D(({close:n})=>[S(e.$slots,`popover`,{close:n,open:t}),O(E(vR))]),_:2},1040,[`style`])]),key:`0`}:void 0]),1040)]),_:3}))}}),bR=T({__name:`ScalarCombobox`,props:Fe({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:Fe([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=ce(e,`modelValue`);return(t,i)=>(y(),k(yR,{middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:D(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:D(({open:i,close:a})=>[O(tI,{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])},Se({_:2},[t.$slots.option?{name:`option`,fn:D(e=>[S(t.$slots,`option`,Ke($e(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:D(e=>[S(t.$slots,`group`,Ke($e(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:D(e=>[S(t.$slots,`add`,Ke($e(e)))]),key:`2`}:void 0]),1032,[`filterFn`,`modelValue`,`open`,`options`,`placeholder`,`onAdd`,`onUpdate:modelValue`])]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),xR=T({__name:`ScalarComboboxMultiselect`,props:Fe({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:[]},modelModifiers:{}}),emits:Fe([`add`],[`update:modelValue`]),setup(e,{expose:t,emit:n}){let r=n,i=ce(e,`modelValue`),a=j(null);return t({comboboxPopoverRef:a}),(t,n)=>(y(),k(yR,{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:D(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:D(({open:a})=>[e.options?.length?(y(),k(tI,{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`)},Se({_:2},[t.$slots.option?{name:`option`,fn:D(e=>[S(t.$slots,`option`,Ke($e(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:D(e=>[S(t.$slots,`group`,Ke($e(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:D(e=>[S(t.$slots,`add`,Ke($e(e)))]),key:`2`}:void 0]),1032,[`modelValue`,`filterFn`,`open`,`options`,`placeholder`])):A(``,!0)]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),SR={class:`custom-scroll min-h-0 flex-1`},CR={class:`flex flex-col p-0.75`},wR=T({inheritAttrs:!1,__name:`ScalarDropdownMenu`,props:{is:{}},setup(e){let{cx:t}=Fc();return(n,r)=>(y(),k(x(e.is??`div`),Ke($e(E(t)(`relative flex w-56`))),{default:D(()=>[P(`div`,SR,[S(n.$slots,`menu`,{},()=>[P(`div`,CR,[S(n.$slots,`default`)])]),S(n.$slots,`backdrop`,{},()=>[O(E(vR))])])]),_:3},16))}}),TR=Symbol();function ER(){let e=j();return fe(TR,e),{active:e}}function DR(){let e=f(TR);return e||console.warn(`useDropdownItem must be used within a ScalarDropdown`),{active:e}}function OR(e){return Le()?(We(e),!0):!1}var kR=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var AR=e=>e!=null,jR=Object.prototype.toString,MR=e=>jR.call(e)===`[object Object]`,NR=()=>{},PR=FR();function FR(){return kR&&(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 IR(...e){if(e.length!==1)return et(...e);let t=e[0];return typeof t==`function`?je(Je(()=>({get:t,set:NR}))):j(t)}function LR(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 RR=e=>e();function zR(e,t={}){let n,r,i=NR,a=e=>{clearTimeout(e),i(),i=NR},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 BR(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function VR(e){return Array.isArray(e)?e:[e]}function HR(e,t=200,n={}){return LR(zR(t,n),e)}function UR(e,t,n={}){let{eventFilter:r=RR,...i}=n;return Xe(e,LR(r,t),i)}function WR(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,kR&&l()),OR(c),{isPending:Qe(a),start:l,stop:c}}function GR(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return UR(e,t,{...a,eventFilter:zR(r,{maxWait:i})})}function KR(e,t,n){return Xe(e,t,{...n,immediate:!0})}var qR=kR?window:void 0,JR=kR?window.document:void 0,YR=kR?window.navigator:void 0;kR&&window.location;function XR(e){let t=d(e);return t?.$el??t}function ZR(...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=M(()=>{let t=VR(d(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=KR(()=>[i.value?.map(e=>XR(e))??[qR].filter(e=>e!=null),VR(d(i.value?e[1]:e[0])),VR(E(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=MR(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return OR(n),()=>{a(),n()}}var QR=!1;function $R(e,t,n={}){let{window:r=qR,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:NR,cancel:NR,trigger:NR}:NR;if(PR&&!QR){QR=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,NR,e)),r.document.documentElement.addEventListener(`click`,NR,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=XR(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=XR(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=[ZR(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),ZR(r,`pointerdown`,t=>{let n=XR(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&ZR(r,`blur`,n=>{setTimeout(()=>{let i=XR(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 ez(){let e=nt(!1),t=u();return t&&le(()=>{e.value=!0},t),e}function tz(e){let t=ez();return M(()=>(t.value,!!e()))}function nz(e,t,n={}){let{window:r=qR,...i}=n,a,o=tz(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Xe(M(()=>{let t=VR(d(e)).map(XR).filter(AR);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 OR(u),{isSupported:o,stop:u,takeRecords:l}}function rz(e,t,n={}){let{window:r=qR,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return NR;let o,s=e=>{o?.(),o=e},c=Ve(()=>{let n=XR(e);if(n){let{stop:e}=nz(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 OR(l),l}function iz(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function az(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=qR,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=iz(t);return ZR(i,a,e=>{e.repeat&&d(s)||c(e)&&n(e)},o)}function oz(e={}){let{window:t=qR,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};ZR(t,`blur`,e=>{e.relatedTarget===null&&s()},e),ZR(t,`focus`,s,e)}return r&&rz(o,s,{document:i}),s(),o}function sz(e,t={}){let{controls:n=!1,navigator:r=YR}=t,i=tz(()=>r&&`permissions`in r),a=nt(),o=typeof e==`string`?{name:e}:e,s=nt(),c=()=>{s.value=a.value?.state??`prompt`};ZR(a,`change`,c,{passive:!0});let l=BR(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 Te(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function cz(e={}){let{navigator:t=YR,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=tz(()=>t&&`clipboard`in t),s=sz(`clipboard-read`),c=sz(`clipboard-write`),l=M(()=>o.value||a),u=nt(``),f=nt(!1),p=WR(()=>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&&ZR([`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 lz(e,t,n={}){let{window:r=qR,...i}=n,a,o=tz(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Xe(M(()=>{let t=d(e);return Array.isArray(t)?t.map(e=>XR(e)):[XR(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 OR(l),{isSupported:o,stop:l}}function uz(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=qR}=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?(ZR(e,`mouseenter`,()=>c(!0),{passive:!0}),ZR(e,`mouseleave`,()=>c(!1),{passive:!0}),i&&rz(M(()=>XR(e)),()=>c(!1)),o):o}function dz(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:a=0,window:o=qR,immediate:s=!0}=n,c=tz(()=>o&&`IntersectionObserver`in o),l=M(()=>VR(d(e)).map(XR).filter(AR)),u=NR,f=nt(s),p=c.value?Xe(()=>[l.value,XR(r),f.value],([e,n])=>{if(u(),!f.value||!e.length)return;let r=new IntersectionObserver(t,{root:XR(n),rootMargin:i,threshold:a});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=NR}},{immediate:s,flush:`post`}):NR,m=()=>{u(),p(),f.value=!1};return OR(m),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:m}}function fz(e=null,t={}){let{baseUrl:n=``,rel:r=`icon`,document:i=JR}=t,a=IR(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 pz=`focusin`,mz=`focusout`,hz=`:focus-within`;function gz(e,t={}){let{window:n=qR}=t,r=M(()=>XR(e)),i=nt(!1),a=M(()=>i.value);if(!n||!oz(t).value)return{focused:a};let o={passive:!0};return ZR(r,pz,()=>i.value=!0,o),ZR(r,mz,()=>{var e;return i.value=((e=r.value)?.matches)?.call(e,hz)??!1},o),{focused:a}}function _z(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function vz(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:vz(t)}}function yz(e){let t=e||window.event,n=t.target;return vz(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var bz=new WeakMap;function xz(e,t=!1){let n=nt(t),r=null,i=``;Xe(IR(e),e=>{let t=_z(d(e));if(t){let e=t;if(bz.get(e)||bz.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=_z(d(e));!t||n.value||(PR&&(r=ZR(t,`touchmove`,e=>{yz(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},o=()=>{let t=_z(d(e));!t||!n.value||(PR&&r?.(),t.style.overflow=i,bz.delete(t),n.value=!1)};return OR(o),M({get(){return n.value},set(e){e?a():o()}})}var Sz=[`id`,`aria-activedescendant`,`aria-labelledby`,`onKeydown`],Cz=T({inheritAttrs:!1,__name:`ScalarDropdown`,props:Fe({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=j(),n=j(),r=ce(e,`open`),{active:i}=ER(),a=be(),s=j(a),c=be();async function l(){r.value=!r.value,await Ne(),r.value&&n.value?.focus()}async function u(e){if([`ArrowDown`,`ArrowUp`,` `,`Enter`].includes(e.key))e.preventDefault();else return;r.value||=!0,await Ne(),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)}$R(n,d,{ignore:[M(()=>t.value?.targetRef)]});let{cx:m}=Fc();return(a,l)=>(y(),k(E(_R),o({ref_key:`floatingRef`,ref:t},a.$props,{placement:e.placement??`bottom-start`}),Se({default:D(()=>[S(a.$slots,`default`,{open:r.value})]),_:2},[r.value?{name:`floating`,fn:D(({width:e})=>[O(wR,o({style:{width:e}},E(m)(`max-h-[inherit] max-w-[inherit]`)),{menu:D(()=>[P(`div`,{id:E(c),ref_key:`menuRef`,ref:n,"aria-activedescendant":E(i),"aria-labelledby":s.value,class:`flex flex-col p-0.75 outline-none`,role:`menu`,tabindex:`-1`,onClick:In(d,[`stop`]),onKeydown:[l[0]||=Rn(In(e=>p(1),[`prevent`,`stop`]),[`down`]),Rn(In(f,[`prevent`,`stop`]),[`enter`]),Rn(In(d,[`prevent`,`stop`]),[`escape`]),Rn(In(f,[`prevent`,`stop`]),[`space`]),Rn(In(d,[`prevent`,`stop`]),[`tab`]),l[1]||=Rn(In(e=>p(-1),[`prevent`,`stop`]),[`up`])]},[S(a.$slots,`items`,{open:r.value})],40,Sz)]),_:3},16,[`style`])]),key:`0`}:void 0]),1040,[`placement`]))}}),wz=UT(T({__name:`ScalarDropdownButton`,props:{is:{default:`button`},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=Nc({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(),k(x(e.is),{"aria-disabled":e.disabled,class:v([`item`,E(Pc)(`scalar-dropdown-item`,E(t)({active:e.active,disabled:e.disabled}))]),type:e.is===`button`?`button`:void 0},{default:D(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-disabled`,`class`,`type`]))}}),[[`__scopeId`,`data-v-f5e0d3d8`]]),Tz={},Ez={class:`-mx-0.75 my-0.75 h-border bg-border`};function Dz(e,t,n,r,i,a){return y(),N(`div`,Ez)}var Oz=UT(Tz,[[`render`,Dz]]),kz=UT(T({__name:`ScalarDropdownItem`,props:{id:{default:()=>be()},disabled:{type:Boolean}},emits:[`click`],setup(e){let{active:t}=DR();return(n,r)=>(y(),k(wz,{id:e.id,active:E(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:D(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`active`,`disabled`]))}}),[[`__scopeId`,`data-v-3402682d`]]),Az={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`},jz={class:`text-c-1 whitespace-nowrap`},Mz={class:`text-c-1 overflow-hidden text-ellipsis`},Nz={class:`overflow-hidden text-ellipsis`},Pz={class:`flex h-4 w-4 items-center justify-center`},Fz=T({__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=M(()=>n.value??[]),a=j(!1),o=j(``),s=j(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&&Ne(()=>{s.value?.focus()})});let f=M(()=>n.modelValue===void 0?n.default:n.modelValue),p=M(()=>i.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),m=M(()=>{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(),N(`div`,Az,[e.type===`array`?(y(),k(E(xR),{key:0,modelValue:m.value,options:p.value,"onUpdate:modelValue":h},{default:D(()=>[O(E(VF),{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:D(()=>[P(`span`,jz,ye(m.value.length>0?m.value.map(e=>e.label).join(`, `):`Select a value`),1),O(E(FF),{class:`min-w-4`,icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])):a.value?Ue((y(),N(`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:Rn(l,[`enter`])},null,544)),[[On,o.value]]):(y(),k(E(Cz),{key:2,resize:``,value:f.value},{items:D(()=>[(y(!0),N(Me,null,_(i.value,e=>(y(),k(E(kz),{key:e,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,value:e,onClick:t=>c(e)},{default:D(()=>[P(`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`])},[O(E(FF),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),P(`span`,Nz,ye(e),1)]),_:2},1032,[`value`,`onClick`]))),128)),e.canAddCustomValue?(y(),N(Me,{key:0},[i.value.length?(y(),k(E(Oz),{key:0})):A(``,!0),O(E(kz),{class:`flex items-center gap-1.5`,onClick:n[1]||=e=>a.value=!0},{default:D(()=>[P(`div`,Pz,[O(E(FF),{icon:`Add`,size:`sm`})]),n[2]||=P(`span`,null,`Add value`,-1)]),_:1})],64)):A(``,!0)]),default:D(()=>[O(E(VF),{class:`size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none`,variant:`ghost`},{default:D(()=>[P(`span`,Mz,ye(f.value??`Select a value`),1),O(E(FF),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`value`]))]))}});function Iz(e){return Array.isArray?Array.isArray(e):qz(e)===`[object Array]`}var Lz=1/0;function Rz(e){if(typeof e==`string`)return e;let t=e+``;return t==`0`&&1/e==-Lz?`-0`:t}function zz(e){return e==null?``:Rz(e)}function Bz(e){return typeof e==`string`}function Vz(e){return typeof e==`number`}function Hz(e){return e===!0||e===!1||Wz(e)&&qz(e)==`[object Boolean]`}function Uz(e){return typeof e==`object`}function Wz(e){return Uz(e)&&e!==null}function Gz(e){return e!=null}function Kz(e){return!e.trim().length}function qz(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Jz=`Incorrect 'index' type`,Yz=e=>`Invalid value for key ${e}`,Xz=e=>`Pattern length exceeds max of ${e}.`,Zz=e=>`Missing ${e} property in key`,Qz=e=>`Property 'weight' in key '${e}' must be a positive integer`,$z=Object.prototype.hasOwnProperty,eB=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=tB(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 tB(e){let t=null,n=null,r=null,i=1,a=null;if(Bz(e)||Iz(e))r=e,t=nB(e),n=rB(e);else{if(!$z.call(e,`name`))throw Error(Zz(`name`));let o=e.name;if(r=o,$z.call(e,`weight`)&&(i=e.weight,i<=0))throw Error(Qz(o));t=nB(o),n=rB(o),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function nB(e){return Iz(e)?e:e.split(`.`)}function rB(e){return Iz(e)?e.join(`.`):e}function iB(e,t){let n=[],r=!1,i=(e,t,a)=>{if(Gz(e))if(!t[a])n.push(e);else{let o=e[t[a]];if(!Gz(o))return;if(a===t.length-1&&(Bz(o)||Vz(o)||Hz(o)))n.push(zz(o));else if(Iz(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,Bz(t)?t.split(`.`):t,0),r?n:n[0]}var aB={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},oB={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},sB={location:0,threshold:.6,distance:100},cB={useExtendedSearch:!1,getFn:iB,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},lB={...oB,...aB,...sB,...cB},uB=/[^ ]+/g;function dB(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=t.match(uB).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 fB=class{constructor({getFn:e=lB.getFn,fieldNormWeight:t=lB.fieldNormWeight}={}){this.norm=dB(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,Bz(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();Bz(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(!Gz(e)||Kz(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(Gz(i)){if(Iz(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:n,value:r}=t.pop();if(Gz(r))if(Bz(r)&&!Kz(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Iz(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}n.$[r]=e}else if(Bz(i)&&!Kz(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 pB(e,t,{getFn:n=lB.getFn,fieldNormWeight:r=lB.fieldNormWeight}={}){let i=new fB({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(tB)),i.setSources(t),i.create(),i}function mB(e,{getFn:t=lB.getFn,fieldNormWeight:n=lB.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new fB({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function hB(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=lB.distance,ignoreLocation:a=lB.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 gB(e=[],t=lB.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 _B=32;function vB(e,t,n,{location:r=lB.location,distance:i=lB.distance,threshold:a=lB.threshold,findAllMatches:o=lB.findAllMatches,minMatchCharLength:s=lB.minMatchCharLength,includeMatches:c=lB.includeMatches,ignoreLocation:l=lB.ignoreLocation}={}){if(t.length>_B)throw Error(Xz(_B));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=hB(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;)hB(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=hB(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(hB(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=gB(g,s);e.length?c&&(x.indices=e):x.isMatch=!1}return x}function yB(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 bB=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),xB=class{constructor(e,{location:t=lB.location,threshold:n=lB.threshold,distance:r=lB.distance,includeMatches:i=lB.includeMatches,findAllMatches:a=lB.findAllMatches,minMatchCharLength:o=lB.minMatchCharLength,isCaseSensitive:s=lB.isCaseSensitive,ignoreDiacritics:c=lB.ignoreDiacritics,ignoreLocation:l=lB.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?bB(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:yB(e),startIndex:t})},d=this.pattern.length;if(d>_B){let e=0,t=d%_B,n=d-t;for(;e<n;)u(this.pattern.substr(e,_B),e),e+=_B;if(t){let e=d-_B;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?bB(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}=vB(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}},SB=class{constructor(e){this.pattern=e}static isMultiMatch(e){return CB(e,this.multiRegex)}static isSingleMatch(e){return CB(e,this.singleRegex)}search(){}};function CB(e,t){let n=e.match(t);return n?n[1]:null}var wB=class extends SB{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]}}},TB=class extends SB{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]}}},EB=class extends SB{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]}}},DB=class extends SB{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]}}},OB=class extends SB{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]}}},kB=class extends SB{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]}}},AB=class extends SB{constructor(e,{location:t=lB.location,threshold:n=lB.threshold,distance:r=lB.distance,includeMatches:i=lB.includeMatches,findAllMatches:a=lB.findAllMatches,minMatchCharLength:o=lB.minMatchCharLength,isCaseSensitive:s=lB.isCaseSensitive,ignoreDiacritics:c=lB.ignoreDiacritics,ignoreLocation:l=lB.ignoreLocation}={}){super(e),this._bitapSearch=new xB(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)}},jB=class extends SB{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}}},MB=[wB,jB,EB,DB,kB,OB,TB,AB],NB=MB.length,PB=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,FB=`|`;function IB(e,t={}){return e.split(FB).map(e=>{let n=e.trim().split(PB).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<NB;){let e=MB[o],n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),a=!0)}if(!a)for(o=-1;++o<NB;){let e=MB[o],n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}var LB=new Set([AB.type,jB.type]),RB=class{constructor(e,{isCaseSensitive:t=lB.isCaseSensitive,ignoreDiacritics:n=lB.ignoreDiacritics,includeMatches:r=lB.includeMatches,minMatchCharLength:i=lB.minMatchCharLength,ignoreLocation:a=lB.ignoreLocation,findAllMatches:o=lB.findAllMatches,location:s=lB.location,threshold:c=lB.threshold,distance:l=lB.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?bB(e):e,this.pattern=e,this.query=IB(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?bB(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;LB.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}}},zB=[];function BB(...e){zB.push(...e)}function VB(e,t){for(let n=0,r=zB.length;n<r;n+=1){let r=zB[n];if(r.condition(e,t))return new r(e,t)}return new xB(e,t)}var HB={AND:`$and`,OR:`$or`},UB={PATH:`$path`,PATTERN:`$val`},WB=e=>!!(e[HB.AND]||e[HB.OR]),GB=e=>!!e[UB.PATH],KB=e=>!Iz(e)&&Uz(e)&&!WB(e),qB=e=>({[HB.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function JB(e,t,{auto:n=!0}={}){let r=e=>{let i=Object.keys(e),a=GB(e);if(!a&&i.length>1&&!WB(e))return r(qB(e));if(KB(e)){let r=a?e[UB.PATH]:i[0],o=a?e[UB.PATTERN]:e[r];if(!Bz(o))throw Error(Yz(r));let s={keyId:rB(r),pattern:o};return n&&(s.searcher=VB(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];Iz(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return WB(e)||(e=qB(e)),r(e)}function YB(e,{ignoreFieldNorm:t=lB.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 XB(e,t){let n=e.matches;t.matches=[],Gz(n)&&n.forEach(e=>{if(!Gz(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 ZB(e,t){t.score=e.score}function QB(e,t,{includeMatches:n=lB.includeMatches,includeScore:r=lB.includeScore}={}){let i=[];return n&&i.push(XB),r&&i.push(ZB),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}var $B=class{constructor(e,t={},n){this.options={...lB,...t},this.options.useExtendedSearch,this._keyStore=new eB(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof fB))throw Error(Jz);this._myIndex=t||pB(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Gz(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=Bz(e)?Bz(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return YB(s,{ignoreFieldNorm:o}),i&&s.sort(a),Vz(t)&&t>-1&&(s=s.slice(0,t)),QB(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=VB(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!Gz(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=JB(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===HB.AND)return[]}return i},r=this._myIndex.records,i={},a=[];return r.forEach(({$:e,i:r})=>{if(Gz(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=VB(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!Gz(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(!Gz(t))return[];let r=[];if(Iz(t))t.forEach(({v:t,i,n:a})=>{if(!Gz(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}};$B.version=`7.1.0`,$B.createIndex=pB,$B.parseIndex=mB,$B.config=lB,$B.parseQuery=JB,BB(RB);var eV=[`id`],tV=[`id`,`aria-selected`,`onClick`],nV={class:`flex items-center gap-2 whitespace-nowrap`},rV={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`},iV={class:`max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap`},aV=12,oV=T({__name:`EnvironmentVariablesDropdown`,props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:[`select`,`redirect`,`close`],setup(e,{expose:t,emit:n}){let r=n,i=j(!0),a=j(null),o=j(0),s=()=>{r(`redirect`),i.value=!1,r(`close`)},c=M(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:typeof e.value==`string`?e.value:e.value.default}))),l=M(()=>e.contextFunctionItems.map(e=>({kind:`context`,key:e.key,secondary:e.description}))),u=M(()=>c.value.filter(({key:e,value:t})=>e!==``||t!==``).map(({key:e,value:t})=>({kind:`env`,key:e,secondary:t}))),d=M(()=>u.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),f=M(()=>l.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),p=M(()=>new $B(d.value,{keys:[`fuseText`],threshold:.35})),m=M(()=>new $B(f.value,{keys:[`fuseText`],threshold:.35})),h=M(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return Cse.flatMap(e=>{let n=t.get(e);return n?[{kind:`context`,key:n.key,secondary:n.description}]:[]})}),g=M(()=>{if(!e.query.trim())return[...u.value.slice(-4),...h.value];let t=e.query.trim(),n=p.value.search(t,{limit:aV}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}),r=aV-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=M(()=>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}),le(()=>{o.value=0});let S=M(()=>({left:(e.dropdownPosition?.left??0)+`px`,top:(e.dropdownPosition?.top??0)+5+`px`}));return $R(a,()=>{i.value=!1,r(`close`)},{ignore:[a]}),(t,n)=>i.value?(y(),k(E(aI),{key:0,class:`scalar-client`},{default:D(()=>[P(`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]||=In(()=>{},[`prevent`])},[P(`ul`,{id:e.listboxId,"aria-label":`Variable suggestions`,class:`gap-1/2 flex flex-col`,role:`listbox`},[(y(!0),N(Me,null,_(g.value,(t,n)=>(y(),N(`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)},[P(`div`,nV,[t.kind===`env`?(y(),N(`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(),N(`span`,rV,` fn `)),tt(` `+ye(t.key),1)]),P(`span`,iV,ye(t.secondary),1)],10,tV))),128))],8,eV),g.value.length?A(``,!0):(y(),k(E(VF),{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:D(()=>[O(E(Po),{class:`size-3`}),n[1]||=tt(` Add Variable `,-1)]),_:1})),n[2]||=P(`div`,{class:`bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg`},null,-1)],36)]),_:1})):A(``,!0)}}),sV=`scalar-tooltip`,cV=`scalar-tooltip`,lV=j(),uV=j(),dV=j(),{floatingStyles:fV,placement:pV}=gR(M(()=>E(dV.value?.targetRef)),uV,{placement:M(()=>E(dV.value?.placement)),whileElementsMounted:tR,middleware:M(()=>[iR(),rR()])});Xe(pV,e=>{!uV.value||!e||(uV.value.dataset.side=e.split(`-`)[0])}),Xe(fV,()=>{uV.value&&(uV.value.style.position=fV.value.position,uV.value.style.top=fV.value.top,uV.value.style.left=fV.value.left,uV.value.style.transform=fV.value.transform??``,uV.value.style.willChange=fV.value.willChange??``)}),Xe(dV,e=>{if(uV.value)if(e){let t=E(e?.contentTarget)??`textContent`;uV.value[t]=E(e?.content)??``;let n=E(e?.offset)??4;uV.value.style.setProperty(`--scalar-tooltip-offset`,`${n}px`),uV.value.dataset.side=(E(e?.placement)??`bottom`).split(`-`)[0],uV.value.style.setProperty(`display`,`block`)}else uV.value.innerHTML=``,uV.value.style.removeProperty(`--scalar-tooltip-offset`),uV.value.style.setProperty(`display`,`none`)},{deep:!0});function mV(){if(typeof document>`u`||typeof window>`u`||uV.value)return;let e=document.getElementById(sV);e?uV.value=e:(uV.value=document.createElement(`div`),uV.value.role=`tooltip`,uV.value.id=sV,uV.value.classList.add(cV),uV.value.classList.add(`scalar-app`),uV.value.style.setProperty(`display`,`none`),uV.value.addEventListener(`mouseleave`,hV),document.body.appendChild(uV.value))}function hV(e){yV(e)&&(_V(),dV.value=void 0)}function gV(e){e.key===`Escape`&&(e.stopPropagation(),hV(e))}function _V(){lV.value&&=(clearTimeout(lV.value),void 0)}function vV(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function yV(e){let t=E(dV.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=vV(e.relatedTarget);return e.relatedTarget.id!==`scalar-tooltip`&&!n.some(e=>e.id===`scalar-tooltip`)&&e.relatedTarget!==t}return!0}function bV(e){mV();function t(t){let r=E(e.delay)??300;_V(),r>0?lV.value=setTimeout(()=>n(t),r):n(t)}function n(t){_V(),document.addEventListener(`keydown`,gV,{once:!0,capture:!0}),dV.value=e}Xe(()=>E(e.targetRef),(e,r)=>{r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,hV),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,hV),r.removeAttribute(`aria-describedby`)),e&&(e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,hV),e.addEventListener(`focus`,n),e.addEventListener(`blur`,hV),e.setAttribute(`aria-describedby`,sV))},{immediate:!0}),We(()=>{_V();let r=E(e.targetRef);r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,hV),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,hV),r.removeAttribute(`aria-describedby`)),E(dV.value?.targetRef)===E(e.targetRef)&&(dV.value=void 0)})}var xV=e=>{let t=Reflect.get(e,`userAgentData`);if(!(!t||typeof t!=`object`)&&!(!(`platform`in t)||typeof t.platform!=`string`))return t.platform},SV=()=>{if(typeof navigator>`u`)return!1;let e=xV(navigator);return e?e.toLowerCase().includes(`mac`):/Mac/.test(navigator.userAgent)},CV=T({name:`PillTooltipHost`,__name:`PillTooltipHost`,props:{context:{},target:{}},setup(e){let t=e,n=t.context.type===`contextFunction`,r=M(()=>{if(!n||typeof document>`u`||t.context.type!==`contextFunction`)return``;let e=document.createElement(`div`);return Wn(de(`div`,{class:`flex flex-col gap-1.5 text-left`},[de(`span`,{},t.context.details),de(`div`,{class:`text-[color:var(--scalar-color-3)] text-[10px] font-normal`},`Computed at request execution`)]),e),e.innerHTML}),i=M(()=>t.context.type===`environment`?t.context.value:``),a=j(t.target);return bV({content:n?r:i,contentTarget:n?`innerHTML`:`textContent`,delay:0,placement:`bottom-start`,offset:6,targetRef:a}),(e,t)=>null}}),wV=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,TV=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=wV[n[e]&63];return t},EV=[`role`],DV={key:0,class:`sr-only`},OV=T({__name:`DataTable`,props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=Fc();return(n,r)=>(y(),N(`div`,Ke($e(E(t)(e.scroll?`overflow-x-auto custom-scroll`:`overflow-visible`,`scalar-data-table`))),[P(`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(),N(`caption`,DV,[S(n.$slots,`caption`)])):A(``,!0),S(n.$slots,`default`)],14,EV)],16))}}),kV=T({inheritAttrs:!1,__name:`DataTableCell`,props:{is:{default:`td`}},setup(e){let{cx:t}=Fc();return(n,r)=>(y(),k(x(e.is),o(E(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:D(()=>[S(n.$slots,`default`)]),_:3},16))}}),AV={},jV={class:`group contents`};function MV(e,t){return y(),N(`tr`,jV,[S(e.$slots,`default`)])}var NV=Ea(AV,[[`render`,MV]]),PV=(e,t)=>{let n=e?.variables?.find(e=>e.name===t);if(n)return typeof n.value==`string`?n.value:n.value?.default},FV=(e,t)=>{if(aT(e))return{type:`contextFunction`,identifier:e,details:rT(e)};let n=PV(t,e);return{type:`environment`,name:e,value:n||`No value`,isDefined:!!n}},IV=(e,t)=>{if(!t||!e.includes(`{{`))return``;let n=new RegExp(ns.VARIABLES.source,ns.VARIABLES.flags),r=``,i;for(;(i=n.exec(e))!==null;)r+=`|${i[1]??``}`;return r},LV=e=>typeof e==`string`?e:e==null?``:JSON.stringify(e),RV={class:`whitespace-nowrap`},zV=[`id`],BV=[`aria-activedescendant`,`aria-autocomplete`,`aria-controls`,`aria-expanded`,`aria-invalid`,`aria-label`,`aria-readonly`,`aria-required`,`contenteditable`,`data-placeholder`,`role`],VV={key:5,class:`centered-y text-orange absolute right-7 text-xs`},HV={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`},UV={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`},WV=Ea(T({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=_e(),a=j(null),s=M(()=>i.id??a.value??void 0),c=()=>{!i.id&&a.value===null&&(a.value=`id-${TV()}`)},l=De(`editorRef`),u=j(null),d=M(()=>s.value?`${s.value}-listbox`:void 0),f=M(()=>u.value?.activeOptionId),p=j(!1),m=j(!0),h=j(!1),g=e=>e.trim().length===0,_=M(()=>e.enum?.length?!1:e.type===`boolean`||Array.isArray(e.type)&&e.type.includes(`boolean`)),b=M(()=>e.nullable?[`true`,`false`,`null`]:[`true`,`false`]),ee=M(()=>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=Gn(CV,{context:FV(n.dataset.variable??``,e.environment),target:n});t.mount(document.createElement(`div`)),te.push(t)}},ae=(t,n,r)=>{let i=aT(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&&!PV(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(ns.VARIABLES.source,ns.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,w=()=>{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},ce=null,ue=``,T=()=>{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}`},de=()=>{ne||(ne=!0,ie())},fe=()=>{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},pe=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))},me=j(!1),he=j(``),ge=j({left:0,top:0}),ve=M(()=>e.withFakeData?iT.map(e=>({key:e,description:rT(e)})):[]),be=M(()=>me.value&&e.withVariables&&e.layout!==`modal`&&(!!e.environment||e.withFakeData)),xe=()=>{if(!l.value)return;let e=fe();if(e===null){me.value=!1;return}let t=w().slice(0,e),n=t.lastIndexOf(`{{`);if(n<=t.lastIndexOf(`}}`)){me.value=!1;return}he.value=t.slice(n+2),c(),me.value=!0,Ne(()=>{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();ge.value={left:n.left||r.left,top:n.bottom||r.bottom}})},Se=t=>{if(e.readOnly)return;let n=fe()??0,r=w(),i=Math.max(0,n-he.value.length-2),a=n,o=`${r.slice(0,i)}{{${t}}}${r.slice(a)}`,s=i+`{{${t}}}`.length;ce=IV(o,e.withVariables),oe(o),pe(s),me.value=!1,Ce(o,{skipDropdownCheck:!0})},Ce=(t,n={})=>{let i=t===LV(e.modelValue);(e.alwaysEmitChange||!i)&&r(`update:modelValue`,t),n.skipDropdownCheck||xe()},we=()=>{let t=w();m.value=g(t);let n=IV(t,e.withVariables);if(!h.value&&n!==ce){let e=fe();ce=n,oe(t),e!==null&&pe(e)}Ce(t)},D=()=>{h.value=!0},O=()=>{h.value=!1,we()},Te=()=>{p.value=!0,c(),de()},Ee=t=>{p.value=!1,me.value=!1;let n=w();e.emitOnBlur&&n&&r(`submit`,n,t),r(`blur`,n,t)},Oe=e=>{e.preventDefault();let t=e.clipboardData?.getData(`text/plain`)??``;t&&(document.execCommand(`insertText`,!1,t.replace(/\r?\n/g,` `)),we())},ke=e=>{if(me.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(),me.value=!1;return}}if(e.key===`Enter`){e.preventDefault(),r(`submit`,w(),e);return}},Ae=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),xe()};return le(()=>{let t=LV(e.modelValue);ce=IV(t,e.withVariables),ue=T(),oe(t),m.value=g(t),Object.hasOwn(i,`autofocus`)&&l.value?.focus()}),Xe(()=>e.modelValue,t=>{let n=LV(t);m.value=g(n),w()!==n&&(ce=IV(n,e.withVariables),oe(n))}),Xe([()=>e.environment,()=>e.withVariables],()=>{let t=T();if(t===ue||(ue=t,ce===``))return;ce=IV(w(),e.withVariables);let n=fe();oe(w()),n!==null&&pe(n)},{deep:!0}),se(()=>{re()}),t({focus:e=>{let t=l.value;if(!t||(t.focus(),!Ic(e)))return;let n=w().length;pe(e===`start`?0:e===`end`?n:e)},setContent:(t=``)=>{w()!==t&&(ce=IV(t,e.withVariables),oe(t),m.value=g(t))},getValue:()=>w(),cursorPosition:()=>{let e=fe();return e===null?void 0:e},isFocused:p,editorRef:l}),(t,n)=>(y(),N(Me,null,[e.disabled?(y(),N(`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`},[P(`span`,RV,ye(e.modelValue),1)],2)):e.enum?.length?(y(),k(Fz,{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(),k(Fz,{key:2,default:e.default,modelValue:e.modelValue,value:b.value,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`value`])):e.examples?.length?(y(),k(Fz,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`value`])):(y(),N(`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}]}),[P(`div`,{ref_key:`editorRef`,ref:l,"aria-activedescendant":be.value?f.value:void 0,"aria-autocomplete":e.withVariables?`list`:void 0,"aria-controls":be.value?d.value:void 0,"aria-expanded":be.value?`true`:void 0,"aria-invalid":e.error?`true`:void 0,"aria-label":E(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:Ee,onClick:Ae,onCompositionend:O,onCompositionstart:D,onFocus:Te,onInput:we,onKeydown:ke,onPaste:Oe,onPointerover:de},null,40,BV)],16,zV)),t.$slots.warning?(y(),N(`div`,VV,[S(t.$slots,`warning`,{},void 0,!0)])):A(``,!0),t.$slots.icon?(y(),N(`div`,HV,[S(t.$slots,`icon`,{},void 0,!0)])):A(``,!0),e.required?(y(),N(`div`,UV,` Required `)):A(``,!0),be.value?(y(),k(oV,{key:8,ref_key:`dropdownRef`,ref:u,contextFunctionItems:ve.value,dropdownPosition:ge.value,environment:e.environment,listboxId:d.value,query:he.value,onClose:n[0]||=e=>me.value=!1,onRedirect:n[1]||=e=>r(`navigate`,{page:`document`,path:`environment`}),onSelect:Se},null,8,[`contextFunctionItems`,`dropdownPosition`,`environment`,`listboxId`,`query`])):A(``,!0)],64))}}),[[`__scopeId`,`data-v-f03d0c9d`]]),GV=[`aria-label`,`checked`,`disabled`],KV=T({__name:`DataTableCheckbox`,props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:`center`},ariaLabel:{default:`Toggle`}},emits:[`update:modelValue`],setup(e){let t=Nc({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(),k(kV,{class:`group/cell relative flex min-w-8`},{default:D(()=>[P(`input`,{"aria-label":e.ariaLabel,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,GV),P(`div`,{class:v(E(t)({align:e.align}))},[P(`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),O(E(FF),{icon:`Checkmark`,size:`xs`,thickness:`2.5`})],2)]),_:1}))}}),qV=(function(e){if(e==null)return QV;if(typeof e==`function`)return ZV(e);if(typeof e==`object`)return Array.isArray(e)?JV(e):YV(e);if(typeof e==`string`)return XV(e);throw Error(`Expected function, string, or object as test`)});function JV(e){let t=[],n=-1;for(;++n<e.length;)t[n]=qV(e[n]);return ZV(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function YV(e){let t=e;return ZV(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function XV(e){return ZV(t);function t(t){return t&&t.type===e}}function ZV(e){return t;function t(t,n,r){return!!($V(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function QV(){return!0}function $V(e){return typeof e==`object`&&!!e&&`type`in e}function eH(e){return e}var tH=[],nH=`skip`;function rH(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=qV(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 (`+eH(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=tH,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=iH(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 iH(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?tH:[e]}function aH(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),rH(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 oH=Object.create,sH=Object.defineProperty,cH=Object.getOwnPropertyDescriptor,lH=Object.getOwnPropertyNames,uH=Object.getPrototypeOf,dH=Object.prototype.hasOwnProperty,fH=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pH=(e,t)=>{let n={};for(var r in e)sH(n,r,{get:e[r],enumerable:!0});return t||sH(n,Symbol.toStringTag,{value:`Module`}),n},mH=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=lH(t),a=0,o=i.length,s;a<o;a++)s=i[a],!dH.call(e,s)&&s!==n&&sH(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=cH(t,s))||r.enumerable});return e},hH=(e,t,n)=>(n=e==null?{}:oH(uH(e)),mH(t||!e||!e.__esModule?sH(n,`default`,{value:e,enumerable:!0}):n,e)),gH={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`},_H=(function(e,t,n){let r=qV(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]}),vH=(function(e,t,n,r,i){let a=yH(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 wH(e)?a.call(i,e,n,r):!1}),yH=(function(e){if(e==null)return CH;if(typeof e==`string`)return xH(e);if(typeof e==`object`)return bH(e);if(typeof e==`function`)return SH(e);throw Error("Expected function, string, or array as `test`")});function bH(e){let t=[],n=-1;for(;++n<e.length;)t[n]=yH(e[n]);return SH(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function xH(e){return SH(t);function t(t){return t.tagName===e}}function SH(e){return t;function t(t,n,r){return!!(wH(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function CH(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function wH(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var TH=/\n/g,EH=/[\t ]+/g,DH=yH(`br`),OH=yH(VH),kH=yH(`p`),AH=yH(`tr`),jH=yH([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,BH,HH]),MH=yH(`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 NH(e,t){let n=t||{},r=`children`in e?e.children:[],i=MH(e),a=zH(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...IH(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...PH(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?DH(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(`
14
+ `.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function PH(e,t,n){return e.type===`element`?FH(e,t,n):e.type===`text`?n.whitespace===`normal`?IH(e,n):LH(e):[]}function FH(e,t,n){let r=zH(e,n),i=e.children||[],a=-1,o=[];if(jH(e))return o;let s,c;for(DH(e)||AH(e)&&_H(t,e,AH)?c=`
15
+ `:kH(e)?(s=2,c=2):MH(e)&&(s=1,c=1);++a<i.length;)o=o.concat(PH(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?DH(i[a+1]):c}));return OH(e)&&_H(t,e,OH)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function IH(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){TH.lastIndex=a;let e=TH.exec(n),i=e&&`index`in e?e.index:n.length;r.push(RH(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 LH(e){return[String(e.value)]}function RH(e,t,n){let r=[],i=0,a;for(;i<e.length;){EH.lastIndex=i;let n=EH.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 zH(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 BH(e){return!!(e.properties||{}).hidden}function VH(e){return e.tagName===`td`||e.tagName===`th`}function HH(e){return e.tagName===`dialog`&&!(e.properties||{}).open}var UH=hH(fH(((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)},w={begin:`\\\\[\\s\\S]`,relevance:0},ce={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[w]},le={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[w]},ue={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/},T=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},de=T(`//`,`$`),E=T(`/\\*`,`\\*/`),fe=T(`#`,`$`),pe={scope:`number`,begin:ie,relevance:0},me={scope:`number`,begin:ae,relevance:0},he={scope:`number`,begin:oe,relevance:0},ge={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[w,{begin:/\[/,end:/\]/,relevance:0,contains:[w]}]},_e={scope:`title`,begin:ne,relevance:0},ve={scope:`title`,begin:re,relevance:0},ye={begin:`\\.\\s*`+re,relevance:0},be=Object.freeze({__proto__:null,APOS_STRING_MODE:ce,BACKSLASH_ESCAPE:w,BINARY_NUMBER_MODE:he,BINARY_NUMBER_RE:oe,COMMENT:T,C_BLOCK_COMMENT_MODE:E,C_LINE_COMMENT_MODE:de,C_NUMBER_MODE:me,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:fe,IDENT_RE:ne,MATCH_NOTHING_RE:S,METHOD_GUARD:ye,NUMBER_MODE:pe,NUMBER_RE:ie,PHRASAL_WORDS_MODE:ue,QUOTE_STRING_MODE:le,REGEXP_MODE:ge,RE_STARTERS_RE:C,SHEBANG:se,TITLE_MODE:_e,UNDERSCORE_IDENT_RE:re,UNDERSCORE_TITLE_MODE:ve});function xe(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function Se(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Ce(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=xe,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function we(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function D(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 O(e,t){e.relevance===void 0&&(e.relevance=1)}var Te=(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},Ee=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],k=`keyword`;function De(e,t,n=k){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,De(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,A(n[0],n[1])]})}}function A(e,t){return t?Number(t):Oe(e)?0:1}function Oe(e){return Ee.includes(e.toLowerCase())}var ke={},j=e=>{console.error(e)},Ae=(e,...t)=>{console.log(`WARN: ${e}`,...t)},je=(e,t)=>{ke[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),ke[`${e}/${t}`]=!0)},Me=Error();function Ne(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 Pe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw j(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),Me;if(typeof e.beginScope!=`object`||e.beginScope===null)throw j(`beginScope must be object`),Me;Ne(e,e.begin,{key:`beginScope`}),e.begin=te(e.begin,{joinWith:``})}}function Fe(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw j(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),Me;if(typeof e.endScope!=`object`||e.endScope===null)throw j(`endScope must be object`),Me;Ne(e,e.end,{key:`endScope`}),e.end=te(e.end,{joinWith:``})}}function Ie(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function M(e){Ie(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Pe(e),Fe(e)}function Le(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;[Se,D,M,Te].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[Ce,we,O].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&&=De(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 ze(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 Re(e){return e?e.endsWithParent||Re(e.starts):!1}function ze(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Re(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Be=`11.11.1`,Ve=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},He=i,Ue=a,N=Symbol(`nomatch`),We=7,Ge=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=ce(n[1]);return t||(Ae(s.replace(`{}`,n[1])),Ae(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||ce(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(je(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),je(`10.7.0`,`Please use highlight(code, options) instead.
16
+ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};fe(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,fe(`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){w.addText(le);return}let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(le),n=``;for(;t;){n+=le.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(w.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=We&&(ue+=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(le)}n+=le.substring(e),w.addText(n)}function f(){if(le===``)return;let e=null;if(typeof C.subLanguage==`string`){if(!t[C.subLanguage]){w.addText(le);return}e=v(C.subLanguage,le,!0,se[C.subLanguage]),se[C.subLanguage]=e._top}else e=x(le,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(ue+=e.relevance),w.__addSublanguage(e._emitter,e.language)}function p(){C.subLanguage==null?d():f(),le=``}function m(e,t){e!==``&&(w.startScope(t),w.addText(e),w.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):(le=i,d(),le=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&w.openNode(ie.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(le,ie.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),le=``):e.beginScope._multi&&(h(e.beginScope,t),le=``)),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?(le+=e[0],1):(E=!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?le+=t:(n.excludeBegin&&(le+=t),p(),!n.returnBegin&&!n.excludeBegin&&(le=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 N;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?le+=t:(a.returnEnd||a.excludeEnd||(le+=t),p(),a.excludeEnd&&(le=t));do C.scope&&w.closeNode(),!C.skip&&!C.subLanguage&&(ue+=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=>w.openNode(e))}let ne={};function re(t,r){let a=r&&r[0];if(le+=t,a==null)return p(),0;if(ne.type===`begin`&&r.type===`end`&&ne.index===r.index&&a===``){if(le+=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!==N)return e}if(r.type===`illegal`&&a===``)return le+=`
17
+ `,1;if(de>1e5&&de>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return le+=a,a.length}let ie=ce(e);if(!ie)throw j(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let ae=Le(ie),oe=``,C=a||ae,se={},w=new l.__emitter(l);S();let le=``,ue=0,T=0,de=0,E=!1;try{if(ie.__emitTokens)ie.__emitTokens(n,w);else{for(C.matcher.considerAll();;){de++,E?E=!1:C.matcher.considerAll(),C.matcher.lastIndex=T;let e=C.matcher.exec(n);if(!e)break;let t=re(n.substring(T,e.index),e);T=e.index+t}re(n.substring(T))}return w.finalize(),oe=w.toHTML(),{language:e,value:oe,relevance:ue,illegal:!1,_emitter:w,_top:C}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:He(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:T,context:n.slice(T-100,T+100),mode:t.mode,resultSoFar:oe},_emitter:w};if(o)return{language:e,value:He(n),illegal:!1,relevance:0,errorRaised:t,_emitter:w,_top:C};throw t}}function b(e){let t={value:He(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(ce).filter(ue).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(ce(e.language).supersetOf===t.language)return 1;if(ce(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(fe(`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 Ve(`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}),fe(`after:highlightElement`,{el:e,result:i,text:r})}function ne(e){l=Ue(l,e)}let re=()=>{oe(),je(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function ie(){oe(),je(`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(j(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)j(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&le(i.aliases,{languageName:n})}function se(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function w(){return Object.keys(t)}function ce(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function le(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function ue(e){let t=ce(e);return t&&!t.disableAutodetect}function T(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 de(e){T(e),a.push(e)}function E(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function fe(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function pe(e){return je(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),je(`10.7.0`,`Please use highlightElement now.`),S(e)}Object.assign(e,{highlight:p,highlightAuto:x,highlightAll:oe,highlightElement:S,highlightBlock:pe,configure:ne,initHighlighting:re,initHighlightingOnLoad:ie,registerLanguage:C,unregisterLanguage:se,listLanguages:w,getLanguage:ce,registerAliases:le,autoDetection:ue,inherit:Ue,addPlugin:de,removePlugin:E}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Be,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in be)typeof be[e]==`object`&&n(be[e]);return Object.assign(e,be),e},Ke=Ge({});Ke.newInstance=()=>Ge({}),t.exports=Ke,Ke.HighlightJS=Ke,Ke.default=Ke}))()).default,WH={},GH=`hljs-`;function KH(e){let t=UH.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||WH,a=typeof i.prefix==`string`?i.prefix:GH;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:qH,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||WH).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 qH=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``}},JH={};function YH(e){let t=e||JH,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??KH(i);if(n&&u.registerAlias(n),o){let e=o.indexOf(`-`);l=e>-1?o.slice(0,e):o}return(e,t)=>{aH(e,`element`,(e,n,i)=>{if(e.tagName!==`code`||!i||i.type!==`element`||i.tagName!==`pre`)return;let d=XH(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,NH(i),{prefix:o}):u.highlightAuto(NH(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}t.message(`Could not highlight code block`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`highlight-error`,source:`rehype-highlight`});return}!d&&f.data?.language&&e.properties.className.push(`language-`+f.data.language),f.children.length>0&&(e.children=f.children)})}}function XH(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 gH[n||``]||n}var ZH=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};ZH.prototype.normal={},ZH.prototype.property={},ZH.prototype.space=void 0;function QH(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new ZH(n,r,t)}function $H(e){return e.toLowerCase()}var eU=class{constructor(e,t){this.attribute=t,this.property=e}};eU.prototype.attribute=``,eU.prototype.booleanish=!1,eU.prototype.boolean=!1,eU.prototype.commaOrSpaceSeparated=!1,eU.prototype.commaSeparated=!1,eU.prototype.defined=!1,eU.prototype.mustUseProperty=!1,eU.prototype.number=!1,eU.prototype.overloadedBoolean=!1,eU.prototype.property=``,eU.prototype.spaceSeparated=!1,eU.prototype.space=void 0;var tU=pH({boolean:()=>rU,booleanish:()=>iU,commaOrSpaceSeparated:()=>cU,commaSeparated:()=>sU,number:()=>W,overloadedBoolean:()=>aU,spaceSeparated:()=>oU}),nU=0,rU=lU(),iU=lU(),aU=lU(),W=lU(),oU=lU(),sU=lU(),cU=lU();function lU(){return 2**++nU}var uU=Object.keys(tU),dU=class extends eU{constructor(e,t,n,r){let i=-1;if(super(e,t),fU(this,`space`,r),typeof n==`number`)for(;++i<uU.length;){let e=uU[i];fU(this,uU[i],(n&tU[e])===tU[e])}}};dU.prototype.defined=!0;function fU(e,t,n){n&&(e[t]=n)}function pU(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new dU(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[$H(r)]=r,n[$H(a.attribute)]=r}return new ZH(t,n,e.space)}var mU=pU({properties:{ariaActiveDescendant:null,ariaAtomic:iU,ariaAutoComplete:null,ariaBusy:iU,ariaChecked:iU,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:oU,ariaCurrent:null,ariaDescribedBy:oU,ariaDetails:null,ariaDisabled:iU,ariaDropEffect:oU,ariaErrorMessage:null,ariaExpanded:iU,ariaFlowTo:oU,ariaGrabbed:iU,ariaHasPopup:null,ariaHidden:iU,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oU,ariaLevel:W,ariaLive:null,ariaModal:iU,ariaMultiLine:iU,ariaMultiSelectable:iU,ariaOrientation:null,ariaOwns:oU,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:iU,ariaReadOnly:iU,ariaRelevant:null,ariaRequired:iU,ariaRoleDescription:oU,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:iU,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 hU(e,t){return t in e?e[t]:t}function gU(e,t){return hU(e,t.toLowerCase())}var _U=pU({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:sU,acceptCharset:oU,accessKey:oU,action:null,allow:null,allowFullScreen:rU,allowPaymentRequest:rU,allowUserMedia:rU,alt:null,as:null,async:rU,autoCapitalize:null,autoComplete:oU,autoFocus:rU,autoPlay:rU,blocking:oU,capture:null,charSet:null,checked:rU,cite:null,className:oU,cols:W,colSpan:null,content:null,contentEditable:iU,controls:rU,controlsList:oU,coords:W|sU,crossOrigin:null,data:null,dateTime:null,decoding:null,default:rU,defer:rU,dir:null,dirName:null,disabled:rU,download:aU,draggable:iU,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:rU,formTarget:null,headers:oU,height:W,hidden:aU,high:W,href:null,hrefLang:null,htmlFor:oU,httpEquiv:oU,id:null,imageSizes:null,imageSrcSet:null,inert:rU,inputMode:null,integrity:null,is:null,isMap:rU,itemId:null,itemProp:oU,itemRef:oU,itemScope:rU,itemType:oU,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:rU,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:rU,muted:rU,name:null,nonce:null,noModule:rU,noValidate:rU,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:rU,optimum:W,pattern:null,ping:oU,placeholder:null,playsInline:rU,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:rU,referrerPolicy:null,rel:oU,required:rU,reversed:rU,rows:W,rowSpan:W,sandbox:oU,scope:null,scoped:rU,seamless:rU,selected:rU,shadowRootClonable:rU,shadowRootDelegatesFocus:rU,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:iU,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:rU,useMap:null,value:iU,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:oU,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:rU,declare:rU,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:rU,noHref:rU,noShade:rU,noWrap:rU,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:iU,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:rU,disableRemotePlayback:rU,prefix:null,property:null,results:W,security:null,unselectable:null},space:`html`,transform:gU}),vU=pU({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:cU,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:oU,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:rU,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:sU,g2:sU,glyphName:sU,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:cU,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:oU,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:cU,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:cU,rev:cU,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:cU,requiredFeatures:cU,requiredFonts:cU,requiredFormats:cU,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:cU,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:cU,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:cU,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:hU}),yU=pU({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()}}),bU=pU({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:gU}),xU=pU({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),SU=/[A-Z]/g,CU=/-[a-z]/g,wU=/^data[-\w.:]+$/i;function TU(e,t){let n=$H(t),r=t,i=eU;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&wU.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(CU,DU);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!CU.test(e)){let n=e.replace(SU,EU);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=dU}return new i(r,t)}function EU(e){return`-`+e.toLowerCase()}function DU(e){return e.charAt(1).toUpperCase()}var OU=QH([mU,_U,yU,bU,xU],`html`),kU=QH([mU,vU,yU,bU,xU],`svg`);function AU(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 jU(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var MU=/[#.]/g;function NU(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){MU.lastIndex=i;let e=MU.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 PU(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function FU(e){return e.join(` `).trim()}var IU=new Set([`button`,`menu`,`reset`,`submit`]),LU={}.hasOwnProperty;function RU(e,t,n){let r=n&&WU(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=NU(n,t),s.tagName=s.tagName.toLowerCase(),r&&LU.call(r,s.tagName)&&(s.tagName=r[s.tagName]),zU(i,s.tagName)){let t;for(t in i)LU.call(i,t)&&BU(e,s.properties,t,i[t])}else a.unshift(i);for(;++o<a.length;)VU(s.children,a[o]);return s.type===`element`&&s.tagName===`template`&&(s.content={type:`root`,children:s.children},s.children=[]),s}return i}function zU(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`?IU.has(e.type.toLowerCase()):!(`value`in e)}function BU(e,t,n,r){let i=TU(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?PU(r):i.commaSeparated?AU(r):i.commaOrSpaceSeparated?PU(AU(r).join(` `)):HU(i,i.property,r):Array.isArray(r)?r.concat():i.property===`style`?UU(r):String(r);if(Array.isArray(o)){let e=[];for(;++a<o.length;)e[a]=HU(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 VU(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;)VU(e,t[n]);else if(typeof t==`object`&&`type`in t)t.type===`root`?VU(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function HU(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||$H(n)===$H(t)))return!0}return n}function UU(e){let t=[],n;for(n in e)LU.call(e,n)&&t.push([n,e[n]].join(`: `));return t.join(`; `)}function WU(e){let t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var GU=`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(`.`),KU=RU(OU,`div`),qU=RU(kU,`g`,GU),JU=/\r?\n|\r/g;function YU(e){let t=String(e),n=[];for(JU.lastIndex=0;JU.test(t);)n.push(JU.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 XU={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/`},ZU={}.hasOwnProperty,QU=Object.prototype;function $U(e,t){let n=t||{};return eW({file:n.file||void 0,location:!1,schema:n.space===`svg`?kU:OU,verbose:n.verbose||!1},e)}function eW(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},rW(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:tW(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=YU(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`},rW(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},rW(e,r,n),n}default:return n=nW(e,t),n}}function tW(e,t){let n=-1,r=[];for(;++n<t.length;){let i=eW(e,t[n]);r.push(i)}return r}function nW(e,t){let n=e.schema;e.schema=t.namespaceURI===XU.svg?kU:OU;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;ZU.call(QU,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?qU:KU)(t.tagName,i,tW(e,t.childNodes));if(rW(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&aW(r.startTag),o=r&&r.endTag&&aW(r.endTag),s=eW(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function rW(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=iW(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function iW(e,t,n){let r=aW(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)ZU.call(n.attrs,i)&&(r[TU(e.schema,i).property]=aW(n.attrs[i]));n.startTag;let a=aW(n.startTag),o=n.endTag?aW(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function aW(e){let t=oW({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=oW({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function oW(e){return e.line&&e.column?e:void 0}var sW=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 cW={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`};function lW(e){return e>=55296&&e<=57343}function uW(e){return e>=56320&&e<=57343}function dW(e,t){return(e-55296)*1024+9216+t}function fW(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function pW(e){return e>=64976&&e<=65007||sW.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 mW=65536,hW=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=mW,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(uW(t))return this.pos++,this._addGap(),dW(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,lW(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){fW(e)?this._err(K.controlCharacterInInputStream):pW(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}},gW;(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`})(gW||={});function _W(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 vW=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))),yW=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 bW(e){return e>=55296&&e<=57343||e>1114111?65533:yW.get(e)??e}var xW;(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`})(xW||={});var SW=32,CW;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(CW||={});function wW(e){return e>=xW.ZERO&&e<=xW.NINE}function TW(e){return e>=xW.UPPER_A&&e<=xW.UPPER_F||e>=xW.LOWER_A&&e<=xW.LOWER_F}function EW(e){return e>=xW.UPPER_A&&e<=xW.UPPER_Z||e>=xW.LOWER_A&&e<=xW.LOWER_Z||wW(e)}function DW(e){return e===xW.EQUALS||EW(e)}var OW;(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`})(OW||={});var kW;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(kW||={});var AW=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=OW.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=kW.Strict}startEntity(e){this.decodeMode=e,this.state=OW.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case OW.EntityStart:return e.charCodeAt(t)===xW.NUM?(this.state=OW.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=OW.NamedEntity,this.stateNamedEntity(e,t));case OW.NumericStart:return this.stateNumericStart(e,t);case OW.NumericDecimal:return this.stateNumericDecimal(e,t);case OW.NumericHex:return this.stateNumericHex(e,t);case OW.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|SW)===xW.LOWER_X?(this.state=OW.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=OW.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(wW(r)||TW(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(wW(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===xW.SEMI)this.consumed+=1;else if(this.decodeMode===kW.Strict)return 0;return this.emitCodePoint(bW(this.result),this.consumed),this.errors&&(e!==xW.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&CW.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=jW(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===kW.Attribute&&(i===0||DW(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&CW.VALUE_LENGTH)>>14,i!==0){if(a===xW.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==kW.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]&CW.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]&~CW.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case OW.NamedEntity:return this.result!==0&&(this.decodeMode!==kW.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case OW.NumericDecimal:return this.emitNumericEntity(0,2);case OW.NumericHex:return this.emitNumericEntity(0,3);case OW.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case OW.EntityStart:return 0}}};function jW(e,t,n,r){let i=(t&CW.BRANCH_LENGTH)>>7,a=t&CW.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 MW;(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`})(MW||={});var NW;(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(NW||={});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 PW=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 FW(e){return PW.get(e)??Y.UNKNOWN}var X=Y,IW={[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},LW=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 RW={DATA:Z.DATA,RCDATA:Z.RCDATA,RAWTEXT:Z.RAWTEXT,SCRIPT_DATA:Z.SCRIPT_DATA,PLAINTEXT:Z.PLAINTEXT,CDATA_SECTION:Z.CDATA_SECTION};function zW(e){return e>=G.DIGIT_0&&e<=G.DIGIT_9}function BW(e){return e>=G.LATIN_CAPITAL_A&&e<=G.LATIN_CAPITAL_Z}function VW(e){return e>=G.LATIN_SMALL_A&&e<=G.LATIN_SMALL_Z}function HW(e){return VW(e)||BW(e)}function UW(e){return HW(e)||zW(e)}function WW(e){return e+32}function GW(e){return e===G.SPACE||e===G.LINE_FEED||e===G.TABULATION||e===G.FORM_FEED}function KW(e){return GW(e)||e===G.SOLIDUS||e===G.GREATER_THAN_SIGN}function qW(e){return e===G.NULL?K.nullCharacterReference:e>1114111?K.characterReferenceOutsideUnicodeRange:lW(e)?K.surrogateCharacterReference:pW(e)?K.noncharacterCharacterReference:fW(e)||e===G.CARRIAGE_RETURN?K.controlCharacterReference:null}var JW=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 hW(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new AW(vW,(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=qW(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:gW.START_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:gW.END_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:gW.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:gW.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(_W(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=FW(e.tagName),e.type===gW.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 gW.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case gW.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case gW.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:gW.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=GW(e)?gW.WHITESPACE_CHARACTER:e===G.NULL?gW.NULL_CHARACTER:gW.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(gW.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=Z.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?kW.Attribute:kW.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(HW(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(HW(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(BW(e)?WW(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){HW(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){HW(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){HW(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:HW(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){HW(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(cW.SCRIPT,!1)&&KW(this.preprocessor.peek(cW.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<cW.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(cW.SCRIPT,!1)&&KW(this.preprocessor.peek(cW.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<cW.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(BW(e)?WW(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(cW.DASH_DASH,!0)?(this._createCommentToken(cW.DASH_DASH.length+1),this.state=Z.COMMENT_START):this._consumeSequenceIfMatch(cW.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(cW.DOCTYPE.length+1),this.state=Z.DOCTYPE):this._consumeSequenceIfMatch(cW.CDATA_START,!0)?this.inForeignNode?this.state=Z.CDATA_SECTION:(this._err(K.cdataInHtmlContent),this._createCommentToken(cW.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(BW(e))this._createDoctypeToken(String.fromCharCode(WW(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(BW(e)?WW(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(cW.PUBLIC,!1)?this.state=Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(cW.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()&&UW(this.preprocessor.peek(1))?Z.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){UW(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===G.SEMICOLON&&this._err(K.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},YW=new Set([Y.DD,Y.DT,Y.LI,Y.OPTGROUP,Y.OPTION,Y.P,Y.RB,Y.RP,Y.RT,Y.RTC]),XW=new Set([...YW,Y.CAPTION,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]),ZW=new Set([Y.APPLET,Y.CAPTION,Y.HTML,Y.MARQUEE,Y.OBJECT,Y.TABLE,Y.TD,Y.TEMPLATE,Y.TH]),QW=new Set([...ZW,Y.OL,Y.UL]),$W=new Set([...ZW,Y.BUTTON]),eG=new Set([Y.ANNOTATION_XML,Y.MI,Y.MN,Y.MO,Y.MS,Y.MTEXT]),tG=new Set([Y.DESC,Y.FOREIGN_OBJECT,Y.TITLE]),nG=new Set([Y.TR,Y.TEMPLATE,Y.HTML]),rG=new Set([Y.TBODY,Y.TFOOT,Y.THEAD,Y.TEMPLATE,Y.HTML]),iG=new Set([Y.TABLE,Y.TEMPLATE,Y.HTML]),aG=new Set([Y.TD,Y.TH]),oG=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(LW,q.HTML)}popUntilTableCellPopped(){this.popUntilPopped(aG,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(iG,q.HTML)}clearBackToTableBodyContext(){this.clearBackTo(rG,q.HTML)}clearBackToTableRowContext(){this.clearBackTo(nG,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(tG.has(r))return!1;break;case q.MATHML:if(eG.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,ZW)}hasInListItemScope(e){return this.hasInDynamicScope(e,QW)}hasInButtonScope(e){return this.hasInDynamicScope(e,$W)}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(LW.has(t))return!0;if(ZW.has(t))return!1;break;case q.SVG:if(tG.has(t))return!1;break;case q.MATHML:if(eG.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&&YW.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&XW.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&XW.has(this.currentTagId);)this.pop()}},sG=3,cG;(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(cG||={});var lG={type:cG.Marker},uG=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===cG.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<sG)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<sG)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>=sG&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(lG)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:cG.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:cG.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(lG);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===cG.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===cG.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===cG.Element&&t.element===e)}},dG={createDocument(){return{nodeName:`#document`,mode:NW.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};dG.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(dG.isTextNode(n)){n.value+=t;return}}dG.appendChild(e,dG.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&dG.isTextNode(r)?r.value+=t:dG.insertBefore(e,dG.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}}},fG=`html`,pG=`about:legacy-compat`,mG=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,hG=`+//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(`,`),gG=[...hG,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],_G=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),vG=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],yG=[...vG,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`];function bG(e,t){return t.some(t=>e.startsWith(t))}function xG(e){return e.name===fG&&e.publicId===null&&(e.systemId===null||e.systemId===pG)}function SG(e){if(e.name!==fG)return NW.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===mG)return NW.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),_G.has(n))return NW.QUIRKS;let e=t===null?gG:hG;if(bG(n,e))return NW.QUIRKS;if(e=t===null?vG:yG,bG(n,e))return NW.LIMITED_QUIRKS}return NW.NO_QUIRKS}var CG={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},wG=`definitionurl`,TG=`definitionURL`,EG=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])),DG=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}]]),OG=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])),kG=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 AG(e){let t=e.tagID;return t===Y.FONT&&e.attrs.some(({name:e})=>e===MW.COLOR||e===MW.SIZE||e===MW.FACE)||kG.has(t)}function jG(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===wG){e.attrs[t].name=TG;break}}function MG(e){for(let t=0;t<e.attrs.length;t++){let n=EG.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function NG(e){for(let t=0;t<e.attrs.length;t++){let n=DG.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 PG(e){let t=OG.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=FW(e.tagName))}function FG(e,t){return t===q.MATHML&&(e===Y.MI||e===Y.MO||e===Y.MN||e===Y.MS||e===Y.MTEXT)}function IG(e,t,n){if(t===q.MATHML&&e===Y.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===MW.ENCODING){let t=n[e].value.toLowerCase();return t===CG.TEXT_HTML||t===CG.APPLICATION_XML}}return t===q.SVG&&(e===Y.FOREIGN_OBJECT||e===Y.DESC||e===Y.TITLE)}function LG(e,t,n,r){return(!r||r===q.HTML)&&IG(e,t,n)||(!r||r===q.MATHML)&&FG(e,t)}var RG=`hidden`,zG=8,BG=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 VG={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},HG=new Set([Y.TABLE,Y.TBODY,Y.TFOOT,Y.THEAD,Y.TR]),UG={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:dG,onParseError:null},WG=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={...UG,...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 JW(this.options,this),this.activeFormattingElements=new uG(this.treeAdapter),this.fragmentContextID=n?FW(this.treeAdapter.getTagName(n)):Y.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new oG(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={...UG,...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??VG,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=RW.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=RW.RCDATA;break;case Y.STYLE:case Y.XMP:case Y.IFRAME:case Y.NOEMBED:case Y.NOFRAMES:case Y.NOSCRIPT:this.tokenizer.state=RW.RAWTEXT;break;case Y.SCRIPT:this.tokenizer.state=RW.SCRIPT_DATA;break;case Y.PLAINTEXT:this.tokenizer.state=RW.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===gW.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 gW.CHARACTER:this.onCharacter(e);break;case gW.NULL_CHARACTER:this.onNullCharacter(e);break;case gW.COMMENT:this.onComment(e);break;case gW.DOCTYPE:this.onDoctype(e);break;case gW.START_TAG:this._processStartTag(e);break;case gW.END_TAG:this.onEndTag(e);break;case gW.EOF:this.onEof(e);break;case gW.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e);break}}_isIntegrationPoint(e,t,n){return LG(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===cG.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 HG.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 IW[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){cJ(this,e);return}switch(this.insertionMode){case Q.INITIAL:rK(this,e);break;case Q.BEFORE_HTML:oK(this,e);break;case Q.BEFORE_HEAD:lK(this,e);break;case Q.IN_HEAD:pK(this,e);break;case Q.IN_HEAD_NO_SCRIPT:gK(this,e);break;case Q.AFTER_HEAD:yK(this,e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:SK(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:_q(this,e);break;case Q.IN_TABLE_TEXT:Aq(this,e);break;case Q.IN_COLUMN_GROUP:Lq(this,e);break;case Q.AFTER_BODY:$q(this,e);break;case Q.AFTER_AFTER_BODY:aJ(this,e);break;default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){sJ(this,e);return}switch(this.insertionMode){case Q.INITIAL:rK(this,e);break;case Q.BEFORE_HTML:oK(this,e);break;case Q.BEFORE_HEAD:lK(this,e);break;case Q.IN_HEAD:pK(this,e);break;case Q.IN_HEAD_NO_SCRIPT:gK(this,e);break;case Q.AFTER_HEAD:yK(this,e);break;case Q.TEXT:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:_q(this,e);break;case Q.IN_COLUMN_GROUP:Lq(this,e);break;case Q.AFTER_BODY:$q(this,e);break;case Q.AFTER_AFTER_BODY:aJ(this,e);break;default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){QG(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:QG(this,e);break;case Q.IN_TABLE_TEXT:jq(this,e);break;case Q.AFTER_BODY:$G(this,e);break;case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:eK(this,e);break;default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Q.INITIAL:nK(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:jq(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)?uJ(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:rK(this,e);break;case Q.BEFORE_HTML:iK(this,e);break;case Q.BEFORE_HEAD:sK(this,e);break;case Q.IN_HEAD:uK(this,e);break;case Q.IN_HEAD_NO_SCRIPT:mK(this,e);break;case Q.AFTER_HEAD:_K(this,e);break;case Q.IN_BODY:tq(this,e);break;case Q.IN_TABLE:Eq(this,e);break;case Q.IN_TABLE_TEXT:jq(this,e);break;case Q.IN_CAPTION:Nq(this,e);break;case Q.IN_COLUMN_GROUP:Fq(this,e);break;case Q.IN_TABLE_BODY:Rq(this,e);break;case Q.IN_ROW:Bq(this,e);break;case Q.IN_CELL:Hq(this,e);break;case Q.IN_SELECT:Wq(this,e);break;case Q.IN_SELECT_IN_TABLE:Kq(this,e);break;case Q.IN_TEMPLATE:Jq(this,e);break;case Q.AFTER_BODY:Zq(this,e);break;case Q.IN_FRAMESET:eJ(this,e);break;case Q.AFTER_FRAMESET:nJ(this,e);break;case Q.AFTER_AFTER_BODY:iJ(this,e);break;case Q.AFTER_AFTER_FRAMESET:oJ(this,e);break;default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?dJ(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:rK(this,e);break;case Q.BEFORE_HTML:aK(this,e);break;case Q.BEFORE_HEAD:cK(this,e);break;case Q.IN_HEAD:dK(this,e);break;case Q.IN_HEAD_NO_SCRIPT:hK(this,e);break;case Q.AFTER_HEAD:vK(this,e);break;case Q.IN_BODY:pq(this,e);break;case Q.TEXT:hq(this,e);break;case Q.IN_TABLE:Dq(this,e);break;case Q.IN_TABLE_TEXT:jq(this,e);break;case Q.IN_CAPTION:Pq(this,e);break;case Q.IN_COLUMN_GROUP:Iq(this,e);break;case Q.IN_TABLE_BODY:zq(this,e);break;case Q.IN_ROW:Vq(this,e);break;case Q.IN_CELL:Uq(this,e);break;case Q.IN_SELECT:Gq(this,e);break;case Q.IN_SELECT_IN_TABLE:qq(this,e);break;case Q.IN_TEMPLATE:Yq(this,e);break;case Q.AFTER_BODY:Qq(this,e);break;case Q.IN_FRAMESET:tJ(this,e);break;case Q.AFTER_FRAMESET:rJ(this,e);break;case Q.AFTER_AFTER_BODY:aJ(this,e);break;default:}}onEof(e){switch(this.insertionMode){case Q.INITIAL:rK(this,e);break;case Q.BEFORE_HTML:oK(this,e);break;case Q.BEFORE_HEAD:lK(this,e);break;case Q.IN_HEAD:pK(this,e);break;case Q.IN_HEAD_NO_SCRIPT:gK(this,e);break;case Q.AFTER_HEAD:yK(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:mq(this,e);break;case Q.TEXT:gq(this,e);break;case Q.IN_TABLE_TEXT:jq(this,e);break;case Q.IN_TEMPLATE:Xq(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:tK(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:xK(this,e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:_q(this,e);break;case Q.IN_TABLE_TEXT:kq(this,e);break;default:}}};function GG(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):fq(e,t),n}function KG(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 qG(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>=BG;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=JG(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function JG(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 YG(e,t,n){let r=FW(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 XG(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 ZG(e,t){for(let n=0;n<zG;n++){let n=GG(e,t);if(!n)break;let r=KG(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=qG(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&YG(e,a,i),XG(e,r,n)}}function QG(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function $G(e,t){e._appendCommentNode(t,e.openElements.items[0])}function eK(e,t){e._appendCommentNode(t,e.document)}function tK(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 nK(e,t){e._setDocumentType(t);let n=t.forceQuirks?NW.QUIRKS:SG(t);xG(t)||e._err(t,K.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Q.BEFORE_HTML}function rK(e,t){e._err(t,K.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,NW.QUIRKS),e.insertionMode=Q.BEFORE_HTML,e._processToken(t)}function iK(e,t){t.tagID===Y.HTML?(e._insertElement(t,q.HTML),e.insertionMode=Q.BEFORE_HEAD):oK(e,t)}function aK(e,t){let n=t.tagID;(n===Y.HTML||n===Y.HEAD||n===Y.BODY||n===Y.BR)&&oK(e,t)}function oK(e,t){e._insertFakeRootElement(),e.insertionMode=Q.BEFORE_HEAD,e._processToken(t)}function sK(e,t){switch(t.tagID){case Y.HTML:tq(e,t);break;case Y.HEAD:e._insertElement(t,q.HTML),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD;break;default:lK(e,t)}}function cK(e,t){let n=t.tagID;n===Y.HEAD||n===Y.BODY||n===Y.HTML||n===Y.BR?lK(e,t):e._err(t,K.endTagWithoutMatchingOpenElement)}function lK(e,t){e._insertFakeElement(J.HEAD,Y.HEAD),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD,e._processToken(t)}function uK(e,t){switch(t.tagID){case Y.HTML:tq(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,RW.RCDATA);break;case Y.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,RW.RAWTEXT):(e._insertElement(t,q.HTML),e.insertionMode=Q.IN_HEAD_NO_SCRIPT);break;case Y.NOFRAMES:case Y.STYLE:e._switchToTextParsing(t,RW.RAWTEXT);break;case Y.SCRIPT:e._switchToTextParsing(t,RW.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:pK(e,t)}}function dK(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:pK(e,t);break;case Y.TEMPLATE:fK(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function fK(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 pK(e,t){e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD,e._processToken(t)}function mK(e,t){switch(t.tagID){case Y.HTML:tq(e,t);break;case Y.BASEFONT:case Y.BGSOUND:case Y.HEAD:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.STYLE:uK(e,t);break;case Y.NOSCRIPT:e._err(t,K.nestedNoscriptInHead);break;default:gK(e,t)}}function hK(e,t){switch(t.tagID){case Y.NOSCRIPT:e.openElements.pop(),e.insertionMode=Q.IN_HEAD;break;case Y.BR:gK(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function gK(e,t){let n=t.type===gW.EOF?K.openElementsLeftAfterEof:K.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Q.IN_HEAD,e._processToken(t)}function _K(e,t){switch(t.tagID){case Y.HTML:tq(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),uK(e,t),e.openElements.remove(e.headElement);break;case Y.HEAD:e._err(t,K.misplacedStartTagForHeadElement);break;default:yK(e,t)}}function vK(e,t){switch(t.tagID){case Y.BODY:case Y.HTML:case Y.BR:yK(e,t);break;case Y.TEMPLATE:fK(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function yK(e,t){e._insertFakeElement(J.BODY,Y.BODY),e.insertionMode=Q.IN_BODY,bK(e,t)}function bK(e,t){switch(t.type){case gW.CHARACTER:SK(e,t);break;case gW.WHITESPACE_CHARACTER:xK(e,t);break;case gW.COMMENT:QG(e,t);break;case gW.START_TAG:tq(e,t);break;case gW.END_TAG:pq(e,t);break;case gW.EOF:mq(e,t);break;default:}}function xK(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function SK(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function CK(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function wK(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function TK(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 EK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function DK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&LW.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,q.HTML)}function OK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function kK(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 AK(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 jK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.tokenizer.state=RW.PLAINTEXT}function MK(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 NK(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(J.A);n&&(ZG(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 PK(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function FK(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Y.NOBR)&&(ZG(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function IK(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function LK(e,t){e.treeAdapter.getDocumentMode(e.document)!==NW.QUIRKS&&e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_TABLE}function RK(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function zK(e){let t=_W(e,MW.TYPE);return t!=null&&t.toLowerCase()===RG}function BK(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),zK(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function VK(e,t){e._appendElement(t,q.HTML),t.ackSelfClosing=!0}function HK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function UK(e,t){t.tagName=J.IMG,t.tagID=Y.IMG,RK(e,t)}function WK(e,t){e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.tokenizer.state=RW.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Q.TEXT}function GK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,RW.RAWTEXT)}function KK(e,t){e.framesetOk=!1,e._switchToTextParsing(t,RW.RAWTEXT)}function qK(e,t){e._switchToTextParsing(t,RW.RAWTEXT)}function JK(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 YK(e,t){e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function XK(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,q.HTML)}function ZK(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Y.RTC),e._insertElement(t,q.HTML)}function QK(e,t){e._reconstructActiveFormattingElements(),jG(t),NG(t),t.selfClosing?e._appendElement(t,q.MATHML):e._insertElement(t,q.MATHML),t.ackSelfClosing=!0}function $K(e,t){e._reconstructActiveFormattingElements(),MG(t),NG(t),t.selfClosing?e._appendElement(t,q.SVG):e._insertElement(t,q.SVG),t.ackSelfClosing=!0}function eq(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function tq(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:PK(e,t);break;case Y.A:NK(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:DK(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:EK(e,t);break;case Y.LI:case Y.DD:case Y.DT:AK(e,t);break;case Y.BR:case Y.IMG:case Y.WBR:case Y.AREA:case Y.EMBED:case Y.KEYGEN:RK(e,t);break;case Y.HR:HK(e,t);break;case Y.RB:case Y.RTC:XK(e,t);break;case Y.RT:case Y.RP:ZK(e,t);break;case Y.PRE:case Y.LISTING:OK(e,t);break;case Y.XMP:GK(e,t);break;case Y.SVG:$K(e,t);break;case Y.HTML:CK(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:uK(e,t);break;case Y.BODY:wK(e,t);break;case Y.FORM:kK(e,t);break;case Y.NOBR:FK(e,t);break;case Y.MATH:QK(e,t);break;case Y.TABLE:LK(e,t);break;case Y.INPUT:BK(e,t);break;case Y.PARAM:case Y.TRACK:case Y.SOURCE:VK(e,t);break;case Y.IMAGE:UK(e,t);break;case Y.BUTTON:MK(e,t);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:IK(e,t);break;case Y.IFRAME:KK(e,t);break;case Y.SELECT:JK(e,t);break;case Y.OPTION:case Y.OPTGROUP:YK(e,t);break;case Y.NOEMBED:case Y.NOFRAMES:qK(e,t);break;case Y.FRAMESET:TK(e,t);break;case Y.TEXTAREA:WK(e,t);break;case Y.NOSCRIPT:e.options.scriptingEnabled?qK(e,t):eq(e,t);break;case Y.PLAINTEXT:jK(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:eq(e,t)}}function nq(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 rq(e,t){e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=Q.AFTER_BODY,Qq(e,t))}function iq(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function aq(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 oq(e){e.openElements.hasInButtonScope(Y.P)||e._insertFakeElement(J.P,Y.P),e._closePElement()}function sq(e){e.openElements.hasInListItemScope(Y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Y.LI),e.openElements.popUntilTagNamePopped(Y.LI))}function cq(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function lq(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function uq(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function dq(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(J.BR,Y.BR),e.openElements.pop(),e.framesetOk=!1}function fq(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 pq(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:ZG(e,t);break;case Y.P:oq(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:iq(e,t);break;case Y.LI:sq(e);break;case Y.DD:case Y.DT:cq(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:lq(e);break;case Y.BR:dq(e);break;case Y.BODY:nq(e,t);break;case Y.HTML:rq(e,t);break;case Y.FORM:aq(e);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:uq(e,t);break;case Y.TEMPLATE:fK(e,t);break;default:fq(e,t)}}function mq(e,t){e.tmplInsertionModeStack.length>0?Xq(e,t):tK(e,t)}function hq(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 gq(e,t){e._err(t,K.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function _q(e,t){if(e.openElements.currentTagId!==void 0&&HG.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 gW.CHARACTER:Aq(e,t);break;case gW.WHITESPACE_CHARACTER:kq(e,t);break}else Oq(e,t)}function vq(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_CAPTION}function yq(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_COLUMN_GROUP}function bq(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.COLGROUP,Y.COLGROUP),e.insertionMode=Q.IN_COLUMN_GROUP,Fq(e,t)}function xq(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_TABLE_BODY}function Sq(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.TBODY,Y.TBODY),e.insertionMode=Q.IN_TABLE_BODY,Rq(e,t)}function Cq(e,t){e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function wq(e,t){zK(t)?e._appendElement(t,q.HTML):Oq(e,t),t.ackSelfClosing=!0}function Tq(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,q.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Eq(e,t){switch(t.tagID){case Y.TD:case Y.TH:case Y.TR:Sq(e,t);break;case Y.STYLE:case Y.SCRIPT:case Y.TEMPLATE:uK(e,t);break;case Y.COL:bq(e,t);break;case Y.FORM:Tq(e,t);break;case Y.TABLE:Cq(e,t);break;case Y.TBODY:case Y.TFOOT:case Y.THEAD:xq(e,t);break;case Y.INPUT:wq(e,t);break;case Y.CAPTION:vq(e,t);break;case Y.COLGROUP:yq(e,t);break;default:Oq(e,t)}}function Dq(e,t){switch(t.tagID){case Y.TABLE:e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode());break;case Y.TEMPLATE:fK(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:Oq(e,t)}}function Oq(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,bK(e,t),e.fosterParentingEnabled=n}function kq(e,t){e.pendingCharacterTokens.push(t)}function Aq(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function jq(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Oq(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var Mq=new Set([Y.CAPTION,Y.COL,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]);function Nq(e,t){let n=t.tagID;Mq.has(n)?e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,Eq(e,t)):tq(e,t)}function Pq(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&&Dq(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:pq(e,t)}}function Fq(e,t){switch(t.tagID){case Y.HTML:tq(e,t);break;case Y.COL:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.TEMPLATE:uK(e,t);break;default:Lq(e,t)}}function Iq(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:fK(e,t);break;case Y.COL:break;default:Lq(e,t)}}function Lq(e,t){e.openElements.currentTagId===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE,e._processToken(t))}function Rq(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,Bq(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,Eq(e,t));break;default:Eq(e,t)}}function zq(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,Dq(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:Dq(e,t)}}function Bq(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,Rq(e,t));break;default:Eq(e,t)}}function Vq(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,zq(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,zq(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:Dq(e,t)}}function Hq(e,t){let n=t.tagID;Mq.has(n)?(e.openElements.hasInTableScope(Y.TD)||e.openElements.hasInTableScope(Y.TH))&&(e._closeTableCell(),Bq(e,t)):tq(e,t)}function Uq(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(),Vq(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:break;default:pq(e,t)}}function Wq(e,t){switch(t.tagID){case Y.HTML:tq(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:uK(e,t);break;default:}}function Gq(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:fK(e,t);break;default:}}function Kq(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)):Wq(e,t)}function qq(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)):Gq(e,t)}function Jq(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:uK(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,Eq(e,t);break;case Y.COL:e.tmplInsertionModeStack[0]=Q.IN_COLUMN_GROUP,e.insertionMode=Q.IN_COLUMN_GROUP,Fq(e,t);break;case Y.TR:e.tmplInsertionModeStack[0]=Q.IN_TABLE_BODY,e.insertionMode=Q.IN_TABLE_BODY,Rq(e,t);break;case Y.TD:case Y.TH:e.tmplInsertionModeStack[0]=Q.IN_ROW,e.insertionMode=Q.IN_ROW,Bq(e,t);break;default:e.tmplInsertionModeStack[0]=Q.IN_BODY,e.insertionMode=Q.IN_BODY,tq(e,t)}}function Yq(e,t){t.tagID===Y.TEMPLATE&&fK(e,t)}function Xq(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):tK(e,t)}function Zq(e,t){t.tagID===Y.HTML?tq(e,t):$q(e,t)}function Qq(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 $q(e,t)}function $q(e,t){e.insertionMode=Q.IN_BODY,bK(e,t)}function eJ(e,t){switch(t.tagID){case Y.HTML:tq(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:uK(e,t);break;default:}}function tJ(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 nJ(e,t){switch(t.tagID){case Y.HTML:tq(e,t);break;case Y.NOFRAMES:uK(e,t);break;default:}}function rJ(e,t){t.tagID===Y.HTML&&(e.insertionMode=Q.AFTER_AFTER_FRAMESET)}function iJ(e,t){t.tagID===Y.HTML?tq(e,t):aJ(e,t)}function aJ(e,t){e.insertionMode=Q.IN_BODY,bK(e,t)}function oJ(e,t){switch(t.tagID){case Y.HTML:tq(e,t);break;case Y.NOFRAMES:uK(e,t);break;default:}}function sJ(e,t){t.chars=`�`,e._insertCharacters(t)}function cJ(e,t){e._insertCharacters(t),e.framesetOk=!1}function lJ(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 uJ(e,t){if(AG(t))lJ(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===q.MATHML?jG(t):r===q.SVG&&(PG(t),MG(t)),NG(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function dJ(e,t){if(t.tagID===Y.P||t.tagID===Y.BR){lJ(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 fJ(e,t){return WG.parse(e,t)}function pJ(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=WG.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function mJ(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?gJ(e.position):`start`in e||`end`in e?gJ(e):`line`in e||`column`in e?hJ(e):``}function hJ(e){return _J(e&&e.line)+`:`+_J(e&&e.column)}function gJ(e){return hJ(e&&e.start)+`-`+hJ(e&&e.end)}function _J(e){return e&&typeof e==`number`?e:1}var vJ=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=mJ(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}};vJ.prototype.file=``,vJ.prototype.name=``,vJ.prototype.reason=``,vJ.prototype.message=``,vJ.prototype.stack=``,vJ.prototype.column=void 0,vJ.prototype.line=void 0,vJ.prototype.ancestors=void 0,vJ.prototype.cause=void 0,vJ.prototype.fatal=void 0,vJ.prototype.place=void 0,vJ.prototype.ruleId=void 0,vJ.prototype.source=void 0;var yJ={basename:bJ,dirname:xJ,extname:SJ,join:CJ,sep:`/`};function bJ(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);EJ(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 xJ(e){if(EJ(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 SJ(e){EJ(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 CJ(...e){let t=-1,n;for(;++t<e.length;)EJ(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:wJ(n)}function wJ(e){EJ(e);let t=e.codePointAt(0)===47,n=TJ(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function TJ(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 EJ(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var DJ={cwd:OJ};function OJ(){return`/`}function kJ(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function AJ(e){if(typeof e==`string`)e=new URL(e);else if(!kJ(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 jJ(e)}function jJ(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 MJ=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],NJ=class{constructor(e){let t;t=e?kJ(e)?{path:e}:typeof e==`string`||LJ(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:DJ.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<MJ.length;){let e=MJ[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)MJ.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?yJ.basename(this.path):void 0}set basename(e){FJ(e,`basename`),PJ(e,`basename`),this.path=yJ.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?yJ.dirname(this.path):void 0}set dirname(e){IJ(this.basename,`dirname`),this.path=yJ.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?yJ.extname(this.path):void 0}set extname(e){if(PJ(e,`extname`),IJ(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=yJ.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){kJ(e)&&(e=AJ(e)),FJ(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?yJ.basename(this.path,this.extname):void 0}set stem(e){FJ(e,`stem`),PJ(e,`stem`),this.path=yJ.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 vJ(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 PJ(e,t){if(e&&e.includes(yJ.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+yJ.sep+"`")}function FJ(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function IJ(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function LJ(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var RJ={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`}},zJ=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,BJ=/-[a-z]/g,VJ=/%c(?:([-+])(\d+))?/g,HJ=/%x/g,UJ={2:!0,1:!1,0:null},WJ={};function GJ(e,t){let n=t||WJ,r=n.onerror,i=e instanceof NJ?e:new NJ(e),a=n.fragment?pJ:fJ,o=String(i);return $U(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=KJ(t),s=n[a]??!0,c=typeof s==`number`?s:s?1:0;if(c){let n=RJ[a],o=new vJ(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=UJ[c],o.note=l(n.description),o.url=n.url===!1?void 0:zJ+t,r(o)}function l(t){return t.replace(VJ,n).replace(HJ,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return JJ(o.charAt(e.startOffset+i))}function r(){return YJ(o.charCodeAt(e.startOffset))}}}}function KJ(e){return e.replace(BJ,qJ)}function qJ(e){return e.charAt(1).toUpperCase()}function JJ(e){return e==="`"?"` ` `":e}function YJ(e){return`0x`+e.toString(16).toUpperCase()}function XJ(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return GJ(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 ZJ=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],QJ={}.hasOwnProperty;function $J(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&QJ.call(t,e)){let n=String(t[e]);i=QJ.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 eY=/["&'<>`]/g,tY=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nY=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,rY=/[|\\{}()[\]^$+*?.]/g,iY=new WeakMap;function aY(e,t){if(e=e.replace(t.subset?oY(t.subset):eY,r),t.subset||t.escapeOnly)return e;return e.replace(tY,n).replace(nY,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 oY(e){let t=iY.get(e);return t||(t=sY(e),iY.set(e,t)),t}function sY(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(rY,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var cY=/[\dA-Fa-f]/;function lY(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!cY.test(String.fromCharCode(t))?r:r+`;`}var uY=/\d/;function dY(e,t,n){let r=`&#`+String(e);return n&&t&&!uY.test(String.fromCharCode(t))?r:r+`;`}var fY=`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(`.`),pY={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:`€`},mY=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],hY={}.hasOwnProperty,gY={},_Y;for(_Y in pY)hY.call(pY,_Y)&&(gY[pY[_Y]]=_Y);var vY=/[^\dA-Za-z]/;function yY(e,t,n,r){let i=String.fromCharCode(e);if(hY.call(gY,i)){let e=gY[i],a=`&`+e;return n&&fY.includes(e)&&!mY.includes(e)&&(!r||t&&t!==61&&vY.test(String.fromCharCode(t)))?a:a+`;`}return``}function bY(e,t,n){let r=lY(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=yY(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=dY(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function xY(e,t){return aY(e,Object.assign({format:bY},t))}var SY=/^>|^->|<!--|-->|--!>|<!-$/g,CY=[`>`],wY=[`<`,`>`];function TY(e,t,n,r){return r.settings.bogusComments?`<?`+xY(e.value,Object.assign({},r.settings.characterReferences,{subset:CY}))+`>`:`<!--`+e.value.replace(SY,i)+`-->`;function i(e){return xY(e,Object.assign({},r.settings.characterReferences,{subset:wY}))}}function EY(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function DY(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 OY=/[ \t\n\f\r]/g;function kY(e){return typeof e==`object`?e.type===`text`?AY(e.value):!1:AY(e)}function AY(e){return e.replace(OY,``)===``}var jY=PY(1),MY=PY(-1),NY=[];function PY(e){return t;function t(t,n,r){let i=t?t.children:NY,a=(n||0)+e,o=i[a];if(!r)for(;o&&kY(o);)a+=e,o=i[a];return o}}var FY={}.hasOwnProperty;function IY(e){return t;function t(t,n,r){return FY.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var LY=IY({body:BY,caption:RY,colgroup:RY,dd:WY,dt:UY,head:RY,html:zY,li:HY,optgroup:KY,option:qY,p:VY,rp:GY,rt:GY,tbody:YY,td:QY,tfoot:XY,th:QY,thead:JY,tr:ZY});function RY(e,t,n){let r=jY(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&kY(r.value.charAt(0)))}function zY(e,t,n){let r=jY(n,t);return!r||r.type!==`comment`}function BY(e,t,n){let r=jY(n,t);return!r||r.type!==`comment`}function VY(e,t,n){let r=jY(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 HY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&r.tagName===`li`}function UY(e,t,n){let r=jY(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function WY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function GY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function KY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function qY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function JY(e,t,n){let r=jY(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function YY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function XY(e,t,n){return!jY(n,t)}function ZY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function QY(e,t,n){let r=jY(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var $Y=IY({body:nX,colgroup:rX,head:tX,html:eX,tbody:iX});function eX(e){let t=jY(e,-1);return!t||t.type!==`comment`}function tX(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 nX(e){let t=jY(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&kY(t.value.charAt(0)))&&!(t.type===`element`&&(t.tagName===`meta`||t.tagName===`link`||t.tagName===`script`||t.tagName===`style`||t.tagName===`template`))}function rX(e,t,n){let r=MY(n,t),i=jY(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&LY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function iX(e,t,n){let r=MY(n,t),i=jY(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&LY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var aX={name:[[`
18
+ \f\r &/=>`.split(``),`
19
+ \f\r "&'/=>\``.split(``)],[`\0
20
+ \f\r "&'/<=>`.split(``),`\0
21
+ \f\r "&'/<=>\``.split(``)]],unquoted:[[`
22
+ \f\r &>`.split(``),`\0
23
+ \f\r "&'<=>\``.split(``)],[`\0
24
+ \f\r "&'<=>\``.split(``),`\0
25
+ \f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function oX(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=kU);let l=sX(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!$Y(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||!LY(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function sX(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=cX(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 cX(e,t,n){let r=TU(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=xY(r.attribute,Object.assign({},e.settings.characterReferences,{subset:aX.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?jU:FU)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=xY(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:aX.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&DY(n,o)>DY(n,e.alternative)&&(o=e.alternative),s=o+xY(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?aX.single:aX.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var lX=[`<`,`&`];function uX(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:xY(e.value,Object.assign({},r.settings.characterReferences,{subset:lX}))}function dX(e,t,n,r){return r.settings.allowDangerousHtml?e.value:uX(e,t,n,r)}function fX(e,t,n,r){return r.all(e)}var pX=$J(`type`,{invalid:mX,unknown:hX,handlers:{comment:TY,doctype:EY,element:oX,raw:dX,root:fX,text:uX}});function mX(e){throw Error("Expected node, not `"+e+"`")}function hX(e){let t=e;throw Error("Cannot compile unknown node `"+t.type+"`")}var gX={},_X={},vX=[];function yX(e,t){let n=t||gX,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:bX,all:xX,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||ZJ,characterReferences:n.characterReferences||_X,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?kU:OU,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function bX(e,t,n){return pX(e,t,n,this)}function xX(e){let t=[],n=e&&e.children||vX,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function SX(e){let t=this,n={...t.data(`settings`),...e};t.compiler=r;function r(e){return yX(e,n)}}function CX(e){if(e)throw e}var wX=fH(((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 TX(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 EX(){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?DX(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 DX(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 OX=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),kX=hH(wX(),1),AX={}.hasOwnProperty,jX=new class e extends OX{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=EX()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,kX.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(PX(`data`,this.frozen),this.namespace[e]=t,this):AX.call(this.namespace,e)&&this.namespace[e]||void 0:e?(PX(`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=LX(e),n=this.parser||this.Parser;return MX(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),MX(`process`,this.parser||this.Parser),NX(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=LX(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);zX(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(),MX(`processSync`,this.parser||this.Parser),NX(`processSync`,this.compiler||this.Compiler),this.process(e,r),IX(`processSync`,`process`,t),n;function r(e,r){t=!0,CX(e),n=r}}run(e,t,n){FX(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=LX(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),IX(`runSync`,`run`,n),r;function i(e,t){CX(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=LX(t),r=this.compiler||this.Compiler;return NX(`stringify`,r),FX(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(PX(`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,kX.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];TX(o)&&TX(r)&&(r=(0,kX.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function MX(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function NX(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function PX(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 FX(e){if(!TX(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function IX(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function LX(e){return RX(e)?e:new NJ(e)}function RX(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function zX(e){return typeof e==`string`||BX(e)}function BX(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}function VX(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 HX(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 UX(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 WX(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 GX(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`),`m`)}function KX(e){return e?typeof e==`string`?e:e.source:null}function qX(e){return JX(`(?=`,e,`)`)}function JX(...e){return e.map(e=>KX(e)).join(``)}function YX(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function XX(...e){return`(`+(YX(e).capture?``:`?:`)+e.map(e=>KX(e)).join(`|`)+`)`}function ZX(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:JX(d,/``.*?``/)},{match:JX(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?`!%&*+-/<=>@^|~?`:`!%&*+-/<>@^|~?`;let n=JX(`[`,...Array.from(t).map(GX),`]`),r=XX(n,/\./);return{scope:`operator`,match:XX(XX(JX(JX(r,qX(r)),r,`*`),JX(n,`+`)),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),h=p({includeEqual:!1}),g=function(t,n){return{begin:JX(t,qX(JX(/\s*/,XX(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:n,end:qX(XX(/\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:qX(/\(|=|$/),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*/,JX(/#/,XX(...r)),/\b/],beginScope:{2:`meta`},end:qX(/\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:JX(/'/,XX(/[^\\']/,/\\(?:.|\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 QX(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 $X(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 eZ(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 tZ(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 nZ(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 rZ(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 iZ(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 aZ(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 oZ(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 sZ(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 cZ(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 lZ(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 uZ=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_-]*/}}),dZ=`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(`.`),fZ=`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(`.`),pZ=[...dZ,...fZ],mZ=`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(),hZ=`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(),gZ=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),_Z=`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 vZ(e){let t=e.regex,n=uZ(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:`:(`+hZ.join(`|`)+`)`},{begin:`:(:)?(`+gZ.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+_Z.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:mZ.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+pZ.join(`|`)+`)\\b`}]}}function yZ(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 bZ(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 xZ(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 SZ(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 CZ=`[0-9](_*[0-9])*`,wZ=`\\.(${CZ})`,TZ=`[0-9a-fA-F](_*[0-9a-fA-F])*`,EZ={className:`number`,variants:[{begin:`(\\b(${CZ})((${wZ})|\\.)?|(${wZ}))[eE][+-]?(${CZ})[fFdD]?\\b`},{begin:`\\b(${CZ})((${wZ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${wZ})[fFdD]?\\b`},{begin:`\\b(${CZ})[fFdD]\\b`},{begin:`\\b0[xX]((${TZ})\\.?|(${TZ})?\\.(${TZ}))[pP][+-]?(${CZ})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${TZ})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function DZ(e,t,n){return n===-1?``:e.replace(t,r=>DZ(e,t,n-1))}function OZ(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+DZ(`(?:<`+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,EZ,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},EZ,a]}}var kZ=`[A-Za-z$_][0-9A-Za-z$_]*`,AZ=`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(`.`),jZ=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],MZ=`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(`.`),NZ=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],PZ=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],FZ=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],IZ=[].concat(PZ,MZ,NZ);function LZ(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=kZ,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:kZ,keyword:AZ,literal:jZ,built_in:IZ,"variable.language":FZ},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:{_:[...MZ,...NZ]}},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([...PZ,`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*=>`,w={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},w,{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 RZ(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 zZ=`[0-9](_*[0-9])*`,BZ=`\\.(${zZ})`,VZ=`[0-9a-fA-F](_*[0-9a-fA-F])*`,HZ={className:`number`,variants:[{begin:`(\\b(${zZ})((${BZ})|\\.)?|(${BZ}))[eE][+-]?(${zZ})[fFdD]?\\b`},{begin:`\\b(${zZ})((${BZ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${BZ})[fFdD]?\\b`},{begin:`\\b(${zZ})[fFdD]\\b`},{begin:`\\b0[xX]((${VZ})\\.?|(${VZ})?\\.(${VZ}))[pP][+-]?(${zZ})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${VZ})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function UZ(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=HZ,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:`
26
+ `},l]}}var WZ=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_-]*/}}),GZ=`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(`.`),KZ=`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(`.`),qZ=[...GZ,...KZ],JZ=`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(),YZ=`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(),XZ=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),ZZ=`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(),QZ=YZ.concat(XZ).sort().reverse();function $Z(e){let t=WZ(e),n=QZ,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:JZ.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(`+ZZ.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(`+qZ.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:`:(`+YZ.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+XZ.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 eQ(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 tQ(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 nQ(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 rQ(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 iQ(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 aQ(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=`[
27
+ ]`,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 oQ(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}function sQ(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 cQ(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 lQ(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 uQ(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 dQ=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_-]*/}}),fQ=`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(`.`),pQ=`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(`.`),mQ=[...fQ,...pQ],hQ=`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(),gQ=`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(),_Q=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),vQ=`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 yQ(e){let t=dQ(e),n=_Q,r=gQ,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(`+mQ.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(`+vQ.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:hQ.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 bQ(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}function xQ(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 SQ(e){return e?typeof e==`string`?e:e.source:null}function CQ(e){return wQ(`(?=`,e,`)`)}function wQ(...e){return e.map(e=>SQ(e)).join(``)}function TQ(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function EQ(...e){return`(`+(TQ(e).capture?``:`?:`)+e.map(e=>SQ(e)).join(`|`)+`)`}var DQ=e=>wQ(/\b/,e,/\w$/.test(e)?/\b/:/\B/),OQ=[`Protocol`,`Type`].map(DQ),kQ=[`init`,`self`].map(DQ),AQ=[`Any`,`Self`],jQ=[`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`],MQ=[`false`,`nil`,`true`],NQ=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],PQ=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],FQ=`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(`.`),IQ=EQ(/[/=\-+!*%<>&|^~?]/,/[\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]/),LQ=EQ(IQ,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),RQ=wQ(IQ,LQ,`*`),zQ=EQ(/[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]/),BQ=EQ(zQ,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),VQ=wQ(zQ,BQ,`*`),HQ=wQ(/[A-Z]/,BQ,`*`),UQ=[`attached`,`autoclosure`,wQ(/convention\(/,EQ(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,wQ(/objc\(/,VQ,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],WQ=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`];function GQ(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,EQ(...OQ,...kQ)],className:{2:`keyword`}},a={match:wQ(/\./,EQ(...jQ)),relevance:0},o=jQ.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:EQ(...jQ.filter(e=>typeof e!=`string`).concat(AQ).map(DQ),...kQ)}]},c={$pattern:EQ(/\b\w+/,/#\w+/),keyword:o.concat(PQ),literal:MQ},l=[i,a,s],u=[{match:wQ(/\./,EQ(...FQ)),relevance:0},{className:`built_in`,match:wQ(/\b/,EQ(...FQ),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:RQ},{match:`\\.(\\.|${LQ})+`}]}],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:wQ(/\\/,e,/[0\\tnr"']/)},{match:wQ(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:wQ(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:wQ(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:wQ(e,/"""/),end:wQ(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:wQ(e,/"/),end:wQ(/"/,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=wQ(e,/\//),n=wQ(/\//,e);return{begin:t,end:n,contains:[...x,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},ne={scope:`regexp`,variants:[S(`###`),S(`##`),S(`#`),te]},re={match:wQ(/`/,VQ,/`/)},ie=[re,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${BQ}+`}],ae=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:WQ,contains:[...f,h,ee]}]}},{scope:`keyword`,match:wQ(/@/,EQ(...UQ),CQ(EQ(/\(/,/\s+/)))},{scope:`meta`,match:wQ(/@/,VQ)}],oe={match:CQ(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:wQ(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,BQ,`+`)},{className:`type`,match:HQ,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:wQ(/\s+&\s+/,CQ(HQ)),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:wQ(VQ,/\s*:/),keywords:`_|0`,relevance:0},...r,ne,...l,...u,...f,h,ee,...ie,...ae,oe]},w={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,oe]},ce={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:EQ(CQ(wQ(VQ,/\s*:/)),CQ(wQ(VQ,/\s+/,VQ,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:VQ}]},...r,...l,...f,h,ee,...ae,oe,se],endsParent:!0,illegal:/["']/},le={match:[/(func|macro)/,/\s+/,EQ(re.match,VQ,RQ)],className:{1:`keyword`,3:`title.function`},contains:[w,ce,t],illegal:[/\[/,/%/]},ue={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[w,ce,t],illegal:/\[|%/},T={match:[/operator/,/\s+/,RQ],className:{1:`keyword`,3:`title`}},de={begin:[/precedencegroup/,/\s+/,HQ],className:{1:`keyword`,3:`title`},contains:[oe],keywords:[...NQ,...MQ],end:/}/},E={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},fe={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},pe={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,VQ,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[w,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:HQ},...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,le,ue,E,fe,pe,T,de,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},ne,...l,...u,...f,h,ee,...ie,...ae,oe,se]}}var KQ=`[A-Za-z$_][0-9A-Za-z$_]*`,qQ=`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(`.`),JQ=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],YQ=`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(`.`),XQ=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],ZQ=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],QQ=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],$Q=[].concat(ZQ,YQ,XQ);function e$(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=KQ,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:KQ,keyword:qQ,literal:JQ,built_in:$Q,"variable.language":QQ},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:{_:[...YQ,...XQ]}},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([...ZQ,`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*=>`,w={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},w,{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 t$(e){let t=e.regex,n=e$(e),r=KQ,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:KQ,keyword:qQ.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:JQ,built_in:$Q.concat(i),"variable.language":QQ},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 n$(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 r$(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 i$={bash:oZ,c:sZ,clojure:VX,cpp:cZ,csharp:lZ,css:vZ,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:HX,diff:yZ,docker:UX,dockerfile:UX,elixir:WX,fsharp:ZX,go:bZ,graphql:xZ,haskell:QX,html:n$,http:$X,ini:SZ,java:OZ,javascript:LZ,json:RZ,kotlin:UZ,less:$Z,lua:eQ,makefile:tQ,markdown:nQ,matlab:eZ,mojo:e=>{let t=sQ(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[`fn`,`struct`,`trait`,`var`,`let`,`alias`,`comptime`,`owned`,`borrowed`,`inout`,`ref`,`mut`,`read`,`out`,`raises`,`capturing`],o=`Int.UInt.Int8.Int16.Int32.Int64.UInt8.UInt16.UInt32.UInt64.Float16.Float32.Float64.Bool.String.StringLiteral.StringSlice.SIMD.DType.Scalar.List.Dict.Set.Tuple.Optional.Variant.Span.Pointer.UnsafePointer.Reference.Error`.split(`.`),s=(...e)=>Array.from(new Set(e.flat())),c={...i,keyword:s(i.keyword??[],a),type:s(i.type??[],o)},l=[...c.keyword??[],...i.built_in??[],...i.literal??[],...c.type??[]].map(e=>e.replace(/\|\d+$/,``)),u=n.concat(`(?!(?:`,l.join(`|`),`)\\b)`),d={scope:`title.function`,relevance:0,match:n.concat(/\b/,u,r,n.lookahead(/\(/))};return{...t,name:`Mojo`,aliases:[`mojo`,`🔥`],keywords:c,contains:[...t.contains??[],d]}},nginx:tZ,objectivec:rQ,ocaml:nZ,perl:iQ,php:aQ,plaintext:oQ,powershell:rZ,properties:iZ,python:e=>{let t=sQ(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:cQ,ruby:lQ,rust:uQ,scala:aZ,scss:yQ,shell:bQ,sql:xQ,swift:GQ,toml:SZ,typescript:t$,xml:n$,yaml:r$};function a$(e){return e?.type===`text`}function o$(e){return e?.type===`element`}function s$(e){return{type:`text`,value:e}}function c$(){return{type:`text`,value:`
28
+ `}}function l$(){return e=>{aH(e,`element`,(e,t,n)=>{if(n?.type===`element`&&n.tagName===`pre`&&e.tagName===`code`){let t=0;e.children=u$(e),e.children.forEach(e=>{if(e.type===`element`&&e.tagName===`span`){let n=e.children[e.children.length-1];n&&(!a$(n)||a$(n)&&!f$(n))&&(e.children.push(c$()),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function u$(e,t=[],n){let r=()=>t[t.length-1]??(t.push(d$())&&t[t.length-1]||void 0);return e.children.forEach(i=>{if(a$(i)&&f$(i)){let a=i.value.split(/\n/);a.forEach((i,o)=>{n?r()?.children.push({...e,children:[s$(i)]}):r()?.children.push(s$(i)),o!==a.length-1&&t.push(d$())})}else o$(i)&&i.children.some(f$)?u$(i,t,!0):r()?.children.push(i)}),t}function d$(...e){return{type:`element`,tagName:`span`,properties:{class:[`line`]},children:e}}function f$(e){return a$(e)&&/\r?\n/.test(e.value)||o$(e)&&e.children.some(f$)}function p$(e,t){let n=(typeof t?.maskCredentials==`string`?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${gH[t.lang]??t.lang}`,i=jX().use(XJ,{fragment:!0}).use(m$(e)).use(YH,{languages:t.languages}).use(t?.lineNumbers?l$:(()=>{})).use(SX).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 m$(e){return()=>t=>{aH(t,`element`,t=>{t.tagName===`code`&&t.children.push({type:`text`,value:e})})}}var h$=[`note`,`tip`,`important`,`warning`,`caution`,`success`];function g$(e){return e.type===`text`&&typeof e.value==`string`&&/^\s*$/.test(e.value)}function _$(){return e=>{aH(e,`element`,(e,t,n)=>{if(e.tagName!==`blockquote`||typeof t!=`number`||!n||n.type!==`root`)return;let r=e.children.findIndex(e=>!g$(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(!h$.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)===`
29
+ `&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&g$(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)===`
30
+ `&&(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 v$=typeof self==`object`?self:globalThis,y$=(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 v$[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new v$[a](o),i)};return r},b$=e=>y$(new Map,e)(0),x$=``,{toString:S$}={},{keys:C$}=Object,w$=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=S$.call(e).slice(8,-1);switch(n){case`Array`:return[1,x$];case`Object`:return[2,x$];case`Date`:return[3,x$];case`RegExp`:return[4,x$];case`Map`:return[5,x$];case`Set`:return[6,x$]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},T$=([e,t])=>e===0&&(t===`function`||t===`symbol`),E$=(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]=w$(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 C$(r))(e||!T$(w$(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||!(T$(w$(n))||T$(w$(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!T$(w$(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},D$=(e,{json:t,lossy:n}={})=>{let r=[];return E$(!(t||n),!!t,new Map,r)(e),r},O$=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?b$(D$(e,t)):structuredClone(e):(e,t)=>b$(D$(e,t)),k$=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,A$=/^[a-zA-Z]:\\/;function j$(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return A$.test(e)?!1:k$.test(e)}var M$=[`http`,`https`],N$=[`nofollow`],P$={};function F$(e){let t=e||P$,n=t.protocols||M$,r=yH(t.test);return function(e){aH(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(j$(r)?n.includes(r.slice(0,r.indexOf(`:`))):r.startsWith(`//`)){let n=I$(t.content,e),r=n&&!Array.isArray(n)?[n]:n,i=I$(t.rel,e)||N$,a=typeof i==`string`?PU(i):i,o=I$(t.target,e),s=I$(t.properties,e);if(s&&Object.assign(e.properties,O$(s)),a.length>0&&(e.properties.rel=[...a]),o&&(e.properties.target=o),r){let n=I$(t.contentProperties,e)||{};e.children.push({type:`element`,tagName:`span`,properties:O$(n),children:O$(r)})}}}})}}function I$(e,t){return typeof e==`function`?e(t):e}var L$=yH(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`}),R$=`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(`.`),z$=[`button`,`input`,`select`,`textarea`],B$=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`],V$={},H$=qV([`comment`,`doctype`]);function U$(e,t){W$(e,{collapse:t1((t||V$).newlines?$$:e1),whitespace:`normal`})}function W$(e,t){if(`children`in e){let n={...t};return(e.type===`root`||X$(e))&&(n.before=!0,n.after=!0),n.whitespace=n1(e,t),K$(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return G$(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:H$(e),stripAtStart:!1,remove:!1}}function G$(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&Q$(n.charAt(0))&&i++,i!==a&&Q$(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function K$(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=W$(i[o],{...t,after:q$(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),Y$(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function q$(e,t,n){for(;++t<e.length;){let n=e[t],r=J$(n);if(r===void 0&&`children`in n&&!Z$(n)&&(r=q$(n.children,-1)),typeof r==`boolean`)return r}return n}function J$(e){if(e.type===`element`){if(Y$(e))return!1;if(X$(e))return!0}else if(e.type===`text`){if(!kY(e))return!1}else if(!H$(e))return!1}function Y$(e){return L$(e)||vH(e,z$)}function X$(e){return vH(e,R$)}function Z$(e){return!!(e.type===`element`&&e.properties.hidden)||H$(e)||vH(e,B$)}function Q$(e){return e===` `||e===`
31
+ `}function $$(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function e1(){return` `}function t1(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function n1(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 r1={}.hasOwnProperty;function i1(e,t){let n=e.type===`element`&&r1.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var a1=new Set([`pingback`,`prefetch`,`stylesheet`]);function o1(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(!a1.has(String(t[n])))return!1;return!0}var s1=yH(`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(`.`)),c1=yH(`meta`);function l1(e){return!!(e.type===`text`||s1(e)||L$(e)||o1(e)||c1(e)&&i1(e,`itemProp`))}var u1=[`pre`,`script`,`style`,`textarea`],d1={};function f1(e,t){let n=t||d1,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent==`number`?` `.repeat(n.indent):typeof n.indent==`string`?n.indent:` `};U$(e,{newlines:!0}),rH(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`&&u1.includes(e.tagName))return nH;if(e.children.length===0||!m1(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(`
32
+ `)&&(i=!0),t.value=t.value.replace(/ *\n/g,`$&`+r.indent.repeat(n)));let o=[],s;for(let t of e.children)(m1(r,t)||i&&!s)&&(a(o,n,t),i=!0),s=t,o.push(t);s&&(i||m1(r,s))&&(kY(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=(p1(r,i&&kY(i)?e[e.length-2]:i)&&p1(r,n)?`
33
+
34
+ `:`
35
+ `)+r.indent.repeat(Math.max(t,0));i&&i.type===`text`?i.value=kY(i)?a:i.value+a:e.push({type:`text`,value:a})}}function p1(e,t){return!!(t&&t.type===`element`&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function m1(e,t){return t.type===`root`||(t.type===`element`?e.head||t.tagName===`script`||L$(t)||!l1(t):!1)}function h1(e){return function(t){f1(t,e)}}var g1={},_1={}.hasOwnProperty,v1=$J(`type`,{handlers:{root:b1,element:T1,text:C1,comment:w1,doctype:S1}});function y1(e,t){let n=(t||g1).space;return v1(e,n===`svg`?kU:OU)}function b1(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=D1(e.children,n,t),O1(e,n),n}function x1(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=D1(e.children,n,t),O1(e,n),n}function S1(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return O1(e,t),t}function C1(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return O1(e,t),t}function w1(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return O1(e,t),t}function T1(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=kU);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&_1.call(e.properties,a)){let t=E1(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:XU[o],childNodes:[],parentNode:null};return s.childNodes=D1(e.children,s,r),O1(e,s),e.tagName===`template`&&e.content&&(s.content=x1(e.content,r)),s}function E1(e,t,n){let r=TU(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?jU(n):FU(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=XU[r.space]}return i}function D1(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=v1(e[r],n);a.parentNode=t,i.push(a)}return i}function O1(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 k1=j1(`end`),A1=j1(`start`);function j1(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 M1(e){let t=A1(e),n=k1(e);if(t&&n)return{start:t,end:n}}var N1=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),P1={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function F1(e,t){let n=Y1(e),r=$J(`type`,{handlers:{root:L1,element:R1,text:z1,comment:H1,doctype:B1,raw:U1},unknown:W1}),i={parser:n?new WG(P1):WG.getFragmentParser(void 0,P1),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),G1(i,A1());let a=$U(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&aH(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 I1(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function L1(e,t){I1(e.children,t)}function R1(e,t){q1(e,t),I1(e.children,t),J1(e,t)}function z1(e,t){let n={type:gW.CHARACTER,chars:e.value,location:X1(e)};G1(t,A1(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function B1(e,t){let n={type:gW.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:X1(e)};G1(t,A1(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function V1(e,t){t.stitches=!0;let n=Z1(e);`children`in e&&`children`in n&&(n.children=F1({type:`root`,children:e.children},t.options).children),H1({type:`comment`,value:{stitch:n}},t)}function H1(e,t){let n=e.value,r={type:gW.COMMENT,data:n,location:X1(e)};G1(t,A1(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function U1(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,K1(t,A1(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 W1(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))V1(n,t);else{let e=``;throw N1.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 G1(e,t){K1(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=RW.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 K1(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 q1(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===RW.PLAINTEXT)return;G1(t,A1(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:XU.html;i===XU.html&&n===`svg`&&(i=XU.svg);let a=y1({...e,children:[]},{space:i===XU.svg?`svg`:`html`}),o={type:gW.START_TAG,tagName:n,tagID:FW(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:X1(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function J1(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&ZJ.includes(n)||t.parser.tokenizer.state===RW.PLAINTEXT)return;G1(t,k1(e));let r={type:gW.END_TAG,tagName:n,tagID:FW(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:X1(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===RW.RCDATA||t.parser.tokenizer.state===RW.RAWTEXT||t.parser.tokenizer.state===RW.SCRIPT_DATA)&&(t.parser.tokenizer.state=RW.DATA)}function Y1(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function X1(e){let t=A1(e)||{line:void 0,column:void 0,offset:void 0},n=k1(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 Z1(e){return`children`in e?O$({...e,children:[]}):O$(e)}function Q1(e){return function(t,n){return F1(t,{...e,file:n})}}var $1=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],e0={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...$1,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...$1],h2:[[`className`,`sr-only`]],img:[...$1,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...$1,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...$1],table:[...$1],ul:[...$1,[`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(`.`)},t0={}.hasOwnProperty;function n0(e,t){let n={type:`root`,children:[]},r=r0({schema:t?{...e0,...t}:e0,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function r0(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return i0(e,n);case`doctype`:return a0(e,n);case`element`:return o0(e,n);case`root`:return s0(e,n);case`text`:return c0(e,n);default:}}}function i0(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 h0(r,t),r}}function a0(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return h0(e,t),e}}function o0(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=l0(e,t.children),i=u0(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&&t0.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 h0(o,t),o}function s0(e,t){let n={type:`root`,children:l0(e,t.children)};return h0(n,t),n}function c0(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return h0(n,t),n}function l0(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=r0(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function u0(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&t0.call(r,n)?r[n]:void 0,o=r&&t0.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(t0.call(s,l)){let t=s[l],n=d0(e,g0(a,l),l,t);n??=d0(e,g0(o,l),l,t),n!=null&&(c[l]=n)}if(i&&t0.call(i,n)){let e=i[n];for(l in e)t0.call(e,l)&&!t0.call(c,l)&&(c[l]=e[l])}return c}function d0(e,t,n,r){return t?Array.isArray(r)?f0(e,t,n,r):p0(e,t,n,r):void 0}function f0(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=p0(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function p0(e,t,n,r){if(!(typeof r!=`boolean`&&typeof r!=`number`&&typeof r!=`string`)&&m0(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 m0(e,t,n){let r=e.schema.protocols&&t0.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 h0(e,t){let n=M1(t);t.data&&(e.data=O$(t.data)),n&&(e.position=n)}function g0(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 _0(e){return function(t){return n0(t,e)}}var v0=A0(/[A-Za-z]/),y0=A0(/[\dA-Za-z]/),b0=A0(/[#-'*+\--9=?A-Z^-~]/);function x0(e){return e!==null&&(e<32||e===127)}var S0=A0(/\d/),C0=A0(/[\dA-Fa-f]/),w0=A0(/[!-/:-@[-`{-~]/);function T0(e){return e!==null&&e<-2}function E0(e){return e!==null&&(e<0||e===32)}function D0(e){return e===-2||e===-1||e===32}var O0=A0(/\p{P}|\p{S}/u),k0=A0(/\s/);function A0(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Ece(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function Dce(e,t,n){let r=qV((n||{}).ignore||[]),i=Oce(t),a=-1;for(;++a<i.length;)rH(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 Oce(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([kce(e[0]),Ace(e[1])])}return t}function kce(e){return typeof e==`string`?new RegExp(Ece(e),`g`):e}function Ace(e){return typeof e==`function`?e:function(){return e}}var j0=`phrasing`,M0=[`autolink`,`link`,`image`,`label`];function jce(){return{transforms:[Rce],enter:{literalAutolink:Nce,literalAutolinkEmail:N0,literalAutolinkHttp:N0,literalAutolinkWww:N0},exit:{literalAutolink:Lce,literalAutolinkEmail:Ice,literalAutolinkHttp:Pce,literalAutolinkWww:Fce}}}function Mce(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:j0,notInConstruct:M0},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:j0,notInConstruct:M0},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:j0,notInConstruct:M0}]}}function Nce(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function N0(e){this.config.enter.autolinkProtocol.call(this,e)}function Pce(e){this.config.exit.autolinkProtocol.call(this,e)}function Fce(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 Ice(e){this.config.exit.autolinkEmail.call(this,e)}function Lce(e){this.exit(e)}function Rce(e){Dce(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,zce],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Bce]],{ignore:[`link`,`linkReference`]})}function zce(e,t,n,r,i){let a=``;if(!P0(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!Vce(n)))return!1;let o=Hce(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 Bce(e,t,n,r){return!P0(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function Vce(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 Hce(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=DY(e,`(`),a=DY(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 P0(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||k0(n)||O0(n))&&(!t||n!==47)}function F0(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}I0.peek=$ce;function Uce(){return{enter:{gfmFootnoteDefinition:Gce,gfmFootnoteDefinitionLabelString:Kce,gfmFootnoteCall:Yce,gfmFootnoteCallString:Xce},exit:{gfmFootnoteDefinition:Jce,gfmFootnoteDefinitionLabelString:qce,gfmFootnoteCall:Qce,gfmFootnoteCallString:Zce}}}function Wce(){return{unsafe:[{character:`[`,inConstruct:[`phrasing`,`label`,`reference`]}],handlers:{footnoteDefinition:ele,footnoteReference:I0}}}function Gce(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function Kce(){this.buffer()}function qce(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=F0(this.sliceSerialize(e)).toLowerCase()}function Jce(e){this.exit(e)}function Yce(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function Xce(){this.buffer()}function Zce(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=F0(this.sliceSerialize(e)).toLowerCase()}function Qce(e){this.exit(e)}function I0(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 $ce(){return`[`}function ele(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()),tle)),o(),a}function tle(e,t,n){return t===0?e:(n?``:` `)+e}var nle=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];L0.peek=sle;function rle(){return{canContainEols:[`delete`],enter:{strikethrough:ale},exit:{strikethrough:ole}}}function ile(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:nle}],handlers:{delete:L0}}}function ale(e){this.enter({type:`delete`,children:[]},e)}function ole(e){this.exit(e)}function L0(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 sle(){return`~`}function cle(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||ule,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=lle(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]=R0(n[u]);else{let e=R0(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(`
36
+ `)}function lle(e){return e==null?``:String(e)}function ule(e){return e.length}function R0(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 dle={}.hasOwnProperty;function z0(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)z0(e,t.extensions[n]);for(r in t)if(dle.call(t,r))switch(r){case`extensions`:break;case`unsafe`:B0(e[r],t[r]);break;case`join`:B0(e[r],t[r]);break;case`handlers`:fle(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function B0(e,t){t&&e.push(...t)}function fle(e,t){t&&Object.assign(e,t)}function ple(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()),mle);return i(),o}function mle(e,t,n){return`>`+(n?``:` `)+e}function V0(e,t){return H0(e,t.inConstruct,!0)&&!H0(e,t.notInConstruct,!1)}function H0(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 U0(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
37
+ `&&V0(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
38
+ `}function hle(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 W0(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 gle(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function _le(e,t,n,r){let i=gle(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(W0(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,vle);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(hle(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:`
39
+ `,encode:["`"],...s.current()})),t()}return u+=s.move(`
40
+ `),a&&(u+=s.move(a+`
41
+ `)),u+=s.move(c),l(),u}function vle(e,t,n){return(n?``:` `)+e}function G0(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function yle(e,t,n,r){let i=G0(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?` `:`
42
+ `,...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 ble(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}K0.peek=xle;function K0(e,t,n,r){let i=ble(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 xle(e,t,n){return n.options.emphasis||`*`}var Sle={};function q0(e,t){let n=t||Sle;return J0(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function J0(e,t,n){if(Cle(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 Y0(e.children,t,n)}return Array.isArray(e)?Y0(e,t,n):``}function Y0(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=J0(e[i],t,n);return r.join(``)}function Cle(e){return!!(e&&typeof e==`object`)}function X0(e,t){let n=!1;return aH(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)&&q0(e)&&(t.options.setext||n))}function wle(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(X0(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
43
+ `,after:`
44
+ `});return r(),t(),o+`
45
+ `+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
46
+ `))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
47
+ `,...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}Z0.peek=Tle;function Z0(e){return e.value||``}function Tle(){return`<`}Q0.peek=Ele;function Q0(e,t,n,r){let i=G0(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 Ele(){return`!`}$0.peek=Dle;function $0(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 Dle(){return`!`}e2.peek=Ole;function e2(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 Ole(){return"`"}function t2(e,t){let n=q0(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))}n2.peek=kle;function n2(e,t,n,r){let i=G0(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(t2(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 kle(e,t,n){return t2(e,n)?`<`:`[`}r2.peek=Ale;function r2(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 Ale(){return`[`}function i2(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 jle(e){let t=i2(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 Mle(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function a2(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 Nle(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?Mle(n):i2(n),s=e.ordered?o===`.`?`)`:`.`:jle(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),a2(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 Ple(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 Fle(e,t,n,r){let i=Ple(n),a=n.bulletCurrent||i2(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 Ile(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var Lle=qV([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function Rle(e,t,n,r){return(e.children.some(function(e){return Lle(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function zle(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}o2.peek=Ble;function o2(e,t,n,r){let i=zle(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 Ble(e,t,n){return n.options.strong||`*`}function Vle(e,t,n,r){return n.safe(e.value,r)}function Hle(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 Ule(e,t,n){let r=(a2(n)+(n.options.ruleSpaces?` `:``)).repeat(Hle(n));return n.options.ruleSpaces?r.slice(0,-1):r}var s2={blockquote:ple,break:U0,code:_le,definition:yle,emphasis:K0,hardBreak:U0,heading:wle,html:Z0,image:Q0,imageReference:$0,inlineCode:e2,link:n2,linkReference:r2,list:Nle,listItem:Fle,paragraph:Ile,root:Rle,strong:o2,text:Vle,thematicBreak:Ule},Wle=[Gle];function Gle(e,t,n,r){if(t.type===`code`&&W0(t,r)&&(e.type===`list`||e.type===t.type&&W0(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`&&X0(t,r))?void 0:n.spread?1:0}var c2=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],Kle=[{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:`
48
+ `,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:c2},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
49
+ ]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:c2},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
50
+ *])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:c2},{atBreak:!0,character:`+`,after:`(?:[ \r
51
+ ])`},{atBreak:!0,character:`-`,after:`(?:[ \r
52
+ -])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
53
+ ]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:c2},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:c2},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:c2},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:c2},{atBreak:!0,character:`~`}],l2={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:`
54
+ `,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:`‌`},qle={}.hasOwnProperty;function u2(e){return qle.call(l2,e)?l2[e]:!1}function d2(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 Jle=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function f2(e){return e.replace(Jle,Yle)}function Yle(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return d2(n.slice(t?2:1),t?16:10)}return u2(n)||e}function Xle(e){return e.label||!e.identifier?e.label||``:f2(e.identifier)}function Zle(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 Qle(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===`
55
+ `)&&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 $le(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:`
56
+ `,after:`
57
+ `,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(eue(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function eue(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`
58
+ `.repeat(1+a);if(a===!1)return`
59
+
60
+ <!---->
61
+
62
+ `}return`
63
+
64
+ `}var tue=/\r?\n|\r/g;function nue(e,t){let n=[],r=0,i=0,a;for(;a=tue.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 rue(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(!V0(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(iue);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(p2(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(p2(r.slice(c,l),n.after)),a.join(``)}function iue(e,t){return e-t}function p2(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 aue(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 oue(e,t={}){let n={enter:i,indentLines:nue,associationId:Xle,containerPhrasing:uue,containerFlow:due,createTracker:aue,compilePattern:Zle,safe:fue,stack:[],unsafe:[...Kle],join:[...Wle],handlers:{...s2},options:{},indexStack:[],handle:void 0};z0(n,t),n.options.tightDefinitions&&n.join.push(lue),n.handle=$J(`type`,{invalid:sue,unknown:cue,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
65
+ `,after:`
66
+ `,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
67
+ `),r;function i(e){return n.stack.push(e),t;function t(){n.stack.pop()}}}function sue(e){throw Error("Cannot handle value `"+e+"`, expected node")}function cue(e){let t=e;throw Error("Cannot handle unknown node `"+t.type+"`")}function lue(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function uue(e,t){return Qle(e,this,t)}function due(e,t){return $le(e,this,t)}function fue(e,t){return rue(this,e,t)}function pue(){return{enter:{table:mue,tableData:h2,tableHeader:h2,tableRow:gue},exit:{codeText:_ue,table:hue,tableData:m2,tableHeader:m2,tableRow:m2}}}function mue(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 hue(e){this.exit(e),this.data.inTable=void 0}function gue(e){this.enter({type:`tableRow`,children:[]},e)}function m2(e){this.exit(e)}function h2(e){this.enter({type:`tableCell`,children:[]},e)}function _ue(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,vue));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function vue(e,t){return t===`|`?t:e}function yue(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
68
+ `,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(`
69
+ `))}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 cle(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=s2.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function bue(){return{exit:{taskListCheckValueChecked:g2,taskListCheckValueUnchecked:g2,paragraph:Sue}}}function xue(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Cue}}}function g2(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function Sue(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 Cue(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=s2.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 wue(){return[jce(),Uce(),rle(),pue(),bue()]}function Tue(e){return{extensions:[Mce(),Wce(),ile(),yue(e),xue()]}}function _2(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 v2(e,t){return e.length>0?(_2(e,e.length,0,t),e):t}var y2={}.hasOwnProperty;function b2(e){let t={},n=-1;for(;++n<e.length;)Eue(t,e[n]);return t}function Eue(e,t){let n;for(n in t){let r=(y2.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){y2.call(r,a)||(r[a]=[]);let e=i[a];Due(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Due(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);_2(e,0,0,r)}var Oue={tokenize:Pue,partial:!0},x2={tokenize:Fue,partial:!0},S2={tokenize:Iue,partial:!0},C2={tokenize:Lue,partial:!0},kue={tokenize:Rue,partial:!0},w2={tokenize:Mue,previous:k2},T2={tokenize:Nue,previous:A2},E2={tokenize:jue,previous:j2},D2={};function Aue(){return{text:D2}}for(var O2=48;O2<123;)D2[O2]=E2,O2++,O2===58?O2=65:O2===91&&(O2=97);D2[43]=E2,D2[45]=E2,D2[46]=E2,D2[95]=E2,D2[72]=[E2,T2],D2[104]=[E2,T2],D2[87]=[E2,w2],D2[119]=[E2,w2];function jue(e,t,n){let r=this,i,a;return o;function o(t){return!M2(t)||!j2.call(r,r.previous)||N2(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return M2(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(kue,u,l)(t):t===45||t===95||y0(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&&v0(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Mue(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!k2.call(r,r.previous)||N2(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(Oue,e.attempt(x2,e.attempt(S2,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Nue(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&A2.call(r,r.previous)&&!N2(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(v0(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||x0(t)||E0(t)||k0(t)||O0(t)?n(t):e.attempt(x2,e.attempt(S2,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Pue(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 Fue(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(C2,c,s)(t):t===null||E0(t)||k0(t)||t!==45&&O0(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 Iue(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(C2,t,a)(o):o===null||E0(o)||k0(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Lue(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||E0(o)||k0(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||E0(e)||k0(e)?t(e):r(e)}function a(e){return v0(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):v0(t)?(e.consume(t),o):n(t)}}function Rue(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return y0(e)?n(e):t(e)}}function k2(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||E0(e)}function A2(e){return!v0(e)}function j2(e){return!(e===47||M2(e))}function M2(e){return e===43||e===45||e===46||e===95||y0(e)}function N2(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 P2(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&y0(e.charCodeAt(n+1))&&y0(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 F2(e){if(e===null||E0(e)||k0(e))return 1;if(O0(e))return 2}function I2(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 L2={name:`attention`,tokenize:Bue,resolveAll:zue};function zue(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);R2(d,-c),R2(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=v2(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=v2(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=v2(l,I2(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=v2(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=v2(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,_2(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 Bue(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=F2(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=F2(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 R2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Vue={name:`autolink`,tokenize:Hue};function Hue(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 v0(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||y0(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||y0(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||x0(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):b0(t)?(e.consume(t),l):n(t)}function u(e){return y0(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||y0(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}function z2(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return D0(r)?(e.enter(n),s(r)):t(r)}function s(r){return D0(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var B2={tokenize:Uue,partial:!0};function Uue(e,t,n){return r;function r(t){return D0(t)?z2(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||T0(e)?t(e):n(e)}}var V2={name:`blockQuote`,tokenize:Wue,continuation:{tokenize:Gue},exit:Kue};function Wue(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 D0(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function Gue(e,t,n){let r=this;return i;function i(t){return D0(t)?z2(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(V2,t,n)(r)}}function Kue(e){e.exit(`blockQuote`)}var H2={name:`characterEscape`,tokenize:que};function que(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 w0(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var U2={name:`characterReference`,tokenize:Jue};function Jue(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=y0,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=C0,u):(e.enter(`characterReferenceValue`),a=7,o=S0,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===y0&&!u2(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 W2={tokenize:Xue,partial:!0},G2={name:`codeFenced`,tokenize:Yue,concrete:!0};function Yue(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`),D0(t)?z2(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||T0(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(W2,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||T0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):D0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),z2(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||T0(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||T0(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&&D0(t)?z2(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||T0(t)?e.check(W2,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||T0(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`),D0(t)?z2(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`),D0(t)?z2(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||T0(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function Xue(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 K2={name:`codeIndented`,tokenize:Que},Zue={tokenize:$ue,partial:!0};function Que(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),z2(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):T0(t)?e.attempt(Zue,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||T0(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function $ue(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):T0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):z2(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):T0(e)?i(e):n(e)}}var ede={name:`codeText`,tokenize:rde,resolve:tde,previous:nde};function tde(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 nde(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function rde(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)):T0(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||T0(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 ide=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&&q2(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),q2(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),q2(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);q2(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);q2(this.left,t.reverse())}}};function q2(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 J2(e){let t={},n=-1,r,i,a,o,s,c,l,u=new ide(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,ade(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 _2(e,0,1/0,u.slice(0)),!l}function ade(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 ode={tokenize:lde,resolve:cde},sde={tokenize:ude,partial:!0};function cde(e){return J2(e),e}function lde(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):T0(t)?e.check(sde,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 ude(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),z2(e,a,`linePrefix`)}function a(i){if(i===null||T0(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 Y2(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||x0(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||T0(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||E0(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||x0(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 X2(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):T0(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||T0(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!D0(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function Z2(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):T0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),z2(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||T0(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 Q2(e,t){let n;return r;function r(i){return T0(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):D0(i)?z2(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var dde={name:`definition`,tokenize:pde},fde={tokenize:mde,partial:!0};function pde(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return X2.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=F0(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 E0(t)?Q2(e,l)(t):l(t)}function l(t){return Y2(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(fde,d,d)(t)}function d(t){return D0(t)?z2(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||T0(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function mde(e,t,n){return r;function r(t){return E0(t)?Q2(e,i)(t):n(t)}function i(t){return Z2(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return D0(t)?z2(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||T0(e)?t(e):n(e)}}var hde={name:`hardBreakEscape`,tokenize:gde};function gde(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return T0(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var _de={name:`headingAtx`,tokenize:yde,resolve:vde};function vde(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`},_2(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function yde(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||E0(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||T0(n)?(e.exit(`atxHeading`),t(n)):D0(n)?z2(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||E0(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var bde=`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(`.`),$2=[`pre`,`script`,`style`,`textarea`],xde={name:`htmlFlow`,tokenize:Tde,resolveTo:wde,concrete:!0},Sde={tokenize:Dde,partial:!0},Cde={tokenize:Ede,partial:!0};function wde(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 Tde(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:T):v0(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):v0(a)?(e.consume(a),i=4,r.interrupt?t:T):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:T):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 v0(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||E0(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&$2.includes(l)?(i=1,r.interrupt?t(s):ae(s)):bde.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||y0(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 D0(t)?(e.consume(t),v):re(t)}function y(t){return t===47?(e.consume(t),re):t===58||t===95||v0(t)?(e.consume(t),b):D0(t)?(e.consume(t),y):re(t)}function b(t){return t===45||t===46||t===58||t===95||y0(t)?(e.consume(t),b):ee(t)}function ee(t){return t===61?(e.consume(t),x):D0(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):D0(t)?(e.consume(t),x):S(t)}function te(t){return t===c?(e.consume(t),c=null,ne):t===null||T0(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||E0(t)?ee(t):(e.consume(t),S)}function ne(e){return e===47||e===62||D0(e)?y(e):n(e)}function re(t){return t===62?(e.consume(t),ie):n(t)}function ie(t){return t===null||T0(t)?ae(t):D0(t)?(e.consume(t),ie):n(t)}function ae(t){return t===45&&i===2?(e.consume(t),w):t===60&&i===1?(e.consume(t),ce):t===62&&i===4?(e.consume(t),de):t===63&&i===3?(e.consume(t),T):t===93&&i===5?(e.consume(t),ue):T0(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(Sde,E,oe)(t)):t===null||T0(t)?(e.exit(`htmlFlowData`),oe(t)):(e.consume(t),ae)}function oe(t){return e.check(Cde,C,E)(t)}function C(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),se}function se(t){return t===null||T0(t)?oe(t):(e.enter(`htmlFlowData`),ae(t))}function w(t){return t===45?(e.consume(t),T):ae(t)}function ce(t){return t===47?(e.consume(t),o=``,le):ae(t)}function le(t){if(t===62){let n=o.toLowerCase();return $2.includes(n)?(e.consume(t),de):ae(t)}return v0(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),le):ae(t)}function ue(t){return t===93?(e.consume(t),T):ae(t)}function T(t){return t===62?(e.consume(t),de):t===45&&i===2?(e.consume(t),T):ae(t)}function de(t){return t===null||T0(t)?(e.exit(`htmlFlowData`),E(t)):(e.consume(t),de)}function E(n){return e.exit(`htmlFlow`),t(n)}}function Ede(e,t,n){let r=this;return i;function i(t){return T0(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 Dde(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(B2,t,n)}}var Ode={name:`htmlText`,tokenize:kde};function kde(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):v0(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):v0(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):T0(t)?(o=d,ce(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?w(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):T0(t)?(o=h,ce(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?w(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?w(t):T0(t)?(o=v,ce(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):T0(t)?(o=y,ce(t)):(e.consume(t),y)}function b(e){return e===62?w(e):y(e)}function ee(t){return v0(t)?(e.consume(t),x):n(t)}function x(t){return t===45||y0(t)?(e.consume(t),x):te(t)}function te(t){return T0(t)?(o=te,ce(t)):D0(t)?(e.consume(t),te):w(t)}function S(t){return t===45||y0(t)?(e.consume(t),S):t===47||t===62||E0(t)?ne(t):n(t)}function ne(t){return t===47?(e.consume(t),w):t===58||t===95||v0(t)?(e.consume(t),re):T0(t)?(o=ne,ce(t)):D0(t)?(e.consume(t),ne):w(t)}function re(t){return t===45||t===46||t===58||t===95||y0(t)?(e.consume(t),re):ie(t)}function ie(t){return t===61?(e.consume(t),ae):T0(t)?(o=ie,ce(t)):D0(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):T0(t)?(o=ae,ce(t)):D0(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):T0(t)?(o=oe,ce(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||E0(t)?ne(t):(e.consume(t),C)}function se(e){return e===47||e===62||E0(e)?ne(e):n(e)}function w(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function ce(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),le}function le(t){return D0(t)?z2(e,ue,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ue(t)}function ue(t){return e.enter(`htmlTextData`),o(t)}}var e4={name:`labelEnd`,tokenize:Fde,resolveTo:Pde,resolveAll:Nde},Ade={tokenize:Ide},jde={tokenize:Lde},Mde={tokenize:Rde};function Nde(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 Pde(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=v2(s,e.slice(a+1,a+r+3)),s=v2(s,[[`enter`,u,t]]),s=v2(s,I2(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=v2(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=v2(s,e.slice(o+1)),s=v2(s,[[`exit`,c,t]]),_2(e,a,e.length,s),e}function Fde(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(F0(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(Ade,u,o?u:d)(t):t===91?e.attempt(jde,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Mde,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function Ide(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 E0(t)?Q2(e,a)(t):a(t)}function a(t){return t===41?u(t):Y2(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return E0(t)?Q2(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?Z2(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return E0(t)?Q2(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 Lde(e,t,n){let r=this;return i;function i(t){return X2.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(F0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function Rde(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 zde={name:`labelStartImage`,tokenize:Bde,resolveAll:e4.resolveAll};function Bde(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 Vde={name:`labelStartLink`,tokenize:Hde,resolveAll:e4.resolveAll};function Hde(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 t4={name:`lineEnding`,tokenize:Ude};function Ude(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),z2(e,t,`linePrefix`)}}var n4={name:`thematicBreak`,tokenize:Wde};function Wde(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||T0(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),D0(t)?z2(e,s,`whitespace`)(t):s(t))}}var r4={name:`list`,tokenize:qde,continuation:{tokenize:Jde},exit:Xde},Gde={tokenize:Zde,partial:!0},Kde={tokenize:Yde,partial:!0};function qde(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:S0(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(n4,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 S0(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(B2,r.interrupt?n:u,e.attempt(Gde,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return D0(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 Jde(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(B2,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,z2(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!D0(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(Kde,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,z2(e,e.attempt(r4,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function Yde(e,t,n){let r=this;return z2(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 Xde(e){e.exit(this.containerState.type)}function Zde(e,t,n){let r=this;return z2(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!D0(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var i4={name:`setextUnderline`,tokenize:$de,resolveTo:Qde};function Qde(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 $de(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`),D0(t)?z2(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||T0(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var efe={tokenize:cfe,partial:!0};function tfe(){return{document:{91:{tokenize:afe,continuation:{tokenize:ofe},exit:sfe}},text:{91:{tokenize:ife},93:{add:`after`,tokenize:nfe,resolveTo:rfe}}}}function nfe(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=F0(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 rfe(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 ife(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||E0(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(F0(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return E0(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 afe(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||E0(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=F0(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return E0(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),z2(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function ofe(e,t,n){return e.check(B2,t,e.attempt(efe,t,n))}function sfe(e){e.exit(`gfmFootnoteDefinition`)}function cfe(e,t,n){let r=this;return z2(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 lfe(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&&_2(o,o.length,0,I2(s,e.slice(r+1,n),t)),_2(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),_2(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=F2(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=F2(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var ufe=class{constructor(){this.map=[]}add(e,t,n){dfe(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 dfe(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 ffe(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 pfe(){return{flow:{null:{tokenize:mfe,resolveAll:hfe}}}}function mfe(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):T0(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):D0(t)?z2(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||E0(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,D0(t)?z2(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 D0(t)?z2(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||T0(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 D0(t)?z2(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||T0(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||T0(n)?(e.exit(`tableRow`),t(n)):D0(n)?z2(e,te,`whitespace`)(n):(e.enter(`data`),S(n))}function S(t){return t===null||t===124||E0(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 hfe(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 ufe;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(o4(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=a4(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=a4(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=a4(f,t,o,i,n,d)):(o[0]=o[1],d=a4(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&o4(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=ffe(t.events,n))}return e}function a4(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},s4(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=s4(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=s4(t.events,n[2]),a=s4(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({},s4(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function o4(e,t,n,r,i){let a=[],o=s4(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 s4(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var gfe={tokenize:vfe};function _fe(){return{text:{91:gfe}}}function vfe(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 E0(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 T0(r)?t(r):D0(r)?e.check({tokenize:yfe},t,n)(r):n(r)}}function yfe(e,t,n){return z2(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function bfe(e){return b2([Aue(),tfe(),lfe(e),pfe(),_fe()])}var xfe={};function c4(e){let t=this,n=e||xfe,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(bfe(n)),a.push(wue()),o.push(Tue(n))}var Sfe={tokenize:Cfe};function Cfe(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`),z2(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 T0(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var wfe={tokenize:Tfe},l4={tokenize:Efe};function Tfe(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 _2(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(l4,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(l4,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 T0(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++;_2(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 Efe(e,t,n){return z2(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}var Dfe={tokenize:Ofe};function Ofe(e){let t=this,n=e.attempt(B2,r,e.attempt(this.parser.constructs.flowInitial,i,z2(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ode,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 kfe={resolveAll:d4()},Afe=u4(`string`),jfe=u4(`text`);function u4(e){return{tokenize:t,resolveAll:d4(e===`text`?Mfe: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 d4(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 Mfe(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 Nfe(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=v2(o,e),g(),o[o.length-1]===null?(S(t,0),l.events=I2(a,l.events,l),l.events):[]}function f(e,t){return Ffe(p(e),t)}function p(e){return Pfe(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){T0(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&&_2(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 Pfe(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 Ffe(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=`
70
+ `;break;case-3:o=`\r
71
+ `;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 Ife=pH({attentionMarkers:()=>Wfe,contentInitial:()=>Rfe,disable:()=>Gfe,document:()=>Lfe,flow:()=>Bfe,flowInitial:()=>zfe,insideSpan:()=>Ufe,string:()=>Vfe,text:()=>Hfe}),Lfe={42:r4,43:r4,45:r4,48:r4,49:r4,50:r4,51:r4,52:r4,53:r4,54:r4,55:r4,56:r4,57:r4,62:V2},Rfe={91:dde},zfe={[-2]:K2,[-1]:K2,32:K2},Bfe={35:_de,42:n4,45:[i4,n4],60:xde,61:i4,95:n4,96:G2,126:G2},Vfe={38:U2,92:H2},Hfe={[-5]:t4,[-4]:t4,[-3]:t4,33:zde,38:U2,42:L2,60:[Vue,Ode],91:Vde,92:[hde,H2],93:e4,95:L2,96:ede},Ufe={null:[L2,kfe]},Wfe={null:[42,95]},Gfe={null:[]};function Kfe(e){let t={defined:[],lazy:{},constructs:b2([Ife,...(e||{}).extensions||[]]),content:n(Sfe),document:n(wfe),flow:n(Dfe),string:n(Afe),text:n(jfe)};return t;function n(e){return n;function n(n){return Nfe(t,e,n)}}}function qfe(e){for(;!J2(e););return e}var f4=/[\0\t\n\r]/g;function Jfe(){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(f4.lastIndex=u,c=f4.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 p4={}.hasOwnProperty;function Yfe(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),Xfe(n)(qfe(Kfe(n).document().write(Jfe()(e,t,!0))))}function Xfe(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ee),autolinkProtocol:ne,autolinkEmail:ne,atxHeading:a(we),blockQuote:a(ye),characterEscape:ne,characterReference:ne,codeFenced:a(be),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(be,o),codeText:a(xe,o),codeTextData:ne,data:ne,codeFlowValue:ne,definition:a(Se),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Ce),hardBreakEscape:a(D),hardBreakTrailing:a(D),htmlFlow:a(O,o),htmlFlowData:ne,htmlText:a(O,o),htmlTextData:ne,image:a(Te),label:o,link:a(Ee),listItem:a(De),listItemValue:f,listOrdered:a(k,d),listUnordered:a(k),paragraph:a(A),reference:fe,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(we),strong:a(Oe),thematicBreak:a(j)},exit:{atxHeading:c(),atxHeadingSequence:ee,autolink:c(),autolinkEmail:ve,autolinkProtocol:_e,blockQuote:c(),characterEscapeValue:re,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:he,characterReference:ge,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(ce),label:ue,labelText:le,lineEnding:ie,link:c(w),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:pe,resourceDestinationString:T,resourceTitleString:de,resource:E,setextHeading:c(S),setextHeadingLineSequence:te,setextHeadingText:x,strong:c(),thematicBreak:c()}};h4(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]];p4.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]||g4).call(a,void 0,e[0])}for(r.position={start:m4(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:m4(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:m4(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]||g4).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+mJ({start:e.start,end:e.end})+`): it’s not open`);n.position.end=m4(e.end)}function u(){return q0(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=F0(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=ke(),n.position={start:m4(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=m4(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=m4(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 w(){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 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(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=f2(t),n.identifier=F0(t).toLowerCase()}function ue(){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 T(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function de(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function E(){this.data.inReference=void 0}function fe(){this.data.referenceType=`collapsed`}function pe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=F0(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function me(e){this.data.characterReferenceType=e.type}function he(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=d2(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=u2(t);let i=this.stack[this.stack.length-1];i.value+=r}function ge(e){let t=this.stack.pop();t.position.end=m4(e.end)}function _e(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ve(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function ye(){return{type:`blockquote`,children:[]}}function be(){return{type:`code`,lang:null,meta:null,value:``}}function xe(){return{type:`inlineCode`,value:``}}function Se(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Ce(){return{type:`emphasis`,children:[]}}function we(){return{type:`heading`,depth:0,children:[]}}function D(){return{type:`break`}}function O(){return{type:`html`,value:``}}function Te(){return{type:`image`,title:null,url:``,alt:null}}function Ee(){return{type:`link`,title:null,url:``,children:[]}}function k(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function De(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function A(){return{type:`paragraph`,children:[]}}function Oe(){return{type:`strong`,children:[]}}function ke(){return{type:`text`,value:``}}function j(){return{type:`thematicBreak`}}}function m4(e){return{line:e.line,column:e.column,offset:e.offset}}function h4(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?h4(e,r):Zfe(e,r)}}function Zfe(e,t){let n;for(n in t)if(p4.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 g4(e,t){throw e?Error("Cannot close `"+e.type+"` ("+mJ({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+mJ({start:t.start,end:t.end})+`) is open`):Error("Cannot close document, a token (`"+t.type+"`, "+mJ({start:t.start,end:t.end})+`) is still open`)}function _4(e){let t=this;t.parser=n;function n(n){return Yfe(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function Qfe(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 $fe(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
72
+ `}]}function epe(e,t){let n=t.value?t.value+`
73
+ `:``,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 tpe(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function npe(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function rpe(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=P2(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 ipe(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 ape(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function v4(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 ope(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return v4(e,t);let i={src:P2(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 spe(e,t){let n={src:P2(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 cpe(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 lpe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return v4(e,t);let i={href:P2(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 upe(e,t){let n={href:P2(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 dpe(e,t,n){let r=e.all(t),i=n?fpe(n):y4(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:`
74
+ `}),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:`
75
+ `});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function fpe(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=y4(n[r])}return t}function y4(e){return e.spread??e.children.length>1}function ppe(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 mpe(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hpe(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function gpe(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _pe(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=A1(t.children[1]),o=k1(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 vpe(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 ype(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var b4=9,x4=32;function bpe(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(S4(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(S4(t.slice(i),i>0,!1)),a.join(``)}function S4(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===b4||t===x4;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===b4||t===x4;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function xpe(e,t){let n={type:`text`,value:bpe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Spe(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var Cpe={blockquote:Qfe,break:$fe,code:epe,delete:tpe,emphasis:npe,footnoteReference:rpe,heading:ipe,html:ape,imageReference:ope,image:spe,inlineCode:cpe,linkReference:lpe,link:upe,listItem:dpe,list:ppe,paragraph:mpe,root:hpe,strong:gpe,table:_pe,tableCell:ype,tableRow:vpe,text:xpe,thematicBreak:Spe,toml:C4,yaml:C4,definition:C4,footnoteDefinition:C4};function C4(){}function wpe(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 Tpe(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function Epe(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||wpe,r=e.options.footnoteBackLabel||Tpe,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=P2(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:{...O$(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
76
+ `},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
77
+ `}]}}var w4={}.hasOwnProperty,Dpe={};function Ope(e,t){let n=t||Dpe,r=new Map,i=new Map,a={all:s,applyData:Ape,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...Cpe,...n.handlers},one:o,options:n,patch:kpe,wrap:Mpe};return aH(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(w4.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=O$(n);return r.children=a.all(e),r}return O$(e)}return(a.options.unknownHandler||jpe)(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=T4(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=T4(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function kpe(e,t){e.position&&(t.position=M1(e))}function Ape(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,O$(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function jpe(e,t){let n=t.data||{},r=`value`in t&&!(w4.call(n,`hProperties`)||w4.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 Mpe(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
78
+ `});++r<e.length;)r&&n.push({type:`text`,value:`
79
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
80
+ `}),n}function T4(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function E4(e,t){let n=Ope(e,t),r=n.one(e,void 0),i=Epe(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
81
+ `},i)),a}function D4(e,t){return e&&`run`in e?async function(n,r){let i=E4(n,{file:r,...t});await e.run(i,r)}:function(n,r){return E4(n,{file:r,...e||t})}}function Npe(e){let t=this;t.compiler=n;function n(n){return oue(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}var O4=e=>e.type===`heading`&&`depth`in e&&`children`in e,Ppe=(e,...t)=>t=>{!e?.transform||!e?.type||aH(t,e?.type,t=>(e?.transform&&e?.transform(t),nH))},Fpe=new Set([`dd`,`dt`,`li`,`p`,`summary`,`td`,`th`]),k4=/[`*_\[~]/,A4=jX().use(_4).use(c4).use(()=>e=>{aH(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(D4),Ipe=jX().use(XJ,{fragment:!0}),Lpe=jX().use(SX),Rpe=e=>{let t=A4.runSync(A4.parse(e));if(t.children.length!==1)return[];let n=t.children.at(0);return!n||n.type!==`element`||n.tagName!==`p`?[]:n.children},zpe=()=>e=>{aH(e,`element`,e=>{Fpe.has(e.tagName)&&(e.children=e.children.flatMap(e=>{if(e.type!==`text`||!k4.test(e.value))return[e];let t=Rpe(e.value);return t.length?t:[e]}))})},Bpe=()=>e=>{aH(e,`raw`,e=>{if(typeof e.value!=`string`||!k4.test(e.value))return;let t=Ipe.parse(e.value);zpe()(t),e.value=Lpe.stringify(t)})};function Vpe(e,t){let n=t?.removeTags??[],r=[...e0.tagNames??[],...t?.allowTags??[]].filter(e=>!n.includes(e));return jX().use(_4).use(c4).use(Ppe,{transform:t?.transform,type:t?.transformType}).use(D4,{allowDangerousHtml:!0}).use(_$).use(Bpe).use(Q1).use(_0,{...e0,clobberPrefix:``,tagNames:r,attributes:{...e0.attributes,abbr:[`title`],"*":[...e0.attributes?.[`*`]??[],`className`]},strip:[`script`,`style`,`object`,`embed`,`form`]}).use(YH,{languages:i$,detect:!0,className:`custom-scroll`}).use(F$,{target:`_blank`}).use(h1).use(SX).processSync(e).toString()}function j4(e){return jX().use(_4).use(c4).parse(e)}function Hpe(e,t=1){let n=j4(e),r=[];return aH(n,`heading`,e=>{let n=M4(e);n&&r.push({depth:e.depth??t,value:n})}),r}function M4(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>M4(e)).join(``):``}function Upe(e){let t=j4(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=>Wpe(e))}function Wpe(e){return jX().use(Npe).use(c4).stringify({type:`root`,children:e}).trim()}var Gpe=[`innerHTML`],N4=T({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}=Fc();t({el:De(`div`)});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!O4(t))return t;let n=M4(t).toLowerCase().replace(/\s+/g,`-`);return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform?e.transform(t):t},i=M(()=>Vpe(e.value??``,{removeTags:e.withImages?[]:[`img`,`picture`],transform:e.withAnchors&&e.transformType===`heading`?r:e.transform,transformType:e.transformType}));return(t,r)=>(y(),N(`div`,o({ref:`div`},E(n)(`markdown`,{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:i.value}),null,16,Gpe))}}),Kpe=[`aria-controls`,`aria-expanded`],P4=T({inheritAttrs:!1,__name:`ScalarMarkdownSummary`,props:Fe({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=Ae(e,[`clamp`]),n=be(),r=ce(e,`modelValue`),i=ce(e,`truncated`),a=De(`scalar-markdown`);lz(()=>a.value?.el,s);function s(){let e=a.value?.el;e&&(i.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}le(s);let{cx:c}=Fc();return(a,s)=>(y(),N(`div`,Ke($e(E(c)(`group/summary flex gap-0.5`,r.value?`flex-col`:`flex-row items-baseline`))),[O(N4,o(t,{id:E(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(),N(`button`,{key:0,"aria-controls":E(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(ye(r.value?` Show Less`:`More`),1)])],10,Kpe)):A(``,!0)],16))}}),qpe=T({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}=Fc();return(n,r)=>(y(),k(E(Ca),{as:`template`},{default:D(({open:r})=>[O(E(_R),Ke($e(n.$props)),{floating:D(({width:i,height:a})=>[O(E(Ta),o({focus:e.focus,style:{width:i,height:a}},E(t)(`relative flex flex-col p-0.75`)),{default:D(({close:e})=>[S(n.$slots,`popover`,{close:()=>e(),open:r}),S(n.$slots,`backdrop`,{open:r},()=>[O(E(vR))])]),_:2},1040,[`focus`,`style`])]),default:D(()=>[O(E(wa),{as:`template`},{default:D(()=>[S(n.$slots,`default`,{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}}),Jpe=[`aria-disabled`],Ype={key:0,class:`sr-only`},F4=T({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=Nc({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:zF},compoundVariants:[{size:`md`,variant:`ghost`,class:`size-8 p-2 m-1 -outline-offset-2 rounded-lg`}]}),{cx:n}=Fc(),r=De(`ref`);return bV({content:M(()=>e.label),offset:M(()=>e.variant===`ghost`?0:4),placement:M(()=>typeof e.tooltip==`boolean`?void 0:e.tooltip),targetRef:M(()=>e.tooltip?r.value:void 0)}),(r,i)=>(y(),N(`button`,o({ref:`ref`,"aria-disabled":e.disabled,type:`button`},E(n)(E(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[O(E(IF),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,[`icon`,`thickness`,`weight`]),e.tooltip?A(``,!0):(y(),N(`span`,Ype,ye(e.label),1))],16,Jpe))}}),I4=T({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}}),Xpe=[`aria-labelledby`],Zpe={class:`text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]`},Qpe=[`id`],$pe={key:0,class:`sr-only`},eme={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`},tme={class:`sr-only`},nme={key:0,class:`ui-not-open:hidden flex items-center gap-2 pr-0.75`},L4=T({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=be();return(t,i)=>(y(),k(E(ia),{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:D(({open:a})=>[O(I4,{value:a,onChange:i[0]||=e=>n(`update:modelValue`,e)},null,8,[`value`]),P(`section`,{"aria-labelledby":E(r),class:`contents`},[P(`div`,{class:v([`bg-b-2 flex items-center`,e.isStatic&&`rounded-t-xl border-x border-t`])},[O(E(aa),{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:D(()=>[e.isStatic?A(``,!0):(y(),k(E(FF),{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`})),P(`h2`,Zpe,[P(`span`,{id:E(r),class:`contents`},[S(t.$slots,`title`,{open:a}),a?A(``,!0):(y(),N(`span`,$pe,` (Collapsed) `))],8,Qpe),!a&&e.itemCount?(y(),N(`span`,eme,[tt(ye(e.itemCount)+` `,1),P(`span`,tme,`Item`+ye(e.itemCount===1?``:`s`),1)])):A(``,!0)])]),_:2},1032,[`class`,`disabled`]),t.$slots.actions?(y(),N(`div`,nme,[S(t.$slots,`actions`,{open:a})])):A(``,!0)],2),O(E(oa),o(t.$attrs,{class:`diclosure-panel h-full max-h-fit rounded-b`}),{default:D(()=>[S(t.$slots,`default`,{open:a})]),_:2},1040)],8,Xpe)]),_:3},8,[`class`,`defaultOpen`,`static`]))}}),rme=T({__name:`ScalarListboxItem`,props:{option:{},multiselect:{type:Boolean}},setup(e){let t=Nc({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(),k(E(gee),{as:`template`,disabled:e.option.disabled,value:e.option},{default:D(({active:n,selected:r})=>[P(`li`,{class:v(E(Pc)(E(t)({active:n,selected:r,disabled:e.option.disabled})))},[O(GF,{multiselect:e.multiselect,selected:r},null,8,[`multiselect`,`selected`]),P(`span`,{class:v([`inline-block min-w-0 flex-1 truncate`,e.option.color?e.option.color:`text-c-1`])},ye(e.option.label),3)],2)]),_:1},8,[`disabled`,`value`]))}}),ime={class:`custom-scroll min-h-0 flex-1`},R4=T({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}=Fc();return(n,r)=>(y(),k(E(fee),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>n.$emit(`update:modelValue`,e)},{default:D(({open:r})=>[e.label?(y(),k(E(pee),{key:0,class:`sr-only`},{default:D(()=>[tt(ye(e.label),1)]),_:1})):A(``,!0),O(E(_R),o(n.$props,{placement:e.placement??`bottom-start`}),{floating:D(({width:n})=>[r?(y(),N(`div`,o({key:0,style:{width:n}},E(t)(`relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm`)),[P(`div`,ime,[O(E(hee),{class:`flex flex-col gap-0.75 p-0.75 -outline-offset-1`},{default:D(()=>[(y(!0),N(Me,null,_(e.options,t=>(y(),k(rme,{key:t.id,multiselect:e.multiple,option:t},null,8,[`multiselect`,`option`]))),128))]),_:1})]),O(E(vR))],16)):A(``,!0)]),default:D(()=>[O(E(mee),{id:e.id,as:`template`},{default:D(()=>[S(n.$slots,`default`,{open:r})]),_:2},1032,[`id`])]),_:2},1040,[`placement`])]),_:3},8,[`modelValue`,`multiple`]))}}),z4={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`]},B4=pT(z4).flatMap(([e,t])=>t.map(t=>`${e}/${t}`)),ame=e=>(e||`GET`).toUpperCase(),V4=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`).replaceAll(`
82
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(` `,`\\t`),ome=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}},sme=(e,t)=>{let n=t?.length?t.map(e=>`${e.name}=${e.value}`).join(`&`):``;return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n}`:`?${n}`:e},cme=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `):null,lme=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??``]]).toString()).join(`&`):null,H4=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},U4=e=>{let t=e.split(`
83
+ `);return t.length<=1?[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${V4(e)}");`]:[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS,`,...t.map((e,n)=>{let r=n===t.length-1;return` "${V4(e)}${r?``:`\\n`}"${r?`);`:``}`})]},ume={target:`c`,client:`libcurl`,title:`Libcurl`,generate(e,t){if(!e)return``;let n=ame(e.method),r=sme(ome(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, "${V4(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${V4(r)}");`];if(t?.auth?.username&&t.auth.password&&u.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${V4(`${t.auth.username}:${t.auth.password}`)}");`),i&&(u.push(``,` struct curl_slist *headers = NULL;`),c.forEach(e=>{u.push(` headers = curl_slist_append(headers, "${V4(`${e.name}: ${e.value}`)}");`)}),u.push(` curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);`)),a){let t=cme(e.cookies);t&&u.push(``,` curl_easy_setopt(curl, CURLOPT_COOKIE, "${V4(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, "${V4(e.name)}");`),e.fileName===void 0?u.push(` curl_mime_data(part, "${V4(e.value??``)}", CURL_ZERO_TERMINATED);`):u.push(` curl_mime_filedata(part, "${V4(e.fileName)}");`),e.contentType&&u.push(` curl_mime_type(part, "${V4(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=lme(o.params);e!==null&&u.push(``,` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${V4(e)}");`)}else if(o.mimeType===`application/json`&&o.text!==void 0)u.push(``,...U4(H4(o.text)));else if(o.text!==void 0){let e=o.mimeType===`application/octet-stream`?o.text:H4(o.text);u.push(``,...U4(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(`
84
+ `)}};function W4(e){return{...e,method:(e.method||`GET`).toUpperCase()}}function G4(e){return e?.length?`?${e.map(e=>`${e.name}=${e.value}`).join(`&`)}`:``}var K4=e=>(e||`GET`).toUpperCase(),q4=e=>{if(!e)return``;try{let t=new URL(e);return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},J4=(e,t)=>{let n=G4(t);return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n.slice(1)}`:n:e},Y4=(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}))},X4=(e,t,n)=>{let r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]};function Z4(e=[]){return e.reduce((e,{name:t,value:n})=>(X4(e,t,n),e),{})}function dme(e,t){return`${e}${t}`}function fme(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 Q4=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),$4=class{name;constructor(e){this.name=e}toString(){return`:${this.name}`}},e3=class{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${Q4(this.path)}")`}},t3=e=>typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof $4)&&!(e instanceof e3)&&Object.keys(e).length===0,pme=e=>{for(let t of Object.keys(e))t3(e[t])&&delete e[t];return e},n3=(e,t)=>t.replace(/\n/g,`\n${` `.repeat(e)}`),r3=e=>e==null?`nil`:e instanceof $4||e instanceof e3?e.toString():typeof e==`string`?`"${Q4(e)}"`:Array.isArray(e)?`[${n3(1,e.reduce((e,t)=>`${e} ${r3(t)}`,``).trim())}]`:typeof e==`object`?`{${n3(1,Object.keys(e).reduce((t,n)=>`${t}:${n} ${n3(n.length+2,r3(e[n]))}\n `,``).trim())}}`:String(e),i3=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),a3=(e,t)=>{let n=i3(e,t);n&&delete e[n]},mme=[`get`,`post`,`put`,`delete`,`patch`,`head`,`options`],hme={target:`clojure`,client:`clj_http`,title:`clj-http`,generate(e,t){let n=K4(e?.method).toLowerCase();if(!mme.includes(n))return`Method not supported`;let r=new URL(e?.url??``),i=r.pathname===`/`?r.origin:r.toString(),a=Z4([...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 $4(`json`),c.text)try{s[`form-params`]=JSON.parse(c.text)}catch{s.body=c.text}a3(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),{}),a3(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 e3(e.fileName)}:{name:e.name,content:e.value})),a3(o,`content-type`);break;default:c?.text&&(s.body=c.text,a3(o,`content-type`))}let l=i3(o,`accept`);l&&o[l]===`application/json`&&(s.accept=new $4(`json`),delete o[l]);let u=pme(s),d=`(require '[clj-http.client :as client])
85
+ `,f=Q4(i);return t3(u)?`${d}\n(client/${n} "${f}")`:`${d}\n(client/${n} "${f}" ${n3(11+n.length+f.length,r3(u))})`}},gme={target:`csharp`,client:`httpclient`,title:`HttpClient`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=G4(n.queryString),i=`${n.url}${r}`,a=[];a.push(`using var client = new HttpClient();`),a.push(``);let o=_me(n.method);return a.push(`var request = new HttpRequestMessage(${o}, "${i}");`),vme(a,n,t),yme(a,n),a.push(``),a.push(`using var response = await client.SendAsync(request);`),a.join(`
86
+ `)}};function _me(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 vme(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=Iw(`${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`&&bme(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 yme(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=o3(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=o3(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("${s3(n.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${s3(n.name)}", "${s3(n.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${s3(n.fileName)}")), "${s3(n.name)}", "${s3(n.fileName)}");`);else if(n.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${s3(n.value??``)}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${s3(n.name)}");`)}else e.push(`content.Add(new StringContent("${s3(n.value??``)}"), "${s3(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=o3(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}function o3(e){let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`}function s3(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}function bme(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 xme=e=>{if(!e)return!1;let{subtype:t}=us(e);return t===`json`||t.endsWith(`+json`)},Sme=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,c3=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`),Cme=e=>{let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`},wme={target:`csharp`,client:`restsharp`,title:`RestSharp`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=J4(n.url,n.queryString),i=``;try{i=new URL(r).host}catch{}let a=[];a.push(`var client = new RestClient("${c3(r)}");`),a.push(`var request = new RestRequest("", ${Sme(n.method)});`);let{username:o,password:s}=t?.auth??{},c=!!(o&&s);if(c){let e=Iw(`${o}:${s}`);a.push(`request.AddHeader("Authorization", "Basic ${e}");`)}if(n.headers?.forEach(e=>{c&&e.name.toLowerCase()===`authorization`||a.push(`request.AddHeader("${c3(e.name)}", "${c3(e.value)}");`)}),n.cookies?.forEach(e=>{a.push(`request.AddCookie("${c3(e.name)}", "${c3(e.value)}", "/", "${c3(i)}");`)}),n.postData){let{mimeType:e,text:t,params:r}=n.postData,i=e?us(e).essence:void 0;if(xme(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}a.push(`request.AddStringBody(${Cme(e)}, ContentType.Json);`)}}else i===`application/x-www-form-urlencoded`&&r?r.forEach(e=>{a.push(`request.AddParameter("${c3(e.name)}", "${c3(e.value??``)}");`)}):i===`multipart/form-data`&&r?r.forEach(e=>{e.fileName===void 0?a.push(`request.AddParameter("${c3(e.name)}", "${c3(e.value??``)}");`):e.contentType?a.push(`request.AddFile("${c3(e.name)}", "${c3(e.fileName)}", "${c3(e.contentType)}");`):a.push(`request.AddFile("${c3(e.name)}", "${c3(e.fileName)}");`)}):i===`application/octet-stream`&&t?a.push(`request.AddParameter("application/octet-stream", "${c3(t)}", ParameterType.RequestBody);`):t&&a.push(`request.AddParameter("${c3(e??``)}", "${c3(t)}", ParameterType.RequestBody);`)}return a.push(`var response = await client.ExecuteAsync(request);`),a.join(`
87
+ `)}},Tme={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;
88
+
89
+ void main() async {
90
+ `,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>{
91
+ `;for(let[e,t]of Object.entries(o))t.includes(`utf8.encode`)?r+=` '${e}': ${t},\n`:r+=` '${e}': '${t}',\n`;r+=` };
92
+
93
+ `}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>{
94
+ `;for(let e of n.postData.params||[]){let t=e.value||``,n=e.fileName||``;l+=` '${e.name}': '${n||t}',\n`}l+=` };
95
+
96
+ `}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);
97
+ `,r+=`}`,r}},Eme={target:`fsharp`,client:`httpclient`,title:`HttpClient`,generate:(e,t)=>{if(!e)return``;let n=Ome(e.url,e.queryString),r=``;return r+=kme(e.method,n),e.headers&&e.headers.length>0&&(r+=Ame(e.headers)),e.postData&&(r+=Mme(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=jme(e.cookies,e.url),r+=`let client = new HttpClient(handler)
98
+ `):r+=`let client = new HttpClient()
99
+ `,r+=`let! result = client.SendAsync(httpRequestMessage)
100
+ `,r}};function Dme(e){return!e||e.length===0?``:`?`+e.map(e=>`${e.name}=${e.value}`).join(`&`)}function Ome(e,t){return e?!t||t.length===0?e:e+Dme(t):``}function kme(e,t){return`let httpRequestMessage = new HttpRequestMessage(
101
+ HttpMethod("${e}"),
102
+ new Uri("${l3(t)}")
103
+ )\n\n`}function Ame(e){let t=``;for(let n of e)t+=`httpRequestMessage.Headers.Add("${l3(n.name??``)}", "${l3(n.value??``)}")\n`;return t+=`
104
+ `,t}function jme(e,t){let n=`let cookieContainer = CookieContainer()
105
+ `;for(let r of e)n+=`cookieContainer.Add(Uri("${l3(t)}"), Cookie("${l3(r.name??``)}", "${l3(r.value??``)}"))\n`;return n+=`use handler = new HttpClientHandler()
106
+ `,n+=`handler.CookieContainer <- cookieContainer
107
+
108
+ `,n}function Mme(e){if(!e)return``;let t=``;switch(e.mimeType){case`multipart/form-data`:t+=Pme(e);break;case`application/x-www-form-urlencoded`:t+=Ime(e);break;case`application/json`:t+=Fme(e);break;default:t+=Nme(e,e.mimeType);break}return t+=`httpRequestMessage.Content <- content
109
+
110
+ `,t}function Nme(e,t){let n=`let content = new StringContent("${l3(e.text??``)}", Encoding.UTF8, "${l3(t??``)}")\n`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${l3(t??``)}")\n`,n}function Pme(e){let t=`let content = new MultipartFormDataContent()
111
+ `,n=0,r=0;for(let i of e.params)if(i.value===`BINARY`){let e=l3(i.fileName??``);t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}"))\n`,i.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${l3(i.contentType)}")\n`),t+=`content.Add(fileStreamContent_${n}, "${e}", "${e}")\n`,n++}else{let e=l3(i.name??``),n=l3(i.value??``);i.contentType?(t+=`let stringContent_${r} = new StringContent("${n}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${l3(i.contentType)}")\n`,t+=`content.Add(stringContent_${r}, "${e}")\n`,r++):t+=`content.Add(new StringContent("${n}"), "${e}")\n`}return t}function Fme(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 Ime(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>()
112
+ `;for(let n of e.params)t+=`formUrlEncodedContentDictionary.Add("${l3(n.name??``)}", "${l3(n.value??``)}")\n`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)
113
+ `,t}function l3(e){return e==null?``:e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}var Lme=e=>e.includes(` `)?e:u3(e),u3=e=>JSON.stringify(e),Rme=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},zme=e=>!e.includes("`"),Bme=(e,t=!1)=>t&&zme(e)?`\`${e}\``:u3(e),Vme=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(${u3(e.name)}, ${u3(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(${u3(e.name)}, ${u3(e.value??``)})`):(n.push(`part, _ ${i?`=`:`:=`} writer.CreateFormFile(${u3(e.name)}, ${u3(e.fileName)})`),n.push(``),n.push(`f, _ ${a?`=`:`:=`} os.Open(${u3(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(${Bme(e.mimeType===`application/json`?Rme(e.text):e.text??``,e.mimeType===`application/json`)})`],requestBody:`payload`,needsMultipartContentTypeHeader:!1}},Hme=e=>Array.from(new Set([`fmt`,`io`,`net/http`,...e])).sort(),Ume={target:`go`,client:`native`,title:`NewRequest`,generate(e,t){if(!e)return``;let n=K4(e.method),r=q4(J4(e.url??``,e.queryString)),i=Y4(e.headers,e.cookies),a=Vme(e.postData),o=[`package main`,``,`import (`,...Hme(a.imports).map(e=>`\t${Lme(e)}`),`)`,``,`func main() {`,`\trequestUrl := ${u3(r)}`,``,...a.setupLines.map(e=>e?`\t${e}`:``)];return a.setupLines.length&&o.push(``),o.push(`\treq, _ := http.NewRequest(${u3(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(${u3(t.auth.username)}, ${u3(t.auth.password)})`),i.forEach(e=>{o.push(`\treq.Header.Add(${u3(e.name)}, ${u3(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(`
114
+ `)}},Wme={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}},d3=``,f3=`
115
+ `,p3=class{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=d3,this.lineJoin=f3,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||d3,this.lineJoin=t??f3}};function m3(e,t={}){let{delimiter:n=`"`,escapeChar:r=`\\`,escapeNewlines:i=!0}=t;return[...e.toString()].map(e=>e===`\b`?`${r}b`:e===` `?`${r}t`:e===`
116
+ `?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 Gme=e=>m3(e,{delimiter:`'`}),h3=e=>m3(e,{delimiter:`"`}),Kme={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 p3({indent:{indent:` `,...i}.indent});return o(`AsyncHttpClient client = new DefaultAsyncHttpClient();`),o(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{o(`.setHeader("${e}", "${h3(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 g3(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=Z4(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 qme={target:`java`,client:`asynchttp`,title:`AsyncHttp`,generate(e){return g3(Kme,e)}},Jme={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 p3({indent:{indent:` `,...i}.indent});return a(`HttpRequest request = HttpRequest.newBuilder()`),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{a(`.header("${t}", "${h3(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()}},Yme={target:`java`,client:`nethttp`,title:`java.net.http`,generate(e){return g3(Jme,e)}},Xme={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 p3({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}", "${h3(r[e])}")`,1)}),a(`.build();`,1),o(),a(`Response response = client.newCall(request).execute();`),s()}},Zme={target:`java`,client:`okhttp`,title:`OkHttp`,generate(e){return g3(Xme,e)}},Qme={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 p3({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}", "${h3(t[e])}")`,1)}),n?.text&&o(`.body(${JSON.stringify(n.text)})`,1),o(`.asString();`,1),a()}},$me={target:`java`,client:`unirest`,title:`Unirest`,generate(e){return g3(Qme,e)}};function ehe(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function the(e){return e.replaceAll(`\\`,`\\\\`).replaceAll(`
117
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`)}var _3=class{value;constructor(e){this.value=e}};function v3(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=ehe(r)?`'${the(r)}'`:r;if(a instanceof _3){let t=a.value.split(`
118
+ `),r=`${a.value}`;t.length>1&&(r=t.map((e,t)=>t===0?e:`${i}${e}`).join(`
119
+ `)),n.push(`${i}${e}: ${r}`)}else if(Array.isArray(a)){let r=a.map(e=>typeof e==`string`?`'${e}'`:e&&typeof e==`object`?v3(e):JSON.stringify(e));if(r.some(e=>e.includes(`
120
+ `))){let a=r.map(e=>nhe(e,t+4)).join(`,
121
+ `);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}: ${v3(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(`,
122
+ `)}\n${r}}`}function nhe(e,t){let n=` `.repeat(t);return e.split(`
123
+ `).map(e=>`${n}${e}`).join(`
124
+ `)}var y3=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`
125
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`),b3=e=>typeof e==`string`?y3(e):Array.isArray(e)?e.map(e=>b3(e)):e&&typeof e==`object`&&!(e instanceof _3)?Object.entries(e).reduce((e,[t,n])=>(e[t]=b3(n),e),{}):e,x3=(e,t,n)=>{if(n===``){e[t]=n;return}X4(e,t,n)},rhe=e=>{let t={};return e?.headers?.forEach(e=>{x3(t,e.name,e.value)}),e?.cookies?.length&&x3(t,`Cookie`,e.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),Object.keys(t).length?t:void 0},ihe=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=y3(e.name),r=y3(e.value??``);t.push(`encodedParams.append('${n}', '${r}')`)}),{setup:t,data:new _3(`encodedParams`)}):n.mimeType===`multipart/form-data`&&n.params?.length?(t.push(`const formData = new FormData()`),n.params.forEach(e=>{let n=y3(e.name);if(e.fileName!==void 0){let r=y3(e.fileName),i=e.contentType?`, { type: '${y3(e.contentType)}' }`:``;t.push(`formData.append('${n}', new Blob([]${i}), '${r}')`);return}if(e.contentType){let r=y3(e.contentType),i=y3(e.value??``);t.push(`formData.append('${n}', new Blob(['${i}'], { type: '${r}' }))`);return}let r=y3(e.value??``);t.push(`formData.append('${n}', '${r}')`)}),{setup:t,data:new _3(`formData`)}):n.text?{setup:t,data:n.text}:{setup:t}},S3=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:y3(n.url??``)},i=Z4(n.queryString);Object.keys(i).length&&(r.params=b3(i));let a=rhe(n);a&&(r.headers=b3(a)),t?.auth?.username&&t?.auth?.password&&(r.auth={username:y3(t.auth.username),password:y3(t.auth.password)});let{setup:o,data:s}=ihe(n);return s!==void 0&&(r.data=s instanceof _3?s:b3(s)),`import axios from 'axios'
126
+
127
+ ${o.length?`${o.join(`
128
+ `)}\n\n`:``}const options = ${v3(r)}
129
+
130
+ try {
131
+ const { data } = await axios.request(options)
132
+ console.log(data)
133
+ } catch (error) {
134
+ console.error(error)
135
+ }`}}),ahe=S3(`js`),ohe={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=G4(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 _3(`JSON.stringify(${v3(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
136
+ `,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+=`
137
+ `,r.body=new _3(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new _3(`new URLSearchParams(${v3(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${v3(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},{toString:she}=Object.prototype;function che(e){return she.call(e)===`[object RegExp]`}function lhe(e){let t=typeof e;return e!==null&&(t===`object`||t===`function`)}var{propertyIsEnumerable:uhe}=Object.prototype;function dhe(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>uhe.call(e,t))]}var fhe=`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(`.`),phe=[`globalThis`,`Infinity`,`NaN`,`undefined`];function mhe({includeGlobalProperties:e=!1}={}){return new Set([...fhe,...e?phe:[]])}var hhe=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,C3=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...mhe({includeGlobalProperties:!0})].join(`|`)})(?![$_\\p{ID_Continue}]))${hhe.source}`,ghe=new RegExp(C3,`u`),_he=RegExp(`^${C3}$`,`u`);function vhe({exact:e=!0}={}){return e?_he:ghe}function yhe(e){let t=(...t)=>e(...t);return Object.defineProperty(t,`name`,{value:`functionTimeout(${e.name||`<anonymous>`})`,configurable:!0}),t}function bhe(){return!1}var xhe=e(((e,t)=>{t.exports=Worker})),She=class extends Error{constructor(e){super(e),this.name=`TimeoutError`}},Che=class extends Error{constructor(e){super(),this.name=`AbortError`,this.message=e}},w3=e=>globalThis.DOMException===void 0?new Che(e):new DOMException(e),T3=e=>{let t=e.reason===void 0?w3(`This operation was aborted.`):e.reason;return t instanceof Error?t:w3(t)};function whe(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(T3(e)),s=()=>{l(T3(e))},e.addEventListener(`abort`,s,{once:!0})}if(n===1/0){e.then(c,l);return}let u=new She;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 The=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 Ehe(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}=The(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=whe(i,{milliseconds:n.timeout});return e.cancel=r,e}return i}function E3(e,t,n){typeof n==`function`&&(n={filter:n}),n={...n,count:1,resolveImmediately:!1};let r=Ehe(e,t,n),i=r.then(e=>e[0]);return i.cancel=r.cancel,i}var D3=i(xhe(),1),Dhe=!!globalThis.process?.versions?.node,Ohe=e=>new globalThis.Blob([e],{type:`text/javascript`}),khe=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString(`base64`)}`;function O3(e){let t,n;return Dhe?n=new D3.default(khe(e),{type:`module`}):(t=URL.createObjectURL(Ohe(e)),n=new D3.default(t,{type:`module`})),{worker:n,cleanup:()=>{t&&URL.revokeObjectURL(t),n?.terminate()}}}var Ahe=e=>`
138
+ globalThis.onmessage = async ({data: arguments_}) => {
139
+ try {
140
+ const output = await (${e.toString()})(...arguments_);
141
+ globalThis.postMessage({output});
142
+ } catch (error) {
143
+ globalThis.postMessage({error});
144
+ }
145
+ };
146
+ `;function k3(e){let t=Ahe(e),n=()=>O3(t);async function r({worker:e,arguments_:t}){let n=E3(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=E3(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 jhe=e=>`
147
+ const nothing = Symbol('nothing');
148
+ let iterator = nothing;
149
+
150
+ globalThis.onmessage = async ({data: arguments_}) => {
151
+ try {
152
+ if (iterator === nothing) {
153
+ iterator = await (${e.toString()})(...arguments_);
154
+ }
155
+
156
+ const output = await iterator.next();
157
+ globalThis.postMessage({output});
158
+ } catch (error) {
159
+ globalThis.postMessage({error});
160
+ }
161
+ };
162
+ `;function Mhe(e){let t=jhe(e),n=()=>O3(t),r=(...e)=>({async*[Symbol.asyncIterator](){let{worker:t,cleanup:r}=n();try{let n=!0;for(;;){let r=E3(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=E3(e,[],{rejectionEvents:[`abort`]});try{let e=!0;for(;;){let n=Promise.race([E3(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 Nhe={},Phe=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 Fhe(e,t,{timeout:n,throwOnTimeout:r}={}){try{return yhe(()=>structuredClone(e).test(t),{timeout:Phe(n),context:Nhe})()}catch(e){if(bhe(e)&&!r)return!1;throw e}}k3((e,t,n)=>new RegExp(e,t).test(n)),k3((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}}),Mhe(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 Ihe=vhe();function Lhe(e){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:Fhe(Ihe,e,{timeout:1e3})}var Rhe={"\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 A3(e,t,n){let r=[];return(function e(t,n={},i=``){let a=n.indent||` `,o;o=n.inlineCharacterLimit===void 0?{newline:`
163
+ `,newlineOrSpace:`
164
+ `,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,`
165
+ `).replaceAll(o.newlineOrSpace,`
166
+ `).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`||che(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(lhe(t)){let c=dhe(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)}]`:Lhe(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=>Rhe[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 j3=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),M3=(e,t)=>{let n=j3(e,t);if(n)return e[n]},N3=(e,t)=>!!j3(e,t),zhe={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 p3({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]`,N3(n,`content-type`)&&M3(n,`content-type`)?.includes(`boundary`)){let e=j3(n,`content-type`);e&&delete l.headers[e]}o();break;default:r?.text&&(l.data=r.text)}return s(`const settings = ${A3(l,{indent:a.indent}).replace(`'[form]'`,`form`)};`),o(),s(`$.ajax(settings).done(function (response) {`),s(`console.log(response);`,1),s(`});`),c()}},Bhe={target:`js`,client:`jquery`,title:`jQuery`,generate(e){return g3(zhe,e)}},Vhe={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=Z4(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?`, ${v3(n)}`:``;return`import { ofetch } from 'ofetch'
167
+
168
+ ofetch('${t.url}'${r})`}},Hhe={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 p3({indent:a.indent});switch(e?.mimeType){case`application/json`:s(`const data = JSON.stringify(${A3(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||``}');`)}),N3(t,`content-type`)&&M3(t,`content-type`)?.includes(`boundary`)){let e=j3(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}', '${Gme(t[e])}');`)}),o(),s(`xhr.send(data);`),c()}},Uhe={target:`js`,client:`xhr`,title:`XHR`,generate(e){return g3(Hhe,e)}},Whe=[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`],Ghe=[`POST`,`PUT`,`DELETE`,`PATCH`],P3=e=>`"${h3(e)}"`,Khe={target:`kotlin`,client:`okhttp`,title:`OkHttp`,generate(e,t){let n=K4(e?.method),r=q4(J4(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(${P3(e.name??``)}, ${P3(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(${P3(e.name??``)}, ${P3(e.value)})`):a.push(` .addFormDataPart(${P3(e.name??``)}, ${P3(e.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${P3(e.fileName)})))`)}),a.push(` .build()`,``),o=!0):i&&(a.push(`val mediaType = MediaType.parse(${P3(i.mimeType??``)})`),a.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(i.text??``)})`),o=!0),a.push(`val request = Request.Builder()`,` .url(${P3(r)})`);let s=o?`body`:`null`;return Whe.includes(n)?Ghe.includes(n)?a.push(` .${n.toLowerCase()}(${s})`):a.push(` .${n.toLowerCase()}()`):a.push(` .method(${P3(n)}, ${s})`),t?.auth?.username&&t?.auth?.password&&a.push(` .addHeader("Authorization", Credentials.basic(${P3(t.auth.username)}, ${P3(t.auth.password)}))`),Y4(e?.headers,e?.cookies).forEach(e=>{a.push(` .addHeader(${P3(e.name)}, ${P3(e.value)})`)}),a.push(` .build()`,``,`val response = client.newCall(request).execute()`),a.join(`
169
+ `)}},qhe=S3(`node`),Jhe={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=G4(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 _3(`JSON.stringify(${v3(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
170
+ `,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+=`
171
+ `,r.body=new _3(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new _3(`new URLSearchParams(${v3(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${v3(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},Yhe={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=Z4(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?`, ${v3(n)}`:``;return`import { ofetch } from 'ofetch'
172
+
173
+ ofetch('${t.url}'${r})`}},Xhe={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=G4(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 _3(`JSON.stringify(${v3(JSON.parse(n.body))})`)));let i=Object.keys(n).length?`, ${v3(n)}`:``;return`import { request } from 'undici'
174
+
175
+ const { statusCode, body } = await request('${t.url}${r}'${i})`}},Zhe=`---011000010111000001101001`,F3=e=>`@"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}"`,I3=(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=>I3(e)).join(n)} ]`;case`[object Object]`:return`@{ ${Object.entries(e).map(([e,t])=>`@"${e}": ${I3(t)}`).join(n)} }`;case`[object Boolean]`:return e?`@YES`:`@NO`;default:return e==null?`[NSNull null]`:F3(e.toString())}},L3=(e,t,n)=>{let r=`${e} *${t} = `;return`${r}${I3(n,r.length)};`},Qhe={target:`objc`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=K4(e.method),r=q4(J4(e.url??``,e.queryString)),i=Y4(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(``,L3(`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(``,L3(`NSDictionary`,`parameters`,e)),a.push(``,`NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];`),s=!0}catch{a.push(``,`NSData *postData = [${F3(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:[${F3(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{a.push(`[postData appendData:[${F3(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else t===`multipart/form-data`&&r?.length?(s=!0,a.push(``,L3(`NSArray`,`parameters`,r),`NSString *boundary = @"${Zhe}";`,``,`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 = [${F3(n??``)} dataUsingEncoding:NSUTF8StringEncoding];`)):n!==void 0&&(s=!0,a.push(``,`NSData *postData = [${F3(n)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(a.push(``,`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${F3(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=F3(`${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(`
176
+ `)}},$he={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 p3({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]}" "${h3(t[u[0]])}" in`):u.length>1&&(s(`let headers = Header.add_list (Header.init ()) [`),u.forEach(e=>{s(`("${e}", "${h3(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()}},ege={target:`ocaml`,client:`cohttp`,title:`Cohttp`,generate(e){return g3($he,e)}};function R3(e){return` `.repeat(e*2)}var z3=class{value;constructor(e){this.value=e}};function B3(e,t=0){if(e==null)return`null`;if(e instanceof z3){let n=e.value.split(`
177
+ `);if(n.length>1){let e=R3(t+1);return n.map((t,n)=>n===0?t:`${e}${t}`).join(`
178
+ `)}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=>B3(e,t+1)).join(`,
179
+ `+R3(t+1));return`[\n${R3(t+1)}${n}\n${R3(t)}]`}if(typeof e==`object`){let n=Object.entries(e);if(n.length===0)return`[]`;let r=n.map(([e,n])=>`'${e}' => ${B3(n,t+1)}`).join(`,
180
+ `+R3(t+1));return`[\n${R3(t+1)}${r}\n${R3(t)}]`}return`null`}var tge={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=B3(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=B3(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(`
181
+ `).replace(/\n\n\n/g,`
182
+
183
+ `)}},nge={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=Z4(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 z3(`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();
184
+
185
+ `;if(Object.keys(n).length>0){let e=B3(n);a+=`$response = $client->request('${r}', '${i}', ${e});`}else a+=`$response = $client->request('${r}', '${i}');`;return a}},V3=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),H3=e=>`'${V3(e)}'`,rge=V3,U3=e=>Array.isArray(e)?e.map(e=>U3(e)):e&&typeof e==`object`?Object.entries(e).reduce((e,[t,n])=>(e[rge(t)]=U3(n),e),{}):e,ige=e=>{if(!e)return`localhost`;try{return new URL(e).hostname||`localhost`}catch{return`localhost`}},age={target:`php`,client:`laravel`,title:`Laravel HTTP Client`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=G4(n.queryString),i=`${n.url??``}${r}`,a=[];if(t?.auth?.username&&t.auth.password&&a.push(`withBasicAuth(${H3(t.auth.username)}, ${H3(t.auth.password)})`),n.headers?.length){let e={};n.headers.forEach(t=>{X4(e,t.name,t.value)}),a.push(`withHeaders(${B3(U3(e))})`)}if(n.cookies?.length){let e={};n.cookies.forEach(t=>{X4(e,t.name,t.value)}),a.push(`withCookies(${B3(U3(e))}, ${H3(ige(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(${H3(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=>{X4(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=[H3(t.name),`file_get_contents(${H3(t.fileName)})`,H3(t.fileName)];t.contentType&&e.push(B3(U3({"Content-Type":t.contentType}))),a.push(`attach(${e.join(`, `)})`)}else t.contentType?a.push(`attach(${H3(t.name)}, ${H3(t.value??``)}, null, ${B3(U3({"Content-Type":t.contentType}))})`):X4(e,t.name,t.value??``)}),Object.keys(e).length>0&&(o=e)}else if(n.postData.mimeType===`application/octet-stream`)a.push(`withBody(${H3(n.postData.text??``)}, 'application/octet-stream')`);else if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{a.push(`withBody(${H3(n.postData.text)}, ${H3(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}(${H3(i)}, ${B3(U3(o),1)})`:`${s}(${H3(i)})`:o===void 0?`send(${H3(n.method)}, ${H3(i)})`:`send(${H3(n.method)}, ${H3(i)}, ${B3(U3(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(`
186
+ `):`Http::${c}`};`}},W3=e=>({method:t,headersObj:n,cookies:r,uriObj:i,fullUrl:a,postData:o,allHeaders:s})=>{let{push:c,join:l}=new p3;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}", "${m3(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 '${m3(M3(s,`content-type`),{delimiter:`'`,escapeChar:"`"})}'`),u.push(`-Body '${o.text}'`)),c(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(` `)}`),l()},oge={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:W3(`Invoke-RestMethod`)},sge={target:`powershell`,client:`restmethod`,title:`Invoke-RestMethod`,generate(e){return g3(oge,e)}},cge={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:W3(`Invoke-WebRequest`)},lge={target:`powershell`,client:`webrequest`,title:`Invoke-WebRequest`,generate(e){return g3(cge,e)}};function G3(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 K3(e,t=4){return G3(JSON.stringify(e,null,2).split(`
187
+ `).map((e,n)=>n===0?e:` `.repeat(t)+e).join(`
188
+ `))}function q3(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=Z4(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 X4(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=>{X4(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}=(${G3(JSON.stringify(t[0]))}, ${G3(JSON.stringify(t[1]))})`);else if(e===`files`){let n=`[
189
+ `+t.map(e=>` ${e}`).join(`,
190
+ `)+`
191
+ ]`;o.push(`${e}=${n}`)}else if(e===`json`){let n=K3(t);o.push(`${e}=${n}`)}else if(e===`data`&&r.postData?.mimeType===`application/octet-stream`)o.push(`${e}=b"${t}"`);else{let n=K3(t);o.push(`${e}=${n}`)}return r.url.length>40?`${e}.${i}(\n ${o.join(`,
192
+ `)}\n)`:o.length<=1?`${e}.${i}(${s})`:`${e}.${i}(${s}${o.length>1?`,`:``}\n ${o.slice(1).join(`,
193
+ `)}\n)`}var uge=(e,t=` `)=>e.split(`
194
+ `).map(e=>e.trim()===``?e:`${t}${e}`).join(`
195
+ `),dge=(e,t,n,r)=>{let i=JSON.stringify(n);return n.length>40?`${e}.${t}(\n ${[i,...r].join(`,
196
+ `)}\n)`:r.length===0?`${e}.${t}(${i})`:`${e}.${t}(${i},\n ${r.join(`,
197
+ `)}\n)`},fge={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=${K3(e)}`)}if(n.queryString?.length&&i.push(`params=${K3(Z4(n.queryString))}`),n.cookies?.length){let e=Object.fromEntries(n.cookies.map(e=>[e.name,e.value]));a.push(`cookies=${K3(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=${K3(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=>{X4(e,t.name,t.value??``)}),i.push(`data=${K3(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(`,
198
+ `)}\n) as session:`,c=dge(`await session`,r,n.url??``,i);return`${s}\n${uge([...o,c].join(`
199
+ `))}`}},pge={target:`python`,client:`httpx_async`,title:`HTTPX (Async)`,generate(e,t){let n=q3(`await client`,e,t);return n=n.split(`
200
+ `).map(e=>e.trim()===``?e:` `+e).join(`
201
+ `),`async with httpx.AsyncClient() as client:\n${n}`}},mge={target:`python`,client:`httpx_sync`,title:`HTTPX (Sync)`,generate(e,t){return q3(`httpx`,e,t)}},hge=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`)},gge=e=>{if(!e)return new URL(`https://example.com`);try{return new URL(e)}catch{return new URL(e,`https://example.com`)}},_ge=(e,t=[])=>{if(!t.length)return e.search;let n=G4(t);return e.search?`${e.search}&${n.slice(1)}`:n},vge=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,yge=(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(${K3(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}if(i===`application/octet-stream`&&a)return{payloadLines:[`payload = ${vge(a)}`],payloadVariable:`payload`};if(i===`application/x-www-form-urlencoded`&&o){n.add(`import urllib.parse`);let e={};return o.forEach(t=>{X4(e,t.name,t.value??``)}),t[`Content-Type`]||=`application/x-www-form-urlencoded`,{payloadLines:[`payload = urllib.parse.urlencode(${K3(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(${K3(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}return{payloadLines:[]}},bge={target:`python`,client:`python3`,title:`http.client`,generate(e,t){let n=W4({url:`https://example.com`,...e}),r=gge(n.url??`https://example.com`),i=_ge(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 ${hge(`${t.auth.username}:${t.auth.password}`)}`);let s=new Set([`import http.client`]),c=[],l=yge(n,o,s);c.push(...l.payloadLines),Object.keys(o).length&&c.push(`headers = ${K3(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(`,
202
+ `)},\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(`
203
+ `)}},xge={target:`python`,client:`requests`,title:`Requests`,generate(e,t){return q3(`requests`,e,t)}},Sge=(e,t)=>{try{return J3(JSON.parse(e),t)}catch{return`"${e}"`}},J3=(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} ${J3(e,t+` `)}`).join(`,
204
+ `)}\n${t})`;if(typeof e==`object`){let n=Object.entries(e);return n.length===0?`list()`:`list(\n${n.map(([e,n])=>`${t} ${e} = ${J3(n,t+` `)}`).join(`,
205
+ `)}\n${t})`}return String(e)},Cge={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(`,
206
+ `);a.push(` req_headers(\n${t}\n )`)}}if(n.queryString?.length){let e=Z4(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(`,
207
+ `);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=Sge(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(`,
208
+ `);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(`,
209
+ `);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(` |>
210
+ `)),i.push(``),i.push(`resp_body_string(response)`),i.join(`
211
+ `)}},Y3=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),X3=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),Z3=e=>encodeURIComponent(e).replace(/'/g,`%27`),wge=new Set([`GET`,`POST`,`HEAD`,`DELETE`,`PATCH`,`PUT`,`OPTIONS`,`COPY`,`LOCK`,`UNLOCK`,`MOVE`,`TRACE`]),Q3=e=>e.charAt(0)+e.slice(1).toLowerCase(),Tge=(e,t,n)=>{if(wge.has(t))return;let r=Q3(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(``)},Ege=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}},Dge={target:`ruby`,client:`native`,title:`net::http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=G4(n.queryString),i=Ege(`${n.url??``}${r}`),a=[`require 'uri'`,`require 'net/http'`,``];Tge(a,n.method,!!n.postData?.text),a.push(`url = URI("${Y3(i)}")`,``),a.push(`http = Net::HTTP.new(url.host, url.port)`),i.startsWith(`https://`)&&a.push(`http.use_ssl = true`),a.push(``);let o=Q3(n.method);if(a.push(`request = Net::HTTP::${o}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=Y3(t.auth.username),n=Y3(t.auth.password);a.push(`request.basic_auth("${e}", "${n}")`)}if(n.headers?.length&&n.headers.forEach(e=>{a.push(`request["${Y3(e.name)}"] = '${X3(e.value)}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${Z3(e.name)}=${Z3(e.value)}`).join(`; `);a.push(`request["Cookie"] = '${X3(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=>`${Z3(e.name)}=${Z3(e.value??``)}`).join(`&`);a.push(`request.body = '${X3(e)}'`)}else e===`multipart/form-data`&&r?(a.push(`form_data = []`),r.forEach(e=>{let t=X3(e.name);if(e.fileName!==void 0){let n=X3(e.fileName);if(e.contentType){let r=X3(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=X3(e.value??``),r=X3(e.contentType);a.push(`form_data << ['${t}', '${n}', { content_type: '${r}' }]`)}else{let n=X3(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(`
212
+ `)}};function Oge(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\0/g,`\\0`)}function $3(e){return`"${Oge(e)}"`}function e6(e,t){return`${` `.repeat(e*4)}${t}`}function t6(e,...t){return e6(1,`.${e}(${t.join(`, `)})`)}function kge(e){try{let t=JSON.parse(e),n=JSON.stringify(t,null,4).split(`
213
+ `);return n.map((e,t)=>t===0?e:(n.length-1,e6(1,e))).join(`
214
+ `)}catch{return e}}var Age={target:`rust`,client:`reqwest`,title:`reqwest`,generate(e,t){if(!e)return``;let n=W4(e),r=G4(n.queryString),i=dme(n.url||``,r),a=fme(n),o=[],s=Mge(t?.auth);s&&o.push(s),o.push(...Nge(a));let c=Pge(n.postData);return c&&o.push(c),Fge(i,n.method,o)}},jge=e=>{if(e.fileName){let t=[e6(2,`let part = reqwest::multipart::Part::text(${$3(e.value||``)})`),e6(3,`.file_name(${$3(e.fileName)})`)];return e.contentType?(t.push(e6(3,`.mime_str(${$3(e.contentType)})`)),t.push(e6(3,`.unwrap();`))):t[t.length-1]+=`;`,t.push(e6(2,`form = form.part(${$3(e.name)}, part);`)),t.join(`
215
+ `)}return e.contentType?[e6(2,`let part = reqwest::multipart::Part::text(${$3(e.value||``)})`),e6(3,`.mime_str(${$3(e.contentType)})`),e6(3,`.unwrap();`),e6(2,`form = form.part(${$3(e.name)}, part);`)].join(`
216
+ `):e6(2,`form = form.text(${$3(e.name)}, ${$3(e.value||``)});`)},Mge=e=>!e?.username||!e?.password?null:t6(`basic_auth`,$3(e.username),$3(e.password)),Nge=e=>Object.entries(e).map(([e,t])=>t6(`header`,$3(e),$3(t))),Pge=e=>{if(!e)return null;let{mimeType:t,text:n,params:r}=e;switch(t){case`application/json`:return t6(`json`,`&serde_json::json!(${kge(n)})`);case`application/x-www-form-urlencoded`:return t6(`form`,`&[${r?.map(e=>`(${$3(e.name)}, ${$3(e.value||``)})`).join(`, `)||``}]`);case`multipart/form-data`:{let e=r?.map(jge).join(`
217
+ `)||``;return e6(1,[`.multipart({`,e6(2,`let mut form = reqwest::multipart::Form::new();`),e,e6(3,`form`),e6(2,`})`)].join(`
218
+ `))}default:return t6(`body`,$3(n||``))}},Fge=(e,t,n)=>{let r=[`let client = reqwest::Client::new();`,``];n.length>0?(r.push(`let request = client`),r.push(e6(1,`.${t.toLowerCase()}(${$3(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${$3(e)})`);let i=r[r.length-1];return r[r.length-1]=i+`;`,r.push(``),r.push(`let response = request.send().await?;`),r.join(`
219
+ `)},n6=e=>e.replace(/'/g,`'\\''`),r6=e=>{if(!e)return!1;let{subtype:t}=us(e);return t===`json`||t.endsWith(`+json`)},Ige={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:`'${n6(o)}'`}`,n.method!==`GET`&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){let e=n6(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(n.headers?.length){n.headers.forEach(e=>{let t=n6(`${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=n6(n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));r.push(`--cookie '${e}'`)}if(n.postData)if(r6(n.postData.mimeType)){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=n6(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=n6(n.postData.text??``);r.push(`--data '${e}'`)}}else if(n.postData.mimeType===`application/octet-stream`){let e=n6(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=n6(e.value??``),n=n6(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=n6(e.name),n=e.contentType?`;type=${e.contentType}`:``;if(e.fileName!==void 0){let i=n6(`${e.fileName}${n}`);r.push(`--form '${t}=@${i}'`)}else{let i=e.value??``,a=r6(e.contentType),o=i;if(a&&i)try{o=JSON.stringify(JSON.parse(i),null,2)}catch{}let s=n6(`${o}${n}`);r.push(`--form '${t}=${s}'`)}});else try{let e=JSON.parse(n.postData.text??``),t=n6(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=n6(n.postData.text??``);r.push(`--data '${e}'`)}return r.join(` \\
220
+ `)}},i6=(e=``)=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,`'\\''`)}'`,Lge={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 p3({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}==${i6(t)}`)}):c(`${e}==${i6(t)}`)}),Object.keys(e).sort().forEach(t=>{c(`${t}:${i6(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}=${i6(e.value)}`)})):t?.mimeType===`multipart/form-data`?t?.params?.length&&(f.push(`--multipart`),t.params.forEach(e=>{e.fileName?c(`${e.name}@${i6(e.fileName)}`):c(`${e.name}='${i6(e.value)}'`)})):d=!0;let p=f.length?`${f.join(` `)} `:``;return a=i6(s.queryParams?a:r),u(`http ${p}${i} ${a}`),d&&t?.text&&u(`echo ${i6(t.text)} | `),l()}},Rge={target:`shell`,client:`httpie`,title:`HTTPie`,generate(e){return g3(Lge,e)}},a6=e=>{if(!e)return!1;let{subtype:t}=us(e);return t===`json`||t.endsWith(`+json`)},o6=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},zge={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:`'${n6(a)}'`,s=[`wget --quiet`,`--method ${n.method}`];if(t?.auth?.username&&t?.auth?.password&&(s.push(`--user '${n6(t.auth.username)}'`),s.push(`--password '${n6(t.auth.password)}'`)),n.headers?.length&&n.headers.forEach(e=>{let t=n6(`${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: ${n6(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(a6(e))t&&s.push(`--body-data '${n6(o6(t))}'`);else if(e===`application/octet-stream`)s.push(`--body-data '${n6(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 '${n6(e)}'`)}else e===`multipart/form-data`&&r?r.forEach(e=>{if(e.fileName!==void 0)s.push(`--body-file='${n6(e.fileName)}'`);else{let t=e.value??``,n=a6(e.contentType)&&t?o6(t):t;s.push(`--body-data '${n6(`${e.name}=${n}`)}'`)}}):t&&s.push(`--body-data '${n6(o6(t))}'`)}return s.push(`--output-document`,`- ${o}`),s.join(` \\
221
+ `)}},s6=e=>JSON.stringify(e),Bge=e=>{let t=1;for(;e.includes(`"""${`#`.repeat(t)}`);)t+=1;return`#`.repeat(t)},Vge=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},c6=e=>encodeURIComponent(e),l6=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),Hge=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=l6(e.name),r=l6(e.fileName??``),i=e.contentType?l6(e.contentType):void 0;t.push(`appendToBody("--\\(boundary)\\r\\n")`),e.fileName===void 0?(t.push(`appendToBody(${s6(`Content-Disposition: form-data; name="${n}"\r\n`)})`),i&&t.push(`appendToBody(${s6(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${s6(e.value??``)})`),t.push(`appendToBody("\\r\\n")`)):(t.push(`appendToBody(${s6(`Content-Disposition: form-data; name="${n}"; filename="${r}"\r\n`)})`),i&&t.push(`appendToBody(${s6(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${s6(`<# File data for ${e.fileName||`file`} #>\r\n`)})`)),t.push(``)}),t.push(`appendToBody("--\\(boundary)--\\r\\n")`),t},u6=[{key:`c`,title:`C`,default:`libcurl`,clients:[ume]},{key:`csharp`,title:`C#`,default:`restsharp`,clients:[gme,wme]},{key:`clojure`,title:`Clojure`,default:`clj_http`,clients:[hme]},{key:`dart`,title:`Dart`,default:`http`,clients:[Tme]},{key:`fsharp`,title:`F#`,default:`httpclient`,clients:[Eme]},{key:`go`,title:`Go`,default:`native`,clients:[Ume]},{key:`http`,title:`HTTP`,default:`http1.1`,clients:[Wme]},{key:`java`,title:`Java`,default:`unirest`,clients:[qme,Yme,Zme,$me]},{key:`js`,title:`JavaScript`,default:`fetch`,clients:[ohe,ahe,Vhe,Bhe,Uhe]},{key:`kotlin`,title:`Kotlin`,default:`okhttp`,clients:[Khe]},{key:`node`,title:`Node.js`,default:`fetch`,clients:[Jhe,qhe,Yhe,Xhe]},{key:`objc`,title:`Objective-C`,default:`nsurlsession`,clients:[Qhe]},{key:`ocaml`,title:`OCaml`,default:`cohttp`,clients:[ege]},{key:`php`,title:`PHP`,default:`curl`,clients:[tge,nge,age]},{key:`powershell`,title:`PowerShell`,default:`webrequest`,clients:[lge,sge]},{key:`python`,title:`Python`,default:`python3`,clients:[bge,xge,fge,mge,pge]},{key:`r`,title:`R`,default:`httr2`,clients:[Cge]},{key:`ruby`,title:`Ruby`,default:`native`,clients:[Dge]},{key:`rust`,title:`Rust`,default:`reqwest`,clients:[Age]},{key:`shell`,title:`Shell`,default:`curl`,clients:[Ige,zge,Rge]},{key:`swift`,title:`Swift`,default:`nsurlsession`,clients:[{target:`swift`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=K4(e.method),r=q4(J4(e.url??``,e.queryString)),i=Y4(e.headers,e.cookies),a=[`import Foundation`,``,`var request = URLRequest(url: URL(string: ${s6(r)})!)`];if(a.push(`request.httpMethod = ${s6(n)}`),i.forEach(e=>{a.push(`request.setValue(${s6(e.value)}, forHTTPHeaderField: ${s6(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(a.push(`let credentials = ${s6(`${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=Vge(n),t=Bge(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=>`${c6(e.name)}=${c6(e.value??``)}`).join(`&`);a.push(`let formBody = ${s6(e)}`),a.push(`request.httpBody = formBody.data(using: .utf8)`)}else t===`multipart/form-data`&&r?.length?(a.push(...Hge(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(${s6(n??``)}.utf8)`),a.push(`request.httpBody = binaryBody`)):n!==void 0&&(a.push(`let rawBody = ${s6(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(`
222
+ `)}}]}];function d6(){function e(e,t){return u6.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print(t,n,r){return e(t,n)?.generate(r)},clients(){return u6},plugins(){return u6.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var Uge=`shell/curl`,f6=e=>B4.includes(e),Wge=e=>f6(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])},p6=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}`})},Kge=(e=B4)=>{let t=new Set(e);return d6().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}})},qge=typeof OVERRIDE_PACKAGE_VERSION<`u`?OVERRIDE_PACKAGE_VERSION:`0.1.9`,Jge={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&apos;`};function m6(e){return e.replace(/[&<>"']/g,e=>Jge[e]??e)}function h6(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)+`="`+m6(e[t].toString())+`"`);for(let t in e)if(t===`#text`)c+=m6(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+`>`+m6(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 g6=(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:gw(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=fl(o);i.push({name:e,value:`@${t.name}`,...c?{contentType:c}:{}})}else if(c&&typeof o==`object`)i.push({name:e,value:JSON.stringify(fl(o)),contentType:c});else if(r&&!n&&!s&&typeof o==`object`&&!Array.isArray(o))i.push({name:e,value:JSON.stringify(fl(o)),contentType:`application/json`});else if(Array.isArray(o)&&r&&!n&&!s&&o.some(e=>Bc(e)&&!(e instanceof File)))i.push({name:e,value:JSON.stringify(fl(o)),contentType:`application/json`});else if(Array.isArray(o))for(let t of o)if(t instanceof File){let n=fl(t);i.push({name:e,value:`@${n.name}`})}else i.push({name:e,value:String(t)});else if(typeof o==`object`){let t=g6(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},Yge=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{let i=t||Object.keys(e.content)[0]||``,a=i===`other`?``:i,o=e=>`@${fl(e).name||`filename`}`,s=e.content[i]?.encoding,c=i===`multipart/form-data`||i===`application/x-www-form-urlencoded`,l=i===`application/xml`,u=hl(e,n,t)?.value;if(u!==void 0){let e=typeof u==`object`&&u?fl(u):u;return c&&typeof e==`object`&&e?{mimeType:a,params:g6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:h6(e)}:e instanceof File?{mimeType:a,text:o(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}let d=R(e.content[i]?.schema);if(d!==void 0){let e=ow(pl(d),{compositionSelection:r,mode:`write`,xml:l},{schemaPath:[`requestBody`]});if(e!==void 0)return c&&typeof e==`object`&&e?{mimeType:a,params:g6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:h6(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}},Xge=e=>(e??[]).map(e=>R(e)),Zge=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,_6=(e,t)=>Zge(t)?e:encodeURIComponent(e),Qge=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`}},$ge=(e,t,n,r)=>{let i=hl(e,t,n);if(dT(e,i,r))return;if(i?.value!==void 0)return cT(i.value,e);if(!(`schema`in e)||!e.schema)return;let a=e.in===`path`?{emptyString:`{${e.name}}`}:{};return ow(R(e.schema),a)},e_e=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let i=[...e.headers],a=[...e.queryString],o=e.url,s=Xge(t);for(let t of s){if(!t.in||!t.name)continue;let s=$ge(t,n,void 0,r);if(s===void 0)continue;let{style:c,explode:l}=Qge(t);switch(t.in){case`path`:o=t_e(o,t,s,c,l);break;case`query`:if(`content`in t&&t.content){let e=cw(s,Object.keys(t.content)[0]??`application/json`);a.push({name:t.name,value:_6(e,t)});break}switch(c){case`form`:{let e=uw(s,l);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:_6(String(n.value),t)})}else a.push({name:t.name,value:_6(String(e),t)});break}case`spaceDelimited`:{let e=fw(s);a.push({name:t.name,value:_6(e,t)});break}case`pipeDelimited`:{let e=pw(s);a.push({name:t.name,value:_6(e,t)});break}case`deepObject`:if(Array.isArray(s)){let e=uw(s,!0);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:_6(String(n.value),t)})}else a.push({name:t.name,value:_6(String(e),t)})}else{let e=mw(t.name,s);for(let n of e)a.push({name:n.key,value:_6(n.value,t)})}break;default:a.push({name:t.name,value:_6(String(s),t)})}break;case`header`:{let e=lw(s,l);i.push({name:t.name,value:String(e)});break}case`cookie`:{let n=dw(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}},t_e=(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=lw(n,i);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(n))}},n_e=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`:Iw(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},r_e=(e,t)=>{if(!e?.url)return t;let n=e.url;return e.variables?os(_w(n,Object.entries(e.variables).reduce((e,[t,n])=>(n.default!==void 0&&(e[t]=n.default),e),{})),t):os(n,t)},v6=({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=Pse(e?gT({method:r,operation:t,exampleName:o??`default`,hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:ds(),appVersion:qge}}):{}),f=t[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[o??`default`]??{},p={method:r,url:r_e(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}=e_e({harRequest:p,parameters:t.parameters,example:o,defaultDisabled:u}),a=c?.filter(t=>Lw({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=R(t.requestBody);if(m?.content){let e=Yge({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}=n_e(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},y6=`ws://replace.me`,i_e=(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=`${y6}${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(d6().hasPlugin(i,t)){let e=d6().print(i,t,n);return e?[null,e.replace(`${y6}${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]},a_e=({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[p6(t).indexOf(e)]?.source??`Custom example not found`;let p=v6({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,_]=i_e(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`}},b6=(e,t)=>Object.entries(e??{}).map(([e,n])=>({lang:e,source:n,...t?{label:t}:{}})),o_e=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>b6(e.request,e.title)):[],s_e=e=>(e??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}})),x6=`SDK`,S6=`Code Examples`,c_e=e=>{let t=e[`x-scalar-examples`]??[];if(t.length)return{label:x6,samples:t};let n=b6(e[`x-stainless-snippets`]);if(n.length)return{label:x6,samples:n};let r=o_e(e[`x-stainless-examples`]);if(r.length)return{label:x6,samples:r};let i=s_e(e[`x-readme`]?.[`code-samples`]);return i.length?{label:S6,samples:i}:{label:S6,samples:[`x-custom-examples`,`x-codeSamples`,`x-code-samples`].flatMap(t=>e[t]??[])}},l_e=(e=``)=>(e[0]?.toUpperCase()??``)+e.slice(1),u_e={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`},d_e=e=>{if(e)return u_e[e.toLowerCase()]??l_e(e)},f_e=(e,t,n=S6)=>{if(e.length){let r=p6(e);return[{label:n,key:`custom`,options:e.map((e,t)=>{let n=r[t]??`custom/${t}`,i=e.label||d_e(e.lang)||n;return{id:n,lang:e.lang||`plaintext`,title:i,label:i,clientKey:`custom`}})},...t]}return t},p_e=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`],Iw(`${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),C6={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`}},w6=e=>{let t=e.trim().toLowerCase();return C6[t]??{short:t,color:`text-c-2`,backgroundColor:`bg-c-2`}},T6=`get`,E6=e=>{if(typeof e!=`string`)return console.warn(`Request method is not a string. Using ${T6} as the default.`),T6;let t=e.trim().toLowerCase();return CT(t)?t:(console.warn(`${e||`Request method`} is not a valid request method. Using ${T6} as the default.`),T6)},D6=T({inheritAttrs:!1,__name:`ScalarCopyBackdrop`,setup(e){let{cx:t}=Fc();return(e,n)=>(y(),N(`div`,Ke($e(E(t)(`absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded`))),null,16))}}),m_e={"aria-hidden":`true`,class:`flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%`},h_e={key:0,class:`whitespace-nowrap px-1.5`},g_e={key:0,class:`sr-only`,role:`alert`},__e={key:1,class:`sr-only`},O6=T({inheritAttrs:!1,__name:`ScalarCopyButton`,props:Fe({showLabel:{type:Boolean},placement:{default:`right`}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=ce(e,`copied`),{cx:n}=Fc(),r=M(()=>t.value?Ma:za);return(i,a)=>(y(),N(`button`,o({type:`button`},E(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`)),[O(jt,{enterActiveClass:`transition-transform`,enterFromClass:`scale-0`,enterToClass:`scale-100`,leaveActiveClass:`transition-transform`,leaveFromClass:`scale-100`,leaveToClass:`scale-0`,mode:`out-in`},{default:D(()=>[(y(),k(x(r.value),{class:`size-full`}))]),_:1}),a[4]||=P(`div`,{class:`bg-inherit rounded-[inherit] absolute inset-0 -z-1`},null,-1),P(`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`}])},[P(`div`,m_e,[O(jt,{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:D(()=>[t.value?(y(),N(`div`,h_e,[S(i.$slots,`copied`,{},()=>[a[0]||=tt(`Copied`,-1)])])):(y(),N(`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(),N(`div`,g_e,[S(i.$slots,`copied`,{},()=>[a[2]||=tt(`Copied`,-1)])])):(y(),N(`div`,__e,[S(i.$slots,`copy`,{},()=>[a[3]||=tt(`Copy`,-1)])])),S(i.$slots,`backdrop`,{},()=>[O(D6)])],2)],16))}}),v_e=T({__name:`ScalarCopy`,props:Fe({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=ce(e,`copied`);le(()=>{e.immediate&&n(e.content)});let{copy:n,copied:r}=cz({legacy:!0,copiedDuring:e.duration});return Xe(r,e=>t.value=e),(i,a)=>(y(),k(O6,{copied:t.value||E(r),placement:e.placement,showLabel:e.showLabel,onClick:a[0]||=t=>E(n)(e.content)},Se({_:2},[i.$slots.copy?{name:`copy`,fn:D(()=>[S(i.$slots,`copy`)]),key:`0`}:void 0,i.$slots.copied?{name:`copied`,fn:D(()=>[S(i.$slots,`copied`)]),key:`1`}:void 0,i.$slots.backdrop?{name:`backdrop`,fn:D(()=>[S(i.$slots,`backdrop`)]),key:`2`}:void 0]),1032,[`copied`,`placement`,`showLabel`]))}}),k6={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`,mojo:`Mojo`,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`},y_e={class:`hidden group-hocus-within/code-block:inline`},A6=T({inheritAttrs:!1,__name:`ScalarCodeBlockCopy`,props:Fe({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=ce(e,`copied`),n=M(()=>typeof e.content==`string`?e.content:JSON.stringify(e.content,null,2)),r=e=>e in k6,{cx:i}=Fc();return(a,s)=>(y(),k(E(v_e),o({content:n.value,showLabel:``,copied:t.value,"onUpdate:copied":s[0]||=e=>t.value=e,placement:`left`},{...E(i)(t.value?`opacity-100`:`opacity-0 group-hocus-within/code-block:opacity-100`)}),Se({backdrop:D(()=>[S(a.$slots,`backdrop`)]),_:2},[e.lang?{name:`copy`,fn:D(()=>[P(`span`,y_e,[e.showLang?(y(),N(`span`,{key:0,class:v([`group-hocus/copy-button:sr-only`,{capitalize:!r(e.lang)}])},ye(r(e.lang)?E(k6)[e.lang]:e.lang),3)):A(``,!0),P(`span`,{class:v({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},`Copy`,2)])]),key:`0`}:void 0]),1040,[`content`,`copied`]))}}),j6=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`?b_e(e):e?.toString()??``};function b_e(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 x_e={tabindex:`0`,class:`custom-scroll overflow-x-auto p-2 -outline-offset-2 rounded-[inherit] min-h-0 min-w-0 flex-1`},S_e=[`id`,`innerHTML`],C_e=T({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=be(),n=M(()=>e.prettyPrintedContent||j6(e.content??``)),r=M(()=>p$(n.value,{lang:e.lang.trim(),languages:i$,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),i=M(()=>!n.value.includes(`
228
+ `)),a=M(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),{cx:o}=Fc();return(s,c)=>(y(),N(`div`,Ke($e(E(o)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[P(`div`,x_e,[P(`pre`,{id:E(t),class:`m-0 bg-transparent text-nowrap whitespace-pre w-fit`,innerHTML:r.value},null,8,S_e)]),e.copy&&a.value?(y(),k(E(A6),{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":E(t)},{backdrop:D(()=>[O(D6,{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`])):A(``,!0)],16))}}),w_e={key:0,class:`shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3`},T_e=[`disabled`],E_e=[`disabled`],D_e=UT(T({__name:`ScalarVirtualTextSearch`,props:{query:{},matchCount:{},activeMatchIndex:{}},emits:[`update:query`,`next`,`prev`,`close`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=j(null),o=j(r.query);Xe(()=>r.query,e=>{o.value=e}),Xe(o,e=>{i(`update:query`,e)});let s=()=>{Ne(()=>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(),N(`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]||=In(()=>{},[`stop`])},[O(E(bo),{class:`pointer-events-none size-3.5 shrink-0 text-c-3`}),Ue(P(`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),[[On,o.value]]),o.value?(y(),N(`span`,w_e,ye(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:`No results`),1)):A(``,!0),n[5]||=P(`span`,{class:`mx-0.5 h-3.5 w-px bg-b-3`},null,-1),P(`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`)},[O(E(Zee),{class:`size-3`})],8,T_e),P(`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`)},[O(E(ka),{class:`size-3`})],8,E_e),P(`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`)},[O(E(ts),{class:`size-3`})])]))}}),[[`__scopeId`,`data-v-95edadbb`]]),O_e={key:0,class:`sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible`},k_e=UT(T({__name:`ScalarVirtualText`,props:{text:{},lineHeight:{default:20},containerClass:{default:``},contentClass:{default:``},lineClass:{default:``},searchable:{type:Boolean,default:!1}},setup(e){let t=e,n=j(null),r=j(null),i=j(0),a=j(0),o=j(``),s=j(!1),c=j(0),l=M(()=>t.text.split(`
229
+ `)),u=M(()=>l.value.length*t.lineHeight),d=M(()=>Math.floor(i.value/t.lineHeight)),f=M(()=>Math.min(Math.ceil((i.value+a.value)/t.lineHeight),l.value.length)),p=M(()=>Math.max(0,d.value-10)),m=M(()=>{let e=Math.min(l.value.length,f.value+10);return l.value.slice(p.value,e)}),h=M(()=>p.value*t.lineHeight),g=M(()=>{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=M(()=>{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,Ne(()=>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);le(()=>{C(),window.addEventListener(`resize`,C)}),se(()=>{window.removeEventListener(`resize`,C)});let w=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},ce=e=>p.value+e;return(i,a)=>(y(),N(`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(),N(`div`,O_e,[O(D_e,{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`])])):A(``,!0),P(`div`,{style:te({height:`${u.value}px`})},null,4),P(`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),N(Me,null,_(m.value,(n,r)=>(y(),N(`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(ce(r))?(y(!0),N(Me,{key:0},_(w(ce(r)),(e,t)=>(y(),N(Me,{key:t},[e.highlight?(y(),N(`mark`,{key:0,class:v([`scalar-virtual-text-highlight`,e.active?`scalar-virtual-text-highlight-active`:``])},ye(e.text),3)):(y(),N(Me,{key:1},[tt(ye(e.text),1)],64))],64))),128)):(y(),N(Me,{key:1},[tt(ye(n),1)],64))],6))),128))],6)],34))}}),[[`__scopeId`,`data-v-77b9d685`]]),M6=(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)}}},A_e=(e={})=>{let{debug:t=!1}=e,n=new Map,r=new Set,i=[],a=null,{execute:o,flushAll:s}=M6({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:fl(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()}}};async function j_e({defaultValue:e,validation:t,transformation:n,maxRetries:r=5}){let i=n?.(e)??e;return await t(i)?i:N6({value:[i,1],validation:t,maxRetries:r,transformation:n})}async function N6({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:N6({value:[e[0],e[1]+1],validation:t,maxRetries:n,transformation:i,attempts:r+1})}var P6=e=>e!==void 0&&Object.keys(e).length>0,F6=e=>{if(bT(e)||xT(e))return e[`x-scalar-navigation`]?.name||void 0},I6=e=>bT(e)?e.components?.securitySchemes??{}:xT(e)?(e.components?R(e.components):void 0)?.securitySchemes??{}:{},L6=e=>xT(e)?`availableScopes`:`scopes`,M_e=async(e,t,{selectedRequirements:n,newSchemes:r,meta:i})=>{let a=F6(t);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=[];if(bT(t)){let e=await Promise.all(r.map(async e=>{let n=await j_e({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]:[]}}));s.push(...e.filter(Boolean))}let 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})},N_e=(e,t,{meta:n})=>{let r=F6(t);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})},P_e=(e,{payload:t,name:n})=>{if(!bT(e)&&!xT(e))return;let r=R(I6(e)[n]);if(!r){console.error(`Security scheme ${n} not found`);return}let i=r.type;if(i===t.type||i===`httpApiKey`&&t.type===`apiKey`){let e=r.type;FT(r,t),r.type=e}return r},F_e=(e,t,{payload:n,name:r,overwrite:i=!1})=>{let a=F6(t);if(!a)return;if(i){e?.auth.setAuthSecrets(a,r,n);return}let o=e?.auth.getAuthSecrets(a,r),s=FT(fl(o,{depth:1})??{},n);e?.auth.setAuthSecrets(a,r,s)},I_e=(e,t,{name:n})=>{let r=F6(t);r&&e?.auth.clearAuthSecrets(r,n)},L_e=(e,t,{index:n,meta:r})=>{let i=F6(t);if(!i||r.type===`operation`&&(!bT(t)||TT(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:fl(a.selectedSchemes,{depth:null})??[]})},R_e=(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)},z_e=(e,t,{id:n,name:r,scopes:i,scope:a,selected:o,meta:s})=>{let c=F6(t);if(!c)return;let l=(s.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:c}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:c,path:s.path,method:s.method}))??NT(void 0,void 0,[],I6(t),n.length===1?n[0]:n),u=fl(l.selectedSchemes,{depth:1})??[],d=u.find(e=>R_e(e,n));if(!P6(d))return;let f=(()=>{if(a!==void 0&&o!==void 0){let e=Array.isArray(d[r])?d[r]:[];return o?Array.from(new Set([...e,a])):e.filter(e=>e!==a)}return i})();f!==void 0&&(d[r]=f,e?.auth.setAuthSelectedSchemas(s.type===`document`?{type:`document`,documentName:c}:{type:`operation`,documentName:c,path:s.path,method:s.method},{selectedIndex:l.selectedIndex,selectedSchemes:u}))},R6=(e,t,n)=>{let r=R(I6(e)[t]);if(!r||r.type!==`oauth2`&&r.type!==`openIdConnect`)return null;let i=r.flows?.[n];return i?R(i):null},z6=(e,t,n)=>{let r=F6(t);if(!e||!r)return;let i=t=>{let r=e.auth.getAuthSelectedSchemas(t);if(!r)return;let i=fl(r.selectedSchemes,{depth:1})??[];n(i),e.auth.setAuthSelectedSchemas(t,{selectedIndex:r.selectedIndex,selectedSchemes:i})};i({type:`document`,documentName:r}),bT(t)&&Object.entries(t.paths??{}).forEach(([e,t])=>{OT(t,t=>{i({type:`operation`,documentName:r,path:e,method:t})})})},B_e=(e,t,{name:n,flowType:r,scope:i,description:a,oldScope:o,enable:s})=>{if(!bT(t)&&!xT(t))return;let c=R6(t,n,r);if(!c)return;let l=L6(t);c[l]||(c[l]={});let u=c[l],d=!!o&&o!==i;if(d){if(!(o in u))return;delete u[o]}u[i]=a,!(!d&&!s)&&z6(e,t,e=>{e.forEach(e=>{if(!P6(e))return;let t=e[n];if(!Array.isArray(t))return;let r=t;d&&r.includes(o)&&(r=r.map(e=>e===o?i:e)),s&&!r.includes(i)&&(r=[...r,i]),r!==t&&(e[n]=r)})})},V_e=(e,t,{name:n,flowType:r,scope:i})=>{if(!bT(t)&&!xT(t))return;let a=R6(t,n,r)?.[L6(t)];a&&(delete a[i],z6(e,t,e=>{e.forEach(e=>{if(!P6(e))return;let t=e[n];!Array.isArray(t)||!t.includes(i)||(e[n]=t.filter(e=>e!==i))})}))},H_e=(e,t,{names:n})=>{if(!bT(t))return;let r=t[`x-scalar-navigation`]?.name;if(!r)return;let i=R(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=>(fl(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])=>{OT(n,(n,i)=>{let s=R(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})}})})},U_e=({document:e,store:t})=>({updateSelectedSecuritySchemes:n=>M_e(t,e,n),clearSelectedSecuritySchemes:n=>N_e(t,e,n),updateSecurityScheme:t=>P_e(e,t),updateSecuritySchemeSecrets:n=>F_e(t,e,n),clearSecuritySchemeSecrets:n=>I_e(t,e,n),updateSelectedAuthTab:n=>L_e(t,e,n),updateSelectedScopes:n=>z_e(t,e,n),upsertScope:n=>B_e(t,e,n),deleteScope:n=>V_e(t,e,n),deleteSecurityScheme:n=>H_e(t,e,n)}),W_e=(e,{payload:t,index:n})=>{if(!e||xT(e))return;if(e[`x-scalar-cookies`]||=[],n!==void 0){if(n<0||n>=e[`x-scalar-cookies`].length)return;let r=dy(zy,{...e[`x-scalar-cookies`][n],...t});return e[`x-scalar-cookies`][n]=r,r}let r=dy(zy,t);return e[`x-scalar-cookies`].push(r),r},G_e=(e,{index:t})=>!e||xT(e)||!e[`x-scalar-cookies`]||t<0||t>=e[`x-scalar-cookies`].length?!1:(e[`x-scalar-cookies`].splice(t,1),!0),B6=({collection:e})=>({upsertCookie:t=>W_e(e,t),deleteCookie:t=>G_e(e,t)}),K_e=(e,t)=>{bT(e)&&FT(e,t)},q_e=(e,t)=>{bT(e)&&(e[`x-scalar-watch-mode`]=t)},J_e=(e,t)=>{bT(e)&&(FT(e.info,t),e[`x-scalar-navigation`]&&t.title!==void 0&&(e[`x-scalar-navigation`].title=t.title?.trim()||`Untitled Document`))},Y_e=(e,t)=>{!bT(e)||!e[`x-scalar-navigation`]||(e[`x-scalar-icon`]=t,e[`x-scalar-navigation`].icon=t)},X_e=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)}},Z_e=(e,t)=>{e&&e.deleteDocument(t.name)},Q_e=({document:e,store:t})=>({updateDocumentExtension:t=>K_e(e,t),updateDocumentInfo:t=>J_e(e,t),updateWatchMode:t=>q_e(e,t),updateDocumentIcon:t=>Y_e(e,t),createEmptyDocument:e=>X_e(t,e),deleteDocument:e=>Z_e(t,e)}),$_e=(e,t,{environmentName:n,payload:r,oldEnvironmentName:i})=>{if(!t||!e||xT(t))return;t[`x-scalar-environments`]||={};let a=!t[`x-scalar-environments`][i??n],o=dy(hy,{...fl(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},eve=(e,t,{environmentName:n})=>{!t||!e||xT(t)||delete t[`x-scalar-environments`]?.[n]},tve=(e,{environmentName:t,variable:n,index:r})=>{if(!e||xT(e))return;if(!e[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}let i=dy(py,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},nve=(e,{environmentName:t,index:n})=>{if(!(!e||xT(e))){if(!e[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}e[`x-scalar-environments`][t]?.variables?.splice(n,1)}},V6=({workspace:e,collection:t})=>({upsertEnvironment:n=>$_e(e,t,n),deleteEnvironment:n=>eve(e,t,n),upsertEnvironmentVariable:e=>tve(t,e),deleteEnvironmentVariable:e=>nve(t,e)}),rve=(e,t)=>e&&e.workspace.documents[t]||null,H6=(e,t,n)=>{if(!bT(e))return null;let r=R(TT(e.paths?.[n.path],n.method));if(!r)return null;let i=R(r.requestBody);return i||=(r.requestBody={content:{}},R(r.requestBody)),i.content[t]||={},i.content[t].examples||={},i.content[t].examples[n.exampleKey]||={},R(i.content[t].examples?.[n.exampleKey])??null},ive=(e,{meta:t,payload:n})=>{if(!bT(e))return;let r=R(TT(e.paths?.[t.path],t.method));if(!r)return;let i=R(r.requestBody);i||=(r.requestBody={content:{}},R(r.requestBody)),i[`x-scalar-selected-content-type`]||={},i[`x-scalar-selected-content-type`][t.exampleKey]=n.contentType},ave=(e,{meta:t,payload:n,contentType:r})=>{let i=H6(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=n},ove=(e,{meta:t,payload:n,contentType:r})=>{let i=H6(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=fl(n,{depth:3})},sve=(e,{meta:t,payload:n})=>{if(!bT(e))return;let r=R(TT(e.paths?.[t.path],t.method));r&&FT(r,n)},cve=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}=fve(c),p=await(async()=>{if(t&&a.body!=null){let e=await lve(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}}},lve=async(e,t)=>e instanceof FormData?uve(e):e instanceof URLSearchParams?dve(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},uve=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}),dve=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}),fve=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(t.toLowerCase()===`cookie`){let t=pve(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:[]}),pve=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}),mve=async({response:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let{headers:i,headersSize:a,cookies:o}=hve(e),s=e.headers.get(`location`)||``,c=e.headers.get(`content-type`)??`text/plain`,l=await(async()=>{if(t&&e.body){let t=await gve(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}},hve=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=vve(n);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),gve=async e=>{let t=e.headers.get(`content-type`);if(!t||!_ve(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}}},_ve=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`))},vve=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()}},yve=(e,t,n)=>{e.forEach(e=>{let r=R(e);sw(r)||(xve(R(e),n,!0),r.in===`path`&&(r.examples||={},r.examples[n]={value:t[r.name]??``,"x-disabled":!1}))})},bve=({harRequest:e,exampleKey:t,baseOperation:n={},pathVariables:r={}})=>{if(n.parameters||=[],yve(n.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=U6(n.parameters,r.name,`query`);!e||sw(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=U6(n.parameters,r.name,`header`);!e||sw(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=U6(n.parameters,r.name,`cookie`);!e||sw(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=R(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},xve=(e,t,n)=>{sw(e)||e.examples?.[t]&&(R(e.examples[t])[`x-disabled`]=n)},U6=(e,t,n)=>{for(let r of e){let e=R(r);if(!sw(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},Sve=async(e,t,{payload:n,meta:r})=>{if(!bT(t))return;let i=t[`x-scalar-navigation`]?.name;if(!i||!n)return;let a=R(TT(t.paths?.[r.path],r.method));if(!a)return;let o=(a.parameters??[]).reduce((e,t)=>{let n=R(t);return sw(n)||n.in===`path`&&(e[n.name]=R(n.examples?.[r.exampleKey])?.value??``),e},{}),s=await cve({requestPayload:n.requestPayload}),c=await mve({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}})},Cve=(e,t,{meta:n,index:r,callback:i})=>{if(!bT(t)){console.error(`Document not found`,n.path,n.method);return}let a=R(TT(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}bve({harRequest:o.request,exampleKey:`draft`,baseOperation:a,pathVariables:o.requestMetadata.variables}),i(`success`)},W6=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&ns.PATH,n&&ns.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>e!==void 0):[]),G6=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},K6=(e,t,n,r)=>{let i=W6(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=W6(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),o=G6(t,i),s=G6(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=fl(e,{depth:1});if(t?.in!==`path`){f.push(n);continue}u.has(e)&&f.push(n)}return f.concat(d)},q6=(e,t)=>{if(t)return t.type===e?t:q6(e,t.parent)},wve=e=>e.type===`document`||e.type===`tag`||e.type===`operation`,Tve=({store:e,entry:t})=>{let n=q6(`document`,t);if(!n)return null;let r=e.workspace.documents[n.name];return r?t.type===`document`?r:bT(r)?t.type===`tag`?r.tags?.find(e=>e.name===t.name)??null:t.type===`operation`?R(TT(r.paths?.[t.path],t.method))??null:null:null:null},J6=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},Eve=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},Dve=/[^\p{L}\p{M}\p{N}\s_-]/gu,Ove=/[\s_-]+/g,kve=/^-+|-+$/g,Ave=/\p{M}/gu,Y6=new Map,X6=(e,t={})=>{let{allowedSpecialChars:n=``,preserveCase:r=!1,normalizationForm:i=`NFC`,stripAccents:a=!1}=t,o=(()=>{if(n.length===0)return Dve;let e=Y6.get(n);if(e)return e;let t=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),r=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,`gu`);return Y6.set(n,r),r})(),s=e.slice(0,255).trim(),c=a?s.normalize(`NFD`).replace(Ave,``):s.normalize(i);return(r?c:c.toLowerCase()).replace(o,``).replace(Ove,`-`).replace(kve,``)},Z6=(e,t)=>{let n=t?.modelsSectionLabel??`Models`,r=X6(n),i=n=>{let a=X6(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}/${X6(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/${X6(n.channelName)}`;if(n.type===`asyncapi-message`)return`${n.parentId}/asyncapi-message/${X6(n.messageName)}`;if(n.type===`asyncapi-operation`)return`${n.parentId}/asyncapi-operation/${X6(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()}/${X6(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}/${X6(n.name,{preserveCase:!0})}`}return n.type===`example`?`${n.parentId}/example/${X6(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}},Q6=({store:e,generateId:t,...n})=>{n.entries?.forEach(r=>{if(!wve(r.parent))return;let i=Tve({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=q6(`document`,r),a=t?e.workspace.documents[t.name]:null,o=bT(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})})},jve=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!bT(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]={}),_T(o),_T(i),ET(n.paths[o],i,a);let{servers:s}=a,c=fl(s?.[0]);for(let e of s??[])n.servers?.some(t=>t.url===e.url)||(n.servers||=[],n.servers.push(fl(e)));c&&(n[`x-scalar-selected-server`]=c.url);let l=a.parameters,u=K6(o,o,l??[],R);return(l!==void 0||u.length>0)&&(a.parameters=u),t.callback?.(!0),o},Mve=(e,t,{meta:n,payload:r})=>{if(!e||!bT(t))return;let i=t[`x-scalar-navigation`]?.name;if(i===void 0)return;let a=R(TT(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)},Nve=(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||!bT(e)){console.error(`Document or workspace not found`,{document:e});return}if(TT(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=R(TT(e.paths?.[n.path],n.method));if(!f){console.error(`Operation not found`,{meta:n,document:e});return}if(c){let e=W6(n.path,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),t=W6(u,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0);if(e.length>0||t.length>0){let e=f.parameters??[];f.parameters=K6(u,n.path,e,R)}}let{generateId:p}=Z6(d.name),m=J6(d).get(`${n.path}|${n.method}`);m&&Q6({store:t,operation:f,generateId:p,method:l,path:u,entries:m}),e.paths||={},e.paths[u]||(e.paths[u]={}),_T(u),_T(n.path),_T(l),ET(e.paths[u],l,fl(f)),CT(n.method)&&(DT(e.paths[n.path],n.method),kT(e.paths[n.path])&&delete e.paths[n.path]),t.history.clearOperationHistory(e[`x-scalar-navigation`]?.name??``,n.path,n.method),o(`success`,a)},Pve=(e,{meta:t,documentName:n})=>{let r=e?.workspace.documents[n];bT(r)&&(_T(t.path),_T(t.method),DT(r.paths?.[t.path],t.method),kT(r.paths?.[t.path])&&delete r.paths?.[t.path])},Fve=(e,{meta:{path:t,method:n},documentName:r,exampleName:i})=>{let a=e?.workspace.documents[r];if(!bT(a)){console.error(`Document not found`,{documentName:r});return}let o=R(TT(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)},Ive=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i})=>{let a=e?.workspace.documents[i];if(!bT(a))return;let o=R(TT(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=R(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=R(o.requestBody);c&&Object.values(c.content??{}).forEach(e=>{delete e.examples?.[r]})},Lve=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i,payload:a})=>{let o=e?.workspace.documents[i];if(!bT(o))return;let s=R(TT(o.paths?.[t],n));if(!s)return;let c=a.name.trim();if(!c||c===r)return;_T(c);let l=[];s.parameters?.forEach(e=>{let t=R(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=R(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]=fl(e[r]),delete e[r])}))},Rve=e=>{if(!e||typeof e!=`object`)return[];if(`$ref`in e){let t=[],n=e;n.parameters!==void 0&&t.push(n);let r=R(e);return r&&t.push(r),t}return[e]},zve=(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=R(e.examples[t.exampleKey]);n.value=r.value,n[`x-disabled`]=r.isDisabled;return}if(!bT(e))return;let a=R(TT(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}}})},Bve=(e,{type:t,meta:n,payload:r,in:i})=>{if(!bT(e))return;let a=R(TT(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})},Vve=(e,{meta:t,originalParameter:n})=>{if(!bT(e))return;let r=R(TT(e.paths?.[t.path],t.method)),i=r?.parameters?.findIndex(e=>R(e)===n)??-1;if(r&&i>=0){r.parameters=fl(r.parameters?.filter((e,t)=>t!==i),{depth:1});return}for(let r of Rve(e.paths?.[t.path])){let e=r.parameters?.findIndex(e=>R(e)===n)??-1;if(e>=0){r.parameters=fl(r.parameters?.filter((t,n)=>n!==e),{depth:1});return}}},Hve=(e,{meta:t,type:n})=>{if(!bT(e))return;let r=R(TT(e.paths?.[t.path],t.method));r&&(r.parameters=r.parameters?.filter(e=>R(e).in!==n)??[])},Uve=({document:e,store:t})=>({createOperation:e=>jve(t,e),updateOperationMeta:n=>Mve(t,e,n),updateOperationPathMethod:n=>Nve(e,t,n),deleteOperation:e=>Pve(t,e),createOperationDraftExample:e=>Fve(t,e),deleteOperationExample:e=>Ive(t,e),renameOperationExample:e=>Lve(t,e),updateOperationExtension:t=>sve(e,t),updateOperationExtraParameters:t=>Bve(e,t),upsertOperationParameter:t=>zve(e,t),deleteOperationParameter:t=>Vve(e,t),deleteAllOperationParameters:t=>Hve(e,t),updateOperationRequestBodyContentType:t=>ive(e,t),updateOperationRequestBodyExample:t=>ave(e,t),updateOperationRequestBodyFormValue:t=>ove(e,t),addResponseToHistory:n=>Sve(t,e,n),reloadOperationHistory:n=>Cve(t,e,n)}),$6=(e,t)=>bT(e)?t.type===`document`?e:R(TT(e.paths?.[t.path],t.method))??null:null,Wve=(e,{meta:t})=>{let n=$6(e,t);if(!n){console.error(`Target not found`,t);return}return n.servers=[],n.servers},Gve=(e,{url:t,select:n,meta:r})=>{let i=$6(e,r);if(!i){console.error(`Target not found`,r);return}let a=dy(PC,{url:t});return i.servers||=[],i.servers.push(a),n&&(i[`x-scalar-selected-server`]=a.url),a},e8=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},Kve=(e,t,n)=>{let r=W6(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),i=W6(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=e8(t,r),o=e8(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},qve=(e,{index:t,server:n,meta:r})=>{let i=$6(e,r);if(!i)return;let a=fl(i.servers?.[t],{depth:1});if(!a){console.error(`Server not found at index:`,t);return}let o=a.url,s=dy(PC,{...a,...n});if(o&&o!==s.url){let e=s.variables??{};s.variables=Kve(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},Jve=(e,{index:t,meta:n})=>{let r=$6(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)},Yve=(e,{meta:t})=>{let n=$6(e,t);n&&(n.servers=void 0,n[`x-scalar-selected-server`]=void 0)},Xve=(e,{index:t,key:n,value:r,meta:i})=>{let a=$6(e,i)?.servers?.[t]?.variables?.[n];if(!a){console.error(`Variable not found`,n,t);return}return a.default=r,a},Zve=(e,{url:t,meta:n})=>{let r=$6(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`])},Qve=(e,{name:t})=>{if(xT(e))return e[`x-scalar-selected-server`]=t,e[`x-scalar-selected-server`]},$ve=(e,{name:t,key:n,value:r})=>{if(!xT(e))return;let i=R(e.servers?.[t]),a=i?.variables?.[n]?R(i.variables[n]):void 0;if(!a){console.error(`Variable not found`,n,t);return}return a.default=r,a},eye=({document:e})=>({initializeServers:t=>Wve(e,t),addServer:t=>Gve(e,t),updateServer:t=>qve(e,t),deleteServer:t=>Jve(e,t),clearServers:t=>Yve(e,t),updateServerVariables:t=>Xve(e,t),updateSelectedServer:t=>Zve(e,t),updateSelectedAsyncApiServer:t=>Qve(e,t),updateAsyncApiServerVariables:t=>$ve(e,t)}),tye=1,t8=e=>e!==null&&e[`x-scalar-tabs`]!==void 0,n8=e=>fl(e[`x-scalar-tabs`],{depth:tye}),r8=e=>e[`x-scalar-active-tab`]??0,nye=(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`]))},rye=(e,t)=>{if(!t8(e))return!1;let n=n8(e),r=n[r8(e)];if(!r)return!1;let i=[...n,{...r}];return e[`x-scalar-tabs`]=i,e[`x-scalar-active-tab`]=i.length-1,!0},iye=(e,t)=>{let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index;if(!t8(e))return!1;let r=n(),i=r8(e),a=n8(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)},aye=(e,t)=>{if(!t8(e))return!1;let n=n8(e);return n.length<=1?!1:(e[`x-scalar-tabs`]=n.filter((e,n)=>n===t.index),e[`x-scalar-active-tab`]=0,!0)},oye=(e,t)=>{if(!t8(e))return!1;let n=r8(e);return n<=0?!1:(e[`x-scalar-active-tab`]=n-1,!0)},sye=(e,t)=>{if(!t8(e))return!1;let n=n8(e),r=r8(e);return r>=n.length-1?!1:(e[`x-scalar-active-tab`]=r+1,!0)},cye=(e,t)=>{if(!t8(e))return!1;let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=n8(e),i=n();return Number.isNaN(i)||i<0||i>=r.length?!1:(e[`x-scalar-active-tab`]=i,!0)},lye=(e,t)=>{if(!t8(e))return!1;let n=n8(e);return n.length<=1?!1:(e[`x-scalar-active-tab`]=n.length-1,!0)},uye=({workspace:e})=>({updateTabs:t=>nye(e,t),addTab:t=>rye(e,t),closeTab:t=>iye(e,t),closeOtherTabs:t=>aye(e,t),navigatePreviousTab:t=>oye(e,t),navigateNextTab:t=>sye(e,t),focusTab:t=>cye(e,t),focusLastTab:t=>lye(e,t)}),dye=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!bT(n)){console.error(`Document not found`,{payload:t,store:e});return}n.tags||=[],n.tags.push({name:t.name})},fye=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!e||!bT(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=fl(e);return t.name===i?{...t,name:a}:t})),t.tag.children?.forEach(e=>{if(e.type===`operation`){let t=R(TT(n.paths?.[e.path],e.method));t&&`tags`in t&&(t.tags=fl(t.tags,{depth:null})?.map(e=>e===i?a:e))}else if(e.type===`webhook`){let t=R(TT(n.webhooks?.[e.name],e.method));t&&`tags`in t&&(t.tags=fl(t.tags,{depth:null})?.map(e=>e===i?a:e))}}),n[`x-tagGroups`]&&=fl(n[`x-tagGroups`],{depth:null}).map(e=>({...e,tags:e.tags.map(e=>e===i?a:e)}));let{generateId:o}=Z6(r.name),s=Eve(r).get(i);s&&Q6({store:e,tag:{name:a},generateId:o,entries:s})},pye=(e,t)=>{let n=e?.workspace.documents[t.documentName];bT(n)&&(Object.values(n.paths??{}).forEach(e=>{OT(e,(e,n)=>{let r=R(n);`tags`in r&&(r.tags=fl(r.tags,{depth:1})?.filter(e=>e!==t.name))})}),Object.values(n.webhooks??{}).forEach(e=>{OT(e,(e,n)=>{let r=R(n);r.tags=fl(r.tags,{depth:1})?.filter(e=>e!==t.name)})}),n.tags=fl(n.tags,{depth:null})?.filter(e=>e.name!==t.name))},mye=({store:e})=>({createTag:t=>dye(e,t),editTag:t=>fye(e,t),deleteTag:t=>pye(e,t)}),hye=(e,t)=>{e&&(e[`x-scalar-active-proxy`]=t)},gye=(e,t)=>{e&&(e[`x-scalar-color-mode`]=t)},_ye=(e,t)=>{e&&(e[`x-scalar-theme`]=t)},vye=(e,t)=>{e&&(e[`x-scalar-active-environment`]=t??void 0)},yye=(e,t)=>{e&&(e[`x-scalar-default-client`]=t)},bye=(e,t)=>{e&&(e[`x-scalar-default-example`]=t)},xye=({workspace:e})=>({updateActiveProxy:t=>hye(e,t),updateColorMode:t=>gye(e,t),updateTheme:t=>_ye(e,t),updateSelectedClient:t=>yye(e,t),updateSelectedExample:t=>bye(e,t),updateActiveEnvironment:t=>vye(e,t)});function Sye(e){let t=t=>({auth:U_e({store:e,document:t}),cookie:B6({collection:t}),document:Q_e({document:t,store:e}),operation:Uve({document:t,store:e}),server:eye({document:t}),tag:mye({store:e}),environment:V6({workspace:e?.workspace??null,collection:t})}),n=()=>({cookie:B6({collection:e?.workspace??null}),tabs:uye({workspace:e?.workspace??null}),workspace:xye({workspace:e?.workspace??null}),environment:V6({workspace:e?.workspace??null,collection:e?.workspace??null})});return{workspace:()=>n(),active:()=>t(e?.workspace.activeDocument??null),doc:n=>t(rve(e,n))}}var Cye={key:1,class:`rounded border bg-b-2 p-3 text-sm`},wye={key:0,class:`mt-2 rounded border bg-b-1 p-2 font-code text-c-2`},Tye=T({__name:`ScalarErrorBoundary`,setup(e){let t=j(!1),n=j();return re((e,r,i)=>(console.error(`[ERROR]`,e,i),t.value=!0,n.value=e,!1)),(e,r)=>t.value?(y(),N(`div`,Cye,[r[0]||=P(`div`,{class:`p-2`},`Oops, something went wrong here.`,-1),n.value?(y(),N(`div`,wye,ye(n.value?.name)+`: `+ye(n.value?.message),1)):A(``,!0)])):S(e.$slots,`default`,{key:0})}});function Eye(e,t){return t.reduce((e,t)=>{if(e!=null)return e[t]},e)}var Dye={key:0,class:`close-button z-10 fixed right-2 top-2`},Oye={};function i8(){return ze({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var a8=UT(T({...Oye,__name:`ScalarModal`,props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:`md`},variant:{}},emits:[`close`],setup(e,{emit:t}){let n=t,r=Nc({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=Nc({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(),k(E(Xi),{open:e.state.open,onClose:a[1]||=()=>{e.state.hide(),n(`close`)}},{default:D(()=>[P(`div`,{class:v(E(Pc)(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`))},[O(E(Zi),{class:v(E(r)({size:e.size,variant:e.variant})),style:te({maxWidth:e.maxWidth})},{default:D(()=>[e.title?(y(),k(E(Qi),{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:D(()=>[tt(ye(e.title),1)]),_:1})):A(``,!0),e.size===`full`?(y(),N(`div`,{key:1,class:v(e.bodyClass)},[S(t.$slots,`default`,{},void 0,!0)],2)):(y(),N(`div`,{key:2,class:v(E(Pc)(E(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(),N(`div`,Dye,[O(E(F4),{class:`hover:bg-b-3 focus:outline-none`,icon:E(ts),label:`Close modal`,onClick:a[0]||=t=>e.state.hide()},null,8,[`icon`])])):A(``,!0)],2)]),_:3},8,[`open`]))}}),[[`__scopeId`,`data-v-5bb1dcc2`]]),kye={class:`text-c-2 mb-4 text-sm leading-normal`},Aye={class:`flex justify-between gap-2`},jye=T({__name:`DeleteRequestAuthModal`,props:{state:{},label:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=t,r=()=>{n(`delete`)};return(t,i)=>(y(),k(E(a8),{size:`xxs`,state:e.state,title:`Delete Security Scheme`},{default:D(()=>[P(`p`,kye,` This cannot be undone. You're about to delete the `+ye(e.label)+` security scheme from the collection. `,1),P(`div`,Aye,[O(E(VF),{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:D(()=>[...i[1]||=[tt(` Cancel `,-1)]]),_:1}),O(E(VF),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`submit`,onClick:r},{default:D(()=>[tt(` Delete `+ye(e.label),1)]),_:1})])]),_:1},8,[`state`]))}}),Mye={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:{}}}}}},o8=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`)},s8=e=>JSON.stringify(Object.keys(e)),c8=({name:e,value:t})=>({id:o8(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),l8=e=>c8({name:Object.keys(e).join(` & `),value:e}),u8=(e,t)=>{let n=Object.keys(e);if(n.length>1)return l8(e);if(n[0])return R(t[n[0]])?c8({name:n[0],value:e}):void 0},Nye=e=>{let t=null;for(let[n,r]of Object.entries(e)){let e=R(r);if(e?.type!==`oauth2`)continue;let i=e.flows;if(!i)continue;let a=e[`x-default-scopes`]??[];if(i.authorizationCode)return{name:n,flows:i,flowType:`authorizationCode`,scopes:a};i.implicit&&!t&&(t={name:n,flows:i,flowType:`implicit`,scopes:a})}return t},Pye=(e,t,n,r=!1)=>{let i=new Map(n.map(e=>[s8(e),e])),{requiredFormatted:a,requiredSchemeNames:o,existingIds:s}=e.reduce((e,n)=>{let r=u8(i.get(s8(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)&&R(n)){let t=c8({name:e,value:{[e]:[]}});c.push(t),s.add(t.id)}for(let e of n){let n=u8(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(Mye).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),l):a.length?l:c},Fye=e=>{let t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},d8=(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}},f8=(e,t=`access_token`)=>{try{let{searchParams:n,hashParams:r}=Fye(e()),i=d8(n,r,t),a=d8(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}}},p8=(e,t={})=>yw(vw(e?.url??``,mT(e)),t),m8=(e,t={})=>{let n=p8(e,t);return n?rs(n)?typeof window>`u`?{}:{basePath:n}:{baseUrl:n}:{}},Iye=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),Pw(e,!0)},Lye=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 Pw(new Uint8Array(r),!0)},h8=async(e,t,n,r,i,a={},o,s)=>{let c=e[t];try{if(!c)return[Error(`Flow not found`),null];let l=n.join(` `);if(t===`clientCredentials`||t===`password`)return g8(e,t,l,{proxyUrl:i,customFetch:o},r,a);let u=(Math.random()+1).toString(36).substring(2,10),d=ss(e[t][`x-scalar-secret-auth-url`]??e[t].authorizationUrl,m8(r,a)),f=new URL(d),p=null;if(t===`implicit`)f.searchParams.set(`response_type`,`token`);else if(t===`authorizationCode`){let n=e[t];if(f.searchParams.set(`response_type`,`code`),n[`x-usePkce`]!==`no`){let e=Iye(),t=await Lye(e,n[`x-usePkce`]);p={codeVerifier:e,codeChallenge:t,codeChallengeMethod:n[`x-usePkce`]===`SHA-256`?`S256`:`plain`},f.searchParams.set(`code_challenge`,t),f.searchParams.set(`code_challenge_method`,p.codeChallengeMethod)}}let m=e[t];if(!s)if(m[`x-scalar-secret-redirect-uri`].startsWith(`/`)){let e=p8(r,a)||window.location.origin+window.location.pathname,t=new URL(m[`x-scalar-secret-redirect-uri`],e).toString();f.searchParams.set(`redirect_uri`,t)}else f.searchParams.set(`redirect_uri`,m[`x-scalar-secret-redirect-uri`]);if(c[`x-scalar-security-query`]&&Object.keys(c[`x-scalar-security-query`]).forEach(e=>{let t=c[`x-scalar-security-query`]?.[e];t&&f.searchParams.set(e,t)}),f.searchParams.set(`client_id`,c[`x-scalar-secret-client-id`]),f.searchParams.set(`state`,u),l&&f.searchParams.set(`scope`,l),s){let[n,d]=await s({authorizationUrl:f.toString()});if(n||!d)return[n??Error(`Failed to capture the OAuth2 redirect`),null];let{accessToken:m,accessTokenParams:h,code:g,codeParams:_,error:v,errorDescription:y,refreshToken:b}=f8(()=>d.callbackUrl,c[`x-tokenName`]||`access_token`);return v?[Error(`OAuth error: ${v}${y?` (${y})`:``}`),null]:m?(h?.get(`state`)??null)===u?[null,{accessToken:m,...b?{refreshToken:b}:{}}]:[Error(`State mismatch`),null]:g&&t===`authorizationCode`?(_?.get(`state`)??null)===u?g8(e,t,l,{code:g,pkce:p,proxyUrl:i,customFetch:o,redirectUri:d.redirectUri},r,a):[Error(`State mismatch`),null]:[Error(`No authorization code or access token was returned`),null]}let h=window.open(f,`openAuth2Window`,`left=100,top=100,width=800,height=600`);return h?new Promise(n=>{let s=setInterval(()=>{let{accessToken:d,accessTokenParams:f,code:m,codeParams:g,error:_,errorDescription:v,refreshToken:y}=f8(()=>h.location.href,c[`x-tokenName`]||`access_token`);if(h.closed||d||m||_){if(clearInterval(s),h.close(),_){n([Error(`OAuth error: ${_}${v?` (${v})`:``}`),null]);return}if(d){(f?.get(`state`)??null)===u?n([null,{accessToken:d,...y?{refreshToken:y}:{}}]):n([Error(`State mismatch`),null]);return}if(m&&t===`authorizationCode`){(g?.get(`state`)??null)===u?g8(e,t,l,{code:m,pkce:p,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]}},g8=async(e,t,n,{code:r,pkce:i,proxyUrl:a,customFetch:o=fetch,redirectUri:s}={},c,l={})=>{let u=e[t];if(!u)return[Error(`OAuth2 flow was not defined`),null];let d=new URLSearchParams;n&&(t===`clientCredentials`||t===`password`)&&d.set(`scope`,n);let f=u[`x-scalar-credentials-location`]===`body`,p=!!u[`x-scalar-secret-client-secret`];if((f||t===`authorizationCode`&&!p)&&d.set(`client_id`,u[`x-scalar-secret-client-id`]),f&&p&&d.set(`client_secret`,u[`x-scalar-secret-client-secret`]),s?d.set(`redirect_uri`,s):`x-scalar-secret-redirect-uri`in u&&u[`x-scalar-secret-redirect-uri`]&&d.set(`redirect_uri`,u[`x-scalar-secret-redirect-uri`]),r)d.set(`code`,r),d.set(`grant_type`,`authorization_code`),i&&d.set(`code_verifier`,i.codeVerifier);else if(t===`password`){let n=e[t];d.set(`grant_type`,`password`),d.set(`username`,n[`x-scalar-secret-username`]),d.set(`password`,n[`x-scalar-secret-password`])}else d.set(`grant_type`,`client_credentials`);u[`x-scalar-security-body`]&&Object.entries(u[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&d.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!f&&p&&(e.Authorization=`Basic ${Iw(`${u[`x-scalar-secret-client-id`]}:${u[`x-scalar-secret-client-secret`]}`)}`);let t=ss(u[`x-scalar-secret-token-url`]??u.tokenUrl,m8(c,l)),n=await(await o(Ew(a,t)?`${a}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:d})).json(),r=n[u[`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]}},_8=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=!!o[`x-scalar-secret-client-secret`];(l||t===`authorizationCode`&&!u)&&c.set(`client_id`,o[`x-scalar-secret-client-id`]),l&&u&&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&&u&&(e.Authorization=`Basic ${Iw(`${o[`x-scalar-secret-client-id`]}:${o[`x-scalar-secret-client-secret`]}`)}`);let t=ss(o.refreshUrl||o[`x-scalar-secret-token-url`]||o.tokenUrl,m8(r,i)),d=await(await a(Ew(n,t)?`${n}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:c})).json(),f=d[o[`x-tokenName`]||`access_token`],p=d.refresh_token;return f?[null,{accessToken:f,...typeof p==`string`?{refreshToken:p}:{refreshToken:s}}]:[Error(d.error_description??d.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]}},v8=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>`u`||window.location.protocol===`file:`?``:window.location.origin+window.location.pathname,y8=(e,t)=>{let{bearerSchemeName:n,oauth2Name:r,flowType:i,tokens:a}=t;e.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,"x-scalar-secret-token":a.accessToken},name:n}),a.refreshToken&&e.emit(`auth:update:security-scheme-secrets`,{payload:{type:`oauth2`,[i]:{"x-scalar-secret-refresh-token":a.refreshToken}},name:r})},Rye=async e=>{let{eventBus:t,bearerSchemeName:n,oauth2Name:r,flows:i,flowType:a,scopes:o,server:s,proxyUrl:c,environment:l,options:u}=e,d=i[a],f=await h8(d&&(a===`authorizationCode`||a===`implicit`)?{...i,[a]:{...d,"x-scalar-secret-redirect-uri":d[`x-scalar-secret-redirect-uri`]||v8(u??{})||``}}:i,a,o,s,c,fT(l),u?.customFetch,u?.captureOAuth2Callback),p=f[1];return p?.accessToken&&y8(t,{bearerSchemeName:n,oauth2Name:r,flowType:a,tokens:p}),f},zye=[`for`],Bye={class:`relative flex min-w-0 flex-1`},Vye=[`readOnly`,`type`,`value`],Hye={key:1,class:`centered-y text-orange absolute right-7 text-xs`},Uye=Ea(T({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=j(!0),a=j(!1),s=De(`codeInput`),c=()=>!a.value&&r(`inputBlur`),l=M(()=>n.type===`password`?`text`:n.type??`text`),u=()=>{!n.enum?.length&&!n.readOnly&&s.value?.focus()};return(t,a)=>(y(),k(kV,{class:v([`relative flex`,e.containerClass])},{default:D(()=>[t.$slots.default?(y(),N(`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,zye)):A(``,!0),P(`div`,Bye,[n.enum&&n.enum.length?(y(),k(Fz,{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(),N(Me,{key:1},[i.value&&e.type===`password`?(y(),N(`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,Vye)):(y(),k(E(WV),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(),N(`div`,Hye,[S(t.$slots,`warning`,{},void 0,!0)])):A(``,!0),S(t.$slots,`icon`,{},void 0,!0),e.modelValue?(y(),k(E(F4),{key:2,class:`-ml-.25 h-6 w-6 self-center p-1.25`,icon:E(ts),label:`Clear Value`,onClick:a[4]||=e=>r(`update:modelValue`,``)},null,8,[`icon`])):A(``,!0),e.type===`password`?(y(),k(E(F4),{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?E(Ga):E(Qa),label:i.value?`Show Password`:`Hide Password`,onClick:a[5]||=e=>i.value=!i.value},null,8,[`icon`,`label`])):A(``,!0)]),_:3},8,[`class`]))}}),[[`__scopeId`,`data-v-a6f4752a`]]),Wye=[`for`],b8=T({__name:`RequestAuthDataTableInput`,props:Fe({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:``,required:!0},modelModifiers:{}}),emits:Fe([`inputFocus`,`inputBlur`,`selectVariable`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=ce(e,`modelValue`),i=be();return(t,a)=>(y(),k(E(Uye),o({id:E(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:D(()=>[P(`label`,{for:E(i)},[S(t.$slots,`default`)],8,Wye)]),icon:D(()=>[S(t.$slots,`icon`)]),_:3},16,[`id`,`modelValue`,`canAddCustomEnumValue`,`containerClass`,`environment`,`readOnly`,`required`,`type`]))}}),Gye={class:`flex gap-2`},Kye={class:`flex max-h-8 flex-1`},qye=T({name:`CommandActionForm`,props:{loader:{},disabled:{type:Boolean,default:!1}},emits:[`submit`,`cancel`,`back`],setup(e,{emit:t}){let n=t,{cx:r}=Fc(),i=()=>{e.disabled||n(`submit`)};return(t,n)=>(y(),N(`form`,{class:`flex w-full flex-col gap-3`,onKeydown:n[0]||=Rn(In(()=>{},[`stop`]),[`enter`]),onSubmit:In(i,[`prevent`,`stop`])},[P(`div`,Ke($e(E(r)(`relative flex min-h-20 flex-col rounded`))),[S(t.$slots,`default`)],16),P(`div`,Gye,[P(`div`,Kye,[S(t.$slots,`options`)]),O(E(VF),{class:`max-h-8 px-3 text-xs`,disabled:e.disabled,loader:e.loader,type:`submit`},{default:D(()=>[S(t.$slots,`submit`,{},()=>[n[1]||=tt(`Continue`,-1)])]),_:3},8,[`disabled`,`loader`])])],32))}}),Jye=[`placeholder`],x8=T({name:`CommandActionInput`,inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:[`update:modelValue`,`delete`],setup(e,{emit:t}){let n=t,r=j(null),i=M({get:()=>e.modelValue??``,set:e=>n(`update:modelValue`,e)});le(()=>{Ne(()=>{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)=>Ue((y(),N(`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:[Rn(s,[`delete`]),Rn(a,[`enter`])]}),null,16,Jye)),[[On,i.value]])}}),Yye={class:`flex min-h-8 items-start gap-2 text-sm`},Xye={class:`flex min-h-8 items-start gap-2 text-sm`},Zye={key:0,class:`text-red text-xs`,role:`alert`},Qye=T({__name:`OAuthScopesAddModal`,props:{state:{},scopes:{},scope:{default:null}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=t,r=M(()=>e.scope!==null),i=M(()=>r.value?`Edit Scope`:`Add Scope`),a=M(()=>r.value?`Save`:`Add Scope`),o=j({name:``,description:``}),s=j(!1);Xe(()=>o.value.name,()=>{s.value=!0});let c=M(()=>o.value.name.trim()),l=M(()=>!c.value||r.value&&c.value===e.scope?.name?!1:e.scopes.includes(c.value)),u=M(()=>l.value?`A scope named "${c.value}" already exists.`:s.value&&!c.value?`Scope name is required.`:null),d=M(()=>!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:``},Ne(()=>{s.value=!1}))}),(t,r)=>(y(),k(E(a8),{bodyClass:`overflow-y-auto`,size:`xs`,state:e.state,title:i.value},{default:D(()=>[O(E(qye),{disabled:d.value,onCancel:r[2]||=e=>n(`cancel`),onSubmit:f},{submit:D(()=>[tt(ye(a.value),1)]),default:D(()=>[P(`div`,Yye,[r[3]||=tt(` Name: `,-1),O(E(x8),{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`])]),P(`div`,Xye,[r[4]||=tt(` Description: `,-1),O(E(x8),{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(),N(`div`,Zye,ye(u.value),1)):A(``,!0)]),_:1},8,[`disabled`])]),_:1},8,[`state`,`title`]))}}),$ye=[`aria-label`,`placeholder`],S8=T({inheritAttrs:!1,__name:`ScalarSearchInput`,props:Fe({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=ce(e,`modelValue`),n=j(null);function r(){t.value=``,n.value&&n.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=Fc();return(s,c)=>(y(),N(`label`,Ke($e(E(i)(`flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25`))),[O(E(bo),{class:`text-sidebar-c-search size-4`}),Ue(P(`input`,o({ref_key:`inputRef`,ref:n},E(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:e.placeholder??`Search...`,spellcheck:`false`,type:`search`}),null,16,$ye),[[On,t.value]]),e.loader&&e.loader.isActive?(y(),k(E(RF),{key:0,class:`mr-1`,loader:e.loader,size:`lg`},null,8,[`loader`])):t.value?(y(),k(E(F4),{key:1,class:`-my-1`,icon:E(ts),label:e.clearLabel??`Clear Search`,size:`sm`,weight:`bold`,onClick:In(r,[`stop`,`prevent`])},null,8,[`icon`,`label`])):A(``,!0)],16))}}),ebe={class:`flex h-fit w-full`},tbe={class:`group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left`},nbe={class:`flex shrink-0 items-center gap-1.75`},rbe={class:`grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto`,style:{gridTemplateColumns:`1fr auto`}},ibe={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`},abe={class:`font-code shrink-0 text-xs`},obe={class:`whitespace-nowrap`},sbe=T({__name:`OAuthScopesInput`,props:{flowType:{},flow:{},selectedScopes:{}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=j(``),i=j(null),a=M(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),o=M(()=>Object.keys(e.flow?.scopes??{}).length),s=M(()=>o.value>=10),c=M(()=>{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=M(()=>Object.keys(e.flow?.scopes??{}).length>0),u=M(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),d=(e,t)=>{n(`update:selectedScopes`,{scope:e,selected:t})},f=()=>n(`update:selectedScopes`,{scopes:Object.keys(e.flow?.scopes??{})}),p=()=>n(`update:selectedScopes`,{scopes:[]}),m=i8(),h=j(0),g=j(!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 Ne(),g.value=!1)},te=t=>{n(`delete:scope`,{scope:t,flowType:e.flowType})};return(t,n)=>(y(),k(E(kV),{class:`h-auto !max-h-[initial] min-h-8 items-center`},{default:D(()=>[P(`div`,ebe,[n[7]||=P(`div`,{class:`text-c-1 h-full items-center`},null,-1),(y(),k(E(ia),{key:h.value,as:`div`,class:`bl flex w-full flex-col`,defaultOpen:g.value},{default:D(()=>[P(`div`,tbe,[O(E(aa),{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:D(()=>[l.value?(y(),N(Me,{key:0},[tt(` Scopes Selected `+ye(e.selectedScopes.length||0)+` / `+ye(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):(y(),N(Me,{key:1},[tt(` No Scopes Defined `)],64))]),_:1},8,[`class`,`disabled`]),P(`div`,nbe,[O(E(VF),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:In(b,[`stop`])},{default:D(()=>[...n[3]||=[tt(` Add Scope `,-1)]]),_:1}),l.value&&u.value?(y(),k(E(VF),{key:0,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:In(p,[`stop`])},{default:D(()=>[...n[4]||=[tt(` Deselect All `,-1)]]),_:1})):A(``,!0),l.value&&!u.value?(y(),k(E(VF),{key:1,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:In(f,[`stop`])},{default:D(()=>[...n[5]||=[tt(` Select All `,-1)]]),_:1})):A(``,!0),l.value?(y(),k(E(aa),{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:D(({open:e})=>[O(E(FF),{class:`group-hover/scopes-accordion:text-c-2`,icon:e?`ChevronDown`:`ChevronRight`,size:`md`},null,8,[`icon`])]),_:1})):A(``,!0)])]),O(E(oa),{as:`template`},{default:D(()=>[P(`div`,null,[s.value?(y(),k(E(S8),{key:0,modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,class:`flex items-center text-xs`},null,8,[`modelValue`])):A(``,!0),P(`table`,rbe,[(y(!0),N(Me,null,_(c.value,({id:t,label:r,description:i})=>(y(),k(E(NV),{key:t,class:`text-c-2 group/scope-row`,onClick:n=>d(t,!e.selectedScopes.includes(t))},{default:D(()=>[O(E(kV),{class:`box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0`},{default:D(()=>[P(`div`,ibe,[P(`span`,abe,ye(r),1),String(i??``).trim()?(y(),N(Me,{key:0},[n[6]||=P(`span`,{class:`shrink-0`},`–`,-1),P(`span`,obe,ye(i),1)],64)):A(``,!0)]),P(`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]||=In(()=>{},[`stop`])},[O(E(F4),{icon:E(Do),label:`Edit ${r}`,size:`sm`,onClick:In(e=>ee({id:t,description:i??``}),[`stop`])},null,8,[`icon`,`label`,`onClick`]),O(E(F4),{icon:E(Vo),label:`Delete ${r}`,size:`sm`,onClick:In(e=>te(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])])]),_:2},1024),O(E(KV),{ariaLabel:`Select ${r} scope`,modelValue:e.selectedScopes.includes(t),onClick:n[2]||=In(()=>{},[`stop`]),"onUpdate:modelValue":e=>d(t,e)},null,8,[`ariaLabel`,`modelValue`,`onUpdate:modelValue`])]),_:2},1032,[`onClick`]))),128))])])]),_:1})]),_:1},8,[`defaultOpen`]))]),O(Qye,{scope:i.value,scopes:Object.keys(e.flow.scopes??{}),state:E(m),onSubmit:x},null,8,[`scope`,`scopes`,`state`])]),_:1}))}}),cbe=Object.defineProperty,lbe=(e,t,n)=>t in e?cbe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,C8=(e,t,n)=>lbe(e,typeof t==`symbol`?t:t+``,n);function ube(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()}ube(`: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 w8=0,T8=new class{constructor(){C8(this,`subscribers`),C8(this,`toasts`),C8(this,`subscribe`,e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),C8(this,`publish`,e=>{this.subscribers.forEach(t=>t(e))}),C8(this,`addToast`,e=>{this.publish(e),this.toasts=[...this.toasts,e]}),C8(this,`create`,e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:w8++,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}),C8(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)),C8(this,`message`,(e,t)=>this.create({...t,message:e,type:`default`})),C8(this,`error`,(e,t)=>this.create({...t,type:`error`,message:e})),C8(this,`success`,(e,t)=>this.create({...t,type:`success`,message:e})),C8(this,`info`,(e,t)=>this.create({...t,type:`info`,message:e})),C8(this,`warning`,(e,t)=>this.create({...t,type:`warning`,message:e})),C8(this,`loading`,(e,t)=>this.create({...t,type:`loading`,message:e})),C8(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],fbe(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})}),C8(this,`custom`,(e,t)=>{let n=t?.id||w8++;return this.publish({component:e,id:n,...t}),n}),this.subscribers=[],this.toasts=[]}};function dbe(e,t){let n=t?.id||w8++;return T8.create({message:e,id:n,type:`default`,...t}),n}var fbe=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,pbe=dbe,E8=Object.assign(pbe,{success:T8.success,info:T8.info,warning:T8.warning,error:T8.error,custom:T8.custom,message:T8.message,promise:T8.promise,dismiss:T8.dismiss,loading:T8.loading},{getHistory:()=>T8.toasts});function D8(e){return e.label!==void 0}function mbe(){let e=j(!1);return Ve(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}var hbe=[`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`],gbe=[`aria-label`,`data-disabled`],O8=4e3,_be=20,vbe=200,ybe=T({__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=j(!1),a=j(!1),s=j(!1),c=j(!1),l=j(!1),u=j(0),d=j(0),f=j(n.toast.duration||n.duration||O8),p=j(null),m=j(null),h=M(()=>n.index===0),g=M(()=>n.index+1<=n.visibleToasts),_=M(()=>n.toast.type),b=M(()=>n.toast.dismissible!==!1),ee=M(()=>n.toast.class||``),ne=M(()=>n.descriptionClass||``),re=n.toast.style||{},ie=M(()=>n.heights.findIndex(e=>e.toastId===n.toast.id)||0),ae=M(()=>n.toast.closeButton??n.closeButton);M(()=>n.toast.duration||n.duration||O8);let oe=j(0),C=j(0),w=j(null),ce=M(()=>n.position.split(`-`)),ue=M(()=>ce.value[0]),T=M(()=>ce.value[1]),de=M(()=>typeof n.toast.title!=`string`),fe=M(()=>typeof n.toast.description!=`string`),pe=M(()=>n.heights.reduce((e,t,n)=>n>=ie.value?e:e+t.height,0)),me=mbe(),he=M(()=>n.toast.invert||n.invert),ge=M(()=>_.value===`loading`),_e=M(()=>ie.value*n.gap+pe.value||0);le(()=>{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 ve(){a.value=!0,u.value=_e.value,r(`update:heights`,n.heights.filter(e=>e.toastId!==n.toast.id)),setTimeout(()=>{r(`removeToast`,n.toast)},vbe)}function be(){var e,t;if(ge.value||!b.value)return{};ve(),(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast)}function xe(e){ge.value||!b.value||(p.value=new Date,u.value=_e.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(s.value=!0,w.value={x:e.clientX,y:e.clientY}))}function Se(){var e,t,r;if(c.value||!b)return;w.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)>=_be||o>.11){u.value=_e.value,(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast),ve(),c.value=!0,l.value=!1;return}(r=m.value)==null||r.style.setProperty(`--swipe-amount`,`0px`),s.value=!1}function Ce(e){var t;if(!w.value||!b.value)return;let n=e.clientY-w.value.y,r=window.getSelection()?.toString().length>0,i=ue.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 Ve(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&&me?(()=>{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),ve()},f.value)),e(()=>{clearTimeout(t)})}),Xe(()=>n.toast.delete,()=>{n.toast.delete&&ve()},{deep:!0}),le(()=>{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(),N(`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":ue.value,"data-x-position":T.value,"data-index":e.index,"data-front":h.value,"data-swiping":s.value,"data-dismissible":b.value,"data-type":_.value,"data-invert":he.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:_e.value}px`,"--initial-height":e.expandByDefault?`auto`:`${d.value}px`,...e.style,...E(re)}),onPointerdown:xe,onPointerup:Se,onPointermove:Ce},[ae.value&&!e.toast.component?(y(),N(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":ge.value,"data-close-button":`true`,class:v(e.cn(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:be},[(l=e.icons)!=null&&l.close?(y(),k(x(e.icons?.close),{key:0})):S(e.$slots,`close-icon`,{key:1})],10,gbe)):A(``,!0),e.toast.component?(y(),k(x(e.toast.component),o({key:1},e.toast.componentProps,{onCloseToast:be}),null,16)):(y(),N(Me,{key:2},[_.value!==`default`||e.toast.icon||e.toast.promise?(y(),N(`div`,{key:0,"data-icon":``,class:v(e.cn(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?(y(),k(x(e.toast.icon),{key:0})):(y(),N(Me,{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}):A(``,!0)],64))],2)):A(``,!0),P(`div`,{"data-content":``,class:v(e.cn(e.classes?.content,e.toast?.classes?.content))},[P(`div`,{"data-title":``,class:v(e.cn(e.classes?.title,e.toast.classes?.title))},[de.value?(y(),k(x(e.toast.title),Ke(o({key:0},e.toast.componentProps)),null,16)):(y(),N(Me,{key:1},[tt(ye(e.toast.title),1)],64))],2),e.toast.description?(y(),N(`div`,{key:0,"data-description":``,class:v(e.cn(e.descriptionClass,ne.value,e.classes?.description,e.toast.classes?.description))},[fe.value?(y(),k(x(e.toast.description),Ke(o({key:0},e.toast.componentProps)),null,16)):(y(),N(Me,{key:1},[tt(ye(e.toast.description),1)],64))],2)):A(``,!0)],2),e.toast.cancel?(y(),N(`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;E(D8)(e.toast.cancel)&&b.value&&((r=(n=e.toast.cancel).onClick)==null||r.call(n,t),ve())}},ye(E(D8)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):A(``,!0),e.toast.action?(y(),N(`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;E(D8)(e.toast.action)&&(t.defaultPrevented||((r=(n=e.toast.action).onClick)==null||r.call(n,t),!t.defaultPrevented&&ve()))}},ye(E(D8)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):A(``,!0)],64))],46,hbe)}}}),k8=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},bbe={},xbe={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 Sbe(e,t){return y(),N(`svg`,xbe,t[0]||=[P(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),P(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var Cbe=k8(bbe,[[`render`,Sbe]]),wbe=[`data-visible`],Tbe={class:`sonner-spinner`},Ebe=T({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>(y(),N(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[P(`div`,Tbe,[(y(!0),N(Me,null,_(E(t),e=>(y(),N(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,wbe))}}),Dbe={},Obe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function kbe(e,t){return y(),N(`svg`,Obe,t[0]||=[P(`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 Abe=k8(Dbe,[[`render`,kbe]]),jbe={},Mbe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function Nbe(e,t){return y(),N(`svg`,Mbe,t[0]||=[P(`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 Pbe=k8(jbe,[[`render`,Nbe]]),Fbe={},Ibe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function Lbe(e,t){return y(),N(`svg`,Ibe,t[0]||=[P(`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 Rbe=k8(Fbe,[[`render`,Lbe]]),zbe={},Bbe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function Vbe(e,t){return y(),N(`svg`,Bbe,t[0]||=[P(`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 Hbe=k8(zbe,[[`render`,Vbe]]),Ube=[`aria-label`],Wbe=[`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`,`data-lifted`],Gbe=3,A8=`32px`,Kbe=356,qbe=14,Jbe=typeof window<`u`&&typeof document<`u`;function Ybe(...e){return e.filter(Boolean).join(` `)}var Xbe=T({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:qbe},visibleToasts:{default:Gbe},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{default:()=>({})},offset:{default:A8},dir:{default:`auto`},icons:{},containerAriaLabel:{default:`Notifications`},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:Ybe}},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=_e(),i=j([]),a=M(()=>(e,t)=>i.value.filter(n=>!n.position&&t===0||n.position===e)),s=M(()=>{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=j([]),l=j(!1),u=j(!1),d=j(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),f=j(null),p=j(null),m=j(!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||T8.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 Ve(e=>{e(T8.subscribe(e=>{if(e.dismiss){i.value=i.value.map(t=>t.id===e.id?{...t,delete:!0}:t);return}Ne(()=>{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)}})}}),Ve(()=>{f.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,m.value=!1)}),Ve(()=>{i.value.length<=1&&(l.value=!1)}),Ve(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)}Jbe&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))}),(e,d)=>(y(),N(`section`,{"aria-label":`${e.containerAriaLabel} ${E(h)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[(y(!0),N(Me,null,_(s.value,(s,p)=>(y(),N(`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||A8,"--width":`${Kbe}px`,"--gap":`${e.gap}px`,...e.style,...E(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),N(Me,null,_(a.value(s,p),(t,n)=>(y(),k(ybe,{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":D(()=>[S(e.$slots,`close-icon`,{},()=>[O(Cbe)])]),"loading-icon":D(()=>[S(e.$slots,`loading-icon`,{},()=>[O(Ebe,{visible:t.type===`loading`},null,8,[`visible`])])]),"success-icon":D(()=>[S(e.$slots,`success-icon`,{},()=>[O(Abe)])]),"error-icon":D(()=>[S(e.$slots,`error-icon`,{},()=>[O(Hbe)])]),"warning-icon":D(()=>[S(e.$slots,`warning-icon`,{},()=>[O(Rbe)])]),"info-icon":D(()=>[S(e.$slots,`info-icon`,{},()=>[O(Pbe)])]),_: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,Wbe))),128))],8,Ube))}});(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`/**
230
+ * We need to be explicit to avoid !important. :)
231
+ *
232
+ * Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103
233
+ */
234
+ .scalar-toaster [data-sonner-toast][data-styled='true'] {
235
+ background: var(--scalar-background-1);
236
+ color: var(--scalar-color-1);
237
+ padding: 18px;
238
+ border: none;
239
+ border-radius: var(--scalar-radius-lg);
240
+ font-size: var(--scalar-font-size-3);
241
+ font-weight: var(--scalar-font-medium);
242
+ box-shadow: var(--scalar-shadow-2);
243
+ }
244
+ .scalar-toaster [data-sonner-toast] [data-icon] {
245
+ align-self: flex-start;
246
+ position: relative;
247
+ top: 2px;
248
+ }
249
+ .scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {
250
+ height: auto;
251
+ }
252
+ .scalar-toaster [data-sonner-toast][data-type='error'] {
253
+ background: var(--scalar-background-1);
254
+ }
255
+ .scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {
256
+ color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));
257
+ }
258
+ .scalar-toaster [data-sonner-toast][data-type='warning'] {
259
+ background: var(--scalar-background-1);
260
+ }
261
+ .scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {
262
+ color: color-mix(
263
+ in srgb,
264
+ var(--scalar-color-orange) 90%,
265
+ var(--scalar-color-1)
266
+ );
267
+ }
268
+ /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();var j8={toast:()=>null};function Zbe(e){j8.toast=e}function M8(){return{initializeToasts:Zbe,toast:(e,t=`info`,n={timeout:3e3})=>{j8.toast(e,t,n)}}}var Qbe=T({__name:`ScalarToasts`,setup(e){let t=j(!1);le(()=>t.value=!0);let n={success:E8.success,error:E8.error,warn:E8.warning,info:E8},{initializeToasts:r}=M8();return r((e,t=`info`,r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,n)=>t.value?(y(),k(E(Xbe),{key:0,class:`scalar-toaster`})):A(``,!0)}});function N8(){return ze({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 P8=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},F8=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},I8={};function L8(e){return e&&Object.assign(I8,e),I8}function R8(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 z8(e,t){return typeof t==`bigint`?t.toString():t}function B8(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function V8(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 $be(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 U8=Symbol(`evaluating`);function W8(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==U8)return r===void 0&&(r=U8,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function G8(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function K8(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function q8(e){return JSON.stringify(e)}function exe(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var J8=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Y8(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var txe=B8(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function X8(e){if(Y8(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(Y8(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function Z8(e){return X8(e)?{...e}:Array.isArray(e)?[...e]:e}var nxe=new Set([`string`,`number`,`symbol`]);function Q8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function $8(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function e5(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 rxe(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var ixe={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function axe(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 $8(e,K8(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 G8(this,`shape`,e),e},checks:[]}))}function oxe(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 $8(e,K8(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 G8(this,`shape`,r),r},checks:[]}))}function sxe(e,t){if(!X8(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 $8(e,K8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return G8(this,`shape`,n),n}}))}function cxe(e,t){if(!X8(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return $8(e,K8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return G8(this,`shape`,n),n}}))}function lxe(e,t){return $8(e,K8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return G8(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function uxe(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 $8(t,K8(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 G8(this,`shape`,i),i},checks:[]}))}function dxe(e,t,n){return $8(t,K8(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 G8(this,`shape`,i),i}}))}function t5(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 n5(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function r5(e){return typeof e==`string`?e:e?.message}function i5(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=r5(e.inst?._zod.def?.error?.(e))??r5(t?.error?.(e))??r5(n.customError?.(e))??r5(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function a5(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function o5(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var s5=(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,z8,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},c5=$(`$ZodError`,s5),l5=$(`$ZodError`,s5,{Parent:Error});function fxe(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 pxe(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 u5=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 P8;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>i5(e,a,L8())));throw J8(t,i?.callee),t}return o.value},d5=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=>i5(e,a,L8())));throw J8(t,i?.callee),t}return o.value},f5=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 P8;return a.issues.length?{success:!1,error:new(e??c5)(a.issues.map(e=>i5(e,i,L8())))}:{success:!0,data:a.value}},mxe=f5(l5),p5=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=>i5(e,i,L8())))}:{success:!0,data:a.value}},hxe=p5(l5),gxe=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return u5(e)(t,n,i)},_xe=e=>(t,n,r)=>u5(e)(t,n,r),vxe=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return d5(e)(t,n,i)},yxe=e=>async(t,n,r)=>d5(e)(t,n,r),bxe=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return f5(e)(t,n,i)},xxe=e=>(t,n,r)=>f5(e)(t,n,r),Sxe=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return p5(e)(t,n,i)},Cxe=e=>async(t,n,r)=>p5(e)(t,n,r),wxe=/^[cC][^\s-]{8,}$/,Txe=/^[0-9a-z]+$/,Exe=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Dxe=/^[0-9a-vA-V]{20}$/,Oxe=/^[A-Za-z0-9]{27}$/,kxe=/^[a-zA-Z0-9_-]{21}$/,Axe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,jxe=/^([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})$/,m5=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)$/,Mxe=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Nxe=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function Pxe(){return new RegExp(Nxe,`u`)}var Fxe=/^(?:(?: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])$/,Ixe=/^(([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}|:))$/,Lxe=/^((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])$/,Rxe=/^(([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])$/,zxe=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,h5=/^[A-Za-z0-9_-]*$/,Bxe=/^\+[1-9]\d{6,14}$/,g5=`(?:(?:\\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])))`,Vxe=RegExp(`^${g5}$`);function _5(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 Hxe(e){return RegExp(`^${_5(e)}$`)}function Uxe(e){let t=_5({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(`^${g5}T(?:${r})$`)}var Wxe=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Gxe=/^-?\d+$/,v5=/^-?\d+(?:\.\d+)?$/,Kxe=/^(?:true|false)$/i,qxe=/^null$/i,Jxe=/^[^A-Z]*$/,Yxe=/^[^a-z]*$/,y5=$(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),b5={number:`number`,bigint:`bigint`,object:`date`},x5=$(`$ZodCheckLessThan`,(e,t)=>{y5.init(e,t);let n=b5[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})}}),S5=$(`$ZodCheckGreaterThan`,(e,t)=>{y5.init(e,t);let n=b5[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})}}),Xxe=$(`$ZodCheckMultipleOf`,(e,t)=>{y5.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):$be(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})}}),Zxe=$(`$ZodCheckNumberFormat`,(e,t)=>{y5.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=ixe[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=Gxe)}),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})}}),Qxe=$(`$ZodCheckMaxLength`,(e,t)=>{var n;y5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!V8(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=a5(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),$xe=$(`$ZodCheckMinLength`,(e,t)=>{var n;y5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!V8(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=a5(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),eSe=$(`$ZodCheckLengthEquals`,(e,t)=>{var n;y5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!V8(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=a5(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})}}),C5=$(`$ZodCheckStringFormat`,(e,t)=>{var n,r;y5.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=()=>{})}),tSe=$(`$ZodCheckRegex`,(e,t)=>{C5.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})}}),nSe=$(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Jxe,C5.init(e,t)}),rSe=$(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Yxe,C5.init(e,t)}),iSe=$(`$ZodCheckIncludes`,(e,t)=>{y5.init(e,t);let n=Q8(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})}}),aSe=$(`$ZodCheckStartsWith`,(e,t)=>{y5.init(e,t);let n=RegExp(`^${Q8(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})}}),oSe=$(`$ZodCheckEndsWith`,(e,t)=>{y5.init(e,t);let n=RegExp(`.*${Q8(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})}}),sSe=$(`$ZodCheckOverwrite`,(e,t)=>{y5.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),cSe=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(`
269
+ `).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(`
270
+ `))}},lSe={major:4,minor:3,patch:5},w5=$(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=lSe;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=t5(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 P8;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=t5(e,t))});else{if(e.issues.length===t)continue;r||=t5(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(t5(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new P8;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 P8;return o.then(e=>t(e,r,a))}return t(o,r,a)}}W8(e,`~standard`,()=>({validate:t=>{try{let n=mxe(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return hxe(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),T5=$(`$ZodString`,(e,t)=>{w5.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Wxe(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}}),E5=$(`$ZodStringFormat`,(e,t)=>{C5.init(e,t),T5.init(e,t)}),uSe=$(`$ZodGUID`,(e,t)=>{t.pattern??=jxe,E5.init(e,t)}),dSe=$(`$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??=m5(e)}else t.pattern??=m5();E5.init(e,t)}),fSe=$(`$ZodEmail`,(e,t)=>{t.pattern??=Mxe,E5.init(e,t)}),pSe=$(`$ZodURL`,(e,t)=>{E5.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})}}}),mSe=$(`$ZodEmoji`,(e,t)=>{t.pattern??=Pxe(),E5.init(e,t)}),hSe=$(`$ZodNanoID`,(e,t)=>{t.pattern??=kxe,E5.init(e,t)}),gSe=$(`$ZodCUID`,(e,t)=>{t.pattern??=wxe,E5.init(e,t)}),_Se=$(`$ZodCUID2`,(e,t)=>{t.pattern??=Txe,E5.init(e,t)}),vSe=$(`$ZodULID`,(e,t)=>{t.pattern??=Exe,E5.init(e,t)}),ySe=$(`$ZodXID`,(e,t)=>{t.pattern??=Dxe,E5.init(e,t)}),bSe=$(`$ZodKSUID`,(e,t)=>{t.pattern??=Oxe,E5.init(e,t)}),xSe=$(`$ZodISODateTime`,(e,t)=>{t.pattern??=Uxe(t),E5.init(e,t)}),SSe=$(`$ZodISODate`,(e,t)=>{t.pattern??=Vxe,E5.init(e,t)}),CSe=$(`$ZodISOTime`,(e,t)=>{t.pattern??=Hxe(t),E5.init(e,t)}),wSe=$(`$ZodISODuration`,(e,t)=>{t.pattern??=Axe,E5.init(e,t)}),TSe=$(`$ZodIPv4`,(e,t)=>{t.pattern??=Fxe,E5.init(e,t),e._zod.bag.format=`ipv4`}),ESe=$(`$ZodIPv6`,(e,t)=>{t.pattern??=Ixe,E5.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})}}}),DSe=$(`$ZodCIDRv4`,(e,t)=>{t.pattern??=Lxe,E5.init(e,t)}),OSe=$(`$ZodCIDRv6`,(e,t)=>{t.pattern??=Rxe,E5.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 D5(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var kSe=$(`$ZodBase64`,(e,t)=>{t.pattern??=zxe,E5.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{D5(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function ASe(e){if(!h5.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return D5(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var jSe=$(`$ZodBase64URL`,(e,t)=>{t.pattern??=h5,E5.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{ASe(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),MSe=$(`$ZodE164`,(e,t)=>{t.pattern??=Bxe,E5.init(e,t)});function NSe(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 PSe=$(`$ZodJWT`,(e,t)=>{E5.init(e,t),e._zod.check=n=>{NSe(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),O5=$(`$ZodNumber`,(e,t)=>{w5.init(e,t),e._zod.pattern=e._zod.bag.pattern??v5,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}}),FSe=$(`$ZodNumberFormat`,(e,t)=>{Zxe.init(e,t),O5.init(e,t)}),ISe=$(`$ZodBoolean`,(e,t)=>{w5.init(e,t),e._zod.pattern=Kxe,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}}),LSe=$(`$ZodNull`,(e,t)=>{w5.init(e,t),e._zod.pattern=qxe,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}}),RSe=$(`$ZodUnknown`,(e,t)=>{w5.init(e,t),e._zod.parse=e=>e}),zSe=$(`$ZodNever`,(e,t)=>{w5.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function k5(e,t,n){e.issues.length&&t.issues.push(...n5(n,e.issues)),t.value[n]=e.value}var BSe=$(`$ZodArray`,(e,t)=>{w5.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=>k5(t,n,e))):k5(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function A5(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...n5(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function j5(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=rxe(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function M5(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=>A5(e,n,i,t,u))):A5(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 VSe=$(`$ZodObject`,(e,t)=>{if(w5.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=B8(()=>j5(t));W8(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=Y8,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=>A5(n,t,e,s,r))):A5(i,t,e,s,r)}return i?M5(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),HSe=$(`$ZodObjectJIT`,(e,t)=>{VSe.init(e,t);let n=e._zod.parse,r=B8(()=>j5(t)),i=e=>{let t=new cSe([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=q8(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=q8(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(`
271
+ if (${n}.issues.length) {
272
+ if (${o} in input) {
273
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
274
+ ...iss,
275
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
276
+ })));
277
+ }
278
+ }
279
+
280
+ if (${n}.value === undefined) {
281
+ if (${o} in input) {
282
+ newResult[${o}] = undefined;
283
+ }
284
+ } else {
285
+ newResult[${o}] = ${n}.value;
286
+ }
287
+
288
+ `):t.write(`
289
+ if (${n}.issues.length) {
290
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
291
+ ...iss,
292
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
293
+ })));
294
+ }
295
+
296
+ if (${n}.value === undefined) {
297
+ if (${o} in input) {
298
+ newResult[${o}] = undefined;
299
+ }
300
+ } else {
301
+ newResult[${o}] = ${n}.value;
302
+ }
303
+
304
+ `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Y8,s=!I8.jitless,c=s&&txe.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?M5([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function N5(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=>!t5(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=>i5(e,r,L8())))}),t)}var P5=$(`$ZodUnion`,(e,t)=>{w5.init(e,t),W8(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),W8(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),W8(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),W8(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=>N5(t,i,e,a)):N5(s,i,e,a)}}),USe=$(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,P5.init(e,t);let n=e._zod.parse;W8(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=B8(()=>{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(!Y8(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)}}),WSe=$(`$ZodIntersection`,(e,t)=>{w5.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])=>I5(e,t,n)):I5(e,i,a)}});function F5(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(X8(e)&&X8(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=F5(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=F5(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 I5(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}),t5(e))return e;let o=F5(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var GSe=$(`$ZodRecord`,(e,t)=>{w5.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!X8(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(...n5(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...n5(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`&&v5.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=>i5(e,r,L8())),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(...n5(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...n5(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),KSe=$(`$ZodEnum`,(e,t)=>{w5.init(e,t);let n=R8(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>nxe.has(typeof e)).map(e=>typeof e==`string`?Q8(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}}),qSe=$(`$ZodLiteral`,(e,t)=>{if(w5.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`?Q8(e):e?Q8(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}}),JSe=$(`$ZodTransform`,(e,t)=>{w5.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new F8(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 P8;return n.value=i,n}});function L5(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var R5=$(`$ZodOptional`,(e,t)=>{w5.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,W8(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),W8(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=>L5(t,e.value)):L5(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),YSe=$(`$ZodExactOptional`,(e,t)=>{R5.init(e,t),W8(e._zod,`values`,()=>t.innerType._zod.values),W8(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),XSe=$(`$ZodNullable`,(e,t)=>{w5.init(e,t),W8(e._zod,`optin`,()=>t.innerType._zod.optin),W8(e._zod,`optout`,()=>t.innerType._zod.optout),W8(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${H8(e.source)}|null)$`):void 0}),W8(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)}),ZSe=$(`$ZodDefault`,(e,t)=>{w5.init(e,t),e._zod.optin=`optional`,W8(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=>z5(e,t)):z5(r,t)}});function z5(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var QSe=$(`$ZodPrefault`,(e,t)=>{w5.init(e,t),e._zod.optin=`optional`,W8(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))}),$Se=$(`$ZodNonOptional`,(e,t)=>{w5.init(e,t),W8(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=>B5(t,e)):B5(i,e)}});function B5(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 eCe=$(`$ZodCatch`,(e,t)=>{w5.init(e,t),W8(e._zod,`optin`,()=>t.innerType._zod.optin),W8(e._zod,`optout`,()=>t.innerType._zod.optout),W8(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=>i5(e,n,L8()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>i5(e,n,L8()))},input:e.value}),e.issues=[]),e)}}),tCe=$(`$ZodPipe`,(e,t)=>{w5.init(e,t),W8(e._zod,`values`,()=>t.in._zod.values),W8(e._zod,`optin`,()=>t.in._zod.optin),W8(e._zod,`optout`,()=>t.out._zod.optout),W8(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=>V5(e,t.in,n)):V5(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>V5(e,t.out,n)):V5(r,t.out,n)}});function V5(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var nCe=$(`$ZodReadonly`,(e,t)=>{w5.init(e,t),W8(e._zod,`propValues`,()=>t.innerType._zod.propValues),W8(e._zod,`values`,()=>t.innerType._zod.values),W8(e._zod,`optin`,()=>t.innerType?._zod?.optin),W8(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 rCe=$(`$ZodLazy`,(e,t)=>{w5.init(e,t),W8(e._zod,`innerType`,()=>t.getter()),W8(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),W8(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),W8(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),W8(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),iCe=$(`$ZodCustom`,(e,t)=>{y5.init(e,t),w5.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=>U5(t,n,r,e));U5(i,n,r,e)}});function U5(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(o5(e))}}var W5,aCe=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 oCe(){return new aCe}(W5=globalThis).__zod_globalRegistry??(W5.__zod_globalRegistry=oCe());var G5=globalThis.__zod_globalRegistry;function sCe(e,t){return new e({type:`string`,...e5(t)})}function cCe(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...e5(t)})}function K5(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...e5(t)})}function lCe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...e5(t)})}function uCe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...e5(t)})}function dCe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...e5(t)})}function fCe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...e5(t)})}function pCe(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...e5(t)})}function mCe(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...e5(t)})}function hCe(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...e5(t)})}function gCe(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...e5(t)})}function _Ce(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...e5(t)})}function vCe(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...e5(t)})}function yCe(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...e5(t)})}function bCe(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...e5(t)})}function xCe(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...e5(t)})}function SCe(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...e5(t)})}function CCe(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...e5(t)})}function wCe(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...e5(t)})}function TCe(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...e5(t)})}function ECe(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...e5(t)})}function DCe(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...e5(t)})}function OCe(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...e5(t)})}function kCe(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...e5(t)})}function ACe(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...e5(t)})}function jCe(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...e5(t)})}function MCe(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...e5(t)})}function NCe(e,t){return new e({type:`number`,checks:[],...e5(t)})}function PCe(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...e5(t)})}function FCe(e,t){return new e({type:`boolean`,...e5(t)})}function ICe(e,t){return new e({type:`null`,...e5(t)})}function LCe(e){return new e({type:`unknown`})}function RCe(e,t){return new e({type:`never`,...e5(t)})}function q5(e,t){return new x5({check:`less_than`,...e5(t),value:e,inclusive:!1})}function J5(e,t){return new x5({check:`less_than`,...e5(t),value:e,inclusive:!0})}function Y5(e,t){return new S5({check:`greater_than`,...e5(t),value:e,inclusive:!1})}function X5(e,t){return new S5({check:`greater_than`,...e5(t),value:e,inclusive:!0})}function Z5(e,t){return new Xxe({check:`multiple_of`,...e5(t),value:e})}function Q5(e,t){return new Qxe({check:`max_length`,...e5(t),maximum:e})}function $5(e,t){return new $xe({check:`min_length`,...e5(t),minimum:e})}function e7(e,t){return new eSe({check:`length_equals`,...e5(t),length:e})}function zCe(e,t){return new tSe({check:`string_format`,format:`regex`,...e5(t),pattern:e})}function BCe(e){return new nSe({check:`string_format`,format:`lowercase`,...e5(e)})}function VCe(e){return new rSe({check:`string_format`,format:`uppercase`,...e5(e)})}function HCe(e,t){return new iSe({check:`string_format`,format:`includes`,...e5(t),includes:e})}function UCe(e,t){return new aSe({check:`string_format`,format:`starts_with`,...e5(t),prefix:e})}function WCe(e,t){return new oSe({check:`string_format`,format:`ends_with`,...e5(t),suffix:e})}function t7(e){return new sSe({check:`overwrite`,tx:e})}function GCe(e){return t7(t=>t.normalize(e))}function KCe(){return t7(e=>e.trim())}function qCe(){return t7(e=>e.toLowerCase())}function JCe(){return t7(e=>e.toUpperCase())}function YCe(){return t7(e=>exe(e))}function XCe(e,t,n){return new e({type:`array`,element:t,...e5(n)})}function ZCe(e,t,n){let r=e5(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function QCe(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...e5(n)})}function $Ce(e){let t=ewe(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(o5(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(o5(r))}},e(n.value,n)));return t}function ewe(e,t){let n=new y5({check:`custom`,...e5(t)});return n._zod.check=e,n}function n7(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??G5,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 r7(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,r7(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`&&o7(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 i7(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>
305
+
306
+ 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 a7(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:s7(t,`input`,e.processors),output:s7(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function o7(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 o7(r.element,n);if(r.type===`set`)return o7(r.valueType,n);if(r.type===`lazy`)return o7(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 o7(r.innerType,n);if(r.type===`intersection`)return o7(r.left,n)||o7(r.right,n);if(r.type===`record`||r.type===`map`)return o7(r.keyType,n)||o7(r.valueType,n);if(r.type===`pipe`)return o7(r.in,n)||o7(r.out,n);if(r.type===`object`){for(let e in r.shape)if(o7(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(o7(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(o7(e,n))return!0;return!!(r.rest&&o7(r.rest,n))}return!1}var twe=(e,t={})=>n=>{let r=n7({...n,processors:t});return r7(e,r),i7(r,e),a7(r,e)},s7=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=n7({...i??{},target:a,io:t,processors:n});return r7(e,o),i7(o,e),a7(o,e)},nwe={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},c7=(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=nwe[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}))])}},l7=(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)},u7=(e,t,n,r)=>{n.type=`boolean`},rwe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},iwe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},d7=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},awe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},owe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},f7=(e,t,n,r)=>{n.not={}},swe=(e,t,n,r)=>{},cwe=(e,t,n,r)=>{},lwe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},p7=(e,t,n,r)=>{let i=e._zod.def,a=R8(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},m7=(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},uwe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},dwe=(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},fwe=(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)},pwe=(e,t,n,r)=>{n.type=`boolean`},h7=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},mwe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},g7=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},hwe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},gwe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},_7=(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=r7(a.element,t,{...r,path:[...r.path,`items`]})},v7=(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]=r7(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=r7(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},y7=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>r7(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},b7=(e,t,n,r)=>{let i=e._zod.def,a=r7(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=r7(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]]},_we=(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)=>r7(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?r7(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)},x7=(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=r7(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=r7(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=r7(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)}},S7=(e,t,n,r)=>{let i=e._zod.def,a=r7(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`}]},C7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},w7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},T7=(e,t,n,r)=>{let i=e._zod.def;r7(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)))},E7=(e,t,n,r)=>{let i=e._zod.def;r7(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},D7=(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;r7(a,t,r);let o=t.seen.get(e);o.ref=a},O7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},vwe=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},k7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},A7=(e,t,n,r)=>{let i=e._zod.innerType;r7(i,t,r);let a=t.seen.get(e);a.ref=i},j7={string:c7,number:l7,boolean:u7,bigint:rwe,symbol:iwe,null:d7,undefined:awe,void:owe,never:f7,any:swe,unknown:cwe,date:lwe,enum:p7,literal:m7,nan:uwe,template_literal:dwe,file:fwe,success:pwe,custom:h7,function:mwe,transform:g7,map:hwe,set:gwe,array:_7,object:v7,union:y7,intersection:b7,tuple:_we,record:x7,nullable:S7,nonoptional:C7,default:w7,prefault:T7,catch:E7,pipe:D7,readonly:O7,promise:vwe,optional:k7,lazy:A7};function ywe(e,t){if(`_idmap`in e){let n=e,r=n7({...t,processors:j7}),i={};for(let e of n._idmap.entries()){let[t,n]=e;r7(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;i7(r,n),a[t]=a7(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=n7({...t,processors:j7});return r7(e,n),i7(n,e),a7(n,e)}var bwe=$(`ZodISODateTime`,(e,t)=>{xSe.init(e,t),R7.init(e,t)});function xwe(e){return kCe(bwe,e)}var Swe=$(`ZodISODate`,(e,t)=>{SSe.init(e,t),R7.init(e,t)});function Cwe(e){return ACe(Swe,e)}var wwe=$(`ZodISOTime`,(e,t)=>{CSe.init(e,t),R7.init(e,t)});function Twe(e){return jCe(wwe,e)}var Ewe=$(`ZodISODuration`,(e,t)=>{wSe.init(e,t),R7.init(e,t)});function Dwe(e){return MCe(Ewe,e)}var M7=(e,t)=>{c5.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>pxe(e,t)},flatten:{value:t=>fxe(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,z8,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,z8,2)}},isEmpty:{get(){return e.issues.length===0}}})};$(`ZodError`,M7);var N7=$(`ZodError`,M7,{Parent:Error}),Owe=u5(N7),kwe=d5(N7),Awe=f5(N7),P7=p5(N7),jwe=gxe(N7),Mwe=_xe(N7),Nwe=vxe(N7),Pwe=yxe(N7),Fwe=bxe(N7),Iwe=xxe(N7),Lwe=Sxe(N7),Rwe=Cxe(N7),F7=$(`ZodType`,(e,t)=>(w5.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:s7(e,`input`),output:s7(e,`output`)}}),e.toJSONSchema=twe(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.check=(...n)=>e.clone(K8(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)=>$8(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>Owe(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>Awe(e,t,n),e.parseAsync=async(t,n)=>kwe(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>P7(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>jwe(e,t,n),e.decode=(t,n)=>Mwe(e,t,n),e.encodeAsync=async(t,n)=>Nwe(e,t,n),e.decodeAsync=async(t,n)=>Pwe(e,t,n),e.safeEncode=(t,n)=>Fwe(e,t,n),e.safeDecode=(t,n)=>Iwe(e,t,n),e.safeEncodeAsync=async(t,n)=>Lwe(e,t,n),e.safeDecodeAsync=async(t,n)=>Rwe(e,t,n),e.refine=(t,n)=>e.check(ITe(t,n)),e.superRefine=t=>e.check(LTe(t)),e.overwrite=t=>e.check(t7(t)),e.optional=()=>n9(e),e.exactOptional=()=>xTe(e),e.nullable=()=>r9(e),e.nullish=()=>n9(r9(e)),e.nonoptional=t=>DTe(e,t),e.array=()=>G7(e),e.or=t=>Y7([e,t]),e.and=t=>hTe(e,t),e.transform=t=>a9(e,yTe(t)),e.default=t=>wTe(e,t),e.prefault=t=>ETe(e,t),e.catch=t=>kTe(e,t),e.pipe=t=>a9(e,t),e.readonly=()=>MTe(e),e.describe=t=>{let n=e.clone();return G5.add(n,{description:t}),n},Object.defineProperty(e,`description`,{get(){return G5.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return G5.get(e);let n=e.clone();return G5.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),I7=$(`_ZodString`,(e,t)=>{T5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>c7(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(zCe(...t)),e.includes=(...t)=>e.check(HCe(...t)),e.startsWith=(...t)=>e.check(UCe(...t)),e.endsWith=(...t)=>e.check(WCe(...t)),e.min=(...t)=>e.check($5(...t)),e.max=(...t)=>e.check(Q5(...t)),e.length=(...t)=>e.check(e7(...t)),e.nonempty=(...t)=>e.check($5(1,...t)),e.lowercase=t=>e.check(BCe(t)),e.uppercase=t=>e.check(VCe(t)),e.trim=()=>e.check(KCe()),e.normalize=(...t)=>e.check(GCe(...t)),e.toLowerCase=()=>e.check(qCe()),e.toUpperCase=()=>e.check(JCe()),e.slugify=()=>e.check(YCe())}),zwe=$(`ZodString`,(e,t)=>{T5.init(e,t),I7.init(e,t),e.email=t=>e.check(cCe(Bwe,t)),e.url=t=>e.check(pCe(Vwe,t)),e.jwt=t=>e.check(OCe(nTe,t)),e.emoji=t=>e.check(mCe(Hwe,t)),e.guid=t=>e.check(K5(z7,t)),e.uuid=t=>e.check(lCe(B7,t)),e.uuidv4=t=>e.check(uCe(B7,t)),e.uuidv6=t=>e.check(dCe(B7,t)),e.uuidv7=t=>e.check(fCe(B7,t)),e.nanoid=t=>e.check(hCe(Uwe,t)),e.guid=t=>e.check(K5(z7,t)),e.cuid=t=>e.check(gCe(Wwe,t)),e.cuid2=t=>e.check(_Ce(Gwe,t)),e.ulid=t=>e.check(vCe(Kwe,t)),e.base64=t=>e.check(TCe($we,t)),e.base64url=t=>e.check(ECe(eTe,t)),e.xid=t=>e.check(yCe(qwe,t)),e.ksuid=t=>e.check(bCe(Jwe,t)),e.ipv4=t=>e.check(xCe(Ywe,t)),e.ipv6=t=>e.check(SCe(Xwe,t)),e.cidrv4=t=>e.check(CCe(Zwe,t)),e.cidrv6=t=>e.check(wCe(Qwe,t)),e.e164=t=>e.check(DCe(tTe,t)),e.datetime=t=>e.check(xwe(t)),e.date=t=>e.check(Cwe(t)),e.time=t=>e.check(Twe(t)),e.duration=t=>e.check(Dwe(t))});function L7(e){return sCe(zwe,e)}var R7=$(`ZodStringFormat`,(e,t)=>{E5.init(e,t),I7.init(e,t)}),Bwe=$(`ZodEmail`,(e,t)=>{fSe.init(e,t),R7.init(e,t)}),z7=$(`ZodGUID`,(e,t)=>{uSe.init(e,t),R7.init(e,t)}),B7=$(`ZodUUID`,(e,t)=>{dSe.init(e,t),R7.init(e,t)}),Vwe=$(`ZodURL`,(e,t)=>{pSe.init(e,t),R7.init(e,t)}),Hwe=$(`ZodEmoji`,(e,t)=>{mSe.init(e,t),R7.init(e,t)}),Uwe=$(`ZodNanoID`,(e,t)=>{hSe.init(e,t),R7.init(e,t)}),Wwe=$(`ZodCUID`,(e,t)=>{gSe.init(e,t),R7.init(e,t)}),Gwe=$(`ZodCUID2`,(e,t)=>{_Se.init(e,t),R7.init(e,t)}),Kwe=$(`ZodULID`,(e,t)=>{vSe.init(e,t),R7.init(e,t)}),qwe=$(`ZodXID`,(e,t)=>{ySe.init(e,t),R7.init(e,t)}),Jwe=$(`ZodKSUID`,(e,t)=>{bSe.init(e,t),R7.init(e,t)}),Ywe=$(`ZodIPv4`,(e,t)=>{TSe.init(e,t),R7.init(e,t)}),Xwe=$(`ZodIPv6`,(e,t)=>{ESe.init(e,t),R7.init(e,t)}),Zwe=$(`ZodCIDRv4`,(e,t)=>{DSe.init(e,t),R7.init(e,t)}),Qwe=$(`ZodCIDRv6`,(e,t)=>{OSe.init(e,t),R7.init(e,t)}),$we=$(`ZodBase64`,(e,t)=>{kSe.init(e,t),R7.init(e,t)}),eTe=$(`ZodBase64URL`,(e,t)=>{jSe.init(e,t),R7.init(e,t)}),tTe=$(`ZodE164`,(e,t)=>{MSe.init(e,t),R7.init(e,t)}),nTe=$(`ZodJWT`,(e,t)=>{PSe.init(e,t),R7.init(e,t)}),V7=$(`ZodNumber`,(e,t)=>{O5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l7(e,t,n,r),e.gt=(t,n)=>e.check(Y5(t,n)),e.gte=(t,n)=>e.check(X5(t,n)),e.min=(t,n)=>e.check(X5(t,n)),e.lt=(t,n)=>e.check(q5(t,n)),e.lte=(t,n)=>e.check(J5(t,n)),e.max=(t,n)=>e.check(J5(t,n)),e.int=t=>e.check(H7(t)),e.safe=t=>e.check(H7(t)),e.positive=t=>e.check(Y5(0,t)),e.nonnegative=t=>e.check(X5(0,t)),e.negative=t=>e.check(q5(0,t)),e.nonpositive=t=>e.check(J5(0,t)),e.multipleOf=(t,n)=>e.check(Z5(t,n)),e.step=(t,n)=>e.check(Z5(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 rTe(e){return NCe(V7,e)}var iTe=$(`ZodNumberFormat`,(e,t)=>{FSe.init(e,t),V7.init(e,t)});function H7(e){return PCe(iTe,e)}var aTe=$(`ZodBoolean`,(e,t)=>{ISe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u7(e,t,n,r)});function oTe(e){return FCe(aTe,e)}var sTe=$(`ZodNull`,(e,t)=>{LSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>d7(e,t,n,r)});function cTe(e){return ICe(sTe,e)}var lTe=$(`ZodUnknown`,(e,t)=>{RSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function U7(){return LCe(lTe)}var uTe=$(`ZodNever`,(e,t)=>{zSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>f7(e,t,n,r)});function W7(e){return RCe(uTe,e)}var dTe=$(`ZodArray`,(e,t)=>{BSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_7(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check($5(t,n)),e.nonempty=t=>e.check($5(1,t)),e.max=(t,n)=>e.check(Q5(t,n)),e.length=(t,n)=>e.check(e7(t,n)),e.unwrap=()=>e.element});function G7(e,t){return XCe(dTe,e,t)}var K7=$(`ZodObject`,(e,t)=>{HSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>v7(e,t,n,r),W8(e,`shape`,()=>t.shape),e.keyof=()=>$7(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:U7()}),e.loose=()=>e.clone({...e._zod.def,catchall:U7()}),e.strict=()=>e.clone({...e._zod.def,catchall:W7()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>sxe(e,t),e.safeExtend=t=>cxe(e,t),e.merge=t=>lxe(e,t),e.pick=t=>axe(e,t),e.omit=t=>oxe(e,t),e.partial=(...t)=>uxe(t9,e,t[0]),e.required=(...t)=>dxe(i9,e,t[0])});function q7(e,t){return new K7({type:`object`,shape:e??{},...e5(t)})}function fTe(e,t){return new K7({type:`object`,shape:e,catchall:W7(),...e5(t)})}var J7=$(`ZodUnion`,(e,t)=>{P5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>y7(e,t,n,r),e.options=t.options});function Y7(e,t){return new J7({type:`union`,options:e,...e5(t)})}var pTe=$(`ZodDiscriminatedUnion`,(e,t)=>{J7.init(e,t),USe.init(e,t)});function X7(e,t,n){return new pTe({type:`union`,options:t,discriminator:e,...e5(n)})}var mTe=$(`ZodIntersection`,(e,t)=>{WSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>b7(e,t,n,r)});function hTe(e,t){return new mTe({type:`intersection`,left:e,right:t})}var gTe=$(`ZodRecord`,(e,t)=>{GSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>x7(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function Z7(e,t,n){return new gTe({type:`record`,keyType:e,valueType:t,...e5(n)})}var Q7=$(`ZodEnum`,(e,t)=>{KSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>p7(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 Q7({...t,checks:[],...e5(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 Q7({...t,checks:[],...e5(r),entries:i})}});function $7(e,t){return new Q7({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...e5(t)})}var _Te=$(`ZodLiteral`,(e,t)=>{qSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>m7(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 e9(e,t){return new _Te({type:`literal`,values:Array.isArray(e)?e:[e],...e5(t)})}var vTe=$(`ZodTransform`,(e,t)=>{JSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>g7(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new F8(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(o5(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(o5(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function yTe(e){return new vTe({type:`transform`,transform:e})}var t9=$(`ZodOptional`,(e,t)=>{R5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>k7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function n9(e){return new t9({type:`optional`,innerType:e})}var bTe=$(`ZodExactOptional`,(e,t)=>{YSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>k7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function xTe(e){return new bTe({type:`optional`,innerType:e})}var STe=$(`ZodNullable`,(e,t)=>{XSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>S7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function r9(e){return new STe({type:`nullable`,innerType:e})}var CTe=$(`ZodDefault`,(e,t)=>{ZSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>w7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function wTe(e,t){return new CTe({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Z8(t)}})}var TTe=$(`ZodPrefault`,(e,t)=>{QSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>T7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ETe(e,t){return new TTe({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Z8(t)}})}var i9=$(`ZodNonOptional`,(e,t)=>{$Se.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>C7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function DTe(e,t){return new i9({type:`nonoptional`,innerType:e,...e5(t)})}var OTe=$(`ZodCatch`,(e,t)=>{eCe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>E7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function kTe(e,t){return new OTe({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var ATe=$(`ZodPipe`,(e,t)=>{tCe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>D7(e,t,n,r),e.in=t.in,e.out=t.out});function a9(e,t){return new ATe({type:`pipe`,in:e,out:t})}var jTe=$(`ZodReadonly`,(e,t)=>{nCe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>O7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function MTe(e){return new jTe({type:`readonly`,innerType:e})}var NTe=$(`ZodLazy`,(e,t)=>{rCe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>A7(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function PTe(e){return new NTe({type:`lazy`,getter:e})}var o9=$(`ZodCustom`,(e,t)=>{iCe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>h7(e,t,n,r)});function FTe(e,t){return ZCe(o9,e??(()=>!0),t)}function ITe(e,t={}){return QCe(o9,e,t)}function LTe(e){return $Ce(e)}function RTe(e,t={}){let n=new o9({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...e5(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 zTe=L7().min(7).default(()=>TV()),s9=q7({description:L7().optional()}),c9=q7({uid:zTe.brand(),nameKey:L7().optional().default(``)}),l9=s9.extend({type:e9(`apiKey`),name:L7().optional().default(``),in:$7([`query`,`header`,`cookie`]).optional().default(`header`).catch(`header`)}),BTe=q7({value:L7().default(``)}),VTe=l9.merge(c9).merge(BTe),u9=s9.extend({type:e9(`http`),scheme:L7().toLowerCase().pipe($7([`basic`,`bearer`])).optional().default(`basic`),bearerFormat:Y7([e9(`JWT`),L7()]).optional().default(`JWT`)}),HTe=q7({username:L7().default(``),password:L7().default(``),token:L7().default(``)}),UTe=u9.merge(c9).merge(HTe),d9=s9.extend({type:e9(`openIdConnect`),openIdConnectUrl:L7().optional().default(``)}),WTe=d9.merge(c9),f9=L7().default(``),p9=L7().default(``),m9=q7({refreshUrl:L7().optional().default(``),scopes:Z7(L7(),L7().optional().default(``)).optional().default({}).catch({}),selectedScopes:G7(L7()).optional().default([]),"x-scalar-client-id":L7().optional().default(``),token:L7().default(``),"x-scalar-security-query":Z7(L7(),L7()).optional(),"x-scalar-security-body":Z7(L7(),L7()).optional(),"x-tokenName":L7().optional()}),h9=typeof window<`u`?window.location.origin+window.location.pathname:``,g9=[`SHA-256`,`plain`,`no`],_9=$7([`header`,`body`]).optional(),v9=s9.extend({type:e9(`oauth2`),"x-default-scopes":G7(L7()).optional(),flows:q7({implicit:m9.extend({type:e9(`implicit`).default(`implicit`),authorizationUrl:f9,"x-scalar-redirect-uri":L7().optional().default(h9)}),password:m9.extend({type:e9(`password`).default(`password`),tokenUrl:p9,clientSecret:L7().default(``),username:L7().default(``),password:L7().default(``),"x-scalar-credentials-location":_9}),clientCredentials:m9.extend({type:e9(`clientCredentials`).default(`clientCredentials`),tokenUrl:p9,clientSecret:L7().default(``),"x-scalar-credentials-location":_9}),authorizationCode:m9.extend({type:e9(`authorizationCode`).default(`authorizationCode`),authorizationUrl:f9,"x-usePkce":$7(g9).optional().default(`no`),"x-scalar-redirect-uri":L7().optional().default(h9),tokenUrl:p9,clientSecret:L7().default(``),"x-scalar-credentials-location":_9})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":``,refreshUrl:``,token:``,type:`implicit`,authorizationUrl:`http://localhost:8080`,"x-scalar-redirect-uri":h9}})}),GTe=v9.merge(c9);Z7(L7(),G7(L7()).optional().default([])),Y7([l9,u9,v9,d9]),X7(`type`,[VTe,UTe,WTe,GTe]).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 KTe={class:`flex h-8 items-center justify-end gap-2 border-t`},qTe={class:`flex h-8 w-full items-center justify-end border-t`},y9=T({__name:`OAuth2`,props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})},hideActions:{type:Boolean}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=N8(),{toast:i}=M8(),a=M(()=>e.flows[e.type]),o=M(()=>{let t=a.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),s=M(()=>`x-scalar-secret-client-secret`in a.value),c=M(()=>a.value[`x-scalar-secret-client-secret`]??``),l=t=>{if(e.scheme.type===`openIdConnect`)return u(t);e.scheme.type===`oauth2`&&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=j(null),m=j(!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=v8(e.options);m.value=!0,!(r||!i||e.options.captureOAuth2Callback)&&u({"x-scalar-secret-redirect-uri":i})},{immediate:!0});let g=async()=>{if(r.isLoading)return;r.start();let[t,n]=await h8(e.flows,e.type,o.value,e.server,e.proxyUrl,fT(e.environment),e.options.customFetch,e.options.captureOAuth2Callback);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`))},_=M(()=>e.type!==`implicit`),v=M(()=>`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 _8(e.flows,e.type,e.proxyUrl,e.server,fT(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(),N(Me,{key:0},[O(E(NV),null,{default:D(()=>[O(b8,{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:D(()=>[...i[14]||=[tt(` Access Token `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),_.value?(y(),k(E(NV),{key:0},{default:D(()=>[O(b8,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value.refreshUrl??``,placeholder:v.value,"onUpdate:modelValue":i[1]||=e=>l({refreshUrl:e})},{default:D(()=>[...i[15]||=[tt(` Refresh URL `,-1)]]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):A(``,!0),e.hideActions?A(``,!0):(y(),k(E(NV),{key:1,class:`min-w-full`},{default:D(()=>[P(`div`,KTe,[_.value?(y(),k(E(VF),{key:0,class:`p-0 px-2 py-0.5`,loader:E(r),size:`sm`,variant:`outlined`,onClick:b},{default:D(()=>[...i[16]||=[tt(` Refresh `,-1)]]),_:1},8,[`loader`])):A(``,!0),O(E(VF),{class:`mr-1 p-0 px-2 py-0.5`,disabled:E(r).isLoading,size:`sm`,variant:`outlined`,onClick:f},{default:D(()=>[...i[17]||=[tt(` Clear `,-1)]]),_:1},8,[`disabled`])])]),_:1}))],64)):(y(),N(Me,{key:1},[O(E(NV),null,{default:D(()=>[`authorizationUrl`in a.value?(y(),k(b8,{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:D(()=>[...i[18]||=[tt(` Auth URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):A(``,!0),`tokenUrl`in a.value?(y(),k(b8,{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:D(()=>[...i[19]||=[tt(` Token URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):A(``,!0)]),_:1}),`x-scalar-secret-redirect-uri`in a.value?(y(),k(E(NV),{key:0},{default:D(()=>[O(b8,{environment:e.environment,modelValue:a.value[`x-scalar-secret-redirect-uri`],placeholder:e.options.captureOAuth2Callback?`${E(v8)(e.options)||`http://127.0.0.1`} (handled automatically)`:`Optional redirect URL`,"onUpdate:modelValue":i[4]||=e=>{m.value=!0,u({"x-scalar-secret-redirect-uri":e})}},{default:D(()=>[...i[20]||=[tt(` Redirect URL `,-1)]]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):A(``,!0),`x-scalar-secret-username`in a.value&&`x-scalar-secret-password`in a.value?(y(),N(Me,{key:1},[O(E(NV),null,{default:D(()=>[O(b8,{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:D(()=>[...i[21]||=[tt(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),O(E(NV),null,{default:D(()=>[O(b8,{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:D(()=>[...i[22]||=[tt(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})],64)):A(``,!0),O(E(NV),null,{default:D(()=>[O(b8,{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:D(()=>[...i[23]||=[tt(` Client ID `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),s.value?(y(),k(E(NV),{key:2},{default:D(()=>[O(b8,{environment:e.environment,modelValue:c.value,placeholder:`XYZ123`,type:`password`,"onUpdate:modelValue":i[8]||=e=>u({"x-scalar-secret-client-secret":e})},{default:D(()=>[...i[24]||=[tt(` Client Secret `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})):A(``,!0),`x-usePkce`in a.value?(y(),k(E(NV),{key:3},{default:D(()=>[O(b8,{enum:E(g9),environment:e.environment,modelValue:a.value[`x-usePkce`],readOnly:``,"onUpdate:modelValue":i[9]||=e=>l({"x-usePkce":e})},{default:D(()=>[...i[25]||=[tt(` Use PKCE `,-1)]]),_:1},8,[`enum`,`environment`,`modelValue`])]),_:1})):A(``,!0),e.type===`implicit`?A(``,!0):(y(),k(E(NV),{key:4},{default:D(()=>[O(b8,{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:D(()=>[...i[26]||=[tt(` Credentials Location `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})),O(E(NV),null,{default:D(()=>[O(sbe,{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}),e.hideActions?A(``,!0):(y(),k(E(NV),{key:5,class:`min-w-full`},{default:D(()=>[P(`div`,qTe,[e.scheme.type===`openIdConnect`?(y(),k(E(VF),{key:0,class:`mr-1 p-0 px-2 py-0.5`,disabled:E(r).isLoading,size:`sm`,variant:`outlined`,onClick:d},{default:D(()=>[...i[27]||=[tt(` Clear `,-1)]]),_:1},8,[`disabled`])):A(``,!0),O(E(VF),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:E(r),size:`sm`,variant:`outlined`,onClick:g},{default:D(()=>[...i[28]||=[tt(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1}))],64))}}),JTe=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()))}),YTe=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(Tw(t,r));if(!i.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${i.status} ${i.statusText}`),null];let a=dy(JTe,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]}},XTe=Ig(V.Object({type:V.Literal(`apiKey`)}),Sx),ZTe=Ig(V.Object({type:V.Literal(`http`)}),Sx,Ox),b9=Ig(Ax,Sx,Cx),QTe=V.Object({implicit:V.Optional(Ig(b9,jx)),password:V.Optional(Ig(b9,Ox,kx,gx)),clientCredentials:V.Optional(Ig(b9,kx,gx)),authorizationCode:V.Optional(Ig(b9,kx,jx,gx))}),$Te=Ig(V.Object({type:V.Literal(`oauth2`)}),QTe),x9=V.Object({type:V.Literal(`openIdConnect`),implicit:V.Optional(Ig(Bx,b9,jx)),password:V.Optional(Ig(Vx,b9,Ox,kx,gx)),clientCredentials:V.Optional(Ig(Hx,b9,kx,gx)),authorizationCode:V.Optional(Ig(Ux,b9,kx,jx,gx))}),eEe=Ig(V.Object({type:V.Union([V.Literal(`userPassword`),V.Literal(`plain`),V.Literal(`scramSha256`),V.Literal(`scramSha512`)])}),Ox),tEe=Ig(V.Object({type:V.Literal(`X509`)}),Mx,Nx),nEe=Ig(V.Object({type:V.Union([V.Literal(`symmetricEncryption`),V.Literal(`asymmetricEncryption`)])}),Sx),rEe=Ig(V.Object({type:V.Literal(`gssapi`)}),Px),S9=V.Union([XTe,ZTe,$Te,x9,eEe,tEe,nEe,rEe]),iEe=V.Record(V.String(),S9),C9=V.Object({selectedIndex:V.Number(),selectedSchemes:V.Array(MC)}),w9=V.Object({secrets:iEe,selected:V.Object({document:V.Optional(C9),path:V.Optional(V.Record(V.String(),V.Record(V.String(),V.Optional(C9))))})}),aEe=V.Record(V.String(),w9);function oEe(e){return e.startsWith(`#`)}var T9=(e,t)=>{Object.assign(e,t)},sEe=({hooks:e}={})=>{let t=ze({});return{clearAuthSelectedSchemas:n=>{let r=t[n.documentName];if(!r)return;if(n.type===`document`){delete r.selected.document,e?.onAuthChange?.(n.documentName);return}_T(n.method),_T(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]=dy(S9,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{_T(n.path),_T(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=>{T9(t,dy(aEe,n)),Object.keys(n).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>fl(t)}},cEe=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}),dy(x9,o)},lEe={class:`flex h-8 w-full items-center justify-end border-t`},uEe=T({__name:`OpenIDConnect`,props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){let t=N8(),{toast:n}=M8(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,i]=await YTe(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=cEe(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(),N(Me,null,[O(E(NV),null,{default:D(()=>[O(b8,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:`https://example.com/.well-known/openid-configuration`,required:``,"onUpdate:modelValue":i},{default:D(()=>[...a[0]||=[tt(` Discovery URL `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`])]),_:1}),O(E(NV),{class:`min-w-full`},{default:D(()=>[P(`div`,lEe,[O(E(VF),{class:`mr-0.75 p-0 px-2 py-0.5`,disabled:!e.scheme.openIdConnectUrl,loader:E(t),size:`sm`,variant:`outlined`,onClick:r},{default:D(()=>[...a[1]||=[tt(` Fetch Configuration `,-1)]]),_:1},8,[`disabled`,`loader`])])]),_:1})],64))}}),dEe={class:`bg-b-1 min-w-0 flex-1 px-3 py-1.25`},fEe={class:`text-c-1 leading-5.5 font-medium`},pEe={class:`flex h-8 items-center gap-2 border-t px-3`},mEe={class:`flex min-h-8 border-t text-base`},hEe={class:`flex h-8 max-w-full gap-2.5 overflow-x-auto px-3`},gEe=[`onClick`],_Ee={class:`relative z-10`},vEe={key:9,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},yEe={key:10,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},bEe={class:`flex h-8 items-center justify-end gap-2 border-t`},xEe=T({__name:`RequestAuthTab`,props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{},documentType:{default:`openapi`}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=M(()=>ST(e.documentType)),r=t,i=M(()=>Object.entries(e.selectedSecuritySchemas).map(([t,n=[]])=>({scheme:R(e.securitySchemes[t]),name:t,scopes:n}))),a=j(``),o=M(()=>i.value.flatMap(({scheme:e})=>e?.type!==`oauth2`&&e?.type!==`openIdConnect`?[]:Object.keys(e.flows??{})).includes(a.value)?a.value:``),s=e=>{a.value=e},c=M(()=>i.value.length>1),l=(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=o.value||e;return r?`${n}: ${r}`:n}case`http`:return`${n}: ${t.scheme}`;default:return n}},u=e=>e.in!==`user`&&e.in!==`password`,d=e=>vT(e?.type),f=e=>yT(e?.type),p=e=>e?.type===`X509`,m=e=>e?.type===`gssapi`,h=e=>e?.type,g=(e,t)=>o.value===e||t===0&&!o.value,b=()=>e.isStatic&&`border-t`,ee=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,...t},name:n}),x=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`apiKey`,...t},name:n}),te=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:t,name:n}),S=(t,n)=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`apiKey`,...t},name:n}),ne=(t,n)=>{r(`update:selectedScopes`,{id:Object.keys(e.selectedSecuritySchemas),name:t,...n})},re=(e,t)=>{r(`upsert:scope`,{...t,name:e})},ie=(e,t)=>{r(`delete:scope`,{...t,name:e})},ae=(t,n)=>{let r=`floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium`;return g(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?`opacity-100`:``}`:r},oe=M(()=>Nye(e.securitySchemes)),se=M(()=>oe.value?R(e.securitySchemes[oe.value.name]):void 0),w=N8(),{toast:ce}=M8(),le=i8(),ue=j(),T=async t=>{let n=oe.value;if(!n||w.isLoading)return;w.start();let[r]=await Rye({eventBus:e.eventBus,bearerSchemeName:t,oauth2Name:n.name,flows:n.flows,flowType:n.flowType,scopes:n.scopes,server:e.server,proxyUrl:e.proxyUrl,environment:e.environment,options:e.options});await w.clear(),r&&ce(r?.message??`Failed to authorize`,`error`)},de=async t=>{let n=oe.value;if(!n||n.flowType!==`authorizationCode`||w.isLoading)return;w.start();let[r,i]=await _8(n.flows,n.flowType,e.proxyUrl,e.server,fT(e.environment),e.options?.customFetch);await w.clear(),i?.accessToken?y8(e.eventBus,{bearerSchemeName:t,oauth2Name:n.name,flowType:n.flowType,tokens:i}):r&&ce(r?.message??`Failed to refresh`,`error`)},fe=e=>{ue.value=e,le.show()},pe=()=>{let e=ue.value;le.hide(),e&&T(e)};return(t,r)=>(y(),N(Me,null,[(y(!0),N(Me,null,_(i.value,({scheme:t,name:i,scopes:a})=>(y(),N(Me,{key:i},[c.value&&t?(y(),k(E(NV),{key:0},{default:D(()=>[O(E(kV),{"aria-label":l(i,t),class:`max-h-[auto]`},{default:D(()=>[P(`div`,dEe,[P(`p`,fEe,ye(l(i,t)),1),t.description?(y(),k(E(P4),{key:0,class:`auth-description text-c-2 w-full`,value:t.description},null,8,[`value`])):A(``,!0)])]),_:2},1032,[`aria-label`])]),_:2},1024)):A(``,!0),t?.description&&!c.value?(y(),k(E(NV),{key:1},{default:D(()=>[O(E(kV),{"aria-label":t.description,class:`max-h-[auto]`},{default:D(()=>[O(E(P4),{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)):A(``,!0),t?.type===`http`?(y(),N(Me,{key:2},[t.scheme===`bearer`?(y(),k(E(NV),{key:0},{default:D(()=>[O(b8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`Token`,type:`password`,"onUpdate:modelValue":e=>ee({"x-scalar-secret-token":e},i)},{default:D(()=>[...r[4]||=[tt(` Bearer Token `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):A(``,!0),t.scheme===`bearer`&&oe.value?(y(),k(E(NV),{key:1},{default:D(()=>[P(`div`,pEe,[r[6]||=P(`span`,{class:`text-c-3 mr-auto text-xs`},`Get a token`,-1),O(E(VF),{class:`p-0 px-2 py-0.5`,loader:E(w),size:`sm`,type:`button`,variant:`outlined`,onClick:e=>T(i)},{default:D(()=>[tt(` Authorize via `+ye(oe.value.name),1)]),_:2},1032,[`loader`,`onClick`]),t[`x-scalar-secret-token`]&&oe.value.flowType===`authorizationCode`?(y(),k(E(VF),{key:0,class:`p-0 px-2 py-0.5`,disabled:E(w).isLoading,size:`sm`,type:`button`,variant:`outlined`,onClick:e=>de(i)},{default:D(()=>[...r[5]||=[tt(` Refresh `,-1)]]),_:1},8,[`disabled`,`onClick`])):A(``,!0),O(E(F4),{icon:E(ao),label:`Configure ${oe.value.name}`,size:`xs`,onClick:e=>fe(i)},null,8,[`icon`,`label`,`onClick`])])]),_:2},1024)):t?.scheme===`basic`?(y(),N(Me,{key:2},[O(E(NV),null,{default:D(()=>[O(b8,{class:`text-c-2`,environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>ee({"x-scalar-secret-username":e},i)},{default:D(()=>[...r[7]||=[tt(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),O(E(NV),null,{default:D(()=>[O(b8,{environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>ee({"x-scalar-secret-password":e},i)},{default:D(()=>[...r[8]||=[tt(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):A(``,!0)],64)):t?.type===`apiKey`?(y(),N(Me,{key:3},[u(t)?(y(),k(E(NV),{key:0},{default:D(()=>[O(b8,{containerClass:b(),environment:e.environment,modelValue:t.name,placeholder:`api-key`,"onUpdate:modelValue":e=>S({name:e},i)},{default:D(()=>[...r[9]||=[tt(` Name `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):A(``,!0),O(E(NV),null,{default:D(()=>[O(b8,{containerClass:u(t)?void 0:b(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":e=>x({"x-scalar-secret-token":e},i)},{default:D(()=>[...r[10]||=[tt(` Value `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):t?.type===`oauth2`||t?.type===`openIdConnect`?(y(),N(Me,{key:4},[t?.type===`openIdConnect`&&!Object.keys(t.flows??{}).length?(y(),k(uEe,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:b,name:i,proxyUrl:e.proxyUrl,scheme:t},null,8,[`customFetch`,`environment`,`eventBus`,`name`,`proxyUrl`,`scheme`])):A(``,!0),Object.keys(t.flows??{}).length>1?(y(),k(E(NV),{key:1},{default:D(()=>[P(`div`,mEe,[P(`div`,hEe,[(y(!0),N(Me,null,_(t.flows,(e,t,n)=>(y(),N(`button`,{key:t,class:v(ae(t,n)),type:`button`,onClick:e=>s(t)},[P(`span`,_Ee,ye(t),1)],10,gEe))),128))])])]),_:2},1024)):A(``,!0),(y(!0),N(Me,null,_(t.flows,(n,r,o)=>(y(),N(Me,{key:r},[t.flows&&g(r,o)?(y(),k(y9,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:i,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:a,server:e.server,type:r,"onDelete:scope":e=>ie(i,e),"onUpdate:selectedScopes":e=>ne(i,e),"onUpsert:scope":e=>re(i,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`,`onDelete:scope`,`onUpdate:selectedScopes`,`onUpsert:scope`])):A(``,!0)],64))),128))],64)):d(t)?(y(),N(Me,{key:5},[O(E(NV),null,{default:D(()=>[O(b8,{class:`text-c-2`,containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>te({type:t.type,"x-scalar-secret-username":e},i)},{default:D(()=>[...r[11]||=[tt(` Username `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),O(E(NV),null,{default:D(()=>[O(b8,{environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>te({type:t.type,"x-scalar-secret-password":e},i)},{default:D(()=>[...r[12]||=[tt(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):p(t)?(y(),N(Me,{key:6},[O(E(NV),null,{default:D(()=>[O(b8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-client-certificate`],placeholder:`-----BEGIN CERTIFICATE-----`,type:`password`,"onUpdate:modelValue":e=>te({type:t.type,"x-scalar-secret-client-certificate":e},i)},{default:D(()=>[...r[13]||=[tt(` Client Certificate `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),O(E(NV),null,{default:D(()=>[O(b8,{environment:e.environment,modelValue:t[`x-scalar-secret-private-key`],placeholder:`-----BEGIN PRIVATE KEY-----`,type:`password`,"onUpdate:modelValue":e=>te({type:t.type,"x-scalar-secret-private-key":e},i)},{default:D(()=>[...r[14]||=[tt(` Private Key `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):f(t)?(y(),k(E(NV),{key:7},{default:D(()=>[O(b8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>te({type:t.type,"x-scalar-secret-token":e},i)},{default:D(()=>[...r[15]||=[tt(` Key `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):m(t)?(y(),k(E(NV),{key:8},{default:D(()=>[O(b8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-service-name`],placeholder:`kafka`,"onUpdate:modelValue":e=>te({type:t.type,"x-scalar-secret-service-name":e},i)},{default:D(()=>[...r[16]||=[tt(` Service Name `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):h(t)?(y(),N(`div`,vEe,[r[17]||=tt(` The `,-1),P(`code`,null,ye(h(t)),1),r[18]||=tt(` security scheme type is not supported yet. `,-1)])):(y(),N(`div`,yEe,` The security scheme is missing a type, please double check your `+ye(n.value)+` document or Authentication Configuration `,1))],64))),128)),oe.value&&se.value?(y(),k(E(a8),{key:0,state:E(le),size:`sm`,title:`Configure ${oe.value.name}`},{default:D(()=>[O(E(OV),{columns:[``],presentational:``},{default:D(()=>[O(y9,{hideActions:``,environment:e.environment,eventBus:e.eventBus,flows:oe.value.flows,name:oe.value.name,options:e.options,proxyUrl:e.proxyUrl,scheme:se.value,selectedScopes:oe.value.scopes,server:e.server,type:oe.value.flowType,"onDelete:scope":r[0]||=e=>ie(oe.value.name,e),"onUpdate:selectedScopes":r[1]||=e=>ne(oe.value.name,e),"onUpsert:scope":r[2]||=e=>re(oe.value.name,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`])]),_:1}),P(`div`,bEe,[O(E(VF),{class:`p-0 px-2 py-0.5`,size:`sm`,variant:`outlined`,onClick:r[3]||=e=>E(le).hide()},{default:D(()=>[...r[19]||=[tt(` Cancel `,-1)]]),_:1}),O(E(VF),{class:`p-0 px-2 py-0.5`,loader:E(w),size:`sm`,onClick:pe},{default:D(()=>[...r[20]||=[tt(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1},8,[`state`,`title`])):A(``,!0)],64))}}),SEe=[`onClick`],CEe={class:`relative z-10 font-medium whitespace-nowrap`},wEe={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`},TEe=T({__name:`RequestAuthDataTable`,props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){let n=M(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=M(()=>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(),N(`form`,{onSubmit:l[0]||=In(()=>{},[`prevent`])},[r.value?(y(),N(`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),N(Me,null,_(e.selectedSchemeOptions,(e,t)=>(y(),N(`div`,{key:e.id,class:`relative z-1 -mb-[var(--scalar-border-width)] flex h-8`},[P(`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)},[P(`span`,CEe,ye(e.label),1)],10,SEe),c(t)?(y(),N(`div`,wEe)):A(``,!0)]))),128))],2)):A(``,!0),n.value?(y(),k(E(OV),{key:1,class:v([`flex-1`,{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[``],presentational:``},{default:D(()=>[O(xEe,{documentType:e.documentType,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,[`documentType`,`environment`,`eventBus`,`isStatic`,`options`,`proxyUrl`,`securitySchemes`,`selectedSecuritySchemas`,`server`])]),_:1},8,[`class`])):(y(),N(`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))}}),EEe=[`id`],DEe={class:`min-w-0 flex-1 truncate`},OEe=T({__name:`AuthSelector`,props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},canDeleteSchemes:{type:Boolean,default:!0},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{},documentType:{}},setup(e,{expose:t}){let n=be(),r=j(null),i=j(!1),a=i8(),o=j(null),s=M(()=>{if(!e.securityRequirements?.length)return null;let t=jT(e.securityRequirements);return{icon:t?`Unlock`:`Lock`,text:t?`Optional`:`Required`}}),c=M(()=>Pye(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),l=M(()=>{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 l8(t);let r=n[0];return!r||!R(e.securitySchemes?.[r])?[]:c8({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=>fl(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(),k(E(L4),{class:`group/params relative`,defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:l.value.length,"onUpdate:modelValue":m[1]||=e=>i.value=e},{title:D(()=>[P(`div`,{id:E(n),class:`inline-flex items-center gap-0.5 leading-[20px]`},[P(`span`,null,ye(e.title),1),s.value?(y(),N(`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},ye(s.value.text),3)):A(``,!0)],8,EEe)]),actions:D(()=>[O(E(xR),{class:`w-72 text-xs`,modelValue:l.value,multiple:``,options:c.value,placement:`bottom-end`,teleport:``,onDelete:f,"onUpdate:modelValue":d},{option:D(({option:t,selected:n})=>[O(E(GF),{multiselect:``,selected:n},null,8,[`selected`]),P(`div`,DEe,ye(t.label),1),t.isDeletable&&e.canDeleteSchemes?(y(),k(E(F4),{key:0,class:`-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100`,icon:E(Vo),label:`Delete ${t.label}`,size:`xs`,onClick:In(e=>f(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])):A(``,!0)]),default:D(()=>[O(E(VF),{ref_key:`comboboxButtonRef`,ref:r,"aria-describedby":E(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:D(()=>[l.value.length===1?(y(),N(Me,{key:0},[m[2]||=P(`span`,{class:`sr-only`},`Selected Auth Type:`,-1),tt(` `+ye(l.value[0]?.label),1)],64)):l.value.length>1?(y(),N(Me,{key:1},[m[3]||=tt(` Multiple `,-1),m[4]||=P(`span`,{class:`sr-only`},`Auth Types Selected`,-1)],64)):(y(),N(Me,{key:2},[m[5]||=P(`span`,{class:`sr-only`},`Select`,-1),m[6]||=tt(` Auth Type `,-1)],64)),O(E(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:D(()=>[O(TEe,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,documentType:e.documentType,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`,`documentType`,`environment`,`eventBus`,`isStatic`,`meta`,`options`,`proxyUrl`,`securitySchemes`,`selectedSchemeOptions`,`server`]),o.value?(y(),k(jye,{key:0,label:o.value.label,scheme:o.value,state:E(a),onClose:m[0]||=e=>E(a).hide(),onDelete:p},null,8,[`label`,`scheme`,`state`])):A(``,!0)]),_:1},8,[`defaultOpen`,`isStatic`,`itemCount`]))}}),E9={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 E9.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:t},D9={parse:e=>{let t=JSON.parse(e);if(typeof t!=`object`)throw Error(`Invalid JSON object`);return t},parseSafe(e,t){try{return D9.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:e=>JSON.stringify(e)};function kEe(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 AEe=e=>{if(typeof e!=`string`)return e;let t=D9.parseSafe(e,null);if(t)return t;if(e.length>0&&[`{`,`[`].includes(e[0]??``))throw Error(`Invalid JSON or YAML`);return E9.parseSafe(e,e=>{throw Error(e)})},jEe={key:0,class:`sr-only`},MEe=T({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=M(()=>n.enum.map(e=>({id:e,label:e}))),a=M({get:()=>i.value.find(e=>e.id===n.value),set:e=>r(`change`,e?.id??``)});return(t,n)=>(y(),k(E(R4),{modelValue:a.value,"onUpdate:modelValue":n[0]||=e=>a.value=e,options:i.value},{default:D(()=>[O(E(VF),{"aria-controls":e.controls,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:D(()=>[P(`span`,{class:v({"text-c-1":e.value})},[e.value?(y(),N(`span`,jEe,` Selected: `)):A(``,!0),tt(` `+ye(e.value||`Select value`),1)],2),O(E(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`]))}}),NEe=T({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=M({get:()=>n.value,set:e=>r(`change`,e)});return(t,n)=>Ue((y(),N(`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)),[[On,i.value]])}}),PEe=[`for`],FEe=T({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(e,{emit:t}){let n=t,r=be();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),N(Me,{key:0},_(Object.keys(e.variables),t=>(y(),N(`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`])},[P(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${E(r)}-${t}`},ye(t),9,PEe),e.variables?.[t]?.enum?.length?(y(),k(MEe,{key:0,id:`${E(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(),k(NEe,{key:1,id:`${E(r)}-${t}`,controls:e.controls,value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`value`,`onChange`]))],2))),128)):A(``,!0)}}),IEe={path:/[\/\.-]/,property:/[A-Z\_\.-]/},LEe={key:0},O9=T({inheritAttrs:!1,__name:`ScalarWrappingText`,props:{text:{default:``},preset:{default:`path`},regex:{}},setup(e){let t=M(()=>{let t=new RegExp(e.regex??IEe[e.preset],`g`);return e.text.replace(t,`⁠$&`).split(`⁠`).filter(Boolean)});return(e,n)=>(y(!0),N(Me,null,_(t.value,(e,t)=>(y(),N(Me,{key:t},[t===0?A(``,!0):(y(),N(`wbr`,LEe)),tt(ye(e),1)],64))),128))}}),REe=e=>e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e);function zEe(e={}){let{notify:t=e=>n(e,`info`)}=e,{toast:n}=M8();async function r(e){try{let n=REe(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 k9=`scalar-app`,A9=`headlessui-portal-root`,BEe=e=>e!==null&&e instanceof HTMLElement,j9=e=>{!e||e.classList.contains(k9)||e.classList.add(k9)},VEe=()=>{j9(document.getElementById(A9));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{BEe(e)&&e.id===A9&&j9(e)})));return e.observe(document.body,{childList:!0}),e},HEe=T({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=Fc();return(e,n)=>(y(),N(`aside`,Ke($e(E(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[S(e.$slots,`default`)],16))}}),M9=UT(T({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=M(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=Fc();return(r,i)=>(y(),N(`div`,Ke($e(E(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),N(Me,null,_(t.value,(n,r)=>(y(),N(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[i[0]||=P(`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(),N(`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)):A(``,!0)]))),128))],16))}}),[[`__scopeId`,`data-v-3e080c68`]]),UEe={key:0,class:`h-lh *:size-4 mr-1 flex items-center`},WEe={class:`group/button-label flex-1 min-w-0`},N9=T({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=Nc({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}=Fc();return(r,i)=>(y(),k(x(e.is),o({"aria-selected":e.selected,type:e.is===`button`?`button`:void 0},E(n)(E(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:D(()=>[S(r.$slots,`indent`,{},()=>[O(M9,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||r.$slots.icon?(y(),N(`div`,UEe,[S(r.$slots,`icon`,{},()=>[e.icon?(y(),k(E(IF),{key:0,icon:e.icon},null,8,[`icon`])):A(``,!0)])])):A(``,!0),P(`div`,WEe,[S(r.$slots,`default`)]),S(r.$slots,`aside`)]),_:3},16,[`aria-selected`,`type`]))}}),GEe={class:`sr-only`},P9=T({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=Nc({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=Fc();return(r,i)=>(y(),k(x(e.is),o({type:e.is===`button`?`button`:void 0},E(n)(E(t)({open:e.open}))),{default:D(()=>[S(r.$slots,`default`,{open:e.open},()=>[e.icon?(y(),k(E(IF),{key:0,icon:e.icon},null,8,[`icon`])):(y(),k(E(Aa),{key:1,class:`size-3`,weight:`bold`}))]),P(`span`,GEe,[S(r.$slots,`label`,{open:e.open},()=>[tt(ye(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}}),F9=Symbol(),I9=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=f(F9,0);return n?fe(F9,0):t&&r<6?fe(F9,r+1):fe(F9,r),{level:r}},L9=T({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}=I9(),{cx:r}=Fc();return(i,a)=>(y(),N(`li`,Ke($e(E(r)(`group/item flex flex-col text-base`))),[S(i.$slots,`before`),S(i.$slots,`button`,{level:E(n)},()=>[O(N9,o(t,{indent:e.indent??E(n)}),Se({_:2},[i.$slots.default?{name:`default`,fn:D(()=>[S(i.$slots,`default`)]),key:`0`}:void 0,i.$slots.icon?{name:`icon`,fn:D(()=>[S(i.$slots,`icon`)]),key:`1`}:void 0,i.$slots.aside?{name:`aside`,fn:D(()=>[S(i.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),S(i.$slots,`after`)],16))}}),R9=T({__name:`ScalarSidebarLoading`,props:{items:{default:4}},setup(e){return(t,n)=>(y(!0),N(Me,null,_(e.items,e=>(y(),k(L9,{key:e,class:`pointer-events-none`},{default:D(()=>[...n[0]||=[P(`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))}}),KEe={class:`group/group-button relative flex flex-col text-base`},qEe={key:0,class:`size-4`},JEe=[`aria-expanded`],YEe={key:0,class:`group/items flex flex-col gap-px`},XEe=T({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:Fe({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:Fe([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,r=ce(e,`open`),{level:i}=I9({increment:!0}),{cx:a}=Fc(),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(),k(x(e.is),Ke($e(E(a)(`group/item flex flex-col gap-px`))),{default:D(()=>[P(`div`,KEe,[S(t.$slots,`before`,{open:r.value}),S(t.$slots,`button`,{level:E(i),open:r.value},()=>[O(N9,{is:`button`,active:e.active,"aria-expanded":r.value,disabled:e.disabled,icon:e.icon,indent:E(i),selected:e.selected,onClick:o},Se({indent:D(()=>[O(M9,{class:`mr-0 -my-2`,indent:E(i),selected:e.selected},null,8,[`indent`,`selected`])]),aside:D(()=>[S(t.$slots,`aside`,{open:r.value}),e.discrete?(y(),N(`div`,qEe)):S(t.$slots,`toggle`,{key:1,open:r.value},()=>[O(P9,{class:`text-sidebar-c-2`,open:r.value},null,8,[`open`])])]),default:D(()=>[S(t.$slots,`default`,{open:r.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:D(()=>[S(t.$slots,`icon`,{open:r.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(y(),N(`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},()=>[O(P9,{open:r.value},{label:D(()=>[tt(ye(r.value?`Close`:`Open`)+` `,1),S(t.$slots,`default`,{open:r.value})]),_:3},8,[`open`])])],10,JEe)):A(``,!0)]),S(t.$slots,`after`,{open:r.value})]),r.value?(y(),N(`ul`,YEe,[e.loading?(y(),k(R9,{key:0})):S(t.$slots,`items`,{key:1,open:r.value})])):A(``,!0)]),_:3},16))}}),ZEe=Symbol(),QEe=()=>{let e=Ce(new Set),t=M(()=>{for(let t of e)if(t())return!0;return!1});return fe(ZEe,e),{open:t}},$Ee=T({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=QEe(),{cx:n}=Fc();return(r,i)=>(y(),k(x(e.is),Ke($e(E(n)(`group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300`,E(t)?`-translate-x-full`:`translate-x-0`))),{default:D(()=>[S(r.$slots,`default`)]),_:3},16))}}),z9=T({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=Fc();return(n,r)=>(y(),N(`div`,Ke($e(E(t)(`flex px-2 h-1`))),[O(M9,{indent:e.indent},null,8,[`indent`])],16))}}),eDe={class:`flex flex-col gap-px`},B9=T({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}=I9({increment:!1}),{cx:n}=Fc();return(r,i)=>(y(),k(x(e.is),Ke($e(E(n)(`group/item group/sidebar-section contents`))),{default:D(()=>[O(z9,{class:`group/spacer-before h-3`,indent:E(t)},null,8,[`indent`]),r.$slots.default?(y(),k(N9,{key:0,is:`div`,class:`text-sm/4 py-1.75 font-bold`,disabled:``,icon:e.icon,indent:E(t)},{default:D(()=>[S(r.$slots,`default`)]),_:3},8,[`icon`,`indent`])):A(``,!0),P(`ul`,eDe,[e.loading?(y(),k(R9,{key:0})):S(r.$slots,`items`,{key:1})]),O(z9,{class:`group/spacer-after h-3`,indent:E(t)},null,8,[`indent`])]),_:3},16))}}),V9=T({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=M(()=>w6(String(t.method||``))),r=M(()=>E6(t.method));return(t,i)=>(y(),k(x(e.as??`span`),{class:`uppercase`,style:te({[e.property||`color`]:n.value.colorVar})},{default:D(()=>[S(t.$slots,`default`),tt(` `+ye(e.short?n.value.short:r.value),1)]),_:3},8,[`style`]))}}),tDe=new Set([`document`,`operation`,`example`,`tag`]),H9=(e,t,n)=>n&&t.length===1&&t[0]?.type===`example`&&t[0]?.name===`default`?[]:e===`reference`?t:t.filter(e=>tDe.has(e.type)),nDe=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},rDe=Nc({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`}}}),U9=j(null),W9=j(null);function iDe(e){let{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:i=!0,parentIds:a=[],id:o,onDragStart:s,onDragEnd:c}=e,l=M(()=>a.at(-1)??null),u=e=>typeof i==`function`?i(U9.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};U9.value=t,s?.(t)},p=nDe(e=>{if(!U9.value||U9.value.id===o||a.includes(U9.value?.id??``))return;let r=W9.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)&&(W9.value={id:o,parentId:l.value,offset:d})},25),m=()=>{if(!W9.value||!U9.value)return;let e={...U9.value},t={...W9.value};U9.value=null,W9.value=null,document.querySelectorAll(`[data-dragging]`).forEach(e=>e.removeAttribute(`data-dragging`)),e.id!==t.id&&c?.(e,t)},h=M(()=>{let e=o===W9.value?.id?W9.value.offset:void 0;return e?rDe({position:e}):``});return{draggableAttrs:M(()=>({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:U9,hoveredItem:W9}}var G9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},aDe={class:`sr-only`},K9=G9(T({__name:`SidebarHttpBadge`,props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup(e){return(t,n)=>(y(),k(V9,{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:D(()=>[P(`span`,aDe,ye(e.label??`HTTP Method`)+`:\xA0`,1),S(t.$slots,`default`,{},()=>[e.webhook?(y(),k(E(Jo),{key:0,style:te({color:E(w6)(e.method).colorVar}),weight:`bold`},null,8,[`style`])):A(``,!0)],!0)]),_:3},8,[`class`,`method`]))}}),[[`__scopeId`,`data-v-bdef8365`]]),oDe={},sDe={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 cDe(e,t){return y(),N(`div`,sDe,[S(e.$slots,`default`)])}var q9=G9(oDe,[[`render`,cDe]]),J9=e=>`children`in e&&Array.isArray(e.children)&&e.children.length>0,lDe=(e,t,n,r)=>J9(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,Y9=T({__name:`SidebarItemLabel`,props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type===`model`||e.item.type===`example`?(y(),k(E(O9),{key:0,preset:`property`,text:e.item.title},null,8,[`text`])):(y(),k(E(O9),{key:1,text:e.operationTitleSource===`path`&&`path`in e.item?e.item.path:e.item.title},null,8,[`text`]))}}),X9=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`)}),Z9=Object.assign({"./icons/interface-content-folder.svg":it})[`./icons/interface-content-folder.svg`];Object.keys(X9).map(e=>e.replace(`./icons/`,``).replace(`.svg`,``)).map(e=>({src:e,title:e.replaceAll(`-`,` `),tags:[]}));var Q9=new Map;Z9?.default&&Q9.set(`interface-content-folder`,Oe(Z9.default));async function uDe(e){let t=Q9.get(e);if(t)return t;let n=X9[`./icons/${e}.svg`];if(!n)return;let r=await n(),i=Oe(r.default??r);return Q9.set(e,i),i}var dDe=T({__name:`LibraryIcon`,props:{src:{}},setup(e){let t=e,n=nt();return Ve(async()=>{n.value=await uDe(t.src)}),(e,t)=>n.value?(y(),k(x(n.value),{key:0})):A(``,!0)}}),fDe={key:0,class:`line-through`},pDe={key:0,class:`line-through`},mDe=T({__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}=iDe({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:c}),d=M(()=>J9(e.item)?H9(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]);return(t,a)=>{let f=Ge(`SidebarItem`,!0);return d.value.length>0&&i(e.item)?(y(),k(E(B9),o({key:0,"data-sidebar-id":e.item.id},E(l),ve(E(u))),{items:D(()=>[(y(!0),N(Me,null,_(d.value,i=>(y(),k(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)},Se({_:2},[r.decorator?{name:`decorator`,fn:D(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:D(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:D(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),default:D(()=>[tt(ye(e.item.title)+` `,1)]),_:3},16,[`data-sidebar-id`])):E(lDe)(e.layout,e.item,r.empty!==void 0,e.options?.hideOperationDefaultExamples??!1)?(y(),k(E(XEe),o({key:1,active:e.isSelected(e.item.id),class:`relative`,controlled:``,"data-sidebar-id":e.item.id},E(l),{discrete:e.layout===`reference`&&e.item.type===`text`,open:e.isExpanded(e.item.id)},ve(E(u)),{onClick:a[4]||=()=>n(`selectItem`,e.item.id),onToggle:a[5]||=()=>n(`toggleGroup`,e.item.id)}),Se({items:D(()=>[(y(!0),N(Me,null,_(d.value,i=>(y(),k(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)},Se({_:2},[r.decorator?{name:`decorator`,fn:D(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:D(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:D(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}):A(``,!0)]),default:D(()=>[s(e.item)?(y(),N(`span`,fDe,[O(Y9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),k(Y9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[e.item.type===`document`?{name:`icon`,fn:D(({open:n})=>[S(t.$slots,`icon`,{item:e.item,open:n},()=>[O(E(dDe),{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:D(()=>[O(K9,{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}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`label`,`method`,`webhook`])]),key:`1`}:void 0,`method`in e.item?{name:`toggle`,fn:D(()=>[a[7]||=P(`span`,{class:`hidden`},null,-1)]),key:`2`}:{name:`toggle`,fn:D(({open:t})=>[O(E(P9),{class:`text-sidebar-c-2`,open:t},{label:D(()=>[tt(ye(t?e.options?.labels?.closeGroup??`Close Group`:e.options?.labels?.openGroup??`Open Group`),1)]),_:2},1032,[`open`])]),key:`3`},r.decorator?{name:`after`,fn:D(()=>[O(q9,null,{default:D(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`4`}:void 0]),1040,[`active`,`data-sidebar-id`,`discrete`,`open`])):(y(),k(E(L9),o({key:2,is:`button`},E(l),{class:`relative`,"data-sidebar-id":e.item.id,selected:e.isSelected(e.item.id)},ve(E(u)),{onClick:a[6]||=()=>n(`selectItem`,e.item.id)}),Se({default:D(()=>[s(e.item)?(y(),N(`span`,pDe,[O(Y9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),k(Y9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[r.icon?{name:`icon`,fn:D(()=>[S(t.$slots,`icon`,{item:e.item,open:!0})]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:D(()=>[`method`in e.item?(y(),k(K9,{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}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`label`,`method`,`webhook`])):A(``,!0)]),key:`1`}:void 0,r.decorator?{name:`after`,fn:D(()=>[O(q9,null,{default:D(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`2`}:void 0]),1040,[`data-sidebar-id`,`selected`]))}}}),hDe=T({__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(),k(E(HEe),{class:`flex min-h-0 flex-col`,style:te({"--scalar-sidebar-indent":e.indent+`px`})},{default:D(()=>[S(t.$slots,`header`),S(t.$slots,`default`,{},()=>[O(E($Ee),{class:`custom-scroll`},{default:D(()=>[S(t.$slots,`before`),(y(!0),N(Me,null,_(E(H9)(e.layout,e.items),s=>(y(),k(mDe,{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)},Se({_:2},[r.decorator?{name:`decorator`,fn:D(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:D(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:D(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]||=P(`div`,{class:`flex-1`},null,-1)])]),S(t.$slots,`footer`)]),_:3},8,[`style`]))}}),$9=({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},gDe=(e,t)=>{let n=M(()=>$9({items:d(e),nestedKey:t?.key??`children`})),r=j({}),i=j({}),a=j(null);return{items:M(()=>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={}}}},_De=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return B4;let t=new Set(B4);if(Array.isArray(e))for(let n of e){let e=z4[n];if(e)for(let r of e)t.delete(`${n}/${r}`);else if(n.includes(`/`))t.delete(n);else for(let e of AT(z4))t.delete(`${e}/${n}`)}else if(typeof e==`object`){for(let[n,r]of Object.entries(e))if(r===!0){let e=z4[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{P6 as $,oa as $a,Ql as $i,pT as $n,ut as $o,Ix as $r,cz as $t,q7 as A,as as Aa,Ym as Ai,nce as An,Kn as Ao,ow as Ar,Hpe as At,M8 as B,ao as Ba,tu as Bi,OT as Bn,st as Bo,BS as Br,CV as Bt,oTe as C,Pc as Ca,vy as Ci,iI as Cn,nr as Co,lw as Cr,R4 as Ct,e9 as D,ds as Da,u_ as Di,IF as Dn,Xn as Do,yae as Dr,qpe as Dt,PTe as E,fs as Ea,X_ as Ei,RF as En,tr as Eo,Sae as Er,F4 as Et,U7 as F,Vo as Fa,Ef as Fi,NT as Fn,Yt as Fo,ZS as Fr,WV as Ft,Eye as G,ka as Ga,lu as Gi,Bse as Gn,_t as Go,bS as Gr,Fz as Gt,o8 as H,za as Ha,su as Hi,wT as Hn,dt as Ho,NS as Hr,bV as Ht,P7 as I,Po as Ia,Tf as Ii,Wse as In,Rn as Io,YS as Ir,NV as It,Z6 as J,Da as Ja,ru as Ji,bT as Jn,mt as Jo,uS as Jr,wz as Jt,Tye as K,Mee as Ka,ou as Ki,ST as Kn,ct as Ko,yS as Kr,kz as Kt,ywe as L,Do as La,wu as Li,AT as Ln,In as Lo,qS as Lr,kV as Lt,fTe as M,ns as Ma,Ff as Mi,Xse as Mn,cee as Mo,jC as Mr,Upe as Mt,L7 as N,ts as Na,kf as Ni,FT as Nn,jn as No,TC as Nr,M4 as Nt,W7 as O,us as Oa,Bg as Oi,FF as On,jt as Oo,Cae as Or,P4 as Ot,Y7 as P,Jo as Pa,Of as Pi,PT as Pn,On as Po,hC as Pr,KV as Pt,K6 as Q,aa as Qa,uu as Qi,mT as Qn,ht as Qo,Rx as Qr,XR as Qt,N8 as R,bo as Ra,yu as Ri,Use as Rn,lt as Ro,GS as Rr,OV as Rt,G7 as S,Nc as Sa,by as Si,aR as Sn,sr as So,pw as Sr,B4 as St,X7 as T,_te as Ta,dy as Ti,VF as Tn,er as To,bae as Tr,I4 as Tt,a8 as U,Ma as Ua,iu as Ui,CT as Un,gt as Uo,TS as Ur,oV as Ut,S8 as V,ite as Va,Gl as Vi,TT as Vn,yt as Vo,RS as Vr,SV as Vt,i8 as W,Aa as Wa,Jl as Wi,Vse as Wn,vt as Wo,SS as Wr,$B as Wt,J6 as X,ua as Xa,ql as Xi,Ise as Xn,pt as Xo,Jx as Xr,$R as Xt,X6 as Y,Ea as Ya,au as Yi,_T as Yn,I as Yo,Qx as Yr,Cz as Yt,q6 as Z,ia as Za,cu as Zi,gT as Zn,F as Zo,Kx as Zr,az as Zt,T9 as _,Bc as _a,My as _i,iR as _n,ur as _o,gw as _r,p6 as _t,V9 as a,pl as aa,dx as ai,AR as an,qr as ao,Tse as ar,A6 as at,RTe as b,Ic as ba,wy as bi,nR as bn,xr as bo,uw as br,Wge as bt,VEe as c,il as ca,Zy as ci,HR as cn,Fr as co,aT as cr,E6 as ct,FEe as d,qc as da,Wy as di,bR as dn,Mr as do,Tw as dr,p_e as dt,nu as ea,Tx as ei,uz as en,Qr as eo,fT as er,at as es,A_e as et,kEe as f,Wc as fa,Hy as fi,vR as fn,Ar as fo,ww as fr,f_e as ft,oEe as g,zc as ga,Py as gi,tR as gn,Sr as go,_w as gr,Kge as gt,sEe as h,Hc as ha,Iy as hi,gR as hn,br as ho,vw as hr,v6 as ht,hDe as i,hl as ia,_x as ii,xz as in,Kr as io,Dse as ir,j6 as it,Z7 as j,os as ja,Ip as ji,Zse as jn,kn as jo,IC as jr,O4 as jt,rTe as k,pte as ka,V as ki,UT as kn,Gn as ko,xae as kr,N4 as kt,zEe as l,$c as la,Xy as li,GR as ln,Nr as lo,Lw as lr,C6 as lt,OEe as m,Uc as ma,Ry as mi,pR as mn,lr as mo,yw as mr,a_e as mt,gDe as n,bl as na,xx as ni,gz as nn,Jr as no,cT as nr,k_e as nt,B9 as o,fl as oa,sx as oi,VR as on,Ur as oo,iT as or,O6 as ot,AEe as p,Kc as pa,zy as pi,_R as pn,Or as po,Cw as pr,c_e as pt,Sye as q,Oa as qa,Kl as qi,xT as qn,ot as qo,fS as qr,Oz as qt,$9 as r,xl as ra,yx as ri,dz as rn,Gr as ro,uT as rr,C_e as rt,N9 as s,ll as sa,Qb as si,OR as sn,Hr as so,rT as sr,D6 as st,_De as t,gl as ta,Dx as ti,fz as tn,$r as to,dT as tr,eee as ts,M6 as tt,O9 as u,tl as ua,Ky as ui,wR as un,Br as uo,Iw as ur,w6 as ut,w9 as v,R as va,Ay as vi,oR as vn,hr as vo,cw as vr,Gge as vt,FTe as w,yte as wa,fy as wi,GF as wn,L as wo,fw as wr,L4 as wt,cTe as x,Fc as xa,Sy as xi,rR as xn,mr as xo,dw as xr,Uge as xt,$7 as y,Rc as ya,Ey as yi,cR as yn,pr as yo,mw as yr,f6 as yt,Qbe as z,po as za,fu as zi,Hse as zn,ft as zo,US as zr,TV as zt};